nums
sequencelengths
4
4
target
int64
10
100
solution
sequencelengths
3
3
search_path
stringlengths
47
165k
rating
float64
0
1
search_type
stringclasses
6 values
optimal_path
stringlengths
284
529
heuristic
stringclasses
2 values
[ 77, 63, 93, 94 ]
80
[ "94-63=31", "93/31=3", "77+3=80" ]
Current State: 80:[77, 63, 93, 94], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [77, 94, 30] Generated Node #0,0: 80:[77, 94, 30] Operation: 93-63=30 Exploring Operation: 94-63=31, Resulting Numbers: [77, 93, 31] Generated Node #0,1: 80:[77, 93, 31] Operation: 94-63=31 Exploring Operation: 94-93=1, Resulting Numbers: [77, 63, 1] Generated Node #0,2: 80:[77, 63, 1] Operation: 94-93=1 Moving to Node #0,2 Current State: 80:[77, 63, 1], Operations: ['94-93=1'] Exploring Operation: 77-63=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 80:[1, 14] Operation: 77-63=14 Exploring Operation: 63+1=64, Resulting Numbers: [77, 64] Generated Node #0,2,1: 80:[77, 64] Operation: 63+1=64 Exploring Operation: 77+1=78, Resulting Numbers: [63, 78] Generated Node #0,2,2: 80:[63, 78] Operation: 77+1=78 Moving to Node #0,1 Current State: 80:[77, 93, 31], Operations: ['94-63=31'] Exploring Operation: 93/31=3, Resulting Numbers: [77, 3] Generated Node #0,1,0: 80:[77, 3] Operation: 93/31=3 Exploring Operation: 93-77=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 80:[31, 16] Operation: 93-77=16 Exploring Operation: 77-31=46, Resulting Numbers: [93, 46] Generated Node #0,1,2: 80:[93, 46] Operation: 77-31=46 Moving to Node #0,0 Current State: 80:[77, 94, 30], Operations: ['93-63=30'] Exploring Operation: 77-30=47, Resulting Numbers: [94, 47] Generated Node #0,0,0: 80:[94, 47] Operation: 77-30=47 Exploring Operation: 94-77=17, Resulting Numbers: [30, 17] Generated Node #0,0,1: 80:[30, 17] Operation: 94-77=17 Exploring Operation: 94-30=64, Resulting Numbers: [77, 64] Generated Node #0,0,2: 80:[77, 64] Operation: 94-30=64 Moving to Node #0,2,0 Current State: 80:[1, 14], Operations: ['94-93=1', '77-63=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[77, 3], Operations: ['94-63=31', '93/31=3'] Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,80 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.983507
bfs_3
Current State: 80:[77, 63, 93, 94], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [77, 93, 31] Generated Node #2: [77, 93, 31] from Operation: 94-63=31 Current State: 80:[77, 93, 31], Operations: ['94-63=31'] Exploring Operation: 93/31=3, Resulting Numbers: [77, 3] Generated Node #3: [77, 3] from Operation: 93/31=3 Current State: 80:[77, 3], Operations: ['94-63=31', '93/31=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
mult_heuristic
[ 47, 8, 25, 10 ]
36
[ "47+25=72", "10-8=2", "72/2=36" ]
Current State: 36:[47, 8, 25, 10], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [8, 25, 37] Generated Node #0,0: 36:[8, 25, 37] Operation: 47-10=37 Exploring Operation: 47-8=39, Resulting Numbers: [25, 10, 39] Generated Node #0,1: 36:[25, 10, 39] Operation: 47-8=39 Moving to Node #0,0 Current State: 36:[8, 25, 37], Operations: ['47-10=37'] Exploring Operation: 8+25=33, Resulting Numbers: [37, 33] Generated Node #0,0,0: 36:[37, 33] Operation: 8+25=33 Exploring Operation: 37-8=29, Resulting Numbers: [25, 29] Generated Node #0,0,1: 36:[25, 29] Operation: 37-8=29 Moving to Node #0,1 Current State: 36:[25, 10, 39], Operations: ['47-8=39'] Exploring Operation: 25+10=35, Resulting Numbers: [39, 35] Generated Node #0,1,0: 36:[39, 35] Operation: 25+10=35 Exploring Operation: 39-10=29, Resulting Numbers: [25, 29] Generated Node #0,1,1: 36:[25, 29] Operation: 39-10=29 Moving to Node #0,0,0 Current State: 36:[37, 33], Operations: ['47-10=37', '8+25=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[39, 35], Operations: ['47-8=39', '25+10=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[25, 29], Operations: ['47-10=37', '37-8=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[25, 29], Operations: ['47-8=39', '39-10=29'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,0,1,0 Current State: 36:[54], Operations: ['47-10=37', '37-8=29', '25+29=54'] Moving to Node #0,1,1,0 Current State: 36:[54], Operations: ['47-8=39', '39-10=29', '25+29=54'] Moving to Node #0,0,1,0 Current State: 36:[4], Operations: ['47-10=37', '37-8=29', '29-25=4'] Moving to Node #0,0,0,0 Current State: 36:[4], Operations: ['47-10=37', '8+25=33', '37-33=4'] Moving to Node #0,1,0,0 Current State: 36:[4], Operations: ['47-8=39', '25+10=35', '39-35=4'] Moving to Node #0,1,1,0 Current State: 36:[4], Operations: ['47-8=39', '39-10=29', '29-25=4'] Moving to Node #0,0,0,0 Current State: 36:[70], Operations: ['47-10=37', '8+25=33', '37+33=70'] Moving to Node #0,1,0,0 Current State: 36:[74], Operations: ['47-8=39', '25+10=35', '39+35=74'] No solution found.
0
bfs_2
Current State: 36:[47, 8, 25, 10], Operations: [] Exploring Operation: 47+25=72, Resulting Numbers: [8, 10, 72] Generated Node #2: [8, 10, 72] from Operation: 47+25=72 Current State: 36:[8, 10, 72], Operations: ['47+25=72'] Exploring Operation: 10-8=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 10-8=2 Current State: 36:[72, 2], Operations: ['47+25=72', '10-8=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
sum_heuristic
[ 27, 92, 53, 76 ]
64
[ "92-27=65", "53+76=129", "129-65=64" ]
Current State: 64:[27, 92, 53, 76], Operations: [] Exploring Operation: 92-27=65, Resulting Numbers: [53, 76, 65] Generated Node #0,0: 64:[53, 76, 65] Operation: 92-27=65 Exploring Operation: 92-76=16, Resulting Numbers: [27, 53, 16] Generated Node #0,1: 64:[27, 53, 16] Operation: 92-76=16 Moving to Node #0,1 Current State: 64:[27, 53, 16], Operations: ['92-76=16'] Exploring Operation: 53-27=26, Resulting Numbers: [16, 26] Generated Node #0,1,0: 64:[16, 26] Operation: 53-27=26 Exploring Operation: 53+16=69, Resulting Numbers: [27, 69] Generated Node #0,1,1: 64:[27, 69] Operation: 53+16=69 Moving to Node #0,0 Current State: 64:[53, 76, 65], Operations: ['92-27=65'] Exploring Operation: 76-53=23, Resulting Numbers: [65, 23] Generated Node #0,0,0: 64:[65, 23] Operation: 76-53=23 Exploring Operation: 76-65=11, Resulting Numbers: [53, 11] Generated Node #0,0,1: 64:[53, 11] Operation: 76-65=11 Moving to Node #0,1,0 Current State: 64:[16, 26], Operations: ['92-76=16', '53-27=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[65, 23], Operations: ['92-27=65', '76-53=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,64 unequal: No Solution Moving to Node #0,1,0,0 Current State: 64:[10], Operations: ['92-76=16', '53-27=26', '26-16=10'] Moving to Node #0,1,1 Current State: 64:[27, 69], Operations: ['92-76=16', '53+16=69'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,64 unequal: No Solution Moving to Node #0,1,0,0 Current State: 64:[42], Operations: ['92-76=16', '53-27=26', '16+26=42'] Moving to Node #0,0,0,0 Current State: 64:[42], Operations: ['92-27=65', '76-53=23', '65-23=42'] Moving to Node #0,1,1,0 Current State: 64:[42], Operations: ['92-76=16', '53+16=69', '69-27=42'] Moving to Node #0,0,1 Current State: 64:[53, 11], Operations: ['92-27=65', '76-65=11'] Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.987847
bfs_2
Current State: 64:[27, 92, 53, 76], Operations: [] Exploring Operation: 92-27=65, Resulting Numbers: [53, 76, 65] Generated Node #2: [53, 76, 65] from Operation: 92-27=65 Current State: 64:[53, 76, 65], Operations: ['92-27=65'] Exploring Operation: 53+76=129, Resulting Numbers: [65, 129] Generated Node #3: [65, 129] from Operation: 53+76=129 Current State: 64:[65, 129], Operations: ['92-27=65', '53+76=129'] Exploring Operation: 129-65=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
mult_heuristic
[ 2, 2, 75, 87 ]
83
[ "75+87=162", "162/2=81", "2+81=83" ]
Current State: 83:[2, 2, 75, 87], Operations: []
0
dfs
Current State: 83:[2, 2, 75, 87], Operations: [] Exploring Operation: 75+87=162, Resulting Numbers: [2, 2, 162] Generated Node #2: [2, 2, 162] from Operation: 75+87=162 Current State: 83:[2, 2, 162], Operations: ['75+87=162'] Exploring Operation: 162/2=81, Resulting Numbers: [81] 81,83 equal: Goal Reached Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
mult_heuristic
[ 98, 42, 91, 67 ]
61
[ "98-91=7", "42/7=6", "67-6=61" ]
Current State: 61:[98, 42, 91, 67], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [91, 67, 56] Generated Node #0,0: 61:[91, 67, 56] Operation: 98-42=56 Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 91-56=35, Resulting Numbers: [67, 35] Generated Node #0,0,0: 61:[67, 35] Operation: 91-56=35 Moving to Node #0,0,0 Current State: 61:[67, 35], Operations: ['98-42=56', '91-56=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[67, 35], Operations: ['98-42=56', '91-56=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 91-67=24, Resulting Numbers: [56, 24] Generated Node #0,0,1: 61:[56, 24] Operation: 91-67=24 Moving to Node #0,0,1 Current State: 61:[56, 24], Operations: ['98-42=56', '91-67=24'] Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[56, 24], Operations: ['98-42=56', '91-67=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 67-56=11, Resulting Numbers: [91, 11] Generated Node #0,0,2: 61:[91, 11] Operation: 67-56=11 Moving to Node #0,0,2 Current State: 61:[91, 11], Operations: ['98-42=56', '67-56=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[91, 11], Operations: ['98-42=56', '67-56=11'] Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 91+56=147, Resulting Numbers: [67, 147] Generated Node #0,0,3: 61:[67, 147] Operation: 91+56=147 Moving to Node #0,0,3 Current State: 61:[67, 147], Operations: ['98-42=56', '91+56=147'] Exploring Operation: 147-67=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 67+56=123, Resulting Numbers: [91, 123] Generated Node #0,0,4: 61:[91, 123] Operation: 67+56=123 Moving to Node #0,0,4 Current State: 61:[91, 123], Operations: ['98-42=56', '67+56=123'] Exploring Operation: 123-91=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,0 Current State: 61:[91, 67, 56], Operations: ['98-42=56'] Exploring Operation: 91+67=158, Resulting Numbers: [56, 158] Generated Node #0,0,5: 61:[56, 158] Operation: 91+67=158 Moving to Node #0,0,5 Current State: 61:[56, 158], Operations: ['98-42=56', '91+67=158'] Exploring Operation: 158-56=102, Resulting Numbers: [102] 102,61 unequal: No Solution Moving to Node #0 Current State: 61:[98, 42, 91, 67], Operations: [] Exploring Operation: 91-42=49, Resulting Numbers: [98, 67, 49] Generated Node #0,1: 61:[98, 67, 49] Operation: 91-42=49 Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 98-49=49, Resulting Numbers: [67, 49] Generated Node #0,1,0: 61:[67, 49] Operation: 98-49=49 Moving to Node #0,1,0 Current State: 61:[67, 49], Operations: ['91-42=49', '98-49=49'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[67, 49], Operations: ['91-42=49', '98-49=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 98-67=31, Resulting Numbers: [49, 31] Generated Node #0,1,1: 61:[49, 31] Operation: 98-67=31 Moving to Node #0,1,1 Current State: 61:[49, 31], Operations: ['91-42=49', '98-67=31'] Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[49, 31], Operations: ['91-42=49', '98-67=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 98/49=2, Resulting Numbers: [67, 2] Generated Node #0,1,2: 61:[67, 2] Operation: 98/49=2 Moving to Node #0,1,2 Current State: 61:[67, 2], Operations: ['91-42=49', '98/49=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[67, 2], Operations: ['91-42=49', '98/49=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 67-49=18, Resulting Numbers: [98, 18] Generated Node #0,1,3: 61:[98, 18] Operation: 67-49=18 Moving to Node #0,1,3 Current State: 61:[98, 18], Operations: ['91-42=49', '67-49=18'] Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[98, 18], Operations: ['91-42=49', '67-49=18'] Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 98+49=147, Resulting Numbers: [67, 147] Generated Node #0,1,4: 61:[67, 147] Operation: 98+49=147 Moving to Node #0,1,4 Current State: 61:[67, 147], Operations: ['91-42=49', '98+49=147'] Exploring Operation: 147-67=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 67+49=116, Resulting Numbers: [98, 116] Generated Node #0,1,5: 61:[98, 116] Operation: 67+49=116 Moving to Node #0,1,5 Current State: 61:[98, 116], Operations: ['91-42=49', '67+49=116'] Exploring Operation: 116-98=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,1 Current State: 61:[98, 67, 49], Operations: ['91-42=49'] Exploring Operation: 98+67=165, Resulting Numbers: [49, 165] Generated Node #0,1,6: 61:[49, 165] Operation: 98+67=165 Moving to Node #0,1,6 Current State: 61:[49, 165], Operations: ['91-42=49', '98+67=165'] Exploring Operation: 165-49=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0 Current State: 61:[98, 42, 91, 67], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [42, 67, 7] Generated Node #0,2: 61:[42, 67, 7] Operation: 98-91=7 Moving to Node #0,2 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 42+7=49, Resulting Numbers: [67, 49] Generated Node #0,2,0: 61:[67, 49] Operation: 42+7=49 Moving to Node #0,2,0 Current State: 61:[67, 49], Operations: ['98-91=7', '42+7=49'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[67, 49], Operations: ['98-91=7', '42+7=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 67-7=60, Resulting Numbers: [42, 60] Generated Node #0,2,1: 61:[42, 60] Operation: 67-7=60 Moving to Node #0,2,1 Current State: 61:[42, 60], Operations: ['98-91=7', '67-7=60'] Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[42, 60], Operations: ['98-91=7', '67-7=60'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 42-7=35, Resulting Numbers: [67, 35] Generated Node #0,2,2: 61:[67, 35] Operation: 42-7=35 Moving to Node #0,2,2 Current State: 61:[67, 35], Operations: ['98-91=7', '42-7=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[67, 35], Operations: ['98-91=7', '42-7=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 67+7=74, Resulting Numbers: [42, 74] Generated Node #0,2,3: 61:[42, 74] Operation: 67+7=74 Moving to Node #0,2,3 Current State: 61:[42, 74], Operations: ['98-91=7', '67+7=74'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[42, 74], Operations: ['98-91=7', '67+7=74'] Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0,2 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 42/7=6, Resulting Numbers: [67, 6] Generated Node #0,2,4: 61:[67, 6] Operation: 42/7=6 Moving to Node #0,2,4 Current State: 61:[67, 6], Operations: ['98-91=7', '42/7=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.955729
dfs
Current State: 61:[98, 42, 91, 67], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [42, 67, 7] Generated Node #2: [42, 67, 7] from Operation: 98-91=7 Current State: 61:[42, 67, 7], Operations: ['98-91=7'] Exploring Operation: 42/7=6, Resulting Numbers: [67, 6] Generated Node #3: [67, 6] from Operation: 42/7=6 Current State: 61:[67, 6], Operations: ['98-91=7', '42/7=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
sum_heuristic
[ 68, 88, 10, 62 ]
64
[ "88-68=20", "20/10=2", "62+2=64" ]
Current State: 64:[68, 88, 10, 62], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [68, 10, 26] Generated Node #0,0: 64:[68, 10, 26] Operation: 88-62=26 Exploring Operation: 88-68=20, Resulting Numbers: [10, 62, 20] Generated Node #0,1: 64:[10, 62, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 64:[10, 62, 20], Operations: ['88-68=20'] Exploring Operation: 10+20=30, Resulting Numbers: [62, 30] Generated Node #0,1,0: 64:[62, 30] Operation: 10+20=30 Exploring Operation: 20/10=2, Resulting Numbers: [62, 2] Generated Node #0,1,1: 64:[62, 2] Operation: 20/10=2 Moving to Node #0,0 Current State: 64:[68, 10, 26], Operations: ['88-62=26'] Exploring Operation: 10+26=36, Resulting Numbers: [68, 36] Generated Node #0,0,0: 64:[68, 36] Operation: 10+26=36 Exploring Operation: 26-10=16, Resulting Numbers: [68, 16] Generated Node #0,0,1: 64:[68, 16] Operation: 26-10=16 Moving to Node #0,1,1 Current State: 64:[62, 2], Operations: ['88-68=20', '20/10=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.992188
bfs_2
Current State: 64:[68, 88, 10, 62], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [10, 62, 20] Generated Node #2: [10, 62, 20] from Operation: 88-68=20 Current State: 64:[10, 62, 20], Operations: ['88-68=20'] Exploring Operation: 20/10=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 20/10=2 Current State: 64:[62, 2], Operations: ['88-68=20', '20/10=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
mult_heuristic
[ 52, 74, 42, 20 ]
21
[ "74-52=22", "22-20=2", "42/2=21" ]
Current State: 21:[52, 74, 42, 20], Operations: [] Exploring Operation: 74-20=54, Resulting Numbers: [52, 42, 54] Generated Node #0,0: 21:[52, 42, 54] Operation: 74-20=54 Exploring Operation: 74-52=22, Resulting Numbers: [42, 20, 22] Generated Node #0,1: 21:[42, 20, 22] Operation: 74-52=22 Exploring Operation: 52-42=10, Resulting Numbers: [74, 20, 10] Generated Node #0,2: 21:[74, 20, 10] Operation: 52-42=10 Exploring Operation: 74-42=32, Resulting Numbers: [52, 20, 32] Generated Node #0,3: 21:[52, 20, 32] Operation: 74-42=32 Exploring Operation: 52-20=32, Resulting Numbers: [74, 42, 32] Generated Node #0,4: 21:[74, 42, 32] Operation: 52-20=32 Moving to Node #0,1 Current State: 21:[42, 20, 22], Operations: ['74-52=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20, 20] Generated Node #0,1,0: 21:[20, 20] Operation: 42-22=20 Exploring Operation: 42-20=22, Resulting Numbers: [22, 22] Generated Node #0,1,1: 21:[22, 22] Operation: 42-20=22 Exploring Operation: 20+22=42, Resulting Numbers: [42, 42] Generated Node #0,1,2: 21:[42, 42] Operation: 20+22=42 Exploring Operation: 22-20=2, Resulting Numbers: [42, 2] Generated Node #0,1,3: 21:[42, 2] Operation: 22-20=2 Exploring Operation: 42+20=62, Resulting Numbers: [22, 62] Generated Node #0,1,4: 21:[22, 62] Operation: 42+20=62 Moving to Node #0,3 Current State: 21:[52, 20, 32], Operations: ['74-42=32'] Exploring Operation: 52-20=32, Resulting Numbers: [32, 32] Generated Node #0,3,0: 21:[32, 32] Operation: 52-20=32 Exploring Operation: 52-32=20, Resulting Numbers: [20, 20] Generated Node #0,3,1: 21:[20, 20] Operation: 52-32=20 Exploring Operation: 32-20=12, Resulting Numbers: [52, 12] Generated Node #0,3,2: 21:[52, 12] Operation: 32-20=12 Exploring Operation: 52+20=72, Resulting Numbers: [32, 72] Generated Node #0,3,3: 21:[32, 72] Operation: 52+20=72 Exploring Operation: 20+32=52, Resulting Numbers: [52, 52] Generated Node #0,3,4: 21:[52, 52] Operation: 20+32=52 Moving to Node #0,2 Current State: 21:[74, 20, 10], Operations: ['52-42=10'] Exploring Operation: 74-20=54, Resulting Numbers: [10, 54] Generated Node #0,2,0: 21:[10, 54] Operation: 74-20=54 Exploring Operation: 20-10=10, Resulting Numbers: [74, 10] Generated Node #0,2,1: 21:[74, 10] Operation: 20-10=10 Exploring Operation: 74+10=84, Resulting Numbers: [20, 84] Generated Node #0,2,2: 21:[20, 84] Operation: 74+10=84 Exploring Operation: 20+10=30, Resulting Numbers: [74, 30] Generated Node #0,2,3: 21:[74, 30] Operation: 20+10=30 Exploring Operation: 74-10=64, Resulting Numbers: [20, 64] Generated Node #0,2,4: 21:[20, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 21:[52, 42, 54], Operations: ['74-20=54'] Exploring Operation: 52-42=10, Resulting Numbers: [54, 10] Generated Node #0,0,0: 21:[54, 10] Operation: 52-42=10 Exploring Operation: 52+42=94, Resulting Numbers: [54, 94] Generated Node #0,0,1: 21:[54, 94] Operation: 52+42=94 Exploring Operation: 54-52=2, Resulting Numbers: [42, 2] Generated Node #0,0,2: 21:[42, 2] Operation: 54-52=2 Exploring Operation: 54-42=12, Resulting Numbers: [52, 12] Generated Node #0,0,3: 21:[52, 12] Operation: 54-42=12 Exploring Operation: 52+54=106, Resulting Numbers: [42, 106] Generated Node #0,0,4: 21:[42, 106] Operation: 52+54=106 Moving to Node #0,4 Current State: 21:[74, 42, 32], Operations: ['52-20=32'] Exploring Operation: 74+32=106, Resulting Numbers: [42, 106] Generated Node #0,4,0: 21:[42, 106] Operation: 74+32=106 Exploring Operation: 42-32=10, Resulting Numbers: [74, 10] Generated Node #0,4,1: 21:[74, 10] Operation: 42-32=10 Exploring Operation: 74-42=32, Resulting Numbers: [32, 32] Generated Node #0,4,2: 21:[32, 32] Operation: 74-42=32 Exploring Operation: 74-32=42, Resulting Numbers: [42, 42] Generated Node #0,4,3: 21:[42, 42] Operation: 74-32=42 Exploring Operation: 74+42=116, Resulting Numbers: [32, 116] Generated Node #0,4,4: 21:[32, 116] Operation: 74+42=116 Moving to Node #0,1,0 Current State: 21:[20, 20], Operations: ['74-52=22', '42-22=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[20, 20], Operations: ['74-42=32', '52-32=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,21 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[22, 22], Operations: ['74-52=22', '42-20=22'] Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,21 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[32, 32], Operations: ['74-42=32', '52-20=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,21 unequal: No Solution Moving to Node #0,4,2 Current State: 21:[32, 32], Operations: ['52-20=32', '74-42=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,21 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,1,0,0 Current State: 21:[40], Operations: ['74-52=22', '42-22=20', '20+20=40'] Moving to Node #0,3,1,0 Current State: 21:[40], Operations: ['74-42=32', '52-32=20', '20+20=40'] Moving to Node #0,1,1,0 Current State: 21:[1], Operations: ['74-52=22', '42-20=22', '22/22=1'] Moving to Node #0,3,1,0 Current State: 21:[1], Operations: ['74-42=32', '52-32=20', '20/20=1'] Moving to Node #0,1,3 Current State: 21:[42, 2], Operations: ['74-52=22', '22-20=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.952257
bfs_5
Current State: 21:[52, 74, 42, 20], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [42, 20, 22] Generated Node #2: [42, 20, 22] from Operation: 74-52=22 Current State: 21:[42, 20, 22], Operations: ['74-52=22'] Exploring Operation: 22-20=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 22-20=2 Current State: 21:[42, 2], Operations: ['74-52=22', '22-20=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
sum_heuristic
[ 65, 50, 60, 5 ]
60
[ "65+50=115", "60-5=55", "115-55=60" ]
Current State: 60:[65, 50, 60, 5], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [60, 5, 15] Generated Node #0,0: 60:[60, 5, 15] Operation: 65-50=15 Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60/5=12, Resulting Numbers: [15, 12] Generated Node #0,0,0: 60:[15, 12] Operation: 60/5=12 Moving to Node #0,0,0 Current State: 60:[15, 12], Operations: ['65-50=15', '60/5=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[15, 12], Operations: ['65-50=15', '60/5=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60/15=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 60:[5, 4] Operation: 60/15=4 Moving to Node #0,0,1 Current State: 60:[5, 4], Operations: ['65-50=15', '60/15=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[5, 4], Operations: ['65-50=15', '60/15=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[5, 4], Operations: ['65-50=15', '60/15=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 5+15=20, Resulting Numbers: [60, 20] Generated Node #0,0,2: 60:[60, 20] Operation: 5+15=20 Moving to Node #0,0,2 Current State: 60:[60, 20], Operations: ['65-50=15', '5+15=20'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[60, 20], Operations: ['65-50=15', '5+15=20'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[60, 20], Operations: ['65-50=15', '5+15=20'] Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 15-5=10, Resulting Numbers: [60, 10] Generated Node #0,0,3: 60:[60, 10] Operation: 15-5=10 Moving to Node #0,0,3 Current State: 60:[60, 10], Operations: ['65-50=15', '15-5=10'] Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[60, 10], Operations: ['65-50=15', '15-5=10'] Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[60, 10], Operations: ['65-50=15', '15-5=10'] Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 15/5=3, Resulting Numbers: [60, 3] Generated Node #0,0,4: 60:[60, 3] Operation: 15/5=3 Moving to Node #0,0,4 Current State: 60:[60, 3], Operations: ['65-50=15', '15/5=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[60, 3], Operations: ['65-50=15', '15/5=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[60, 3], Operations: ['65-50=15', '15/5=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60+5=65, Resulting Numbers: [15, 65] Generated Node #0,0,5: 60:[15, 65] Operation: 60+5=65 Moving to Node #0,0,5 Current State: 60:[15, 65], Operations: ['65-50=15', '60+5=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,0,5 Current State: 60:[15, 65], Operations: ['65-50=15', '60+5=65'] Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60-5=55, Resulting Numbers: [15, 55] Generated Node #0,0,6: 60:[15, 55] Operation: 60-5=55 Moving to Node #0,0,6 Current State: 60:[15, 55], Operations: ['65-50=15', '60-5=55'] Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,60 unequal: No Solution Moving to Node #0,0,6 Current State: 60:[15, 55], Operations: ['65-50=15', '60-5=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60+15=75, Resulting Numbers: [5, 75] Generated Node #0,0,7: 60:[5, 75] Operation: 60+15=75 Moving to Node #0,0,7 Current State: 60:[5, 75], Operations: ['65-50=15', '60+15=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,0,7 Current State: 60:[5, 75], Operations: ['65-50=15', '60+15=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,60 unequal: No Solution Moving to Node #0,0,7 Current State: 60:[5, 75], Operations: ['65-50=15', '60+15=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 60-15=45, Resulting Numbers: [5, 45] Generated Node #0,0,8: 60:[5, 45] Operation: 60-15=45 Moving to Node #0,0,8 Current State: 60:[5, 45], Operations: ['65-50=15', '60-15=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,60 unequal: No Solution Moving to Node #0,0,8 Current State: 60:[5, 45], Operations: ['65-50=15', '60-15=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,0,8 Current State: 60:[5, 45], Operations: ['65-50=15', '60-15=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[60, 5, 15], Operations: ['65-50=15'] Exploring Operation: 5*15=75, Resulting Numbers: [60, 75] Generated Node #0,0,9: 60:[60, 75] Operation: 5*15=75 Moving to Node #0,0,9 Current State: 60:[60, 75], Operations: ['65-50=15', '5*15=75'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0 Current State: 60:[65, 50, 60, 5], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [65, 5, 10] Generated Node #0,1: 60:[65, 5, 10] Operation: 60-50=10 Moving to Node #0,1 Current State: 60:[65, 5, 10], Operations: ['60-50=10'] Exploring Operation: 65-5=60, Resulting Numbers: [10, 60] Generated Node #0,1,0: 60:[10, 60] Operation: 65-5=60 Moving to Node #0,1,0 Current State: 60:[10, 60], Operations: ['60-50=10', '65-5=60'] Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[10, 60], Operations: ['60-50=10', '65-5=60'] Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[10, 60], Operations: ['60-50=10', '65-5=60'] Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[65, 5, 10], Operations: ['60-50=10'] Exploring Operation: 65/5=13, Resulting Numbers: [10, 13] Generated Node #0,1,1: 60:[10, 13] Operation: 65/5=13 Moving to Node #0,1,1 Current State: 60:[10, 13], Operations: ['60-50=10', '65/5=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[10, 13], Operations: ['60-50=10', '65/5=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[65, 5, 10], Operations: ['60-50=10'] Exploring Operation: 65-10=55, Resulting Numbers: [5, 55] Generated Node #0,1,2: 60:[5, 55] Operation: 65-10=55 Moving to Node #0,1,2 Current State: 60:[5, 55], Operations: ['60-50=10', '65-10=55'] Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.959201
dfs
Current State: 60:[65, 50, 60, 5], Operations: [] Exploring Operation: 65+50=115, Resulting Numbers: [60, 5, 115] Generated Node #2: [60, 5, 115] from Operation: 65+50=115 Current State: 60:[60, 5, 115], Operations: ['65+50=115'] Exploring Operation: 60-5=55, Resulting Numbers: [115, 55] Generated Node #3: [115, 55] from Operation: 60-5=55 Current State: 60:[115, 55], Operations: ['65+50=115', '60-5=55'] Exploring Operation: 115-55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
mult_heuristic
[ 38, 6, 19, 9 ]
98
[ "19-9=10", "6*10=60", "38+60=98" ]
Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [6, 9, 2] Generated Node #0,0: 98:[6, 9, 2] Operation: 38/19=2 Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6+9=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 98:[2, 15] Operation: 6+9=15 Moving to Node #0,0,0 Current State: 98:[2, 15], Operations: ['38/19=2', '6+9=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[2, 15], Operations: ['38/19=2', '6+9=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[2, 15], Operations: ['38/19=2', '6+9=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 9-6=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 98:[2, 3] Operation: 9-6=3 Moving to Node #0,0,1 Current State: 98:[2, 3], Operations: ['38/19=2', '9-6=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[2, 3], Operations: ['38/19=2', '9-6=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[2, 3], Operations: ['38/19=2', '9-6=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 9-2=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 98:[6, 7] Operation: 9-2=7 Moving to Node #0,0,2 Current State: 98:[6, 7], Operations: ['38/19=2', '9-2=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[6, 7], Operations: ['38/19=2', '9-2=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[6, 7], Operations: ['38/19=2', '9-2=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6+2=8, Resulting Numbers: [9, 8] Generated Node #0,0,3: 98:[9, 8] Operation: 6+2=8 Moving to Node #0,0,3 Current State: 98:[9, 8], Operations: ['38/19=2', '6+2=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[9, 8], Operations: ['38/19=2', '6+2=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[9, 8], Operations: ['38/19=2', '6+2=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6/2=3, Resulting Numbers: [9, 3] Generated Node #0,0,4: 98:[9, 3] Operation: 6/2=3 Moving to Node #0,0,4 Current State: 98:[9, 3], Operations: ['38/19=2', '6/2=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[9, 3], Operations: ['38/19=2', '6/2=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[9, 3], Operations: ['38/19=2', '6/2=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[9, 3], Operations: ['38/19=2', '6/2=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6*2=12, Resulting Numbers: [9, 12] Generated Node #0,0,5: 98:[9, 12] Operation: 6*2=12 Moving to Node #0,0,5 Current State: 98:[9, 12], Operations: ['38/19=2', '6*2=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,0,5 Current State: 98:[9, 12], Operations: ['38/19=2', '6*2=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,98 unequal: No Solution Moving to Node #0,0,5 Current State: 98:[9, 12], Operations: ['38/19=2', '6*2=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6-2=4, Resulting Numbers: [9, 4] Generated Node #0,0,6: 98:[9, 4] Operation: 6-2=4 Moving to Node #0,0,6 Current State: 98:[9, 4], Operations: ['38/19=2', '6-2=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,0,6 Current State: 98:[9, 4], Operations: ['38/19=2', '6-2=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,98 unequal: No Solution Moving to Node #0,0,6 Current State: 98:[9, 4], Operations: ['38/19=2', '6-2=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 9+2=11, Resulting Numbers: [6, 11] Generated Node #0,0,7: 98:[6, 11] Operation: 9+2=11 Moving to Node #0,0,7 Current State: 98:[6, 11], Operations: ['38/19=2', '9+2=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,98 unequal: No Solution Moving to Node #0,0,7 Current State: 98:[6, 11], Operations: ['38/19=2', '9+2=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,0,7 Current State: 98:[6, 11], Operations: ['38/19=2', '9+2=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 6*9=54, Resulting Numbers: [2, 54] Generated Node #0,0,8: 98:[2, 54] Operation: 6*9=54 Moving to Node #0,0,8 Current State: 98:[2, 54], Operations: ['38/19=2', '6*9=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,0,8 Current State: 98:[2, 54], Operations: ['38/19=2', '6*9=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,98 unequal: No Solution Moving to Node #0,0,8 Current State: 98:[2, 54], Operations: ['38/19=2', '6*9=54'] Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,98 unequal: No Solution Moving to Node #0,0,8 Current State: 98:[2, 54], Operations: ['38/19=2', '6*9=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,98 unequal: No Solution Moving to Node #0,0 Current State: 98:[6, 9, 2], Operations: ['38/19=2'] Exploring Operation: 9*2=18, Resulting Numbers: [6, 18] Generated Node #0,0,9: 98:[6, 18] Operation: 9*2=18 Moving to Node #0,0,9 Current State: 98:[6, 18], Operations: ['38/19=2', '9*2=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,0,9 Current State: 98:[6, 18], Operations: ['38/19=2', '9*2=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,0,9 Current State: 98:[6, 18], Operations: ['38/19=2', '9*2=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,98 unequal: No Solution Moving to Node #0,0,9 Current State: 98:[6, 18], Operations: ['38/19=2', '9*2=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 38-19=19, Resulting Numbers: [6, 9, 19] Generated Node #0,1: 98:[6, 9, 19] Operation: 38-19=19 Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 19-6=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 98:[9, 13] Operation: 19-6=13 Moving to Node #0,1,0 Current State: 98:[9, 13], Operations: ['38-19=19', '19-6=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[9, 13], Operations: ['38-19=19', '19-6=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[9, 13], Operations: ['38-19=19', '19-6=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 19-9=10, Resulting Numbers: [6, 10] Generated Node #0,1,1: 98:[6, 10] Operation: 19-9=10 Moving to Node #0,1,1 Current State: 98:[6, 10], Operations: ['38-19=19', '19-9=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[6, 10], Operations: ['38-19=19', '19-9=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[6, 10], Operations: ['38-19=19', '19-9=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 6+9=15, Resulting Numbers: [19, 15] Generated Node #0,1,2: 98:[19, 15] Operation: 6+9=15 Moving to Node #0,1,2 Current State: 98:[19, 15], Operations: ['38-19=19', '6+9=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[19, 15], Operations: ['38-19=19', '6+9=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 9-6=3, Resulting Numbers: [19, 3] Generated Node #0,1,3: 98:[19, 3] Operation: 9-6=3 Moving to Node #0,1,3 Current State: 98:[19, 3], Operations: ['38-19=19', '9-6=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[19, 3], Operations: ['38-19=19', '9-6=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[19, 3], Operations: ['38-19=19', '9-6=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 6*9=54, Resulting Numbers: [19, 54] Generated Node #0,1,4: 98:[19, 54] Operation: 6*9=54 Moving to Node #0,1,4 Current State: 98:[19, 54], Operations: ['38-19=19', '6*9=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[19, 54], Operations: ['38-19=19', '6*9=54'] Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 6+19=25, Resulting Numbers: [9, 25] Generated Node #0,1,5: 98:[9, 25] Operation: 6+19=25 Moving to Node #0,1,5 Current State: 98:[9, 25], Operations: ['38-19=19', '6+19=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,1,5 Current State: 98:[9, 25], Operations: ['38-19=19', '6+19=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 9+19=28, Resulting Numbers: [6, 28] Generated Node #0,1,6: 98:[6, 28] Operation: 9+19=28 Moving to Node #0,1,6 Current State: 98:[6, 28], Operations: ['38-19=19', '9+19=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,1,6 Current State: 98:[6, 28], Operations: ['38-19=19', '9+19=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,1,6 Current State: 98:[6, 28], Operations: ['38-19=19', '9+19=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 6*19=114, Resulting Numbers: [9, 114] Generated Node #0,1,7: 98:[9, 114] Operation: 6*19=114 Moving to Node #0,1,7 Current State: 98:[9, 114], Operations: ['38-19=19', '6*19=114'] Exploring Operation: 114-9=105, Resulting Numbers: [105] 105,98 unequal: No Solution Moving to Node #0,1,7 Current State: 98:[9, 114], Operations: ['38-19=19', '6*19=114'] Exploring Operation: 9+114=123, Resulting Numbers: [123] 123,98 unequal: No Solution Moving to Node #0,1 Current State: 98:[6, 9, 19], Operations: ['38-19=19'] Exploring Operation: 9*19=171, Resulting Numbers: [6, 171] Generated Node #0,1,8: 98:[6, 171] Operation: 9*19=171 Moving to Node #0,1,8 Current State: 98:[6, 171], Operations: ['38-19=19', '9*19=171'] Exploring Operation: 171-6=165, Resulting Numbers: [165] 165,98 unequal: No Solution Moving to Node #0,1,8 Current State: 98:[6, 171], Operations: ['38-19=19', '9*19=171'] Exploring Operation: 6+171=177, Resulting Numbers: [177] 177,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 38+9=47, Resulting Numbers: [6, 19, 47] Generated Node #0,2: 98:[6, 19, 47] Operation: 38+9=47 Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 19-6=13, Resulting Numbers: [47, 13] Generated Node #0,2,0: 98:[47, 13] Operation: 19-6=13 Moving to Node #0,2,0 Current State: 98:[47, 13], Operations: ['38+9=47', '19-6=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[47, 13], Operations: ['38+9=47', '19-6=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 6+47=53, Resulting Numbers: [19, 53] Generated Node #0,2,1: 98:[19, 53] Operation: 6+47=53 Moving to Node #0,2,1 Current State: 98:[19, 53], Operations: ['38+9=47', '6+47=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[19, 53], Operations: ['38+9=47', '6+47=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 6+19=25, Resulting Numbers: [47, 25] Generated Node #0,2,2: 98:[47, 25] Operation: 6+19=25 Moving to Node #0,2,2 Current State: 98:[47, 25], Operations: ['38+9=47', '6+19=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[47, 25], Operations: ['38+9=47', '6+19=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 47-6=41, Resulting Numbers: [19, 41] Generated Node #0,2,3: 98:[19, 41] Operation: 47-6=41 Moving to Node #0,2,3 Current State: 98:[19, 41], Operations: ['38+9=47', '47-6=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[19, 41], Operations: ['38+9=47', '47-6=41'] Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 47-19=28, Resulting Numbers: [6, 28] Generated Node #0,2,4: 98:[6, 28] Operation: 47-19=28 Moving to Node #0,2,4 Current State: 98:[6, 28], Operations: ['38+9=47', '47-19=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[6, 28], Operations: ['38+9=47', '47-19=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[6, 28], Operations: ['38+9=47', '47-19=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 6*19=114, Resulting Numbers: [47, 114] Generated Node #0,2,5: 98:[47, 114] Operation: 6*19=114 Moving to Node #0,2,5 Current State: 98:[47, 114], Operations: ['38+9=47', '6*19=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,98 unequal: No Solution Moving to Node #0,2,5 Current State: 98:[47, 114], Operations: ['38+9=47', '6*19=114'] Exploring Operation: 47+114=161, Resulting Numbers: [161] 161,98 unequal: No Solution Moving to Node #0,2 Current State: 98:[6, 19, 47], Operations: ['38+9=47'] Exploring Operation: 19+47=66, Resulting Numbers: [6, 66] Generated Node #0,2,6: 98:[6, 66] Operation: 19+47=66 Moving to Node #0,2,6 Current State: 98:[6, 66], Operations: ['38+9=47', '19+47=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,98 unequal: No Solution Moving to Node #0,2,6 Current State: 98:[6, 66], Operations: ['38+9=47', '19+47=66'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,2,6 Current State: 98:[6, 66], Operations: ['38+9=47', '19+47=66'] Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 38+19=57, Resulting Numbers: [6, 9, 57] Generated Node #0,3: 98:[6, 9, 57] Operation: 38+19=57 Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 57-9=48, Resulting Numbers: [6, 48] Generated Node #0,3,0: 98:[6, 48] Operation: 57-9=48 Moving to Node #0,3,0 Current State: 98:[6, 48], Operations: ['38+19=57', '57-9=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[6, 48], Operations: ['38+19=57', '57-9=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[6, 48], Operations: ['38+19=57', '57-9=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 57-6=51, Resulting Numbers: [9, 51] Generated Node #0,3,1: 98:[9, 51] Operation: 57-6=51 Moving to Node #0,3,1 Current State: 98:[9, 51], Operations: ['38+19=57', '57-6=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[9, 51], Operations: ['38+19=57', '57-6=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 6+9=15, Resulting Numbers: [57, 15] Generated Node #0,3,2: 98:[57, 15] Operation: 6+9=15 Moving to Node #0,3,2 Current State: 98:[57, 15], Operations: ['38+19=57', '6+9=15'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[57, 15], Operations: ['38+19=57', '6+9=15'] Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 9-6=3, Resulting Numbers: [57, 3] Generated Node #0,3,3: 98:[57, 3] Operation: 9-6=3 Moving to Node #0,3,3 Current State: 98:[57, 3], Operations: ['38+19=57', '9-6=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[57, 3], Operations: ['38+19=57', '9-6=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[57, 3], Operations: ['38+19=57', '9-6=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[57, 3], Operations: ['38+19=57', '9-6=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 6*9=54, Resulting Numbers: [57, 54] Generated Node #0,3,4: 98:[57, 54] Operation: 6*9=54 Moving to Node #0,3,4 Current State: 98:[57, 54], Operations: ['38+19=57', '6*9=54'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[57, 54], Operations: ['38+19=57', '6*9=54'] Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 6+57=63, Resulting Numbers: [9, 63] Generated Node #0,3,5: 98:[9, 63] Operation: 6+57=63 Moving to Node #0,3,5 Current State: 98:[9, 63], Operations: ['38+19=57', '6+57=63'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,3,5 Current State: 98:[9, 63], Operations: ['38+19=57', '6+57=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,3,5 Current State: 98:[9, 63], Operations: ['38+19=57', '6+57=63'] Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,3 Current State: 98:[6, 9, 57], Operations: ['38+19=57'] Exploring Operation: 9+57=66, Resulting Numbers: [6, 66] Generated Node #0,3,6: 98:[6, 66] Operation: 9+57=66 Moving to Node #0,3,6 Current State: 98:[6, 66], Operations: ['38+19=57', '9+57=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,98 unequal: No Solution Moving to Node #0,3,6 Current State: 98:[6, 66], Operations: ['38+19=57', '9+57=66'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,3,6 Current State: 98:[6, 66], Operations: ['38+19=57', '9+57=66'] Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 38+6=44, Resulting Numbers: [19, 9, 44] Generated Node #0,4: 98:[19, 9, 44] Operation: 38+6=44 Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 19-9=10, Resulting Numbers: [44, 10] Generated Node #0,4,0: 98:[44, 10] Operation: 19-9=10 Moving to Node #0,4,0 Current State: 98:[44, 10], Operations: ['38+6=44', '19-9=10'] Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[44, 10], Operations: ['38+6=44', '19-9=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 9+44=53, Resulting Numbers: [19, 53] Generated Node #0,4,1: 98:[19, 53] Operation: 9+44=53 Moving to Node #0,4,1 Current State: 98:[19, 53], Operations: ['38+6=44', '9+44=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[19, 53], Operations: ['38+6=44', '9+44=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 44-19=25, Resulting Numbers: [9, 25] Generated Node #0,4,2: 98:[9, 25] Operation: 44-19=25 Moving to Node #0,4,2 Current State: 98:[9, 25], Operations: ['38+6=44', '44-19=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[9, 25], Operations: ['38+6=44', '44-19=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 19+44=63, Resulting Numbers: [9, 63] Generated Node #0,4,3: 98:[9, 63] Operation: 19+44=63 Moving to Node #0,4,3 Current State: 98:[9, 63], Operations: ['38+6=44', '19+44=63'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[9, 63], Operations: ['38+6=44', '19+44=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[9, 63], Operations: ['38+6=44', '19+44=63'] Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 19+9=28, Resulting Numbers: [44, 28] Generated Node #0,4,4: 98:[44, 28] Operation: 19+9=28 Moving to Node #0,4,4 Current State: 98:[44, 28], Operations: ['38+6=44', '19+9=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[44, 28], Operations: ['38+6=44', '19+9=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 44-9=35, Resulting Numbers: [19, 35] Generated Node #0,4,5: 98:[19, 35] Operation: 44-9=35 Moving to Node #0,4,5 Current State: 98:[19, 35], Operations: ['38+6=44', '44-9=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,4,5 Current State: 98:[19, 35], Operations: ['38+6=44', '44-9=35'] Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,4 Current State: 98:[19, 9, 44], Operations: ['38+6=44'] Exploring Operation: 19*9=171, Resulting Numbers: [44, 171] Generated Node #0,4,6: 98:[44, 171] Operation: 19*9=171 Moving to Node #0,4,6 Current State: 98:[44, 171], Operations: ['38+6=44', '19*9=171'] Exploring Operation: 171-44=127, Resulting Numbers: [127] 127,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 19-6=13, Resulting Numbers: [38, 9, 13] Generated Node #0,5: 98:[38, 9, 13] Operation: 19-6=13 Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 38+9=47, Resulting Numbers: [13, 47] Generated Node #0,5,0: 98:[13, 47] Operation: 38+9=47 Moving to Node #0,5,0 Current State: 98:[13, 47], Operations: ['19-6=13', '38+9=47'] Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,5,0 Current State: 98:[13, 47], Operations: ['19-6=13', '38+9=47'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 38+13=51, Resulting Numbers: [9, 51] Generated Node #0,5,1: 98:[9, 51] Operation: 38+13=51 Moving to Node #0,5,1 Current State: 98:[9, 51], Operations: ['19-6=13', '38+13=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,5,1 Current State: 98:[9, 51], Operations: ['19-6=13', '38+13=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 38-13=25, Resulting Numbers: [9, 25] Generated Node #0,5,2: 98:[9, 25] Operation: 38-13=25 Moving to Node #0,5,2 Current State: 98:[9, 25], Operations: ['19-6=13', '38-13=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,5,2 Current State: 98:[9, 25], Operations: ['19-6=13', '38-13=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 13-9=4, Resulting Numbers: [38, 4] Generated Node #0,5,3: 98:[38, 4] Operation: 13-9=4 Moving to Node #0,5,3 Current State: 98:[38, 4], Operations: ['19-6=13', '13-9=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,5,3 Current State: 98:[38, 4], Operations: ['19-6=13', '13-9=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,5,3 Current State: 98:[38, 4], Operations: ['19-6=13', '13-9=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 38-9=29, Resulting Numbers: [13, 29] Generated Node #0,5,4: 98:[13, 29] Operation: 38-9=29 Moving to Node #0,5,4 Current State: 98:[13, 29], Operations: ['19-6=13', '38-9=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,5,4 Current State: 98:[13, 29], Operations: ['19-6=13', '38-9=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 9+13=22, Resulting Numbers: [38, 22] Generated Node #0,5,5: 98:[38, 22] Operation: 9+13=22 Moving to Node #0,5,5 Current State: 98:[38, 22], Operations: ['19-6=13', '9+13=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,5,5 Current State: 98:[38, 22], Operations: ['19-6=13', '9+13=22'] Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,5 Current State: 98:[38, 9, 13], Operations: ['19-6=13'] Exploring Operation: 9*13=117, Resulting Numbers: [38, 117] Generated Node #0,5,6: 98:[38, 117] Operation: 9*13=117 Moving to Node #0,5,6 Current State: 98:[38, 117], Operations: ['19-6=13', '9*13=117'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,98 unequal: No Solution Moving to Node #0,5,6 Current State: 98:[38, 117], Operations: ['19-6=13', '9*13=117'] Exploring Operation: 38+117=155, Resulting Numbers: [155] 155,98 unequal: No Solution Moving to Node #0 Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [38, 6, 10] Generated Node #0,6: 98:[38, 6, 10] Operation: 19-9=10 Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 38+10=48, Resulting Numbers: [6, 48] Generated Node #0,6,0: 98:[6, 48] Operation: 38+10=48 Moving to Node #0,6,0 Current State: 98:[6, 48], Operations: ['19-9=10', '38+10=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,6,0 Current State: 98:[6, 48], Operations: ['19-9=10', '38+10=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,6,0 Current State: 98:[6, 48], Operations: ['19-9=10', '38+10=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 38+6=44, Resulting Numbers: [10, 44] Generated Node #0,6,1: 98:[10, 44] Operation: 38+6=44 Moving to Node #0,6,1 Current State: 98:[10, 44], Operations: ['19-9=10', '38+6=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,6,1 Current State: 98:[10, 44], Operations: ['19-9=10', '38+6=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 6+10=16, Resulting Numbers: [38, 16] Generated Node #0,6,2: 98:[38, 16] Operation: 6+10=16 Moving to Node #0,6,2 Current State: 98:[38, 16], Operations: ['19-9=10', '6+10=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,6,2 Current State: 98:[38, 16], Operations: ['19-9=10', '6+10=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 10-6=4, Resulting Numbers: [38, 4] Generated Node #0,6,3: 98:[38, 4] Operation: 10-6=4 Moving to Node #0,6,3 Current State: 98:[38, 4], Operations: ['19-9=10', '10-6=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,6,3 Current State: 98:[38, 4], Operations: ['19-9=10', '10-6=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,6,3 Current State: 98:[38, 4], Operations: ['19-9=10', '10-6=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 38-10=28, Resulting Numbers: [6, 28] Generated Node #0,6,4: 98:[6, 28] Operation: 38-10=28 Moving to Node #0,6,4 Current State: 98:[6, 28], Operations: ['19-9=10', '38-10=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,6,4 Current State: 98:[6, 28], Operations: ['19-9=10', '38-10=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,98 unequal: No Solution Moving to Node #0,6,4 Current State: 98:[6, 28], Operations: ['19-9=10', '38-10=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 38-6=32, Resulting Numbers: [10, 32] Generated Node #0,6,5: 98:[10, 32] Operation: 38-6=32 Moving to Node #0,6,5 Current State: 98:[10, 32], Operations: ['19-9=10', '38-6=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,6,5 Current State: 98:[10, 32], Operations: ['19-9=10', '38-6=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,98 unequal: No Solution Moving to Node #0,6 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 6*10=60, Resulting Numbers: [38, 60] Generated Node #0,6,6: 98:[38, 60] Operation: 6*10=60 Moving to Node #0,6,6 Current State: 98:[38, 60], Operations: ['19-9=10', '6*10=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.828993
dfs
Current State: 98:[38, 6, 19, 9], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [38, 6, 10] Generated Node #2: [38, 6, 10] from Operation: 19-9=10 Current State: 98:[38, 6, 10], Operations: ['19-9=10'] Exploring Operation: 6*10=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 6*10=60 Current State: 98:[38, 60], Operations: ['19-9=10', '6*10=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
mult_heuristic
[ 41, 6, 42, 76 ]
83
[ "41-6=35", "42+76=118", "118-35=83" ]
Current State: 83:[41, 6, 42, 76], Operations: [] Exploring Operation: 6+42=48, Resulting Numbers: [41, 76, 48] Generated Node #0,0: 83:[41, 76, 48] Operation: 6+42=48 Exploring Operation: 41+42=83, Resulting Numbers: [6, 76, 83] Generated Node #0,1: 83:[6, 76, 83] Operation: 41+42=83 Exploring Operation: 41+6=47, Resulting Numbers: [42, 76, 47] Generated Node #0,2: 83:[42, 76, 47] Operation: 41+6=47 Moving to Node #0,0 Current State: 83:[41, 76, 48], Operations: ['6+42=48'] Exploring Operation: 76-41=35, Resulting Numbers: [48, 35] Generated Node #0,0,0: 83:[48, 35] Operation: 76-41=35 Exploring Operation: 41+76=117, Resulting Numbers: [48, 117] Generated Node #0,0,1: 83:[48, 117] Operation: 41+76=117 Exploring Operation: 41+48=89, Resulting Numbers: [76, 89] Generated Node #0,0,2: 83:[76, 89] Operation: 41+48=89 Moving to Node #0,1 Current State: 83:[6, 76, 83], Operations: ['41+42=83'] Exploring Operation: 6+83=89, Resulting Numbers: [76, 89] Generated Node #0,1,0: 83:[76, 89] Operation: 6+83=89 Exploring Operation: 76-6=70, Resulting Numbers: [83, 70] Generated Node #0,1,1: 83:[83, 70] Operation: 76-6=70 Exploring Operation: 6+76=82, Resulting Numbers: [83, 82] Generated Node #0,1,2: 83:[83, 82] Operation: 6+76=82 Moving to Node #0,2 Current State: 83:[42, 76, 47], Operations: ['41+6=47'] Exploring Operation: 76+47=123, Resulting Numbers: [42, 123] Generated Node #0,2,0: 83:[42, 123] Operation: 76+47=123 Exploring Operation: 42+76=118, Resulting Numbers: [47, 118] Generated Node #0,2,1: 83:[47, 118] Operation: 42+76=118 Exploring Operation: 42+47=89, Resulting Numbers: [76, 89] Generated Node #0,2,2: 83:[76, 89] Operation: 42+47=89 Moving to Node #0,1,2 Current State: 83:[83, 82], Operations: ['41+42=83', '6+76=82'] Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[83, 70], Operations: ['41+42=83', '76-6=70'] Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[76, 89], Operations: ['41+6=47', '42+47=89'] Exploring Operation: 76*89=6764, Resulting Numbers: [6764] 6764,83 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[76, 89], Operations: ['6+42=48', '41+48=89'] Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 76*89=6764, Resulting Numbers: [6764] 6764,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[76, 89], Operations: ['41+42=83', '6+83=89'] Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 76*89=6764, Resulting Numbers: [6764] 6764,83 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[48, 117], Operations: ['6+42=48', '41+76=117'] Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 48*117=5616, Resulting Numbers: [5616] 5616,83 unequal: No Solution Exploring Operation: 48+117=165, Resulting Numbers: [165] 165,83 unequal: No Solution Moving to Node #0,0,1,0 Current State: 83:[69], Operations: ['6+42=48', '41+76=117', '117-48=69'] Moving to Node #0,0,2,0 Current State: 83:[13], Operations: ['6+42=48', '41+48=89', '89-76=13'] Moving to Node #0,2,2,0 Current State: 83:[13], Operations: ['41+6=47', '42+47=89', '89-76=13'] Moving to Node #0,1,1,0 Current State: 83:[153], Operations: ['41+42=83', '76-6=70', '83+70=153'] Moving to Node #0,1,1,0 Current State: 83:[13], Operations: ['41+42=83', '76-6=70', '83-70=13'] Moving to Node #0,1,0,0 Current State: 83:[13], Operations: ['41+42=83', '6+83=89', '89-76=13'] Moving to Node #0,2,1 Current State: 83:[47, 118], Operations: ['41+6=47', '42+76=118'] Exploring Operation: 118-47=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 47+118=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 47*118=5546, Resulting Numbers: [5546] 5546,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[42, 123], Operations: ['41+6=47', '76+47=123'] Exploring Operation: 42+123=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 42*123=5166, Resulting Numbers: [5166] 5166,83 unequal: No Solution Exploring Operation: 123-42=81, Resulting Numbers: [81] 81,83 unequal: No Solution Moving to Node #0,1,2,0 Current State: 83:[1], Operations: ['41+42=83', '6+76=82', '83-82=1'] Moving to Node #0,2,0,0 Current State: 83:[81], Operations: ['41+6=47', '76+47=123', '123-42=81'] Moving to Node #0,2,1,0 Current State: 83:[71], Operations: ['41+6=47', '42+76=118', '118-47=71'] Moving to Node #0,0,2,0 Current State: 83:[165], Operations: ['6+42=48', '41+48=89', '76+89=165'] Moving to Node #0,2,1,0 Current State: 83:[165], Operations: ['41+6=47', '42+76=118', '47+118=165'] Moving to Node #0,2,0,0 Current State: 83:[165], Operations: ['41+6=47', '76+47=123', '42+123=165'] Moving to Node #0,1,0,0 Current State: 83:[165], Operations: ['41+42=83', '6+83=89', '76+89=165'] Moving to Node #0,0,1,0 Current State: 83:[165], Operations: ['6+42=48', '41+76=117', '48+117=165'] Moving to Node #0,2,2,0 Current State: 83:[165], Operations: ['41+6=47', '42+47=89', '76+89=165'] Moving to Node #0,1,2,0 Current State: 83:[165], Operations: ['41+42=83', '6+76=82', '83+82=165'] Moving to Node #0,0,0 Current State: 83:[48, 35], Operations: ['6+42=48', '76-41=35'] Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,83 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.965278
bfs_3
Current State: 83:[41, 6, 42, 76], Operations: [] Exploring Operation: 41-6=35, Resulting Numbers: [42, 76, 35] Generated Node #2: [42, 76, 35] from Operation: 41-6=35 Current State: 83:[42, 76, 35], Operations: ['41-6=35'] Exploring Operation: 42+76=118, Resulting Numbers: [35, 118] Generated Node #3: [35, 118] from Operation: 42+76=118 Current State: 83:[35, 118], Operations: ['41-6=35', '42+76=118'] Exploring Operation: 118-35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
mult_heuristic
[ 98, 96, 36, 44 ]
95
[ "96+36=132", "132/44=3", "98-3=95" ]
Current State: 95:[98, 96, 36, 44], Operations: [] Exploring Operation: 44-36=8, Resulting Numbers: [98, 96, 8] Generated Node #0,0: 95:[98, 96, 8] Operation: 44-36=8 Exploring Operation: 36+44=80, Resulting Numbers: [98, 96, 80] Generated Node #0,1: 95:[98, 96, 80] Operation: 36+44=80 Moving to Node #0,0 Current State: 95:[98, 96, 8], Operations: ['44-36=8'] Exploring Operation: 98-8=90, Resulting Numbers: [96, 90] Generated Node #0,0,0: 95:[96, 90] Operation: 98-8=90 Exploring Operation: 98-96=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 95:[8, 2] Operation: 98-96=2 Moving to Node #0,1 Current State: 95:[98, 96, 80], Operations: ['36+44=80'] Exploring Operation: 98-80=18, Resulting Numbers: [96, 18] Generated Node #0,1,0: 95:[96, 18] Operation: 98-80=18 Exploring Operation: 96-80=16, Resulting Numbers: [98, 16] Generated Node #0,1,1: 95:[98, 16] Operation: 96-80=16 Moving to Node #0,1,0 Current State: 95:[96, 18], Operations: ['36+44=80', '98-80=18'] Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[96, 90], Operations: ['44-36=8', '98-8=90'] Exploring Operation: 96+90=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,0,0,0 Current State: 95:[6], Operations: ['44-36=8', '98-8=90', '96-90=6'] Moving to Node #0,0,1 Current State: 95:[8, 2], Operations: ['44-36=8', '98-96=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,0,1,0 Current State: 95:[4], Operations: ['44-36=8', '98-96=2', '8/2=4'] Moving to Node #0,0,1,0 Current State: 95:[6], Operations: ['44-36=8', '98-96=2', '8-2=6'] Moving to Node #0,1,1 Current State: 95:[98, 16], Operations: ['36+44=80', '96-80=16'] Exploring Operation: 98+16=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 98-16=82, Resulting Numbers: [82] 82,95 unequal: No Solution Moving to Node #0,1,0,0 Current State: 95:[78], Operations: ['36+44=80', '98-80=18', '96-18=78'] Moving to Node #0,1,1,0 Current State: 95:[82], Operations: ['36+44=80', '96-80=16', '98-16=82'] Moving to Node #0,1,0,0 Current State: 95:[114], Operations: ['36+44=80', '98-80=18', '96+18=114'] Moving to Node #0,1,1,0 Current State: 95:[114], Operations: ['36+44=80', '96-80=16', '98+16=114'] Moving to Node #0,0,0,0 Current State: 95:[186], Operations: ['44-36=8', '98-8=90', '96+90=186'] No solution found.
0
bfs_2
Current State: 95:[98, 96, 36, 44], Operations: [] Exploring Operation: 96+36=132, Resulting Numbers: [98, 44, 132] Generated Node #2: [98, 44, 132] from Operation: 96+36=132 Current State: 95:[98, 44, 132], Operations: ['96+36=132'] Exploring Operation: 132/44=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 132/44=3 Current State: 95:[98, 3], Operations: ['96+36=132', '132/44=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
mult_heuristic
[ 27, 51, 33, 75 ]
31
[ "27+75=102", "102/51=2", "33-2=31" ]
Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [27, 33, 24] Generated Node #0,0: 31:[27, 33, 24] Operation: 75-51=24 Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 27+24=51, Resulting Numbers: [33, 51] Generated Node #0,0,0: 31:[33, 51] Operation: 27+24=51 Moving to Node #0,0,0 Current State: 31:[33, 51], Operations: ['75-51=24', '27+24=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 33-24=9, Resulting Numbers: [27, 9] Generated Node #0,0,1: 31:[27, 9] Operation: 33-24=9 Moving to Node #0,0,1 Current State: 31:[27, 9], Operations: ['75-51=24', '33-24=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[27, 9], Operations: ['75-51=24', '33-24=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[27, 9], Operations: ['75-51=24', '33-24=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 27-24=3, Resulting Numbers: [33, 3] Generated Node #0,0,2: 31:[33, 3] Operation: 27-24=3 Moving to Node #0,0,2 Current State: 31:[33, 3], Operations: ['75-51=24', '27-24=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[33, 3], Operations: ['75-51=24', '27-24=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[33, 3], Operations: ['75-51=24', '27-24=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 33+24=57, Resulting Numbers: [27, 57] Generated Node #0,0,3: 31:[27, 57] Operation: 33+24=57 Moving to Node #0,0,3 Current State: 31:[27, 57], Operations: ['75-51=24', '33+24=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 33-27=6, Resulting Numbers: [24, 6] Generated Node #0,0,4: 31:[24, 6] Operation: 33-27=6 Moving to Node #0,0,4 Current State: 31:[24, 6], Operations: ['75-51=24', '33-27=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[24, 6], Operations: ['75-51=24', '33-27=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[24, 6], Operations: ['75-51=24', '33-27=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0 Current State: 31:[27, 33, 24], Operations: ['75-51=24'] Exploring Operation: 27+33=60, Resulting Numbers: [24, 60] Generated Node #0,0,5: 31:[24, 60] Operation: 27+33=60 Moving to Node #0,0,5 Current State: 31:[24, 60], Operations: ['75-51=24', '27+33=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [27, 51, 42] Generated Node #0,1: 31:[27, 51, 42] Operation: 75-33=42 Moving to Node #0,1 Current State: 31:[27, 51, 42], Operations: ['75-33=42'] Exploring Operation: 51-27=24, Resulting Numbers: [42, 24] Generated Node #0,1,0: 31:[42, 24] Operation: 51-27=24 Moving to Node #0,1,0 Current State: 31:[42, 24], Operations: ['75-33=42', '51-27=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[27, 51, 42], Operations: ['75-33=42'] Exploring Operation: 51-42=9, Resulting Numbers: [27, 9] Generated Node #0,1,1: 31:[27, 9] Operation: 51-42=9 Moving to Node #0,1,1 Current State: 31:[27, 9], Operations: ['75-33=42', '51-42=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[27, 9], Operations: ['75-33=42', '51-42=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[27, 9], Operations: ['75-33=42', '51-42=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[27, 51, 42], Operations: ['75-33=42'] Exploring Operation: 42-27=15, Resulting Numbers: [51, 15] Generated Node #0,1,2: 31:[51, 15] Operation: 42-27=15 Moving to Node #0,1,2 Current State: 31:[51, 15], Operations: ['75-33=42', '42-27=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[27, 51, 42], Operations: ['75-33=42'] Exploring Operation: 27+51=78, Resulting Numbers: [42, 78] Generated Node #0,1,3: 31:[42, 78] Operation: 27+51=78 Moving to Node #0,1,3 Current State: 31:[42, 78], Operations: ['75-33=42', '27+51=78'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,1 Current State: 31:[27, 51, 42], Operations: ['75-33=42'] Exploring Operation: 27+42=69, Resulting Numbers: [51, 69] Generated Node #0,1,4: 31:[51, 69] Operation: 27+42=69 Moving to Node #0,1,4 Current State: 31:[51, 69], Operations: ['75-33=42', '27+42=69'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [51, 33, 48] Generated Node #0,2: 31:[51, 33, 48] Operation: 75-27=48 Moving to Node #0,2 Current State: 31:[51, 33, 48], Operations: ['75-27=48'] Exploring Operation: 51-33=18, Resulting Numbers: [48, 18] Generated Node #0,2,0: 31:[48, 18] Operation: 51-33=18 Moving to Node #0,2,0 Current State: 31:[48, 18], Operations: ['75-27=48', '51-33=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[51, 33, 48], Operations: ['75-27=48'] Exploring Operation: 51-48=3, Resulting Numbers: [33, 3] Generated Node #0,2,1: 31:[33, 3] Operation: 51-48=3 Moving to Node #0,2,1 Current State: 31:[33, 3], Operations: ['75-27=48', '51-48=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[33, 3], Operations: ['75-27=48', '51-48=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[33, 3], Operations: ['75-27=48', '51-48=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,31 unequal: No Solution Moving to Node #0,2 Current State: 31:[51, 33, 48], Operations: ['75-27=48'] Exploring Operation: 48-33=15, Resulting Numbers: [51, 15] Generated Node #0,2,2: 31:[51, 15] Operation: 48-33=15 Moving to Node #0,2,2 Current State: 31:[51, 15], Operations: ['75-27=48', '48-33=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [33, 75, 24] Generated Node #0,3: 31:[33, 75, 24] Operation: 51-27=24 Moving to Node #0,3 Current State: 31:[33, 75, 24], Operations: ['51-27=24'] Exploring Operation: 75-33=42, Resulting Numbers: [24, 42] Generated Node #0,3,0: 31:[24, 42] Operation: 75-33=42 Moving to Node #0,3,0 Current State: 31:[24, 42], Operations: ['51-27=24', '75-33=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,3 Current State: 31:[33, 75, 24], Operations: ['51-27=24'] Exploring Operation: 75-24=51, Resulting Numbers: [33, 51] Generated Node #0,3,1: 31:[33, 51] Operation: 75-24=51 Moving to Node #0,3,1 Current State: 31:[33, 51], Operations: ['51-27=24', '75-24=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [27, 75, 18] Generated Node #0,4: 31:[27, 75, 18] Operation: 51-33=18 Moving to Node #0,4 Current State: 31:[27, 75, 18], Operations: ['51-33=18'] Exploring Operation: 75-27=48, Resulting Numbers: [18, 48] Generated Node #0,4,0: 31:[18, 48] Operation: 75-27=48 Moving to Node #0,4,0 Current State: 31:[18, 48], Operations: ['51-33=18', '75-27=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[27, 75, 18], Operations: ['51-33=18'] Exploring Operation: 75-18=57, Resulting Numbers: [27, 57] Generated Node #0,4,1: 31:[27, 57] Operation: 75-18=57 Moving to Node #0,4,1 Current State: 31:[27, 57], Operations: ['51-33=18', '75-18=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,4 Current State: 31:[27, 75, 18], Operations: ['51-33=18'] Exploring Operation: 27+18=45, Resulting Numbers: [75, 45] Generated Node #0,4,2: 31:[75, 45] Operation: 27+18=45 Moving to Node #0,4,2 Current State: 31:[75, 45], Operations: ['51-33=18', '27+18=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [51, 75, 6] Generated Node #0,5: 31:[51, 75, 6] Operation: 33-27=6 Moving to Node #0,5 Current State: 31:[51, 75, 6], Operations: ['33-27=6'] Exploring Operation: 75-51=24, Resulting Numbers: [6, 24] Generated Node #0,5,0: 31:[6, 24] Operation: 75-51=24 Moving to Node #0,5,0 Current State: 31:[6, 24], Operations: ['33-27=6', '75-51=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,5,0 Current State: 31:[6, 24], Operations: ['33-27=6', '75-51=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,5,0 Current State: 31:[6, 24], Operations: ['33-27=6', '75-51=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[51, 75, 6], Operations: ['33-27=6'] Exploring Operation: 51-6=45, Resulting Numbers: [75, 45] Generated Node #0,5,1: 31:[75, 45] Operation: 51-6=45 Moving to Node #0,5,1 Current State: 31:[75, 45], Operations: ['33-27=6', '51-6=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,5 Current State: 31:[51, 75, 6], Operations: ['33-27=6'] Exploring Operation: 75-6=69, Resulting Numbers: [51, 69] Generated Node #0,5,2: 31:[51, 69] Operation: 75-6=69 Moving to Node #0,5,2 Current State: 31:[51, 69], Operations: ['33-27=6', '75-6=69'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 27+51=78, Resulting Numbers: [33, 75, 78] Generated Node #0,6: 31:[33, 75, 78] Operation: 27+51=78 Moving to Node #0,6 Current State: 31:[33, 75, 78], Operations: ['27+51=78'] Exploring Operation: 78-75=3, Resulting Numbers: [33, 3] Generated Node #0,6,0: 31:[33, 3] Operation: 78-75=3 Moving to Node #0,6,0 Current State: 31:[33, 3], Operations: ['27+51=78', '78-75=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,6,0 Current State: 31:[33, 3], Operations: ['27+51=78', '78-75=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,6,0 Current State: 31:[33, 3], Operations: ['27+51=78', '78-75=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[33, 75, 78], Operations: ['27+51=78'] Exploring Operation: 75-33=42, Resulting Numbers: [78, 42] Generated Node #0,6,1: 31:[78, 42] Operation: 75-33=42 Moving to Node #0,6,1 Current State: 31:[78, 42], Operations: ['27+51=78', '75-33=42'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,6 Current State: 31:[33, 75, 78], Operations: ['27+51=78'] Exploring Operation: 78-33=45, Resulting Numbers: [75, 45] Generated Node #0,6,2: 31:[75, 45] Operation: 78-33=45 Moving to Node #0,6,2 Current State: 31:[75, 45], Operations: ['27+51=78', '78-33=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 27+33=60, Resulting Numbers: [51, 75, 60] Generated Node #0,7: 31:[51, 75, 60] Operation: 27+33=60 Moving to Node #0,7 Current State: 31:[51, 75, 60], Operations: ['27+33=60'] Exploring Operation: 75-51=24, Resulting Numbers: [60, 24] Generated Node #0,7,0: 31:[60, 24] Operation: 75-51=24 Moving to Node #0,7,0 Current State: 31:[60, 24], Operations: ['27+33=60', '75-51=24'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,7 Current State: 31:[51, 75, 60], Operations: ['27+33=60'] Exploring Operation: 75-60=15, Resulting Numbers: [51, 15] Generated Node #0,7,1: 31:[51, 15] Operation: 75-60=15 Moving to Node #0,7,1 Current State: 31:[51, 15], Operations: ['27+33=60', '75-60=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0 Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 27+75=102, Resulting Numbers: [51, 33, 102] Generated Node #0,8: 31:[51, 33, 102] Operation: 27+75=102 Moving to Node #0,8 Current State: 31:[51, 33, 102], Operations: ['27+75=102'] Exploring Operation: 102-51=51, Resulting Numbers: [33, 51] Generated Node #0,8,0: 31:[33, 51] Operation: 102-51=51 Moving to Node #0,8,0 Current State: 31:[33, 51], Operations: ['27+75=102', '102-51=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,8 Current State: 31:[51, 33, 102], Operations: ['27+75=102'] Exploring Operation: 102/51=2, Resulting Numbers: [33, 2] Generated Node #0,8,1: 31:[33, 2] Operation: 102/51=2 Moving to Node #0,8,1 Current State: 31:[33, 2], Operations: ['27+75=102', '102/51=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.928819
dfs
Current State: 31:[27, 51, 33, 75], Operations: [] Exploring Operation: 27+75=102, Resulting Numbers: [51, 33, 102] Generated Node #2: [51, 33, 102] from Operation: 27+75=102 Current State: 31:[51, 33, 102], Operations: ['27+75=102'] Exploring Operation: 102/51=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 102/51=2 Current State: 31:[33, 2], Operations: ['27+75=102', '102/51=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
sum_heuristic
[ 26, 36, 45, 70 ]
15
[ "36-26=10", "70-45=25", "25-10=15" ]
Current State: 15:[26, 36, 45, 70], Operations: []
0
dfs
Current State: 15:[26, 36, 45, 70], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [45, 70, 10] Generated Node #2: [45, 70, 10] from Operation: 36-26=10 Current State: 15:[45, 70, 10], Operations: ['36-26=10'] Exploring Operation: 70-45=25, Resulting Numbers: [10, 25] Generated Node #3: [10, 25] from Operation: 70-45=25 Current State: 15:[10, 25], Operations: ['36-26=10', '70-45=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
mult_heuristic
[ 87, 34, 53, 53 ]
53
[ "87-34=53", "53+53=106", "106-53=53" ]
Current State: 53:[87, 34, 53, 53], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [53, 53, 53] Generated Node #0,0: 53:[53, 53, 53] Operation: 87-34=53 Moving to Node #0,0 Current State: 53:[53, 53, 53], Operations: ['87-34=53'] Exploring Operation: 53/53=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 53:[53, 1] Operation: 53/53=1 Moving to Node #0,0,0 Current State: 53:[53, 1], Operations: ['87-34=53', '53/53=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.996528
dfs
Current State: 53:[87, 34, 53, 53], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [53, 53, 53] Generated Node #2: [53, 53, 53] from Operation: 87-34=53 Current State: 53:[53, 53, 53], Operations: ['87-34=53'] Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,53 equal: Goal Reached Exploring Operation: 106-53=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
mult_heuristic
[ 17, 22, 46, 65 ]
11
[ "17+46=63", "65-63=2", "22/2=11" ]
Current State: 11:[17, 22, 46, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [17, 22, 19] Generated Node #0,0: 11:[17, 22, 19] Operation: 65-46=19 Moving to Node #0,0 Current State: 11:[17, 22, 19], Operations: ['65-46=19'] Exploring Operation: 22-17=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 11:[19, 5] Operation: 22-17=5 Moving to Node #0,0,0 Current State: 11:[19, 5], Operations: ['65-46=19', '22-17=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,0,0,0 Current State: 11:[14], Operations: ['65-46=19', '22-17=5', '19-5=14'] No solution found.
0
bfs_1
Current State: 11:[17, 22, 46, 65], Operations: [] Exploring Operation: 17+46=63, Resulting Numbers: [22, 65, 63] Generated Node #2: [22, 65, 63] from Operation: 17+46=63 Current State: 11:[22, 65, 63], Operations: ['17+46=63'] Exploring Operation: 65-63=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 65-63=2 Current State: 11:[22, 2], Operations: ['17+46=63', '65-63=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
mult_heuristic
[ 50, 8, 13, 98 ]
56
[ "98-50=48", "8*13=104", "104-48=56" ]
Current State: 56:[50, 8, 13, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [8, 13, 48] Generated Node #0,0: 56:[8, 13, 48] Operation: 98-50=48 Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 8+48=56, Resulting Numbers: [13, 56] Generated Node #0,0,0: 56:[13, 56] Operation: 8+48=56 Moving to Node #0,0,0 Current State: 56:[13, 56], Operations: ['98-50=48', '8+48=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[13, 56], Operations: ['98-50=48', '8+48=56'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 48/8=6, Resulting Numbers: [13, 6] Generated Node #0,0,1: 56:[13, 6] Operation: 48/8=6 Moving to Node #0,0,1 Current State: 56:[13, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[13, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[13, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 13+48=61, Resulting Numbers: [8, 61] Generated Node #0,0,2: 56:[8, 61] Operation: 13+48=61 Moving to Node #0,0,2 Current State: 56:[8, 61], Operations: ['98-50=48', '13+48=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[8, 61], Operations: ['98-50=48', '13+48=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 48-13=35, Resulting Numbers: [8, 35] Generated Node #0,0,3: 56:[8, 35] Operation: 48-13=35 Moving to Node #0,0,3 Current State: 56:[8, 35], Operations: ['98-50=48', '48-13=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[8, 35], Operations: ['98-50=48', '48-13=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 13-8=5, Resulting Numbers: [48, 5] Generated Node #0,0,4: 56:[48, 5] Operation: 13-8=5 Moving to Node #0,0,4 Current State: 56:[48, 5], Operations: ['98-50=48', '13-8=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[48, 5], Operations: ['98-50=48', '13-8=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 48-8=40, Resulting Numbers: [13, 40] Generated Node #0,0,5: 56:[13, 40] Operation: 48-8=40 Moving to Node #0,0,5 Current State: 56:[13, 40], Operations: ['98-50=48', '48-8=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,5 Current State: 56:[13, 40], Operations: ['98-50=48', '48-8=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 8+13=21, Resulting Numbers: [48, 21] Generated Node #0,0,6: 56:[48, 21] Operation: 8+13=21 Moving to Node #0,0,6 Current State: 56:[48, 21], Operations: ['98-50=48', '8+13=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,6 Current State: 56:[48, 21], Operations: ['98-50=48', '8+13=21'] Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,56 unequal: No Solution Moving to Node #0,0 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 8*13=104, Resulting Numbers: [48, 104] Generated Node #0,0,7: 56:[48, 104] Operation: 8*13=104 Moving to Node #0,0,7 Current State: 56:[48, 104], Operations: ['98-50=48', '8*13=104'] Exploring Operation: 104-48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.977431
dfs
Current State: 56:[50, 8, 13, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [8, 13, 48] Generated Node #2: [8, 13, 48] from Operation: 98-50=48 Current State: 56:[8, 13, 48], Operations: ['98-50=48'] Exploring Operation: 8*13=104, Resulting Numbers: [48, 104] Generated Node #3: [48, 104] from Operation: 8*13=104 Current State: 56:[48, 104], Operations: ['98-50=48', '8*13=104'] Exploring Operation: 104-48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
mult_heuristic
[ 84, 91, 7, 15 ]
94
[ "84/7=12", "91+15=106", "106-12=94" ]
Current State: 94:[84, 91, 7, 15], Operations: [] Exploring Operation: 91+7=98, Resulting Numbers: [84, 15, 98] Generated Node #0,0: 94:[84, 15, 98] Operation: 91+7=98 Exploring Operation: 7+15=22, Resulting Numbers: [84, 91, 22] Generated Node #0,1: 94:[84, 91, 22] Operation: 7+15=22 Exploring Operation: 7*15=105, Resulting Numbers: [84, 91, 105] Generated Node #0,2: 94:[84, 91, 105] Operation: 7*15=105 Exploring Operation: 84+7=91, Resulting Numbers: [91, 15, 91] Generated Node #0,3: 94:[91, 15, 91] Operation: 84+7=91 Exploring Operation: 84+15=99, Resulting Numbers: [91, 7, 99] Generated Node #0,4: 94:[91, 7, 99] Operation: 84+15=99 Moving to Node #0,2 Current State: 94:[84, 91, 105], Operations: ['7*15=105'] Exploring Operation: 91-84=7, Resulting Numbers: [105, 7] Generated Node #0,2,0: 94:[105, 7] Operation: 91-84=7 Exploring Operation: 105-84=21, Resulting Numbers: [91, 21] Generated Node #0,2,1: 94:[91, 21] Operation: 105-84=21 Exploring Operation: 84+105=189, Resulting Numbers: [91, 189] Generated Node #0,2,2: 94:[91, 189] Operation: 84+105=189 Exploring Operation: 105-91=14, Resulting Numbers: [84, 14] Generated Node #0,2,3: 94:[84, 14] Operation: 105-91=14 Exploring Operation: 84+91=175, Resulting Numbers: [105, 175] Generated Node #0,2,4: 94:[105, 175] Operation: 84+91=175 Moving to Node #0,3 Current State: 94:[91, 15, 91], Operations: ['84+7=91'] Exploring Operation: 91-15=76, Resulting Numbers: [91, 76] Generated Node #0,3,0: 94:[91, 76] Operation: 91-15=76 Exploring Operation: 91+91=182, Resulting Numbers: [15, 182] Generated Node #0,3,1: 94:[15, 182] Operation: 91+91=182 Exploring Operation: 91-15=76, Resulting Numbers: [91, 76] Generated Node #0,3,2: 94:[91, 76] Operation: 91-15=76 Exploring Operation: 91+15=106, Resulting Numbers: [91, 106] Generated Node #0,3,3: 94:[91, 106] Operation: 91+15=106 Exploring Operation: 15+91=106, Resulting Numbers: [91, 106] Generated Node #0,3,4: 94:[91, 106] Operation: 15+91=106 Moving to Node #0,1 Current State: 94:[84, 91, 22], Operations: ['7+15=22'] Exploring Operation: 91-22=69, Resulting Numbers: [84, 69] Generated Node #0,1,0: 94:[84, 69] Operation: 91-22=69 Exploring Operation: 84+22=106, Resulting Numbers: [91, 106] Generated Node #0,1,1: 94:[91, 106] Operation: 84+22=106 Exploring Operation: 84+91=175, Resulting Numbers: [22, 175] Generated Node #0,1,2: 94:[22, 175] Operation: 84+91=175 Exploring Operation: 91+22=113, Resulting Numbers: [84, 113] Generated Node #0,1,3: 94:[84, 113] Operation: 91+22=113 Exploring Operation: 84-22=62, Resulting Numbers: [91, 62] Generated Node #0,1,4: 94:[91, 62] Operation: 84-22=62 Moving to Node #0,0 Current State: 94:[84, 15, 98], Operations: ['91+7=98'] Exploring Operation: 84+15=99, Resulting Numbers: [98, 99] Generated Node #0,0,0: 94:[98, 99] Operation: 84+15=99 Exploring Operation: 98-84=14, Resulting Numbers: [15, 14] Generated Node #0,0,1: 94:[15, 14] Operation: 98-84=14 Exploring Operation: 84-15=69, Resulting Numbers: [98, 69] Generated Node #0,0,2: 94:[98, 69] Operation: 84-15=69 Exploring Operation: 15+98=113, Resulting Numbers: [84, 113] Generated Node #0,0,3: 94:[84, 113] Operation: 15+98=113 Exploring Operation: 98-15=83, Resulting Numbers: [84, 83] Generated Node #0,0,4: 94:[84, 83] Operation: 98-15=83 Moving to Node #0,4 Current State: 94:[91, 7, 99], Operations: ['84+15=99'] Exploring Operation: 91+7=98, Resulting Numbers: [99, 98] Generated Node #0,4,0: 94:[99, 98] Operation: 91+7=98 Exploring Operation: 91-7=84, Resulting Numbers: [99, 84] Generated Node #0,4,1: 94:[99, 84] Operation: 91-7=84 Exploring Operation: 99-7=92, Resulting Numbers: [91, 92] Generated Node #0,4,2: 94:[91, 92] Operation: 99-7=92 Exploring Operation: 91/7=13, Resulting Numbers: [99, 13] Generated Node #0,4,3: 94:[99, 13] Operation: 91/7=13 Exploring Operation: 7+99=106, Resulting Numbers: [91, 106] Generated Node #0,4,4: 94:[91, 106] Operation: 7+99=106 Moving to Node #0,4,2 Current State: 94:[91, 92], Operations: ['84+15=99', '99-7=92'] Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 91+92=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 91*92=8372, Resulting Numbers: [8372] 8372,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[98, 99], Operations: ['91+7=98', '84+15=99'] Exploring Operation: 98+99=197, Resulting Numbers: [197] 197,94 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 98*99=9702, Resulting Numbers: [9702] 9702,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[99, 98], Operations: ['84+15=99', '91+7=98'] Exploring Operation: 99+98=197, Resulting Numbers: [197] 197,94 unequal: No Solution Exploring Operation: 99*98=9702, Resulting Numbers: [9702] 9702,94 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[91, 106], Operations: ['84+7=91', '15+91=106'] Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,94 unequal: No Solution Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,94 unequal: No Solution Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[91, 106], Operations: ['84+15=99', '7+99=106'] Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,94 unequal: No Solution Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[91, 106], Operations: ['84+7=91', '91+15=106'] Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,94 unequal: No Solution Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[99, 84], Operations: ['84+15=99', '91-7=84'] Exploring Operation: 99+84=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 99*84=8316, Resulting Numbers: [8316] 8316,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[91, 106], Operations: ['7+15=22', '84+22=106'] Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,94 unequal: No Solution Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[91, 76], Operations: ['84+7=91', '91-15=76'] Exploring Operation: 91+76=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 91*76=6916, Resulting Numbers: [6916] 6916,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[91, 76], Operations: ['84+7=91', '91-15=76'] Exploring Operation: 91*76=6916, Resulting Numbers: [6916] 6916,94 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 91+76=167, Resulting Numbers: [167] 167,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[84, 83], Operations: ['91+7=98', '98-15=83'] Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,94 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[84, 113], Operations: ['7+15=22', '91+22=113'] Exploring Operation: 113-84=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 84*113=9492, Resulting Numbers: [9492] 9492,94 unequal: No Solution Exploring Operation: 84+113=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[98, 69], Operations: ['91+7=98', '84-15=69'] Exploring Operation: 98+69=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 98*69=6762, Resulting Numbers: [6762] 6762,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[84, 113], Operations: ['91+7=98', '15+98=113'] Exploring Operation: 84*113=9492, Resulting Numbers: [9492] 9492,94 unequal: No Solution Exploring Operation: 113-84=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 84+113=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[91, 62], Operations: ['7+15=22', '84-22=62'] Exploring Operation: 91+62=153, Resulting Numbers: [153] 153,94 unequal: No Solution Exploring Operation: 91-62=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 91*62=5642, Resulting Numbers: [5642] 5642,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[84, 69], Operations: ['7+15=22', '91-22=69'] Exploring Operation: 84+69=153, Resulting Numbers: [153] 153,94 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 84*69=5796, Resulting Numbers: [5796] 5796,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[91, 21], Operations: ['7*15=105', '105-84=21'] Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,94 unequal: No Solution Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[99, 13], Operations: ['84+15=99', '91/7=13'] Exploring Operation: 99*13=1287, Resulting Numbers: [1287] 1287,94 unequal: No Solution Exploring Operation: 99+13=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[84, 14], Operations: ['7*15=105', '105-91=14'] Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[105, 175], Operations: ['7*15=105', '84+91=175'] Exploring Operation: 105*175=18375, Resulting Numbers: [18375] 18375,94 unequal: No Solution Exploring Operation: 175-105=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 105+175=280, Resulting Numbers: [280] 280,94 unequal: No Solution Moving to Node #0,2,3,0 Current State: 94:[98], Operations: ['7*15=105', '105-91=14', '84+14=98'] Moving to Node #0,4,3,0 Current State: 94:[86], Operations: ['84+15=99', '91/7=13', '99-13=86'] Moving to Node #0,2,1,0 Current State: 94:[112], Operations: ['7*15=105', '105-84=21', '91+21=112'] Moving to Node #0,4,3,0 Current State: 94:[112], Operations: ['84+15=99', '91/7=13', '99+13=112'] Moving to Node #0,2,3,0 Current State: 94:[70], Operations: ['7*15=105', '105-91=14', '84-14=70'] Moving to Node #0,2,1,0 Current State: 94:[70], Operations: ['7*15=105', '105-84=21', '91-21=70'] Moving to Node #0,2,4,0 Current State: 94:[70], Operations: ['7*15=105', '84+91=175', '175-105=70'] Moving to Node #0,2,2 Current State: 94:[91, 189], Operations: ['7*15=105', '84+105=189'] Exploring Operation: 91+189=280, Resulting Numbers: [280] 280,94 unequal: No Solution Exploring Operation: 189-91=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 91*189=17199, Resulting Numbers: [17199] 17199,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[105, 7], Operations: ['7*15=105', '91-84=7'] Exploring Operation: 105+7=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 105*7=735, Resulting Numbers: [735] 735,94 unequal: No Solution Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 105-7=98, Resulting Numbers: [98] 98,94 unequal: No Solution Moving to Node #0,1,4,0 Current State: 94:[153], Operations: ['7+15=22', '84-22=62', '91+62=153'] Moving to Node #0,2,2,0 Current State: 94:[98], Operations: ['7*15=105', '84+105=189', '189-91=98'] Moving to Node #0,2,0,0 Current State: 94:[98], Operations: ['7*15=105', '91-84=7', '105-7=98'] Moving to Node #0,2,0,0 Current State: 94:[112], Operations: ['7*15=105', '91-84=7', '105+7=112'] Moving to Node #0,1,0,0 Current State: 94:[153], Operations: ['7+15=22', '91-22=69', '84+69=153'] Moving to Node #0,1,4,0 Current State: 94:[29], Operations: ['7+15=22', '84-22=62', '91-62=29'] Moving to Node #0,0,3,0 Current State: 94:[29], Operations: ['91+7=98', '15+98=113', '113-84=29'] Moving to Node #0,1,3,0 Current State: 94:[29], Operations: ['7+15=22', '91+22=113', '113-84=29'] Moving to Node #0,0,2,0 Current State: 94:[29], Operations: ['91+7=98', '84-15=69', '98-69=29'] Moving to Node #0,0,2,0 Current State: 94:[167], Operations: ['91+7=98', '84-15=69', '98+69=167'] Moving to Node #0,3,0,0 Current State: 94:[167], Operations: ['84+7=91', '91-15=76', '91+76=167'] Moving to Node #0,3,2,0 Current State: 94:[167], Operations: ['84+7=91', '91-15=76', '91+76=167'] Moving to Node #0,0,4,0 Current State: 94:[167], Operations: ['91+7=98', '98-15=83', '84+83=167'] Moving to Node #0,1,2 Current State: 94:[22, 175], Operations: ['7+15=22', '84+91=175'] Exploring Operation: 22*175=3850, Resulting Numbers: [3850] 3850,94 unequal: No Solution Exploring Operation: 175-22=153, Resulting Numbers: [153] 153,94 unequal: No Solution Exploring Operation: 22+175=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,2,0,0 Current State: 94:[15], Operations: ['7*15=105', '91-84=7', '105/7=15'] Moving to Node #0,3,3,0 Current State: 94:[15], Operations: ['84+7=91', '91+15=106', '106-91=15'] Moving to Node #0,1,2,0 Current State: 94:[153], Operations: ['7+15=22', '84+91=175', '175-22=153'] Moving to Node #0,1,0,0 Current State: 94:[15], Operations: ['7+15=22', '91-22=69', '84-69=15'] Moving to Node #0,3,4,0 Current State: 94:[15], Operations: ['84+7=91', '15+91=106', '106-91=15'] Moving to Node #0,3,2,0 Current State: 94:[15], Operations: ['84+7=91', '91-15=76', '91-76=15'] Moving to Node #0,3,0,0 Current State: 94:[15], Operations: ['84+7=91', '91-15=76', '91-76=15'] Moving to Node #0,1,1,0 Current State: 94:[15], Operations: ['7+15=22', '84+22=106', '106-91=15'] Moving to Node #0,4,1,0 Current State: 94:[15], Operations: ['84+15=99', '91-7=84', '99-84=15'] Moving to Node #0,4,4,0 Current State: 94:[15], Operations: ['84+15=99', '7+99=106', '106-91=15'] Moving to Node #0,0,1 Current State: 94:[15, 14], Operations: ['91+7=98', '98-84=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[15, 182], Operations: ['84+7=91', '91+91=182'] Exploring Operation: 182-15=167, Resulting Numbers: [167] 167,94 unequal: No Solution Exploring Operation: 15*182=2730, Resulting Numbers: [2730] 2730,94 unequal: No Solution Exploring Operation: 15+182=197, Resulting Numbers: [197] 197,94 unequal: No Solution Moving to Node #0,0,1,0 Current State: 94:[29], Operations: ['91+7=98', '98-84=14', '15+14=29'] Moving to Node #0,3,1,0 Current State: 94:[167], Operations: ['84+7=91', '91+91=182', '182-15=167'] Moving to Node #0,2,3,0 Current State: 94:[6], Operations: ['7*15=105', '105-91=14', '84/14=6'] Moving to Node #0,4,2,0 Current State: 94:[183], Operations: ['84+15=99', '99-7=92', '91+92=183'] Moving to Node #0,4,1,0 Current State: 94:[183], Operations: ['84+15=99', '91-7=84', '99+84=183'] Moving to Node #0,0,0,0 Current State: 94:[1], Operations: ['91+7=98', '84+15=99', '99-98=1'] Moving to Node #0,4,2,0 Current State: 94:[1], Operations: ['84+15=99', '99-7=92', '92-91=1'] Moving to Node #0,0,4,0 Current State: 94:[1], Operations: ['91+7=98', '98-15=83', '84-83=1'] Moving to Node #0,0,1,0 Current State: 94:[1], Operations: ['91+7=98', '98-84=14', '15-14=1'] Moving to Node #0,4,0,0 Current State: 94:[1], Operations: ['84+15=99', '91+7=98', '99-98=1'] Moving to Node #0,3,3,0 Current State: 94:[197], Operations: ['84+7=91', '91+15=106', '91+106=197'] Moving to Node #0,4,0,0 Current State: 94:[197], Operations: ['84+15=99', '91+7=98', '99+98=197'] Moving to Node #0,1,2,0 Current State: 94:[197], Operations: ['7+15=22', '84+91=175', '22+175=197'] Moving to Node #0,0,3,0 Current State: 94:[197], Operations: ['91+7=98', '15+98=113', '84+113=197'] Moving to Node #0,0,0,0 Current State: 94:[197], Operations: ['91+7=98', '84+15=99', '98+99=197'] Moving to Node #0,3,1,0 Current State: 94:[197], Operations: ['84+7=91', '91+91=182', '15+182=197'] Moving to Node #0,1,3,0 Current State: 94:[197], Operations: ['7+15=22', '91+22=113', '84+113=197'] Moving to Node #0,1,1,0 Current State: 94:[197], Operations: ['7+15=22', '84+22=106', '91+106=197'] Moving to Node #0,3,4,0 Current State: 94:[197], Operations: ['84+7=91', '15+91=106', '91+106=197'] Moving to Node #0,4,4,0 Current State: 94:[197], Operations: ['84+15=99', '7+99=106', '91+106=197'] Moving to Node #0,0,1,0 Current State: 94:[210], Operations: ['91+7=98', '98-84=14', '15*14=210'] Moving to Node #0,2,2,0 Current State: 94:[280], Operations: ['7*15=105', '84+105=189', '91+189=280'] Moving to Node #0,2,4,0 Current State: 94:[280], Operations: ['7*15=105', '84+91=175', '105+175=280'] Moving to Node #0,2,0,0 Current State: 94:[735], Operations: ['7*15=105', '91-84=7', '105*7=735'] Moving to Node #0,2,3,0 Current State: 94:[1176], Operations: ['7*15=105', '105-91=14', '84*14=1176'] Moving to Node #0,4,3,0 Current State: 94:[1287], Operations: ['84+15=99', '91/7=13', '99*13=1287'] Moving to Node #0,2,1,0 Current State: 94:[1911], Operations: ['7*15=105', '105-84=21', '91*21=1911'] Moving to Node #0,3,1,0 Current State: 94:[2730], Operations: ['84+7=91', '91+91=182', '15*182=2730'] Moving to Node #0,1,2,0 Current State: 94:[3850], Operations: ['7+15=22', '84+91=175', '22*175=3850'] Moving to Node #0,1,4,0 Current State: 94:[5642], Operations: ['7+15=22', '84-22=62', '91*62=5642'] Moving to Node #0,1,0,0 Current State: 94:[5796], Operations: ['7+15=22', '91-22=69', '84*69=5796'] Moving to Node #0,0,2,0 Current State: 94:[6762], Operations: ['91+7=98', '84-15=69', '98*69=6762'] Moving to Node #0,3,2,0 Current State: 94:[6916], Operations: ['84+7=91', '91-15=76', '91*76=6916'] Moving to Node #0,3,0,0 Current State: 94:[6916], Operations: ['84+7=91', '91-15=76', '91*76=6916'] Moving to Node #0,0,4,0 Current State: 94:[6972], Operations: ['91+7=98', '98-15=83', '84*83=6972'] Moving to Node #0,4,1,0 Current State: 94:[8316], Operations: ['84+15=99', '91-7=84', '99*84=8316'] Moving to Node #0,4,2,0 Current State: 94:[8372], Operations: ['84+15=99', '99-7=92', '91*92=8372'] Moving to Node #0,0,3,0 Current State: 94:[9492], Operations: ['91+7=98', '15+98=113', '84*113=9492'] Moving to Node #0,1,3,0 Current State: 94:[9492], Operations: ['7+15=22', '91+22=113', '84*113=9492'] Moving to Node #0,4,4,0 Current State: 94:[9646], Operations: ['84+15=99', '7+99=106', '91*106=9646'] Moving to Node #0,1,1,0 Current State: 94:[9646], Operations: ['7+15=22', '84+22=106', '91*106=9646'] Moving to Node #0,3,3,0 Current State: 94:[9646], Operations: ['84+7=91', '91+15=106', '91*106=9646'] Moving to Node #0,3,4,0 Current State: 94:[9646], Operations: ['84+7=91', '15+91=106', '91*106=9646'] Moving to Node #0,4,0,0 Current State: 94:[9702], Operations: ['84+15=99', '91+7=98', '99*98=9702'] Moving to Node #0,0,0,0 Current State: 94:[9702], Operations: ['91+7=98', '84+15=99', '98*99=9702'] Moving to Node #0,2,2,0 Current State: 94:[17199], Operations: ['7*15=105', '84+105=189', '91*189=17199'] Moving to Node #0,2,4,0 Current State: 94:[18375], Operations: ['7*15=105', '84+91=175', '105*175=18375'] No solution found.
0
bfs_5
Current State: 94:[84, 91, 7, 15], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [91, 15, 12] Generated Node #2: [91, 15, 12] from Operation: 84/7=12 Current State: 94:[91, 15, 12], Operations: ['84/7=12'] Exploring Operation: 91+15=106, Resulting Numbers: [12, 106] Generated Node #3: [12, 106] from Operation: 91+15=106 Current State: 94:[12, 106], Operations: ['84/7=12', '91+15=106'] Exploring Operation: 106-12=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
sum_heuristic
[ 96, 64, 98, 48 ]
36
[ "96/48=2", "98-64=34", "2+34=36" ]
Current State: 36:[96, 64, 98, 48], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [64, 48, 2] Generated Node #0,0: 36:[64, 48, 2] Operation: 98-96=2 Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 64/2=32, Resulting Numbers: [48, 32] Generated Node #0,0,0: 36:[48, 32] Operation: 64/2=32 Moving to Node #0,0,0 Current State: 36:[48, 32], Operations: ['98-96=2', '64/2=32'] Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 64-2=62, Resulting Numbers: [48, 62] Generated Node #0,0,1: 36:[48, 62] Operation: 64-2=62 Moving to Node #0,0,1 Current State: 36:[48, 62], Operations: ['98-96=2', '64-2=62'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 48-2=46, Resulting Numbers: [64, 46] Generated Node #0,0,2: 36:[64, 46] Operation: 48-2=46 Moving to Node #0,0,2 Current State: 36:[64, 46], Operations: ['98-96=2', '48-2=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 48/2=24, Resulting Numbers: [64, 24] Generated Node #0,0,3: 36:[64, 24] Operation: 48/2=24 Moving to Node #0,0,3 Current State: 36:[64, 24], Operations: ['98-96=2', '48/2=24'] Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 64+2=66, Resulting Numbers: [48, 66] Generated Node #0,0,4: 36:[48, 66] Operation: 64+2=66 Moving to Node #0,0,4 Current State: 36:[48, 66], Operations: ['98-96=2', '64+2=66'] Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 48+2=50, Resulting Numbers: [64, 50] Generated Node #0,0,5: 36:[64, 50] Operation: 48+2=50 Moving to Node #0,0,5 Current State: 36:[64, 50], Operations: ['98-96=2', '48+2=50'] Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[64, 48, 2], Operations: ['98-96=2'] Exploring Operation: 64-48=16, Resulting Numbers: [2, 16] Generated Node #0,0,6: 36:[2, 16] Operation: 64-48=16 Moving to Node #0,0,6 Current State: 36:[2, 16], Operations: ['98-96=2', '64-48=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,36 unequal: No Solution Moving to Node #0,0,6 Current State: 36:[2, 16], Operations: ['98-96=2', '64-48=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,0,6 Current State: 36:[2, 16], Operations: ['98-96=2', '64-48=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,0,6 Current State: 36:[2, 16], Operations: ['98-96=2', '64-48=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0 Current State: 36:[96, 64, 98, 48], Operations: [] Exploring Operation: 98-64=34, Resulting Numbers: [96, 48, 34] Generated Node #0,1: 36:[96, 48, 34] Operation: 98-64=34 Moving to Node #0,1 Current State: 36:[96, 48, 34], Operations: ['98-64=34'] Exploring Operation: 96-48=48, Resulting Numbers: [34, 48] Generated Node #0,1,0: 36:[34, 48] Operation: 96-48=48 Moving to Node #0,1,0 Current State: 36:[34, 48], Operations: ['98-64=34', '96-48=48'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[96, 48, 34], Operations: ['98-64=34'] Exploring Operation: 96/48=2, Resulting Numbers: [34, 2] Generated Node #0,1,1: 36:[34, 2] Operation: 96/48=2 Moving to Node #0,1,1 Current State: 36:[34, 2], Operations: ['98-64=34', '96/48=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.979167
dfs
Current State: 36:[96, 64, 98, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [64, 98, 2] Generated Node #2: [64, 98, 2] from Operation: 96/48=2 Current State: 36:[64, 98, 2], Operations: ['96/48=2'] Exploring Operation: 98-64=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 98-64=34 Current State: 36:[2, 34], Operations: ['96/48=2', '98-64=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
sum_heuristic
[ 40, 48, 13, 55 ]
34
[ "48-40=8", "55-13=42", "42-8=34" ]
Current State: 34:[40, 48, 13, 55], Operations: [] Exploring Operation: 48-13=35, Resulting Numbers: [40, 55, 35] Generated Node #0,0: 34:[40, 55, 35] Operation: 48-13=35 Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 55-40=15, Resulting Numbers: [35, 15] Generated Node #0,0,0: 34:[35, 15] Operation: 55-40=15 Moving to Node #0,0,0 Current State: 34:[35, 15], Operations: ['48-13=35', '55-40=15'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[35, 15], Operations: ['48-13=35', '55-40=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 55-35=20, Resulting Numbers: [40, 20] Generated Node #0,0,1: 34:[40, 20] Operation: 55-35=20 Moving to Node #0,0,1 Current State: 34:[40, 20], Operations: ['48-13=35', '55-35=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[40, 20], Operations: ['48-13=35', '55-35=20'] Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[40, 20], Operations: ['48-13=35', '55-35=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,34 unequal: No Solution Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 40-35=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 34:[55, 5] Operation: 40-35=5 Moving to Node #0,0,2 Current State: 34:[55, 5], Operations: ['48-13=35', '40-35=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[55, 5], Operations: ['48-13=35', '40-35=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[55, 5], Operations: ['48-13=35', '40-35=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,34 unequal: No Solution Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 40+55=95, Resulting Numbers: [35, 95] Generated Node #0,0,3: 34:[35, 95] Operation: 40+55=95 Moving to Node #0,0,3 Current State: 34:[35, 95], Operations: ['48-13=35', '40+55=95'] Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,34 unequal: No Solution Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 40+35=75, Resulting Numbers: [55, 75] Generated Node #0,0,4: 34:[55, 75] Operation: 40+35=75 Moving to Node #0,0,4 Current State: 34:[55, 75], Operations: ['48-13=35', '40+35=75'] Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,0 Current State: 34:[40, 55, 35], Operations: ['48-13=35'] Exploring Operation: 55+35=90, Resulting Numbers: [40, 90] Generated Node #0,0,5: 34:[40, 90] Operation: 55+35=90 Moving to Node #0,0,5 Current State: 34:[40, 90], Operations: ['48-13=35', '55+35=90'] Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0 Current State: 34:[40, 48, 13, 55], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [40, 48, 42] Generated Node #0,1: 34:[40, 48, 42] Operation: 55-13=42 Moving to Node #0,1 Current State: 34:[40, 48, 42], Operations: ['55-13=42'] Exploring Operation: 48-40=8, Resulting Numbers: [42, 8] Generated Node #0,1,0: 34:[42, 8] Operation: 48-40=8 Moving to Node #0,1,0 Current State: 34:[42, 8], Operations: ['55-13=42', '48-40=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.980903
dfs
Current State: 34:[40, 48, 13, 55], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [13, 55, 8] Generated Node #2: [13, 55, 8] from Operation: 48-40=8 Current State: 34:[13, 55, 8], Operations: ['48-40=8'] Exploring Operation: 55-13=42, Resulting Numbers: [8, 42] Generated Node #3: [8, 42] from Operation: 55-13=42 Current State: 34:[8, 42], Operations: ['48-40=8', '55-13=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
sum_heuristic
[ 36, 48, 98, 60 ]
53
[ "36*60=2160", "2160/48=45", "98-45=53" ]
Current State: 53:[36, 48, 98, 60], Operations: [] Exploring Operation: 98-36=62, Resulting Numbers: [48, 60, 62] Generated Node #0,0: 53:[48, 60, 62] Operation: 98-36=62 Moving to Node #0,0 Current State: 53:[48, 60, 62], Operations: ['98-36=62'] Exploring Operation: 62-48=14, Resulting Numbers: [60, 14] Generated Node #0,0,0: 53:[60, 14] Operation: 62-48=14 Moving to Node #0,0,0 Current State: 53:[60, 14], Operations: ['98-36=62', '62-48=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[60, 14], Operations: ['98-36=62', '62-48=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[48, 60, 62], Operations: ['98-36=62'] Exploring Operation: 60-48=12, Resulting Numbers: [62, 12] Generated Node #0,0,1: 53:[62, 12] Operation: 60-48=12 Moving to Node #0,0,1 Current State: 53:[62, 12], Operations: ['98-36=62', '60-48=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[62, 12], Operations: ['98-36=62', '60-48=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0 Current State: 53:[36, 48, 98, 60], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [36, 60, 50] Generated Node #0,1: 53:[36, 60, 50] Operation: 98-48=50 Moving to Node #0,1 Current State: 53:[36, 60, 50], Operations: ['98-48=50'] Exploring Operation: 60-36=24, Resulting Numbers: [50, 24] Generated Node #0,1,0: 53:[50, 24] Operation: 60-36=24 Moving to Node #0,1,0 Current State: 53:[50, 24], Operations: ['98-48=50', '60-36=24'] Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[50, 24], Operations: ['98-48=50', '60-36=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,53 unequal: No Solution Moving to Node #0,1 Current State: 53:[36, 60, 50], Operations: ['98-48=50'] Exploring Operation: 36+50=86, Resulting Numbers: [60, 86] Generated Node #0,1,1: 53:[60, 86] Operation: 36+50=86 Moving to Node #0,1,1 Current State: 53:[60, 86], Operations: ['98-48=50', '36+50=86'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,53 unequal: No Solution Moving to Node #0,1 Current State: 53:[36, 60, 50], Operations: ['98-48=50'] Exploring Operation: 36+60=96, Resulting Numbers: [50, 96] Generated Node #0,1,2: 53:[50, 96] Operation: 36+60=96 Moving to Node #0,1,2 Current State: 53:[50, 96], Operations: ['98-48=50', '36+60=96'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,1 Current State: 53:[36, 60, 50], Operations: ['98-48=50'] Exploring Operation: 50-36=14, Resulting Numbers: [60, 14] Generated Node #0,1,3: 53:[60, 14] Operation: 50-36=14 Moving to Node #0,1,3 Current State: 53:[60, 14], Operations: ['98-48=50', '50-36=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[60, 14], Operations: ['98-48=50', '50-36=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0 Current State: 53:[36, 48, 98, 60], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [36, 48, 38] Generated Node #0,2: 53:[36, 48, 38] Operation: 98-60=38 Moving to Node #0,2 Current State: 53:[36, 48, 38], Operations: ['98-60=38'] Exploring Operation: 36+38=74, Resulting Numbers: [48, 74] Generated Node #0,2,0: 53:[48, 74] Operation: 36+38=74 Moving to Node #0,2,0 Current State: 53:[48, 74], Operations: ['98-60=38', '36+38=74'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,53 unequal: No Solution Moving to Node #0,2 Current State: 53:[36, 48, 38], Operations: ['98-60=38'] Exploring Operation: 36+48=84, Resulting Numbers: [38, 84] Generated Node #0,2,1: 53:[38, 84] Operation: 36+48=84 Moving to Node #0,2,1 Current State: 53:[38, 84], Operations: ['98-60=38', '36+48=84'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,2 Current State: 53:[36, 48, 38], Operations: ['98-60=38'] Exploring Operation: 48+38=86, Resulting Numbers: [36, 86] Generated Node #0,2,2: 53:[36, 86] Operation: 48+38=86 Moving to Node #0,2,2 Current State: 53:[36, 86], Operations: ['98-60=38', '48+38=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,53 unequal: No Solution
0
dfs
Current State: 53:[36, 48, 98, 60], Operations: [] Exploring Operation: 36*60=2160, Resulting Numbers: [48, 98, 2160] Generated Node #2: [48, 98, 2160] from Operation: 36*60=2160 Current State: 53:[48, 98, 2160], Operations: ['36*60=2160'] Exploring Operation: 2160/48=45, Resulting Numbers: [98, 45] Generated Node #3: [98, 45] from Operation: 2160/48=45 Current State: 53:[98, 45], Operations: ['36*60=2160', '2160/48=45'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
mult_heuristic
[ 13, 13, 59, 62 ]
48
[ "13*13=169", "59+62=121", "169-121=48" ]
Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [13, 13, 3] Generated Node #0,0: 48:[13, 13, 3] Operation: 62-59=3 Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13/13=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 48:[3, 1] Operation: 13/13=1 Moving to Node #0,0,0 Current State: 48:[3, 1], Operations: ['62-59=3', '13/13=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[3, 1], Operations: ['62-59=3', '13/13=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[3, 1], Operations: ['62-59=3', '13/13=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[3, 1], Operations: ['62-59=3', '13/13=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13+3=16, Resulting Numbers: [13, 16] Generated Node #0,0,1: 48:[13, 16] Operation: 13+3=16 Moving to Node #0,0,1 Current State: 48:[13, 16], Operations: ['62-59=3', '13+3=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[13, 16], Operations: ['62-59=3', '13+3=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13+3=16, Resulting Numbers: [13, 16] Generated Node #0,0,2: 48:[13, 16] Operation: 13+3=16 Moving to Node #0,0,2 Current State: 48:[13, 16], Operations: ['62-59=3', '13+3=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[13, 16], Operations: ['62-59=3', '13+3=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13+13=26, Resulting Numbers: [3, 26] Generated Node #0,0,3: 48:[3, 26] Operation: 13+13=26 Moving to Node #0,0,3 Current State: 48:[3, 26], Operations: ['62-59=3', '13+13=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[3, 26], Operations: ['62-59=3', '13+13=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[3, 26], Operations: ['62-59=3', '13+13=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13-13=0, Resulting Numbers: [3, 0] Generated Node #0,0,4: 48:[3, 0] Operation: 13-13=0 Moving to Node #0,0,4 Current State: 48:[3, 0], Operations: ['62-59=3', '13-13=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[3, 0], Operations: ['62-59=3', '13-13=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[3, 0], Operations: ['62-59=3', '13-13=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13-3=10, Resulting Numbers: [13, 10] Generated Node #0,0,5: 48:[13, 10] Operation: 13-3=10 Moving to Node #0,0,5 Current State: 48:[13, 10], Operations: ['62-59=3', '13-3=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,5 Current State: 48:[13, 10], Operations: ['62-59=3', '13-3=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13-3=10, Resulting Numbers: [13, 10] Generated Node #0,0,6: 48:[13, 10] Operation: 13-3=10 Moving to Node #0,0,6 Current State: 48:[13, 10], Operations: ['62-59=3', '13-3=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,6 Current State: 48:[13, 10], Operations: ['62-59=3', '13-3=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13*3=39, Resulting Numbers: [13, 39] Generated Node #0,0,7: 48:[13, 39] Operation: 13*3=39 Moving to Node #0,0,7 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,7 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,48 unequal: No Solution Moving to Node #0,0,7 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[13, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13*3=39, Resulting Numbers: [13, 39] Generated Node #0,0,8: 48:[13, 39] Operation: 13*3=39 Moving to Node #0,0,8 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,8 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,48 unequal: No Solution Moving to Node #0,0,8 Current State: 48:[13, 39], Operations: ['62-59=3', '13*3=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [13, 59, 49] Generated Node #0,1: 48:[13, 59, 49] Operation: 62-13=49 Moving to Node #0,1 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 59-13=46, Resulting Numbers: [49, 46] Generated Node #0,1,0: 48:[49, 46] Operation: 59-13=46 Moving to Node #0,1,0 Current State: 48:[49, 46], Operations: ['62-13=49', '59-13=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[49, 46], Operations: ['62-13=49', '59-13=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 59-49=10, Resulting Numbers: [13, 10] Generated Node #0,1,1: 48:[13, 10] Operation: 59-49=10 Moving to Node #0,1,1 Current State: 48:[13, 10], Operations: ['62-13=49', '59-49=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[13, 10], Operations: ['62-13=49', '59-49=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 49-13=36, Resulting Numbers: [59, 36] Generated Node #0,1,2: 48:[59, 36] Operation: 49-13=36 Moving to Node #0,1,2 Current State: 48:[59, 36], Operations: ['62-13=49', '49-13=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[59, 36], Operations: ['62-13=49', '49-13=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 13+59=72, Resulting Numbers: [49, 72] Generated Node #0,1,3: 48:[49, 72] Operation: 13+59=72 Moving to Node #0,1,3 Current State: 48:[49, 72], Operations: ['62-13=49', '13+59=72'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,1 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 13+49=62, Resulting Numbers: [59, 62] Generated Node #0,1,4: 48:[59, 62] Operation: 13+49=62 Moving to Node #0,1,4 Current State: 48:[59, 62], Operations: ['62-13=49', '13+49=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [13, 59, 49] Generated Node #0,2: 48:[13, 59, 49] Operation: 62-13=49 Moving to Node #0,2 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 59-13=46, Resulting Numbers: [49, 46] Generated Node #0,2,0: 48:[49, 46] Operation: 59-13=46 Moving to Node #0,2,0 Current State: 48:[49, 46], Operations: ['62-13=49', '59-13=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[49, 46], Operations: ['62-13=49', '59-13=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 59-49=10, Resulting Numbers: [13, 10] Generated Node #0,2,1: 48:[13, 10] Operation: 59-49=10 Moving to Node #0,2,1 Current State: 48:[13, 10], Operations: ['62-13=49', '59-49=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[13, 10], Operations: ['62-13=49', '59-49=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 49-13=36, Resulting Numbers: [59, 36] Generated Node #0,2,2: 48:[59, 36] Operation: 49-13=36 Moving to Node #0,2,2 Current State: 48:[59, 36], Operations: ['62-13=49', '49-13=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[59, 36], Operations: ['62-13=49', '49-13=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 13+59=72, Resulting Numbers: [49, 72] Generated Node #0,2,3: 48:[49, 72] Operation: 13+59=72 Moving to Node #0,2,3 Current State: 48:[49, 72], Operations: ['62-13=49', '13+59=72'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,2 Current State: 48:[13, 59, 49], Operations: ['62-13=49'] Exploring Operation: 13+49=62, Resulting Numbers: [59, 62] Generated Node #0,2,4: 48:[59, 62] Operation: 13+49=62 Moving to Node #0,2,4 Current State: 48:[59, 62], Operations: ['62-13=49', '13+49=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [13, 62, 46] Generated Node #0,3: 48:[13, 62, 46] Operation: 59-13=46 Moving to Node #0,3 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 62-46=16, Resulting Numbers: [13, 16] Generated Node #0,3,0: 48:[13, 16] Operation: 62-46=16 Moving to Node #0,3,0 Current State: 48:[13, 16], Operations: ['59-13=46', '62-46=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[13, 16], Operations: ['59-13=46', '62-46=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,3 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 62-13=49, Resulting Numbers: [46, 49] Generated Node #0,3,1: 48:[46, 49] Operation: 62-13=49 Moving to Node #0,3,1 Current State: 48:[46, 49], Operations: ['59-13=46', '62-13=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[46, 49], Operations: ['59-13=46', '62-13=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,3 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 46-13=33, Resulting Numbers: [62, 33] Generated Node #0,3,2: 48:[62, 33] Operation: 46-13=33 Moving to Node #0,3,2 Current State: 48:[62, 33], Operations: ['59-13=46', '46-13=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[62, 33], Operations: ['59-13=46', '46-13=33'] Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,3 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 13+46=59, Resulting Numbers: [62, 59] Generated Node #0,3,3: 48:[62, 59] Operation: 13+46=59 Moving to Node #0,3,3 Current State: 48:[62, 59], Operations: ['59-13=46', '13+46=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,3 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 13+62=75, Resulting Numbers: [46, 75] Generated Node #0,3,4: 48:[46, 75] Operation: 13+62=75 Moving to Node #0,3,4 Current State: 48:[46, 75], Operations: ['59-13=46', '13+62=75'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [13, 62, 46] Generated Node #0,4: 48:[13, 62, 46] Operation: 59-13=46 Moving to Node #0,4 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 62-46=16, Resulting Numbers: [13, 16] Generated Node #0,4,0: 48:[13, 16] Operation: 62-46=16 Moving to Node #0,4,0 Current State: 48:[13, 16], Operations: ['59-13=46', '62-46=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[13, 16], Operations: ['59-13=46', '62-46=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,4 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 62-13=49, Resulting Numbers: [46, 49] Generated Node #0,4,1: 48:[46, 49] Operation: 62-13=49 Moving to Node #0,4,1 Current State: 48:[46, 49], Operations: ['59-13=46', '62-13=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[46, 49], Operations: ['59-13=46', '62-13=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,4 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 46-13=33, Resulting Numbers: [62, 33] Generated Node #0,4,2: 48:[62, 33] Operation: 46-13=33 Moving to Node #0,4,2 Current State: 48:[62, 33], Operations: ['59-13=46', '46-13=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[62, 33], Operations: ['59-13=46', '46-13=33'] Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,4 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 13+46=59, Resulting Numbers: [62, 59] Generated Node #0,4,3: 48:[62, 59] Operation: 13+46=59 Moving to Node #0,4,3 Current State: 48:[62, 59], Operations: ['59-13=46', '13+46=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,4 Current State: 48:[13, 62, 46], Operations: ['59-13=46'] Exploring Operation: 13+62=75, Resulting Numbers: [46, 75] Generated Node #0,4,4: 48:[46, 75] Operation: 13+62=75 Moving to Node #0,4,4 Current State: 48:[46, 75], Operations: ['59-13=46', '13+62=75'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13/13=1, Resulting Numbers: [59, 62, 1] Generated Node #0,5: 48:[59, 62, 1] Operation: 13/13=1 Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 62-59=3, Resulting Numbers: [1, 3] Generated Node #0,5,0: 48:[1, 3] Operation: 62-59=3 Moving to Node #0,5,0 Current State: 48:[1, 3], Operations: ['13/13=1', '62-59=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0,5,0 Current State: 48:[1, 3], Operations: ['13/13=1', '62-59=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5,0 Current State: 48:[1, 3], Operations: ['13/13=1', '62-59=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,5,0 Current State: 48:[1, 3], Operations: ['13/13=1', '62-59=3'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 59-1=58, Resulting Numbers: [62, 58] Generated Node #0,5,1: 48:[62, 58] Operation: 59-1=58 Moving to Node #0,5,1 Current State: 48:[62, 58], Operations: ['13/13=1', '59-1=58'] Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 62-1=61, Resulting Numbers: [59, 61] Generated Node #0,5,2: 48:[59, 61] Operation: 62-1=61 Moving to Node #0,5,2 Current State: 48:[59, 61], Operations: ['13/13=1', '62-1=61'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 59*1=59, Resulting Numbers: [62, 59] Generated Node #0,5,3: 48:[62, 59] Operation: 59*1=59 Moving to Node #0,5,3 Current State: 48:[62, 59], Operations: ['13/13=1', '59*1=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 59/1=59, Resulting Numbers: [62, 59] Generated Node #0,5,4: 48:[62, 59] Operation: 59/1=59 Moving to Node #0,5,4 Current State: 48:[62, 59], Operations: ['13/13=1', '59/1=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 62*1=62, Resulting Numbers: [59, 62] Generated Node #0,5,5: 48:[59, 62] Operation: 62*1=62 Moving to Node #0,5,5 Current State: 48:[59, 62], Operations: ['13/13=1', '62*1=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 62/1=62, Resulting Numbers: [59, 62] Generated Node #0,5,6: 48:[59, 62] Operation: 62/1=62 Moving to Node #0,5,6 Current State: 48:[59, 62], Operations: ['13/13=1', '62/1=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 59+1=60, Resulting Numbers: [62, 60] Generated Node #0,5,7: 48:[62, 60] Operation: 59+1=60 Moving to Node #0,5,7 Current State: 48:[62, 60], Operations: ['13/13=1', '59+1=60'] Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,5 Current State: 48:[59, 62, 1], Operations: ['13/13=1'] Exploring Operation: 62+1=63, Resulting Numbers: [59, 63] Generated Node #0,5,8: 48:[59, 63] Operation: 62+1=63 Moving to Node #0,5,8 Current State: 48:[59, 63], Operations: ['13/13=1', '62+1=63'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13+13=26, Resulting Numbers: [59, 62, 26] Generated Node #0,6: 48:[59, 62, 26] Operation: 13+13=26 Moving to Node #0,6 Current State: 48:[59, 62, 26], Operations: ['13+13=26'] Exploring Operation: 62-59=3, Resulting Numbers: [26, 3] Generated Node #0,6,0: 48:[26, 3] Operation: 62-59=3 Moving to Node #0,6,0 Current State: 48:[26, 3], Operations: ['13+13=26', '62-59=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,6,0 Current State: 48:[26, 3], Operations: ['13+13=26', '62-59=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,6,0 Current State: 48:[26, 3], Operations: ['13+13=26', '62-59=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,48 unequal: No Solution Moving to Node #0,6 Current State: 48:[59, 62, 26], Operations: ['13+13=26'] Exploring Operation: 59-26=33, Resulting Numbers: [62, 33] Generated Node #0,6,1: 48:[62, 33] Operation: 59-26=33 Moving to Node #0,6,1 Current State: 48:[62, 33], Operations: ['13+13=26', '59-26=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,6,1 Current State: 48:[62, 33], Operations: ['13+13=26', '59-26=33'] Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,6 Current State: 48:[59, 62, 26], Operations: ['13+13=26'] Exploring Operation: 62-26=36, Resulting Numbers: [59, 36] Generated Node #0,6,2: 48:[59, 36] Operation: 62-26=36 Moving to Node #0,6,2 Current State: 48:[59, 36], Operations: ['13+13=26', '62-26=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,6,2 Current State: 48:[59, 36], Operations: ['13+13=26', '62-26=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13-13=0, Resulting Numbers: [59, 62, 0] Generated Node #0,7: 48:[59, 62, 0] Operation: 13-13=0 Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 62-59=3, Resulting Numbers: [0, 3] Generated Node #0,7,0: 48:[0, 3] Operation: 62-59=3 Moving to Node #0,7,0 Current State: 48:[0, 3], Operations: ['13-13=0', '62-59=3'] Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,7,0 Current State: 48:[0, 3], Operations: ['13-13=0', '62-59=3'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,7,0 Current State: 48:[0, 3], Operations: ['13-13=0', '62-59=3'] Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 62*0=0, Resulting Numbers: [59, 0] Generated Node #0,7,1: 48:[59, 0] Operation: 62*0=0 Moving to Node #0,7,1 Current State: 48:[59, 0], Operations: ['13-13=0', '62*0=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Moving to Node #0,7,1 Current State: 48:[59, 0], Operations: ['13-13=0', '62*0=0'] Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,7,1 Current State: 48:[59, 0], Operations: ['13-13=0', '62*0=0'] Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 59*0=0, Resulting Numbers: [62, 0] Generated Node #0,7,2: 48:[62, 0] Operation: 59*0=0 Moving to Node #0,7,2 Current State: 48:[62, 0], Operations: ['13-13=0', '59*0=0'] Exploring Operation: 62*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Moving to Node #0,7,2 Current State: 48:[62, 0], Operations: ['13-13=0', '59*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,48 unequal: No Solution Moving to Node #0,7,2 Current State: 48:[62, 0], Operations: ['13-13=0', '59*0=0'] Exploring Operation: 62-0=62, Resulting Numbers: [62] 62,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 59+0=59, Resulting Numbers: [62, 59] Generated Node #0,7,3: 48:[62, 59] Operation: 59+0=59 Moving to Node #0,7,3 Current State: 48:[62, 59], Operations: ['13-13=0', '59+0=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 59-0=59, Resulting Numbers: [62, 59] Generated Node #0,7,4: 48:[62, 59] Operation: 59-0=59 Moving to Node #0,7,4 Current State: 48:[62, 59], Operations: ['13-13=0', '59-0=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 62+0=62, Resulting Numbers: [59, 62] Generated Node #0,7,5: 48:[59, 62] Operation: 62+0=62 Moving to Node #0,7,5 Current State: 48:[59, 62], Operations: ['13-13=0', '62+0=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,7 Current State: 48:[59, 62, 0], Operations: ['13-13=0'] Exploring Operation: 62-0=62, Resulting Numbers: [59, 62] Generated Node #0,7,6: 48:[59, 62] Operation: 62-0=62 Moving to Node #0,7,6 Current State: 48:[59, 62], Operations: ['13-13=0', '62-0=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13+59=72, Resulting Numbers: [13, 62, 72] Generated Node #0,8: 48:[13, 62, 72] Operation: 13+59=72 Moving to Node #0,8 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 72-62=10, Resulting Numbers: [13, 10] Generated Node #0,8,0: 48:[13, 10] Operation: 72-62=10 Moving to Node #0,8,0 Current State: 48:[13, 10], Operations: ['13+59=72', '72-62=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,8,0 Current State: 48:[13, 10], Operations: ['13+59=72', '72-62=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,8 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 62-13=49, Resulting Numbers: [72, 49] Generated Node #0,8,1: 48:[72, 49] Operation: 62-13=49 Moving to Node #0,8,1 Current State: 48:[72, 49], Operations: ['13+59=72', '62-13=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,8 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 72-13=59, Resulting Numbers: [62, 59] Generated Node #0,8,2: 48:[62, 59] Operation: 72-13=59 Moving to Node #0,8,2 Current State: 48:[62, 59], Operations: ['13+59=72', '72-13=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13+62=75, Resulting Numbers: [13, 59, 75] Generated Node #0,9: 48:[13, 59, 75] Operation: 13+62=75 Moving to Node #0,9 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 75-59=16, Resulting Numbers: [13, 16] Generated Node #0,9,0: 48:[13, 16] Operation: 75-59=16 Moving to Node #0,9,0 Current State: 48:[13, 16], Operations: ['13+62=75', '75-59=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,9,0 Current State: 48:[13, 16], Operations: ['13+62=75', '75-59=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,9 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 75-13=62, Resulting Numbers: [59, 62] Generated Node #0,9,1: 48:[59, 62] Operation: 75-13=62 Moving to Node #0,9,1 Current State: 48:[59, 62], Operations: ['13+62=75', '75-13=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,9 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 59-13=46, Resulting Numbers: [75, 46] Generated Node #0,9,2: 48:[75, 46] Operation: 59-13=46 Moving to Node #0,9,2 Current State: 48:[75, 46], Operations: ['13+62=75', '59-13=46'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13+59=72, Resulting Numbers: [13, 62, 72] Generated Node #0,10: 48:[13, 62, 72] Operation: 13+59=72 Moving to Node #0,10 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 72-62=10, Resulting Numbers: [13, 10] Generated Node #0,10,0: 48:[13, 10] Operation: 72-62=10 Moving to Node #0,10,0 Current State: 48:[13, 10], Operations: ['13+59=72', '72-62=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,10,0 Current State: 48:[13, 10], Operations: ['13+59=72', '72-62=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,10 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 62-13=49, Resulting Numbers: [72, 49] Generated Node #0,10,1: 48:[72, 49] Operation: 62-13=49 Moving to Node #0,10,1 Current State: 48:[72, 49], Operations: ['13+59=72', '62-13=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,10 Current State: 48:[13, 62, 72], Operations: ['13+59=72'] Exploring Operation: 72-13=59, Resulting Numbers: [62, 59] Generated Node #0,10,2: 48:[62, 59] Operation: 72-13=59 Moving to Node #0,10,2 Current State: 48:[62, 59], Operations: ['13+59=72', '72-13=59'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0 Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13+62=75, Resulting Numbers: [13, 59, 75] Generated Node #0,11: 48:[13, 59, 75] Operation: 13+62=75 Moving to Node #0,11 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 75-59=16, Resulting Numbers: [13, 16] Generated Node #0,11,0: 48:[13, 16] Operation: 75-59=16 Moving to Node #0,11,0 Current State: 48:[13, 16], Operations: ['13+62=75', '75-59=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,11,0 Current State: 48:[13, 16], Operations: ['13+62=75', '75-59=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,11 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 75-13=62, Resulting Numbers: [59, 62] Generated Node #0,11,1: 48:[59, 62] Operation: 75-13=62 Moving to Node #0,11,1 Current State: 48:[59, 62], Operations: ['13+62=75', '75-13=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,11 Current State: 48:[13, 59, 75], Operations: ['13+62=75'] Exploring Operation: 59-13=46, Resulting Numbers: [75, 46] Generated Node #0,11,2: 48:[75, 46] Operation: 59-13=46 Moving to Node #0,11,2 Current State: 48:[75, 46], Operations: ['13+62=75', '59-13=46'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,48 unequal: No Solution
0
dfs
Current State: 48:[13, 13, 59, 62], Operations: [] Exploring Operation: 13*13=169, Resulting Numbers: [59, 62, 169] Generated Node #2: [59, 62, 169] from Operation: 13*13=169 Current State: 48:[59, 62, 169], Operations: ['13*13=169'] Exploring Operation: 59+62=121, Resulting Numbers: [169, 121] Generated Node #3: [169, 121] from Operation: 59+62=121 Current State: 48:[169, 121], Operations: ['13*13=169', '59+62=121'] Exploring Operation: 169-121=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
mult_heuristic
[ 60, 51, 98, 30 ]
94
[ "60/30=2", "98-51=47", "2*47=94" ]
Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 60+30=90, Resulting Numbers: [51, 98, 90] Generated Node #0,0: 94:[51, 98, 90] Operation: 60+30=90 Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 98-51=47, Resulting Numbers: [90, 47] Generated Node #0,0,0: 94:[90, 47] Operation: 98-51=47 Moving to Node #0,0,0 Current State: 94:[90, 47], Operations: ['60+30=90', '98-51=47'] Exploring Operation: 90+47=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[90, 47], Operations: ['60+30=90', '98-51=47'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 51+90=141, Resulting Numbers: [98, 141] Generated Node #0,0,1: 94:[98, 141] Operation: 51+90=141 Moving to Node #0,0,1 Current State: 94:[98, 141], Operations: ['60+30=90', '51+90=141'] Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 51+98=149, Resulting Numbers: [90, 149] Generated Node #0,0,2: 94:[90, 149] Operation: 51+98=149 Moving to Node #0,0,2 Current State: 94:[90, 149], Operations: ['60+30=90', '51+98=149'] Exploring Operation: 149-90=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 90-51=39, Resulting Numbers: [98, 39] Generated Node #0,0,3: 94:[98, 39] Operation: 90-51=39 Moving to Node #0,0,3 Current State: 94:[98, 39], Operations: ['60+30=90', '90-51=39'] Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[98, 39], Operations: ['60+30=90', '90-51=39'] Exploring Operation: 98+39=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 98-90=8, Resulting Numbers: [51, 8] Generated Node #0,0,4: 94:[51, 8] Operation: 98-90=8 Moving to Node #0,0,4 Current State: 94:[51, 8], Operations: ['60+30=90', '98-90=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[51, 8], Operations: ['60+30=90', '98-90=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0 Current State: 94:[51, 98, 90], Operations: ['60+30=90'] Exploring Operation: 98+90=188, Resulting Numbers: [51, 188] Generated Node #0,0,5: 94:[51, 188] Operation: 98+90=188 Moving to Node #0,0,5 Current State: 94:[51, 188], Operations: ['60+30=90', '98+90=188'] Exploring Operation: 188-51=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 51+30=81, Resulting Numbers: [60, 98, 81] Generated Node #0,1: 94:[60, 98, 81] Operation: 51+30=81 Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 60+81=141, Resulting Numbers: [98, 141] Generated Node #0,1,0: 94:[98, 141] Operation: 60+81=141 Moving to Node #0,1,0 Current State: 94:[98, 141], Operations: ['51+30=81', '60+81=141'] Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 98-60=38, Resulting Numbers: [81, 38] Generated Node #0,1,1: 94:[81, 38] Operation: 98-60=38 Moving to Node #0,1,1 Current State: 94:[81, 38], Operations: ['51+30=81', '98-60=38'] Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[81, 38], Operations: ['51+30=81', '98-60=38'] Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 60+98=158, Resulting Numbers: [81, 158] Generated Node #0,1,2: 94:[81, 158] Operation: 60+98=158 Moving to Node #0,1,2 Current State: 94:[81, 158], Operations: ['51+30=81', '60+98=158'] Exploring Operation: 158-81=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 81-60=21, Resulting Numbers: [98, 21] Generated Node #0,1,3: 94:[98, 21] Operation: 81-60=21 Moving to Node #0,1,3 Current State: 94:[98, 21], Operations: ['51+30=81', '81-60=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[98, 21], Operations: ['51+30=81', '81-60=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 98-81=17, Resulting Numbers: [60, 17] Generated Node #0,1,4: 94:[60, 17] Operation: 98-81=17 Moving to Node #0,1,4 Current State: 94:[60, 17], Operations: ['51+30=81', '98-81=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[60, 17], Operations: ['51+30=81', '98-81=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,1 Current State: 94:[60, 98, 81], Operations: ['51+30=81'] Exploring Operation: 98+81=179, Resulting Numbers: [60, 179] Generated Node #0,1,5: 94:[60, 179] Operation: 98+81=179 Moving to Node #0,1,5 Current State: 94:[60, 179], Operations: ['51+30=81', '98+81=179'] Exploring Operation: 179-60=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 60+51=111, Resulting Numbers: [98, 30, 111] Generated Node #0,2: 94:[98, 30, 111] Operation: 60+51=111 Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 111-30=81, Resulting Numbers: [98, 81] Generated Node #0,2,0: 94:[98, 81] Operation: 111-30=81 Moving to Node #0,2,0 Current State: 94:[98, 81], Operations: ['60+51=111', '111-30=81'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[98, 81], Operations: ['60+51=111', '111-30=81'] Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 98-30=68, Resulting Numbers: [111, 68] Generated Node #0,2,1: 94:[111, 68] Operation: 98-30=68 Moving to Node #0,2,1 Current State: 94:[111, 68], Operations: ['60+51=111', '98-30=68'] Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[111, 68], Operations: ['60+51=111', '98-30=68'] Exploring Operation: 111+68=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 98+30=128, Resulting Numbers: [111, 128] Generated Node #0,2,2: 94:[111, 128] Operation: 98+30=128 Moving to Node #0,2,2 Current State: 94:[111, 128], Operations: ['60+51=111', '98+30=128'] Exploring Operation: 128-111=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 30+111=141, Resulting Numbers: [98, 141] Generated Node #0,2,3: 94:[98, 141] Operation: 30+111=141 Moving to Node #0,2,3 Current State: 94:[98, 141], Operations: ['60+51=111', '30+111=141'] Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 111-98=13, Resulting Numbers: [30, 13] Generated Node #0,2,4: 94:[30, 13] Operation: 111-98=13 Moving to Node #0,2,4 Current State: 94:[30, 13], Operations: ['60+51=111', '111-98=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[30, 13], Operations: ['60+51=111', '111-98=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,2 Current State: 94:[98, 30, 111], Operations: ['60+51=111'] Exploring Operation: 98+111=209, Resulting Numbers: [30, 209] Generated Node #0,2,5: 94:[30, 209] Operation: 98+111=209 Moving to Node #0,2,5 Current State: 94:[30, 209], Operations: ['60+51=111', '98+111=209'] Exploring Operation: 209-30=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [60, 51, 68] Generated Node #0,3: 94:[60, 51, 68] Operation: 98-30=68 Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 60+51=111, Resulting Numbers: [68, 111] Generated Node #0,3,0: 94:[68, 111] Operation: 60+51=111 Moving to Node #0,3,0 Current State: 94:[68, 111], Operations: ['98-30=68', '60+51=111'] Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[68, 111], Operations: ['98-30=68', '60+51=111'] Exploring Operation: 68+111=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 51+68=119, Resulting Numbers: [60, 119] Generated Node #0,3,1: 94:[60, 119] Operation: 51+68=119 Moving to Node #0,3,1 Current State: 94:[60, 119], Operations: ['98-30=68', '51+68=119'] Exploring Operation: 119-60=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[60, 119], Operations: ['98-30=68', '51+68=119'] Exploring Operation: 60+119=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 60+68=128, Resulting Numbers: [51, 128] Generated Node #0,3,2: 94:[51, 128] Operation: 60+68=128 Moving to Node #0,3,2 Current State: 94:[51, 128], Operations: ['98-30=68', '60+68=128'] Exploring Operation: 128-51=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[51, 128], Operations: ['98-30=68', '60+68=128'] Exploring Operation: 51+128=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 60-51=9, Resulting Numbers: [68, 9] Generated Node #0,3,3: 94:[68, 9] Operation: 60-51=9 Moving to Node #0,3,3 Current State: 94:[68, 9], Operations: ['98-30=68', '60-51=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[68, 9], Operations: ['98-30=68', '60-51=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 68-51=17, Resulting Numbers: [60, 17] Generated Node #0,3,4: 94:[60, 17] Operation: 68-51=17 Moving to Node #0,3,4 Current State: 94:[60, 17], Operations: ['98-30=68', '68-51=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[60, 17], Operations: ['98-30=68', '68-51=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,3 Current State: 94:[60, 51, 68], Operations: ['98-30=68'] Exploring Operation: 68-60=8, Resulting Numbers: [51, 8] Generated Node #0,3,5: 94:[51, 8] Operation: 68-60=8 Moving to Node #0,3,5 Current State: 94:[51, 8], Operations: ['98-30=68', '68-60=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,3,5 Current State: 94:[51, 8], Operations: ['98-30=68', '68-60=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [51, 98, 30] Generated Node #0,4: 94:[51, 98, 30] Operation: 60-30=30 Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 51+30=81, Resulting Numbers: [98, 81] Generated Node #0,4,0: 94:[98, 81] Operation: 51+30=81 Moving to Node #0,4,0 Current State: 94:[98, 81], Operations: ['60-30=30', '51+30=81'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[98, 81], Operations: ['60-30=30', '51+30=81'] Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 98-30=68, Resulting Numbers: [51, 68] Generated Node #0,4,1: 94:[51, 68] Operation: 98-30=68 Moving to Node #0,4,1 Current State: 94:[51, 68], Operations: ['60-30=30', '98-30=68'] Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[51, 68], Operations: ['60-30=30', '98-30=68'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 51-30=21, Resulting Numbers: [98, 21] Generated Node #0,4,2: 94:[98, 21] Operation: 51-30=21 Moving to Node #0,4,2 Current State: 94:[98, 21], Operations: ['60-30=30', '51-30=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[98, 21], Operations: ['60-30=30', '51-30=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 98+30=128, Resulting Numbers: [51, 128] Generated Node #0,4,3: 94:[51, 128] Operation: 98+30=128 Moving to Node #0,4,3 Current State: 94:[51, 128], Operations: ['60-30=30', '98+30=128'] Exploring Operation: 128-51=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[51, 128], Operations: ['60-30=30', '98+30=128'] Exploring Operation: 51+128=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 98-51=47, Resulting Numbers: [30, 47] Generated Node #0,4,4: 94:[30, 47] Operation: 98-51=47 Moving to Node #0,4,4 Current State: 94:[30, 47], Operations: ['60-30=30', '98-51=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[30, 47], Operations: ['60-30=30', '98-51=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,4 Current State: 94:[51, 98, 30], Operations: ['60-30=30'] Exploring Operation: 51+98=149, Resulting Numbers: [30, 149] Generated Node #0,4,5: 94:[30, 149] Operation: 51+98=149 Moving to Node #0,4,5 Current State: 94:[30, 149], Operations: ['60-30=30', '51+98=149'] Exploring Operation: 149-30=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,4,5 Current State: 94:[30, 149], Operations: ['60-30=30', '51+98=149'] Exploring Operation: 30+149=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [60, 98, 21] Generated Node #0,5: 94:[60, 98, 21] Operation: 51-30=21 Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 60+21=81, Resulting Numbers: [98, 81] Generated Node #0,5,0: 94:[98, 81] Operation: 60+21=81 Moving to Node #0,5,0 Current State: 94:[98, 81], Operations: ['51-30=21', '60+21=81'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,5,0 Current State: 94:[98, 81], Operations: ['51-30=21', '60+21=81'] Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 98-21=77, Resulting Numbers: [60, 77] Generated Node #0,5,1: 94:[60, 77] Operation: 98-21=77 Moving to Node #0,5,1 Current State: 94:[60, 77], Operations: ['51-30=21', '98-21=77'] Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,5,1 Current State: 94:[60, 77], Operations: ['51-30=21', '98-21=77'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 60-21=39, Resulting Numbers: [98, 39] Generated Node #0,5,2: 94:[98, 39] Operation: 60-21=39 Moving to Node #0,5,2 Current State: 94:[98, 39], Operations: ['51-30=21', '60-21=39'] Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,5,2 Current State: 94:[98, 39], Operations: ['51-30=21', '60-21=39'] Exploring Operation: 98+39=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 98+21=119, Resulting Numbers: [60, 119] Generated Node #0,5,3: 94:[60, 119] Operation: 98+21=119 Moving to Node #0,5,3 Current State: 94:[60, 119], Operations: ['51-30=21', '98+21=119'] Exploring Operation: 119-60=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,5,3 Current State: 94:[60, 119], Operations: ['51-30=21', '98+21=119'] Exploring Operation: 60+119=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 98-60=38, Resulting Numbers: [21, 38] Generated Node #0,5,4: 94:[21, 38] Operation: 98-60=38 Moving to Node #0,5,4 Current State: 94:[21, 38], Operations: ['51-30=21', '98-60=38'] Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,5,4 Current State: 94:[21, 38], Operations: ['51-30=21', '98-60=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,5 Current State: 94:[60, 98, 21], Operations: ['51-30=21'] Exploring Operation: 60+98=158, Resulting Numbers: [21, 158] Generated Node #0,5,5: 94:[21, 158] Operation: 60+98=158 Moving to Node #0,5,5 Current State: 94:[21, 158], Operations: ['51-30=21', '60+98=158'] Exploring Operation: 158-21=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,5,5 Current State: 94:[21, 158], Operations: ['51-30=21', '60+98=158'] Exploring Operation: 21+158=179, Resulting Numbers: [179] 179,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 98+30=128, Resulting Numbers: [60, 51, 128] Generated Node #0,6: 94:[60, 51, 128] Operation: 98+30=128 Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 60+51=111, Resulting Numbers: [128, 111] Generated Node #0,6,0: 94:[128, 111] Operation: 60+51=111 Moving to Node #0,6,0 Current State: 94:[128, 111], Operations: ['98+30=128', '60+51=111'] Exploring Operation: 128-111=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 128-51=77, Resulting Numbers: [60, 77] Generated Node #0,6,1: 94:[60, 77] Operation: 128-51=77 Moving to Node #0,6,1 Current State: 94:[60, 77], Operations: ['98+30=128', '128-51=77'] Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,6,1 Current State: 94:[60, 77], Operations: ['98+30=128', '128-51=77'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 128-60=68, Resulting Numbers: [51, 68] Generated Node #0,6,2: 94:[51, 68] Operation: 128-60=68 Moving to Node #0,6,2 Current State: 94:[51, 68], Operations: ['98+30=128', '128-60=68'] Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,6,2 Current State: 94:[51, 68], Operations: ['98+30=128', '128-60=68'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 60-51=9, Resulting Numbers: [128, 9] Generated Node #0,6,3: 94:[128, 9] Operation: 60-51=9 Moving to Node #0,6,3 Current State: 94:[128, 9], Operations: ['98+30=128', '60-51=9'] Exploring Operation: 128-9=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,6,3 Current State: 94:[128, 9], Operations: ['98+30=128', '60-51=9'] Exploring Operation: 128+9=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 51+128=179, Resulting Numbers: [60, 179] Generated Node #0,6,4: 94:[60, 179] Operation: 51+128=179 Moving to Node #0,6,4 Current State: 94:[60, 179], Operations: ['98+30=128', '51+128=179'] Exploring Operation: 179-60=119, Resulting Numbers: [119] 119,94 unequal: No Solution Moving to Node #0,6 Current State: 94:[60, 51, 128], Operations: ['98+30=128'] Exploring Operation: 60+128=188, Resulting Numbers: [51, 188] Generated Node #0,6,5: 94:[51, 188] Operation: 60+128=188 Moving to Node #0,6,5 Current State: 94:[51, 188], Operations: ['98+30=128', '60+128=188'] Exploring Operation: 188-51=137, Resulting Numbers: [137] 137,94 unequal: No Solution Moving to Node #0 Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [51, 98, 2] Generated Node #0,7: 94:[51, 98, 2] Operation: 60/30=2 Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 51*2=102, Resulting Numbers: [98, 102] Generated Node #0,7,0: 94:[98, 102] Operation: 51*2=102 Moving to Node #0,7,0 Current State: 94:[98, 102], Operations: ['60/30=2', '51*2=102'] Exploring Operation: 102-98=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 51+2=53, Resulting Numbers: [98, 53] Generated Node #0,7,1: 94:[98, 53] Operation: 51+2=53 Moving to Node #0,7,1 Current State: 94:[98, 53], Operations: ['60/30=2', '51+2=53'] Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,94 unequal: No Solution Moving to Node #0,7,1 Current State: 94:[98, 53], Operations: ['60/30=2', '51+2=53'] Exploring Operation: 98+53=151, Resulting Numbers: [151] 151,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 98-2=96, Resulting Numbers: [51, 96] Generated Node #0,7,2: 94:[51, 96] Operation: 98-2=96 Moving to Node #0,7,2 Current State: 94:[51, 96], Operations: ['60/30=2', '98-2=96'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,94 unequal: No Solution Moving to Node #0,7,2 Current State: 94:[51, 96], Operations: ['60/30=2', '98-2=96'] Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 51-2=49, Resulting Numbers: [98, 49] Generated Node #0,7,3: 94:[98, 49] Operation: 51-2=49 Moving to Node #0,7,3 Current State: 94:[98, 49], Operations: ['60/30=2', '51-2=49'] Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,94 unequal: No Solution Moving to Node #0,7,3 Current State: 94:[98, 49], Operations: ['60/30=2', '51-2=49'] Exploring Operation: 98+49=147, Resulting Numbers: [147] 147,94 unequal: No Solution Moving to Node #0,7,3 Current State: 94:[98, 49], Operations: ['60/30=2', '51-2=49'] Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 98+2=100, Resulting Numbers: [51, 100] Generated Node #0,7,4: 94:[51, 100] Operation: 98+2=100 Moving to Node #0,7,4 Current State: 94:[51, 100], Operations: ['60/30=2', '98+2=100'] Exploring Operation: 100-51=49, Resulting Numbers: [49] 49,94 unequal: No Solution Moving to Node #0,7,4 Current State: 94:[51, 100], Operations: ['60/30=2', '98+2=100'] Exploring Operation: 51+100=151, Resulting Numbers: [151] 151,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 98/2=49, Resulting Numbers: [51, 49] Generated Node #0,7,5: 94:[51, 49] Operation: 98/2=49 Moving to Node #0,7,5 Current State: 94:[51, 49], Operations: ['60/30=2', '98/2=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,94 unequal: No Solution Moving to Node #0,7,5 Current State: 94:[51, 49], Operations: ['60/30=2', '98/2=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,7 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 98-51=47, Resulting Numbers: [2, 47] Generated Node #0,7,6: 94:[2, 47] Operation: 98-51=47 Moving to Node #0,7,6 Current State: 94:[2, 47], Operations: ['60/30=2', '98-51=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.875868
dfs
Current State: 94:[60, 51, 98, 30], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [51, 98, 2] Generated Node #2: [51, 98, 2] from Operation: 60/30=2 Current State: 94:[51, 98, 2], Operations: ['60/30=2'] Exploring Operation: 98-51=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 98-51=47 Current State: 94:[2, 47], Operations: ['60/30=2', '98-51=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
sum_heuristic
[ 52, 43, 61, 9 ]
54
[ "61-43=18", "18/9=2", "52+2=54" ]
Current State: 54:[52, 43, 61, 9], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [43, 61, 43] Generated Node #0,0: 54:[43, 61, 43] Operation: 52-9=43 Exploring Operation: 52+9=61, Resulting Numbers: [43, 61, 61] Generated Node #0,1: 54:[43, 61, 61] Operation: 52+9=61 Exploring Operation: 61-9=52, Resulting Numbers: [52, 43, 52] Generated Node #0,2: 54:[52, 43, 52] Operation: 61-9=52 Exploring Operation: 43+9=52, Resulting Numbers: [52, 61, 52] Generated Node #0,3: 54:[52, 61, 52] Operation: 43+9=52 Moving to Node #0,3 Current State: 54:[52, 61, 52], Operations: ['43+9=52'] Exploring Operation: 52+52=104, Resulting Numbers: [61, 104] Generated Node #0,3,0: 54:[61, 104] Operation: 52+52=104 Exploring Operation: 52/52=1, Resulting Numbers: [61, 1] Generated Node #0,3,1: 54:[61, 1] Operation: 52/52=1 Exploring Operation: 61-52=9, Resulting Numbers: [52, 9] Generated Node #0,3,2: 54:[52, 9] Operation: 61-52=9 Exploring Operation: 61-52=9, Resulting Numbers: [52, 9] Generated Node #0,3,3: 54:[52, 9] Operation: 61-52=9 Moving to Node #0,2 Current State: 54:[52, 43, 52], Operations: ['61-9=52'] Exploring Operation: 43+52=95, Resulting Numbers: [52, 95] Generated Node #0,2,0: 54:[52, 95] Operation: 43+52=95 Exploring Operation: 52+43=95, Resulting Numbers: [52, 95] Generated Node #0,2,1: 54:[52, 95] Operation: 52+43=95 Exploring Operation: 52-43=9, Resulting Numbers: [52, 9] Generated Node #0,2,2: 54:[52, 9] Operation: 52-43=9 Exploring Operation: 52-43=9, Resulting Numbers: [52, 9] Generated Node #0,2,3: 54:[52, 9] Operation: 52-43=9 Moving to Node #0,1 Current State: 54:[43, 61, 61], Operations: ['52+9=61'] Exploring Operation: 61-43=18, Resulting Numbers: [61, 18] Generated Node #0,1,0: 54:[61, 18] Operation: 61-43=18 Exploring Operation: 43+61=104, Resulting Numbers: [61, 104] Generated Node #0,1,1: 54:[61, 104] Operation: 43+61=104 Exploring Operation: 61-43=18, Resulting Numbers: [61, 18] Generated Node #0,1,2: 54:[61, 18] Operation: 61-43=18 Exploring Operation: 43+61=104, Resulting Numbers: [61, 104] Generated Node #0,1,3: 54:[61, 104] Operation: 43+61=104 Moving to Node #0,0 Current State: 54:[43, 61, 43], Operations: ['52-9=43'] Exploring Operation: 43+43=86, Resulting Numbers: [61, 86] Generated Node #0,0,0: 54:[61, 86] Operation: 43+43=86 Exploring Operation: 61-43=18, Resulting Numbers: [43, 18] Generated Node #0,0,1: 54:[43, 18] Operation: 61-43=18 Exploring Operation: 61-43=18, Resulting Numbers: [43, 18] Generated Node #0,0,2: 54:[43, 18] Operation: 61-43=18 Exploring Operation: 43/43=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 54:[61, 1] Operation: 43/43=1 Moving to Node #0,0,0 Current State: 54:[61, 86], Operations: ['52-9=43', '43+43=86'] Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,54 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,54 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[52, 95], Operations: ['61-9=52', '43+52=95'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,54 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[52, 95], Operations: ['61-9=52', '52+43=95'] Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,54 unequal: No Solution Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,54 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[61, 18], Operations: ['52+9=61', '61-43=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,54 unequal: No Solution Moving to Node #0,2,0,0 Current State: 54:[43], Operations: ['61-9=52', '43+52=95', '95-52=43'] Moving to Node #0,2,1,0 Current State: 54:[43], Operations: ['61-9=52', '52+43=95', '95-52=43'] Moving to Node #0,1,0,0 Current State: 54:[43], Operations: ['52+9=61', '61-43=18', '61-18=43'] Moving to Node #0,1,2 Current State: 54:[61, 18], Operations: ['52+9=61', '61-43=18'] Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,54 unequal: No Solution Moving to Node #0,1,2,0 Current State: 54:[43], Operations: ['52+9=61', '61-43=18', '61-18=43'] Moving to Node #0,0,1 Current State: 54:[43, 18], Operations: ['52-9=43', '61-43=18'] Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,54 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[52, 9], Operations: ['61-9=52', '52-43=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[43, 18], Operations: ['52-9=43', '61-43=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,54 unequal: No Solution Moving to Node #0,0,1,0 Current State: 54:[61], Operations: ['52-9=43', '61-43=18', '43+18=61'] Moving to Node #0,0,2,0 Current State: 54:[61], Operations: ['52-9=43', '61-43=18', '43+18=61'] Moving to Node #0,2,2,0 Current State: 54:[61], Operations: ['61-9=52', '52-43=9', '52+9=61'] Moving to Node #0,2,2,0 Current State: 54:[43], Operations: ['61-9=52', '52-43=9', '52-9=43'] Moving to Node #0,3,3 Current State: 54:[52, 9], Operations: ['43+9=52', '61-52=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[52, 9], Operations: ['61-9=52', '52-43=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,54 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[52, 9], Operations: ['43+9=52', '61-52=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,54 unequal: No Solution Moving to Node #0,1,2,0 Current State: 54:[79], Operations: ['52+9=61', '61-43=18', '61+18=79'] Moving to Node #0,3,3,0 Current State: 54:[61], Operations: ['43+9=52', '61-52=9', '52+9=61'] Moving to Node #0,2,3,0 Current State: 54:[61], Operations: ['61-9=52', '52-43=9', '52+9=61'] Moving to Node #0,3,2,0 Current State: 54:[61], Operations: ['43+9=52', '61-52=9', '52+9=61'] Moving to Node #0,3,2,0 Current State: 54:[43], Operations: ['43+9=52', '61-52=9', '52-9=43'] Moving to Node #0,2,3,0 Current State: 54:[43], Operations: ['61-9=52', '52-43=9', '52-9=43'] Moving to Node #0,3,3,0 Current State: 54:[43], Operations: ['43+9=52', '61-52=9', '52-9=43'] Moving to Node #0,1,0,0 Current State: 54:[79], Operations: ['52+9=61', '61-43=18', '61+18=79'] Moving to Node #0,3,0 Current State: 54:[61, 104], Operations: ['43+9=52', '52+52=104'] Exploring Operation: 61*104=6344, Resulting Numbers: [6344] 6344,54 unequal: No Solution Exploring Operation: 61+104=165, Resulting Numbers: [165] 165,54 unequal: No Solution Exploring Operation: 104-61=43, Resulting Numbers: [43] 43,54 unequal: No Solution Moving to Node #0,3,0,0 Current State: 54:[43], Operations: ['43+9=52', '52+52=104', '104-61=43'] Moving to Node #0,1,3 Current State: 54:[61, 104], Operations: ['52+9=61', '43+61=104'] Exploring Operation: 61+104=165, Resulting Numbers: [165] 165,54 unequal: No Solution Exploring Operation: 104-61=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 61*104=6344, Resulting Numbers: [6344] 6344,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[61, 104], Operations: ['52+9=61', '43+61=104'] Exploring Operation: 61*104=6344, Resulting Numbers: [6344] 6344,54 unequal: No Solution Exploring Operation: 104-61=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 61+104=165, Resulting Numbers: [165] 165,54 unequal: No Solution Moving to Node #0,0,2,0 Current State: 54:[25], Operations: ['52-9=43', '61-43=18', '43-18=25'] Moving to Node #0,1,3,0 Current State: 54:[43], Operations: ['52+9=61', '43+61=104', '104-61=43'] Moving to Node #0,1,1,0 Current State: 54:[43], Operations: ['52+9=61', '43+61=104', '104-61=43'] Moving to Node #0,0,0,0 Current State: 54:[25], Operations: ['52-9=43', '43+43=86', '86-61=25'] Moving to Node #0,0,1,0 Current State: 54:[25], Operations: ['52-9=43', '61-43=18', '43-18=25'] Moving to Node #0,0,3 Current State: 54:[61, 1], Operations: ['52-9=43', '43/43=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,54 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[61, 1], Operations: ['43+9=52', '52/52=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,54 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,0,0,0 Current State: 54:[147], Operations: ['52-9=43', '43+43=86', '61+86=147'] Moving to Node #0,2,0,0 Current State: 54:[147], Operations: ['61-9=52', '43+52=95', '52+95=147'] Moving to Node #0,0,3,0 Current State: 54:[60], Operations: ['52-9=43', '43/43=1', '61-1=60'] Moving to Node #0,3,1,0 Current State: 54:[60], Operations: ['43+9=52', '52/52=1', '61-1=60'] Moving to Node #0,3,1,0 Current State: 54:[61], Operations: ['43+9=52', '52/52=1', '61/1=61'] Moving to Node #0,3,1,0 Current State: 54:[61], Operations: ['43+9=52', '52/52=1', '61*1=61'] Moving to Node #0,0,3,0 Current State: 54:[61], Operations: ['52-9=43', '43/43=1', '61/1=61'] Moving to Node #0,0,3,0 Current State: 54:[61], Operations: ['52-9=43', '43/43=1', '61*1=61'] Moving to Node #0,3,1,0 Current State: 54:[62], Operations: ['43+9=52', '52/52=1', '61+1=62'] Moving to Node #0,0,3,0 Current State: 54:[62], Operations: ['52-9=43', '43/43=1', '61+1=62'] Moving to Node #0,2,1,0 Current State: 54:[147], Operations: ['61-9=52', '52+43=95', '52+95=147'] Moving to Node #0,1,1,0 Current State: 54:[165], Operations: ['52+9=61', '43+61=104', '61+104=165'] Moving to Node #0,3,0,0 Current State: 54:[165], Operations: ['43+9=52', '52+52=104', '61+104=165'] Moving to Node #0,1,3,0 Current State: 54:[165], Operations: ['52+9=61', '43+61=104', '61+104=165'] Moving to Node #0,2,3,0 Current State: 54:[468], Operations: ['61-9=52', '52-43=9', '52*9=468'] Moving to Node #0,3,2,0 Current State: 54:[468], Operations: ['43+9=52', '61-52=9', '52*9=468'] Moving to Node #0,2,2,0 Current State: 54:[468], Operations: ['61-9=52', '52-43=9', '52*9=468'] Moving to Node #0,3,3,0 Current State: 54:[468], Operations: ['43+9=52', '61-52=9', '52*9=468'] Moving to Node #0,0,2,0 Current State: 54:[774], Operations: ['52-9=43', '61-43=18', '43*18=774'] Moving to Node #0,0,1,0 Current State: 54:[774], Operations: ['52-9=43', '61-43=18', '43*18=774'] Moving to Node #0,1,0,0 Current State: 54:[1098], Operations: ['52+9=61', '61-43=18', '61*18=1098'] Moving to Node #0,1,2,0 Current State: 54:[1098], Operations: ['52+9=61', '61-43=18', '61*18=1098'] Moving to Node #0,2,0,0 Current State: 54:[4940], Operations: ['61-9=52', '43+52=95', '52*95=4940'] Moving to Node #0,2,1,0 Current State: 54:[4940], Operations: ['61-9=52', '52+43=95', '52*95=4940'] Moving to Node #0,0,0,0 Current State: 54:[5246], Operations: ['52-9=43', '43+43=86', '61*86=5246'] Moving to Node #0,1,3,0 Current State: 54:[6344], Operations: ['52+9=61', '43+61=104', '61*104=6344'] Moving to Node #0,3,0,0 Current State: 54:[6344], Operations: ['43+9=52', '52+52=104', '61*104=6344'] Moving to Node #0,1,1,0 Current State: 54:[6344], Operations: ['52+9=61', '43+61=104', '61*104=6344'] No solution found.
0
bfs_4
Current State: 54:[52, 43, 61, 9], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [52, 9, 18] Generated Node #2: [52, 9, 18] from Operation: 61-43=18 Current State: 54:[52, 9, 18], Operations: ['61-43=18'] Exploring Operation: 18/9=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 18/9=2 Current State: 54:[52, 2], Operations: ['61-43=18', '18/9=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
sum_heuristic
[ 21, 25, 99, 60 ]
23
[ "21+99=120", "120/60=2", "25-2=23" ]
Current State: 23:[21, 25, 99, 60], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [21, 25, 39] Generated Node #0,0: 23:[21, 25, 39] Operation: 99-60=39 Moving to Node #0,0 Current State: 23:[21, 25, 39], Operations: ['99-60=39'] Exploring Operation: 39-21=18, Resulting Numbers: [25, 18] Generated Node #0,0,0: 23:[25, 18] Operation: 39-21=18 Moving to Node #0,0,0 Current State: 23:[25, 18], Operations: ['99-60=39', '39-21=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[25, 18], Operations: ['99-60=39', '39-21=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,0 Current State: 23:[21, 25, 39], Operations: ['99-60=39'] Exploring Operation: 39-25=14, Resulting Numbers: [21, 14] Generated Node #0,0,1: 23:[21, 14] Operation: 39-25=14 Moving to Node #0,0,1 Current State: 23:[21, 14], Operations: ['99-60=39', '39-25=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[21, 14], Operations: ['99-60=39', '39-25=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,23 unequal: No Solution
0
dfs
Current State: 23:[21, 25, 99, 60], Operations: [] Exploring Operation: 21+99=120, Resulting Numbers: [25, 60, 120] Generated Node #2: [25, 60, 120] from Operation: 21+99=120 Current State: 23:[25, 60, 120], Operations: ['21+99=120'] Exploring Operation: 120/60=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 120/60=2 Current State: 23:[25, 2], Operations: ['21+99=120', '120/60=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
mult_heuristic
[ 39, 34, 6, 2 ]
70
[ "39+34=73", "6/2=3", "73-3=70" ]
Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 34*2=68, Resulting Numbers: [39, 6, 68] Generated Node #0,0: 70:[39, 6, 68] Operation: 34*2=68 Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 39+6=45, Resulting Numbers: [68, 45] Generated Node #0,0,0: 70:[68, 45] Operation: 39+6=45 Moving to Node #0,0,0 Current State: 70:[68, 45], Operations: ['34*2=68', '39+6=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[68, 45], Operations: ['34*2=68', '39+6=45'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 6+68=74, Resulting Numbers: [39, 74] Generated Node #0,0,1: 70:[39, 74] Operation: 6+68=74 Moving to Node #0,0,1 Current State: 70:[39, 74], Operations: ['34*2=68', '6+68=74'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[39, 74], Operations: ['34*2=68', '6+68=74'] Exploring Operation: 39+74=113, Resulting Numbers: [113] 113,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 39-6=33, Resulting Numbers: [68, 33] Generated Node #0,0,2: 70:[68, 33] Operation: 39-6=33 Moving to Node #0,0,2 Current State: 70:[68, 33], Operations: ['34*2=68', '39-6=33'] Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[68, 33], Operations: ['34*2=68', '39-6=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 68-6=62, Resulting Numbers: [39, 62] Generated Node #0,0,3: 70:[39, 62] Operation: 68-6=62 Moving to Node #0,0,3 Current State: 70:[39, 62], Operations: ['34*2=68', '68-6=62'] Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[39, 62], Operations: ['34*2=68', '68-6=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 39+68=107, Resulting Numbers: [6, 107] Generated Node #0,0,4: 70:[6, 107] Operation: 39+68=107 Moving to Node #0,0,4 Current State: 70:[6, 107], Operations: ['34*2=68', '39+68=107'] Exploring Operation: 107-6=101, Resulting Numbers: [101] 101,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[6, 107], Operations: ['34*2=68', '39+68=107'] Exploring Operation: 6+107=113, Resulting Numbers: [113] 113,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[39, 6, 68], Operations: ['34*2=68'] Exploring Operation: 68-39=29, Resulting Numbers: [6, 29] Generated Node #0,0,5: 70:[6, 29] Operation: 68-39=29 Moving to Node #0,0,5 Current State: 70:[6, 29], Operations: ['34*2=68', '68-39=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,0,5 Current State: 70:[6, 29], Operations: ['34*2=68', '68-39=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [34, 6, 78] Generated Node #0,1: 70:[34, 6, 78] Operation: 39*2=78 Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 34+6=40, Resulting Numbers: [78, 40] Generated Node #0,1,0: 70:[78, 40] Operation: 34+6=40 Moving to Node #0,1,0 Current State: 70:[78, 40], Operations: ['39*2=78', '34+6=40'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[78, 40], Operations: ['39*2=78', '34+6=40'] Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 78-6=72, Resulting Numbers: [34, 72] Generated Node #0,1,1: 70:[34, 72] Operation: 78-6=72 Moving to Node #0,1,1 Current State: 70:[34, 72], Operations: ['39*2=78', '78-6=72'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[34, 72], Operations: ['39*2=78', '78-6=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 34-6=28, Resulting Numbers: [78, 28] Generated Node #0,1,2: 70:[78, 28] Operation: 34-6=28 Moving to Node #0,1,2 Current State: 70:[78, 28], Operations: ['39*2=78', '34-6=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[78, 28], Operations: ['39*2=78', '34-6=28'] Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 6+78=84, Resulting Numbers: [34, 84] Generated Node #0,1,3: 70:[34, 84] Operation: 6+78=84 Moving to Node #0,1,3 Current State: 70:[34, 84], Operations: ['39*2=78', '6+78=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[34, 84], Operations: ['39*2=78', '6+78=84'] Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 78-34=44, Resulting Numbers: [6, 44] Generated Node #0,1,4: 70:[6, 44] Operation: 78-34=44 Moving to Node #0,1,4 Current State: 70:[6, 44], Operations: ['39*2=78', '78-34=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[6, 44], Operations: ['39*2=78', '78-34=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 78/6=13, Resulting Numbers: [34, 13] Generated Node #0,1,5: 70:[34, 13] Operation: 78/6=13 Moving to Node #0,1,5 Current State: 70:[34, 13], Operations: ['39*2=78', '78/6=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,70 unequal: No Solution Moving to Node #0,1,5 Current State: 70:[34, 13], Operations: ['39*2=78', '78/6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[34, 6, 78], Operations: ['39*2=78'] Exploring Operation: 34+78=112, Resulting Numbers: [6, 112] Generated Node #0,1,6: 70:[6, 112] Operation: 34+78=112 Moving to Node #0,1,6 Current State: 70:[6, 112], Operations: ['39*2=78', '34+78=112'] Exploring Operation: 112-6=106, Resulting Numbers: [106] 106,70 unequal: No Solution Moving to Node #0,1,6 Current State: 70:[6, 112], Operations: ['39*2=78', '34+78=112'] Exploring Operation: 6+112=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [39, 34, 12] Generated Node #0,2: 70:[39, 34, 12] Operation: 6*2=12 Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 39+12=51, Resulting Numbers: [34, 51] Generated Node #0,2,0: 70:[34, 51] Operation: 39+12=51 Moving to Node #0,2,0 Current State: 70:[34, 51], Operations: ['6*2=12', '39+12=51'] Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[34, 51], Operations: ['6*2=12', '39+12=51'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 34+12=46, Resulting Numbers: [39, 46] Generated Node #0,2,1: 70:[39, 46] Operation: 34+12=46 Moving to Node #0,2,1 Current State: 70:[39, 46], Operations: ['6*2=12', '34+12=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[39, 46], Operations: ['6*2=12', '34+12=46'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 39+34=73, Resulting Numbers: [12, 73] Generated Node #0,2,2: 70:[12, 73] Operation: 39+34=73 Moving to Node #0,2,2 Current State: 70:[12, 73], Operations: ['6*2=12', '39+34=73'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[12, 73], Operations: ['6*2=12', '39+34=73'] Exploring Operation: 12+73=85, Resulting Numbers: [85] 85,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 39-12=27, Resulting Numbers: [34, 27] Generated Node #0,2,3: 70:[34, 27] Operation: 39-12=27 Moving to Node #0,2,3 Current State: 70:[34, 27], Operations: ['6*2=12', '39-12=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[34, 27], Operations: ['6*2=12', '39-12=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 34-12=22, Resulting Numbers: [39, 22] Generated Node #0,2,4: 70:[39, 22] Operation: 34-12=22 Moving to Node #0,2,4 Current State: 70:[39, 22], Operations: ['6*2=12', '34-12=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,70 unequal: No Solution Moving to Node #0,2,4 Current State: 70:[39, 22], Operations: ['6*2=12', '34-12=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[39, 34, 12], Operations: ['6*2=12'] Exploring Operation: 39-34=5, Resulting Numbers: [12, 5] Generated Node #0,2,5: 70:[12, 5] Operation: 39-34=5 Moving to Node #0,2,5 Current State: 70:[12, 5], Operations: ['6*2=12', '39-34=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,70 unequal: No Solution Moving to Node #0,2,5 Current State: 70:[12, 5], Operations: ['6*2=12', '39-34=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,70 unequal: No Solution Moving to Node #0,2,5 Current State: 70:[12, 5], Operations: ['6*2=12', '39-34=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 39+6=45, Resulting Numbers: [34, 2, 45] Generated Node #0,3: 70:[34, 2, 45] Operation: 39+6=45 Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 34*2=68, Resulting Numbers: [45, 68] Generated Node #0,3,0: 70:[45, 68] Operation: 34*2=68 Moving to Node #0,3,0 Current State: 70:[45, 68], Operations: ['39+6=45', '34*2=68'] Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[45, 68], Operations: ['39+6=45', '34*2=68'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 2*45=90, Resulting Numbers: [34, 90] Generated Node #0,3,1: 70:[34, 90] Operation: 2*45=90 Moving to Node #0,3,1 Current State: 70:[34, 90], Operations: ['39+6=45', '2*45=90'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[34, 90], Operations: ['39+6=45', '2*45=90'] Exploring Operation: 34+90=124, Resulting Numbers: [124] 124,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 34+2=36, Resulting Numbers: [45, 36] Generated Node #0,3,2: 70:[45, 36] Operation: 34+2=36 Moving to Node #0,3,2 Current State: 70:[45, 36], Operations: ['39+6=45', '34+2=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[45, 36], Operations: ['39+6=45', '34+2=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 2+45=47, Resulting Numbers: [34, 47] Generated Node #0,3,3: 70:[34, 47] Operation: 2+45=47 Moving to Node #0,3,3 Current State: 70:[34, 47], Operations: ['39+6=45', '2+45=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[34, 47], Operations: ['39+6=45', '2+45=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 34-2=32, Resulting Numbers: [45, 32] Generated Node #0,3,4: 70:[45, 32] Operation: 34-2=32 Moving to Node #0,3,4 Current State: 70:[45, 32], Operations: ['39+6=45', '34-2=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,3,4 Current State: 70:[45, 32], Operations: ['39+6=45', '34-2=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 45-2=43, Resulting Numbers: [34, 43] Generated Node #0,3,5: 70:[34, 43] Operation: 45-2=43 Moving to Node #0,3,5 Current State: 70:[34, 43], Operations: ['39+6=45', '45-2=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,3,5 Current State: 70:[34, 43], Operations: ['39+6=45', '45-2=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 34+45=79, Resulting Numbers: [2, 79] Generated Node #0,3,6: 70:[2, 79] Operation: 34+45=79 Moving to Node #0,3,6 Current State: 70:[2, 79], Operations: ['39+6=45', '34+45=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,3,6 Current State: 70:[2, 79], Operations: ['39+6=45', '34+45=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 34/2=17, Resulting Numbers: [45, 17] Generated Node #0,3,7: 70:[45, 17] Operation: 34/2=17 Moving to Node #0,3,7 Current State: 70:[45, 17], Operations: ['39+6=45', '34/2=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,70 unequal: No Solution Moving to Node #0,3,7 Current State: 70:[45, 17], Operations: ['39+6=45', '34/2=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[34, 2, 45], Operations: ['39+6=45'] Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,3,8: 70:[2, 11] Operation: 45-34=11 Moving to Node #0,3,8 Current State: 70:[2, 11], Operations: ['39+6=45', '45-34=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,70 unequal: No Solution Moving to Node #0,3,8 Current State: 70:[2, 11], Operations: ['39+6=45', '45-34=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3,8 Current State: 70:[2, 11], Operations: ['39+6=45', '45-34=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 39+2=41, Resulting Numbers: [34, 6, 41] Generated Node #0,4: 70:[34, 6, 41] Operation: 39+2=41 Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 34+6=40, Resulting Numbers: [41, 40] Generated Node #0,4,0: 70:[41, 40] Operation: 34+6=40 Moving to Node #0,4,0 Current State: 70:[41, 40], Operations: ['39+2=41', '34+6=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[41, 40], Operations: ['39+2=41', '34+6=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 6+41=47, Resulting Numbers: [34, 47] Generated Node #0,4,1: 70:[34, 47] Operation: 6+41=47 Moving to Node #0,4,1 Current State: 70:[34, 47], Operations: ['39+2=41', '6+41=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[34, 47], Operations: ['39+2=41', '6+41=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 34+41=75, Resulting Numbers: [6, 75] Generated Node #0,4,2: 70:[6, 75] Operation: 34+41=75 Moving to Node #0,4,2 Current State: 70:[6, 75], Operations: ['39+2=41', '34+41=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[6, 75], Operations: ['39+2=41', '34+41=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 34-6=28, Resulting Numbers: [41, 28] Generated Node #0,4,3: 70:[41, 28] Operation: 34-6=28 Moving to Node #0,4,3 Current State: 70:[41, 28], Operations: ['39+2=41', '34-6=28'] Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[41, 28], Operations: ['39+2=41', '34-6=28'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 41-6=35, Resulting Numbers: [34, 35] Generated Node #0,4,4: 70:[34, 35] Operation: 41-6=35 Moving to Node #0,4,4 Current State: 70:[34, 35], Operations: ['39+2=41', '41-6=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[34, 35], Operations: ['39+2=41', '41-6=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[34, 6, 41], Operations: ['39+2=41'] Exploring Operation: 41-34=7, Resulting Numbers: [6, 7] Generated Node #0,4,5: 70:[6, 7] Operation: 41-34=7 Moving to Node #0,4,5 Current State: 70:[6, 7], Operations: ['39+2=41', '41-34=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,4,5 Current State: 70:[6, 7], Operations: ['39+2=41', '41-34=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,4,5 Current State: 70:[6, 7], Operations: ['39+2=41', '41-34=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 34+6=40, Resulting Numbers: [39, 2, 40] Generated Node #0,5: 70:[39, 2, 40] Operation: 34+6=40 Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 39*2=78, Resulting Numbers: [40, 78] Generated Node #0,5,0: 70:[40, 78] Operation: 39*2=78 Moving to Node #0,5,0 Current State: 70:[40, 78], Operations: ['34+6=40', '39*2=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,70 unequal: No Solution Moving to Node #0,5,0 Current State: 70:[40, 78], Operations: ['34+6=40', '39*2=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 2*40=80, Resulting Numbers: [39, 80] Generated Node #0,5,1: 70:[39, 80] Operation: 2*40=80 Moving to Node #0,5,1 Current State: 70:[39, 80], Operations: ['34+6=40', '2*40=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,70 unequal: No Solution Moving to Node #0,5,1 Current State: 70:[39, 80], Operations: ['34+6=40', '2*40=80'] Exploring Operation: 39+80=119, Resulting Numbers: [119] 119,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 39+2=41, Resulting Numbers: [40, 41] Generated Node #0,5,2: 70:[40, 41] Operation: 39+2=41 Moving to Node #0,5,2 Current State: 70:[40, 41], Operations: ['34+6=40', '39+2=41'] Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,5,2 Current State: 70:[40, 41], Operations: ['34+6=40', '39+2=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 2+40=42, Resulting Numbers: [39, 42] Generated Node #0,5,3: 70:[39, 42] Operation: 2+40=42 Moving to Node #0,5,3 Current State: 70:[39, 42], Operations: ['34+6=40', '2+40=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,5,3 Current State: 70:[39, 42], Operations: ['34+6=40', '2+40=42'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 39-2=37, Resulting Numbers: [40, 37] Generated Node #0,5,4: 70:[40, 37] Operation: 39-2=37 Moving to Node #0,5,4 Current State: 70:[40, 37], Operations: ['34+6=40', '39-2=37'] Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,5,4 Current State: 70:[40, 37], Operations: ['34+6=40', '39-2=37'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 40-2=38, Resulting Numbers: [39, 38] Generated Node #0,5,5: 70:[39, 38] Operation: 40-2=38 Moving to Node #0,5,5 Current State: 70:[39, 38], Operations: ['34+6=40', '40-2=38'] Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,5,5 Current State: 70:[39, 38], Operations: ['34+6=40', '40-2=38'] Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 39+40=79, Resulting Numbers: [2, 79] Generated Node #0,5,6: 70:[2, 79] Operation: 39+40=79 Moving to Node #0,5,6 Current State: 70:[2, 79], Operations: ['34+6=40', '39+40=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,5,6 Current State: 70:[2, 79], Operations: ['34+6=40', '39+40=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 40/2=20, Resulting Numbers: [39, 20] Generated Node #0,5,7: 70:[39, 20] Operation: 40/2=20 Moving to Node #0,5,7 Current State: 70:[39, 20], Operations: ['34+6=40', '40/2=20'] Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,5,7 Current State: 70:[39, 20], Operations: ['34+6=40', '40/2=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[39, 2, 40], Operations: ['34+6=40'] Exploring Operation: 40-39=1, Resulting Numbers: [2, 1] Generated Node #0,5,8: 70:[2, 1] Operation: 40-39=1 Moving to Node #0,5,8 Current State: 70:[2, 1], Operations: ['34+6=40', '40-39=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,5,8 Current State: 70:[2, 1], Operations: ['34+6=40', '40-39=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,5,8 Current State: 70:[2, 1], Operations: ['34+6=40', '40-39=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,5,8 Current State: 70:[2, 1], Operations: ['34+6=40', '40-39=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 34+2=36, Resulting Numbers: [39, 6, 36] Generated Node #0,6: 70:[39, 6, 36] Operation: 34+2=36 Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 39+6=45, Resulting Numbers: [36, 45] Generated Node #0,6,0: 70:[36, 45] Operation: 39+6=45 Moving to Node #0,6,0 Current State: 70:[36, 45], Operations: ['34+2=36', '39+6=45'] Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,6,0 Current State: 70:[36, 45], Operations: ['34+2=36', '39+6=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 6+36=42, Resulting Numbers: [39, 42] Generated Node #0,6,1: 70:[39, 42] Operation: 6+36=42 Moving to Node #0,6,1 Current State: 70:[39, 42], Operations: ['34+2=36', '6+36=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,6,1 Current State: 70:[39, 42], Operations: ['34+2=36', '6+36=42'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 39+36=75, Resulting Numbers: [6, 75] Generated Node #0,6,2: 70:[6, 75] Operation: 39+36=75 Moving to Node #0,6,2 Current State: 70:[6, 75], Operations: ['34+2=36', '39+36=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,6,2 Current State: 70:[6, 75], Operations: ['34+2=36', '39+36=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 39-6=33, Resulting Numbers: [36, 33] Generated Node #0,6,3: 70:[36, 33] Operation: 39-6=33 Moving to Node #0,6,3 Current State: 70:[36, 33], Operations: ['34+2=36', '39-6=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,6,3 Current State: 70:[36, 33], Operations: ['34+2=36', '39-6=33'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 36-6=30, Resulting Numbers: [39, 30] Generated Node #0,6,4: 70:[39, 30] Operation: 36-6=30 Moving to Node #0,6,4 Current State: 70:[39, 30], Operations: ['34+2=36', '36-6=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,6,4 Current State: 70:[39, 30], Operations: ['34+2=36', '36-6=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 36/6=6, Resulting Numbers: [39, 6] Generated Node #0,6,5: 70:[39, 6] Operation: 36/6=6 Moving to Node #0,6,5 Current State: 70:[39, 6], Operations: ['34+2=36', '36/6=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,6,5 Current State: 70:[39, 6], Operations: ['34+2=36', '36/6=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[39, 6, 36], Operations: ['34+2=36'] Exploring Operation: 39-36=3, Resulting Numbers: [6, 3] Generated Node #0,6,6: 70:[6, 3] Operation: 39-36=3 Moving to Node #0,6,6 Current State: 70:[6, 3], Operations: ['34+2=36', '39-36=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,6,6 Current State: 70:[6, 3], Operations: ['34+2=36', '39-36=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,6,6 Current State: 70:[6, 3], Operations: ['34+2=36', '39-36=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,6,6 Current State: 70:[6, 3], Operations: ['34+2=36', '39-36=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 6+2=8, Resulting Numbers: [39, 34, 8] Generated Node #0,7: 70:[39, 34, 8] Operation: 6+2=8 Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 39+8=47, Resulting Numbers: [34, 47] Generated Node #0,7,0: 70:[34, 47] Operation: 39+8=47 Moving to Node #0,7,0 Current State: 70:[34, 47], Operations: ['6+2=8', '39+8=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,7,0 Current State: 70:[34, 47], Operations: ['6+2=8', '39+8=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 34+8=42, Resulting Numbers: [39, 42] Generated Node #0,7,1: 70:[39, 42] Operation: 34+8=42 Moving to Node #0,7,1 Current State: 70:[39, 42], Operations: ['6+2=8', '34+8=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,7,1 Current State: 70:[39, 42], Operations: ['6+2=8', '34+8=42'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 39+34=73, Resulting Numbers: [8, 73] Generated Node #0,7,2: 70:[8, 73] Operation: 39+34=73 Moving to Node #0,7,2 Current State: 70:[8, 73], Operations: ['6+2=8', '39+34=73'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,7,2 Current State: 70:[8, 73], Operations: ['6+2=8', '39+34=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 39-8=31, Resulting Numbers: [34, 31] Generated Node #0,7,3: 70:[34, 31] Operation: 39-8=31 Moving to Node #0,7,3 Current State: 70:[34, 31], Operations: ['6+2=8', '39-8=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,7,3 Current State: 70:[34, 31], Operations: ['6+2=8', '39-8=31'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 34-8=26, Resulting Numbers: [39, 26] Generated Node #0,7,4: 70:[39, 26] Operation: 34-8=26 Moving to Node #0,7,4 Current State: 70:[39, 26], Operations: ['6+2=8', '34-8=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,7,4 Current State: 70:[39, 26], Operations: ['6+2=8', '34-8=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[39, 34, 8], Operations: ['6+2=8'] Exploring Operation: 39-34=5, Resulting Numbers: [8, 5] Generated Node #0,7,5: 70:[8, 5] Operation: 39-34=5 Moving to Node #0,7,5 Current State: 70:[8, 5], Operations: ['6+2=8', '39-34=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,70 unequal: No Solution Moving to Node #0,7,5 Current State: 70:[8, 5], Operations: ['6+2=8', '39-34=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,7,5 Current State: 70:[8, 5], Operations: ['6+2=8', '39-34=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 39-2=37, Resulting Numbers: [34, 6, 37] Generated Node #0,8: 70:[34, 6, 37] Operation: 39-2=37 Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 34+6=40, Resulting Numbers: [37, 40] Generated Node #0,8,0: 70:[37, 40] Operation: 34+6=40 Moving to Node #0,8,0 Current State: 70:[37, 40], Operations: ['39-2=37', '34+6=40'] Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,8,0 Current State: 70:[37, 40], Operations: ['39-2=37', '34+6=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 6+37=43, Resulting Numbers: [34, 43] Generated Node #0,8,1: 70:[34, 43] Operation: 6+37=43 Moving to Node #0,8,1 Current State: 70:[34, 43], Operations: ['39-2=37', '6+37=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,8,1 Current State: 70:[34, 43], Operations: ['39-2=37', '6+37=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 34+37=71, Resulting Numbers: [6, 71] Generated Node #0,8,2: 70:[6, 71] Operation: 34+37=71 Moving to Node #0,8,2 Current State: 70:[6, 71], Operations: ['39-2=37', '34+37=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,8,2 Current State: 70:[6, 71], Operations: ['39-2=37', '34+37=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 34-6=28, Resulting Numbers: [37, 28] Generated Node #0,8,3: 70:[37, 28] Operation: 34-6=28 Moving to Node #0,8,3 Current State: 70:[37, 28], Operations: ['39-2=37', '34-6=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,8,3 Current State: 70:[37, 28], Operations: ['39-2=37', '34-6=28'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 37-6=31, Resulting Numbers: [34, 31] Generated Node #0,8,4: 70:[34, 31] Operation: 37-6=31 Moving to Node #0,8,4 Current State: 70:[34, 31], Operations: ['39-2=37', '37-6=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,8,4 Current State: 70:[34, 31], Operations: ['39-2=37', '37-6=31'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[34, 6, 37], Operations: ['39-2=37'] Exploring Operation: 37-34=3, Resulting Numbers: [6, 3] Generated Node #0,8,5: 70:[6, 3] Operation: 37-34=3 Moving to Node #0,8,5 Current State: 70:[6, 3], Operations: ['39-2=37', '37-34=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,8,5 Current State: 70:[6, 3], Operations: ['39-2=37', '37-34=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,8,5 Current State: 70:[6, 3], Operations: ['39-2=37', '37-34=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,70 unequal: No Solution Moving to Node #0,8,5 Current State: 70:[6, 3], Operations: ['39-2=37', '37-34=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 34-2=32, Resulting Numbers: [39, 6, 32] Generated Node #0,9: 70:[39, 6, 32] Operation: 34-2=32 Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 39+6=45, Resulting Numbers: [32, 45] Generated Node #0,9,0: 70:[32, 45] Operation: 39+6=45 Moving to Node #0,9,0 Current State: 70:[32, 45], Operations: ['34-2=32', '39+6=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,9,0 Current State: 70:[32, 45], Operations: ['34-2=32', '39+6=45'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 6+32=38, Resulting Numbers: [39, 38] Generated Node #0,9,1: 70:[39, 38] Operation: 6+32=38 Moving to Node #0,9,1 Current State: 70:[39, 38], Operations: ['34-2=32', '6+32=38'] Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,9,1 Current State: 70:[39, 38], Operations: ['34-2=32', '6+32=38'] Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 39+32=71, Resulting Numbers: [6, 71] Generated Node #0,9,2: 70:[6, 71] Operation: 39+32=71 Moving to Node #0,9,2 Current State: 70:[6, 71], Operations: ['34-2=32', '39+32=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,9,2 Current State: 70:[6, 71], Operations: ['34-2=32', '39+32=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 39-6=33, Resulting Numbers: [32, 33] Generated Node #0,9,3: 70:[32, 33] Operation: 39-6=33 Moving to Node #0,9,3 Current State: 70:[32, 33], Operations: ['34-2=32', '39-6=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,9,3 Current State: 70:[32, 33], Operations: ['34-2=32', '39-6=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 32-6=26, Resulting Numbers: [39, 26] Generated Node #0,9,4: 70:[39, 26] Operation: 32-6=26 Moving to Node #0,9,4 Current State: 70:[39, 26], Operations: ['34-2=32', '32-6=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,70 unequal: No Solution Moving to Node #0,9,4 Current State: 70:[39, 26], Operations: ['34-2=32', '32-6=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[39, 6, 32], Operations: ['34-2=32'] Exploring Operation: 39-32=7, Resulting Numbers: [6, 7] Generated Node #0,9,5: 70:[6, 7] Operation: 39-32=7 Moving to Node #0,9,5 Current State: 70:[6, 7], Operations: ['34-2=32', '39-32=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,9,5 Current State: 70:[6, 7], Operations: ['34-2=32', '39-32=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,9,5 Current State: 70:[6, 7], Operations: ['34-2=32', '39-32=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [39, 34, 4] Generated Node #0,10: 70:[39, 34, 4] Operation: 6-2=4 Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 39+4=43, Resulting Numbers: [34, 43] Generated Node #0,10,0: 70:[34, 43] Operation: 39+4=43 Moving to Node #0,10,0 Current State: 70:[34, 43], Operations: ['6-2=4', '39+4=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,10,0 Current State: 70:[34, 43], Operations: ['6-2=4', '39+4=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 34+4=38, Resulting Numbers: [39, 38] Generated Node #0,10,1: 70:[39, 38] Operation: 34+4=38 Moving to Node #0,10,1 Current State: 70:[39, 38], Operations: ['6-2=4', '34+4=38'] Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,10,1 Current State: 70:[39, 38], Operations: ['6-2=4', '34+4=38'] Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 39+34=73, Resulting Numbers: [4, 73] Generated Node #0,10,2: 70:[4, 73] Operation: 39+34=73 Moving to Node #0,10,2 Current State: 70:[4, 73], Operations: ['6-2=4', '39+34=73'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,10,2 Current State: 70:[4, 73], Operations: ['6-2=4', '39+34=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 39-4=35, Resulting Numbers: [34, 35] Generated Node #0,10,3: 70:[34, 35] Operation: 39-4=35 Moving to Node #0,10,3 Current State: 70:[34, 35], Operations: ['6-2=4', '39-4=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,10,3 Current State: 70:[34, 35], Operations: ['6-2=4', '39-4=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 34-4=30, Resulting Numbers: [39, 30] Generated Node #0,10,4: 70:[39, 30] Operation: 34-4=30 Moving to Node #0,10,4 Current State: 70:[39, 30], Operations: ['6-2=4', '34-4=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,10,4 Current State: 70:[39, 30], Operations: ['6-2=4', '34-4=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 34*4=136, Resulting Numbers: [39, 136] Generated Node #0,10,5: 70:[39, 136] Operation: 34*4=136 Moving to Node #0,10,5 Current State: 70:[39, 136], Operations: ['6-2=4', '34*4=136'] Exploring Operation: 136-39=97, Resulting Numbers: [97] 97,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 39*4=156, Resulting Numbers: [34, 156] Generated Node #0,10,6: 70:[34, 156] Operation: 39*4=156 Moving to Node #0,10,6 Current State: 70:[34, 156], Operations: ['6-2=4', '39*4=156'] Exploring Operation: 156-34=122, Resulting Numbers: [122] 122,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[39, 34, 4], Operations: ['6-2=4'] Exploring Operation: 39-34=5, Resulting Numbers: [4, 5] Generated Node #0,10,7: 70:[4, 5] Operation: 39-34=5 Moving to Node #0,10,7 Current State: 70:[4, 5], Operations: ['6-2=4', '39-34=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,10,7 Current State: 70:[4, 5], Operations: ['6-2=4', '39-34=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,10,7 Current State: 70:[4, 5], Operations: ['6-2=4', '39-34=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0 Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [39, 34, 3] Generated Node #0,11: 70:[39, 34, 3] Operation: 6/2=3 Moving to Node #0,11 Current State: 70:[39, 34, 3], Operations: ['6/2=3'] Exploring Operation: 34*3=102, Resulting Numbers: [39, 102] Generated Node #0,11,0: 70:[39, 102] Operation: 34*3=102 Moving to Node #0,11,0 Current State: 70:[39, 102], Operations: ['6/2=3', '34*3=102'] Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,11 Current State: 70:[39, 34, 3], Operations: ['6/2=3'] Exploring Operation: 39+3=42, Resulting Numbers: [34, 42] Generated Node #0,11,1: 70:[34, 42] Operation: 39+3=42 Moving to Node #0,11,1 Current State: 70:[34, 42], Operations: ['6/2=3', '39+3=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,70 unequal: No Solution Moving to Node #0,11,1 Current State: 70:[34, 42], Operations: ['6/2=3', '39+3=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,11 Current State: 70:[39, 34, 3], Operations: ['6/2=3'] Exploring Operation: 34+3=37, Resulting Numbers: [39, 37] Generated Node #0,11,2: 70:[39, 37] Operation: 34+3=37 Moving to Node #0,11,2 Current State: 70:[39, 37], Operations: ['6/2=3', '34+3=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,70 unequal: No Solution Moving to Node #0,11,2 Current State: 70:[39, 37], Operations: ['6/2=3', '34+3=37'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,11 Current State: 70:[39, 34, 3], Operations: ['6/2=3'] Exploring Operation: 39+34=73, Resulting Numbers: [3, 73] Generated Node #0,11,3: 70:[3, 73] Operation: 39+34=73 Moving to Node #0,11,3 Current State: 70:[3, 73], Operations: ['6/2=3', '39+34=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.773438
dfs
Current State: 70:[39, 34, 6, 2], Operations: [] Exploring Operation: 39+34=73, Resulting Numbers: [6, 2, 73] Generated Node #2: [6, 2, 73] from Operation: 39+34=73 Current State: 70:[6, 2, 73], Operations: ['39+34=73'] Exploring Operation: 6/2=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 6/2=3 Current State: 70:[73, 3], Operations: ['39+34=73', '6/2=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
sum_heuristic
[ 75, 2, 93, 47 ]
11
[ "93-75=18", "2*18=36", "47-36=11" ]
Current State: 11:[75, 2, 93, 47], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [2, 47, 18] Generated Node #0,0: 11:[2, 47, 18] Operation: 93-75=18 Moving to Node #0,0 Current State: 11:[2, 47, 18], Operations: ['93-75=18'] Exploring Operation: 47-18=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 11:[2, 29] Operation: 47-18=29 Moving to Node #0,0,0 Current State: 11:[2, 29], Operations: ['93-75=18', '47-18=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,11 unequal: No Solution Moving to Node #0,0,0,0 Current State: 11:[27], Operations: ['93-75=18', '47-18=29', '29-2=27'] No solution found.
0
bfs_1
Current State: 11:[75, 2, 93, 47], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [2, 47, 18] Generated Node #2: [2, 47, 18] from Operation: 93-75=18 Current State: 11:[2, 47, 18], Operations: ['93-75=18'] Exploring Operation: 2*18=36, Resulting Numbers: [47, 36] Generated Node #3: [47, 36] from Operation: 2*18=36 Current State: 11:[47, 36], Operations: ['93-75=18', '2*18=36'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
mult_heuristic
[ 3, 59, 79, 91 ]
63
[ "91-79=12", "12/3=4", "59+4=63" ]
Current State: 63:[3, 59, 79, 91], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [3, 59, 12] Generated Node #0,0: 63:[3, 59, 12] Operation: 91-79=12 Moving to Node #0,0 Current State: 63:[3, 59, 12], Operations: ['91-79=12'] Exploring Operation: 3+59=62, Resulting Numbers: [12, 62] Generated Node #0,0,0: 63:[12, 62] Operation: 3+59=62 Moving to Node #0,0,0 Current State: 63:[12, 62], Operations: ['91-79=12', '3+59=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,63 unequal: No Solution Moving to Node #0,0,0,0 Current State: 63:[74], Operations: ['91-79=12', '3+59=62', '12+62=74'] No solution found.
0
bfs_1
Current State: 63:[3, 59, 79, 91], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [3, 59, 12] Generated Node #2: [3, 59, 12] from Operation: 91-79=12 Current State: 63:[3, 59, 12], Operations: ['91-79=12'] Exploring Operation: 12/3=4, Resulting Numbers: [59, 4] Generated Node #3: [59, 4] from Operation: 12/3=4 Current State: 63:[59, 4], Operations: ['91-79=12', '12/3=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
mult_heuristic
[ 82, 2, 10, 88 ]
90
[ "82+10=92", "88+92=180", "180/2=90" ]
Current State: 90:[82, 2, 10, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [2, 10, 6] Generated Node #0,0: 90:[2, 10, 6] Operation: 88-82=6 Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 10/2=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 90:[6, 5] Operation: 10/2=5 Moving to Node #0,0,0 Current State: 90:[6, 5], Operations: ['88-82=6', '10/2=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[6, 5], Operations: ['88-82=6', '10/2=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[6, 5], Operations: ['88-82=6', '10/2=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 6/2=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 90:[10, 3] Operation: 6/2=3 Moving to Node #0,0,1 Current State: 90:[10, 3], Operations: ['88-82=6', '6/2=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[10, 3], Operations: ['88-82=6', '6/2=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[10, 3], Operations: ['88-82=6', '6/2=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 10-2=8, Resulting Numbers: [6, 8] Generated Node #0,0,2: 90:[6, 8] Operation: 10-2=8 Moving to Node #0,0,2 Current State: 90:[6, 8], Operations: ['88-82=6', '10-2=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[6, 8], Operations: ['88-82=6', '10-2=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[6, 8], Operations: ['88-82=6', '10-2=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 2+6=8, Resulting Numbers: [10, 8] Generated Node #0,0,3: 90:[10, 8] Operation: 2+6=8 Moving to Node #0,0,3 Current State: 90:[10, 8], Operations: ['88-82=6', '2+6=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[10, 8], Operations: ['88-82=6', '2+6=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[10, 8], Operations: ['88-82=6', '2+6=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 6-2=4, Resulting Numbers: [10, 4] Generated Node #0,0,4: 90:[10, 4] Operation: 6-2=4 Moving to Node #0,0,4 Current State: 90:[10, 4], Operations: ['88-82=6', '6-2=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[10, 4], Operations: ['88-82=6', '6-2=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[10, 4], Operations: ['88-82=6', '6-2=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 10+6=16, Resulting Numbers: [2, 16] Generated Node #0,0,5: 90:[2, 16] Operation: 10+6=16 Moving to Node #0,0,5 Current State: 90:[2, 16], Operations: ['88-82=6', '10+6=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,0,5 Current State: 90:[2, 16], Operations: ['88-82=6', '10+6=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,5 Current State: 90:[2, 16], Operations: ['88-82=6', '10+6=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,0,5 Current State: 90:[2, 16], Operations: ['88-82=6', '10+6=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 10-6=4, Resulting Numbers: [2, 4] Generated Node #0,0,6: 90:[2, 4] Operation: 10-6=4 Moving to Node #0,0,6 Current State: 90:[2, 4], Operations: ['88-82=6', '10-6=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,0,6 Current State: 90:[2, 4], Operations: ['88-82=6', '10-6=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,6 Current State: 90:[2, 4], Operations: ['88-82=6', '10-6=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,6 Current State: 90:[2, 4], Operations: ['88-82=6', '10-6=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 2+10=12, Resulting Numbers: [6, 12] Generated Node #0,0,7: 90:[6, 12] Operation: 2+10=12 Moving to Node #0,0,7 Current State: 90:[6, 12], Operations: ['88-82=6', '2+10=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,0,7 Current State: 90:[6, 12], Operations: ['88-82=6', '2+10=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,0,7 Current State: 90:[6, 12], Operations: ['88-82=6', '2+10=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,7 Current State: 90:[6, 12], Operations: ['88-82=6', '2+10=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 2*10=20, Resulting Numbers: [6, 20] Generated Node #0,0,8: 90:[6, 20] Operation: 2*10=20 Moving to Node #0,0,8 Current State: 90:[6, 20], Operations: ['88-82=6', '2*10=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,8 Current State: 90:[6, 20], Operations: ['88-82=6', '2*10=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,0,8 Current State: 90:[6, 20], Operations: ['88-82=6', '2*10=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 2*6=12, Resulting Numbers: [10, 12] Generated Node #0,0,9: 90:[10, 12] Operation: 2*6=12 Moving to Node #0,0,9 Current State: 90:[10, 12], Operations: ['88-82=6', '2*6=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,0,9 Current State: 90:[10, 12], Operations: ['88-82=6', '2*6=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,90 unequal: No Solution Moving to Node #0,0,9 Current State: 90:[10, 12], Operations: ['88-82=6', '2*6=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,0 Current State: 90:[2, 10, 6], Operations: ['88-82=6'] Exploring Operation: 10*6=60, Resulting Numbers: [2, 60] Generated Node #0,0,10: 90:[2, 60] Operation: 10*6=60 Moving to Node #0,0,10 Current State: 90:[2, 60], Operations: ['88-82=6', '10*6=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,10 Current State: 90:[2, 60], Operations: ['88-82=6', '10*6=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,90 unequal: No Solution Moving to Node #0,0,10 Current State: 90:[2, 60], Operations: ['88-82=6', '10*6=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,0,10 Current State: 90:[2, 60], Operations: ['88-82=6', '10*6=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0 Current State: 90:[82, 2, 10, 88], Operations: [] Exploring Operation: 82+10=92, Resulting Numbers: [2, 88, 92] Generated Node #0,1: 90:[2, 88, 92] Operation: 82+10=92 Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 92-88=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 90:[2, 4] Operation: 92-88=4 Moving to Node #0,1,0 Current State: 90:[2, 4], Operations: ['82+10=92', '92-88=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[2, 4], Operations: ['82+10=92', '92-88=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[2, 4], Operations: ['82+10=92', '92-88=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[2, 4], Operations: ['82+10=92', '92-88=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 2+88=90, Resulting Numbers: [92, 90] Generated Node #0,1,1: 90:[92, 90] Operation: 2+88=90 Moving to Node #0,1,1 Current State: 90:[92, 90], Operations: ['82+10=92', '2+88=90'] Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 92-2=90, Resulting Numbers: [88, 90] Generated Node #0,1,2: 90:[88, 90] Operation: 92-2=90 Moving to Node #0,1,2 Current State: 90:[88, 90], Operations: ['82+10=92', '92-2=90'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[88, 90], Operations: ['82+10=92', '92-2=90'] Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 88/2=44, Resulting Numbers: [92, 44] Generated Node #0,1,3: 90:[92, 44] Operation: 88/2=44 Moving to Node #0,1,3 Current State: 90:[92, 44], Operations: ['82+10=92', '88/2=44'] Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[92, 44], Operations: ['82+10=92', '88/2=44'] Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 92/2=46, Resulting Numbers: [88, 46] Generated Node #0,1,4: 90:[88, 46] Operation: 92/2=46 Moving to Node #0,1,4 Current State: 90:[88, 46], Operations: ['82+10=92', '92/2=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[88, 46], Operations: ['82+10=92', '92/2=46'] Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 88-2=86, Resulting Numbers: [92, 86] Generated Node #0,1,5: 90:[92, 86] Operation: 88-2=86 Moving to Node #0,1,5 Current State: 90:[92, 86], Operations: ['82+10=92', '88-2=86'] Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,1,5 Current State: 90:[92, 86], Operations: ['82+10=92', '88-2=86'] Exploring Operation: 92+86=178, Resulting Numbers: [178] 178,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 2+92=94, Resulting Numbers: [88, 94] Generated Node #0,1,6: 90:[88, 94] Operation: 2+92=94 Moving to Node #0,1,6 Current State: 90:[88, 94], Operations: ['82+10=92', '2+92=94'] Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 2*88=176, Resulting Numbers: [92, 176] Generated Node #0,1,7: 90:[92, 176] Operation: 2*88=176 Moving to Node #0,1,7 Current State: 90:[92, 176], Operations: ['82+10=92', '2*88=176'] Exploring Operation: 176-92=84, Resulting Numbers: [84] 84,90 unequal: No Solution Moving to Node #0,1 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 88+92=180, Resulting Numbers: [2, 180] Generated Node #0,1,8: 90:[2, 180] Operation: 88+92=180 Moving to Node #0,1,8 Current State: 90:[2, 180], Operations: ['82+10=92', '88+92=180'] Exploring Operation: 180/2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.934028
dfs
Current State: 90:[82, 2, 10, 88], Operations: [] Exploring Operation: 82+10=92, Resulting Numbers: [2, 88, 92] Generated Node #2: [2, 88, 92] from Operation: 82+10=92 Current State: 90:[2, 88, 92], Operations: ['82+10=92'] Exploring Operation: 88+92=180, Resulting Numbers: [2, 180] Generated Node #3: [2, 180] from Operation: 88+92=180 Current State: 90:[2, 180], Operations: ['82+10=92', '88+92=180'] Exploring Operation: 180/2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
mult_heuristic
[ 93, 13, 94, 42 ]
30
[ "93+13=106", "94+42=136", "136-106=30" ]
Current State: 30:[93, 13, 94, 42], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [13, 42, 1] Generated Node #0,0: 30:[13, 42, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 30:[13, 42, 1], Operations: ['94-93=1'] Exploring Operation: 42-13=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 30:[1, 29] Operation: 42-13=29 Moving to Node #0,0,0 Current State: 30:[1, 29], Operations: ['94-93=1', '42-13=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.996528
dfs
Current State: 30:[93, 13, 94, 42], Operations: [] Exploring Operation: 93+13=106, Resulting Numbers: [94, 42, 106] Generated Node #2: [94, 42, 106] from Operation: 93+13=106 Current State: 30:[94, 42, 106], Operations: ['93+13=106'] Exploring Operation: 94+42=136, Resulting Numbers: [106, 136] Generated Node #3: [106, 136] from Operation: 94+42=136 Current State: 30:[106, 136], Operations: ['93+13=106', '94+42=136'] Exploring Operation: 136-106=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
mult_heuristic
[ 25, 56, 70, 10 ]
74
[ "25+56=81", "70/10=7", "81-7=74" ]
Current State: 74:[25, 56, 70, 10], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [56, 70, 35] Generated Node #0,0: 74:[56, 70, 35] Operation: 25+10=35 Exploring Operation: 56+10=66, Resulting Numbers: [25, 70, 66] Generated Node #0,1: 74:[25, 70, 66] Operation: 56+10=66 Exploring Operation: 25+56=81, Resulting Numbers: [70, 10, 81] Generated Node #0,2: 74:[70, 10, 81] Operation: 25+56=81 Exploring Operation: 70+10=80, Resulting Numbers: [25, 56, 80] Generated Node #0,3: 74:[25, 56, 80] Operation: 70+10=80 Moving to Node #0,0 Current State: 74:[56, 70, 35], Operations: ['25+10=35'] Exploring Operation: 70+35=105, Resulting Numbers: [56, 105] Generated Node #0,0,0: 74:[56, 105] Operation: 70+35=105 Exploring Operation: 56+35=91, Resulting Numbers: [70, 91] Generated Node #0,0,1: 74:[70, 91] Operation: 56+35=91 Exploring Operation: 70-35=35, Resulting Numbers: [56, 35] Generated Node #0,0,2: 74:[56, 35] Operation: 70-35=35 Exploring Operation: 56-35=21, Resulting Numbers: [70, 21] Generated Node #0,0,3: 74:[70, 21] Operation: 56-35=21 Moving to Node #0,1 Current State: 74:[25, 70, 66], Operations: ['56+10=66'] Exploring Operation: 25+66=91, Resulting Numbers: [70, 91] Generated Node #0,1,0: 74:[70, 91] Operation: 25+66=91 Exploring Operation: 70-25=45, Resulting Numbers: [66, 45] Generated Node #0,1,1: 74:[66, 45] Operation: 70-25=45 Exploring Operation: 66-25=41, Resulting Numbers: [70, 41] Generated Node #0,1,2: 74:[70, 41] Operation: 66-25=41 Exploring Operation: 25+70=95, Resulting Numbers: [66, 95] Generated Node #0,1,3: 74:[66, 95] Operation: 25+70=95 Moving to Node #0,3 Current State: 74:[25, 56, 80], Operations: ['70+10=80'] Exploring Operation: 80-25=55, Resulting Numbers: [56, 55] Generated Node #0,3,0: 74:[56, 55] Operation: 80-25=55 Exploring Operation: 25+56=81, Resulting Numbers: [80, 81] Generated Node #0,3,1: 74:[80, 81] Operation: 25+56=81 Exploring Operation: 25+80=105, Resulting Numbers: [56, 105] Generated Node #0,3,2: 74:[56, 105] Operation: 25+80=105 Exploring Operation: 56-25=31, Resulting Numbers: [80, 31] Generated Node #0,3,3: 74:[80, 31] Operation: 56-25=31 Moving to Node #0,2 Current State: 74:[70, 10, 81], Operations: ['25+56=81'] Exploring Operation: 81-10=71, Resulting Numbers: [70, 71] Generated Node #0,2,0: 74:[70, 71] Operation: 81-10=71 Exploring Operation: 70-10=60, Resulting Numbers: [81, 60] Generated Node #0,2,1: 74:[81, 60] Operation: 70-10=60 Exploring Operation: 10+81=91, Resulting Numbers: [70, 91] Generated Node #0,2,2: 74:[70, 91] Operation: 10+81=91 Exploring Operation: 70+10=80, Resulting Numbers: [81, 80] Generated Node #0,2,3: 74:[81, 80] Operation: 70+10=80 Moving to Node #0,2,0 Current State: 74:[70, 71], Operations: ['25+56=81', '81-10=71'] Exploring Operation: 70+71=141, Resulting Numbers: [141] 141,74 unequal: No Solution Exploring Operation: 70*71=4970, Resulting Numbers: [4970] 4970,74 unequal: No Solution Exploring Operation: 71-70=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[80, 81], Operations: ['70+10=80', '25+56=81'] Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,74 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[81, 80], Operations: ['25+56=81', '70+10=80'] Exploring Operation: 81+80=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 81*80=6480, Resulting Numbers: [6480] 6480,74 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[81, 60], Operations: ['25+56=81', '70-10=60'] Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,74 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,74 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[70, 91], Operations: ['25+10=35', '56+35=91'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[70, 91], Operations: ['56+10=66', '25+66=91'] Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,74 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[70, 91], Operations: ['25+56=81', '10+81=91'] Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,74 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[66, 95], Operations: ['56+10=66', '25+70=95'] Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 66*95=6270, Resulting Numbers: [6270] 6270,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[66, 45], Operations: ['56+10=66', '70-25=45'] Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[56, 55], Operations: ['70+10=80', '80-25=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[70, 41], Operations: ['56+10=66', '66-25=41'] Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,74 unequal: No Solution Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[80, 31], Operations: ['70+10=80', '56-25=31'] Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 80*31=2480, Resulting Numbers: [2480] 2480,74 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[56, 105], Operations: ['70+10=80', '25+80=105'] Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[56, 105], Operations: ['25+10=35', '70+35=105'] Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,74 unequal: No Solution Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,74 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,74 unequal: No Solution Moving to Node #0,3,3,0 Current State: 74:[49], Operations: ['70+10=80', '56-25=31', '80-31=49'] Moving to Node #0,0,2 Current State: 74:[56, 35], Operations: ['25+10=35', '70-35=35'] Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,74 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,0,2,0 Current State: 74:[91], Operations: ['25+10=35', '70-35=35', '56+35=91'] Moving to Node #0,3,2,0 Current State: 74:[49], Operations: ['70+10=80', '25+80=105', '105-56=49'] Moving to Node #0,0,0,0 Current State: 74:[49], Operations: ['25+10=35', '70+35=105', '105-56=49'] Moving to Node #0,0,3 Current State: 74:[70, 21], Operations: ['25+10=35', '56-35=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,74 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,74 unequal: No Solution Moving to Node #0,0,3,0 Current State: 74:[91], Operations: ['25+10=35', '56-35=21', '70+21=91'] Moving to Node #0,0,3,0 Current State: 74:[49], Operations: ['25+10=35', '56-35=21', '70-21=49'] Moving to Node #0,1,1,0 Current State: 74:[111], Operations: ['56+10=66', '70-25=45', '66+45=111'] Moving to Node #0,3,3,0 Current State: 74:[111], Operations: ['70+10=80', '56-25=31', '80+31=111'] Moving to Node #0,3,0,0 Current State: 74:[111], Operations: ['70+10=80', '80-25=55', '56+55=111'] Moving to Node #0,1,2,0 Current State: 74:[111], Operations: ['56+10=66', '66-25=41', '70+41=111'] Moving to Node #0,1,3,0 Current State: 74:[29], Operations: ['56+10=66', '25+70=95', '95-66=29'] Moving to Node #0,1,2,0 Current State: 74:[29], Operations: ['56+10=66', '66-25=41', '70-41=29'] Moving to Node #0,1,1,0 Current State: 74:[21], Operations: ['56+10=66', '70-25=45', '66-45=21'] Moving to Node #0,2,2,0 Current State: 74:[21], Operations: ['25+56=81', '10+81=91', '91-70=21'] Moving to Node #0,1,0,0 Current State: 74:[21], Operations: ['56+10=66', '25+66=91', '91-70=21'] Moving to Node #0,0,2,0 Current State: 74:[21], Operations: ['25+10=35', '70-35=35', '56-35=21'] Moving to Node #0,2,1,0 Current State: 74:[21], Operations: ['25+56=81', '70-10=60', '81-60=21'] Moving to Node #0,0,1,0 Current State: 74:[21], Operations: ['25+10=35', '56+35=91', '91-70=21'] Moving to Node #0,2,1,0 Current State: 74:[141], Operations: ['25+56=81', '70-10=60', '81+60=141'] Moving to Node #0,2,0,0 Current State: 74:[141], Operations: ['25+56=81', '81-10=71', '70+71=141'] Moving to Node #0,2,0,0 Current State: 74:[1], Operations: ['25+56=81', '81-10=71', '71-70=1'] Moving to Node #0,2,3,0 Current State: 74:[1], Operations: ['25+56=81', '70+10=80', '81-80=1'] Moving to Node #0,3,1,0 Current State: 74:[1], Operations: ['70+10=80', '25+56=81', '81-80=1'] Moving to Node #0,3,0,0 Current State: 74:[1], Operations: ['70+10=80', '80-25=55', '56-55=1'] Moving to Node #0,2,2,0 Current State: 74:[161], Operations: ['25+56=81', '10+81=91', '70+91=161'] Moving to Node #0,1,0,0 Current State: 74:[161], Operations: ['56+10=66', '25+66=91', '70+91=161'] Moving to Node #0,0,1,0 Current State: 74:[161], Operations: ['25+10=35', '56+35=91', '70+91=161'] Moving to Node #0,1,3,0 Current State: 74:[161], Operations: ['56+10=66', '25+70=95', '66+95=161'] Moving to Node #0,3,2,0 Current State: 74:[161], Operations: ['70+10=80', '25+80=105', '56+105=161'] Moving to Node #0,2,3,0 Current State: 74:[161], Operations: ['25+56=81', '70+10=80', '81+80=161'] Moving to Node #0,0,0,0 Current State: 74:[161], Operations: ['25+10=35', '70+35=105', '56+105=161'] Moving to Node #0,3,1,0 Current State: 74:[161], Operations: ['70+10=80', '25+56=81', '80+81=161'] Moving to Node #0,0,3,0 Current State: 74:[1470], Operations: ['25+10=35', '56-35=21', '70*21=1470'] Moving to Node #0,0,2,0 Current State: 74:[1960], Operations: ['25+10=35', '70-35=35', '56*35=1960'] Moving to Node #0,3,3,0 Current State: 74:[2480], Operations: ['70+10=80', '56-25=31', '80*31=2480'] Moving to Node #0,1,2,0 Current State: 74:[2870], Operations: ['56+10=66', '66-25=41', '70*41=2870'] Moving to Node #0,1,1,0 Current State: 74:[2970], Operations: ['56+10=66', '70-25=45', '66*45=2970'] Moving to Node #0,3,0,0 Current State: 74:[3080], Operations: ['70+10=80', '80-25=55', '56*55=3080'] Moving to Node #0,2,1,0 Current State: 74:[4860], Operations: ['25+56=81', '70-10=60', '81*60=4860'] Moving to Node #0,2,0,0 Current State: 74:[4970], Operations: ['25+56=81', '81-10=71', '70*71=4970'] Moving to Node #0,0,0,0 Current State: 74:[5880], Operations: ['25+10=35', '70+35=105', '56*105=5880'] Moving to Node #0,3,2,0 Current State: 74:[5880], Operations: ['70+10=80', '25+80=105', '56*105=5880'] Moving to Node #0,1,3,0 Current State: 74:[6270], Operations: ['56+10=66', '25+70=95', '66*95=6270'] Moving to Node #0,1,0,0 Current State: 74:[6370], Operations: ['56+10=66', '25+66=91', '70*91=6370'] Moving to Node #0,2,2,0 Current State: 74:[6370], Operations: ['25+56=81', '10+81=91', '70*91=6370'] Moving to Node #0,0,1,0 Current State: 74:[6370], Operations: ['25+10=35', '56+35=91', '70*91=6370'] Moving to Node #0,2,3,0 Current State: 74:[6480], Operations: ['25+56=81', '70+10=80', '81*80=6480'] Moving to Node #0,3,1,0 Current State: 74:[6480], Operations: ['70+10=80', '25+56=81', '80*81=6480'] No solution found.
0
bfs_4
Current State: 74:[25, 56, 70, 10], Operations: [] Exploring Operation: 25+56=81, Resulting Numbers: [70, 10, 81] Generated Node #2: [70, 10, 81] from Operation: 25+56=81 Current State: 74:[70, 10, 81], Operations: ['25+56=81'] Exploring Operation: 70/10=7, Resulting Numbers: [81, 7] Generated Node #3: [81, 7] from Operation: 70/10=7 Current State: 74:[81, 7], Operations: ['25+56=81', '70/10=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
sum_heuristic
[ 95, 2, 17, 11 ]
46
[ "17*11=187", "187-95=92", "92/2=46" ]
Current State: 46:[95, 2, 17, 11], Operations: [] Exploring Operation: 95-17=78, Resulting Numbers: [2, 11, 78] Generated Node #0,0: 46:[2, 11, 78] Operation: 95-17=78 Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 78/2=39, Resulting Numbers: [11, 39] Generated Node #0,0,0: 46:[11, 39] Operation: 78/2=39 Moving to Node #0,0,0 Current State: 46:[11, 39], Operations: ['95-17=78', '78/2=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[11, 39], Operations: ['95-17=78', '78/2=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 78-11=67, Resulting Numbers: [2, 67] Generated Node #0,0,1: 46:[2, 67] Operation: 78-11=67 Moving to Node #0,0,1 Current State: 46:[2, 67], Operations: ['95-17=78', '78-11=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[2, 67], Operations: ['95-17=78', '78-11=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 2*11=22, Resulting Numbers: [78, 22] Generated Node #0,0,2: 46:[78, 22] Operation: 2*11=22 Moving to Node #0,0,2 Current State: 46:[78, 22], Operations: ['95-17=78', '2*11=22'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 11-2=9, Resulting Numbers: [78, 9] Generated Node #0,0,3: 46:[78, 9] Operation: 11-2=9 Moving to Node #0,0,3 Current State: 46:[78, 9], Operations: ['95-17=78', '11-2=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[78, 9], Operations: ['95-17=78', '11-2=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 78-2=76, Resulting Numbers: [11, 76] Generated Node #0,0,4: 46:[11, 76] Operation: 78-2=76 Moving to Node #0,0,4 Current State: 46:[11, 76], Operations: ['95-17=78', '78-2=76'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[11, 76], Operations: ['95-17=78', '78-2=76'] Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 2+11=13, Resulting Numbers: [78, 13] Generated Node #0,0,5: 46:[78, 13] Operation: 2+11=13 Moving to Node #0,0,5 Current State: 46:[78, 13], Operations: ['95-17=78', '2+11=13'] Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,0,5 Current State: 46:[78, 13], Operations: ['95-17=78', '2+11=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,0,5 Current State: 46:[78, 13], Operations: ['95-17=78', '2+11=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 2+78=80, Resulting Numbers: [11, 80] Generated Node #0,0,6: 46:[11, 80] Operation: 2+78=80 Moving to Node #0,0,6 Current State: 46:[11, 80], Operations: ['95-17=78', '2+78=80'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,0,6 Current State: 46:[11, 80], Operations: ['95-17=78', '2+78=80'] Exploring Operation: 11+80=91, Resulting Numbers: [91] 91,46 unequal: No Solution Moving to Node #0,0 Current State: 46:[2, 11, 78], Operations: ['95-17=78'] Exploring Operation: 11+78=89, Resulting Numbers: [2, 89] Generated Node #0,0,7: 46:[2, 89] Operation: 11+78=89 Moving to Node #0,0,7 Current State: 46:[2, 89], Operations: ['95-17=78', '11+78=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,46 unequal: No Solution Moving to Node #0,0,7 Current State: 46:[2, 89], Operations: ['95-17=78', '11+78=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,46 unequal: No Solution Moving to Node #0 Current State: 46:[95, 2, 17, 11], Operations: [] Exploring Operation: 95-11=84, Resulting Numbers: [2, 17, 84] Generated Node #0,1: 46:[2, 17, 84] Operation: 95-11=84 Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 84/2=42, Resulting Numbers: [17, 42] Generated Node #0,1,0: 46:[17, 42] Operation: 84/2=42 Moving to Node #0,1,0 Current State: 46:[17, 42], Operations: ['95-11=84', '84/2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[17, 42], Operations: ['95-11=84', '84/2=42'] Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 84-17=67, Resulting Numbers: [2, 67] Generated Node #0,1,1: 46:[2, 67] Operation: 84-17=67 Moving to Node #0,1,1 Current State: 46:[2, 67], Operations: ['95-11=84', '84-17=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[2, 67], Operations: ['95-11=84', '84-17=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 2+17=19, Resulting Numbers: [84, 19] Generated Node #0,1,2: 46:[84, 19] Operation: 2+17=19 Moving to Node #0,1,2 Current State: 46:[84, 19], Operations: ['95-11=84', '2+17=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 84-2=82, Resulting Numbers: [17, 82] Generated Node #0,1,3: 46:[17, 82] Operation: 84-2=82 Moving to Node #0,1,3 Current State: 46:[17, 82], Operations: ['95-11=84', '84-2=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 17-2=15, Resulting Numbers: [84, 15] Generated Node #0,1,4: 46:[84, 15] Operation: 17-2=15 Moving to Node #0,1,4 Current State: 46:[84, 15], Operations: ['95-11=84', '17-2=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,1 Current State: 46:[2, 17, 84], Operations: ['95-11=84'] Exploring Operation: 2+84=86, Resulting Numbers: [17, 86] Generated Node #0,1,5: 46:[17, 86] Operation: 2+84=86 Moving to Node #0,1,5 Current State: 46:[17, 86], Operations: ['95-11=84', '2+84=86'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,46 unequal: No Solution
0
dfs
Current State: 46:[95, 2, 17, 11], Operations: [] Exploring Operation: 17*11=187, Resulting Numbers: [95, 2, 187] Generated Node #2: [95, 2, 187] from Operation: 17*11=187 Current State: 46:[95, 2, 187], Operations: ['17*11=187'] Exploring Operation: 187-95=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 187-95=92 Current State: 46:[2, 92], Operations: ['17*11=187', '187-95=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
mult_heuristic
[ 23, 11, 36, 2 ]
35
[ "23+11=34", "36+34=70", "70/2=35" ]
Current State: 35:[23, 11, 36, 2], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [23, 36, 22] Generated Node #0,0: 35:[23, 36, 22] Operation: 11*2=22 Exploring Operation: 23+11=34, Resulting Numbers: [36, 2, 34] Generated Node #0,1: 35:[36, 2, 34] Operation: 23+11=34 Moving to Node #0,0 Current State: 35:[23, 36, 22], Operations: ['11*2=22'] Exploring Operation: 36-22=14, Resulting Numbers: [23, 14] Generated Node #0,0,0: 35:[23, 14] Operation: 36-22=14 Exploring Operation: 23+22=45, Resulting Numbers: [36, 45] Generated Node #0,0,1: 35:[36, 45] Operation: 23+22=45 Moving to Node #0,1 Current State: 35:[36, 2, 34], Operations: ['23+11=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36, 36] Generated Node #0,1,0: 35:[36, 36] Operation: 2+34=36 Exploring Operation: 36-2=34, Resulting Numbers: [34, 34] Generated Node #0,1,1: 35:[34, 34] Operation: 36-2=34 Moving to Node #0,1,0 Current State: 35:[36, 36], Operations: ['23+11=34', '2+34=36'] Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[34, 34], Operations: ['23+11=34', '36-2=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[36, 45], Operations: ['11*2=22', '23+22=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[23, 14], Operations: ['11*2=22', '36-22=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,0,0,0 Current State: 35:[37], Operations: ['11*2=22', '36-22=14', '23+14=37'] Moving to Node #0,0,1,0 Current State: 35:[9], Operations: ['11*2=22', '23+22=45', '45-36=9'] Moving to Node #0,0,0,0 Current State: 35:[9], Operations: ['11*2=22', '36-22=14', '23-14=9'] Moving to Node #0,1,1,0 Current State: 35:[68], Operations: ['23+11=34', '36-2=34', '34+34=68'] Moving to Node #0,1,0,0 Current State: 35:[1], Operations: ['23+11=34', '2+34=36', '36/36=1'] Moving to Node #0,1,1,0 Current State: 35:[1], Operations: ['23+11=34', '36-2=34', '34/34=1'] Moving to Node #0,1,0,0 Current State: 35:[0], Operations: ['23+11=34', '2+34=36', '36-36=0'] Moving to Node #0,0,1,0 Current State: 35:[81], Operations: ['11*2=22', '23+22=45', '36+45=81'] No solution found.
0
bfs_2
Current State: 35:[23, 11, 36, 2], Operations: [] Exploring Operation: 23+11=34, Resulting Numbers: [36, 2, 34] Generated Node #2: [36, 2, 34] from Operation: 23+11=34 Current State: 35:[36, 2, 34], Operations: ['23+11=34'] Exploring Operation: 36+34=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 36+34=70 Current State: 35:[2, 70], Operations: ['23+11=34', '36+34=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
sum_heuristic
[ 96, 4, 17, 65 ]
37
[ "96-65=31", "4*17=68", "68-31=37" ]
Current State: 37:[96, 4, 17, 65], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [17, 65, 24] Generated Node #0,0: 37:[17, 65, 24] Operation: 96/4=24 Exploring Operation: 4+17=21, Resulting Numbers: [96, 65, 21] Generated Node #0,1: 37:[96, 65, 21] Operation: 4+17=21 Exploring Operation: 96-17=79, Resulting Numbers: [4, 65, 79] Generated Node #0,2: 37:[4, 65, 79] Operation: 96-17=79 Exploring Operation: 96-4=92, Resulting Numbers: [17, 65, 92] Generated Node #0,3: 37:[17, 65, 92] Operation: 96-4=92 Exploring Operation: 96-65=31, Resulting Numbers: [4, 17, 31] Generated Node #0,4: 37:[4, 17, 31] Operation: 96-65=31 Moving to Node #0,4 Current State: 37:[4, 17, 31], Operations: ['96-65=31'] Exploring Operation: 4+31=35, Resulting Numbers: [17, 35] Generated Node #0,4,0: 37:[17, 35] Operation: 4+31=35 Exploring Operation: 17-4=13, Resulting Numbers: [31, 13] Generated Node #0,4,1: 37:[31, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [31, 21] Generated Node #0,4,2: 37:[31, 21] Operation: 4+17=21 Exploring Operation: 4*17=68, Resulting Numbers: [31, 68] Generated Node #0,4,3: 37:[31, 68] Operation: 4*17=68 Exploring Operation: 31-4=27, Resulting Numbers: [17, 27] Generated Node #0,4,4: 37:[17, 27] Operation: 31-4=27 Moving to Node #0,0 Current State: 37:[17, 65, 24], Operations: ['96/4=24'] Exploring Operation: 65-17=48, Resulting Numbers: [24, 48] Generated Node #0,0,0: 37:[24, 48] Operation: 65-17=48 Exploring Operation: 17+24=41, Resulting Numbers: [65, 41] Generated Node #0,0,1: 37:[65, 41] Operation: 17+24=41 Exploring Operation: 17+65=82, Resulting Numbers: [24, 82] Generated Node #0,0,2: 37:[24, 82] Operation: 17+65=82 Exploring Operation: 24-17=7, Resulting Numbers: [65, 7] Generated Node #0,0,3: 37:[65, 7] Operation: 24-17=7 Exploring Operation: 65-24=41, Resulting Numbers: [17, 41] Generated Node #0,0,4: 37:[17, 41] Operation: 65-24=41 Moving to Node #0,1 Current State: 37:[96, 65, 21], Operations: ['4+17=21'] Exploring Operation: 96-21=75, Resulting Numbers: [65, 75] Generated Node #0,1,0: 37:[65, 75] Operation: 96-21=75 Exploring Operation: 96-65=31, Resulting Numbers: [21, 31] Generated Node #0,1,1: 37:[21, 31] Operation: 96-65=31 Exploring Operation: 65-21=44, Resulting Numbers: [96, 44] Generated Node #0,1,2: 37:[96, 44] Operation: 65-21=44 Exploring Operation: 65+21=86, Resulting Numbers: [96, 86] Generated Node #0,1,3: 37:[96, 86] Operation: 65+21=86 Exploring Operation: 96+21=117, Resulting Numbers: [65, 117] Generated Node #0,1,4: 37:[65, 117] Operation: 96+21=117 Moving to Node #0,2 Current State: 37:[4, 65, 79], Operations: ['96-17=79'] Exploring Operation: 65-4=61, Resulting Numbers: [79, 61] Generated Node #0,2,0: 37:[79, 61] Operation: 65-4=61 Exploring Operation: 4+79=83, Resulting Numbers: [65, 83] Generated Node #0,2,1: 37:[65, 83] Operation: 4+79=83 Exploring Operation: 79-65=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 37:[4, 14] Operation: 79-65=14 Exploring Operation: 4+65=69, Resulting Numbers: [79, 69] Generated Node #0,2,3: 37:[79, 69] Operation: 4+65=69 Exploring Operation: 79-4=75, Resulting Numbers: [65, 75] Generated Node #0,2,4: 37:[65, 75] Operation: 79-4=75 Moving to Node #0,3 Current State: 37:[17, 65, 92], Operations: ['96-4=92'] Exploring Operation: 92-17=75, Resulting Numbers: [65, 75] Generated Node #0,3,0: 37:[65, 75] Operation: 92-17=75 Exploring Operation: 92-65=27, Resulting Numbers: [17, 27] Generated Node #0,3,1: 37:[17, 27] Operation: 92-65=27 Exploring Operation: 65-17=48, Resulting Numbers: [92, 48] Generated Node #0,3,2: 37:[92, 48] Operation: 65-17=48 Exploring Operation: 17+92=109, Resulting Numbers: [65, 109] Generated Node #0,3,3: 37:[65, 109] Operation: 17+92=109 Exploring Operation: 17+65=82, Resulting Numbers: [92, 82] Generated Node #0,3,4: 37:[92, 82] Operation: 17+65=82 Moving to Node #0,4,0 Current State: 37:[17, 35], Operations: ['96-65=31', '4+31=35'] Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,37 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[31, 21], Operations: ['96-65=31', '4+17=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,37 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[21, 31], Operations: ['4+17=21', '96-65=31'] Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,37 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[24, 48], Operations: ['96/4=24', '65-17=48'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[17, 41], Operations: ['96/4=24', '65-24=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,37 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,37 unequal: No Solution Moving to Node #0,0,0,0 Current State: 37:[24], Operations: ['96/4=24', '65-17=48', '48-24=24'] Moving to Node #0,0,4,0 Current State: 37:[24], Operations: ['96/4=24', '65-24=41', '41-17=24'] Moving to Node #0,4,1 Current State: 37:[31, 13], Operations: ['96-65=31', '17-4=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,37 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,37 unequal: No Solution Moving to Node #0,4,2,0 Current State: 37:[52], Operations: ['96-65=31', '4+17=21', '31+21=52'] Moving to Node #0,1,1,0 Current State: 37:[52], Operations: ['4+17=21', '96-65=31', '21+31=52'] Moving to Node #0,4,1,0 Current State: 37:[44], Operations: ['96-65=31', '17-4=13', '31+13=44'] Moving to Node #0,4,0,0 Current State: 37:[52], Operations: ['96-65=31', '4+31=35', '17+35=52'] Moving to Node #0,3,1 Current State: 37:[17, 27], Operations: ['96-4=92', '92-65=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[17, 27], Operations: ['96-65=31', '31-4=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,37 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[65, 41], Operations: ['96/4=24', '17+24=41'] Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,37 unequal: No Solution Moving to Node #0,3,1,0 Current State: 37:[44], Operations: ['96-4=92', '92-65=27', '17+27=44'] Moving to Node #0,4,4,0 Current State: 37:[44], Operations: ['96-65=31', '31-4=27', '17+27=44'] Moving to Node #0,0,1,0 Current State: 37:[24], Operations: ['96/4=24', '17+24=41', '65-41=24'] Moving to Node #0,4,3 Current State: 37:[31, 68], Operations: ['96-65=31', '4*17=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,37 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.946181
bfs_5
Current State: 37:[96, 4, 17, 65], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [4, 17, 31] Generated Node #2: [4, 17, 31] from Operation: 96-65=31 Current State: 37:[4, 17, 31], Operations: ['96-65=31'] Exploring Operation: 4*17=68, Resulting Numbers: [31, 68] Generated Node #3: [31, 68] from Operation: 4*17=68 Current State: 37:[31, 68], Operations: ['96-65=31', '4*17=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
sum_heuristic
[ 62, 42, 14, 49 ]
36
[ "49-42=7", "14*7=98", "98-62=36" ]
Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [42, 14, 13] Generated Node #0,0: 36:[42, 14, 13] Operation: 62-49=13 Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 42/14=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 36:[13, 3] Operation: 42/14=3 Moving to Node #0,0,0 Current State: 36:[13, 3], Operations: ['62-49=13', '42/14=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[13, 3], Operations: ['62-49=13', '42/14=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[13, 3], Operations: ['62-49=13', '42/14=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 14-13=1, Resulting Numbers: [42, 1] Generated Node #0,0,1: 36:[42, 1] Operation: 14-13=1 Moving to Node #0,0,1 Current State: 36:[42, 1], Operations: ['62-49=13', '14-13=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[42, 1], Operations: ['62-49=13', '14-13=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[42, 1], Operations: ['62-49=13', '14-13=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[42, 1], Operations: ['62-49=13', '14-13=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 42-14=28, Resulting Numbers: [13, 28] Generated Node #0,0,2: 36:[13, 28] Operation: 42-14=28 Moving to Node #0,0,2 Current State: 36:[13, 28], Operations: ['62-49=13', '42-14=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[13, 28], Operations: ['62-49=13', '42-14=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 42-13=29, Resulting Numbers: [14, 29] Generated Node #0,0,3: 36:[14, 29] Operation: 42-13=29 Moving to Node #0,0,3 Current State: 36:[14, 29], Operations: ['62-49=13', '42-13=29'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[14, 29], Operations: ['62-49=13', '42-13=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 14+13=27, Resulting Numbers: [42, 27] Generated Node #0,0,4: 36:[42, 27] Operation: 14+13=27 Moving to Node #0,0,4 Current State: 36:[42, 27], Operations: ['62-49=13', '14+13=27'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[42, 27], Operations: ['62-49=13', '14+13=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 42+14=56, Resulting Numbers: [13, 56] Generated Node #0,0,5: 36:[13, 56] Operation: 42+14=56 Moving to Node #0,0,5 Current State: 36:[13, 56], Operations: ['62-49=13', '42+14=56'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,0,5 Current State: 36:[13, 56], Operations: ['62-49=13', '42+14=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,0 Current State: 36:[42, 14, 13], Operations: ['62-49=13'] Exploring Operation: 42+13=55, Resulting Numbers: [14, 55] Generated Node #0,0,6: 36:[14, 55] Operation: 42+13=55 Moving to Node #0,0,6 Current State: 36:[14, 55], Operations: ['62-49=13', '42+13=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,0,6 Current State: 36:[14, 55], Operations: ['62-49=13', '42+13=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0 Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [14, 49, 20] Generated Node #0,1: 36:[14, 49, 20] Operation: 62-42=20 Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 49-14=35, Resulting Numbers: [20, 35] Generated Node #0,1,0: 36:[20, 35] Operation: 49-14=35 Moving to Node #0,1,0 Current State: 36:[20, 35], Operations: ['62-42=20', '49-14=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[20, 35], Operations: ['62-42=20', '49-14=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 49-20=29, Resulting Numbers: [14, 29] Generated Node #0,1,1: 36:[14, 29] Operation: 49-20=29 Moving to Node #0,1,1 Current State: 36:[14, 29], Operations: ['62-42=20', '49-20=29'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[14, 29], Operations: ['62-42=20', '49-20=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 20-14=6, Resulting Numbers: [49, 6] Generated Node #0,1,2: 36:[49, 6] Operation: 20-14=6 Moving to Node #0,1,2 Current State: 36:[49, 6], Operations: ['62-42=20', '20-14=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[49, 6], Operations: ['62-42=20', '20-14=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 14+20=34, Resulting Numbers: [49, 34] Generated Node #0,1,3: 36:[49, 34] Operation: 14+20=34 Moving to Node #0,1,3 Current State: 36:[49, 34], Operations: ['62-42=20', '14+20=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 14+49=63, Resulting Numbers: [20, 63] Generated Node #0,1,4: 36:[20, 63] Operation: 14+49=63 Moving to Node #0,1,4 Current State: 36:[20, 63], Operations: ['62-42=20', '14+49=63'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,1 Current State: 36:[14, 49, 20], Operations: ['62-42=20'] Exploring Operation: 49+20=69, Resulting Numbers: [14, 69] Generated Node #0,1,5: 36:[14, 69] Operation: 49+20=69 Moving to Node #0,1,5 Current State: 36:[14, 69], Operations: ['62-42=20', '49+20=69'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0 Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [62, 14, 7] Generated Node #0,2: 36:[62, 14, 7] Operation: 49-42=7 Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 62-14=48, Resulting Numbers: [7, 48] Generated Node #0,2,0: 36:[7, 48] Operation: 62-14=48 Moving to Node #0,2,0 Current State: 36:[7, 48], Operations: ['49-42=7', '62-14=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[7, 48], Operations: ['49-42=7', '62-14=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 62-7=55, Resulting Numbers: [14, 55] Generated Node #0,2,1: 36:[14, 55] Operation: 62-7=55 Moving to Node #0,2,1 Current State: 36:[14, 55], Operations: ['49-42=7', '62-7=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[14, 55], Operations: ['49-42=7', '62-7=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 14/7=2, Resulting Numbers: [62, 2] Generated Node #0,2,2: 36:[62, 2] Operation: 14/7=2 Moving to Node #0,2,2 Current State: 36:[62, 2], Operations: ['49-42=7', '14/7=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[62, 2], Operations: ['49-42=7', '14/7=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[62, 2], Operations: ['49-42=7', '14/7=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 14-7=7, Resulting Numbers: [62, 7] Generated Node #0,2,3: 36:[62, 7] Operation: 14-7=7 Moving to Node #0,2,3 Current State: 36:[62, 7], Operations: ['49-42=7', '14-7=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[62, 7], Operations: ['49-42=7', '14-7=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 14+7=21, Resulting Numbers: [62, 21] Generated Node #0,2,4: 36:[62, 21] Operation: 14+7=21 Moving to Node #0,2,4 Current State: 36:[62, 21], Operations: ['49-42=7', '14+7=21'] Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,2 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 62+7=69, Resulting Numbers: [14, 69] Generated Node #0,2,5: 36:[14, 69] Operation: 62+7=69 Moving to Node #0,2,5 Current State: 36:[14, 69], Operations: ['49-42=7', '62+7=69'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0 Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [42, 49, 48] Generated Node #0,3: 36:[42, 49, 48] Operation: 62-14=48 Moving to Node #0,3 Current State: 36:[42, 49, 48], Operations: ['62-14=48'] Exploring Operation: 49-48=1, Resulting Numbers: [42, 1] Generated Node #0,3,0: 36:[42, 1] Operation: 49-48=1 Moving to Node #0,3,0 Current State: 36:[42, 1], Operations: ['62-14=48', '49-48=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[42, 1], Operations: ['62-14=48', '49-48=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[42, 1], Operations: ['62-14=48', '49-48=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[42, 1], Operations: ['62-14=48', '49-48=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[42, 49, 48], Operations: ['62-14=48'] Exploring Operation: 49-42=7, Resulting Numbers: [48, 7] Generated Node #0,3,1: 36:[48, 7] Operation: 49-42=7 Moving to Node #0,3,1 Current State: 36:[48, 7], Operations: ['62-14=48', '49-42=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[48, 7], Operations: ['62-14=48', '49-42=7'] Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,3 Current State: 36:[42, 49, 48], Operations: ['62-14=48'] Exploring Operation: 48-42=6, Resulting Numbers: [49, 6] Generated Node #0,3,2: 36:[49, 6] Operation: 48-42=6 Moving to Node #0,3,2 Current State: 36:[49, 6], Operations: ['62-14=48', '48-42=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[49, 6], Operations: ['62-14=48', '48-42=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0 Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [62, 42, 35] Generated Node #0,4: 36:[62, 42, 35] Operation: 49-14=35 Moving to Node #0,4 Current State: 36:[62, 42, 35], Operations: ['49-14=35'] Exploring Operation: 62-42=20, Resulting Numbers: [35, 20] Generated Node #0,4,0: 36:[35, 20] Operation: 62-42=20 Moving to Node #0,4,0 Current State: 36:[35, 20], Operations: ['49-14=35', '62-42=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[35, 20], Operations: ['49-14=35', '62-42=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[62, 42, 35], Operations: ['49-14=35'] Exploring Operation: 62-35=27, Resulting Numbers: [42, 27] Generated Node #0,4,1: 36:[42, 27] Operation: 62-35=27 Moving to Node #0,4,1 Current State: 36:[42, 27], Operations: ['49-14=35', '62-35=27'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[42, 27], Operations: ['49-14=35', '62-35=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,4 Current State: 36:[62, 42, 35], Operations: ['49-14=35'] Exploring Operation: 42-35=7, Resulting Numbers: [62, 7] Generated Node #0,4,2: 36:[62, 7] Operation: 42-35=7 Moving to Node #0,4,2 Current State: 36:[62, 7], Operations: ['49-14=35', '42-35=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[62, 7], Operations: ['49-14=35', '42-35=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,36 unequal: No Solution
0
dfs
Current State: 36:[62, 42, 14, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [62, 14, 7] Generated Node #2: [62, 14, 7] from Operation: 49-42=7 Current State: 36:[62, 14, 7], Operations: ['49-42=7'] Exploring Operation: 14*7=98, Resulting Numbers: [62, 98] Generated Node #3: [62, 98] from Operation: 14*7=98 Current State: 36:[62, 98], Operations: ['49-42=7', '14*7=98'] Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
mult_heuristic
[ 75, 90, 65, 14 ]
94
[ "90-75=15", "65+14=79", "15+79=94" ]
Current State: 94:[75, 90, 65, 14], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [90, 14, 10] Generated Node #0,0: 94:[90, 14, 10] Operation: 75-65=10 Moving to Node #0,0 Current State: 94:[90, 14, 10], Operations: ['75-65=10'] Exploring Operation: 14-10=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 94:[90, 4] Operation: 14-10=4 Moving to Node #0,0,0 Current State: 94:[90, 4], Operations: ['75-65=10', '14-10=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.996528
dfs
Current State: 94:[75, 90, 65, 14], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [65, 14, 15] Generated Node #2: [65, 14, 15] from Operation: 90-75=15 Current State: 94:[65, 14, 15], Operations: ['90-75=15'] Exploring Operation: 65+14=79, Resulting Numbers: [15, 79] Generated Node #3: [15, 79] from Operation: 65+14=79 Current State: 94:[15, 79], Operations: ['90-75=15', '65+14=79'] Exploring Operation: 15+79=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
mult_heuristic
[ 58, 72, 8, 87 ]
65
[ "72-58=14", "87-8=79", "79-14=65" ]
Current State: 65:[58, 72, 8, 87], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [58, 8, 15] Generated Node #0,0: 65:[58, 8, 15] Operation: 87-72=15 Moving to Node #0,0 Current State: 65:[58, 8, 15], Operations: ['87-72=15'] Exploring Operation: 58+8=66, Resulting Numbers: [15, 66] Generated Node #0,0,0: 65:[15, 66] Operation: 58+8=66 Moving to Node #0,0,0 Current State: 65:[15, 66], Operations: ['87-72=15', '58+8=66'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[15, 66], Operations: ['87-72=15', '58+8=66'] Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,65 unequal: No Solution Moving to Node #0,0 Current State: 65:[58, 8, 15], Operations: ['87-72=15'] Exploring Operation: 15-8=7, Resulting Numbers: [58, 7] Generated Node #0,0,1: 65:[58, 7] Operation: 15-8=7 Moving to Node #0,0,1 Current State: 65:[58, 7], Operations: ['87-72=15', '15-8=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.993924
dfs
Current State: 65:[58, 72, 8, 87], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [8, 87, 14] Generated Node #2: [8, 87, 14] from Operation: 72-58=14 Current State: 65:[8, 87, 14], Operations: ['72-58=14'] Exploring Operation: 87-8=79, Resulting Numbers: [14, 79] Generated Node #3: [14, 79] from Operation: 87-8=79 Current State: 65:[14, 79], Operations: ['72-58=14', '87-8=79'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
mult_heuristic
[ 77, 52, 75, 91 ]
78
[ "77-75=2", "91-52=39", "2*39=78" ]
Current State: 78:[77, 52, 75, 91], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [75, 91, 25] Generated Node #0,0: 78:[75, 91, 25] Operation: 77-52=25 Exploring Operation: 91-52=39, Resulting Numbers: [77, 75, 39] Generated Node #0,1: 78:[77, 75, 39] Operation: 91-52=39 Moving to Node #0,1 Current State: 78:[77, 75, 39], Operations: ['91-52=39'] Exploring Operation: 77-39=38, Resulting Numbers: [75, 38] Generated Node #0,1,0: 78:[75, 38] Operation: 77-39=38 Exploring Operation: 77-75=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 78:[39, 2] Operation: 77-75=2 Moving to Node #0,0 Current State: 78:[75, 91, 25], Operations: ['77-52=25'] Exploring Operation: 75/25=3, Resulting Numbers: [91, 3] Generated Node #0,0,0: 78:[91, 3] Operation: 75/25=3 Exploring Operation: 91-75=16, Resulting Numbers: [25, 16] Generated Node #0,0,1: 78:[25, 16] Operation: 91-75=16 Moving to Node #0,1,1 Current State: 78:[39, 2], Operations: ['91-52=39', '77-75=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.992188
bfs_2
Current State: 78:[77, 52, 75, 91], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [52, 91, 2] Generated Node #2: [52, 91, 2] from Operation: 77-75=2 Current State: 78:[52, 91, 2], Operations: ['77-75=2'] Exploring Operation: 91-52=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 91-52=39 Current State: 78:[2, 39], Operations: ['77-75=2', '91-52=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
mult_heuristic
[ 63, 4, 61, 64 ]
25
[ "64-61=3", "63/3=21", "4+21=25" ]
Current State: 25:[63, 4, 61, 64], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [4, 64, 2] Generated Node #0,0: 25:[4, 64, 2] Operation: 63-61=2 Exploring Operation: 64-61=3, Resulting Numbers: [63, 4, 3] Generated Node #0,1: 25:[63, 4, 3] Operation: 64-61=3 Exploring Operation: 64-63=1, Resulting Numbers: [4, 61, 1] Generated Node #0,2: 25:[4, 61, 1] Operation: 64-63=1 Moving to Node #0,1 Current State: 25:[63, 4, 3], Operations: ['64-61=3'] Exploring Operation: 63/3=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 25:[4, 21] Operation: 63/3=21 Exploring Operation: 63-4=59, Resulting Numbers: [3, 59] Generated Node #0,1,1: 25:[3, 59] Operation: 63-4=59 Exploring Operation: 63-3=60, Resulting Numbers: [4, 60] Generated Node #0,1,2: 25:[4, 60] Operation: 63-3=60 Moving to Node #0,2 Current State: 25:[4, 61, 1], Operations: ['64-63=1'] Exploring Operation: 4+1=5, Resulting Numbers: [61, 5] Generated Node #0,2,0: 25:[61, 5] Operation: 4+1=5 Exploring Operation: 61-4=57, Resulting Numbers: [1, 57] Generated Node #0,2,1: 25:[1, 57] Operation: 61-4=57 Exploring Operation: 61-1=60, Resulting Numbers: [4, 60] Generated Node #0,2,2: 25:[4, 60] Operation: 61-1=60 Moving to Node #0,0 Current State: 25:[4, 64, 2], Operations: ['63-61=2'] Exploring Operation: 64-4=60, Resulting Numbers: [2, 60] Generated Node #0,0,0: 25:[2, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [2, 16] Generated Node #0,0,1: 25:[2, 16] Operation: 64/4=16 Exploring Operation: 64/2=32, Resulting Numbers: [4, 32] Generated Node #0,0,2: 25:[4, 32] Operation: 64/2=32 Moving to Node #0,1,0 Current State: 25:[4, 21], Operations: ['64-61=3', '63/3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.987847
bfs_3
Current State: 25:[63, 4, 61, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [63, 4, 3] Generated Node #2: [63, 4, 3] from Operation: 64-61=3 Current State: 25:[63, 4, 3], Operations: ['64-61=3'] Exploring Operation: 63/3=21, Resulting Numbers: [4, 21] Generated Node #3: [4, 21] from Operation: 63/3=21 Current State: 25:[4, 21], Operations: ['64-61=3', '63/3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
mult_heuristic
[ 72, 35, 5, 11 ]
21
[ "72-35=37", "5+11=16", "37-16=21" ]
Current State: 21:[72, 35, 5, 11], Operations: []
0
dfs
Current State: 21:[72, 35, 5, 11], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [5, 11, 37] Generated Node #2: [5, 11, 37] from Operation: 72-35=37 Current State: 21:[5, 11, 37], Operations: ['72-35=37'] Exploring Operation: 5+11=16, Resulting Numbers: [37, 16] Generated Node #3: [37, 16] from Operation: 5+11=16 Current State: 21:[37, 16], Operations: ['72-35=37', '5+11=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
mult_heuristic
[ 3, 20, 60, 15 ]
32
[ "3*60=180", "180/15=12", "20+12=32" ]
Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [20, 15, 20] Generated Node #0,0: 32:[20, 15, 20] Operation: 60/3=20 Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20+15=35, Resulting Numbers: [20, 35] Generated Node #0,0,0: 32:[20, 35] Operation: 20+15=35 Moving to Node #0,0,0 Current State: 32:[20, 35], Operations: ['60/3=20', '20+15=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[20, 35], Operations: ['60/3=20', '20+15=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 15+20=35, Resulting Numbers: [20, 35] Generated Node #0,0,1: 32:[20, 35] Operation: 15+20=35 Moving to Node #0,0,1 Current State: 32:[20, 35], Operations: ['60/3=20', '15+20=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[20, 35], Operations: ['60/3=20', '15+20=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20+20=40, Resulting Numbers: [15, 40] Generated Node #0,0,2: 32:[15, 40] Operation: 20+20=40 Moving to Node #0,0,2 Current State: 32:[15, 40], Operations: ['60/3=20', '20+20=40'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[15, 40], Operations: ['60/3=20', '20+20=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20-15=5, Resulting Numbers: [20, 5] Generated Node #0,0,3: 32:[20, 5] Operation: 20-15=5 Moving to Node #0,0,3 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20-15=5, Resulting Numbers: [20, 5] Generated Node #0,0,4: 32:[20, 5] Operation: 20-15=5 Moving to Node #0,0,4 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[20, 5], Operations: ['60/3=20', '20-15=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20/20=1, Resulting Numbers: [15, 1] Generated Node #0,0,5: 32:[15, 1] Operation: 20/20=1 Moving to Node #0,0,5 Current State: 32:[15, 1], Operations: ['60/3=20', '20/20=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,0,5 Current State: 32:[15, 1], Operations: ['60/3=20', '20/20=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,5 Current State: 32:[15, 1], Operations: ['60/3=20', '20/20=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,5 Current State: 32:[15, 1], Operations: ['60/3=20', '20/20=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,32 unequal: No Solution Moving to Node #0,0 Current State: 32:[20, 15, 20], Operations: ['60/3=20'] Exploring Operation: 20-20=0, Resulting Numbers: [15, 0] Generated Node #0,0,6: 32:[15, 0] Operation: 20-20=0 Moving to Node #0,0,6 Current State: 32:[15, 0], Operations: ['60/3=20', '20-20=0'] Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,6 Current State: 32:[15, 0], Operations: ['60/3=20', '20-20=0'] Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,0,6 Current State: 32:[15, 0], Operations: ['60/3=20', '20-20=0'] Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [20, 60, 45] Generated Node #0,1: 32:[20, 60, 45] Operation: 3*15=45 Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 60-20=40, Resulting Numbers: [45, 40] Generated Node #0,1,0: 32:[45, 40] Operation: 60-20=40 Moving to Node #0,1,0 Current State: 32:[45, 40], Operations: ['3*15=45', '60-20=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 60-45=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 32:[20, 15] Operation: 60-45=15 Moving to Node #0,1,1 Current State: 32:[20, 15], Operations: ['3*15=45', '60-45=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[20, 15], Operations: ['3*15=45', '60-45=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 45-20=25, Resulting Numbers: [60, 25] Generated Node #0,1,2: 32:[60, 25] Operation: 45-20=25 Moving to Node #0,1,2 Current State: 32:[60, 25], Operations: ['3*15=45', '45-20=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 60/20=3, Resulting Numbers: [45, 3] Generated Node #0,1,3: 32:[45, 3] Operation: 60/20=3 Moving to Node #0,1,3 Current State: 32:[45, 3], Operations: ['3*15=45', '60/20=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[45, 3], Operations: ['3*15=45', '60/20=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[45, 3], Operations: ['3*15=45', '60/20=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 20+60=80, Resulting Numbers: [45, 80] Generated Node #0,1,4: 32:[45, 80] Operation: 20+60=80 Moving to Node #0,1,4 Current State: 32:[45, 80], Operations: ['3*15=45', '20+60=80'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1 Current State: 32:[20, 60, 45], Operations: ['3*15=45'] Exploring Operation: 20+45=65, Resulting Numbers: [60, 65] Generated Node #0,1,5: 32:[60, 65] Operation: 20+45=65 Moving to Node #0,1,5 Current State: 32:[60, 65], Operations: ['3*15=45', '20+45=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 3+20=23, Resulting Numbers: [60, 15, 23] Generated Node #0,2: 32:[60, 15, 23] Operation: 3+20=23 Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 60-15=45, Resulting Numbers: [23, 45] Generated Node #0,2,0: 32:[23, 45] Operation: 60-15=45 Moving to Node #0,2,0 Current State: 32:[23, 45], Operations: ['3+20=23', '60-15=45'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 60-23=37, Resulting Numbers: [15, 37] Generated Node #0,2,1: 32:[15, 37] Operation: 60-23=37 Moving to Node #0,2,1 Current State: 32:[15, 37], Operations: ['3+20=23', '60-23=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[15, 37], Operations: ['3+20=23', '60-23=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 15+23=38, Resulting Numbers: [60, 38] Generated Node #0,2,2: 32:[60, 38] Operation: 15+23=38 Moving to Node #0,2,2 Current State: 32:[60, 38], Operations: ['3+20=23', '15+23=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 60/15=4, Resulting Numbers: [23, 4] Generated Node #0,2,3: 32:[23, 4] Operation: 60/15=4 Moving to Node #0,2,3 Current State: 32:[23, 4], Operations: ['3+20=23', '60/15=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[23, 4], Operations: ['3+20=23', '60/15=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 60+15=75, Resulting Numbers: [23, 75] Generated Node #0,2,4: 32:[23, 75] Operation: 60+15=75 Moving to Node #0,2,4 Current State: 32:[23, 75], Operations: ['3+20=23', '60+15=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,2 Current State: 32:[60, 15, 23], Operations: ['3+20=23'] Exploring Operation: 23-15=8, Resulting Numbers: [60, 8] Generated Node #0,2,5: 32:[60, 8] Operation: 23-15=8 Moving to Node #0,2,5 Current State: 32:[60, 8], Operations: ['3+20=23', '23-15=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 60-3=57, Resulting Numbers: [20, 15, 57] Generated Node #0,3: 32:[20, 15, 57] Operation: 60-3=57 Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 57-20=37, Resulting Numbers: [15, 37] Generated Node #0,3,0: 32:[15, 37] Operation: 57-20=37 Moving to Node #0,3,0 Current State: 32:[15, 37], Operations: ['60-3=57', '57-20=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[15, 37], Operations: ['60-3=57', '57-20=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 57-15=42, Resulting Numbers: [20, 42] Generated Node #0,3,1: 32:[20, 42] Operation: 57-15=42 Moving to Node #0,3,1 Current State: 32:[20, 42], Operations: ['60-3=57', '57-15=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[20, 42], Operations: ['60-3=57', '57-15=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 20+15=35, Resulting Numbers: [57, 35] Generated Node #0,3,2: 32:[57, 35] Operation: 20+15=35 Moving to Node #0,3,2 Current State: 32:[57, 35], Operations: ['60-3=57', '20+15=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 20-15=5, Resulting Numbers: [57, 5] Generated Node #0,3,3: 32:[57, 5] Operation: 20-15=5 Moving to Node #0,3,3 Current State: 32:[57, 5], Operations: ['60-3=57', '20-15=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[57, 5], Operations: ['60-3=57', '20-15=5'] Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 15+57=72, Resulting Numbers: [20, 72] Generated Node #0,3,4: 32:[20, 72] Operation: 15+57=72 Moving to Node #0,3,4 Current State: 32:[20, 72], Operations: ['60-3=57', '15+57=72'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,3 Current State: 32:[20, 15, 57], Operations: ['60-3=57'] Exploring Operation: 20+57=77, Resulting Numbers: [15, 77] Generated Node #0,3,5: 32:[15, 77] Operation: 20+57=77 Moving to Node #0,3,5 Current State: 32:[15, 77], Operations: ['60-3=57', '20+57=77'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 3+15=18, Resulting Numbers: [20, 60, 18] Generated Node #0,4: 32:[20, 60, 18] Operation: 3+15=18 Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 60-20=40, Resulting Numbers: [18, 40] Generated Node #0,4,0: 32:[18, 40] Operation: 60-20=40 Moving to Node #0,4,0 Current State: 32:[18, 40], Operations: ['3+15=18', '60-20=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[18, 40], Operations: ['3+15=18', '60-20=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 60-18=42, Resulting Numbers: [20, 42] Generated Node #0,4,1: 32:[20, 42] Operation: 60-18=42 Moving to Node #0,4,1 Current State: 32:[20, 42], Operations: ['3+15=18', '60-18=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[20, 42], Operations: ['3+15=18', '60-18=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 20+18=38, Resulting Numbers: [60, 38] Generated Node #0,4,2: 32:[60, 38] Operation: 20+18=38 Moving to Node #0,4,2 Current State: 32:[60, 38], Operations: ['3+15=18', '20+18=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 60/20=3, Resulting Numbers: [18, 3] Generated Node #0,4,3: 32:[18, 3] Operation: 60/20=3 Moving to Node #0,4,3 Current State: 32:[18, 3], Operations: ['3+15=18', '60/20=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[18, 3], Operations: ['3+15=18', '60/20=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[18, 3], Operations: ['3+15=18', '60/20=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[18, 3], Operations: ['3+15=18', '60/20=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 20-18=2, Resulting Numbers: [60, 2] Generated Node #0,4,4: 32:[60, 2] Operation: 20-18=2 Moving to Node #0,4,4 Current State: 32:[60, 2], Operations: ['3+15=18', '20-18=2'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[60, 2], Operations: ['3+15=18', '20-18=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[60, 2], Operations: ['3+15=18', '20-18=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 60+18=78, Resulting Numbers: [20, 78] Generated Node #0,4,5: 32:[20, 78] Operation: 60+18=78 Moving to Node #0,4,5 Current State: 32:[20, 78], Operations: ['3+15=18', '60+18=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,4 Current State: 32:[20, 60, 18], Operations: ['3+15=18'] Exploring Operation: 20+60=80, Resulting Numbers: [18, 80] Generated Node #0,4,6: 32:[18, 80] Operation: 20+60=80 Moving to Node #0,4,6 Current State: 32:[18, 80], Operations: ['3+15=18', '20+60=80'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [3, 15, 40] Generated Node #0,5: 32:[3, 15, 40] Operation: 60-20=40 Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 3*15=45, Resulting Numbers: [40, 45] Generated Node #0,5,0: 32:[40, 45] Operation: 3*15=45 Moving to Node #0,5,0 Current State: 32:[40, 45], Operations: ['60-20=40', '3*15=45'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 3+15=18, Resulting Numbers: [40, 18] Generated Node #0,5,1: 32:[40, 18] Operation: 3+15=18 Moving to Node #0,5,1 Current State: 32:[40, 18], Operations: ['60-20=40', '3+15=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,5,1 Current State: 32:[40, 18], Operations: ['60-20=40', '3+15=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 40-3=37, Resulting Numbers: [15, 37] Generated Node #0,5,2: 32:[15, 37] Operation: 40-3=37 Moving to Node #0,5,2 Current State: 32:[15, 37], Operations: ['60-20=40', '40-3=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,5,2 Current State: 32:[15, 37], Operations: ['60-20=40', '40-3=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 15-3=12, Resulting Numbers: [40, 12] Generated Node #0,5,3: 32:[40, 12] Operation: 15-3=12 Moving to Node #0,5,3 Current State: 32:[40, 12], Operations: ['60-20=40', '15-3=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,5,3 Current State: 32:[40, 12], Operations: ['60-20=40', '15-3=12'] Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 3+40=43, Resulting Numbers: [15, 43] Generated Node #0,5,4: 32:[15, 43] Operation: 3+40=43 Moving to Node #0,5,4 Current State: 32:[15, 43], Operations: ['60-20=40', '3+40=43'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,5,4 Current State: 32:[15, 43], Operations: ['60-20=40', '3+40=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 15/3=5, Resulting Numbers: [40, 5] Generated Node #0,5,5: 32:[40, 5] Operation: 15/3=5 Moving to Node #0,5,5 Current State: 32:[40, 5], Operations: ['60-20=40', '15/3=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,5,5 Current State: 32:[40, 5], Operations: ['60-20=40', '15/3=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,32 unequal: No Solution Moving to Node #0,5,5 Current State: 32:[40, 5], Operations: ['60-20=40', '15/3=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 40-15=25, Resulting Numbers: [3, 25] Generated Node #0,5,6: 32:[3, 25] Operation: 40-15=25 Moving to Node #0,5,6 Current State: 32:[3, 25], Operations: ['60-20=40', '40-15=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,5,6 Current State: 32:[3, 25], Operations: ['60-20=40', '40-15=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,5 Current State: 32:[3, 15, 40], Operations: ['60-20=40'] Exploring Operation: 15+40=55, Resulting Numbers: [3, 55] Generated Node #0,5,7: 32:[3, 55] Operation: 15+40=55 Moving to Node #0,5,7 Current State: 32:[3, 55], Operations: ['60-20=40', '15+40=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,5,7 Current State: 32:[3, 55], Operations: ['60-20=40', '15+40=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 60-15=45, Resulting Numbers: [3, 20, 45] Generated Node #0,6: 32:[3, 20, 45] Operation: 60-15=45 Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 3+20=23, Resulting Numbers: [45, 23] Generated Node #0,6,0: 32:[45, 23] Operation: 3+20=23 Moving to Node #0,6,0 Current State: 32:[45, 23], Operations: ['60-15=45', '3+20=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 45-3=42, Resulting Numbers: [20, 42] Generated Node #0,6,1: 32:[20, 42] Operation: 45-3=42 Moving to Node #0,6,1 Current State: 32:[20, 42], Operations: ['60-15=45', '45-3=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,6,1 Current State: 32:[20, 42], Operations: ['60-15=45', '45-3=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 20-3=17, Resulting Numbers: [45, 17] Generated Node #0,6,2: 32:[45, 17] Operation: 20-3=17 Moving to Node #0,6,2 Current State: 32:[45, 17], Operations: ['60-15=45', '20-3=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,6,2 Current State: 32:[45, 17], Operations: ['60-15=45', '20-3=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 3+45=48, Resulting Numbers: [20, 48] Generated Node #0,6,3: 32:[20, 48] Operation: 3+45=48 Moving to Node #0,6,3 Current State: 32:[20, 48], Operations: ['60-15=45', '3+45=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 45/3=15, Resulting Numbers: [20, 15] Generated Node #0,6,4: 32:[20, 15] Operation: 45/3=15 Moving to Node #0,6,4 Current State: 32:[20, 15], Operations: ['60-15=45', '45/3=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,6,4 Current State: 32:[20, 15], Operations: ['60-15=45', '45/3=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 45-20=25, Resulting Numbers: [3, 25] Generated Node #0,6,5: 32:[3, 25] Operation: 45-20=25 Moving to Node #0,6,5 Current State: 32:[3, 25], Operations: ['60-15=45', '45-20=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,6,5 Current State: 32:[3, 25], Operations: ['60-15=45', '45-20=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 3*20=60, Resulting Numbers: [45, 60] Generated Node #0,6,6: 32:[45, 60] Operation: 3*20=60 Moving to Node #0,6,6 Current State: 32:[45, 60], Operations: ['60-15=45', '3*20=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,6 Current State: 32:[3, 20, 45], Operations: ['60-15=45'] Exploring Operation: 20+45=65, Resulting Numbers: [3, 65] Generated Node #0,6,7: 32:[3, 65] Operation: 20+45=65 Moving to Node #0,6,7 Current State: 32:[3, 65], Operations: ['60-15=45', '20+45=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 20-3=17, Resulting Numbers: [60, 15, 17] Generated Node #0,7: 32:[60, 15, 17] Operation: 20-3=17 Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 60-15=45, Resulting Numbers: [17, 45] Generated Node #0,7,0: 32:[17, 45] Operation: 60-15=45 Moving to Node #0,7,0 Current State: 32:[17, 45], Operations: ['20-3=17', '60-15=45'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,7,0 Current State: 32:[17, 45], Operations: ['20-3=17', '60-15=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 60-17=43, Resulting Numbers: [15, 43] Generated Node #0,7,1: 32:[15, 43] Operation: 60-17=43 Moving to Node #0,7,1 Current State: 32:[15, 43], Operations: ['20-3=17', '60-17=43'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,7,1 Current State: 32:[15, 43], Operations: ['20-3=17', '60-17=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 15+17=32, Resulting Numbers: [60, 32] Generated Node #0,7,2: 32:[60, 32] Operation: 15+17=32 Moving to Node #0,7,2 Current State: 32:[60, 32], Operations: ['20-3=17', '15+17=32'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 60/15=4, Resulting Numbers: [17, 4] Generated Node #0,7,3: 32:[17, 4] Operation: 60/15=4 Moving to Node #0,7,3 Current State: 32:[17, 4], Operations: ['20-3=17', '60/15=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,32 unequal: No Solution Moving to Node #0,7,3 Current State: 32:[17, 4], Operations: ['20-3=17', '60/15=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 60+15=75, Resulting Numbers: [17, 75] Generated Node #0,7,4: 32:[17, 75] Operation: 60+15=75 Moving to Node #0,7,4 Current State: 32:[17, 75], Operations: ['20-3=17', '60+15=75'] Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 17-15=2, Resulting Numbers: [60, 2] Generated Node #0,7,5: 32:[60, 2] Operation: 17-15=2 Moving to Node #0,7,5 Current State: 32:[60, 2], Operations: ['20-3=17', '17-15=2'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,32 unequal: No Solution Moving to Node #0,7,5 Current State: 32:[60, 2], Operations: ['20-3=17', '17-15=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,7,5 Current State: 32:[60, 2], Operations: ['20-3=17', '17-15=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,7 Current State: 32:[60, 15, 17], Operations: ['20-3=17'] Exploring Operation: 60+17=77, Resulting Numbers: [15, 77] Generated Node #0,7,6: 32:[15, 77] Operation: 60+17=77 Moving to Node #0,7,6 Current State: 32:[15, 77], Operations: ['20-3=17', '60+17=77'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [20, 15, 63] Generated Node #0,8: 32:[20, 15, 63] Operation: 3+60=63 Moving to Node #0,8 Current State: 32:[20, 15, 63], Operations: ['3+60=63'] Exploring Operation: 63-20=43, Resulting Numbers: [15, 43] Generated Node #0,8,0: 32:[15, 43] Operation: 63-20=43 Moving to Node #0,8,0 Current State: 32:[15, 43], Operations: ['3+60=63', '63-20=43'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,8,0 Current State: 32:[15, 43], Operations: ['3+60=63', '63-20=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,8 Current State: 32:[20, 15, 63], Operations: ['3+60=63'] Exploring Operation: 63-15=48, Resulting Numbers: [20, 48] Generated Node #0,8,1: 32:[20, 48] Operation: 63-15=48 Moving to Node #0,8,1 Current State: 32:[20, 48], Operations: ['3+60=63', '63-15=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,8 Current State: 32:[20, 15, 63], Operations: ['3+60=63'] Exploring Operation: 20+15=35, Resulting Numbers: [63, 35] Generated Node #0,8,2: 32:[63, 35] Operation: 20+15=35 Moving to Node #0,8,2 Current State: 32:[63, 35], Operations: ['3+60=63', '20+15=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,8 Current State: 32:[20, 15, 63], Operations: ['3+60=63'] Exploring Operation: 20-15=5, Resulting Numbers: [63, 5] Generated Node #0,8,3: 32:[63, 5] Operation: 20-15=5 Moving to Node #0,8,3 Current State: 32:[63, 5], Operations: ['3+60=63', '20-15=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,8 Current State: 32:[20, 15, 63], Operations: ['3+60=63'] Exploring Operation: 15+63=78, Resulting Numbers: [20, 78] Generated Node #0,8,4: 32:[20, 78] Operation: 15+63=78 Moving to Node #0,8,4 Current State: 32:[20, 78], Operations: ['3+60=63', '15+63=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 15-3=12, Resulting Numbers: [20, 60, 12] Generated Node #0,9: 32:[20, 60, 12] Operation: 15-3=12 Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 60-20=40, Resulting Numbers: [12, 40] Generated Node #0,9,0: 32:[12, 40] Operation: 60-20=40 Moving to Node #0,9,0 Current State: 32:[12, 40], Operations: ['15-3=12', '60-20=40'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,9,0 Current State: 32:[12, 40], Operations: ['15-3=12', '60-20=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 20+12=32, Resulting Numbers: [60, 32] Generated Node #0,9,1: 32:[60, 32] Operation: 20+12=32 Moving to Node #0,9,1 Current State: 32:[60, 32], Operations: ['15-3=12', '20+12=32'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 60-12=48, Resulting Numbers: [20, 48] Generated Node #0,9,2: 32:[20, 48] Operation: 60-12=48 Moving to Node #0,9,2 Current State: 32:[20, 48], Operations: ['15-3=12', '60-12=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 60/12=5, Resulting Numbers: [20, 5] Generated Node #0,9,3: 32:[20, 5] Operation: 60/12=5 Moving to Node #0,9,3 Current State: 32:[20, 5], Operations: ['15-3=12', '60/12=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,9,3 Current State: 32:[20, 5], Operations: ['15-3=12', '60/12=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,9,3 Current State: 32:[20, 5], Operations: ['15-3=12', '60/12=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 60/20=3, Resulting Numbers: [12, 3] Generated Node #0,9,4: 32:[12, 3] Operation: 60/20=3 Moving to Node #0,9,4 Current State: 32:[12, 3], Operations: ['15-3=12', '60/20=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0,9,4 Current State: 32:[12, 3], Operations: ['15-3=12', '60/20=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,9,4 Current State: 32:[12, 3], Operations: ['15-3=12', '60/20=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Moving to Node #0,9,4 Current State: 32:[12, 3], Operations: ['15-3=12', '60/20=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 20-12=8, Resulting Numbers: [60, 8] Generated Node #0,9,5: 32:[60, 8] Operation: 20-12=8 Moving to Node #0,9,5 Current State: 32:[60, 8], Operations: ['15-3=12', '20-12=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,9 Current State: 32:[20, 60, 12], Operations: ['15-3=12'] Exploring Operation: 60+12=72, Resulting Numbers: [20, 72] Generated Node #0,9,6: 32:[20, 72] Operation: 60+12=72 Moving to Node #0,9,6 Current State: 32:[20, 72], Operations: ['15-3=12', '60+12=72'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 20+15=35, Resulting Numbers: [3, 60, 35] Generated Node #0,10: 32:[3, 60, 35] Operation: 20+15=35 Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 60/3=20, Resulting Numbers: [35, 20] Generated Node #0,10,0: 32:[35, 20] Operation: 60/3=20 Moving to Node #0,10,0 Current State: 32:[35, 20], Operations: ['20+15=35', '60/3=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,10,0 Current State: 32:[35, 20], Operations: ['20+15=35', '60/3=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 60-3=57, Resulting Numbers: [35, 57] Generated Node #0,10,1: 32:[35, 57] Operation: 60-3=57 Moving to Node #0,10,1 Current State: 32:[35, 57], Operations: ['20+15=35', '60-3=57'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 35-3=32, Resulting Numbers: [60, 32] Generated Node #0,10,2: 32:[60, 32] Operation: 35-3=32 Moving to Node #0,10,2 Current State: 32:[60, 32], Operations: ['20+15=35', '35-3=32'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 3+60=63, Resulting Numbers: [35, 63] Generated Node #0,10,3: 32:[35, 63] Operation: 3+60=63 Moving to Node #0,10,3 Current State: 32:[35, 63], Operations: ['20+15=35', '3+60=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 3+35=38, Resulting Numbers: [60, 38] Generated Node #0,10,4: 32:[60, 38] Operation: 3+35=38 Moving to Node #0,10,4 Current State: 32:[60, 38], Operations: ['20+15=35', '3+35=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,10 Current State: 32:[3, 60, 35], Operations: ['20+15=35'] Exploring Operation: 60-35=25, Resulting Numbers: [3, 25] Generated Node #0,10,5: 32:[3, 25] Operation: 60-35=25 Moving to Node #0,10,5 Current State: 32:[3, 25], Operations: ['20+15=35', '60-35=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,10,5 Current State: 32:[3, 25], Operations: ['20+15=35', '60-35=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0 Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [20, 60, 5] Generated Node #0,11: 32:[20, 60, 5] Operation: 15/3=5 Moving to Node #0,11 Current State: 32:[20, 60, 5], Operations: ['15/3=5'] Exploring Operation: 60/5=12, Resulting Numbers: [20, 12] Generated Node #0,11,0: 32:[20, 12] Operation: 60/5=12 Moving to Node #0,11,0 Current State: 32:[20, 12], Operations: ['15/3=5', '60/5=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.814236
dfs
Current State: 32:[3, 20, 60, 15], Operations: [] Exploring Operation: 3*60=180, Resulting Numbers: [20, 15, 180] Generated Node #2: [20, 15, 180] from Operation: 3*60=180 Current State: 32:[20, 15, 180], Operations: ['3*60=180'] Exploring Operation: 180/15=12, Resulting Numbers: [20, 12] Generated Node #3: [20, 12] from Operation: 180/15=12 Current State: 32:[20, 12], Operations: ['3*60=180', '180/15=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
sum_heuristic
[ 7, 37, 49, 66 ]
36
[ "49/7=7", "66-37=29", "7+29=36" ]
Current State: 36:[7, 37, 49, 66], Operations: [] Exploring Operation: 66-37=29, Resulting Numbers: [7, 49, 29] Generated Node #0,0: 36:[7, 49, 29] Operation: 66-37=29 Exploring Operation: 66-49=17, Resulting Numbers: [7, 37, 17] Generated Node #0,1: 36:[7, 37, 17] Operation: 66-49=17 Exploring Operation: 49/7=7, Resulting Numbers: [37, 66, 7] Generated Node #0,2: 36:[37, 66, 7] Operation: 49/7=7 Exploring Operation: 49-37=12, Resulting Numbers: [7, 66, 12] Generated Node #0,3: 36:[7, 66, 12] Operation: 49-37=12 Exploring Operation: 49-7=42, Resulting Numbers: [37, 66, 42] Generated Node #0,4: 36:[37, 66, 42] Operation: 49-7=42 Moving to Node #0,1 Current State: 36:[7, 37, 17], Operations: ['66-49=17'] Exploring Operation: 37-7=30, Resulting Numbers: [17, 30] Generated Node #0,1,0: 36:[17, 30] Operation: 37-7=30 Exploring Operation: 7+17=24, Resulting Numbers: [37, 24] Generated Node #0,1,1: 36:[37, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [37, 10] Generated Node #0,1,2: 36:[37, 10] Operation: 17-7=10 Exploring Operation: 7+37=44, Resulting Numbers: [17, 44] Generated Node #0,1,3: 36:[17, 44] Operation: 7+37=44 Exploring Operation: 37-17=20, Resulting Numbers: [7, 20] Generated Node #0,1,4: 36:[7, 20] Operation: 37-17=20 Moving to Node #0,0 Current State: 36:[7, 49, 29], Operations: ['66-37=29'] Exploring Operation: 29-7=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 36:[49, 22] Operation: 29-7=22 Exploring Operation: 49/7=7, Resulting Numbers: [29, 7] Generated Node #0,0,1: 36:[29, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [29, 42] Generated Node #0,0,2: 36:[29, 42] Operation: 49-7=42 Exploring Operation: 7+29=36, Resulting Numbers: [49, 36] Generated Node #0,0,3: 36:[49, 36] Operation: 7+29=36 Exploring Operation: 49-29=20, Resulting Numbers: [7, 20] Generated Node #0,0,4: 36:[7, 20] Operation: 49-29=20 Moving to Node #0,3 Current State: 36:[7, 66, 12], Operations: ['49-37=12'] Exploring Operation: 7+66=73, Resulting Numbers: [12, 73] Generated Node #0,3,0: 36:[12, 73] Operation: 7+66=73 Exploring Operation: 12-7=5, Resulting Numbers: [66, 5] Generated Node #0,3,1: 36:[66, 5] Operation: 12-7=5 Exploring Operation: 7+12=19, Resulting Numbers: [66, 19] Generated Node #0,3,2: 36:[66, 19] Operation: 7+12=19 Exploring Operation: 66-12=54, Resulting Numbers: [7, 54] Generated Node #0,3,3: 36:[7, 54] Operation: 66-12=54 Exploring Operation: 66-7=59, Resulting Numbers: [12, 59] Generated Node #0,3,4: 36:[12, 59] Operation: 66-7=59 Moving to Node #0,2 Current State: 36:[37, 66, 7], Operations: ['49/7=7'] Exploring Operation: 37+7=44, Resulting Numbers: [66, 44] Generated Node #0,2,0: 36:[66, 44] Operation: 37+7=44 Exploring Operation: 66-7=59, Resulting Numbers: [37, 59] Generated Node #0,2,1: 36:[37, 59] Operation: 66-7=59 Exploring Operation: 37-7=30, Resulting Numbers: [66, 30] Generated Node #0,2,2: 36:[66, 30] Operation: 37-7=30 Exploring Operation: 66+7=73, Resulting Numbers: [37, 73] Generated Node #0,2,3: 36:[37, 73] Operation: 66+7=73 Exploring Operation: 66-37=29, Resulting Numbers: [7, 29] Generated Node #0,2,4: 36:[7, 29] Operation: 66-37=29 Moving to Node #0,4 Current State: 36:[37, 66, 42], Operations: ['49-7=42'] Exploring Operation: 66-37=29, Resulting Numbers: [42, 29] Generated Node #0,4,0: 36:[42, 29] Operation: 66-37=29 Exploring Operation: 37+42=79, Resulting Numbers: [66, 79] Generated Node #0,4,1: 36:[66, 79] Operation: 37+42=79 Exploring Operation: 42-37=5, Resulting Numbers: [66, 5] Generated Node #0,4,2: 36:[66, 5] Operation: 42-37=5 Exploring Operation: 37+66=103, Resulting Numbers: [42, 103] Generated Node #0,4,3: 36:[42, 103] Operation: 37+66=103 Exploring Operation: 66-42=24, Resulting Numbers: [37, 24] Generated Node #0,4,4: 36:[37, 24] Operation: 66-42=24 Moving to Node #0,1,2 Current State: 36:[37, 10], Operations: ['66-49=17', '17-7=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[7, 20], Operations: ['66-37=29', '49-29=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[7, 20], Operations: ['66-49=17', '37-17=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,36 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[17, 30], Operations: ['66-49=17', '37-7=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,36 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[37, 24], Operations: ['49-7=42', '66-42=24'] Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,36 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,0,4,0 Current State: 36:[13], Operations: ['66-37=29', '49-29=20', '20-7=13'] Moving to Node #0,1,4,0 Current State: 36:[13], Operations: ['66-49=17', '37-17=20', '20-7=13'] Moving to Node #0,1,0,0 Current State: 36:[13], Operations: ['66-49=17', '37-7=30', '30-17=13'] Moving to Node #0,4,4,0 Current State: 36:[13], Operations: ['49-7=42', '66-42=24', '37-24=13'] Moving to Node #0,1,1 Current State: 36:[37, 24], Operations: ['66-49=17', '7+17=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,36 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,36 unequal: No Solution Moving to Node #0,1,1,0 Current State: 36:[13], Operations: ['66-49=17', '7+17=24', '37-24=13'] Moving to Node #0,0,1 Current State: 36:[29, 7], Operations: ['66-37=29', '49/7=7'] Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,36 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.955729
bfs_5
Current State: 36:[7, 37, 49, 66], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [37, 66, 7] Generated Node #2: [37, 66, 7] from Operation: 49/7=7 Current State: 36:[37, 66, 7], Operations: ['49/7=7'] Exploring Operation: 66-37=29, Resulting Numbers: [7, 29] Generated Node #3: [7, 29] from Operation: 66-37=29 Current State: 36:[7, 29], Operations: ['49/7=7', '66-37=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
mult_heuristic
[ 75, 39, 35, 72 ]
48
[ "75-72=3", "39/3=13", "35+13=48" ]
Current State: 48:[75, 39, 35, 72], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [39, 35, 3] Generated Node #0,0: 48:[39, 35, 3] Operation: 75-72=3 Moving to Node #0,0 Current State: 48:[39, 35, 3], Operations: ['75-72=3'] Exploring Operation: 39-35=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 48:[3, 4] Operation: 39-35=4 Moving to Node #0,0,0 Current State: 48:[3, 4], Operations: ['75-72=3', '39-35=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[3, 4], Operations: ['75-72=3', '39-35=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[3, 4], Operations: ['75-72=3', '39-35=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[39, 35, 3], Operations: ['75-72=3'] Exploring Operation: 39/3=13, Resulting Numbers: [35, 13] Generated Node #0,0,1: 48:[35, 13] Operation: 39/3=13 Moving to Node #0,0,1 Current State: 48:[35, 13], Operations: ['75-72=3', '39/3=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.993056
dfs
Current State: 48:[75, 39, 35, 72], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [39, 35, 3] Generated Node #2: [39, 35, 3] from Operation: 75-72=3 Current State: 48:[39, 35, 3], Operations: ['75-72=3'] Exploring Operation: 39/3=13, Resulting Numbers: [35, 13] Generated Node #3: [35, 13] from Operation: 39/3=13 Current State: 48:[35, 13], Operations: ['75-72=3', '39/3=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
mult_heuristic
[ 96, 46, 46, 31 ]
64
[ "96-31=65", "46/46=1", "65-1=64" ]
Current State: 64:[96, 46, 46, 31], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [46, 31, 50] Generated Node #0,0: 64:[46, 31, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 64:[46, 31, 50], Operations: ['96-46=50'] Exploring Operation: 50-46=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 64:[31, 4] Operation: 50-46=4 Moving to Node #0,0,0 Current State: 64:[31, 4], Operations: ['96-46=50', '50-46=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,0,0,0 Current State: 64:[35], Operations: ['96-46=50', '50-46=4', '31+4=35'] No solution found.
0
bfs_1
Current State: 64:[96, 46, 46, 31], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [46, 46, 65] Generated Node #2: [46, 46, 65] from Operation: 96-31=65 Current State: 64:[46, 46, 65], Operations: ['96-31=65'] Exploring Operation: 46/46=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 46/46=1 Current State: 64:[65, 1], Operations: ['96-31=65', '46/46=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
mult_heuristic
[ 53, 13, 11, 93 ]
52
[ "53*11=583", "93+583=676", "676/13=52" ]
Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 93-53=40, Resulting Numbers: [13, 11, 40] Generated Node #0,0: 52:[13, 11, 40] Operation: 93-53=40 Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 11+40=51, Resulting Numbers: [13, 51] Generated Node #0,0,0: 52:[13, 51] Operation: 11+40=51 Moving to Node #0,0,0 Current State: 52:[13, 51], Operations: ['93-53=40', '11+40=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[13, 51], Operations: ['93-53=40', '11+40=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 13+40=53, Resulting Numbers: [11, 53] Generated Node #0,0,1: 52:[11, 53] Operation: 13+40=53 Moving to Node #0,0,1 Current State: 52:[11, 53], Operations: ['93-53=40', '13+40=53'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[11, 53], Operations: ['93-53=40', '13+40=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 40-13=27, Resulting Numbers: [11, 27] Generated Node #0,0,2: 52:[11, 27] Operation: 40-13=27 Moving to Node #0,0,2 Current State: 52:[11, 27], Operations: ['93-53=40', '40-13=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[11, 27], Operations: ['93-53=40', '40-13=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 40-11=29, Resulting Numbers: [13, 29] Generated Node #0,0,3: 52:[13, 29] Operation: 40-11=29 Moving to Node #0,0,3 Current State: 52:[13, 29], Operations: ['93-53=40', '40-11=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[13, 29], Operations: ['93-53=40', '40-11=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 13-11=2, Resulting Numbers: [40, 2] Generated Node #0,0,4: 52:[40, 2] Operation: 13-11=2 Moving to Node #0,0,4 Current State: 52:[40, 2], Operations: ['93-53=40', '13-11=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[40, 2], Operations: ['93-53=40', '13-11=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[40, 2], Operations: ['93-53=40', '13-11=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[40, 2], Operations: ['93-53=40', '13-11=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[13, 11, 40], Operations: ['93-53=40'] Exploring Operation: 13+11=24, Resulting Numbers: [40, 24] Generated Node #0,0,5: 52:[40, 24] Operation: 13+11=24 Moving to Node #0,0,5 Current State: 52:[40, 24], Operations: ['93-53=40', '13+11=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,0,5 Current State: 52:[40, 24], Operations: ['93-53=40', '13+11=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0 Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 93-13=80, Resulting Numbers: [53, 11, 80] Generated Node #0,1: 52:[53, 11, 80] Operation: 93-13=80 Moving to Node #0,1 Current State: 52:[53, 11, 80], Operations: ['93-13=80'] Exploring Operation: 80-53=27, Resulting Numbers: [11, 27] Generated Node #0,1,0: 52:[11, 27] Operation: 80-53=27 Moving to Node #0,1,0 Current State: 52:[11, 27], Operations: ['93-13=80', '80-53=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[11, 27], Operations: ['93-13=80', '80-53=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[53, 11, 80], Operations: ['93-13=80'] Exploring Operation: 80-11=69, Resulting Numbers: [53, 69] Generated Node #0,1,1: 52:[53, 69] Operation: 80-11=69 Moving to Node #0,1,1 Current State: 52:[53, 69], Operations: ['93-13=80', '80-11=69'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[53, 11, 80], Operations: ['93-13=80'] Exploring Operation: 53-11=42, Resulting Numbers: [80, 42] Generated Node #0,1,2: 52:[80, 42] Operation: 53-11=42 Moving to Node #0,1,2 Current State: 52:[80, 42], Operations: ['93-13=80', '53-11=42'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[53, 11, 80], Operations: ['93-13=80'] Exploring Operation: 53+11=64, Resulting Numbers: [80, 64] Generated Node #0,1,3: 52:[80, 64] Operation: 53+11=64 Moving to Node #0,1,3 Current State: 52:[80, 64], Operations: ['93-13=80', '53+11=64'] Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[53, 11, 80], Operations: ['93-13=80'] Exploring Operation: 11+80=91, Resulting Numbers: [53, 91] Generated Node #0,1,4: 52:[53, 91] Operation: 11+80=91 Moving to Node #0,1,4 Current State: 52:[53, 91], Operations: ['93-13=80', '11+80=91'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0 Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [53, 13, 82] Generated Node #0,2: 52:[53, 13, 82] Operation: 93-11=82 Moving to Node #0,2 Current State: 52:[53, 13, 82], Operations: ['93-11=82'] Exploring Operation: 82-53=29, Resulting Numbers: [13, 29] Generated Node #0,2,0: 52:[13, 29] Operation: 82-53=29 Moving to Node #0,2,0 Current State: 52:[13, 29], Operations: ['93-11=82', '82-53=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[13, 29], Operations: ['93-11=82', '82-53=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,2 Current State: 52:[53, 13, 82], Operations: ['93-11=82'] Exploring Operation: 82-13=69, Resulting Numbers: [53, 69] Generated Node #0,2,1: 52:[53, 69] Operation: 82-13=69 Moving to Node #0,2,1 Current State: 52:[53, 69], Operations: ['93-11=82', '82-13=69'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,2 Current State: 52:[53, 13, 82], Operations: ['93-11=82'] Exploring Operation: 53-13=40, Resulting Numbers: [82, 40] Generated Node #0,2,2: 52:[82, 40] Operation: 53-13=40 Moving to Node #0,2,2 Current State: 52:[82, 40], Operations: ['93-11=82', '53-13=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,2 Current State: 52:[53, 13, 82], Operations: ['93-11=82'] Exploring Operation: 53+13=66, Resulting Numbers: [82, 66] Generated Node #0,2,3: 52:[82, 66] Operation: 53+13=66 Moving to Node #0,2,3 Current State: 52:[82, 66], Operations: ['93-11=82', '53+13=66'] Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,2 Current State: 52:[53, 13, 82], Operations: ['93-11=82'] Exploring Operation: 13+82=95, Resulting Numbers: [53, 95] Generated Node #0,2,4: 52:[53, 95] Operation: 13+82=95 Moving to Node #0,2,4 Current State: 52:[53, 95], Operations: ['93-11=82', '13+82=95'] Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0 Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [53, 93, 2] Generated Node #0,3: 52:[53, 93, 2] Operation: 13-11=2 Moving to Node #0,3 Current State: 52:[53, 93, 2], Operations: ['13-11=2'] Exploring Operation: 93-53=40, Resulting Numbers: [2, 40] Generated Node #0,3,0: 52:[2, 40] Operation: 93-53=40 Moving to Node #0,3,0 Current State: 52:[2, 40], Operations: ['13-11=2', '93-53=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[2, 40], Operations: ['13-11=2', '93-53=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[2, 40], Operations: ['13-11=2', '93-53=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[2, 40], Operations: ['13-11=2', '93-53=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,52 unequal: No Solution Moving to Node #0,3 Current State: 52:[53, 93, 2], Operations: ['13-11=2'] Exploring Operation: 93-2=91, Resulting Numbers: [53, 91] Generated Node #0,3,1: 52:[53, 91] Operation: 93-2=91 Moving to Node #0,3,1 Current State: 52:[53, 91], Operations: ['13-11=2', '93-2=91'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,3 Current State: 52:[53, 93, 2], Operations: ['13-11=2'] Exploring Operation: 53-2=51, Resulting Numbers: [93, 51] Generated Node #0,3,2: 52:[93, 51] Operation: 53-2=51 Moving to Node #0,3,2 Current State: 52:[93, 51], Operations: ['13-11=2', '53-2=51'] Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0,3 Current State: 52:[53, 93, 2], Operations: ['13-11=2'] Exploring Operation: 53+2=55, Resulting Numbers: [93, 55] Generated Node #0,3,3: 52:[93, 55] Operation: 53+2=55 Moving to Node #0,3,3 Current State: 52:[93, 55], Operations: ['13-11=2', '53+2=55'] Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,3 Current State: 52:[53, 93, 2], Operations: ['13-11=2'] Exploring Operation: 93+2=95, Resulting Numbers: [53, 95] Generated Node #0,3,4: 52:[53, 95] Operation: 93+2=95 Moving to Node #0,3,4 Current State: 52:[53, 95], Operations: ['13-11=2', '93+2=95'] Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,52 unequal: No Solution Moving to Node #0 Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [53, 93, 24] Generated Node #0,4: 52:[53, 93, 24] Operation: 13+11=24 Moving to Node #0,4 Current State: 52:[53, 93, 24], Operations: ['13+11=24'] Exploring Operation: 93-53=40, Resulting Numbers: [24, 40] Generated Node #0,4,0: 52:[24, 40] Operation: 93-53=40 Moving to Node #0,4,0 Current State: 52:[24, 40], Operations: ['13+11=24', '93-53=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[24, 40], Operations: ['13+11=24', '93-53=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0,4 Current State: 52:[53, 93, 24], Operations: ['13+11=24'] Exploring Operation: 93-24=69, Resulting Numbers: [53, 69] Generated Node #0,4,1: 52:[53, 69] Operation: 93-24=69 Moving to Node #0,4,1 Current State: 52:[53, 69], Operations: ['13+11=24', '93-24=69'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,4 Current State: 52:[53, 93, 24], Operations: ['13+11=24'] Exploring Operation: 53-24=29, Resulting Numbers: [93, 29] Generated Node #0,4,2: 52:[93, 29] Operation: 53-24=29 Moving to Node #0,4,2 Current State: 52:[93, 29], Operations: ['13+11=24', '53-24=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0 Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 53-11=42, Resulting Numbers: [13, 93, 42] Generated Node #0,5: 52:[13, 93, 42] Operation: 53-11=42 Moving to Node #0,5 Current State: 52:[13, 93, 42], Operations: ['53-11=42'] Exploring Operation: 93-42=51, Resulting Numbers: [13, 51] Generated Node #0,5,0: 52:[13, 51] Operation: 93-42=51 Moving to Node #0,5,0 Current State: 52:[13, 51], Operations: ['53-11=42', '93-42=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,52 unequal: No Solution Moving to Node #0,5,0 Current State: 52:[13, 51], Operations: ['53-11=42', '93-42=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,5 Current State: 52:[13, 93, 42], Operations: ['53-11=42'] Exploring Operation: 93-13=80, Resulting Numbers: [42, 80] Generated Node #0,5,1: 52:[42, 80] Operation: 93-13=80 Moving to Node #0,5,1 Current State: 52:[42, 80], Operations: ['53-11=42', '93-13=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,5 Current State: 52:[13, 93, 42], Operations: ['53-11=42'] Exploring Operation: 13+42=55, Resulting Numbers: [93, 55] Generated Node #0,5,2: 52:[93, 55] Operation: 13+42=55 Moving to Node #0,5,2 Current State: 52:[93, 55], Operations: ['53-11=42', '13+42=55'] Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,5 Current State: 52:[13, 93, 42], Operations: ['53-11=42'] Exploring Operation: 42-13=29, Resulting Numbers: [93, 29] Generated Node #0,5,3: 52:[93, 29] Operation: 42-13=29 Moving to Node #0,5,3 Current State: 52:[93, 29], Operations: ['53-11=42', '42-13=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,52 unequal: No Solution
0
dfs
Current State: 52:[53, 13, 11, 93], Operations: [] Exploring Operation: 53*11=583, Resulting Numbers: [13, 93, 583] Generated Node #2: [13, 93, 583] from Operation: 53*11=583 Current State: 52:[13, 93, 583], Operations: ['53*11=583'] Exploring Operation: 93+583=676, Resulting Numbers: [13, 676] Generated Node #3: [13, 676] from Operation: 93+583=676 Current State: 52:[13, 676], Operations: ['53*11=583', '93+583=676'] Exploring Operation: 676/13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
mult_heuristic
[ 53, 51, 68, 16 ]
18
[ "53-51=2", "68/2=34", "34-16=18" ]
Current State: 18:[53, 51, 68, 16], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [51, 16, 15] Generated Node #0,0: 18:[51, 16, 15] Operation: 68-53=15 Moving to Node #0,0 Current State: 18:[51, 16, 15], Operations: ['68-53=15'] Exploring Operation: 51-16=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 18:[15, 35] Operation: 51-16=35 Moving to Node #0,0,0 Current State: 18:[15, 35], Operations: ['68-53=15', '51-16=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,0 Current State: 18:[51, 16, 15], Operations: ['68-53=15'] Exploring Operation: 51-15=36, Resulting Numbers: [16, 36] Generated Node #0,0,1: 18:[16, 36] Operation: 51-15=36 Moving to Node #0,0,1 Current State: 18:[16, 36], Operations: ['68-53=15', '51-15=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0 Current State: 18:[53, 51, 68, 16], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [53, 16, 17] Generated Node #0,1: 18:[53, 16, 17] Operation: 68-51=17 Moving to Node #0,1 Current State: 18:[53, 16, 17], Operations: ['68-51=17'] Exploring Operation: 53-16=37, Resulting Numbers: [17, 37] Generated Node #0,1,0: 18:[17, 37] Operation: 53-16=37 Moving to Node #0,1,0 Current State: 18:[17, 37], Operations: ['68-51=17', '53-16=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,1 Current State: 18:[53, 16, 17], Operations: ['68-51=17'] Exploring Operation: 53-17=36, Resulting Numbers: [16, 36] Generated Node #0,1,1: 18:[16, 36] Operation: 53-17=36 Moving to Node #0,1,1 Current State: 18:[16, 36], Operations: ['68-51=17', '53-17=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,18 unequal: No Solution
0
dfs
Current State: 18:[53, 51, 68, 16], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [68, 16, 2] Generated Node #2: [68, 16, 2] from Operation: 53-51=2 Current State: 18:[68, 16, 2], Operations: ['53-51=2'] Exploring Operation: 68/2=34, Resulting Numbers: [16, 34] Generated Node #3: [16, 34] from Operation: 68/2=34 Current State: 18:[16, 34], Operations: ['53-51=2', '68/2=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
sum_heuristic
[ 70, 2, 96, 70 ]
13
[ "70+96=166", "166/2=83", "83-70=13" ]
Current State: 13:[70, 2, 96, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [2, 70, 26] Generated Node #0,0: 13:[2, 70, 26] Operation: 96-70=26 Moving to Node #0,0 Current State: 13:[2, 70, 26], Operations: ['96-70=26'] Exploring Operation: 70/2=35, Resulting Numbers: [26, 35] Generated Node #0,0,0: 13:[26, 35] Operation: 70/2=35 Moving to Node #0,0,0 Current State: 13:[26, 35], Operations: ['96-70=26', '70/2=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,0,0,0 Current State: 13:[9], Operations: ['96-70=26', '70/2=35', '35-26=9'] No solution found.
0
bfs_1
Current State: 13:[70, 2, 96, 70], Operations: [] Exploring Operation: 70+96=166, Resulting Numbers: [2, 166] Generated Node #2: [2, 166] from Operation: 70+96=166 Current State: 13:[2, 166], Operations: ['70+96=166'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,13 equal: Goal Reached Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
sum_heuristic
[ 39, 4, 40, 79 ]
84
[ "39-4=35", "40+79=119", "119-35=84" ]
Current State: 84:[39, 4, 40, 79], Operations: [] Exploring Operation: 4+79=83, Resulting Numbers: [39, 40, 83] Generated Node #0,0: 84:[39, 40, 83] Operation: 4+79=83 Exploring Operation: 79-39=40, Resulting Numbers: [4, 40, 40] Generated Node #0,1: 84:[4, 40, 40] Operation: 79-39=40 Exploring Operation: 40-39=1, Resulting Numbers: [4, 79, 1] Generated Node #0,2: 84:[4, 79, 1] Operation: 40-39=1 Moving to Node #0,1 Current State: 84:[4, 40, 40], Operations: ['79-39=40'] Exploring Operation: 40-40=0, Resulting Numbers: [4, 0] Generated Node #0,1,0: 84:[4, 0] Operation: 40-40=0 Exploring Operation: 4+40=44, Resulting Numbers: [40, 44] Generated Node #0,1,1: 84:[40, 44] Operation: 4+40=44 Exploring Operation: 40/40=1, Resulting Numbers: [4, 1] Generated Node #0,1,2: 84:[4, 1] Operation: 40/40=1 Moving to Node #0,0 Current State: 84:[39, 40, 83], Operations: ['4+79=83'] Exploring Operation: 40-39=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 84:[83, 1] Operation: 40-39=1 Exploring Operation: 83-40=43, Resulting Numbers: [39, 43] Generated Node #0,0,1: 84:[39, 43] Operation: 83-40=43 Exploring Operation: 83-39=44, Resulting Numbers: [40, 44] Generated Node #0,0,2: 84:[40, 44] Operation: 83-39=44 Moving to Node #0,2 Current State: 84:[4, 79, 1], Operations: ['40-39=1'] Exploring Operation: 4*1=4, Resulting Numbers: [79, 4] Generated Node #0,2,0: 84:[79, 4] Operation: 4*1=4 Exploring Operation: 79+1=80, Resulting Numbers: [4, 80] Generated Node #0,2,1: 84:[4, 80] Operation: 79+1=80 Exploring Operation: 4+79=83, Resulting Numbers: [1, 83] Generated Node #0,2,2: 84:[1, 83] Operation: 4+79=83 Moving to Node #0,1,2 Current State: 84:[4, 1], Operations: ['79-39=40', '40/40=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[1, 83], Operations: ['40-39=1', '4+79=83'] Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.983507
bfs_3
Current State: 84:[39, 4, 40, 79], Operations: [] Exploring Operation: 39-4=35, Resulting Numbers: [40, 79, 35] Generated Node #2: [40, 79, 35] from Operation: 39-4=35 Current State: 84:[40, 79, 35], Operations: ['39-4=35'] Exploring Operation: 40+79=119, Resulting Numbers: [35, 119] Generated Node #3: [35, 119] from Operation: 40+79=119 Current State: 84:[35, 119], Operations: ['39-4=35', '40+79=119'] Exploring Operation: 119-35=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
mult_heuristic
[ 36, 27, 3, 13 ]
53
[ "36+27=63", "13-3=10", "63-10=53" ]
Current State: 53:[36, 27, 3, 13], Operations: [] Exploring Operation: 3*13=39, Resulting Numbers: [36, 27, 39] Generated Node #0,0: 53:[36, 27, 39] Operation: 3*13=39 Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 36+27=63, Resulting Numbers: [39, 63] Generated Node #0,0,0: 53:[39, 63] Operation: 36+27=63 Moving to Node #0,0,0 Current State: 53:[39, 63], Operations: ['3*13=39', '36+27=63'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[39, 63], Operations: ['3*13=39', '36+27=63'] Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 27+39=66, Resulting Numbers: [36, 66] Generated Node #0,0,1: 53:[36, 66] Operation: 27+39=66 Moving to Node #0,0,1 Current State: 53:[36, 66], Operations: ['3*13=39', '27+39=66'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[36, 66], Operations: ['3*13=39', '27+39=66'] Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 36+39=75, Resulting Numbers: [27, 75] Generated Node #0,0,2: 53:[27, 75] Operation: 36+39=75 Moving to Node #0,0,2 Current State: 53:[27, 75], Operations: ['3*13=39', '36+39=75'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[27, 75], Operations: ['3*13=39', '36+39=75'] Exploring Operation: 27+75=102, Resulting Numbers: [102] 102,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 36-27=9, Resulting Numbers: [39, 9] Generated Node #0,0,3: 53:[39, 9] Operation: 36-27=9 Moving to Node #0,0,3 Current State: 53:[39, 9], Operations: ['3*13=39', '36-27=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[39, 9], Operations: ['3*13=39', '36-27=9'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 39-27=12, Resulting Numbers: [36, 12] Generated Node #0,0,4: 53:[36, 12] Operation: 39-27=12 Moving to Node #0,0,4 Current State: 53:[36, 12], Operations: ['3*13=39', '39-27=12'] Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[36, 12], Operations: ['3*13=39', '39-27=12'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[36, 12], Operations: ['3*13=39', '39-27=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[36, 27, 39], Operations: ['3*13=39'] Exploring Operation: 39-36=3, Resulting Numbers: [27, 3] Generated Node #0,0,5: 53:[27, 3] Operation: 39-36=3 Moving to Node #0,0,5 Current State: 53:[27, 3], Operations: ['3*13=39', '39-36=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,0,5 Current State: 53:[27, 3], Operations: ['3*13=39', '39-36=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,53 unequal: No Solution Moving to Node #0,0,5 Current State: 53:[27, 3], Operations: ['3*13=39', '39-36=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,0,5 Current State: 53:[27, 3], Operations: ['3*13=39', '39-36=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,53 unequal: No Solution Moving to Node #0 Current State: 53:[36, 27, 3, 13], Operations: [] Exploring Operation: 36+3=39, Resulting Numbers: [27, 13, 39] Generated Node #0,1: 53:[27, 13, 39] Operation: 36+3=39 Moving to Node #0,1 Current State: 53:[27, 13, 39], Operations: ['36+3=39'] Exploring Operation: 27+13=40, Resulting Numbers: [39, 40] Generated Node #0,1,0: 53:[39, 40] Operation: 27+13=40 Moving to Node #0,1,0 Current State: 53:[39, 40], Operations: ['36+3=39', '27+13=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[39, 40], Operations: ['36+3=39', '27+13=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,53 unequal: No Solution Moving to Node #0,1 Current State: 53:[27, 13, 39], Operations: ['36+3=39'] Exploring Operation: 13+39=52, Resulting Numbers: [27, 52] Generated Node #0,1,1: 53:[27, 52] Operation: 13+39=52 Moving to Node #0,1,1 Current State: 53:[27, 52], Operations: ['36+3=39', '13+39=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[27, 52], Operations: ['36+3=39', '13+39=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,53 unequal: No Solution Moving to Node #0,1 Current State: 53:[27, 13, 39], Operations: ['36+3=39'] Exploring Operation: 27-13=14, Resulting Numbers: [39, 14] Generated Node #0,1,2: 53:[39, 14] Operation: 27-13=14 Moving to Node #0,1,2 Current State: 53:[39, 14], Operations: ['36+3=39', '27-13=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.972222
dfs
Current State: 53:[36, 27, 3, 13], Operations: [] Exploring Operation: 36+27=63, Resulting Numbers: [3, 13, 63] Generated Node #2: [3, 13, 63] from Operation: 36+27=63 Current State: 53:[3, 13, 63], Operations: ['36+27=63'] Exploring Operation: 13-3=10, Resulting Numbers: [63, 10] Generated Node #3: [63, 10] from Operation: 13-3=10 Current State: 53:[63, 10], Operations: ['36+27=63', '13-3=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
sum_heuristic
[ 60, 13, 3, 48 ]
71
[ "60+13=73", "3*48=144", "144-73=71" ]
Current State: 71:[60, 13, 3, 48], Operations: [] Exploring Operation: 13*3=39, Resulting Numbers: [60, 48, 39] Generated Node #0,0: 71:[60, 48, 39] Operation: 13*3=39 Moving to Node #0,0 Current State: 71:[60, 48, 39], Operations: ['13*3=39'] Exploring Operation: 48+39=87, Resulting Numbers: [60, 87] Generated Node #0,0,0: 71:[60, 87] Operation: 48+39=87 Moving to Node #0,0,0 Current State: 71:[60, 87], Operations: ['13*3=39', '48+39=87'] Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,0 Current State: 71:[60, 48, 39], Operations: ['13*3=39'] Exploring Operation: 60+39=99, Resulting Numbers: [48, 99] Generated Node #0,0,1: 71:[48, 99] Operation: 60+39=99 Moving to Node #0,0,1 Current State: 71:[48, 99], Operations: ['13*3=39', '60+39=99'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,71 unequal: No Solution Moving to Node #0,0 Current State: 71:[60, 48, 39], Operations: ['13*3=39'] Exploring Operation: 60+48=108, Resulting Numbers: [39, 108] Generated Node #0,0,2: 71:[39, 108] Operation: 60+48=108 Moving to Node #0,0,2 Current State: 71:[39, 108], Operations: ['13*3=39', '60+48=108'] Exploring Operation: 108-39=69, Resulting Numbers: [69] 69,71 unequal: No Solution
0
dfs
Current State: 71:[60, 13, 3, 48], Operations: [] Exploring Operation: 60+13=73, Resulting Numbers: [3, 48, 73] Generated Node #2: [3, 48, 73] from Operation: 60+13=73 Current State: 71:[3, 48, 73], Operations: ['60+13=73'] Exploring Operation: 3*48=144, Resulting Numbers: [73, 144] Generated Node #3: [73, 144] from Operation: 3*48=144 Current State: 71:[73, 144], Operations: ['60+13=73', '3*48=144'] Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
mult_heuristic
[ 11, 63, 57, 51 ]
68
[ "11+63=74", "57-51=6", "74-6=68" ]
Current State: 68:[11, 63, 57, 51], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [11, 63, 6] Generated Node #0,0: 68:[11, 63, 6] Operation: 57-51=6 Moving to Node #0,0 Current State: 68:[11, 63, 6], Operations: ['57-51=6'] Exploring Operation: 11+6=17, Resulting Numbers: [63, 17] Generated Node #0,0,0: 68:[63, 17] Operation: 11+6=17 Moving to Node #0,0,0 Current State: 68:[63, 17], Operations: ['57-51=6', '11+6=17'] Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[63, 17], Operations: ['57-51=6', '11+6=17'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,68 unequal: No Solution Moving to Node #0,0 Current State: 68:[11, 63, 6], Operations: ['57-51=6'] Exploring Operation: 11-6=5, Resulting Numbers: [63, 5] Generated Node #0,0,1: 68:[63, 5] Operation: 11-6=5 Moving to Node #0,0,1 Current State: 68:[63, 5], Operations: ['57-51=6', '11-6=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.993924
dfs
Current State: 68:[11, 63, 57, 51], Operations: [] Exploring Operation: 11+63=74, Resulting Numbers: [57, 51, 74] Generated Node #2: [57, 51, 74] from Operation: 11+63=74 Current State: 68:[57, 51, 74], Operations: ['11+63=74'] Exploring Operation: 57-51=6, Resulting Numbers: [74, 6] Generated Node #3: [74, 6] from Operation: 57-51=6 Current State: 68:[74, 6], Operations: ['11+63=74', '57-51=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
mult_heuristic
[ 25, 89, 86, 3 ]
66
[ "89-25=64", "86-64=22", "3*22=66" ]
Current State: 66:[25, 89, 86, 3], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [86, 3, 64] Generated Node #0,0: 66:[86, 3, 64] Operation: 89-25=64 Exploring Operation: 89-86=3, Resulting Numbers: [25, 3, 3] Generated Node #0,1: 66:[25, 3, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 66:[25, 3, 3], Operations: ['89-86=3'] Exploring Operation: 25-3=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 66:[3, 22] Operation: 25-3=22 Exploring Operation: 25-3=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 66:[3, 22] Operation: 25-3=22 Moving to Node #0,0 Current State: 66:[86, 3, 64], Operations: ['89-25=64'] Exploring Operation: 86-64=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 86-64=22 Exploring Operation: 86-3=83, Resulting Numbers: [64, 83] Generated Node #0,0,1: 66:[64, 83] Operation: 86-3=83 Moving to Node #0,1,0 Current State: 66:[3, 22], Operations: ['89-86=3', '25-3=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.992188
bfs_2
Current State: 66:[25, 89, 86, 3], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [86, 3, 64] Generated Node #2: [86, 3, 64] from Operation: 89-25=64 Current State: 66:[86, 3, 64], Operations: ['89-25=64'] Exploring Operation: 86-64=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 86-64=22 Current State: 66:[3, 22], Operations: ['89-25=64', '86-64=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
mult_heuristic
[ 49, 37, 36, 22 ]
26
[ "49-37=12", "36-22=14", "12+14=26" ]
Current State: 26:[49, 37, 36, 22], Operations: [] Exploring Operation: 49-37=12, Resulting Numbers: [36, 22, 12] Generated Node #0,0: 26:[36, 22, 12] Operation: 49-37=12 Moving to Node #0,0 Current State: 26:[36, 22, 12], Operations: ['49-37=12'] Exploring Operation: 36-22=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 26:[12, 14] Operation: 36-22=14 Moving to Node #0,0,0 Current State: 26:[12, 14], Operations: ['49-37=12', '36-22=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.996528
dfs
Current State: 26:[49, 37, 36, 22], Operations: [] Exploring Operation: 49-37=12, Resulting Numbers: [36, 22, 12] Generated Node #2: [36, 22, 12] from Operation: 49-37=12 Current State: 26:[36, 22, 12], Operations: ['49-37=12'] Exploring Operation: 36-22=14, Resulting Numbers: [12, 14] Generated Node #3: [12, 14] from Operation: 36-22=14 Current State: 26:[12, 14], Operations: ['49-37=12', '36-22=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
mult_heuristic
[ 31, 58, 35, 35 ]
92
[ "35-31=4", "58-35=23", "4*23=92" ]
Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 31+58=89, Resulting Numbers: [35, 35, 89] Generated Node #0,0: 92:[35, 35, 89] Operation: 31+58=89 Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 35+35=70, Resulting Numbers: [89, 70] Generated Node #0,0,0: 92:[89, 70] Operation: 35+35=70 Moving to Node #0,0,0 Current State: 92:[89, 70], Operations: ['31+58=89', '35+35=70'] Exploring Operation: 89+70=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[89, 70], Operations: ['31+58=89', '35+35=70'] Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 35+89=124, Resulting Numbers: [35, 124] Generated Node #0,0,1: 92:[35, 124] Operation: 35+89=124 Moving to Node #0,0,1 Current State: 92:[35, 124], Operations: ['31+58=89', '35+89=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[35, 124], Operations: ['31+58=89', '35+89=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 35+89=124, Resulting Numbers: [35, 124] Generated Node #0,0,2: 92:[35, 124] Operation: 35+89=124 Moving to Node #0,0,2 Current State: 92:[35, 124], Operations: ['31+58=89', '35+89=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[35, 124], Operations: ['31+58=89', '35+89=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 35/35=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 92:[89, 1] Operation: 35/35=1 Moving to Node #0,0,3 Current State: 92:[89, 1], Operations: ['31+58=89', '35/35=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[89, 1], Operations: ['31+58=89', '35/35=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[89, 1], Operations: ['31+58=89', '35/35=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[89, 1], Operations: ['31+58=89', '35/35=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 35-35=0, Resulting Numbers: [89, 0] Generated Node #0,0,4: 92:[89, 0] Operation: 35-35=0 Moving to Node #0,0,4 Current State: 92:[89, 0], Operations: ['31+58=89', '35-35=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[89, 0], Operations: ['31+58=89', '35-35=0'] Exploring Operation: 89-0=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[89, 0], Operations: ['31+58=89', '35-35=0'] Exploring Operation: 89*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 89-35=54, Resulting Numbers: [35, 54] Generated Node #0,0,5: 92:[35, 54] Operation: 89-35=54 Moving to Node #0,0,5 Current State: 92:[35, 54], Operations: ['31+58=89', '89-35=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,5 Current State: 92:[35, 54], Operations: ['31+58=89', '89-35=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[35, 35, 89], Operations: ['31+58=89'] Exploring Operation: 89-35=54, Resulting Numbers: [35, 54] Generated Node #0,0,6: 92:[35, 54] Operation: 89-35=54 Moving to Node #0,0,6 Current State: 92:[35, 54], Operations: ['31+58=89', '89-35=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,0,6 Current State: 92:[35, 54], Operations: ['31+58=89', '89-35=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 31+35=66, Resulting Numbers: [58, 35, 66] Generated Node #0,1: 92:[58, 35, 66] Operation: 31+35=66 Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58+35=93, Resulting Numbers: [66, 93] Generated Node #0,1,0: 92:[66, 93] Operation: 58+35=93 Moving to Node #0,1,0 Current State: 92:[66, 93], Operations: ['31+35=66', '58+35=93'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[66, 93], Operations: ['31+35=66', '58+35=93'] Exploring Operation: 66+93=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 35+66=101, Resulting Numbers: [58, 101] Generated Node #0,1,1: 92:[58, 101] Operation: 35+66=101 Moving to Node #0,1,1 Current State: 92:[58, 101], Operations: ['31+35=66', '35+66=101'] Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[58, 101], Operations: ['31+35=66', '35+66=101'] Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58+66=124, Resulting Numbers: [35, 124] Generated Node #0,1,2: 92:[35, 124] Operation: 58+66=124 Moving to Node #0,1,2 Current State: 92:[35, 124], Operations: ['31+35=66', '58+66=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[35, 124], Operations: ['31+35=66', '58+66=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58-35=23, Resulting Numbers: [66, 23] Generated Node #0,1,3: 92:[66, 23] Operation: 58-35=23 Moving to Node #0,1,3 Current State: 92:[66, 23], Operations: ['31+35=66', '58-35=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[66, 23], Operations: ['31+35=66', '58-35=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 66-35=31, Resulting Numbers: [58, 31] Generated Node #0,1,4: 92:[58, 31] Operation: 66-35=31 Moving to Node #0,1,4 Current State: 92:[58, 31], Operations: ['31+35=66', '66-35=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[58, 31], Operations: ['31+35=66', '66-35=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 66-58=8, Resulting Numbers: [35, 8] Generated Node #0,1,5: 92:[35, 8] Operation: 66-58=8 Moving to Node #0,1,5 Current State: 92:[35, 8], Operations: ['31+35=66', '66-58=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,1,5 Current State: 92:[35, 8], Operations: ['31+35=66', '66-58=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 31+35=66, Resulting Numbers: [58, 35, 66] Generated Node #0,2: 92:[58, 35, 66] Operation: 31+35=66 Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58+35=93, Resulting Numbers: [66, 93] Generated Node #0,2,0: 92:[66, 93] Operation: 58+35=93 Moving to Node #0,2,0 Current State: 92:[66, 93], Operations: ['31+35=66', '58+35=93'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[66, 93], Operations: ['31+35=66', '58+35=93'] Exploring Operation: 66+93=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 35+66=101, Resulting Numbers: [58, 101] Generated Node #0,2,1: 92:[58, 101] Operation: 35+66=101 Moving to Node #0,2,1 Current State: 92:[58, 101], Operations: ['31+35=66', '35+66=101'] Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[58, 101], Operations: ['31+35=66', '35+66=101'] Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58+66=124, Resulting Numbers: [35, 124] Generated Node #0,2,2: 92:[35, 124] Operation: 58+66=124 Moving to Node #0,2,2 Current State: 92:[35, 124], Operations: ['31+35=66', '58+66=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[35, 124], Operations: ['31+35=66', '58+66=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 58-35=23, Resulting Numbers: [66, 23] Generated Node #0,2,3: 92:[66, 23] Operation: 58-35=23 Moving to Node #0,2,3 Current State: 92:[66, 23], Operations: ['31+35=66', '58-35=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[66, 23], Operations: ['31+35=66', '58-35=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 66-35=31, Resulting Numbers: [58, 31] Generated Node #0,2,4: 92:[58, 31] Operation: 66-35=31 Moving to Node #0,2,4 Current State: 92:[58, 31], Operations: ['31+35=66', '66-35=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[58, 31], Operations: ['31+35=66', '66-35=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[58, 35, 66], Operations: ['31+35=66'] Exploring Operation: 66-58=8, Resulting Numbers: [35, 8] Generated Node #0,2,5: 92:[35, 8] Operation: 66-58=8 Moving to Node #0,2,5 Current State: 92:[35, 8], Operations: ['31+35=66', '66-58=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,2,5 Current State: 92:[35, 8], Operations: ['31+35=66', '66-58=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 35+35=70, Resulting Numbers: [31, 58, 70] Generated Node #0,3: 92:[31, 58, 70] Operation: 35+35=70 Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 31+58=89, Resulting Numbers: [70, 89] Generated Node #0,3,0: 92:[70, 89] Operation: 31+58=89 Moving to Node #0,3,0 Current State: 92:[70, 89], Operations: ['35+35=70', '31+58=89'] Exploring Operation: 70+89=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[70, 89], Operations: ['35+35=70', '31+58=89'] Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 31+70=101, Resulting Numbers: [58, 101] Generated Node #0,3,1: 92:[58, 101] Operation: 31+70=101 Moving to Node #0,3,1 Current State: 92:[58, 101], Operations: ['35+35=70', '31+70=101'] Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[58, 101], Operations: ['35+35=70', '31+70=101'] Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 58-31=27, Resulting Numbers: [70, 27] Generated Node #0,3,2: 92:[70, 27] Operation: 58-31=27 Moving to Node #0,3,2 Current State: 92:[70, 27], Operations: ['35+35=70', '58-31=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[70, 27], Operations: ['35+35=70', '58-31=27'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 70-31=39, Resulting Numbers: [58, 39] Generated Node #0,3,3: 92:[58, 39] Operation: 70-31=39 Moving to Node #0,3,3 Current State: 92:[58, 39], Operations: ['35+35=70', '70-31=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[58, 39], Operations: ['35+35=70', '70-31=39'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 58+70=128, Resulting Numbers: [31, 128] Generated Node #0,3,4: 92:[31, 128] Operation: 58+70=128 Moving to Node #0,3,4 Current State: 92:[31, 128], Operations: ['35+35=70', '58+70=128'] Exploring Operation: 128-31=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[31, 128], Operations: ['35+35=70', '58+70=128'] Exploring Operation: 31+128=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[31, 58, 70], Operations: ['35+35=70'] Exploring Operation: 70-58=12, Resulting Numbers: [31, 12] Generated Node #0,3,5: 92:[31, 12] Operation: 70-58=12 Moving to Node #0,3,5 Current State: 92:[31, 12], Operations: ['35+35=70', '70-58=12'] Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,3,5 Current State: 92:[31, 12], Operations: ['35+35=70', '70-58=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 58+35=93, Resulting Numbers: [31, 35, 93] Generated Node #0,4: 92:[31, 35, 93] Operation: 58+35=93 Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 31+35=66, Resulting Numbers: [93, 66] Generated Node #0,4,0: 92:[93, 66] Operation: 31+35=66 Moving to Node #0,4,0 Current State: 92:[93, 66], Operations: ['58+35=93', '31+35=66'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[93, 66], Operations: ['58+35=93', '31+35=66'] Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93-31=62, Resulting Numbers: [35, 62] Generated Node #0,4,1: 92:[35, 62] Operation: 93-31=62 Moving to Node #0,4,1 Current State: 92:[35, 62], Operations: ['58+35=93', '93-31=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[35, 62], Operations: ['58+35=93', '93-31=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 35-31=4, Resulting Numbers: [93, 4] Generated Node #0,4,2: 92:[93, 4] Operation: 35-31=4 Moving to Node #0,4,2 Current State: 92:[93, 4], Operations: ['58+35=93', '35-31=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[93, 4], Operations: ['58+35=93', '35-31=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 31+93=124, Resulting Numbers: [35, 124] Generated Node #0,4,3: 92:[35, 124] Operation: 31+93=124 Moving to Node #0,4,3 Current State: 92:[35, 124], Operations: ['58+35=93', '31+93=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[35, 124], Operations: ['58+35=93', '31+93=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93-35=58, Resulting Numbers: [31, 58] Generated Node #0,4,4: 92:[31, 58] Operation: 93-35=58 Moving to Node #0,4,4 Current State: 92:[31, 58], Operations: ['58+35=93', '93-35=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[31, 58], Operations: ['58+35=93', '93-35=58'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 35+93=128, Resulting Numbers: [31, 128] Generated Node #0,4,5: 92:[31, 128] Operation: 35+93=128 Moving to Node #0,4,5 Current State: 92:[31, 128], Operations: ['58+35=93', '35+93=128'] Exploring Operation: 128-31=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,4,5 Current State: 92:[31, 128], Operations: ['58+35=93', '35+93=128'] Exploring Operation: 31+128=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,4 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93/31=3, Resulting Numbers: [35, 3] Generated Node #0,4,6: 92:[35, 3] Operation: 93/31=3 Moving to Node #0,4,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,92 unequal: No Solution Moving to Node #0,4,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,4,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 58+35=93, Resulting Numbers: [31, 35, 93] Generated Node #0,5: 92:[31, 35, 93] Operation: 58+35=93 Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 31+35=66, Resulting Numbers: [93, 66] Generated Node #0,5,0: 92:[93, 66] Operation: 31+35=66 Moving to Node #0,5,0 Current State: 92:[93, 66], Operations: ['58+35=93', '31+35=66'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,5,0 Current State: 92:[93, 66], Operations: ['58+35=93', '31+35=66'] Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93-31=62, Resulting Numbers: [35, 62] Generated Node #0,5,1: 92:[35, 62] Operation: 93-31=62 Moving to Node #0,5,1 Current State: 92:[35, 62], Operations: ['58+35=93', '93-31=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,5,1 Current State: 92:[35, 62], Operations: ['58+35=93', '93-31=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 35-31=4, Resulting Numbers: [93, 4] Generated Node #0,5,2: 92:[93, 4] Operation: 35-31=4 Moving to Node #0,5,2 Current State: 92:[93, 4], Operations: ['58+35=93', '35-31=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,5,2 Current State: 92:[93, 4], Operations: ['58+35=93', '35-31=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 31+93=124, Resulting Numbers: [35, 124] Generated Node #0,5,3: 92:[35, 124] Operation: 31+93=124 Moving to Node #0,5,3 Current State: 92:[35, 124], Operations: ['58+35=93', '31+93=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,5,3 Current State: 92:[35, 124], Operations: ['58+35=93', '31+93=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93-35=58, Resulting Numbers: [31, 58] Generated Node #0,5,4: 92:[31, 58] Operation: 93-35=58 Moving to Node #0,5,4 Current State: 92:[31, 58], Operations: ['58+35=93', '93-35=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,5,4 Current State: 92:[31, 58], Operations: ['58+35=93', '93-35=58'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 35+93=128, Resulting Numbers: [31, 128] Generated Node #0,5,5: 92:[31, 128] Operation: 35+93=128 Moving to Node #0,5,5 Current State: 92:[31, 128], Operations: ['58+35=93', '35+93=128'] Exploring Operation: 128-31=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,5,5 Current State: 92:[31, 128], Operations: ['58+35=93', '35+93=128'] Exploring Operation: 31+128=159, Resulting Numbers: [159] 159,92 unequal: No Solution Moving to Node #0,5 Current State: 92:[31, 35, 93], Operations: ['58+35=93'] Exploring Operation: 93/31=3, Resulting Numbers: [35, 3] Generated Node #0,5,6: 92:[35, 3] Operation: 93/31=3 Moving to Node #0,5,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,92 unequal: No Solution Moving to Node #0,5,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,5,6 Current State: 92:[35, 3], Operations: ['58+35=93', '93/31=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [35, 35, 27] Generated Node #0,6: 92:[35, 35, 27] Operation: 58-31=27 Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35+35=70, Resulting Numbers: [27, 70] Generated Node #0,6,0: 92:[27, 70] Operation: 35+35=70 Moving to Node #0,6,0 Current State: 92:[27, 70], Operations: ['58-31=27', '35+35=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,6,0 Current State: 92:[27, 70], Operations: ['58-31=27', '35+35=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35+27=62, Resulting Numbers: [35, 62] Generated Node #0,6,1: 92:[35, 62] Operation: 35+27=62 Moving to Node #0,6,1 Current State: 92:[35, 62], Operations: ['58-31=27', '35+27=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,6,1 Current State: 92:[35, 62], Operations: ['58-31=27', '35+27=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35+27=62, Resulting Numbers: [35, 62] Generated Node #0,6,2: 92:[35, 62] Operation: 35+27=62 Moving to Node #0,6,2 Current State: 92:[35, 62], Operations: ['58-31=27', '35+27=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,6,2 Current State: 92:[35, 62], Operations: ['58-31=27', '35+27=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35-27=8, Resulting Numbers: [35, 8] Generated Node #0,6,3: 92:[35, 8] Operation: 35-27=8 Moving to Node #0,6,3 Current State: 92:[35, 8], Operations: ['58-31=27', '35-27=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,6,3 Current State: 92:[35, 8], Operations: ['58-31=27', '35-27=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35-27=8, Resulting Numbers: [35, 8] Generated Node #0,6,4: 92:[35, 8] Operation: 35-27=8 Moving to Node #0,6,4 Current State: 92:[35, 8], Operations: ['58-31=27', '35-27=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,6,4 Current State: 92:[35, 8], Operations: ['58-31=27', '35-27=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35/35=1, Resulting Numbers: [27, 1] Generated Node #0,6,5: 92:[27, 1] Operation: 35/35=1 Moving to Node #0,6,5 Current State: 92:[27, 1], Operations: ['58-31=27', '35/35=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,92 unequal: No Solution Moving to Node #0,6,5 Current State: 92:[27, 1], Operations: ['58-31=27', '35/35=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6,5 Current State: 92:[27, 1], Operations: ['58-31=27', '35/35=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6,5 Current State: 92:[27, 1], Operations: ['58-31=27', '35/35=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,6 Current State: 92:[35, 35, 27], Operations: ['58-31=27'] Exploring Operation: 35-35=0, Resulting Numbers: [27, 0] Generated Node #0,6,6: 92:[27, 0] Operation: 35-35=0 Moving to Node #0,6,6 Current State: 92:[27, 0], Operations: ['58-31=27', '35-35=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6,6 Current State: 92:[27, 0], Operations: ['58-31=27', '35-35=0'] Exploring Operation: 27-0=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,6,6 Current State: 92:[27, 0], Operations: ['58-31=27', '35-35=0'] Exploring Operation: 27*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Moving to Node #0 Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [58, 35, 4] Generated Node #0,7: 92:[58, 35, 4] Operation: 35-31=4 Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 35*4=140, Resulting Numbers: [58, 140] Generated Node #0,7,0: 92:[58, 140] Operation: 35*4=140 Moving to Node #0,7,0 Current State: 92:[58, 140], Operations: ['35-31=4', '35*4=140'] Exploring Operation: 140-58=82, Resulting Numbers: [82] 82,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 58+4=62, Resulting Numbers: [35, 62] Generated Node #0,7,1: 92:[35, 62] Operation: 58+4=62 Moving to Node #0,7,1 Current State: 92:[35, 62], Operations: ['35-31=4', '58+4=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,7,1 Current State: 92:[35, 62], Operations: ['35-31=4', '58+4=62'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 35+4=39, Resulting Numbers: [58, 39] Generated Node #0,7,2: 92:[58, 39] Operation: 35+4=39 Moving to Node #0,7,2 Current State: 92:[58, 39], Operations: ['35-31=4', '35+4=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,7,2 Current State: 92:[58, 39], Operations: ['35-31=4', '35+4=39'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 58+35=93, Resulting Numbers: [4, 93] Generated Node #0,7,3: 92:[4, 93] Operation: 58+35=93 Moving to Node #0,7,3 Current State: 92:[4, 93], Operations: ['35-31=4', '58+35=93'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,7,3 Current State: 92:[4, 93], Operations: ['35-31=4', '58+35=93'] Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 58-4=54, Resulting Numbers: [35, 54] Generated Node #0,7,4: 92:[35, 54] Operation: 58-4=54 Moving to Node #0,7,4 Current State: 92:[35, 54], Operations: ['35-31=4', '58-4=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,7,4 Current State: 92:[35, 54], Operations: ['35-31=4', '58-4=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 35-4=31, Resulting Numbers: [58, 31] Generated Node #0,7,5: 92:[58, 31] Operation: 35-4=31 Moving to Node #0,7,5 Current State: 92:[58, 31], Operations: ['35-31=4', '35-4=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,7,5 Current State: 92:[58, 31], Operations: ['35-31=4', '35-4=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,7 Current State: 92:[58, 35, 4], Operations: ['35-31=4'] Exploring Operation: 58-35=23, Resulting Numbers: [4, 23] Generated Node #0,7,6: 92:[4, 23] Operation: 58-35=23 Moving to Node #0,7,6 Current State: 92:[4, 23], Operations: ['35-31=4', '58-35=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.848958
dfs
Current State: 92:[31, 58, 35, 35], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [58, 4] Generated Node #2: [58, 4] from Operation: 35-31=4 Current State: 92:[58, 4], Operations: ['35-31=4'] Exploring Operation: 58-35=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 58-35=23 Current State: 92:[4, 23], Operations: ['35-31=4', '58-35=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
sum_heuristic
[ 7, 69, 20, 65 ]
48
[ "69-65=4", "7*4=28", "20+28=48" ]
Current State: 48:[7, 69, 20, 65], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [7, 20, 4] Generated Node #0,0: 48:[7, 20, 4] Operation: 69-65=4 Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 20-7=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 48:[4, 13] Operation: 20-7=13 Moving to Node #0,0,0 Current State: 48:[4, 13], Operations: ['69-65=4', '20-7=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[4, 13], Operations: ['69-65=4', '20-7=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[4, 13], Operations: ['69-65=4', '20-7=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 20+4=24, Resulting Numbers: [7, 24] Generated Node #0,0,1: 48:[7, 24] Operation: 20+4=24 Moving to Node #0,0,1 Current State: 48:[7, 24], Operations: ['69-65=4', '20+4=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[7, 24], Operations: ['69-65=4', '20+4=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 20-4=16, Resulting Numbers: [7, 16] Generated Node #0,0,2: 48:[7, 16] Operation: 20-4=16 Moving to Node #0,0,2 Current State: 48:[7, 16], Operations: ['69-65=4', '20-4=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[7, 16], Operations: ['69-65=4', '20-4=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 20/4=5, Resulting Numbers: [7, 5] Generated Node #0,0,3: 48:[7, 5] Operation: 20/4=5 Moving to Node #0,0,3 Current State: 48:[7, 5], Operations: ['69-65=4', '20/4=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[7, 5], Operations: ['69-65=4', '20/4=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[7, 5], Operations: ['69-65=4', '20/4=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 7+20=27, Resulting Numbers: [4, 27] Generated Node #0,0,4: 48:[4, 27] Operation: 7+20=27 Moving to Node #0,0,4 Current State: 48:[4, 27], Operations: ['69-65=4', '7+20=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[4, 27], Operations: ['69-65=4', '7+20=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 7-4=3, Resulting Numbers: [20, 3] Generated Node #0,0,5: 48:[20, 3] Operation: 7-4=3 Moving to Node #0,0,5 Current State: 48:[20, 3], Operations: ['69-65=4', '7-4=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0,5 Current State: 48:[20, 3], Operations: ['69-65=4', '7-4=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,5 Current State: 48:[20, 3], Operations: ['69-65=4', '7-4=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 7+4=11, Resulting Numbers: [20, 11] Generated Node #0,0,6: 48:[20, 11] Operation: 7+4=11 Moving to Node #0,0,6 Current State: 48:[20, 11], Operations: ['69-65=4', '7+4=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0,6 Current State: 48:[20, 11], Operations: ['69-65=4', '7+4=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,0 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 7*4=28, Resulting Numbers: [20, 28] Generated Node #0,0,7: 48:[20, 28] Operation: 7*4=28 Moving to Node #0,0,7 Current State: 48:[20, 28], Operations: ['69-65=4', '7*4=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.975694
dfs
Current State: 48:[7, 69, 20, 65], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [7, 20, 4] Generated Node #2: [7, 20, 4] from Operation: 69-65=4 Current State: 48:[7, 20, 4], Operations: ['69-65=4'] Exploring Operation: 7*4=28, Resulting Numbers: [20, 28] Generated Node #3: [20, 28] from Operation: 7*4=28 Current State: 48:[20, 28], Operations: ['69-65=4', '7*4=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
mult_heuristic
[ 53, 95, 32, 62 ]
53
[ "95-32=63", "63-62=1", "53*1=53" ]
Current State: 53:[53, 95, 32, 62], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [53, 62, 63] Generated Node #0,0: 53:[53, 62, 63] Operation: 95-32=63 Moving to Node #0,0 Current State: 53:[53, 62, 63], Operations: ['95-32=63'] Exploring Operation: 63-53=10, Resulting Numbers: [62, 10] Generated Node #0,0,0: 53:[62, 10] Operation: 63-53=10 Moving to Node #0,0,0 Current State: 53:[62, 10], Operations: ['95-32=63', '63-53=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[62, 10], Operations: ['95-32=63', '63-53=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,53 unequal: No Solution Moving to Node #0,0 Current State: 53:[53, 62, 63], Operations: ['95-32=63'] Exploring Operation: 63-62=1, Resulting Numbers: [53, 1] Generated Node #0,0,1: 53:[53, 1] Operation: 63-62=1 Moving to Node #0,0,1 Current State: 53:[53, 1], Operations: ['95-32=63', '63-62=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.993924
dfs
Current State: 53:[53, 95, 32, 62], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [53, 62, 63] Generated Node #2: [53, 62, 63] from Operation: 95-32=63 Current State: 53:[53, 62, 63], Operations: ['95-32=63'] Exploring Operation: 63-62=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 63-62=1 Current State: 53:[53, 1], Operations: ['95-32=63', '63-62=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
sum_heuristic
[ 18, 4, 11, 62 ]
95
[ "18+4=22", "11+62=73", "22+73=95" ]
Current State: 95:[18, 4, 11, 62], Operations: [] Exploring Operation: 18*4=72, Resulting Numbers: [11, 62, 72] Generated Node #0,0: 95:[11, 62, 72] Operation: 18*4=72 Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 11+62=73, Resulting Numbers: [72, 73] Generated Node #0,0,0: 95:[72, 73] Operation: 11+62=73 Moving to Node #0,0,0 Current State: 95:[72, 73], Operations: ['18*4=72', '11+62=73'] Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[72, 73], Operations: ['18*4=72', '11+62=73'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 11+72=83, Resulting Numbers: [62, 83] Generated Node #0,0,1: 95:[62, 83] Operation: 11+72=83 Moving to Node #0,0,1 Current State: 95:[62, 83], Operations: ['18*4=72', '11+72=83'] Exploring Operation: 62+83=145, Resulting Numbers: [145] 145,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[62, 83], Operations: ['18*4=72', '11+72=83'] Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 62-11=51, Resulting Numbers: [72, 51] Generated Node #0,0,2: 95:[72, 51] Operation: 62-11=51 Moving to Node #0,0,2 Current State: 95:[72, 51], Operations: ['18*4=72', '62-11=51'] Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[72, 51], Operations: ['18*4=72', '62-11=51'] Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 72-11=61, Resulting Numbers: [62, 61] Generated Node #0,0,3: 95:[62, 61] Operation: 72-11=61 Moving to Node #0,0,3 Current State: 95:[62, 61], Operations: ['18*4=72', '72-11=61'] Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[62, 61], Operations: ['18*4=72', '72-11=61'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 62+72=134, Resulting Numbers: [11, 134] Generated Node #0,0,4: 95:[11, 134] Operation: 62+72=134 Moving to Node #0,0,4 Current State: 95:[11, 134], Operations: ['18*4=72', '62+72=134'] Exploring Operation: 134-11=123, Resulting Numbers: [123] 123,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[11, 134], Operations: ['18*4=72', '62+72=134'] Exploring Operation: 11+134=145, Resulting Numbers: [145] 145,95 unequal: No Solution Moving to Node #0,0 Current State: 95:[11, 62, 72], Operations: ['18*4=72'] Exploring Operation: 72-62=10, Resulting Numbers: [11, 10] Generated Node #0,0,5: 95:[11, 10] Operation: 72-62=10 Moving to Node #0,0,5 Current State: 95:[11, 10], Operations: ['18*4=72', '72-62=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,95 unequal: No Solution Moving to Node #0,0,5 Current State: 95:[11, 10], Operations: ['18*4=72', '72-62=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0,5 Current State: 95:[11, 10], Operations: ['18*4=72', '72-62=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0 Current State: 95:[18, 4, 11, 62], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [18, 62, 44] Generated Node #0,1: 95:[18, 62, 44] Operation: 4*11=44 Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 18+62=80, Resulting Numbers: [44, 80] Generated Node #0,1,0: 95:[44, 80] Operation: 18+62=80 Moving to Node #0,1,0 Current State: 95:[44, 80], Operations: ['4*11=44', '18+62=80'] Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[44, 80], Operations: ['4*11=44', '18+62=80'] Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62, 62] Generated Node #0,1,1: 95:[62, 62] Operation: 18+44=62 Moving to Node #0,1,1 Current State: 95:[62, 62], Operations: ['4*11=44', '18+44=62'] Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[62, 62], Operations: ['4*11=44', '18+44=62'] Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[62, 62], Operations: ['4*11=44', '18+44=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 62+44=106, Resulting Numbers: [18, 106] Generated Node #0,1,2: 95:[18, 106] Operation: 62+44=106 Moving to Node #0,1,2 Current State: 95:[18, 106], Operations: ['4*11=44', '62+44=106'] Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[18, 106], Operations: ['4*11=44', '62+44=106'] Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 62-18=44, Resulting Numbers: [44, 44] Generated Node #0,1,3: 95:[44, 44] Operation: 62-18=44 Moving to Node #0,1,3 Current State: 95:[44, 44], Operations: ['4*11=44', '62-18=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[44, 44], Operations: ['4*11=44', '62-18=44'] Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[44, 44], Operations: ['4*11=44', '62-18=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 44-18=26, Resulting Numbers: [62, 26] Generated Node #0,1,4: 95:[62, 26] Operation: 44-18=26 Moving to Node #0,1,4 Current State: 95:[62, 26], Operations: ['4*11=44', '44-18=26'] Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[62, 26], Operations: ['4*11=44', '44-18=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,95 unequal: No Solution Moving to Node #0,1 Current State: 95:[18, 62, 44], Operations: ['4*11=44'] Exploring Operation: 62-44=18, Resulting Numbers: [18, 18] Generated Node #0,1,5: 95:[18, 18] Operation: 62-44=18 Moving to Node #0,1,5 Current State: 95:[18, 18], Operations: ['4*11=44', '62-44=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,95 unequal: No Solution Moving to Node #0,1,5 Current State: 95:[18, 18], Operations: ['4*11=44', '62-44=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,1,5 Current State: 95:[18, 18], Operations: ['4*11=44', '62-44=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,95 unequal: No Solution Moving to Node #0 Current State: 95:[18, 4, 11, 62], Operations: [] Exploring Operation: 18+4=22, Resulting Numbers: [11, 62, 22] Generated Node #0,2: 95:[11, 62, 22] Operation: 18+4=22 Moving to Node #0,2 Current State: 95:[11, 62, 22], Operations: ['18+4=22'] Exploring Operation: 11+62=73, Resulting Numbers: [22, 73] Generated Node #0,2,0: 95:[22, 73] Operation: 11+62=73 Moving to Node #0,2,0 Current State: 95:[22, 73], Operations: ['18+4=22', '11+62=73'] Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.960069
dfs
Current State: 95:[18, 4, 11, 62], Operations: [] Exploring Operation: 18+4=22, Resulting Numbers: [11, 62, 22] Generated Node #2: [11, 62, 22] from Operation: 18+4=22 Current State: 95:[11, 62, 22], Operations: ['18+4=22'] Exploring Operation: 11+62=73, Resulting Numbers: [22, 73] Generated Node #3: [22, 73] from Operation: 11+62=73 Current State: 95:[22, 73], Operations: ['18+4=22', '11+62=73'] Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
sum_heuristic
[ 10, 57, 60, 36 ]
29
[ "10+57=67", "60+36=96", "96-67=29" ]
Current State: 29:[10, 57, 60, 36], Operations: []
0
dfs
Current State: 29:[10, 57, 60, 36], Operations: [] Exploring Operation: 10+57=67, Resulting Numbers: [60, 36, 67] Generated Node #2: [60, 36, 67] from Operation: 10+57=67 Current State: 29:[60, 36, 67], Operations: ['10+57=67'] Exploring Operation: 60+36=96, Resulting Numbers: [67, 96] Generated Node #3: [67, 96] from Operation: 60+36=96 Current State: 29:[67, 96], Operations: ['10+57=67', '60+36=96'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
mult_heuristic
[ 29, 49, 63, 49 ]
34
[ "29+49=78", "63+49=112", "112-78=34" ]
Current State: 34:[29, 49, 63, 49], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [29, 49, 14] Generated Node #0,0: 34:[29, 49, 14] Operation: 63-49=14 Exploring Operation: 63-49=14, Resulting Numbers: [29, 49, 14] Generated Node #0,1: 34:[29, 49, 14] Operation: 63-49=14 Exploring Operation: 63-29=34, Resulting Numbers: [49, 49, 34] Generated Node #0,2: 34:[49, 49, 34] Operation: 63-29=34 Moving to Node #0,2 Current State: 34:[49, 49, 34], Operations: ['63-29=34'] Exploring Operation: 49/49=1, Resulting Numbers: [34, 1] Generated Node #0,2,0: 34:[34, 1] Operation: 49/49=1 Exploring Operation: 49-49=0, Resulting Numbers: [34, 0] Generated Node #0,2,1: 34:[34, 0] Operation: 49-49=0 Exploring Operation: 49-34=15, Resulting Numbers: [49, 15] Generated Node #0,2,2: 34:[49, 15] Operation: 49-34=15 Moving to Node #0,0 Current State: 34:[29, 49, 14], Operations: ['63-49=14'] Exploring Operation: 49-29=20, Resulting Numbers: [14, 20] Generated Node #0,0,0: 34:[14, 20] Operation: 49-29=20 Exploring Operation: 29+14=43, Resulting Numbers: [49, 43] Generated Node #0,0,1: 34:[49, 43] Operation: 29+14=43 Exploring Operation: 49-14=35, Resulting Numbers: [29, 35] Generated Node #0,0,2: 34:[29, 35] Operation: 49-14=35 Moving to Node #0,1 Current State: 34:[29, 49, 14], Operations: ['63-49=14'] Exploring Operation: 29+14=43, Resulting Numbers: [49, 43] Generated Node #0,1,0: 34:[49, 43] Operation: 29+14=43 Exploring Operation: 49-29=20, Resulting Numbers: [14, 20] Generated Node #0,1,1: 34:[14, 20] Operation: 49-29=20 Exploring Operation: 49-14=35, Resulting Numbers: [29, 35] Generated Node #0,1,2: 34:[29, 35] Operation: 49-14=35 Moving to Node #0,0,2 Current State: 34:[29, 35], Operations: ['63-49=14', '49-14=35'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[29, 35], Operations: ['63-49=14', '49-14=35'] Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,34 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[49, 43], Operations: ['63-49=14', '29+14=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,34 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[49, 43], Operations: ['63-49=14', '29+14=43'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,34 unequal: No Solution Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[34, 1], Operations: ['63-29=34', '49/49=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.977431
bfs_3
Current State: 34:[29, 49, 63, 49], Operations: [] Exploring Operation: 29+49=78, Resulting Numbers: [63, 78] Generated Node #2: [63, 78] from Operation: 29+49=78 Current State: 34:[63, 78], Operations: ['29+49=78'] Exploring Operation: 63+49=112, Resulting Numbers: [78, 112] Generated Node #3: [78, 112] from Operation: 63+49=112 Current State: 34:[78, 112], Operations: ['29+49=78', '63+49=112'] Exploring Operation: 112-78=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
sum_heuristic
[ 74, 5, 96, 3 ]
86
[ "5*96=480", "480/3=160", "160-74=86" ]
Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 74+5=79, Resulting Numbers: [96, 3, 79] Generated Node #0,0: 86:[96, 3, 79] Operation: 74+5=79 Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 96-3=93, Resulting Numbers: [79, 93] Generated Node #0,0,0: 86:[79, 93] Operation: 96-3=93 Moving to Node #0,0,0 Current State: 86:[79, 93], Operations: ['74+5=79', '96-3=93'] Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[79, 93], Operations: ['74+5=79', '96-3=93'] Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 3+79=82, Resulting Numbers: [96, 82] Generated Node #0,0,1: 86:[96, 82] Operation: 3+79=82 Moving to Node #0,0,1 Current State: 86:[96, 82], Operations: ['74+5=79', '3+79=82'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 96-79=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 86:[3, 17] Operation: 96-79=17 Moving to Node #0,0,2 Current State: 86:[3, 17], Operations: ['74+5=79', '96-79=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[3, 17], Operations: ['74+5=79', '96-79=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[3, 17], Operations: ['74+5=79', '96-79=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 96/3=32, Resulting Numbers: [79, 32] Generated Node #0,0,3: 86:[79, 32] Operation: 96/3=32 Moving to Node #0,0,3 Current State: 86:[79, 32], Operations: ['74+5=79', '96/3=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[79, 32], Operations: ['74+5=79', '96/3=32'] Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 96+3=99, Resulting Numbers: [79, 99] Generated Node #0,0,4: 86:[79, 99] Operation: 96+3=99 Moving to Node #0,0,4 Current State: 86:[79, 99], Operations: ['74+5=79', '96+3=99'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,0 Current State: 86:[96, 3, 79], Operations: ['74+5=79'] Exploring Operation: 79-3=76, Resulting Numbers: [96, 76] Generated Node #0,0,5: 86:[96, 76] Operation: 79-3=76 Moving to Node #0,0,5 Current State: 86:[96, 76], Operations: ['74+5=79', '79-3=76'] Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,0,5 Current State: 86:[96, 76], Operations: ['74+5=79', '79-3=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 96-5=91, Resulting Numbers: [74, 3, 91] Generated Node #0,1: 86:[74, 3, 91] Operation: 96-5=91 Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 74+3=77, Resulting Numbers: [91, 77] Generated Node #0,1,0: 86:[91, 77] Operation: 74+3=77 Moving to Node #0,1,0 Current State: 86:[91, 77], Operations: ['96-5=91', '74+3=77'] Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[91, 77], Operations: ['96-5=91', '74+3=77'] Exploring Operation: 91+77=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 91-3=88, Resulting Numbers: [74, 88] Generated Node #0,1,1: 86:[74, 88] Operation: 91-3=88 Moving to Node #0,1,1 Current State: 86:[74, 88], Operations: ['96-5=91', '91-3=88'] Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[74, 88], Operations: ['96-5=91', '91-3=88'] Exploring Operation: 74+88=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 91-74=17, Resulting Numbers: [3, 17] Generated Node #0,1,2: 86:[3, 17] Operation: 91-74=17 Moving to Node #0,1,2 Current State: 86:[3, 17], Operations: ['96-5=91', '91-74=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[3, 17], Operations: ['96-5=91', '91-74=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[3, 17], Operations: ['96-5=91', '91-74=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 74-3=71, Resulting Numbers: [91, 71] Generated Node #0,1,3: 86:[91, 71] Operation: 74-3=71 Moving to Node #0,1,3 Current State: 86:[91, 71], Operations: ['96-5=91', '74-3=71'] Exploring Operation: 91-71=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[91, 71], Operations: ['96-5=91', '74-3=71'] Exploring Operation: 91+71=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 3+91=94, Resulting Numbers: [74, 94] Generated Node #0,1,4: 86:[74, 94] Operation: 3+91=94 Moving to Node #0,1,4 Current State: 86:[74, 94], Operations: ['96-5=91', '3+91=94'] Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[74, 94], Operations: ['96-5=91', '3+91=94'] Exploring Operation: 74+94=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,1 Current State: 86:[74, 3, 91], Operations: ['96-5=91'] Exploring Operation: 74+91=165, Resulting Numbers: [3, 165] Generated Node #0,1,5: 86:[3, 165] Operation: 74+91=165 Moving to Node #0,1,5 Current State: 86:[3, 165], Operations: ['96-5=91', '74+91=165'] Exploring Operation: 165/3=55, Resulting Numbers: [55] 55,86 unequal: No Solution Moving to Node #0,1,5 Current State: 86:[3, 165], Operations: ['96-5=91', '74+91=165'] Exploring Operation: 165-3=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,1,5 Current State: 86:[3, 165], Operations: ['96-5=91', '74+91=165'] Exploring Operation: 3+165=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 74+3=77, Resulting Numbers: [5, 96, 77] Generated Node #0,2: 86:[5, 96, 77] Operation: 74+3=77 Moving to Node #0,2 Current State: 86:[5, 96, 77], Operations: ['74+3=77'] Exploring Operation: 96-5=91, Resulting Numbers: [77, 91] Generated Node #0,2,0: 86:[77, 91] Operation: 96-5=91 Moving to Node #0,2,0 Current State: 86:[77, 91], Operations: ['74+3=77', '96-5=91'] Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[77, 91], Operations: ['74+3=77', '96-5=91'] Exploring Operation: 77+91=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[5, 96, 77], Operations: ['74+3=77'] Exploring Operation: 5+77=82, Resulting Numbers: [96, 82] Generated Node #0,2,1: 86:[96, 82] Operation: 5+77=82 Moving to Node #0,2,1 Current State: 86:[96, 82], Operations: ['74+3=77', '5+77=82'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[5, 96, 77], Operations: ['74+3=77'] Exploring Operation: 96-77=19, Resulting Numbers: [5, 19] Generated Node #0,2,2: 86:[5, 19] Operation: 96-77=19 Moving to Node #0,2,2 Current State: 86:[5, 19], Operations: ['74+3=77', '96-77=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[5, 19], Operations: ['74+3=77', '96-77=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[5, 19], Operations: ['74+3=77', '96-77=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[5, 96, 77], Operations: ['74+3=77'] Exploring Operation: 5+96=101, Resulting Numbers: [77, 101] Generated Node #0,2,3: 86:[77, 101] Operation: 5+96=101 Moving to Node #0,2,3 Current State: 86:[77, 101], Operations: ['74+3=77', '5+96=101'] Exploring Operation: 101-77=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,2 Current State: 86:[5, 96, 77], Operations: ['74+3=77'] Exploring Operation: 77-5=72, Resulting Numbers: [96, 72] Generated Node #0,2,4: 86:[96, 72] Operation: 77-5=72 Moving to Node #0,2,4 Current State: 86:[96, 72], Operations: ['74+3=77', '77-5=72'] Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[96, 72], Operations: ['74+3=77', '77-5=72'] Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [74, 96, 2] Generated Node #0,3: 86:[74, 96, 2] Operation: 5-3=2 Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 74/2=37, Resulting Numbers: [96, 37] Generated Node #0,3,0: 86:[96, 37] Operation: 74/2=37 Moving to Node #0,3,0 Current State: 86:[96, 37], Operations: ['5-3=2', '74/2=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[96, 37], Operations: ['5-3=2', '74/2=37'] Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 96/2=48, Resulting Numbers: [74, 48] Generated Node #0,3,1: 86:[74, 48] Operation: 96/2=48 Moving to Node #0,3,1 Current State: 86:[74, 48], Operations: ['5-3=2', '96/2=48'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[74, 48], Operations: ['5-3=2', '96/2=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 96-74=22, Resulting Numbers: [2, 22] Generated Node #0,3,2: 86:[2, 22] Operation: 96-74=22 Moving to Node #0,3,2 Current State: 86:[2, 22], Operations: ['5-3=2', '96-74=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[2, 22], Operations: ['5-3=2', '96-74=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[2, 22], Operations: ['5-3=2', '96-74=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[2, 22], Operations: ['5-3=2', '96-74=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 74+2=76, Resulting Numbers: [96, 76] Generated Node #0,3,3: 86:[96, 76] Operation: 74+2=76 Moving to Node #0,3,3 Current State: 86:[96, 76], Operations: ['5-3=2', '74+2=76'] Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[96, 76], Operations: ['5-3=2', '74+2=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 96-2=94, Resulting Numbers: [74, 94] Generated Node #0,3,4: 86:[74, 94] Operation: 96-2=94 Moving to Node #0,3,4 Current State: 86:[74, 94], Operations: ['5-3=2', '96-2=94'] Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[74, 94], Operations: ['5-3=2', '96-2=94'] Exploring Operation: 74+94=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 74-2=72, Resulting Numbers: [96, 72] Generated Node #0,3,5: 86:[96, 72] Operation: 74-2=72 Moving to Node #0,3,5 Current State: 86:[96, 72], Operations: ['5-3=2', '74-2=72'] Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,3,5 Current State: 86:[96, 72], Operations: ['5-3=2', '74-2=72'] Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 96+2=98, Resulting Numbers: [74, 98] Generated Node #0,3,6: 86:[74, 98] Operation: 96+2=98 Moving to Node #0,3,6 Current State: 86:[74, 98], Operations: ['5-3=2', '96+2=98'] Exploring Operation: 98-74=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,3,6 Current State: 86:[74, 98], Operations: ['5-3=2', '96+2=98'] Exploring Operation: 74+98=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 74*2=148, Resulting Numbers: [96, 148] Generated Node #0,3,7: 86:[96, 148] Operation: 74*2=148 Moving to Node #0,3,7 Current State: 86:[96, 148], Operations: ['5-3=2', '74*2=148'] Exploring Operation: 148-96=52, Resulting Numbers: [52] 52,86 unequal: No Solution Moving to Node #0,3 Current State: 86:[74, 96, 2], Operations: ['5-3=2'] Exploring Operation: 74+96=170, Resulting Numbers: [2, 170] Generated Node #0,3,8: 86:[2, 170] Operation: 74+96=170 Moving to Node #0,3,8 Current State: 86:[2, 170], Operations: ['5-3=2', '74+96=170'] Exploring Operation: 170/2=85, Resulting Numbers: [85] 85,86 unequal: No Solution Moving to Node #0,3,8 Current State: 86:[2, 170], Operations: ['5-3=2', '74+96=170'] Exploring Operation: 170-2=168, Resulting Numbers: [168] 168,86 unequal: No Solution Moving to Node #0,3,8 Current State: 86:[2, 170], Operations: ['5-3=2', '74+96=170'] Exploring Operation: 2+170=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 96-3=93, Resulting Numbers: [74, 5, 93] Generated Node #0,4: 86:[74, 5, 93] Operation: 96-3=93 Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 74+5=79, Resulting Numbers: [93, 79] Generated Node #0,4,0: 86:[93, 79] Operation: 74+5=79 Moving to Node #0,4,0 Current State: 86:[93, 79], Operations: ['96-3=93', '74+5=79'] Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[93, 79], Operations: ['96-3=93', '74+5=79'] Exploring Operation: 93+79=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 93-5=88, Resulting Numbers: [74, 88] Generated Node #0,4,1: 86:[74, 88] Operation: 93-5=88 Moving to Node #0,4,1 Current State: 86:[74, 88], Operations: ['96-3=93', '93-5=88'] Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[74, 88], Operations: ['96-3=93', '93-5=88'] Exploring Operation: 74+88=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 93-74=19, Resulting Numbers: [5, 19] Generated Node #0,4,2: 86:[5, 19] Operation: 93-74=19 Moving to Node #0,4,2 Current State: 86:[5, 19], Operations: ['96-3=93', '93-74=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[5, 19], Operations: ['96-3=93', '93-74=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[5, 19], Operations: ['96-3=93', '93-74=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 74-5=69, Resulting Numbers: [93, 69] Generated Node #0,4,3: 86:[93, 69] Operation: 74-5=69 Moving to Node #0,4,3 Current State: 86:[93, 69], Operations: ['96-3=93', '74-5=69'] Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[93, 69], Operations: ['96-3=93', '74-5=69'] Exploring Operation: 93+69=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 5+93=98, Resulting Numbers: [74, 98] Generated Node #0,4,4: 86:[74, 98] Operation: 5+93=98 Moving to Node #0,4,4 Current State: 86:[74, 98], Operations: ['96-3=93', '5+93=98'] Exploring Operation: 98-74=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[74, 98], Operations: ['96-3=93', '5+93=98'] Exploring Operation: 74+98=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0,4 Current State: 86:[74, 5, 93], Operations: ['96-3=93'] Exploring Operation: 74+93=167, Resulting Numbers: [5, 167] Generated Node #0,4,5: 86:[5, 167] Operation: 74+93=167 Moving to Node #0,4,5 Current State: 86:[5, 167], Operations: ['96-3=93', '74+93=167'] Exploring Operation: 167-5=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,4,5 Current State: 86:[5, 167], Operations: ['96-3=93', '74+93=167'] Exploring Operation: 5+167=172, Resulting Numbers: [172] 172,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 96-74=22, Resulting Numbers: [5, 3, 22] Generated Node #0,5: 86:[5, 3, 22] Operation: 96-74=22 Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 22-5=17, Resulting Numbers: [3, 17] Generated Node #0,5,0: 86:[3, 17] Operation: 22-5=17 Moving to Node #0,5,0 Current State: 86:[3, 17], Operations: ['96-74=22', '22-5=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,5,0 Current State: 86:[3, 17], Operations: ['96-74=22', '22-5=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,5,0 Current State: 86:[3, 17], Operations: ['96-74=22', '22-5=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 5+22=27, Resulting Numbers: [3, 27] Generated Node #0,5,1: 86:[3, 27] Operation: 5+22=27 Moving to Node #0,5,1 Current State: 86:[3, 27], Operations: ['96-74=22', '5+22=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,5,1 Current State: 86:[3, 27], Operations: ['96-74=22', '5+22=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,86 unequal: No Solution Moving to Node #0,5,1 Current State: 86:[3, 27], Operations: ['96-74=22', '5+22=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,5,1 Current State: 86:[3, 27], Operations: ['96-74=22', '5+22=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 5-3=2, Resulting Numbers: [22, 2] Generated Node #0,5,2: 86:[22, 2] Operation: 5-3=2 Moving to Node #0,5,2 Current State: 86:[22, 2], Operations: ['96-74=22', '5-3=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,86 unequal: No Solution Moving to Node #0,5,2 Current State: 86:[22, 2], Operations: ['96-74=22', '5-3=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,5,2 Current State: 86:[22, 2], Operations: ['96-74=22', '5-3=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,5,2 Current State: 86:[22, 2], Operations: ['96-74=22', '5-3=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 22-3=19, Resulting Numbers: [5, 19] Generated Node #0,5,3: 86:[5, 19] Operation: 22-3=19 Moving to Node #0,5,3 Current State: 86:[5, 19], Operations: ['96-74=22', '22-3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,86 unequal: No Solution Moving to Node #0,5,3 Current State: 86:[5, 19], Operations: ['96-74=22', '22-3=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,5,3 Current State: 86:[5, 19], Operations: ['96-74=22', '22-3=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 3+22=25, Resulting Numbers: [5, 25] Generated Node #0,5,4: 86:[5, 25] Operation: 3+22=25 Moving to Node #0,5,4 Current State: 86:[5, 25], Operations: ['96-74=22', '3+22=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,5,4 Current State: 86:[5, 25], Operations: ['96-74=22', '3+22=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,5,4 Current State: 86:[5, 25], Operations: ['96-74=22', '3+22=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,5,4 Current State: 86:[5, 25], Operations: ['96-74=22', '3+22=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 3*22=66, Resulting Numbers: [5, 66] Generated Node #0,5,5: 86:[5, 66] Operation: 3*22=66 Moving to Node #0,5,5 Current State: 86:[5, 66], Operations: ['96-74=22', '3*22=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,5,5 Current State: 86:[5, 66], Operations: ['96-74=22', '3*22=66'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 5*22=110, Resulting Numbers: [3, 110] Generated Node #0,5,6: 86:[3, 110] Operation: 5*22=110 Moving to Node #0,5,6 Current State: 86:[3, 110], Operations: ['96-74=22', '5*22=110'] Exploring Operation: 110-3=107, Resulting Numbers: [107] 107,86 unequal: No Solution Moving to Node #0,5,6 Current State: 86:[3, 110], Operations: ['96-74=22', '5*22=110'] Exploring Operation: 3+110=113, Resulting Numbers: [113] 113,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 5+3=8, Resulting Numbers: [22, 8] Generated Node #0,5,7: 86:[22, 8] Operation: 5+3=8 Moving to Node #0,5,7 Current State: 86:[22, 8], Operations: ['96-74=22', '5+3=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,5,7 Current State: 86:[22, 8], Operations: ['96-74=22', '5+3=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,5 Current State: 86:[5, 3, 22], Operations: ['96-74=22'] Exploring Operation: 5*3=15, Resulting Numbers: [22, 15] Generated Node #0,5,8: 86:[22, 15] Operation: 5*3=15 Moving to Node #0,5,8 Current State: 86:[22, 15], Operations: ['96-74=22', '5*3=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,5,8 Current State: 86:[22, 15], Operations: ['96-74=22', '5*3=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0 Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [74, 5, 32] Generated Node #0,6: 86:[74, 5, 32] Operation: 96/3=32 Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 74-32=42, Resulting Numbers: [5, 42] Generated Node #0,6,0: 86:[5, 42] Operation: 74-32=42 Moving to Node #0,6,0 Current State: 86:[5, 42], Operations: ['96/3=32', '74-32=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,6,0 Current State: 86:[5, 42], Operations: ['96/3=32', '74-32=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 74+5=79, Resulting Numbers: [32, 79] Generated Node #0,6,1: 86:[32, 79] Operation: 74+5=79 Moving to Node #0,6,1 Current State: 86:[32, 79], Operations: ['96/3=32', '74+5=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,6,1 Current State: 86:[32, 79], Operations: ['96/3=32', '74+5=79'] Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 5+32=37, Resulting Numbers: [74, 37] Generated Node #0,6,2: 86:[74, 37] Operation: 5+32=37 Moving to Node #0,6,2 Current State: 86:[74, 37], Operations: ['96/3=32', '5+32=37'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,6,2 Current State: 86:[74, 37], Operations: ['96/3=32', '5+32=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,6,2 Current State: 86:[74, 37], Operations: ['96/3=32', '5+32=37'] Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 74+32=106, Resulting Numbers: [5, 106] Generated Node #0,6,3: 86:[5, 106] Operation: 74+32=106 Moving to Node #0,6,3 Current State: 86:[5, 106], Operations: ['96/3=32', '74+32=106'] Exploring Operation: 106-5=101, Resulting Numbers: [101] 101,86 unequal: No Solution Moving to Node #0,6,3 Current State: 86:[5, 106], Operations: ['96/3=32', '74+32=106'] Exploring Operation: 5+106=111, Resulting Numbers: [111] 111,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 74-5=69, Resulting Numbers: [32, 69] Generated Node #0,6,4: 86:[32, 69] Operation: 74-5=69 Moving to Node #0,6,4 Current State: 86:[32, 69], Operations: ['96/3=32', '74-5=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,6,4 Current State: 86:[32, 69], Operations: ['96/3=32', '74-5=69'] Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 32-5=27, Resulting Numbers: [74, 27] Generated Node #0,6,5: 86:[74, 27] Operation: 32-5=27 Moving to Node #0,6,5 Current State: 86:[74, 27], Operations: ['96/3=32', '32-5=27'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,6,5 Current State: 86:[74, 27], Operations: ['96/3=32', '32-5=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,86 unequal: No Solution Moving to Node #0,6 Current State: 86:[74, 5, 32], Operations: ['96/3=32'] Exploring Operation: 5*32=160, Resulting Numbers: [74, 160] Generated Node #0,6,6: 86:[74, 160] Operation: 5*32=160 Moving to Node #0,6,6 Current State: 86:[74, 160], Operations: ['96/3=32', '5*32=160'] Exploring Operation: 160-74=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.858507
dfs
Current State: 86:[74, 5, 96, 3], Operations: [] Exploring Operation: 5*96=480, Resulting Numbers: [74, 3, 480] Generated Node #2: [74, 3, 480] from Operation: 5*96=480 Current State: 86:[74, 3, 480], Operations: ['5*96=480'] Exploring Operation: 480/3=160, Resulting Numbers: [74, 160] Generated Node #3: [74, 160] from Operation: 480/3=160 Current State: 86:[74, 160], Operations: ['5*96=480', '480/3=160'] Exploring Operation: 160-74=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
mult_heuristic
[ 45, 64, 55, 69 ]
64
[ "64-55=9", "45/9=5", "69-5=64" ]
Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 45+55=100, Resulting Numbers: [64, 69, 100] Generated Node #0,0: 64:[64, 69, 100] Operation: 45+55=100 Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 100-64=36, Resulting Numbers: [69, 36] Generated Node #0,0,0: 64:[69, 36] Operation: 100-64=36 Moving to Node #0,0,0 Current State: 64:[69, 36], Operations: ['45+55=100', '100-64=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[69, 36], Operations: ['45+55=100', '100-64=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 100-69=31, Resulting Numbers: [64, 31] Generated Node #0,0,1: 64:[64, 31] Operation: 100-69=31 Moving to Node #0,0,1 Current State: 64:[64, 31], Operations: ['45+55=100', '100-69=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[64, 31], Operations: ['45+55=100', '100-69=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 69-64=5, Resulting Numbers: [100, 5] Generated Node #0,0,2: 64:[100, 5] Operation: 69-64=5 Moving to Node #0,0,2 Current State: 64:[100, 5], Operations: ['45+55=100', '69-64=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[100, 5], Operations: ['45+55=100', '69-64=5'] Exploring Operation: 100+5=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[100, 5], Operations: ['45+55=100', '69-64=5'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 64+69=133, Resulting Numbers: [100, 133] Generated Node #0,0,3: 64:[100, 133] Operation: 64+69=133 Moving to Node #0,0,3 Current State: 64:[100, 133], Operations: ['45+55=100', '64+69=133'] Exploring Operation: 133-100=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 64+100=164, Resulting Numbers: [69, 164] Generated Node #0,0,4: 64:[69, 164] Operation: 64+100=164 Moving to Node #0,0,4 Current State: 64:[69, 164], Operations: ['45+55=100', '64+100=164'] Exploring Operation: 164-69=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[64, 69, 100], Operations: ['45+55=100'] Exploring Operation: 69+100=169, Resulting Numbers: [64, 169] Generated Node #0,0,5: 64:[64, 169] Operation: 69+100=169 Moving to Node #0,0,5 Current State: 64:[64, 169], Operations: ['45+55=100', '69+100=169'] Exploring Operation: 169-64=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [64, 55, 24] Generated Node #0,1: 64:[64, 55, 24] Operation: 69-45=24 Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 55+24=79, Resulting Numbers: [64, 79] Generated Node #0,1,0: 64:[64, 79] Operation: 55+24=79 Moving to Node #0,1,0 Current State: 64:[64, 79], Operations: ['69-45=24', '55+24=79'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 64+24=88, Resulting Numbers: [55, 88] Generated Node #0,1,1: 64:[55, 88] Operation: 64+24=88 Moving to Node #0,1,1 Current State: 64:[55, 88], Operations: ['69-45=24', '64+24=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 64-24=40, Resulting Numbers: [55, 40] Generated Node #0,1,2: 64:[55, 40] Operation: 64-24=40 Moving to Node #0,1,2 Current State: 64:[55, 40], Operations: ['69-45=24', '64-24=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[55, 40], Operations: ['69-45=24', '64-24=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 55-24=31, Resulting Numbers: [64, 31] Generated Node #0,1,3: 64:[64, 31] Operation: 55-24=31 Moving to Node #0,1,3 Current State: 64:[64, 31], Operations: ['69-45=24', '55-24=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[64, 31], Operations: ['69-45=24', '55-24=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 64+55=119, Resulting Numbers: [24, 119] Generated Node #0,1,4: 64:[24, 119] Operation: 64+55=119 Moving to Node #0,1,4 Current State: 64:[24, 119], Operations: ['69-45=24', '64+55=119'] Exploring Operation: 119-24=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[64, 55, 24], Operations: ['69-45=24'] Exploring Operation: 64-55=9, Resulting Numbers: [24, 9] Generated Node #0,1,5: 64:[24, 9] Operation: 64-55=9 Moving to Node #0,1,5 Current State: 64:[24, 9], Operations: ['69-45=24', '64-55=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1,5 Current State: 64:[24, 9], Operations: ['69-45=24', '64-55=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 45+64=109, Resulting Numbers: [55, 69, 109] Generated Node #0,2: 64:[55, 69, 109] Operation: 45+64=109 Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 109-55=54, Resulting Numbers: [69, 54] Generated Node #0,2,0: 64:[69, 54] Operation: 109-55=54 Moving to Node #0,2,0 Current State: 64:[69, 54], Operations: ['45+64=109', '109-55=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[69, 54], Operations: ['45+64=109', '109-55=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 109-69=40, Resulting Numbers: [55, 40] Generated Node #0,2,1: 64:[55, 40] Operation: 109-69=40 Moving to Node #0,2,1 Current State: 64:[55, 40], Operations: ['45+64=109', '109-69=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[55, 40], Operations: ['45+64=109', '109-69=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 69-55=14, Resulting Numbers: [109, 14] Generated Node #0,2,2: 64:[109, 14] Operation: 69-55=14 Moving to Node #0,2,2 Current State: 64:[109, 14], Operations: ['45+64=109', '69-55=14'] Exploring Operation: 109-14=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[109, 14], Operations: ['45+64=109', '69-55=14'] Exploring Operation: 109+14=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 55+69=124, Resulting Numbers: [109, 124] Generated Node #0,2,3: 64:[109, 124] Operation: 55+69=124 Moving to Node #0,2,3 Current State: 64:[109, 124], Operations: ['45+64=109', '55+69=124'] Exploring Operation: 124-109=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 55+109=164, Resulting Numbers: [69, 164] Generated Node #0,2,4: 64:[69, 164] Operation: 55+109=164 Moving to Node #0,2,4 Current State: 64:[69, 164], Operations: ['45+64=109', '55+109=164'] Exploring Operation: 164-69=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[55, 69, 109], Operations: ['45+64=109'] Exploring Operation: 69+109=178, Resulting Numbers: [55, 178] Generated Node #0,2,5: 64:[55, 178] Operation: 69+109=178 Moving to Node #0,2,5 Current State: 64:[55, 178], Operations: ['45+64=109', '69+109=178'] Exploring Operation: 178-55=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [55, 69, 19] Generated Node #0,3: 64:[55, 69, 19] Operation: 64-45=19 Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 55+19=74, Resulting Numbers: [69, 74] Generated Node #0,3,0: 64:[69, 74] Operation: 55+19=74 Moving to Node #0,3,0 Current State: 64:[69, 74], Operations: ['64-45=19', '55+19=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 69-19=50, Resulting Numbers: [55, 50] Generated Node #0,3,1: 64:[55, 50] Operation: 69-19=50 Moving to Node #0,3,1 Current State: 64:[55, 50], Operations: ['64-45=19', '69-19=50'] Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[55, 50], Operations: ['64-45=19', '69-19=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 55-19=36, Resulting Numbers: [69, 36] Generated Node #0,3,2: 64:[69, 36] Operation: 55-19=36 Moving to Node #0,3,2 Current State: 64:[69, 36], Operations: ['64-45=19', '55-19=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[69, 36], Operations: ['64-45=19', '55-19=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 69+19=88, Resulting Numbers: [55, 88] Generated Node #0,3,3: 64:[55, 88] Operation: 69+19=88 Moving to Node #0,3,3 Current State: 64:[55, 88], Operations: ['64-45=19', '69+19=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 69-55=14, Resulting Numbers: [19, 14] Generated Node #0,3,4: 64:[19, 14] Operation: 69-55=14 Moving to Node #0,3,4 Current State: 64:[19, 14], Operations: ['64-45=19', '69-55=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[19, 14], Operations: ['64-45=19', '69-55=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[55, 69, 19], Operations: ['64-45=19'] Exploring Operation: 55+69=124, Resulting Numbers: [19, 124] Generated Node #0,3,5: 64:[19, 124] Operation: 55+69=124 Moving to Node #0,3,5 Current State: 64:[19, 124], Operations: ['64-45=19', '55+69=124'] Exploring Operation: 124-19=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [64, 69, 10] Generated Node #0,4: 64:[64, 69, 10] Operation: 55-45=10 Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 69-10=59, Resulting Numbers: [64, 59] Generated Node #0,4,0: 64:[64, 59] Operation: 69-10=59 Moving to Node #0,4,0 Current State: 64:[64, 59], Operations: ['55-45=10', '69-10=59'] Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[64, 59], Operations: ['55-45=10', '69-10=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 64+10=74, Resulting Numbers: [69, 74] Generated Node #0,4,1: 64:[69, 74] Operation: 64+10=74 Moving to Node #0,4,1 Current State: 64:[69, 74], Operations: ['55-45=10', '64+10=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 64-10=54, Resulting Numbers: [69, 54] Generated Node #0,4,2: 64:[69, 54] Operation: 64-10=54 Moving to Node #0,4,2 Current State: 64:[69, 54], Operations: ['55-45=10', '64-10=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[69, 54], Operations: ['55-45=10', '64-10=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 69+10=79, Resulting Numbers: [64, 79] Generated Node #0,4,3: 64:[64, 79] Operation: 69+10=79 Moving to Node #0,4,3 Current State: 64:[64, 79], Operations: ['55-45=10', '69+10=79'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 69-64=5, Resulting Numbers: [10, 5] Generated Node #0,4,4: 64:[10, 5] Operation: 69-64=5 Moving to Node #0,4,4 Current State: 64:[10, 5], Operations: ['55-45=10', '69-64=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[10, 5], Operations: ['55-45=10', '69-64=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[10, 5], Operations: ['55-45=10', '69-64=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[10, 5], Operations: ['55-45=10', '69-64=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[64, 69, 10], Operations: ['55-45=10'] Exploring Operation: 64+69=133, Resulting Numbers: [10, 133] Generated Node #0,4,5: 64:[10, 133] Operation: 64+69=133 Moving to Node #0,4,5 Current State: 64:[10, 133], Operations: ['55-45=10', '64+69=133'] Exploring Operation: 133-10=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 45+69=114, Resulting Numbers: [64, 55, 114] Generated Node #0,5: 64:[64, 55, 114] Operation: 45+69=114 Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 114-55=59, Resulting Numbers: [64, 59] Generated Node #0,5,0: 64:[64, 59] Operation: 114-55=59 Moving to Node #0,5,0 Current State: 64:[64, 59], Operations: ['45+69=114', '114-55=59'] Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,5,0 Current State: 64:[64, 59], Operations: ['45+69=114', '114-55=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 114-64=50, Resulting Numbers: [55, 50] Generated Node #0,5,1: 64:[55, 50] Operation: 114-64=50 Moving to Node #0,5,1 Current State: 64:[55, 50], Operations: ['45+69=114', '114-64=50'] Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,5,1 Current State: 64:[55, 50], Operations: ['45+69=114', '114-64=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 64+55=119, Resulting Numbers: [114, 119] Generated Node #0,5,2: 64:[114, 119] Operation: 64+55=119 Moving to Node #0,5,2 Current State: 64:[114, 119], Operations: ['45+69=114', '64+55=119'] Exploring Operation: 119-114=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 64-55=9, Resulting Numbers: [114, 9] Generated Node #0,5,3: 64:[114, 9] Operation: 64-55=9 Moving to Node #0,5,3 Current State: 64:[114, 9], Operations: ['45+69=114', '64-55=9'] Exploring Operation: 114-9=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,5,3 Current State: 64:[114, 9], Operations: ['45+69=114', '64-55=9'] Exploring Operation: 114+9=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 55+114=169, Resulting Numbers: [64, 169] Generated Node #0,5,4: 64:[64, 169] Operation: 55+114=169 Moving to Node #0,5,4 Current State: 64:[64, 169], Operations: ['45+69=114', '55+114=169'] Exploring Operation: 169-64=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[64, 55, 114], Operations: ['45+69=114'] Exploring Operation: 64+114=178, Resulting Numbers: [55, 178] Generated Node #0,5,5: 64:[55, 178] Operation: 64+114=178 Moving to Node #0,5,5 Current State: 64:[55, 178], Operations: ['45+69=114', '64+114=178'] Exploring Operation: 178-55=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [45, 64, 14] Generated Node #0,6: 64:[45, 64, 14] Operation: 69-55=14 Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 45+14=59, Resulting Numbers: [64, 59] Generated Node #0,6,0: 64:[64, 59] Operation: 45+14=59 Moving to Node #0,6,0 Current State: 64:[64, 59], Operations: ['69-55=14', '45+14=59'] Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,6,0 Current State: 64:[64, 59], Operations: ['69-55=14', '45+14=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 45-14=31, Resulting Numbers: [64, 31] Generated Node #0,6,1: 64:[64, 31] Operation: 45-14=31 Moving to Node #0,6,1 Current State: 64:[64, 31], Operations: ['69-55=14', '45-14=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,6,1 Current State: 64:[64, 31], Operations: ['69-55=14', '45-14=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 64+14=78, Resulting Numbers: [45, 78] Generated Node #0,6,2: 64:[45, 78] Operation: 64+14=78 Moving to Node #0,6,2 Current State: 64:[45, 78], Operations: ['69-55=14', '64+14=78'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,6,2 Current State: 64:[45, 78], Operations: ['69-55=14', '64+14=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 64-14=50, Resulting Numbers: [45, 50] Generated Node #0,6,3: 64:[45, 50] Operation: 64-14=50 Moving to Node #0,6,3 Current State: 64:[45, 50], Operations: ['69-55=14', '64-14=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,6,3 Current State: 64:[45, 50], Operations: ['69-55=14', '64-14=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 45+64=109, Resulting Numbers: [14, 109] Generated Node #0,6,4: 64:[14, 109] Operation: 45+64=109 Moving to Node #0,6,4 Current State: 64:[14, 109], Operations: ['69-55=14', '45+64=109'] Exploring Operation: 109-14=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,6,4 Current State: 64:[14, 109], Operations: ['69-55=14', '45+64=109'] Exploring Operation: 14+109=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[45, 64, 14], Operations: ['69-55=14'] Exploring Operation: 64-45=19, Resulting Numbers: [14, 19] Generated Node #0,6,5: 64:[14, 19] Operation: 64-45=19 Moving to Node #0,6,5 Current State: 64:[14, 19], Operations: ['69-55=14', '64-45=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,6,5 Current State: 64:[14, 19], Operations: ['69-55=14', '64-45=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 64+55=119, Resulting Numbers: [45, 69, 119] Generated Node #0,7: 64:[45, 69, 119] Operation: 64+55=119 Moving to Node #0,7 Current State: 64:[45, 69, 119], Operations: ['64+55=119'] Exploring Operation: 119-45=74, Resulting Numbers: [69, 74] Generated Node #0,7,0: 64:[69, 74] Operation: 119-45=74 Moving to Node #0,7,0 Current State: 64:[69, 74], Operations: ['64+55=119', '119-45=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[45, 69, 119], Operations: ['64+55=119'] Exploring Operation: 119-69=50, Resulting Numbers: [45, 50] Generated Node #0,7,1: 64:[45, 50] Operation: 119-69=50 Moving to Node #0,7,1 Current State: 64:[45, 50], Operations: ['64+55=119', '119-69=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,7,1 Current State: 64:[45, 50], Operations: ['64+55=119', '119-69=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[45, 69, 119], Operations: ['64+55=119'] Exploring Operation: 69-45=24, Resulting Numbers: [119, 24] Generated Node #0,7,2: 64:[119, 24] Operation: 69-45=24 Moving to Node #0,7,2 Current State: 64:[119, 24], Operations: ['64+55=119', '69-45=24'] Exploring Operation: 119-24=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[45, 69, 119], Operations: ['64+55=119'] Exploring Operation: 45+69=114, Resulting Numbers: [119, 114] Generated Node #0,7,3: 64:[119, 114] Operation: 45+69=114 Moving to Node #0,7,3 Current State: 64:[119, 114], Operations: ['64+55=119', '45+69=114'] Exploring Operation: 119-114=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[45, 69, 119], Operations: ['64+55=119'] Exploring Operation: 45+119=164, Resulting Numbers: [69, 164] Generated Node #0,7,4: 64:[69, 164] Operation: 45+119=164 Moving to Node #0,7,4 Current State: 64:[69, 164], Operations: ['64+55=119', '45+119=164'] Exploring Operation: 164-69=95, Resulting Numbers: [95] 95,64 unequal: No Solution Moving to Node #0 Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [45, 69, 9] Generated Node #0,8: 64:[45, 69, 9] Operation: 64-55=9 Moving to Node #0,8 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 45+9=54, Resulting Numbers: [69, 54] Generated Node #0,8,0: 64:[69, 54] Operation: 45+9=54 Moving to Node #0,8,0 Current State: 64:[69, 54], Operations: ['64-55=9', '45+9=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,8,0 Current State: 64:[69, 54], Operations: ['64-55=9', '45+9=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 69-9=60, Resulting Numbers: [45, 60] Generated Node #0,8,1: 64:[45, 60] Operation: 69-9=60 Moving to Node #0,8,1 Current State: 64:[45, 60], Operations: ['64-55=9', '69-9=60'] Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,8,1 Current State: 64:[45, 60], Operations: ['64-55=9', '69-9=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 45-9=36, Resulting Numbers: [69, 36] Generated Node #0,8,2: 64:[69, 36] Operation: 45-9=36 Moving to Node #0,8,2 Current State: 64:[69, 36], Operations: ['64-55=9', '45-9=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,8,2 Current State: 64:[69, 36], Operations: ['64-55=9', '45-9=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 69+9=78, Resulting Numbers: [45, 78] Generated Node #0,8,3: 64:[45, 78] Operation: 69+9=78 Moving to Node #0,8,3 Current State: 64:[45, 78], Operations: ['64-55=9', '69+9=78'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,8,3 Current State: 64:[45, 78], Operations: ['64-55=9', '69+9=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 45/9=5, Resulting Numbers: [69, 5] Generated Node #0,8,4: 64:[69, 5] Operation: 45/9=5 Moving to Node #0,8,4 Current State: 64:[69, 5], Operations: ['64-55=9', '45/9=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.873264
dfs
Current State: 64:[45, 64, 55, 69], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [45, 69, 9] Generated Node #2: [45, 69, 9] from Operation: 64-55=9 Current State: 64:[45, 69, 9], Operations: ['64-55=9'] Exploring Operation: 45/9=5, Resulting Numbers: [69, 5] Generated Node #3: [69, 5] from Operation: 45/9=5 Current State: 64:[69, 5], Operations: ['64-55=9', '45/9=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
sum_heuristic
[ 86, 60, 51, 62 ]
94
[ "62-60=2", "86/2=43", "51+43=94" ]
Current State: 94:[86, 60, 51, 62], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [86, 51, 2] Generated Node #0,0: 94:[86, 51, 2] Operation: 62-60=2 Moving to Node #0,0 Current State: 94:[86, 51, 2], Operations: ['62-60=2'] Exploring Operation: 86/2=43, Resulting Numbers: [51, 43] Generated Node #0,0,0: 94:[51, 43] Operation: 86/2=43 Moving to Node #0,0,0 Current State: 94:[51, 43], Operations: ['62-60=2', '86/2=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.996528
bfs_1
Current State: 94:[86, 60, 51, 62], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [86, 51, 2] Generated Node #2: [86, 51, 2] from Operation: 62-60=2 Current State: 94:[86, 51, 2], Operations: ['62-60=2'] Exploring Operation: 86/2=43, Resulting Numbers: [51, 43] Generated Node #3: [51, 43] from Operation: 86/2=43 Current State: 94:[51, 43], Operations: ['62-60=2', '86/2=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
mult_heuristic
[ 4, 67, 23, 69 ]
21
[ "4+67=71", "23+69=92", "92-71=21" ]
Current State: 21:[4, 67, 23, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [4, 67, 3] Generated Node #0,0: 21:[4, 67, 3] Operation: 69/23=3 Exploring Operation: 69-67=2, Resulting Numbers: [4, 23, 2] Generated Node #0,1: 21:[4, 23, 2] Operation: 69-67=2 Exploring Operation: 69-23=46, Resulting Numbers: [4, 67, 46] Generated Node #0,2: 21:[4, 67, 46] Operation: 69-23=46 Exploring Operation: 67-23=44, Resulting Numbers: [4, 69, 44] Generated Node #0,3: 21:[4, 69, 44] Operation: 67-23=44 Exploring Operation: 67-4=63, Resulting Numbers: [23, 69, 63] Generated Node #0,4: 21:[23, 69, 63] Operation: 67-4=63 Moving to Node #0,1 Current State: 21:[4, 23, 2], Operations: ['69-67=2'] Exploring Operation: 4*2=8, Resulting Numbers: [23, 8] Generated Node #0,1,0: 21:[23, 8] Operation: 4*2=8 Exploring Operation: 4-2=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 21:[23, 2] Operation: 4-2=2 Exploring Operation: 23-4=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 21:[2, 19] Operation: 23-4=19 Exploring Operation: 4+2=6, Resulting Numbers: [23, 6] Generated Node #0,1,3: 21:[23, 6] Operation: 4+2=6 Exploring Operation: 23-2=21, Resulting Numbers: [4, 21] Generated Node #0,1,4: 21:[4, 21] Operation: 23-2=21 Moving to Node #0,0 Current State: 21:[4, 67, 3], Operations: ['69/23=3'] Exploring Operation: 4*3=12, Resulting Numbers: [67, 12] Generated Node #0,0,0: 21:[67, 12] Operation: 4*3=12 Exploring Operation: 4-3=1, Resulting Numbers: [67, 1] Generated Node #0,0,1: 21:[67, 1] Operation: 4-3=1 Exploring Operation: 67-4=63, Resulting Numbers: [3, 63] Generated Node #0,0,2: 21:[3, 63] Operation: 67-4=63 Exploring Operation: 67-3=64, Resulting Numbers: [4, 64] Generated Node #0,0,3: 21:[4, 64] Operation: 67-3=64 Exploring Operation: 4+3=7, Resulting Numbers: [67, 7] Generated Node #0,0,4: 21:[67, 7] Operation: 4+3=7 Moving to Node #0,2 Current State: 21:[4, 67, 46], Operations: ['69-23=46'] Exploring Operation: 4+46=50, Resulting Numbers: [67, 50] Generated Node #0,2,0: 21:[67, 50] Operation: 4+46=50 Exploring Operation: 67-4=63, Resulting Numbers: [46, 63] Generated Node #0,2,1: 21:[46, 63] Operation: 67-4=63 Exploring Operation: 67-46=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 21:[4, 21] Operation: 67-46=21 Exploring Operation: 4+67=71, Resulting Numbers: [46, 71] Generated Node #0,2,3: 21:[46, 71] Operation: 4+67=71 Exploring Operation: 46-4=42, Resulting Numbers: [67, 42] Generated Node #0,2,4: 21:[67, 42] Operation: 46-4=42 Moving to Node #0,3 Current State: 21:[4, 69, 44], Operations: ['67-23=44'] Exploring Operation: 69-44=25, Resulting Numbers: [4, 25] Generated Node #0,3,0: 21:[4, 25] Operation: 69-44=25 Exploring Operation: 69-4=65, Resulting Numbers: [44, 65] Generated Node #0,3,1: 21:[44, 65] Operation: 69-4=65 Exploring Operation: 44-4=40, Resulting Numbers: [69, 40] Generated Node #0,3,2: 21:[69, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [69, 11] Generated Node #0,3,3: 21:[69, 11] Operation: 44/4=11 Exploring Operation: 4+69=73, Resulting Numbers: [44, 73] Generated Node #0,3,4: 21:[44, 73] Operation: 4+69=73 Moving to Node #0,4 Current State: 21:[23, 69, 63], Operations: ['67-4=63'] Exploring Operation: 23+69=92, Resulting Numbers: [63, 92] Generated Node #0,4,0: 21:[63, 92] Operation: 23+69=92 Exploring Operation: 69/23=3, Resulting Numbers: [63, 3] Generated Node #0,4,1: 21:[63, 3] Operation: 69/23=3 Exploring Operation: 63-23=40, Resulting Numbers: [69, 40] Generated Node #0,4,2: 21:[69, 40] Operation: 63-23=40 Exploring Operation: 69-63=6, Resulting Numbers: [23, 6] Generated Node #0,4,3: 21:[23, 6] Operation: 69-63=6 Exploring Operation: 69-23=46, Resulting Numbers: [63, 46] Generated Node #0,4,4: 21:[63, 46] Operation: 69-23=46 Moving to Node #0,1,0 Current State: 21:[23, 8], Operations: ['69-67=2', '4*2=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,21 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[4, 21], Operations: ['69-67=2', '23-2=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[23, 6], Operations: ['69-67=2', '4+2=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,21 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[4, 21], Operations: ['69-23=46', '67-46=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,21 unequal: No Solution Moving to Node #0,4,3 Current State: 21:[23, 6], Operations: ['67-4=63', '69-63=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,21 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,1,4,0 Current State: 21:[25], Operations: ['69-67=2', '23-2=21', '4+21=25'] Moving to Node #0,1,4,0 Current State: 21:[17], Operations: ['69-67=2', '23-2=21', '21-4=17'] Moving to Node #0,2,2,0 Current State: 21:[25], Operations: ['69-23=46', '67-46=21', '4+21=25'] Moving to Node #0,2,2,0 Current State: 21:[17], Operations: ['69-23=46', '67-46=21', '21-4=17'] Moving to Node #0,1,3,0 Current State: 21:[17], Operations: ['69-67=2', '4+2=6', '23-6=17'] Moving to Node #0,4,3,0 Current State: 21:[17], Operations: ['67-4=63', '69-63=6', '23-6=17'] Moving to Node #0,1,0,0 Current State: 21:[15], Operations: ['69-67=2', '4*2=8', '23-8=15'] Moving to Node #0,1,3,0 Current State: 21:[29], Operations: ['69-67=2', '4+2=6', '23+6=29'] Moving to Node #0,4,3,0 Current State: 21:[29], Operations: ['67-4=63', '69-63=6', '23+6=29'] Moving to Node #0,1,0,0 Current State: 21:[31], Operations: ['69-67=2', '4*2=8', '23+8=31'] Moving to Node #0,1,2 Current State: 21:[2, 19], Operations: ['69-67=2', '23-4=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.958333
bfs_5
Current State: 21:[4, 67, 23, 69], Operations: [] Exploring Operation: 4+67=71, Resulting Numbers: [23, 69, 71] Generated Node #2: [23, 69, 71] from Operation: 4+67=71 Current State: 21:[23, 69, 71], Operations: ['4+67=71'] Exploring Operation: 23+69=92, Resulting Numbers: [71, 92] Generated Node #3: [71, 92] from Operation: 23+69=92 Current State: 21:[71, 92], Operations: ['4+67=71', '23+69=92'] Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
sum_heuristic
[ 81, 13, 32, 72 ]
73
[ "32+72=104", "104/13=8", "81-8=73" ]
Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 13+32=45, Resulting Numbers: [81, 72, 45] Generated Node #0,0: 73:[81, 72, 45] Operation: 13+32=45 Moving to Node #0,0 Current State: 73:[81, 72, 45], Operations: ['13+32=45'] Exploring Operation: 81-45=36, Resulting Numbers: [72, 36] Generated Node #0,0,0: 73:[72, 36] Operation: 81-45=36 Moving to Node #0,0,0 Current State: 73:[72, 36], Operations: ['13+32=45', '81-45=36'] Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[72, 36], Operations: ['13+32=45', '81-45=36'] Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[72, 36], Operations: ['13+32=45', '81-45=36'] Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[81, 72, 45], Operations: ['13+32=45'] Exploring Operation: 72+45=117, Resulting Numbers: [81, 117] Generated Node #0,0,1: 73:[81, 117] Operation: 72+45=117 Moving to Node #0,0,1 Current State: 73:[81, 117], Operations: ['13+32=45', '72+45=117'] Exploring Operation: 117-81=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[81, 72, 45], Operations: ['13+32=45'] Exploring Operation: 81+45=126, Resulting Numbers: [72, 126] Generated Node #0,0,2: 73:[72, 126] Operation: 81+45=126 Moving to Node #0,0,2 Current State: 73:[72, 126], Operations: ['13+32=45', '81+45=126'] Exploring Operation: 126-72=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,0 Current State: 73:[81, 72, 45], Operations: ['13+32=45'] Exploring Operation: 72-45=27, Resulting Numbers: [81, 27] Generated Node #0,0,3: 73:[81, 27] Operation: 72-45=27 Moving to Node #0,0,3 Current State: 73:[81, 27], Operations: ['13+32=45', '72-45=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[81, 27], Operations: ['13+32=45', '72-45=27'] Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[81, 27], Operations: ['13+32=45', '72-45=27'] Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0 Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [32, 72, 68] Generated Node #0,1: 73:[32, 72, 68] Operation: 81-13=68 Moving to Node #0,1 Current State: 73:[32, 72, 68], Operations: ['81-13=68'] Exploring Operation: 32+68=100, Resulting Numbers: [72, 100] Generated Node #0,1,0: 73:[72, 100] Operation: 32+68=100 Moving to Node #0,1,0 Current State: 73:[72, 100], Operations: ['81-13=68', '32+68=100'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[32, 72, 68], Operations: ['81-13=68'] Exploring Operation: 32+72=104, Resulting Numbers: [68, 104] Generated Node #0,1,1: 73:[68, 104] Operation: 32+72=104 Moving to Node #0,1,1 Current State: 73:[68, 104], Operations: ['81-13=68', '32+72=104'] Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[32, 72, 68], Operations: ['81-13=68'] Exploring Operation: 72-32=40, Resulting Numbers: [68, 40] Generated Node #0,1,2: 73:[68, 40] Operation: 72-32=40 Moving to Node #0,1,2 Current State: 73:[68, 40], Operations: ['81-13=68', '72-32=40'] Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[68, 40], Operations: ['81-13=68', '72-32=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,1 Current State: 73:[32, 72, 68], Operations: ['81-13=68'] Exploring Operation: 68-32=36, Resulting Numbers: [72, 36] Generated Node #0,1,3: 73:[72, 36] Operation: 68-32=36 Moving to Node #0,1,3 Current State: 73:[72, 36], Operations: ['81-13=68', '68-32=36'] Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[72, 36], Operations: ['81-13=68', '68-32=36'] Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[72, 36], Operations: ['81-13=68', '68-32=36'] Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0 Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 13+72=85, Resulting Numbers: [81, 32, 85] Generated Node #0,2: 73:[81, 32, 85] Operation: 13+72=85 Moving to Node #0,2 Current State: 73:[81, 32, 85], Operations: ['13+72=85'] Exploring Operation: 85-32=53, Resulting Numbers: [81, 53] Generated Node #0,2,0: 73:[81, 53] Operation: 85-32=53 Moving to Node #0,2,0 Current State: 73:[81, 53], Operations: ['13+72=85', '85-32=53'] Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[81, 53], Operations: ['13+72=85', '85-32=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[81, 32, 85], Operations: ['13+72=85'] Exploring Operation: 81-32=49, Resulting Numbers: [85, 49] Generated Node #0,2,1: 73:[85, 49] Operation: 81-32=49 Moving to Node #0,2,1 Current State: 73:[85, 49], Operations: ['13+72=85', '81-32=49'] Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[85, 49], Operations: ['13+72=85', '81-32=49'] Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[81, 32, 85], Operations: ['13+72=85'] Exploring Operation: 81+32=113, Resulting Numbers: [85, 113] Generated Node #0,2,2: 73:[85, 113] Operation: 81+32=113 Moving to Node #0,2,2 Current State: 73:[85, 113], Operations: ['13+72=85', '81+32=113'] Exploring Operation: 113-85=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,2 Current State: 73:[81, 32, 85], Operations: ['13+72=85'] Exploring Operation: 32+85=117, Resulting Numbers: [81, 117] Generated Node #0,2,3: 73:[81, 117] Operation: 32+85=117 Moving to Node #0,2,3 Current State: 73:[81, 117], Operations: ['13+72=85', '32+85=117'] Exploring Operation: 117-81=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0 Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 81+13=94, Resulting Numbers: [32, 72, 94] Generated Node #0,3: 73:[32, 72, 94] Operation: 81+13=94 Moving to Node #0,3 Current State: 73:[32, 72, 94], Operations: ['81+13=94'] Exploring Operation: 94-32=62, Resulting Numbers: [72, 62] Generated Node #0,3,0: 73:[72, 62] Operation: 94-32=62 Moving to Node #0,3,0 Current State: 73:[72, 62], Operations: ['81+13=94', '94-32=62'] Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[72, 62], Operations: ['81+13=94', '94-32=62'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[32, 72, 94], Operations: ['81+13=94'] Exploring Operation: 32+72=104, Resulting Numbers: [94, 104] Generated Node #0,3,1: 73:[94, 104] Operation: 32+72=104 Moving to Node #0,3,1 Current State: 73:[94, 104], Operations: ['81+13=94', '32+72=104'] Exploring Operation: 104-94=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[32, 72, 94], Operations: ['81+13=94'] Exploring Operation: 72-32=40, Resulting Numbers: [94, 40] Generated Node #0,3,2: 73:[94, 40] Operation: 72-32=40 Moving to Node #0,3,2 Current State: 73:[94, 40], Operations: ['81+13=94', '72-32=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[94, 40], Operations: ['81+13=94', '72-32=40'] Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,3 Current State: 73:[32, 72, 94], Operations: ['81+13=94'] Exploring Operation: 32+94=126, Resulting Numbers: [72, 126] Generated Node #0,3,3: 73:[72, 126] Operation: 32+94=126 Moving to Node #0,3,3 Current State: 73:[72, 126], Operations: ['81+13=94', '32+94=126'] Exploring Operation: 126-72=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0 Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [81, 72, 19] Generated Node #0,4: 73:[81, 72, 19] Operation: 32-13=19 Moving to Node #0,4 Current State: 73:[81, 72, 19], Operations: ['32-13=19'] Exploring Operation: 81-19=62, Resulting Numbers: [72, 62] Generated Node #0,4,0: 73:[72, 62] Operation: 81-19=62 Moving to Node #0,4,0 Current State: 73:[72, 62], Operations: ['32-13=19', '81-19=62'] Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[72, 62], Operations: ['32-13=19', '81-19=62'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[81, 72, 19], Operations: ['32-13=19'] Exploring Operation: 72+19=91, Resulting Numbers: [81, 91] Generated Node #0,4,1: 73:[81, 91] Operation: 72+19=91 Moving to Node #0,4,1 Current State: 73:[81, 91], Operations: ['32-13=19', '72+19=91'] Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[81, 72, 19], Operations: ['32-13=19'] Exploring Operation: 81+19=100, Resulting Numbers: [72, 100] Generated Node #0,4,2: 73:[72, 100] Operation: 81+19=100 Moving to Node #0,4,2 Current State: 73:[72, 100], Operations: ['32-13=19', '81+19=100'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,4 Current State: 73:[81, 72, 19], Operations: ['32-13=19'] Exploring Operation: 72-19=53, Resulting Numbers: [81, 53] Generated Node #0,4,3: 73:[81, 53] Operation: 72-19=53 Moving to Node #0,4,3 Current State: 73:[81, 53], Operations: ['32-13=19', '72-19=53'] Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[81, 53], Operations: ['32-13=19', '72-19=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0 Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [81, 32, 59] Generated Node #0,5: 73:[81, 32, 59] Operation: 72-13=59 Moving to Node #0,5 Current State: 73:[81, 32, 59], Operations: ['72-13=59'] Exploring Operation: 32+59=91, Resulting Numbers: [81, 91] Generated Node #0,5,0: 73:[81, 91] Operation: 32+59=91 Moving to Node #0,5,0 Current State: 73:[81, 91], Operations: ['72-13=59', '32+59=91'] Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,5 Current State: 73:[81, 32, 59], Operations: ['72-13=59'] Exploring Operation: 81-32=49, Resulting Numbers: [59, 49] Generated Node #0,5,1: 73:[59, 49] Operation: 81-32=49 Moving to Node #0,5,1 Current State: 73:[59, 49], Operations: ['72-13=59', '81-32=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,5,1 Current State: 73:[59, 49], Operations: ['72-13=59', '81-32=49'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,5 Current State: 73:[81, 32, 59], Operations: ['72-13=59'] Exploring Operation: 81+32=113, Resulting Numbers: [59, 113] Generated Node #0,5,2: 73:[59, 113] Operation: 81+32=113 Moving to Node #0,5,2 Current State: 73:[59, 113], Operations: ['72-13=59', '81+32=113'] Exploring Operation: 113-59=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,5 Current State: 73:[81, 32, 59], Operations: ['72-13=59'] Exploring Operation: 59-32=27, Resulting Numbers: [81, 27] Generated Node #0,5,3: 73:[81, 27] Operation: 59-32=27 Moving to Node #0,5,3 Current State: 73:[81, 27], Operations: ['72-13=59', '59-32=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,5,3 Current State: 73:[81, 27], Operations: ['72-13=59', '59-32=27'] Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,5,3 Current State: 73:[81, 27], Operations: ['72-13=59', '59-32=27'] Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,73 unequal: No Solution
0
dfs
Current State: 73:[81, 13, 32, 72], Operations: [] Exploring Operation: 32+72=104, Resulting Numbers: [81, 13, 104] Generated Node #2: [81, 13, 104] from Operation: 32+72=104 Current State: 73:[81, 13, 104], Operations: ['32+72=104'] Exploring Operation: 104/13=8, Resulting Numbers: [81, 8] Generated Node #3: [81, 8] from Operation: 104/13=8 Current State: 73:[81, 8], Operations: ['32+72=104', '104/13=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
mult_heuristic
[ 81, 19, 98, 83 ]
60
[ "83-81=2", "19*2=38", "98-38=60" ]
Current State: 60:[81, 19, 98, 83], Operations: [] Exploring Operation: 81-19=62, Resulting Numbers: [98, 83, 62] Generated Node #0,0: 60:[98, 83, 62] Operation: 81-19=62 Exploring Operation: 98-19=79, Resulting Numbers: [81, 83, 79] Generated Node #0,1: 60:[81, 83, 79] Operation: 98-19=79 Exploring Operation: 83-19=64, Resulting Numbers: [81, 98, 64] Generated Node #0,2: 60:[81, 98, 64] Operation: 83-19=64 Moving to Node #0,0 Current State: 60:[98, 83, 62], Operations: ['81-19=62'] Exploring Operation: 98-62=36, Resulting Numbers: [83, 36] Generated Node #0,0,0: 60:[83, 36] Operation: 98-62=36 Exploring Operation: 83-62=21, Resulting Numbers: [98, 21] Generated Node #0,0,1: 60:[98, 21] Operation: 83-62=21 Exploring Operation: 98-83=15, Resulting Numbers: [62, 15] Generated Node #0,0,2: 60:[62, 15] Operation: 98-83=15 Moving to Node #0,1 Current State: 60:[81, 83, 79], Operations: ['98-19=79'] Exploring Operation: 83-81=2, Resulting Numbers: [79, 2] Generated Node #0,1,0: 60:[79, 2] Operation: 83-81=2 Exploring Operation: 83-79=4, Resulting Numbers: [81, 4] Generated Node #0,1,1: 60:[81, 4] Operation: 83-79=4 Exploring Operation: 81-79=2, Resulting Numbers: [83, 2] Generated Node #0,1,2: 60:[83, 2] Operation: 81-79=2 Moving to Node #0,2 Current State: 60:[81, 98, 64], Operations: ['83-19=64'] Exploring Operation: 81-64=17, Resulting Numbers: [98, 17] Generated Node #0,2,0: 60:[98, 17] Operation: 81-64=17 Exploring Operation: 98-64=34, Resulting Numbers: [81, 34] Generated Node #0,2,1: 60:[81, 34] Operation: 98-64=34 Exploring Operation: 98-81=17, Resulting Numbers: [64, 17] Generated Node #0,2,2: 60:[64, 17] Operation: 98-81=17 Moving to Node #0,0,0 Current State: 60:[83, 36], Operations: ['81-19=62', '98-62=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,60 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[81, 34], Operations: ['83-19=64', '98-64=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,60 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[62, 15], Operations: ['81-19=62', '98-83=15'] Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,60 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,60 unequal: No Solution Moving to Node #0,0,0,0 Current State: 60:[47], Operations: ['81-19=62', '98-62=36', '83-36=47'] Moving to Node #0,0,2,0 Current State: 60:[47], Operations: ['81-19=62', '98-83=15', '62-15=47'] Moving to Node #0,2,1,0 Current State: 60:[47], Operations: ['83-19=64', '98-64=34', '81-34=47'] Moving to Node #0,0,2,0 Current State: 60:[77], Operations: ['81-19=62', '98-83=15', '62+15=77'] Moving to Node #0,2,2 Current State: 60:[64, 17], Operations: ['83-19=64', '98-81=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[98, 21], Operations: ['81-19=62', '83-62=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,60 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,60 unequal: No Solution Moving to Node #0,2,2,0 Current State: 60:[47], Operations: ['83-19=64', '98-81=17', '64-17=47'] Moving to Node #0,0,1,0 Current State: 60:[77], Operations: ['81-19=62', '83-62=21', '98-21=77'] Moving to Node #0,2,2,0 Current State: 60:[81], Operations: ['83-19=64', '98-81=17', '64+17=81'] Moving to Node #0,1,1 Current State: 60:[81, 4], Operations: ['98-19=79', '83-79=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,60 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[79, 2], Operations: ['98-19=79', '83-81=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,60 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[83, 2], Operations: ['98-19=79', '81-79=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,60 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,60 unequal: No Solution Moving to Node #0,1,1,0 Current State: 60:[77], Operations: ['98-19=79', '83-79=4', '81-4=77'] Moving to Node #0,1,0,0 Current State: 60:[77], Operations: ['98-19=79', '83-81=2', '79-2=77'] Moving to Node #0,1,0,0 Current State: 60:[81], Operations: ['98-19=79', '83-81=2', '79+2=81'] Moving to Node #0,1,2,0 Current State: 60:[81], Operations: ['98-19=79', '81-79=2', '83-2=81'] Moving to Node #0,1,1,0 Current State: 60:[85], Operations: ['98-19=79', '83-79=4', '81+4=85'] Moving to Node #0,1,2,0 Current State: 60:[85], Operations: ['98-19=79', '81-79=2', '83+2=85'] Moving to Node #0,2,0 Current State: 60:[98, 17], Operations: ['83-19=64', '81-64=17'] Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,60 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,60 unequal: No Solution Moving to Node #0,2,1,0 Current State: 60:[115], Operations: ['83-19=64', '98-64=34', '81+34=115'] Moving to Node #0,0,1,0 Current State: 60:[119], Operations: ['81-19=62', '83-62=21', '98+21=119'] Moving to Node #0,2,0,0 Current State: 60:[81], Operations: ['83-19=64', '81-64=17', '98-17=81'] Moving to Node #0,2,0,0 Current State: 60:[115], Operations: ['83-19=64', '81-64=17', '98+17=115'] Moving to Node #0,0,0,0 Current State: 60:[119], Operations: ['81-19=62', '98-62=36', '83+36=119'] Moving to Node #0,1,0,0 Current State: 60:[158], Operations: ['98-19=79', '83-81=2', '79*2=158'] Moving to Node #0,1,2,0 Current State: 60:[166], Operations: ['98-19=79', '81-79=2', '83*2=166'] Moving to Node #0,1,1,0 Current State: 60:[324], Operations: ['98-19=79', '83-79=4', '81*4=324'] Moving to Node #0,0,2,0 Current State: 60:[930], Operations: ['81-19=62', '98-83=15', '62*15=930'] Moving to Node #0,2,2,0 Current State: 60:[1088], Operations: ['83-19=64', '98-81=17', '64*17=1088'] Moving to Node #0,2,0,0 Current State: 60:[1666], Operations: ['83-19=64', '81-64=17', '98*17=1666'] Moving to Node #0,0,1,0 Current State: 60:[2058], Operations: ['81-19=62', '83-62=21', '98*21=2058'] Moving to Node #0,2,1,0 Current State: 60:[2754], Operations: ['83-19=64', '98-64=34', '81*34=2754'] Moving to Node #0,0,0,0 Current State: 60:[2988], Operations: ['81-19=62', '98-62=36', '83*36=2988'] No solution found.
0
bfs_3
Current State: 60:[81, 19, 98, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [19, 98, 2] Generated Node #2: [19, 98, 2] from Operation: 83-81=2 Current State: 60:[19, 98, 2], Operations: ['83-81=2'] Exploring Operation: 19*2=38, Resulting Numbers: [98, 38] Generated Node #3: [98, 38] from Operation: 19*2=38 Current State: 60:[98, 38], Operations: ['83-81=2', '19*2=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
sum_heuristic
[ 77, 10, 7, 70 ]
23
[ "10*70=700", "700/7=100", "100-77=23" ]
Current State: 23:[77, 10, 7, 70], Operations: []
0
dfs
Current State: 23:[77, 10, 7, 70], Operations: [] Exploring Operation: 10*70=700, Resulting Numbers: [77, 7, 700] Generated Node #2: [77, 7, 700] from Operation: 10*70=700 Current State: 23:[77, 7, 700], Operations: ['10*70=700'] Exploring Operation: 700/7=100, Resulting Numbers: [77, 100] Generated Node #3: [77, 100] from Operation: 700/7=100 Current State: 23:[77, 100], Operations: ['10*70=700', '700/7=100'] Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
mult_heuristic
[ 7, 77, 72, 31 ]
92
[ "77/7=11", "72+31=103", "103-11=92" ]
Current State: 92:[7, 77, 72, 31], Operations: [] Exploring Operation: 7+77=84, Resulting Numbers: [72, 31, 84] Generated Node #0,0: 92:[72, 31, 84] Operation: 7+77=84 Exploring Operation: 7+72=79, Resulting Numbers: [77, 31, 79] Generated Node #0,1: 92:[77, 31, 79] Operation: 7+72=79 Moving to Node #0,0 Current State: 92:[72, 31, 84], Operations: ['7+77=84'] Exploring Operation: 31+84=115, Resulting Numbers: [72, 115] Generated Node #0,0,0: 92:[72, 115] Operation: 31+84=115 Exploring Operation: 72+31=103, Resulting Numbers: [84, 103] Generated Node #0,0,1: 92:[84, 103] Operation: 72+31=103 Moving to Node #0,1 Current State: 92:[77, 31, 79], Operations: ['7+72=79'] Exploring Operation: 77+31=108, Resulting Numbers: [79, 108] Generated Node #0,1,0: 92:[79, 108] Operation: 77+31=108 Exploring Operation: 31+79=110, Resulting Numbers: [77, 110] Generated Node #0,1,1: 92:[77, 110] Operation: 31+79=110 Moving to Node #0,0,1 Current State: 92:[84, 103], Operations: ['7+77=84', '72+31=103'] Exploring Operation: 103-84=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 84+103=187, Resulting Numbers: [187] 187,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[79, 108], Operations: ['7+72=79', '77+31=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[77, 110], Operations: ['7+72=79', '31+79=110'] Exploring Operation: 77+110=187, Resulting Numbers: [187] 187,92 unequal: No Solution Exploring Operation: 110-77=33, Resulting Numbers: [33] 33,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[72, 115], Operations: ['7+77=84', '31+84=115'] Exploring Operation: 115-72=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 72+115=187, Resulting Numbers: [187] 187,92 unequal: No Solution Moving to Node #0,0,0,0 Current State: 92:[43], Operations: ['7+77=84', '31+84=115', '115-72=43'] Moving to Node #0,1,1,0 Current State: 92:[33], Operations: ['7+72=79', '31+79=110', '110-77=33'] Moving to Node #0,1,0,0 Current State: 92:[29], Operations: ['7+72=79', '77+31=108', '108-79=29'] Moving to Node #0,0,1,0 Current State: 92:[19], Operations: ['7+77=84', '72+31=103', '103-84=19'] Moving to Node #0,1,1,0 Current State: 92:[187], Operations: ['7+72=79', '31+79=110', '77+110=187'] Moving to Node #0,0,0,0 Current State: 92:[187], Operations: ['7+77=84', '31+84=115', '72+115=187'] Moving to Node #0,0,1,0 Current State: 92:[187], Operations: ['7+77=84', '72+31=103', '84+103=187'] Moving to Node #0,1,0,0 Current State: 92:[187], Operations: ['7+72=79', '77+31=108', '79+108=187'] No solution found.
0
bfs_2
Current State: 92:[7, 77, 72, 31], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [72, 31, 11] Generated Node #2: [72, 31, 11] from Operation: 77/7=11 Current State: 92:[72, 31, 11], Operations: ['77/7=11'] Exploring Operation: 72+31=103, Resulting Numbers: [11, 103] Generated Node #3: [11, 103] from Operation: 72+31=103 Current State: 92:[11, 103], Operations: ['77/7=11', '72+31=103'] Exploring Operation: 103-11=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
sum_heuristic
[ 91, 14, 39, 93 ]
11
[ "93-91=2", "14*2=28", "39-28=11" ]
Current State: 11:[91, 14, 39, 93], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [14, 93, 52] Generated Node #0,0: 11:[14, 93, 52] Operation: 91-39=52 Exploring Operation: 93-39=54, Resulting Numbers: [91, 14, 54] Generated Node #0,1: 11:[91, 14, 54] Operation: 93-39=54 Exploring Operation: 91-14=77, Resulting Numbers: [39, 93, 77] Generated Node #0,2: 11:[39, 93, 77] Operation: 91-14=77 Exploring Operation: 93-91=2, Resulting Numbers: [14, 39, 2] Generated Node #0,3: 11:[14, 39, 2] Operation: 93-91=2 Moving to Node #0,3 Current State: 11:[14, 39, 2], Operations: ['93-91=2'] Exploring Operation: 14/2=7, Resulting Numbers: [39, 7] Generated Node #0,3,0: 11:[39, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [39, 12] Generated Node #0,3,1: 11:[39, 12] Operation: 14-2=12 Exploring Operation: 39-14=25, Resulting Numbers: [2, 25] Generated Node #0,3,2: 11:[2, 25] Operation: 39-14=25 Exploring Operation: 39-2=37, Resulting Numbers: [14, 37] Generated Node #0,3,3: 11:[14, 37] Operation: 39-2=37 Moving to Node #0,1 Current State: 11:[91, 14, 54], Operations: ['93-39=54'] Exploring Operation: 91-14=77, Resulting Numbers: [54, 77] Generated Node #0,1,0: 11:[54, 77] Operation: 91-14=77 Exploring Operation: 91+14=105, Resulting Numbers: [54, 105] Generated Node #0,1,1: 11:[54, 105] Operation: 91+14=105 Exploring Operation: 91-54=37, Resulting Numbers: [14, 37] Generated Node #0,1,2: 11:[14, 37] Operation: 91-54=37 Exploring Operation: 54-14=40, Resulting Numbers: [91, 40] Generated Node #0,1,3: 11:[91, 40] Operation: 54-14=40 Moving to Node #0,0 Current State: 11:[14, 93, 52], Operations: ['91-39=52'] Exploring Operation: 93-14=79, Resulting Numbers: [52, 79] Generated Node #0,0,0: 11:[52, 79] Operation: 93-14=79 Exploring Operation: 14+93=107, Resulting Numbers: [52, 107] Generated Node #0,0,1: 11:[52, 107] Operation: 14+93=107 Exploring Operation: 52-14=38, Resulting Numbers: [93, 38] Generated Node #0,0,2: 11:[93, 38] Operation: 52-14=38 Exploring Operation: 93-52=41, Resulting Numbers: [14, 41] Generated Node #0,0,3: 11:[14, 41] Operation: 93-52=41 Moving to Node #0,2 Current State: 11:[39, 93, 77], Operations: ['91-14=77'] Exploring Operation: 93-77=16, Resulting Numbers: [39, 16] Generated Node #0,2,0: 11:[39, 16] Operation: 93-77=16 Exploring Operation: 39+93=132, Resulting Numbers: [77, 132] Generated Node #0,2,1: 11:[77, 132] Operation: 39+93=132 Exploring Operation: 93-39=54, Resulting Numbers: [77, 54] Generated Node #0,2,2: 11:[77, 54] Operation: 93-39=54 Exploring Operation: 77-39=38, Resulting Numbers: [93, 38] Generated Node #0,2,3: 11:[93, 38] Operation: 77-39=38 Moving to Node #0,3,2 Current State: 11:[2, 25], Operations: ['93-91=2', '39-14=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[14, 37], Operations: ['93-91=2', '39-2=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,11 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[39, 12], Operations: ['93-91=2', '14-2=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,11 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[14, 37], Operations: ['93-39=54', '91-54=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,11 unequal: No Solution Moving to Node #0,3,2,0 Current State: 11:[23], Operations: ['93-91=2', '39-14=25', '25-2=23'] Moving to Node #0,3,3,0 Current State: 11:[23], Operations: ['93-91=2', '39-2=37', '37-14=23'] Moving to Node #0,1,2,0 Current State: 11:[23], Operations: ['93-39=54', '91-54=37', '37-14=23'] Moving to Node #0,3,2,0 Current State: 11:[27], Operations: ['93-91=2', '39-14=25', '2+25=27'] Moving to Node #0,3,1,0 Current State: 11:[27], Operations: ['93-91=2', '14-2=12', '39-12=27'] Moving to Node #0,3,0 Current State: 11:[39, 7], Operations: ['93-91=2', '14/2=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,11 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[39, 16], Operations: ['91-14=77', '93-77=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,11 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[14, 41], Operations: ['91-39=52', '93-52=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,11 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,2,0,0 Current State: 11:[23], Operations: ['91-14=77', '93-77=16', '39-16=23'] Moving to Node #0,0,3,0 Current State: 11:[27], Operations: ['91-39=52', '93-52=41', '41-14=27'] Moving to Node #0,3,0,0 Current State: 11:[32], Operations: ['93-91=2', '14/2=7', '39-7=32'] Moving to Node #0,3,0,0 Current State: 11:[46], Operations: ['93-91=2', '14/2=7', '39+7=46'] Moving to Node #0,3,2,0 Current State: 11:[50], Operations: ['93-91=2', '39-14=25', '2*25=50'] Moving to Node #0,1,2,0 Current State: 11:[51], Operations: ['93-39=54', '91-54=37', '14+37=51'] Moving to Node #0,3,1,0 Current State: 11:[51], Operations: ['93-91=2', '14-2=12', '39+12=51'] Moving to Node #0,3,3,0 Current State: 11:[51], Operations: ['93-91=2', '39-2=37', '14+37=51'] Moving to Node #0,0,3,0 Current State: 11:[55], Operations: ['91-39=52', '93-52=41', '14+41=55'] Moving to Node #0,2,0,0 Current State: 11:[55], Operations: ['91-14=77', '93-77=16', '39+16=55'] Moving to Node #0,1,3 Current State: 11:[91, 40], Operations: ['93-39=54', '54-14=40'] Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,11 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[93, 38], Operations: ['91-14=77', '77-39=38'] Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,11 unequal: No Solution Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,11 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,1,3,0 Current State: 11:[51], Operations: ['93-39=54', '54-14=40', '91-40=51'] Moving to Node #0,2,3,0 Current State: 11:[55], Operations: ['91-14=77', '77-39=38', '93-38=55'] Moving to Node #0,0,0 Current State: 11:[52, 79], Operations: ['91-39=52', '93-14=79'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 52+79=131, Resulting Numbers: [131] 131,11 unequal: No Solution Exploring Operation: 52*79=4108, Resulting Numbers: [4108] 4108,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[54, 77], Operations: ['93-39=54', '91-14=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,11 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,11 unequal: No Solution Moving to Node #0,1,0,0 Current State: 11:[23], Operations: ['93-39=54', '91-14=77', '77-54=23'] Moving to Node #0,0,0,0 Current State: 11:[27], Operations: ['91-39=52', '93-14=79', '79-52=27'] Moving to Node #0,0,2 Current State: 11:[93, 38], Operations: ['91-39=52', '52-14=38'] Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,11 unequal: No Solution Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,11 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[77, 54], Operations: ['91-14=77', '93-39=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,11 unequal: No Solution Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,11 unequal: No Solution Moving to Node #0,2,2,0 Current State: 11:[23], Operations: ['91-14=77', '93-39=54', '77-54=23'] Moving to Node #0,0,2,0 Current State: 11:[55], Operations: ['91-39=52', '52-14=38', '93-38=55'] Moving to Node #0,1,3,0 Current State: 11:[131], Operations: ['93-39=54', '54-14=40', '91+40=131'] Moving to Node #0,2,2,0 Current State: 11:[131], Operations: ['91-14=77', '93-39=54', '77+54=131'] Moving to Node #0,1,0,0 Current State: 11:[131], Operations: ['93-39=54', '91-14=77', '54+77=131'] Moving to Node #0,2,3,0 Current State: 11:[131], Operations: ['91-14=77', '77-39=38', '93+38=131'] Moving to Node #0,0,2,0 Current State: 11:[131], Operations: ['91-39=52', '52-14=38', '93+38=131'] Moving to Node #0,0,0,0 Current State: 11:[131], Operations: ['91-39=52', '93-14=79', '52+79=131'] Moving to Node #0,1,1 Current State: 11:[54, 105], Operations: ['93-39=54', '91+14=105'] Exploring Operation: 54+105=159, Resulting Numbers: [159] 159,11 unequal: No Solution Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 54*105=5670, Resulting Numbers: [5670] 5670,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[52, 107], Operations: ['91-39=52', '14+93=107'] Exploring Operation: 52*107=5564, Resulting Numbers: [5564] 5564,11 unequal: No Solution Exploring Operation: 52+107=159, Resulting Numbers: [159] 159,11 unequal: No Solution Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[77, 132], Operations: ['91-14=77', '39+93=132'] Exploring Operation: 77*132=10164, Resulting Numbers: [10164] 10164,11 unequal: No Solution Exploring Operation: 77+132=209, Resulting Numbers: [209] 209,11 unequal: No Solution Exploring Operation: 132-77=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,3,0,0 Current State: 11:[273], Operations: ['93-91=2', '14/2=7', '39*7=273'] Moving to Node #0,1,1,0 Current State: 11:[51], Operations: ['93-39=54', '91+14=105', '105-54=51'] Moving to Node #0,0,1,0 Current State: 11:[55], Operations: ['91-39=52', '14+93=107', '107-52=55'] Moving to Node #0,2,1,0 Current State: 11:[55], Operations: ['91-14=77', '39+93=132', '132-77=55'] Moving to Node #0,1,1,0 Current State: 11:[159], Operations: ['93-39=54', '91+14=105', '54+105=159'] Moving to Node #0,0,1,0 Current State: 11:[159], Operations: ['91-39=52', '14+93=107', '52+107=159'] Moving to Node #0,2,1,0 Current State: 11:[209], Operations: ['91-14=77', '39+93=132', '77+132=209'] Moving to Node #0,3,1,0 Current State: 11:[468], Operations: ['93-91=2', '14-2=12', '39*12=468'] Moving to Node #0,1,2,0 Current State: 11:[518], Operations: ['93-39=54', '91-54=37', '14*37=518'] Moving to Node #0,3,3,0 Current State: 11:[518], Operations: ['93-91=2', '39-2=37', '14*37=518'] Moving to Node #0,0,3,0 Current State: 11:[574], Operations: ['91-39=52', '93-52=41', '14*41=574'] Moving to Node #0,2,0,0 Current State: 11:[624], Operations: ['91-14=77', '93-77=16', '39*16=624'] Moving to Node #0,2,3,0 Current State: 11:[3534], Operations: ['91-14=77', '77-39=38', '93*38=3534'] Moving to Node #0,0,2,0 Current State: 11:[3534], Operations: ['91-39=52', '52-14=38', '93*38=3534'] Moving to Node #0,1,3,0 Current State: 11:[3640], Operations: ['93-39=54', '54-14=40', '91*40=3640'] Moving to Node #0,0,0,0 Current State: 11:[4108], Operations: ['91-39=52', '93-14=79', '52*79=4108'] Moving to Node #0,1,0,0 Current State: 11:[4158], Operations: ['93-39=54', '91-14=77', '54*77=4158'] Moving to Node #0,2,2,0 Current State: 11:[4158], Operations: ['91-14=77', '93-39=54', '77*54=4158'] Moving to Node #0,0,1,0 Current State: 11:[5564], Operations: ['91-39=52', '14+93=107', '52*107=5564'] Moving to Node #0,1,1,0 Current State: 11:[5670], Operations: ['93-39=54', '91+14=105', '54*105=5670'] Moving to Node #0,2,1,0 Current State: 11:[10164], Operations: ['91-14=77', '39+93=132', '77*132=10164'] No solution found.
0
bfs_4
Current State: 11:[91, 14, 39, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [14, 39, 2] Generated Node #2: [14, 39, 2] from Operation: 93-91=2 Current State: 11:[14, 39, 2], Operations: ['93-91=2'] Exploring Operation: 14*2=28, Resulting Numbers: [39, 28] Generated Node #3: [39, 28] from Operation: 14*2=28 Current State: 11:[39, 28], Operations: ['93-91=2', '14*2=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
mult_heuristic
[ 11, 22, 93, 77 ]
66
[ "93-22=71", "77-71=6", "11*6=66" ]
Current State: 66:[11, 22, 93, 77], Operations: [] Exploring Operation: 11+22=33, Resulting Numbers: [93, 77, 33] Generated Node #0,0: 66:[93, 77, 33] Operation: 11+22=33 Moving to Node #0,0 Current State: 66:[93, 77, 33], Operations: ['11+22=33'] Exploring Operation: 93-33=60, Resulting Numbers: [77, 60] Generated Node #0,0,0: 66:[77, 60] Operation: 93-33=60 Moving to Node #0,0,0 Current State: 66:[77, 60], Operations: ['11+22=33', '93-33=60'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[93, 77, 33], Operations: ['11+22=33'] Exploring Operation: 77-33=44, Resulting Numbers: [93, 44] Generated Node #0,0,1: 66:[93, 44] Operation: 77-33=44 Moving to Node #0,0,1 Current State: 66:[93, 44], Operations: ['11+22=33', '77-33=44'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[93, 77, 33], Operations: ['11+22=33'] Exploring Operation: 93+33=126, Resulting Numbers: [77, 126] Generated Node #0,0,2: 66:[77, 126] Operation: 93+33=126 Moving to Node #0,0,2 Current State: 66:[77, 126], Operations: ['11+22=33', '93+33=126'] Exploring Operation: 126-77=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[93, 77, 33], Operations: ['11+22=33'] Exploring Operation: 77+33=110, Resulting Numbers: [93, 110] Generated Node #0,0,3: 66:[93, 110] Operation: 77+33=110 Moving to Node #0,0,3 Current State: 66:[93, 110], Operations: ['11+22=33', '77+33=110'] Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,0 Current State: 66:[93, 77, 33], Operations: ['11+22=33'] Exploring Operation: 93-77=16, Resulting Numbers: [33, 16] Generated Node #0,0,4: 66:[33, 16] Operation: 93-77=16 Moving to Node #0,0,4 Current State: 66:[33, 16], Operations: ['11+22=33', '93-77=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[33, 16], Operations: ['11+22=33', '93-77=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0 Current State: 66:[11, 22, 93, 77], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [22, 77, 82] Generated Node #0,1: 66:[22, 77, 82] Operation: 93-11=82 Moving to Node #0,1 Current State: 66:[22, 77, 82], Operations: ['93-11=82'] Exploring Operation: 82-22=60, Resulting Numbers: [77, 60] Generated Node #0,1,0: 66:[77, 60] Operation: 82-22=60 Moving to Node #0,1,0 Current State: 66:[77, 60], Operations: ['93-11=82', '82-22=60'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[22, 77, 82], Operations: ['93-11=82'] Exploring Operation: 77-22=55, Resulting Numbers: [82, 55] Generated Node #0,1,1: 66:[82, 55] Operation: 77-22=55 Moving to Node #0,1,1 Current State: 66:[82, 55], Operations: ['93-11=82', '77-22=55'] Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[22, 77, 82], Operations: ['93-11=82'] Exploring Operation: 22+77=99, Resulting Numbers: [82, 99] Generated Node #0,1,2: 66:[82, 99] Operation: 22+77=99 Moving to Node #0,1,2 Current State: 66:[82, 99], Operations: ['93-11=82', '22+77=99'] Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[22, 77, 82], Operations: ['93-11=82'] Exploring Operation: 22+82=104, Resulting Numbers: [77, 104] Generated Node #0,1,3: 66:[77, 104] Operation: 22+82=104 Moving to Node #0,1,3 Current State: 66:[77, 104], Operations: ['93-11=82', '22+82=104'] Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,66 unequal: No Solution Moving to Node #0,1 Current State: 66:[22, 77, 82], Operations: ['93-11=82'] Exploring Operation: 82-77=5, Resulting Numbers: [22, 5] Generated Node #0,1,4: 66:[22, 5] Operation: 82-77=5 Moving to Node #0,1,4 Current State: 66:[22, 5], Operations: ['93-11=82', '82-77=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[22, 5], Operations: ['93-11=82', '82-77=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[22, 5], Operations: ['93-11=82', '82-77=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0 Current State: 66:[11, 22, 93, 77], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [22, 93, 66] Generated Node #0,2: 66:[22, 93, 66] Operation: 77-11=66 Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 93-22=71, Resulting Numbers: [66, 71] Generated Node #0,2,0: 66:[66, 71] Operation: 93-22=71 Moving to Node #0,2,0 Current State: 66:[66, 71], Operations: ['77-11=66', '93-22=71'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 22+93=115, Resulting Numbers: [66, 115] Generated Node #0,2,1: 66:[66, 115] Operation: 22+93=115 Moving to Node #0,2,1 Current State: 66:[66, 115], Operations: ['77-11=66', '22+93=115'] Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 22+66=88, Resulting Numbers: [93, 88] Generated Node #0,2,2: 66:[93, 88] Operation: 22+66=88 Moving to Node #0,2,2 Current State: 66:[93, 88], Operations: ['77-11=66', '22+66=88'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 66-22=44, Resulting Numbers: [93, 44] Generated Node #0,2,3: 66:[93, 44] Operation: 66-22=44 Moving to Node #0,2,3 Current State: 66:[93, 44], Operations: ['77-11=66', '66-22=44'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 93-66=27, Resulting Numbers: [22, 27] Generated Node #0,2,4: 66:[22, 27] Operation: 93-66=27 Moving to Node #0,2,4 Current State: 66:[22, 27], Operations: ['77-11=66', '93-66=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[22, 27], Operations: ['77-11=66', '93-66=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,2 Current State: 66:[22, 93, 66], Operations: ['77-11=66'] Exploring Operation: 66/22=3, Resulting Numbers: [93, 3] Generated Node #0,2,5: 66:[93, 3] Operation: 66/22=3 Moving to Node #0,2,5 Current State: 66:[93, 3], Operations: ['77-11=66', '66/22=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,66 unequal: No Solution Moving to Node #0,2,5 Current State: 66:[93, 3], Operations: ['77-11=66', '66/22=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,66 unequal: No Solution Moving to Node #0,2,5 Current State: 66:[93, 3], Operations: ['77-11=66', '66/22=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,66 unequal: No Solution Moving to Node #0 Current State: 66:[11, 22, 93, 77], Operations: [] Exploring Operation: 93-22=71, Resulting Numbers: [11, 77, 71] Generated Node #0,3: 66:[11, 77, 71] Operation: 93-22=71 Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 77-11=66, Resulting Numbers: [71, 66] Generated Node #0,3,0: 66:[71, 66] Operation: 77-11=66 Moving to Node #0,3,0 Current State: 66:[71, 66], Operations: ['93-22=71', '77-11=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 71-11=60, Resulting Numbers: [77, 60] Generated Node #0,3,1: 66:[77, 60] Operation: 71-11=60 Moving to Node #0,3,1 Current State: 66:[77, 60], Operations: ['93-22=71', '71-11=60'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 11+77=88, Resulting Numbers: [71, 88] Generated Node #0,3,2: 66:[71, 88] Operation: 11+77=88 Moving to Node #0,3,2 Current State: 66:[71, 88], Operations: ['93-22=71', '11+77=88'] Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 11+71=82, Resulting Numbers: [77, 82] Generated Node #0,3,3: 66:[77, 82] Operation: 11+71=82 Moving to Node #0,3,3 Current State: 66:[77, 82], Operations: ['93-22=71', '11+71=82'] Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 77/11=7, Resulting Numbers: [71, 7] Generated Node #0,3,4: 66:[71, 7] Operation: 77/11=7 Moving to Node #0,3,4 Current State: 66:[71, 7], Operations: ['93-22=71', '77/11=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[71, 7], Operations: ['93-22=71', '77/11=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,66 unequal: No Solution Moving to Node #0,3 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 77-71=6, Resulting Numbers: [11, 6] Generated Node #0,3,5: 66:[11, 6] Operation: 77-71=6 Moving to Node #0,3,5 Current State: 66:[11, 6], Operations: ['93-22=71', '77-71=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.951389
dfs
Current State: 66:[11, 22, 93, 77], Operations: [] Exploring Operation: 93-22=71, Resulting Numbers: [11, 77, 71] Generated Node #2: [11, 77, 71] from Operation: 93-22=71 Current State: 66:[11, 77, 71], Operations: ['93-22=71'] Exploring Operation: 77-71=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 77-71=6 Current State: 66:[11, 6], Operations: ['93-22=71', '77-71=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
sum_heuristic
[ 10, 82, 49, 2 ]
80
[ "49-10=39", "82/2=41", "39+41=80" ]
Current State: 80:[10, 82, 49, 2], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [82, 2, 39] Generated Node #0,0: 80:[82, 2, 39] Operation: 49-10=39 Exploring Operation: 82-49=33, Resulting Numbers: [10, 2, 33] Generated Node #0,1: 80:[10, 2, 33] Operation: 82-49=33 Moving to Node #0,0 Current State: 80:[82, 2, 39], Operations: ['49-10=39'] Exploring Operation: 82-2=80, Resulting Numbers: [39, 80] Generated Node #0,0,0: 80:[39, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [39, 41] Generated Node #0,0,1: 80:[39, 41] Operation: 82/2=41 Moving to Node #0,1 Current State: 80:[10, 2, 33], Operations: ['82-49=33'] Exploring Operation: 10+33=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 80:[2, 43] Operation: 10+33=43 Exploring Operation: 33-10=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 80:[2, 23] Operation: 33-10=23 Moving to Node #0,0,0 Current State: 80:[39, 80], Operations: ['49-10=39', '82-2=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 39+80=119, Resulting Numbers: [119] 119,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[39, 41], Operations: ['49-10=39', '82/2=41'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.990451
bfs_2
Current State: 80:[10, 82, 49, 2], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [82, 2, 39] Generated Node #2: [82, 2, 39] from Operation: 49-10=39 Current State: 80:[82, 2, 39], Operations: ['49-10=39'] Exploring Operation: 82/2=41, Resulting Numbers: [39, 41] Generated Node #3: [39, 41] from Operation: 82/2=41 Current State: 80:[39, 41], Operations: ['49-10=39', '82/2=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
mult_heuristic
[ 84, 10, 56, 67 ]
53
[ "84+56=140", "140/10=14", "67-14=53" ]
Current State: 53:[84, 10, 56, 67], Operations: [] Exploring Operation: 84-10=74, Resulting Numbers: [56, 67, 74] Generated Node #0,0: 53:[56, 67, 74] Operation: 84-10=74 Exploring Operation: 56-10=46, Resulting Numbers: [84, 67, 46] Generated Node #0,1: 53:[84, 67, 46] Operation: 56-10=46 Exploring Operation: 10+56=66, Resulting Numbers: [84, 67, 66] Generated Node #0,2: 53:[84, 67, 66] Operation: 10+56=66 Exploring Operation: 84+10=94, Resulting Numbers: [56, 67, 94] Generated Node #0,3: 53:[56, 67, 94] Operation: 84+10=94 Exploring Operation: 67-10=57, Resulting Numbers: [84, 56, 57] Generated Node #0,4: 53:[84, 56, 57] Operation: 67-10=57 Moving to Node #0,0 Current State: 53:[56, 67, 74], Operations: ['84-10=74'] Exploring Operation: 67-56=11, Resulting Numbers: [74, 11] Generated Node #0,0,0: 53:[74, 11] Operation: 67-56=11 Exploring Operation: 56+74=130, Resulting Numbers: [67, 130] Generated Node #0,0,1: 53:[67, 130] Operation: 56+74=130 Exploring Operation: 74-67=7, Resulting Numbers: [56, 7] Generated Node #0,0,2: 53:[56, 7] Operation: 74-67=7 Exploring Operation: 56+67=123, Resulting Numbers: [74, 123] Generated Node #0,0,3: 53:[74, 123] Operation: 56+67=123 Exploring Operation: 74-56=18, Resulting Numbers: [67, 18] Generated Node #0,0,4: 53:[67, 18] Operation: 74-56=18 Moving to Node #0,4 Current State: 53:[84, 56, 57], Operations: ['67-10=57'] Exploring Operation: 84+57=141, Resulting Numbers: [56, 141] Generated Node #0,4,0: 53:[56, 141] Operation: 84+57=141 Exploring Operation: 84-57=27, Resulting Numbers: [56, 27] Generated Node #0,4,1: 53:[56, 27] Operation: 84-57=27 Exploring Operation: 57-56=1, Resulting Numbers: [84, 1] Generated Node #0,4,2: 53:[84, 1] Operation: 57-56=1 Exploring Operation: 84+56=140, Resulting Numbers: [57, 140] Generated Node #0,4,3: 53:[57, 140] Operation: 84+56=140 Exploring Operation: 84-56=28, Resulting Numbers: [57, 28] Generated Node #0,4,4: 53:[57, 28] Operation: 84-56=28 Moving to Node #0,1 Current State: 53:[84, 67, 46], Operations: ['56-10=46'] Exploring Operation: 67-46=21, Resulting Numbers: [84, 21] Generated Node #0,1,0: 53:[84, 21] Operation: 67-46=21 Exploring Operation: 84+46=130, Resulting Numbers: [67, 130] Generated Node #0,1,1: 53:[67, 130] Operation: 84+46=130 Exploring Operation: 84-67=17, Resulting Numbers: [46, 17] Generated Node #0,1,2: 53:[46, 17] Operation: 84-67=17 Exploring Operation: 67+46=113, Resulting Numbers: [84, 113] Generated Node #0,1,3: 53:[84, 113] Operation: 67+46=113 Exploring Operation: 84-46=38, Resulting Numbers: [67, 38] Generated Node #0,1,4: 53:[67, 38] Operation: 84-46=38 Moving to Node #0,2 Current State: 53:[84, 67, 66], Operations: ['10+56=66'] Exploring Operation: 84-66=18, Resulting Numbers: [67, 18] Generated Node #0,2,0: 53:[67, 18] Operation: 84-66=18 Exploring Operation: 84+67=151, Resulting Numbers: [66, 151] Generated Node #0,2,1: 53:[66, 151] Operation: 84+67=151 Exploring Operation: 84+66=150, Resulting Numbers: [67, 150] Generated Node #0,2,2: 53:[67, 150] Operation: 84+66=150 Exploring Operation: 67-66=1, Resulting Numbers: [84, 1] Generated Node #0,2,3: 53:[84, 1] Operation: 67-66=1 Exploring Operation: 84-67=17, Resulting Numbers: [66, 17] Generated Node #0,2,4: 53:[66, 17] Operation: 84-67=17 Moving to Node #0,3 Current State: 53:[56, 67, 94], Operations: ['84+10=94'] Exploring Operation: 94-67=27, Resulting Numbers: [56, 27] Generated Node #0,3,0: 53:[56, 27] Operation: 94-67=27 Exploring Operation: 56+67=123, Resulting Numbers: [94, 123] Generated Node #0,3,1: 53:[94, 123] Operation: 56+67=123 Exploring Operation: 94-56=38, Resulting Numbers: [67, 38] Generated Node #0,3,2: 53:[67, 38] Operation: 94-56=38 Exploring Operation: 56+94=150, Resulting Numbers: [67, 150] Generated Node #0,3,3: 53:[67, 150] Operation: 56+94=150 Exploring Operation: 67-56=11, Resulting Numbers: [94, 11] Generated Node #0,3,4: 53:[94, 11] Operation: 67-56=11 Moving to Node #0,4,1 Current State: 53:[56, 27], Operations: ['67-10=57', '84-57=27'] Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[57, 28], Operations: ['67-10=57', '84-56=28'] Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,53 unequal: No Solution Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[67, 38], Operations: ['56-10=46', '84-46=38'] Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[56, 27], Operations: ['84+10=94', '94-67=27'] Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[67, 38], Operations: ['84+10=94', '94-56=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,53 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,53 unequal: No Solution Moving to Node #0,4,1,0 Current State: 53:[29], Operations: ['67-10=57', '84-57=27', '56-27=29'] Moving to Node #0,4,4,0 Current State: 53:[29], Operations: ['67-10=57', '84-56=28', '57-28=29'] Moving to Node #0,3,0,0 Current State: 53:[29], Operations: ['84+10=94', '94-67=27', '56-27=29'] Moving to Node #0,1,4,0 Current State: 53:[29], Operations: ['56-10=46', '84-46=38', '67-38=29'] Moving to Node #0,3,2,0 Current State: 53:[29], Operations: ['84+10=94', '94-56=38', '67-38=29'] Moving to Node #0,3,0,0 Current State: 53:[83], Operations: ['84+10=94', '94-67=27', '56+27=83'] Moving to Node #0,4,1,0 Current State: 53:[83], Operations: ['67-10=57', '84-57=27', '56+27=83'] Moving to Node #0,4,4,0 Current State: 53:[85], Operations: ['67-10=57', '84-56=28', '57+28=85'] Moving to Node #0,1,2 Current State: 53:[46, 17], Operations: ['56-10=46', '84-67=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,53 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[56, 7], Operations: ['84-10=74', '74-67=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,53 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,0,2,0 Current State: 53:[49], Operations: ['84-10=74', '74-67=7', '56-7=49'] Moving to Node #0,1,2,0 Current State: 53:[63], Operations: ['56-10=46', '84-67=17', '46+17=63'] Moving to Node #0,0,2,0 Current State: 53:[63], Operations: ['84-10=74', '74-67=7', '56+7=63'] Moving to Node #0,1,2,0 Current State: 53:[29], Operations: ['56-10=46', '84-67=17', '46-17=29'] Moving to Node #0,0,2,0 Current State: 53:[8], Operations: ['84-10=74', '74-67=7', '56/7=8'] Moving to Node #0,0,4 Current State: 53:[67, 18], Operations: ['84-10=74', '74-56=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 67*18=1206, Resulting Numbers: [1206] 1206,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[67, 18], Operations: ['10+56=66', '84-66=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 67*18=1206, Resulting Numbers: [1206] 1206,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[66, 17], Operations: ['10+56=66', '84-67=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,53 unequal: No Solution Moving to Node #0,1,4,0 Current State: 53:[105], Operations: ['56-10=46', '84-46=38', '67+38=105'] Moving to Node #0,3,2,0 Current State: 53:[105], Operations: ['84+10=94', '94-56=38', '67+38=105'] Moving to Node #0,0,4,0 Current State: 53:[49], Operations: ['84-10=74', '74-56=18', '67-18=49'] Moving to Node #0,2,0,0 Current State: 53:[49], Operations: ['10+56=66', '84-66=18', '67-18=49'] Moving to Node #0,2,4,0 Current State: 53:[49], Operations: ['10+56=66', '84-67=17', '66-17=49'] Moving to Node #0,2,4,0 Current State: 53:[83], Operations: ['10+56=66', '84-67=17', '66+17=83'] Moving to Node #0,0,4,0 Current State: 53:[85], Operations: ['84-10=74', '74-56=18', '67+18=85'] Moving to Node #0,2,0,0 Current State: 53:[85], Operations: ['10+56=66', '84-66=18', '67+18=85'] Moving to Node #0,0,0 Current State: 53:[74, 11], Operations: ['84-10=74', '67-56=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,53 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[84, 21], Operations: ['56-10=46', '67-46=21'] Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,53 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[84, 1], Operations: ['67-10=57', '57-56=1'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[94, 11], Operations: ['84+10=94', '67-56=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,53 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,53 unequal: No Solution Moving to Node #0,0,0,0 Current State: 53:[63], Operations: ['84-10=74', '67-56=11', '74-11=63'] Moving to Node #0,1,0,0 Current State: 53:[63], Operations: ['56-10=46', '67-46=21', '84-21=63'] Moving to Node #0,4,2,0 Current State: 53:[83], Operations: ['67-10=57', '57-56=1', '84-1=83'] Moving to Node #0,3,4,0 Current State: 53:[83], Operations: ['84+10=94', '67-56=11', '94-11=83'] Moving to Node #0,4,2,0 Current State: 53:[84], Operations: ['67-10=57', '57-56=1', '84/1=84'] Moving to Node #0,4,2,0 Current State: 53:[84], Operations: ['67-10=57', '57-56=1', '84*1=84'] Moving to Node #0,0,0,0 Current State: 53:[85], Operations: ['84-10=74', '67-56=11', '74+11=85'] Moving to Node #0,4,2,0 Current State: 53:[85], Operations: ['67-10=57', '57-56=1', '84+1=85'] Moving to Node #0,1,0,0 Current State: 53:[4], Operations: ['56-10=46', '67-46=21', '84/21=4'] Moving to Node #0,1,0,0 Current State: 53:[105], Operations: ['56-10=46', '67-46=21', '84+21=105'] Moving to Node #0,3,4,0 Current State: 53:[105], Operations: ['84+10=94', '67-56=11', '94+11=105'] Moving to Node #0,2,3 Current State: 53:[84, 1], Operations: ['10+56=66', '67-66=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[84, 113], Operations: ['56-10=46', '67+46=113'] Exploring Operation: 84+113=197, Resulting Numbers: [197] 197,53 unequal: No Solution Exploring Operation: 84*113=9492, Resulting Numbers: [9492] 9492,53 unequal: No Solution Exploring Operation: 113-84=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[67, 130], Operations: ['84-10=74', '56+74=130'] Exploring Operation: 67+130=197, Resulting Numbers: [197] 197,53 unequal: No Solution Exploring Operation: 67*130=8710, Resulting Numbers: [8710] 8710,53 unequal: No Solution Exploring Operation: 130-67=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[74, 123], Operations: ['84-10=74', '56+67=123'] Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,53 unequal: No Solution Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,53 unequal: No Solution Moving to Node #0,0,3,0 Current State: 53:[49], Operations: ['84-10=74', '56+67=123', '123-74=49'] Moving to Node #0,0,1,0 Current State: 53:[63], Operations: ['84-10=74', '56+74=130', '130-67=63'] Moving to Node #0,1,3,0 Current State: 53:[29], Operations: ['56-10=46', '67+46=113', '113-84=29'] Moving to Node #0,2,3,0 Current State: 53:[83], Operations: ['10+56=66', '67-66=1', '84-1=83'] Moving to Node #0,2,3,0 Current State: 53:[84], Operations: ['10+56=66', '67-66=1', '84*1=84'] Moving to Node #0,2,3,0 Current State: 53:[84], Operations: ['10+56=66', '67-66=1', '84/1=84'] Moving to Node #0,2,3,0 Current State: 53:[85], Operations: ['10+56=66', '67-66=1', '84+1=85'] Moving to Node #0,4,3 Current State: 53:[57, 140], Operations: ['67-10=57', '84+56=140'] Exploring Operation: 57*140=7980, Resulting Numbers: [7980] 7980,53 unequal: No Solution Exploring Operation: 57+140=197, Resulting Numbers: [197] 197,53 unequal: No Solution Exploring Operation: 140-57=83, Resulting Numbers: [83] 83,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[67, 130], Operations: ['56-10=46', '84+46=130'] Exploring Operation: 67*130=8710, Resulting Numbers: [8710] 8710,53 unequal: No Solution Exploring Operation: 130-67=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 67+130=197, Resulting Numbers: [197] 197,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[56, 141], Operations: ['67-10=57', '84+57=141'] Exploring Operation: 56+141=197, Resulting Numbers: [197] 197,53 unequal: No Solution Exploring Operation: 141-56=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 56*141=7896, Resulting Numbers: [7896] 7896,53 unequal: No Solution Moving to Node #0,1,1,0 Current State: 53:[63], Operations: ['56-10=46', '84+46=130', '130-67=63'] Moving to Node #0,4,3,0 Current State: 53:[83], Operations: ['67-10=57', '84+56=140', '140-57=83'] Moving to Node #0,4,0,0 Current State: 53:[85], Operations: ['67-10=57', '84+57=141', '141-56=85'] Moving to Node #0,3,3 Current State: 53:[67, 150], Operations: ['84+10=94', '56+94=150'] Exploring Operation: 67+150=217, Resulting Numbers: [217] 217,53 unequal: No Solution Exploring Operation: 67*150=10050, Resulting Numbers: [10050] 10050,53 unequal: No Solution Exploring Operation: 150-67=83, Resulting Numbers: [83] 83,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[94, 123], Operations: ['84+10=94', '56+67=123'] Exploring Operation: 123-94=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 94+123=217, Resulting Numbers: [217] 217,53 unequal: No Solution Exploring Operation: 94*123=11562, Resulting Numbers: [11562] 11562,53 unequal: No Solution Moving to Node #0,3,1,0 Current State: 53:[29], Operations: ['84+10=94', '56+67=123', '123-94=29'] Moving to Node #0,3,3,0 Current State: 53:[83], Operations: ['84+10=94', '56+94=150', '150-67=83'] Moving to Node #0,2,2 Current State: 53:[67, 150], Operations: ['10+56=66', '84+66=150'] Exploring Operation: 150-67=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 67+150=217, Resulting Numbers: [217] 217,53 unequal: No Solution Exploring Operation: 67*150=10050, Resulting Numbers: [10050] 10050,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[66, 151], Operations: ['10+56=66', '84+67=151'] Exploring Operation: 151-66=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 66*151=9966, Resulting Numbers: [9966] 9966,53 unequal: No Solution Exploring Operation: 66+151=217, Resulting Numbers: [217] 217,53 unequal: No Solution Moving to Node #0,1,1,0 Current State: 53:[197], Operations: ['56-10=46', '84+46=130', '67+130=197'] Moving to Node #0,2,2,0 Current State: 53:[83], Operations: ['10+56=66', '84+66=150', '150-67=83'] Moving to Node #0,2,1,0 Current State: 53:[85], Operations: ['10+56=66', '84+67=151', '151-66=85'] Moving to Node #0,4,0,0 Current State: 53:[197], Operations: ['67-10=57', '84+57=141', '56+141=197'] Moving to Node #0,0,1,0 Current State: 53:[197], Operations: ['84-10=74', '56+74=130', '67+130=197'] Moving to Node #0,1,3,0 Current State: 53:[197], Operations: ['56-10=46', '67+46=113', '84+113=197'] Moving to Node #0,4,3,0 Current State: 53:[197], Operations: ['67-10=57', '84+56=140', '57+140=197'] Moving to Node #0,0,3,0 Current State: 53:[197], Operations: ['84-10=74', '56+67=123', '74+123=197'] Moving to Node #0,2,2,0 Current State: 53:[217], Operations: ['10+56=66', '84+66=150', '67+150=217'] Moving to Node #0,3,3,0 Current State: 53:[217], Operations: ['84+10=94', '56+94=150', '67+150=217'] Moving to Node #0,3,1,0 Current State: 53:[217], Operations: ['84+10=94', '56+67=123', '94+123=217'] Moving to Node #0,2,1,0 Current State: 53:[217], Operations: ['10+56=66', '84+67=151', '66+151=217'] Moving to Node #0,0,2,0 Current State: 53:[392], Operations: ['84-10=74', '74-67=7', '56*7=392'] Moving to Node #0,1,2,0 Current State: 53:[782], Operations: ['56-10=46', '84-67=17', '46*17=782'] Moving to Node #0,0,0,0 Current State: 53:[814], Operations: ['84-10=74', '67-56=11', '74*11=814'] Moving to Node #0,3,4,0 Current State: 53:[1034], Operations: ['84+10=94', '67-56=11', '94*11=1034'] Moving to Node #0,2,4,0 Current State: 53:[1122], Operations: ['10+56=66', '84-67=17', '66*17=1122'] Moving to Node #0,0,4,0 Current State: 53:[1206], Operations: ['84-10=74', '74-56=18', '67*18=1206'] Moving to Node #0,2,0,0 Current State: 53:[1206], Operations: ['10+56=66', '84-66=18', '67*18=1206'] Moving to Node #0,3,0,0 Current State: 53:[1512], Operations: ['84+10=94', '94-67=27', '56*27=1512'] Moving to Node #0,4,1,0 Current State: 53:[1512], Operations: ['67-10=57', '84-57=27', '56*27=1512'] Moving to Node #0,4,4,0 Current State: 53:[1596], Operations: ['67-10=57', '84-56=28', '57*28=1596'] Moving to Node #0,1,0,0 Current State: 53:[1764], Operations: ['56-10=46', '67-46=21', '84*21=1764'] Moving to Node #0,1,4,0 Current State: 53:[2546], Operations: ['56-10=46', '84-46=38', '67*38=2546'] Moving to Node #0,3,2,0 Current State: 53:[2546], Operations: ['84+10=94', '94-56=38', '67*38=2546'] Moving to Node #0,4,0,0 Current State: 53:[7896], Operations: ['67-10=57', '84+57=141', '56*141=7896'] Moving to Node #0,4,3,0 Current State: 53:[7980], Operations: ['67-10=57', '84+56=140', '57*140=7980'] Moving to Node #0,0,1,0 Current State: 53:[8710], Operations: ['84-10=74', '56+74=130', '67*130=8710'] Moving to Node #0,1,1,0 Current State: 53:[8710], Operations: ['56-10=46', '84+46=130', '67*130=8710'] Moving to Node #0,0,3,0 Current State: 53:[9102], Operations: ['84-10=74', '56+67=123', '74*123=9102'] Moving to Node #0,1,3,0 Current State: 53:[9492], Operations: ['56-10=46', '67+46=113', '84*113=9492'] Moving to Node #0,2,1,0 Current State: 53:[9966], Operations: ['10+56=66', '84+67=151', '66*151=9966'] Moving to Node #0,2,2,0 Current State: 53:[10050], Operations: ['10+56=66', '84+66=150', '67*150=10050'] Moving to Node #0,3,3,0 Current State: 53:[10050], Operations: ['84+10=94', '56+94=150', '67*150=10050'] Moving to Node #0,3,1,0 Current State: 53:[11562], Operations: ['84+10=94', '56+67=123', '94*123=11562'] No solution found.
0
bfs_5
Current State: 53:[84, 10, 56, 67], Operations: [] Exploring Operation: 84+56=140, Resulting Numbers: [10, 67, 140] Generated Node #2: [10, 67, 140] from Operation: 84+56=140 Current State: 53:[10, 67, 140], Operations: ['84+56=140'] Exploring Operation: 140/10=14, Resulting Numbers: [67, 14] Generated Node #3: [67, 14] from Operation: 140/10=14 Current State: 53:[67, 14], Operations: ['84+56=140', '140/10=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
mult_heuristic
[ 85, 70, 8, 44 ]
37
[ "85-70=15", "8+44=52", "52-15=37" ]
Current State: 37:[85, 70, 8, 44], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [85, 44, 62] Generated Node #0,0: 37:[85, 44, 62] Operation: 70-8=62 Exploring Operation: 85-70=15, Resulting Numbers: [8, 44, 15] Generated Node #0,1: 37:[8, 44, 15] Operation: 85-70=15 Exploring Operation: 85-44=41, Resulting Numbers: [70, 8, 41] Generated Node #0,2: 37:[70, 8, 41] Operation: 85-44=41 Exploring Operation: 85-8=77, Resulting Numbers: [70, 44, 77] Generated Node #0,3: 37:[70, 44, 77] Operation: 85-8=77 Moving to Node #0,1 Current State: 37:[8, 44, 15], Operations: ['85-70=15'] Exploring Operation: 8+44=52, Resulting Numbers: [15, 52] Generated Node #0,1,0: 37:[15, 52] Operation: 8+44=52 Exploring Operation: 15-8=7, Resulting Numbers: [44, 7] Generated Node #0,1,1: 37:[44, 7] Operation: 15-8=7 Exploring Operation: 44-8=36, Resulting Numbers: [15, 36] Generated Node #0,1,2: 37:[15, 36] Operation: 44-8=36 Exploring Operation: 8+15=23, Resulting Numbers: [44, 23] Generated Node #0,1,3: 37:[44, 23] Operation: 8+15=23 Moving to Node #0,2 Current State: 37:[70, 8, 41], Operations: ['85-44=41'] Exploring Operation: 70-8=62, Resulting Numbers: [41, 62] Generated Node #0,2,0: 37:[41, 62] Operation: 70-8=62 Exploring Operation: 41-8=33, Resulting Numbers: [70, 33] Generated Node #0,2,1: 37:[70, 33] Operation: 41-8=33 Exploring Operation: 70-41=29, Resulting Numbers: [8, 29] Generated Node #0,2,2: 37:[8, 29] Operation: 70-41=29 Exploring Operation: 70+8=78, Resulting Numbers: [41, 78] Generated Node #0,2,3: 37:[41, 78] Operation: 70+8=78 Moving to Node #0,3 Current State: 37:[70, 44, 77], Operations: ['85-8=77'] Exploring Operation: 77-44=33, Resulting Numbers: [70, 33] Generated Node #0,3,0: 37:[70, 33] Operation: 77-44=33 Exploring Operation: 77-70=7, Resulting Numbers: [44, 7] Generated Node #0,3,1: 37:[44, 7] Operation: 77-70=7 Exploring Operation: 70+44=114, Resulting Numbers: [77, 114] Generated Node #0,3,2: 37:[77, 114] Operation: 70+44=114 Exploring Operation: 70-44=26, Resulting Numbers: [77, 26] Generated Node #0,3,3: 37:[77, 26] Operation: 70-44=26 Moving to Node #0,0 Current State: 37:[85, 44, 62], Operations: ['70-8=62'] Exploring Operation: 85-62=23, Resulting Numbers: [44, 23] Generated Node #0,0,0: 37:[44, 23] Operation: 85-62=23 Exploring Operation: 85-44=41, Resulting Numbers: [62, 41] Generated Node #0,0,1: 37:[62, 41] Operation: 85-44=41 Exploring Operation: 85+44=129, Resulting Numbers: [62, 129] Generated Node #0,0,2: 37:[62, 129] Operation: 85+44=129 Exploring Operation: 62-44=18, Resulting Numbers: [85, 18] Generated Node #0,0,3: 37:[85, 18] Operation: 62-44=18 Moving to Node #0,1,3 Current State: 37:[44, 23], Operations: ['85-70=15', '8+15=23'] Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,37 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[44, 23], Operations: ['70-8=62', '85-62=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[15, 36], Operations: ['85-70=15', '44-8=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,37 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[62, 41], Operations: ['70-8=62', '85-44=41'] Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 62*41=2542, Resulting Numbers: [2542] 2542,37 unequal: No Solution Moving to Node #0,1,2,0 Current State: 37:[51], Operations: ['85-70=15', '44-8=36', '15+36=51'] Moving to Node #0,1,3,0 Current State: 37:[21], Operations: ['85-70=15', '8+15=23', '44-23=21'] Moving to Node #0,1,2,0 Current State: 37:[21], Operations: ['85-70=15', '44-8=36', '36-15=21'] Moving to Node #0,0,1,0 Current State: 37:[21], Operations: ['70-8=62', '85-44=41', '62-41=21'] Moving to Node #0,0,0,0 Current State: 37:[21], Operations: ['70-8=62', '85-62=23', '44-23=21'] Moving to Node #0,2,0 Current State: 37:[41, 62], Operations: ['85-44=41', '70-8=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,37 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,37 unequal: No Solution Moving to Node #0,1,3,0 Current State: 37:[67], Operations: ['85-70=15', '8+15=23', '44+23=67'] Moving to Node #0,0,0,0 Current State: 37:[67], Operations: ['70-8=62', '85-62=23', '44+23=67'] Moving to Node #0,2,0,0 Current State: 37:[21], Operations: ['85-44=41', '70-8=62', '62-41=21'] Moving to Node #0,1,0 Current State: 37:[15, 52], Operations: ['85-70=15', '8+44=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,37 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.966146
bfs_4
Current State: 37:[85, 70, 8, 44], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [8, 44, 15] Generated Node #2: [8, 44, 15] from Operation: 85-70=15 Current State: 37:[8, 44, 15], Operations: ['85-70=15'] Exploring Operation: 8+44=52, Resulting Numbers: [15, 52] Generated Node #3: [15, 52] from Operation: 8+44=52 Current State: 37:[15, 52], Operations: ['85-70=15', '8+44=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
mult_heuristic
[ 45, 40, 60, 85 ]
77
[ "45-40=5", "85/5=17", "60+17=77" ]
Current State: 77:[45, 40, 60, 85], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [40, 60, 40] Generated Node #0,0: 77:[40, 60, 40] Operation: 85-45=40 Exploring Operation: 85-40=45, Resulting Numbers: [45, 60, 45] Generated Node #0,1: 77:[45, 60, 45] Operation: 85-40=45 Exploring Operation: 45+60=105, Resulting Numbers: [40, 85, 105] Generated Node #0,2: 77:[40, 85, 105] Operation: 45+60=105 Exploring Operation: 40+60=100, Resulting Numbers: [45, 85, 100] Generated Node #0,3: 77:[45, 85, 100] Operation: 40+60=100 Exploring Operation: 45+40=85, Resulting Numbers: [60, 85, 85] Generated Node #0,4: 77:[60, 85, 85] Operation: 45+40=85 Moving to Node #0,4 Current State: 77:[60, 85, 85], Operations: ['45+40=85'] Exploring Operation: 85-60=25, Resulting Numbers: [85, 25] Generated Node #0,4,0: 77:[85, 25] Operation: 85-60=25 Exploring Operation: 85/85=1, Resulting Numbers: [60, 1] Generated Node #0,4,1: 77:[60, 1] Operation: 85/85=1 Exploring Operation: 60+85=145, Resulting Numbers: [85, 145] Generated Node #0,4,2: 77:[85, 145] Operation: 60+85=145 Exploring Operation: 85-60=25, Resulting Numbers: [85, 25] Generated Node #0,4,3: 77:[85, 25] Operation: 85-60=25 Exploring Operation: 60+85=145, Resulting Numbers: [85, 145] Generated Node #0,4,4: 77:[85, 145] Operation: 60+85=145 Moving to Node #0,3 Current State: 77:[45, 85, 100], Operations: ['40+60=100'] Exploring Operation: 45+100=145, Resulting Numbers: [85, 145] Generated Node #0,3,0: 77:[85, 145] Operation: 45+100=145 Exploring Operation: 85-45=40, Resulting Numbers: [100, 40] Generated Node #0,3,1: 77:[100, 40] Operation: 85-45=40 Exploring Operation: 45+85=130, Resulting Numbers: [100, 130] Generated Node #0,3,2: 77:[100, 130] Operation: 45+85=130 Exploring Operation: 100-45=55, Resulting Numbers: [85, 55] Generated Node #0,3,3: 77:[85, 55] Operation: 100-45=55 Exploring Operation: 100-85=15, Resulting Numbers: [45, 15] Generated Node #0,3,4: 77:[45, 15] Operation: 100-85=15 Moving to Node #0,2 Current State: 77:[40, 85, 105], Operations: ['45+60=105'] Exploring Operation: 105-85=20, Resulting Numbers: [40, 20] Generated Node #0,2,0: 77:[40, 20] Operation: 105-85=20 Exploring Operation: 85-40=45, Resulting Numbers: [105, 45] Generated Node #0,2,1: 77:[105, 45] Operation: 85-40=45 Exploring Operation: 40+85=125, Resulting Numbers: [105, 125] Generated Node #0,2,2: 77:[105, 125] Operation: 40+85=125 Exploring Operation: 40+105=145, Resulting Numbers: [85, 145] Generated Node #0,2,3: 77:[85, 145] Operation: 40+105=145 Exploring Operation: 105-40=65, Resulting Numbers: [85, 65] Generated Node #0,2,4: 77:[85, 65] Operation: 105-40=65 Moving to Node #0,1 Current State: 77:[45, 60, 45], Operations: ['85-40=45'] Exploring Operation: 45/45=1, Resulting Numbers: [60, 1] Generated Node #0,1,0: 77:[60, 1] Operation: 45/45=1 Exploring Operation: 45+45=90, Resulting Numbers: [60, 90] Generated Node #0,1,1: 77:[60, 90] Operation: 45+45=90 Exploring Operation: 60-45=15, Resulting Numbers: [45, 15] Generated Node #0,1,2: 77:[45, 15] Operation: 60-45=15 Exploring Operation: 60+45=105, Resulting Numbers: [45, 105] Generated Node #0,1,3: 77:[45, 105] Operation: 60+45=105 Exploring Operation: 45+60=105, Resulting Numbers: [45, 105] Generated Node #0,1,4: 77:[45, 105] Operation: 45+60=105 Moving to Node #0,0 Current State: 77:[40, 60, 40], Operations: ['85-45=40'] Exploring Operation: 40/40=1, Resulting Numbers: [60, 1] Generated Node #0,0,0: 77:[60, 1] Operation: 40/40=1 Exploring Operation: 40+60=100, Resulting Numbers: [40, 100] Generated Node #0,0,1: 77:[40, 100] Operation: 40+60=100 Exploring Operation: 40+40=80, Resulting Numbers: [60, 80] Generated Node #0,0,2: 77:[60, 80] Operation: 40+40=80 Exploring Operation: 60+40=100, Resulting Numbers: [40, 100] Generated Node #0,0,3: 77:[40, 100] Operation: 60+40=100 Exploring Operation: 60-40=20, Resulting Numbers: [40, 20] Generated Node #0,0,4: 77:[40, 20] Operation: 60-40=20 Moving to Node #0,2,4 Current State: 77:[85, 65], Operations: ['45+60=105', '105-40=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,77 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[60, 80], Operations: ['85-45=40', '40+40=80'] Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,77 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[85, 55], Operations: ['40+60=100', '100-45=55'] Exploring Operation: 85*55=4675, Resulting Numbers: [4675] 4675,77 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 85+55=140, Resulting Numbers: [140] 140,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[60, 90], Operations: ['85-40=45', '45+45=90'] Exploring Operation: 60*90=5400, Resulting Numbers: [5400] 5400,77 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 60+90=150, Resulting Numbers: [150] 150,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[85, 25], Operations: ['45+40=85', '85-60=25'] Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,77 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,77 unequal: No Solution Moving to Node #0,4,0,0 Current State: 77:[60], Operations: ['45+40=85', '85-60=25', '85-25=60'] Moving to Node #0,2,1 Current State: 77:[105, 45], Operations: ['45+60=105', '85-40=45'] Exploring Operation: 105*45=4725, Resulting Numbers: [4725] 4725,77 unequal: No Solution Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 105+45=150, Resulting Numbers: [150] 150,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[100, 40], Operations: ['40+60=100', '85-45=40'] Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 100*40=4000, Resulting Numbers: [4000] 4000,77 unequal: No Solution Exploring Operation: 100+40=140, Resulting Numbers: [140] 140,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[40, 100], Operations: ['85-45=40', '60+40=100'] Exploring Operation: 40*100=4000, Resulting Numbers: [4000] 4000,77 unequal: No Solution Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 40+100=140, Resulting Numbers: [140] 140,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[85, 25], Operations: ['45+40=85', '85-60=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,77 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,77 unequal: No Solution Moving to Node #0,2,1,0 Current State: 77:[60], Operations: ['45+60=105', '85-40=45', '105-45=60'] Moving to Node #0,3,1,0 Current State: 77:[60], Operations: ['40+60=100', '85-45=40', '100-40=60'] Moving to Node #0,4,3,0 Current State: 77:[60], Operations: ['45+40=85', '85-60=25', '85-25=60'] Moving to Node #0,0,3,0 Current State: 77:[60], Operations: ['85-45=40', '60+40=100', '100-40=60'] Moving to Node #0,0,1 Current State: 77:[40, 100], Operations: ['85-45=40', '40+60=100'] Exploring Operation: 40*100=4000, Resulting Numbers: [4000] 4000,77 unequal: No Solution Exploring Operation: 40+100=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,0,1,0 Current State: 77:[60], Operations: ['85-45=40', '40+60=100', '100-40=60'] Moving to Node #0,1,4 Current State: 77:[45, 105], Operations: ['85-40=45', '45+60=105'] Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[45, 105], Operations: ['85-40=45', '60+45=105'] Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,77 unequal: No Solution Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,4,3,0 Current State: 77:[110], Operations: ['45+40=85', '85-60=25', '85+25=110'] Moving to Node #0,4,0,0 Current State: 77:[110], Operations: ['45+40=85', '85-60=25', '85+25=110'] Moving to Node #0,1,4,0 Current State: 77:[60], Operations: ['85-40=45', '45+60=105', '105-45=60'] Moving to Node #0,1,3,0 Current State: 77:[60], Operations: ['85-40=45', '60+45=105', '105-45=60'] Moving to Node #0,2,2 Current State: 77:[105, 125], Operations: ['45+60=105', '40+85=125'] Exploring Operation: 105+125=230, Resulting Numbers: [230] 230,77 unequal: No Solution Exploring Operation: 105*125=13125, Resulting Numbers: [13125] 13125,77 unequal: No Solution Exploring Operation: 125-105=20, Resulting Numbers: [20] 20,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[85, 145], Operations: ['45+40=85', '60+85=145'] Exploring Operation: 85*145=12325, Resulting Numbers: [12325] 12325,77 unequal: No Solution Exploring Operation: 85+145=230, Resulting Numbers: [230] 230,77 unequal: No Solution Exploring Operation: 145-85=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[85, 145], Operations: ['40+60=100', '45+100=145'] Exploring Operation: 145-85=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 85+145=230, Resulting Numbers: [230] 230,77 unequal: No Solution Exploring Operation: 85*145=12325, Resulting Numbers: [12325] 12325,77 unequal: No Solution Moving to Node #0,4,2,0 Current State: 77:[60], Operations: ['45+40=85', '60+85=145', '145-85=60'] Moving to Node #0,3,0,0 Current State: 77:[60], Operations: ['40+60=100', '45+100=145', '145-85=60'] Moving to Node #0,2,3 Current State: 77:[85, 145], Operations: ['45+60=105', '40+105=145'] Exploring Operation: 85*145=12325, Resulting Numbers: [12325] 12325,77 unequal: No Solution Exploring Operation: 85+145=230, Resulting Numbers: [230] 230,77 unequal: No Solution Exploring Operation: 145-85=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[85, 145], Operations: ['45+40=85', '60+85=145'] Exploring Operation: 145-85=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 85+145=230, Resulting Numbers: [230] 230,77 unequal: No Solution Exploring Operation: 85*145=12325, Resulting Numbers: [12325] 12325,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[100, 130], Operations: ['40+60=100', '45+85=130'] Exploring Operation: 130-100=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 100*130=13000, Resulting Numbers: [13000] 13000,77 unequal: No Solution Exploring Operation: 100+130=230, Resulting Numbers: [230] 230,77 unequal: No Solution Moving to Node #0,2,3,0 Current State: 77:[60], Operations: ['45+60=105', '40+105=145', '145-85=60'] Moving to Node #0,4,4,0 Current State: 77:[60], Operations: ['45+40=85', '60+85=145', '145-85=60'] Moving to Node #0,4,1 Current State: 77:[60, 1], Operations: ['45+40=85', '85/85=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[60, 1], Operations: ['85-40=45', '45/45=1'] Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[60, 1], Operations: ['85-45=40', '40/40=1'] Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,4,1,0 Current State: 77:[61], Operations: ['45+40=85', '85/85=1', '60+1=61'] Moving to Node #0,1,0,0 Current State: 77:[61], Operations: ['85-40=45', '45/45=1', '60+1=61'] Moving to Node #0,0,0,0 Current State: 77:[61], Operations: ['85-45=40', '40/40=1', '60+1=61'] Moving to Node #0,1,0,0 Current State: 77:[60], Operations: ['85-40=45', '45/45=1', '60/1=60'] Moving to Node #0,0,0,0 Current State: 77:[60], Operations: ['85-45=40', '40/40=1', '60/1=60'] Moving to Node #0,0,0,0 Current State: 77:[60], Operations: ['85-45=40', '40/40=1', '60*1=60'] Moving to Node #0,1,0,0 Current State: 77:[60], Operations: ['85-40=45', '45/45=1', '60*1=60'] Moving to Node #0,4,1,0 Current State: 77:[60], Operations: ['45+40=85', '85/85=1', '60/1=60'] Moving to Node #0,4,1,0 Current State: 77:[60], Operations: ['45+40=85', '85/85=1', '60*1=60'] Moving to Node #0,0,0,0 Current State: 77:[59], Operations: ['85-45=40', '40/40=1', '60-1=59'] Moving to Node #0,1,0,0 Current State: 77:[59], Operations: ['85-40=45', '45/45=1', '60-1=59'] Moving to Node #0,4,1,0 Current State: 77:[59], Operations: ['45+40=85', '85/85=1', '60-1=59'] Moving to Node #0,0,4 Current State: 77:[40, 20], Operations: ['85-45=40', '60-40=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,77 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,77 unequal: No Solution Moving to Node #0,3,3,0 Current State: 77:[30], Operations: ['40+60=100', '100-45=55', '85-55=30'] Moving to Node #0,1,1,0 Current State: 77:[30], Operations: ['85-40=45', '45+45=90', '90-60=30'] Moving to Node #0,0,4,0 Current State: 77:[60], Operations: ['85-45=40', '60-40=20', '40+20=60'] Moving to Node #0,3,4 Current State: 77:[45, 15], Operations: ['40+60=100', '100-85=15'] Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,77 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[40, 20], Operations: ['45+60=105', '105-85=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,77 unequal: No Solution Moving to Node #0,3,2,0 Current State: 77:[30], Operations: ['40+60=100', '45+85=130', '130-100=30'] Moving to Node #0,1,2 Current State: 77:[45, 15], Operations: ['85-40=45', '60-45=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,77 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,3,4,0 Current State: 77:[60], Operations: ['40+60=100', '100-85=15', '45+15=60'] Moving to Node #0,1,2,0 Current State: 77:[60], Operations: ['85-40=45', '60-45=15', '45+15=60'] Moving to Node #0,2,0,0 Current State: 77:[60], Operations: ['45+60=105', '105-85=20', '40+20=60'] Moving to Node #0,1,2,0 Current State: 77:[30], Operations: ['85-40=45', '60-45=15', '45-15=30'] Moving to Node #0,3,4,0 Current State: 77:[30], Operations: ['40+60=100', '100-85=15', '45-15=30'] Moving to Node #0,2,4,0 Current State: 77:[20], Operations: ['45+60=105', '105-40=65', '85-65=20'] Moving to Node #0,2,0,0 Current State: 77:[20], Operations: ['45+60=105', '105-85=20', '40-20=20'] Moving to Node #0,0,2,0 Current State: 77:[20], Operations: ['85-45=40', '40+40=80', '80-60=20'] Moving to Node #0,0,4,0 Current State: 77:[20], Operations: ['85-45=40', '60-40=20', '40-20=20'] Moving to Node #0,2,2,0 Current State: 77:[20], Operations: ['45+60=105', '40+85=125', '125-105=20'] Moving to Node #0,3,3,0 Current State: 77:[140], Operations: ['40+60=100', '100-45=55', '85+55=140'] Moving to Node #0,0,2,0 Current State: 77:[140], Operations: ['85-45=40', '40+40=80', '60+80=140'] Moving to Node #0,0,1,0 Current State: 77:[140], Operations: ['85-45=40', '40+60=100', '40+100=140'] Moving to Node #0,3,1,0 Current State: 77:[140], Operations: ['40+60=100', '85-45=40', '100+40=140'] Moving to Node #0,0,3,0 Current State: 77:[140], Operations: ['85-45=40', '60+40=100', '40+100=140'] Moving to Node #0,1,3,0 Current State: 77:[150], Operations: ['85-40=45', '60+45=105', '45+105=150'] Moving to Node #0,2,4,0 Current State: 77:[150], Operations: ['45+60=105', '105-40=65', '85+65=150'] Moving to Node #0,1,4,0 Current State: 77:[150], Operations: ['85-40=45', '45+60=105', '45+105=150'] Moving to Node #0,1,1,0 Current State: 77:[150], Operations: ['85-40=45', '45+45=90', '60+90=150'] Moving to Node #0,2,1,0 Current State: 77:[150], Operations: ['45+60=105', '85-40=45', '105+45=150'] Moving to Node #0,1,2,0 Current State: 77:[3], Operations: ['85-40=45', '60-45=15', '45/15=3'] Moving to Node #0,3,4,0 Current State: 77:[3], Operations: ['40+60=100', '100-85=15', '45/15=3'] Moving to Node #0,2,0,0 Current State: 77:[2], Operations: ['45+60=105', '105-85=20', '40/20=2'] Moving to Node #0,0,4,0 Current State: 77:[2], Operations: ['85-45=40', '60-40=20', '40/20=2'] Moving to Node #0,3,0,0 Current State: 77:[230], Operations: ['40+60=100', '45+100=145', '85+145=230'] Moving to Node #0,3,2,0 Current State: 77:[230], Operations: ['40+60=100', '45+85=130', '100+130=230'] Moving to Node #0,2,3,0 Current State: 77:[230], Operations: ['45+60=105', '40+105=145', '85+145=230'] Moving to Node #0,4,2,0 Current State: 77:[230], Operations: ['45+40=85', '60+85=145', '85+145=230'] Moving to Node #0,2,2,0 Current State: 77:[230], Operations: ['45+60=105', '40+85=125', '105+125=230'] Moving to Node #0,4,4,0 Current State: 77:[230], Operations: ['45+40=85', '60+85=145', '85+145=230'] Moving to Node #0,1,2,0 Current State: 77:[675], Operations: ['85-40=45', '60-45=15', '45*15=675'] Moving to Node #0,3,4,0 Current State: 77:[675], Operations: ['40+60=100', '100-85=15', '45*15=675'] Moving to Node #0,2,0,0 Current State: 77:[800], Operations: ['45+60=105', '105-85=20', '40*20=800'] Moving to Node #0,0,4,0 Current State: 77:[800], Operations: ['85-45=40', '60-40=20', '40*20=800'] Moving to Node #0,4,0,0 Current State: 77:[2125], Operations: ['45+40=85', '85-60=25', '85*25=2125'] Moving to Node #0,4,3,0 Current State: 77:[2125], Operations: ['45+40=85', '85-60=25', '85*25=2125'] Moving to Node #0,3,1,0 Current State: 77:[4000], Operations: ['40+60=100', '85-45=40', '100*40=4000'] Moving to Node #0,0,3,0 Current State: 77:[4000], Operations: ['85-45=40', '60+40=100', '40*100=4000'] Moving to Node #0,0,1,0 Current State: 77:[4000], Operations: ['85-45=40', '40+60=100', '40*100=4000'] Moving to Node #0,3,3,0 Current State: 77:[4675], Operations: ['40+60=100', '100-45=55', '85*55=4675'] Moving to Node #0,1,3,0 Current State: 77:[4725], Operations: ['85-40=45', '60+45=105', '45*105=4725'] Moving to Node #0,1,4,0 Current State: 77:[4725], Operations: ['85-40=45', '45+60=105', '45*105=4725'] Moving to Node #0,2,1,0 Current State: 77:[4725], Operations: ['45+60=105', '85-40=45', '105*45=4725'] Moving to Node #0,0,2,0 Current State: 77:[4800], Operations: ['85-45=40', '40+40=80', '60*80=4800'] Moving to Node #0,1,1,0 Current State: 77:[5400], Operations: ['85-40=45', '45+45=90', '60*90=5400'] Moving to Node #0,2,4,0 Current State: 77:[5525], Operations: ['45+60=105', '105-40=65', '85*65=5525'] Moving to Node #0,4,2,0 Current State: 77:[12325], Operations: ['45+40=85', '60+85=145', '85*145=12325'] Moving to Node #0,3,0,0 Current State: 77:[12325], Operations: ['40+60=100', '45+100=145', '85*145=12325'] Moving to Node #0,2,3,0 Current State: 77:[12325], Operations: ['45+60=105', '40+105=145', '85*145=12325'] Moving to Node #0,4,4,0 Current State: 77:[12325], Operations: ['45+40=85', '60+85=145', '85*145=12325'] Moving to Node #0,3,2,0 Current State: 77:[13000], Operations: ['40+60=100', '45+85=130', '100*130=13000'] Moving to Node #0,2,2,0 Current State: 77:[13125], Operations: ['45+60=105', '40+85=125', '105*125=13125'] No solution found.
0
bfs_5
Current State: 77:[45, 40, 60, 85], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [60, 85, 5] Generated Node #2: [60, 85, 5] from Operation: 45-40=5 Current State: 77:[60, 85, 5], Operations: ['45-40=5'] Exploring Operation: 85/5=17, Resulting Numbers: [60, 17] Generated Node #3: [60, 17] from Operation: 85/5=17 Current State: 77:[60, 17], Operations: ['45-40=5', '85/5=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
sum_heuristic
[ 84, 25, 86, 21 ]
74
[ "84*21=1764", "86+1764=1850", "1850/25=74" ]
Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 25+21=46, Resulting Numbers: [84, 86, 46] Generated Node #0,0: 74:[84, 86, 46] Operation: 25+21=46 Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 86-46=40, Resulting Numbers: [84, 40] Generated Node #0,0,0: 74:[84, 40] Operation: 86-46=40 Moving to Node #0,0,0 Current State: 74:[84, 40], Operations: ['25+21=46', '86-46=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[84, 40], Operations: ['25+21=46', '86-46=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 84-46=38, Resulting Numbers: [86, 38] Generated Node #0,0,1: 74:[86, 38] Operation: 84-46=38 Moving to Node #0,0,1 Current State: 74:[86, 38], Operations: ['25+21=46', '84-46=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[86, 38], Operations: ['25+21=46', '84-46=38'] Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 84+46=130, Resulting Numbers: [86, 130] Generated Node #0,0,2: 74:[86, 130] Operation: 84+46=130 Moving to Node #0,0,2 Current State: 74:[86, 130], Operations: ['25+21=46', '84+46=130'] Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 86+46=132, Resulting Numbers: [84, 132] Generated Node #0,0,3: 74:[84, 132] Operation: 86+46=132 Moving to Node #0,0,3 Current State: 74:[84, 132], Operations: ['25+21=46', '86+46=132'] Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 86-84=2, Resulting Numbers: [46, 2] Generated Node #0,0,4: 74:[46, 2] Operation: 86-84=2 Moving to Node #0,0,4 Current State: 74:[46, 2], Operations: ['25+21=46', '86-84=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[46, 2], Operations: ['25+21=46', '86-84=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[46, 2], Operations: ['25+21=46', '86-84=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[46, 2], Operations: ['25+21=46', '86-84=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[84, 86, 46], Operations: ['25+21=46'] Exploring Operation: 84+86=170, Resulting Numbers: [46, 170] Generated Node #0,0,5: 74:[46, 170] Operation: 84+86=170 Moving to Node #0,0,5 Current State: 74:[46, 170], Operations: ['25+21=46', '84+86=170'] Exploring Operation: 170-46=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 86-21=65, Resulting Numbers: [84, 25, 65] Generated Node #0,1: 74:[84, 25, 65] Operation: 86-21=65 Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 84-25=59, Resulting Numbers: [65, 59] Generated Node #0,1,0: 74:[65, 59] Operation: 84-25=59 Moving to Node #0,1,0 Current State: 74:[65, 59], Operations: ['86-21=65', '84-25=59'] Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[65, 59], Operations: ['86-21=65', '84-25=59'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 25+65=90, Resulting Numbers: [84, 90] Generated Node #0,1,1: 74:[84, 90] Operation: 25+65=90 Moving to Node #0,1,1 Current State: 74:[84, 90], Operations: ['86-21=65', '25+65=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 84+25=109, Resulting Numbers: [65, 109] Generated Node #0,1,2: 74:[65, 109] Operation: 84+25=109 Moving to Node #0,1,2 Current State: 74:[65, 109], Operations: ['86-21=65', '84+25=109'] Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 65-25=40, Resulting Numbers: [84, 40] Generated Node #0,1,3: 74:[84, 40] Operation: 65-25=40 Moving to Node #0,1,3 Current State: 74:[84, 40], Operations: ['86-21=65', '65-25=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[84, 40], Operations: ['86-21=65', '65-25=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 84-65=19, Resulting Numbers: [25, 19] Generated Node #0,1,4: 74:[25, 19] Operation: 84-65=19 Moving to Node #0,1,4 Current State: 74:[25, 19], Operations: ['86-21=65', '84-65=19'] Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[25, 19], Operations: ['86-21=65', '84-65=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[84, 25, 65], Operations: ['86-21=65'] Exploring Operation: 84+65=149, Resulting Numbers: [25, 149] Generated Node #0,1,5: 74:[25, 149] Operation: 84+65=149 Moving to Node #0,1,5 Current State: 74:[25, 149], Operations: ['86-21=65', '84+65=149'] Exploring Operation: 149-25=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [25, 86, 63] Generated Node #0,2: 74:[25, 86, 63] Operation: 84-21=63 Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 86-25=61, Resulting Numbers: [63, 61] Generated Node #0,2,0: 74:[63, 61] Operation: 86-25=61 Moving to Node #0,2,0 Current State: 74:[63, 61], Operations: ['84-21=63', '86-25=61'] Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[63, 61], Operations: ['84-21=63', '86-25=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 25+63=88, Resulting Numbers: [86, 88] Generated Node #0,2,1: 74:[86, 88] Operation: 25+63=88 Moving to Node #0,2,1 Current State: 74:[86, 88], Operations: ['84-21=63', '25+63=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 25+86=111, Resulting Numbers: [63, 111] Generated Node #0,2,2: 74:[63, 111] Operation: 25+86=111 Moving to Node #0,2,2 Current State: 74:[63, 111], Operations: ['84-21=63', '25+86=111'] Exploring Operation: 111-63=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 63-25=38, Resulting Numbers: [86, 38] Generated Node #0,2,3: 74:[86, 38] Operation: 63-25=38 Moving to Node #0,2,3 Current State: 74:[86, 38], Operations: ['84-21=63', '63-25=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[86, 38], Operations: ['84-21=63', '63-25=38'] Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 86-63=23, Resulting Numbers: [25, 23] Generated Node #0,2,4: 74:[25, 23] Operation: 86-63=23 Moving to Node #0,2,4 Current State: 74:[25, 23], Operations: ['84-21=63', '86-63=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[25, 23], Operations: ['84-21=63', '86-63=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[25, 86, 63], Operations: ['84-21=63'] Exploring Operation: 86+63=149, Resulting Numbers: [25, 149] Generated Node #0,2,5: 74:[25, 149] Operation: 86+63=149 Moving to Node #0,2,5 Current State: 74:[25, 149], Operations: ['84-21=63', '86+63=149'] Exploring Operation: 149-25=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [84, 21, 61] Generated Node #0,3: 74:[84, 21, 61] Operation: 86-25=61 Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 21+61=82, Resulting Numbers: [84, 82] Generated Node #0,3,0: 74:[84, 82] Operation: 21+61=82 Moving to Node #0,3,0 Current State: 74:[84, 82], Operations: ['86-25=61', '21+61=82'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 84-21=63, Resulting Numbers: [61, 63] Generated Node #0,3,1: 74:[61, 63] Operation: 84-21=63 Moving to Node #0,3,1 Current State: 74:[61, 63], Operations: ['86-25=61', '84-21=63'] Exploring Operation: 61+63=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[61, 63], Operations: ['86-25=61', '84-21=63'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 84+21=105, Resulting Numbers: [61, 105] Generated Node #0,3,2: 74:[61, 105] Operation: 84+21=105 Moving to Node #0,3,2 Current State: 74:[61, 105], Operations: ['86-25=61', '84+21=105'] Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 61-21=40, Resulting Numbers: [84, 40] Generated Node #0,3,3: 74:[84, 40] Operation: 61-21=40 Moving to Node #0,3,3 Current State: 74:[84, 40], Operations: ['86-25=61', '61-21=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[84, 40], Operations: ['86-25=61', '61-21=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 84/21=4, Resulting Numbers: [61, 4] Generated Node #0,3,4: 74:[61, 4] Operation: 84/21=4 Moving to Node #0,3,4 Current State: 74:[61, 4], Operations: ['86-25=61', '84/21=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[61, 4], Operations: ['86-25=61', '84/21=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 84-61=23, Resulting Numbers: [21, 23] Generated Node #0,3,5: 74:[21, 23] Operation: 84-61=23 Moving to Node #0,3,5 Current State: 74:[21, 23], Operations: ['86-25=61', '84-61=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3,5 Current State: 74:[21, 23], Operations: ['86-25=61', '84-61=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[84, 21, 61], Operations: ['86-25=61'] Exploring Operation: 84+61=145, Resulting Numbers: [21, 145] Generated Node #0,3,6: 74:[21, 145] Operation: 84+61=145 Moving to Node #0,3,6 Current State: 74:[21, 145], Operations: ['86-25=61', '84+61=145'] Exploring Operation: 145-21=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84-25=59, Resulting Numbers: [86, 21, 59] Generated Node #0,4: 74:[86, 21, 59] Operation: 84-25=59 Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 21+59=80, Resulting Numbers: [86, 80] Generated Node #0,4,0: 74:[86, 80] Operation: 21+59=80 Moving to Node #0,4,0 Current State: 74:[86, 80], Operations: ['84-25=59', '21+59=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 86-21=65, Resulting Numbers: [59, 65] Generated Node #0,4,1: 74:[59, 65] Operation: 86-21=65 Moving to Node #0,4,1 Current State: 74:[59, 65], Operations: ['84-25=59', '86-21=65'] Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[59, 65], Operations: ['84-25=59', '86-21=65'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 86+21=107, Resulting Numbers: [59, 107] Generated Node #0,4,2: 74:[59, 107] Operation: 86+21=107 Moving to Node #0,4,2 Current State: 74:[59, 107], Operations: ['84-25=59', '86+21=107'] Exploring Operation: 107-59=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 59-21=38, Resulting Numbers: [86, 38] Generated Node #0,4,3: 74:[86, 38] Operation: 59-21=38 Moving to Node #0,4,3 Current State: 74:[86, 38], Operations: ['84-25=59', '59-21=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[86, 38], Operations: ['84-25=59', '59-21=38'] Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 86-59=27, Resulting Numbers: [21, 27] Generated Node #0,4,4: 74:[21, 27] Operation: 86-59=27 Moving to Node #0,4,4 Current State: 74:[21, 27], Operations: ['84-25=59', '86-59=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,4,4 Current State: 74:[21, 27], Operations: ['84-25=59', '86-59=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[86, 21, 59], Operations: ['84-25=59'] Exploring Operation: 86+59=145, Resulting Numbers: [21, 145] Generated Node #0,4,5: 74:[21, 145] Operation: 86+59=145 Moving to Node #0,4,5 Current State: 74:[21, 145], Operations: ['84-25=59', '86+59=145'] Exploring Operation: 145-21=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84+21=105, Resulting Numbers: [25, 86, 105] Generated Node #0,5: 74:[25, 86, 105] Operation: 84+21=105 Moving to Node #0,5 Current State: 74:[25, 86, 105], Operations: ['84+21=105'] Exploring Operation: 105-25=80, Resulting Numbers: [86, 80] Generated Node #0,5,0: 74:[86, 80] Operation: 105-25=80 Moving to Node #0,5,0 Current State: 74:[86, 80], Operations: ['84+21=105', '105-25=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[25, 86, 105], Operations: ['84+21=105'] Exploring Operation: 86-25=61, Resulting Numbers: [105, 61] Generated Node #0,5,1: 74:[105, 61] Operation: 86-25=61 Moving to Node #0,5,1 Current State: 74:[105, 61], Operations: ['84+21=105', '86-25=61'] Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[25, 86, 105], Operations: ['84+21=105'] Exploring Operation: 25+86=111, Resulting Numbers: [105, 111] Generated Node #0,5,2: 74:[105, 111] Operation: 25+86=111 Moving to Node #0,5,2 Current State: 74:[105, 111], Operations: ['84+21=105', '25+86=111'] Exploring Operation: 111-105=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[25, 86, 105], Operations: ['84+21=105'] Exploring Operation: 25+105=130, Resulting Numbers: [86, 130] Generated Node #0,5,3: 74:[86, 130] Operation: 25+105=130 Moving to Node #0,5,3 Current State: 74:[86, 130], Operations: ['84+21=105', '25+105=130'] Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[25, 86, 105], Operations: ['84+21=105'] Exploring Operation: 105-86=19, Resulting Numbers: [25, 19] Generated Node #0,5,4: 74:[25, 19] Operation: 105-86=19 Moving to Node #0,5,4 Current State: 74:[25, 19], Operations: ['84+21=105', '105-86=19'] Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,5,4 Current State: 74:[25, 19], Operations: ['84+21=105', '105-86=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [84, 86, 4] Generated Node #0,6: 74:[84, 86, 4] Operation: 25-21=4 Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 84-4=80, Resulting Numbers: [86, 80] Generated Node #0,6,0: 74:[86, 80] Operation: 84-4=80 Moving to Node #0,6,0 Current State: 74:[86, 80], Operations: ['25-21=4', '84-4=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 86-4=82, Resulting Numbers: [84, 82] Generated Node #0,6,1: 74:[84, 82] Operation: 86-4=82 Moving to Node #0,6,1 Current State: 74:[84, 82], Operations: ['25-21=4', '86-4=82'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 84+4=88, Resulting Numbers: [86, 88] Generated Node #0,6,2: 74:[86, 88] Operation: 84+4=88 Moving to Node #0,6,2 Current State: 74:[86, 88], Operations: ['25-21=4', '84+4=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 86+4=90, Resulting Numbers: [84, 90] Generated Node #0,6,3: 74:[84, 90] Operation: 86+4=90 Moving to Node #0,6,3 Current State: 74:[84, 90], Operations: ['25-21=4', '86+4=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 84/4=21, Resulting Numbers: [86, 21] Generated Node #0,6,4: 74:[86, 21] Operation: 84/4=21 Moving to Node #0,6,4 Current State: 74:[86, 21], Operations: ['25-21=4', '84/4=21'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,74 unequal: No Solution Moving to Node #0,6,4 Current State: 74:[86, 21], Operations: ['25-21=4', '84/4=21'] Exploring Operation: 86+21=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[84, 86, 4], Operations: ['25-21=4'] Exploring Operation: 86-84=2, Resulting Numbers: [4, 2] Generated Node #0,6,5: 74:[4, 2] Operation: 86-84=2 Moving to Node #0,6,5 Current State: 74:[4, 2], Operations: ['25-21=4', '86-84=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,6,5 Current State: 74:[4, 2], Operations: ['25-21=4', '86-84=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,6,5 Current State: 74:[4, 2], Operations: ['25-21=4', '86-84=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,6,5 Current State: 74:[4, 2], Operations: ['25-21=4', '86-84=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 86+21=107, Resulting Numbers: [84, 25, 107] Generated Node #0,7: 74:[84, 25, 107] Operation: 86+21=107 Moving to Node #0,7 Current State: 74:[84, 25, 107], Operations: ['86+21=107'] Exploring Operation: 107-25=82, Resulting Numbers: [84, 82] Generated Node #0,7,0: 74:[84, 82] Operation: 107-25=82 Moving to Node #0,7,0 Current State: 74:[84, 82], Operations: ['86+21=107', '107-25=82'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[84, 25, 107], Operations: ['86+21=107'] Exploring Operation: 84-25=59, Resulting Numbers: [107, 59] Generated Node #0,7,1: 74:[107, 59] Operation: 84-25=59 Moving to Node #0,7,1 Current State: 74:[107, 59], Operations: ['86+21=107', '84-25=59'] Exploring Operation: 107-59=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[84, 25, 107], Operations: ['86+21=107'] Exploring Operation: 84+25=109, Resulting Numbers: [107, 109] Generated Node #0,7,2: 74:[107, 109] Operation: 84+25=109 Moving to Node #0,7,2 Current State: 74:[107, 109], Operations: ['86+21=107', '84+25=109'] Exploring Operation: 109-107=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[84, 25, 107], Operations: ['86+21=107'] Exploring Operation: 25+107=132, Resulting Numbers: [84, 132] Generated Node #0,7,3: 74:[84, 132] Operation: 25+107=132 Moving to Node #0,7,3 Current State: 74:[84, 132], Operations: ['86+21=107', '25+107=132'] Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[84, 25, 107], Operations: ['86+21=107'] Exploring Operation: 107-84=23, Resulting Numbers: [25, 23] Generated Node #0,7,4: 74:[25, 23] Operation: 107-84=23 Moving to Node #0,7,4 Current State: 74:[25, 23], Operations: ['86+21=107', '107-84=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,7,4 Current State: 74:[25, 23], Operations: ['86+21=107', '107-84=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84+25=109, Resulting Numbers: [86, 21, 109] Generated Node #0,8: 74:[86, 21, 109] Operation: 84+25=109 Moving to Node #0,8 Current State: 74:[86, 21, 109], Operations: ['84+25=109'] Exploring Operation: 109-21=88, Resulting Numbers: [86, 88] Generated Node #0,8,0: 74:[86, 88] Operation: 109-21=88 Moving to Node #0,8,0 Current State: 74:[86, 88], Operations: ['84+25=109', '109-21=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[86, 21, 109], Operations: ['84+25=109'] Exploring Operation: 86-21=65, Resulting Numbers: [109, 65] Generated Node #0,8,1: 74:[109, 65] Operation: 86-21=65 Moving to Node #0,8,1 Current State: 74:[109, 65], Operations: ['84+25=109', '86-21=65'] Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[86, 21, 109], Operations: ['84+25=109'] Exploring Operation: 86+21=107, Resulting Numbers: [109, 107] Generated Node #0,8,2: 74:[109, 107] Operation: 86+21=107 Moving to Node #0,8,2 Current State: 74:[109, 107], Operations: ['84+25=109', '86+21=107'] Exploring Operation: 109-107=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[86, 21, 109], Operations: ['84+25=109'] Exploring Operation: 21+109=130, Resulting Numbers: [86, 130] Generated Node #0,8,3: 74:[86, 130] Operation: 21+109=130 Moving to Node #0,8,3 Current State: 74:[86, 130], Operations: ['84+25=109', '21+109=130'] Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[86, 21, 109], Operations: ['84+25=109'] Exploring Operation: 109-86=23, Resulting Numbers: [21, 23] Generated Node #0,8,4: 74:[21, 23] Operation: 109-86=23 Moving to Node #0,8,4 Current State: 74:[21, 23], Operations: ['84+25=109', '109-86=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,8,4 Current State: 74:[21, 23], Operations: ['84+25=109', '109-86=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 25+86=111, Resulting Numbers: [84, 21, 111] Generated Node #0,9: 74:[84, 21, 111] Operation: 25+86=111 Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 111-21=90, Resulting Numbers: [84, 90] Generated Node #0,9,0: 74:[84, 90] Operation: 111-21=90 Moving to Node #0,9,0 Current State: 74:[84, 90], Operations: ['25+86=111', '111-21=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 84-21=63, Resulting Numbers: [111, 63] Generated Node #0,9,1: 74:[111, 63] Operation: 84-21=63 Moving to Node #0,9,1 Current State: 74:[111, 63], Operations: ['25+86=111', '84-21=63'] Exploring Operation: 111-63=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 84+21=105, Resulting Numbers: [111, 105] Generated Node #0,9,2: 74:[111, 105] Operation: 84+21=105 Moving to Node #0,9,2 Current State: 74:[111, 105], Operations: ['25+86=111', '84+21=105'] Exploring Operation: 111-105=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 21+111=132, Resulting Numbers: [84, 132] Generated Node #0,9,3: 74:[84, 132] Operation: 21+111=132 Moving to Node #0,9,3 Current State: 74:[84, 132], Operations: ['25+86=111', '21+111=132'] Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 111-84=27, Resulting Numbers: [21, 27] Generated Node #0,9,4: 74:[21, 27] Operation: 111-84=27 Moving to Node #0,9,4 Current State: 74:[21, 27], Operations: ['25+86=111', '111-84=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,9,4 Current State: 74:[21, 27], Operations: ['25+86=111', '111-84=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,9 Current State: 74:[84, 21, 111], Operations: ['25+86=111'] Exploring Operation: 84/21=4, Resulting Numbers: [111, 4] Generated Node #0,9,5: 74:[111, 4] Operation: 84/21=4 Moving to Node #0,9,5 Current State: 74:[111, 4], Operations: ['25+86=111', '84/21=4'] Exploring Operation: 111-4=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,9,5 Current State: 74:[111, 4], Operations: ['25+86=111', '84/21=4'] Exploring Operation: 111+4=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [25, 86, 4] Generated Node #0,10: 74:[25, 86, 4] Operation: 84/21=4 Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 25*4=100, Resulting Numbers: [86, 100] Generated Node #0,10,0: 74:[86, 100] Operation: 25*4=100 Moving to Node #0,10,0 Current State: 74:[86, 100], Operations: ['84/21=4', '25*4=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 25+4=29, Resulting Numbers: [86, 29] Generated Node #0,10,1: 74:[86, 29] Operation: 25+4=29 Moving to Node #0,10,1 Current State: 74:[86, 29], Operations: ['84/21=4', '25+4=29'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,74 unequal: No Solution Moving to Node #0,10,1 Current State: 74:[86, 29], Operations: ['84/21=4', '25+4=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 86-4=82, Resulting Numbers: [25, 82] Generated Node #0,10,2: 74:[25, 82] Operation: 86-4=82 Moving to Node #0,10,2 Current State: 74:[25, 82], Operations: ['84/21=4', '86-4=82'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,74 unequal: No Solution Moving to Node #0,10,2 Current State: 74:[25, 82], Operations: ['84/21=4', '86-4=82'] Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 25-4=21, Resulting Numbers: [86, 21] Generated Node #0,10,3: 74:[86, 21] Operation: 25-4=21 Moving to Node #0,10,3 Current State: 74:[86, 21], Operations: ['84/21=4', '25-4=21'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,74 unequal: No Solution Moving to Node #0,10,3 Current State: 74:[86, 21], Operations: ['84/21=4', '25-4=21'] Exploring Operation: 86+21=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 86+4=90, Resulting Numbers: [25, 90] Generated Node #0,10,4: 74:[25, 90] Operation: 86+4=90 Moving to Node #0,10,4 Current State: 74:[25, 90], Operations: ['84/21=4', '86+4=90'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,74 unequal: No Solution Moving to Node #0,10,4 Current State: 74:[25, 90], Operations: ['84/21=4', '86+4=90'] Exploring Operation: 25+90=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 86-25=61, Resulting Numbers: [4, 61] Generated Node #0,10,5: 74:[4, 61] Operation: 86-25=61 Moving to Node #0,10,5 Current State: 74:[4, 61], Operations: ['84/21=4', '86-25=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,74 unequal: No Solution Moving to Node #0,10,5 Current State: 74:[4, 61], Operations: ['84/21=4', '86-25=61'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,74 unequal: No Solution Moving to Node #0,10 Current State: 74:[25, 86, 4], Operations: ['84/21=4'] Exploring Operation: 25+86=111, Resulting Numbers: [4, 111] Generated Node #0,10,6: 74:[4, 111] Operation: 25+86=111 Moving to Node #0,10,6 Current State: 74:[4, 111], Operations: ['84/21=4', '25+86=111'] Exploring Operation: 111-4=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,10,6 Current State: 74:[4, 111], Operations: ['84/21=4', '25+86=111'] Exploring Operation: 4+111=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [25, 21, 2] Generated Node #0,11: 74:[25, 21, 2] Operation: 86-84=2 Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 25*2=50, Resulting Numbers: [21, 50] Generated Node #0,11,0: 74:[21, 50] Operation: 25*2=50 Moving to Node #0,11,0 Current State: 74:[21, 50], Operations: ['86-84=2', '25*2=50'] Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,74 unequal: No Solution Moving to Node #0,11,0 Current State: 74:[21, 50], Operations: ['86-84=2', '25*2=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 21*2=42, Resulting Numbers: [25, 42] Generated Node #0,11,1: 74:[25, 42] Operation: 21*2=42 Moving to Node #0,11,1 Current State: 74:[25, 42], Operations: ['86-84=2', '21*2=42'] Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,11,1 Current State: 74:[25, 42], Operations: ['86-84=2', '21*2=42'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 25+21=46, Resulting Numbers: [2, 46] Generated Node #0,11,2: 74:[2, 46] Operation: 25+21=46 Moving to Node #0,11,2 Current State: 74:[2, 46], Operations: ['86-84=2', '25+21=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,74 unequal: No Solution Moving to Node #0,11,2 Current State: 74:[2, 46], Operations: ['86-84=2', '25+21=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,11,2 Current State: 74:[2, 46], Operations: ['86-84=2', '25+21=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,11,2 Current State: 74:[2, 46], Operations: ['86-84=2', '25+21=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 25+2=27, Resulting Numbers: [21, 27] Generated Node #0,11,3: 74:[21, 27] Operation: 25+2=27 Moving to Node #0,11,3 Current State: 74:[21, 27], Operations: ['86-84=2', '25+2=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,11,3 Current State: 74:[21, 27], Operations: ['86-84=2', '25+2=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 21+2=23, Resulting Numbers: [25, 23] Generated Node #0,11,4: 74:[25, 23] Operation: 21+2=23 Moving to Node #0,11,4 Current State: 74:[25, 23], Operations: ['86-84=2', '21+2=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,74 unequal: No Solution Moving to Node #0,11,4 Current State: 74:[25, 23], Operations: ['86-84=2', '21+2=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 25-2=23, Resulting Numbers: [21, 23] Generated Node #0,11,5: 74:[21, 23] Operation: 25-2=23 Moving to Node #0,11,5 Current State: 74:[21, 23], Operations: ['86-84=2', '25-2=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,11,5 Current State: 74:[21, 23], Operations: ['86-84=2', '25-2=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 21-2=19, Resulting Numbers: [25, 19] Generated Node #0,11,6: 74:[25, 19] Operation: 21-2=19 Moving to Node #0,11,6 Current State: 74:[25, 19], Operations: ['86-84=2', '21-2=19'] Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,11,6 Current State: 74:[25, 19], Operations: ['86-84=2', '21-2=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,11 Current State: 74:[25, 21, 2], Operations: ['86-84=2'] Exploring Operation: 25-21=4, Resulting Numbers: [2, 4] Generated Node #0,11,7: 74:[2, 4] Operation: 25-21=4 Moving to Node #0,11,7 Current State: 74:[2, 4], Operations: ['86-84=2', '25-21=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,11,7 Current State: 74:[2, 4], Operations: ['86-84=2', '25-21=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,11,7 Current State: 74:[2, 4], Operations: ['86-84=2', '25-21=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,11,7 Current State: 74:[2, 4], Operations: ['86-84=2', '25-21=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0 Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84+86=170, Resulting Numbers: [25, 21, 170] Generated Node #0,12: 74:[25, 21, 170] Operation: 84+86=170 Moving to Node #0,12 Current State: 74:[25, 21, 170], Operations: ['84+86=170'] Exploring Operation: 25+21=46, Resulting Numbers: [170, 46] Generated Node #0,12,0: 74:[170, 46] Operation: 25+21=46 Moving to Node #0,12,0 Current State: 74:[170, 46], Operations: ['84+86=170', '25+21=46'] Exploring Operation: 170-46=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,12 Current State: 74:[25, 21, 170], Operations: ['84+86=170'] Exploring Operation: 170-25=145, Resulting Numbers: [21, 145] Generated Node #0,12,1: 74:[21, 145] Operation: 170-25=145 Moving to Node #0,12,1 Current State: 74:[21, 145], Operations: ['84+86=170', '170-25=145'] Exploring Operation: 145-21=124, Resulting Numbers: [124] 124,74 unequal: No Solution Moving to Node #0,12 Current State: 74:[25, 21, 170], Operations: ['84+86=170'] Exploring Operation: 170-21=149, Resulting Numbers: [25, 149] Generated Node #0,12,2: 74:[25, 149] Operation: 170-21=149 Moving to Node #0,12,2 Current State: 74:[25, 149], Operations: ['84+86=170', '170-21=149'] Exploring Operation: 149-25=124, Resulting Numbers: [124] 124,74 unequal: No Solution
0
dfs
Current State: 74:[84, 25, 86, 21], Operations: [] Exploring Operation: 84*21=1764, Resulting Numbers: [25, 86, 1764] Generated Node #2: [25, 86, 1764] from Operation: 84*21=1764 Current State: 74:[25, 86, 1764], Operations: ['84*21=1764'] Exploring Operation: 86+1764=1850, Resulting Numbers: [25, 1850] Generated Node #3: [25, 1850] from Operation: 86+1764=1850 Current State: 74:[25, 1850], Operations: ['84*21=1764', '86+1764=1850'] Exploring Operation: 1850/25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
sum_heuristic
[ 18, 77, 99, 3 ]
84
[ "99-77=22", "3*22=66", "18+66=84" ]
Current State: 84:[18, 77, 99, 3], Operations: [] Exploring Operation: 77+3=80, Resulting Numbers: [18, 99, 80] Generated Node #0,0: 84:[18, 99, 80] Operation: 77+3=80 Exploring Operation: 18*3=54, Resulting Numbers: [77, 99, 54] Generated Node #0,1: 84:[77, 99, 54] Operation: 18*3=54 Exploring Operation: 18+3=21, Resulting Numbers: [77, 99, 21] Generated Node #0,2: 84:[77, 99, 21] Operation: 18+3=21 Moving to Node #0,1 Current State: 84:[77, 99, 54], Operations: ['18*3=54'] Exploring Operation: 77+54=131, Resulting Numbers: [99, 131] Generated Node #0,1,0: 84:[99, 131] Operation: 77+54=131 Exploring Operation: 99-54=45, Resulting Numbers: [77, 45] Generated Node #0,1,1: 84:[77, 45] Operation: 99-54=45 Exploring Operation: 77-54=23, Resulting Numbers: [99, 23] Generated Node #0,1,2: 84:[99, 23] Operation: 77-54=23 Moving to Node #0,0 Current State: 84:[18, 99, 80], Operations: ['77+3=80'] Exploring Operation: 99-18=81, Resulting Numbers: [80, 81] Generated Node #0,0,0: 84:[80, 81] Operation: 99-18=81 Exploring Operation: 18+80=98, Resulting Numbers: [99, 98] Generated Node #0,0,1: 84:[99, 98] Operation: 18+80=98 Exploring Operation: 18+99=117, Resulting Numbers: [80, 117] Generated Node #0,0,2: 84:[80, 117] Operation: 18+99=117 Moving to Node #0,2 Current State: 84:[77, 99, 21], Operations: ['18+3=21'] Exploring Operation: 77+21=98, Resulting Numbers: [99, 98] Generated Node #0,2,0: 84:[99, 98] Operation: 77+21=98 Exploring Operation: 77-21=56, Resulting Numbers: [99, 56] Generated Node #0,2,1: 84:[99, 56] Operation: 77-21=56 Exploring Operation: 99-21=78, Resulting Numbers: [77, 78] Generated Node #0,2,2: 84:[77, 78] Operation: 99-21=78 Moving to Node #0,0,0 Current State: 84:[80, 81], Operations: ['77+3=80', '99-18=81'] Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,84 unequal: No Solution Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[77, 78], Operations: ['18+3=21', '99-21=78'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 77*78=6006, Resulting Numbers: [6006] 6006,84 unequal: No Solution Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[99, 98], Operations: ['77+3=80', '18+80=98'] Exploring Operation: 99*98=9702, Resulting Numbers: [9702] 9702,84 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 99+98=197, Resulting Numbers: [197] 197,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[99, 98], Operations: ['18+3=21', '77+21=98'] Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 99+98=197, Resulting Numbers: [197] 197,84 unequal: No Solution Exploring Operation: 99*98=9702, Resulting Numbers: [9702] 9702,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[80, 117], Operations: ['77+3=80', '18+99=117'] Exploring Operation: 117-80=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 80+117=197, Resulting Numbers: [197] 197,84 unequal: No Solution Exploring Operation: 80*117=9360, Resulting Numbers: [9360] 9360,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[99, 56], Operations: ['18+3=21', '77-21=56'] Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,84 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,84 unequal: No Solution Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[77, 45], Operations: ['18*3=54', '99-54=45'] Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,84 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,84 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[99, 131], Operations: ['18*3=54', '77+54=131'] Exploring Operation: 99*131=12969, Resulting Numbers: [12969] 12969,84 unequal: No Solution Exploring Operation: 99+131=230, Resulting Numbers: [230] 230,84 unequal: No Solution Exploring Operation: 131-99=32, Resulting Numbers: [32] 32,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[99, 23], Operations: ['18*3=54', '77-54=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,84 unequal: No Solution Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,84 unequal: No Solution Moving to Node #0,1,2,0 Current State: 84:[76], Operations: ['18*3=54', '77-54=23', '99-23=76'] Moving to Node #0,1,1,0 Current State: 84:[122], Operations: ['18*3=54', '99-54=45', '77+45=122'] Moving to Node #0,1,2,0 Current State: 84:[122], Operations: ['18*3=54', '77-54=23', '99+23=122'] Moving to Node #0,2,1,0 Current State: 84:[43], Operations: ['18+3=21', '77-21=56', '99-56=43'] Moving to Node #0,0,2,0 Current State: 84:[37], Operations: ['77+3=80', '18+99=117', '117-80=37'] Moving to Node #0,1,1,0 Current State: 84:[32], Operations: ['18*3=54', '99-54=45', '77-45=32'] Moving to Node #0,1,0,0 Current State: 84:[32], Operations: ['18*3=54', '77+54=131', '131-99=32'] Moving to Node #0,2,2,0 Current State: 84:[155], Operations: ['18+3=21', '99-21=78', '77+78=155'] Moving to Node #0,2,1,0 Current State: 84:[155], Operations: ['18+3=21', '77-21=56', '99+56=155'] Moving to Node #0,0,0,0 Current State: 84:[161], Operations: ['77+3=80', '99-18=81', '80+81=161'] Moving to Node #0,2,0,0 Current State: 84:[1], Operations: ['18+3=21', '77+21=98', '99-98=1'] Moving to Node #0,0,1,0 Current State: 84:[1], Operations: ['77+3=80', '18+80=98', '99-98=1'] Moving to Node #0,2,2,0 Current State: 84:[1], Operations: ['18+3=21', '99-21=78', '78-77=1'] Moving to Node #0,0,0,0 Current State: 84:[1], Operations: ['77+3=80', '99-18=81', '81-80=1'] Moving to Node #0,2,0,0 Current State: 84:[197], Operations: ['18+3=21', '77+21=98', '99+98=197'] Moving to Node #0,0,1,0 Current State: 84:[197], Operations: ['77+3=80', '18+80=98', '99+98=197'] Moving to Node #0,0,2,0 Current State: 84:[197], Operations: ['77+3=80', '18+99=117', '80+117=197'] Moving to Node #0,1,0,0 Current State: 84:[230], Operations: ['18*3=54', '77+54=131', '99+131=230'] Moving to Node #0,1,2,0 Current State: 84:[2277], Operations: ['18*3=54', '77-54=23', '99*23=2277'] Moving to Node #0,1,1,0 Current State: 84:[3465], Operations: ['18*3=54', '99-54=45', '77*45=3465'] Moving to Node #0,2,1,0 Current State: 84:[5544], Operations: ['18+3=21', '77-21=56', '99*56=5544'] Moving to Node #0,2,2,0 Current State: 84:[6006], Operations: ['18+3=21', '99-21=78', '77*78=6006'] Moving to Node #0,0,0,0 Current State: 84:[6480], Operations: ['77+3=80', '99-18=81', '80*81=6480'] Moving to Node #0,0,2,0 Current State: 84:[9360], Operations: ['77+3=80', '18+99=117', '80*117=9360'] Moving to Node #0,0,1,0 Current State: 84:[9702], Operations: ['77+3=80', '18+80=98', '99*98=9702'] Moving to Node #0,2,0,0 Current State: 84:[9702], Operations: ['18+3=21', '77+21=98', '99*98=9702'] Moving to Node #0,1,0,0 Current State: 84:[12969], Operations: ['18*3=54', '77+54=131', '99*131=12969'] No solution found.
0
bfs_3
Current State: 84:[18, 77, 99, 3], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [18, 3, 22] Generated Node #2: [18, 3, 22] from Operation: 99-77=22 Current State: 84:[18, 3, 22], Operations: ['99-77=22'] Exploring Operation: 3*22=66, Resulting Numbers: [18, 66] Generated Node #3: [18, 66] from Operation: 3*22=66 Current State: 84:[18, 66], Operations: ['99-77=22', '3*22=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
sum_heuristic
[ 83, 23, 84, 84 ]
60
[ "83-23=60", "84-84=0", "60+0=60" ]
Current State: 60:[83, 23, 84, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [83, 23, 1] Generated Node #0,0: 60:[83, 23, 1] Operation: 84/84=1 Exploring Operation: 84-83=1, Resulting Numbers: [23, 84, 1] Generated Node #0,1: 60:[23, 84, 1] Operation: 84-83=1 Moving to Node #0,0 Current State: 60:[83, 23, 1], Operations: ['84/84=1'] Exploring Operation: 83-23=60, Resulting Numbers: [1, 60] Generated Node #0,0,0: 60:[1, 60] Operation: 83-23=60 Exploring Operation: 83-1=82, Resulting Numbers: [23, 82] Generated Node #0,0,1: 60:[23, 82] Operation: 83-1=82 Moving to Node #0,1 Current State: 60:[23, 84, 1], Operations: ['84-83=1'] Exploring Operation: 84-23=61, Resulting Numbers: [1, 61] Generated Node #0,1,0: 60:[1, 61] Operation: 84-23=61 Exploring Operation: 23-1=22, Resulting Numbers: [84, 22] Generated Node #0,1,1: 60:[84, 22] Operation: 23-1=22 Moving to Node #0,0,0 Current State: 60:[1, 60], Operations: ['84/84=1', '83-23=60'] Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.993056
bfs_2
Current State: 60:[83, 23, 84, 84], Operations: [] Exploring Operation: 83-23=60, Resulting Numbers: [84, 84, 60] Generated Node #2: [84, 84, 60] from Operation: 83-23=60 Current State: 60:[84, 84, 60], Operations: ['83-23=60'] Exploring Operation: 84-84=0, Resulting Numbers: [60, 0] Generated Node #3: [60, 0] from Operation: 84-84=0 Current State: 60:[60, 0], Operations: ['83-23=60', '84-84=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
mult_heuristic
[ 85, 17, 16, 31 ]
20
[ "85/17=5", "31-16=15", "5+15=20" ]
Current State: 20:[85, 17, 16, 31], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [16, 31, 5] Generated Node #0,0: 20:[16, 31, 5] Operation: 85/17=5 Moving to Node #0,0 Current State: 20:[16, 31, 5], Operations: ['85/17=5'] Exploring Operation: 31-5=26, Resulting Numbers: [16, 26] Generated Node #0,0,0: 20:[16, 26] Operation: 31-5=26 Moving to Node #0,0,0 Current State: 20:[16, 26], Operations: ['85/17=5', '31-5=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,0 Current State: 20:[16, 31, 5], Operations: ['85/17=5'] Exploring Operation: 16+5=21, Resulting Numbers: [31, 21] Generated Node #0,0,1: 20:[31, 21] Operation: 16+5=21 Moving to Node #0,0,1 Current State: 20:[31, 21], Operations: ['85/17=5', '16+5=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,0 Current State: 20:[16, 31, 5], Operations: ['85/17=5'] Exploring Operation: 31-16=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 20:[5, 15] Operation: 31-16=15 Moving to Node #0,0,2 Current State: 20:[5, 15], Operations: ['85/17=5', '31-16=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993056
dfs
Current State: 20:[85, 17, 16, 31], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [16, 31, 5] Generated Node #2: [16, 31, 5] from Operation: 85/17=5 Current State: 20:[16, 31, 5], Operations: ['85/17=5'] Exploring Operation: 31-16=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 31-16=15 Current State: 20:[5, 15], Operations: ['85/17=5', '31-16=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
sum_heuristic
[ 70, 76, 82, 64 ]
80
[ "76+64=140", "140/70=2", "82-2=80" ]
Current State: 80:[70, 76, 82, 64], Operations: [] Exploring Operation: 70+64=134, Resulting Numbers: [76, 82, 134] Generated Node #0,0: 80:[76, 82, 134] Operation: 70+64=134 Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 134-76=58, Resulting Numbers: [82, 58] Generated Node #0,0,0: 80:[82, 58] Operation: 134-76=58 Moving to Node #0,0,0 Current State: 80:[82, 58], Operations: ['70+64=134', '134-76=58'] Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[82, 58], Operations: ['70+64=134', '134-76=58'] Exploring Operation: 82+58=140, Resulting Numbers: [140] 140,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 134-82=52, Resulting Numbers: [76, 52] Generated Node #0,0,1: 80:[76, 52] Operation: 134-82=52 Moving to Node #0,0,1 Current State: 80:[76, 52], Operations: ['70+64=134', '134-82=52'] Exploring Operation: 76+52=128, Resulting Numbers: [128] 128,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[76, 52], Operations: ['70+64=134', '134-82=52'] Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 82-76=6, Resulting Numbers: [134, 6] Generated Node #0,0,2: 80:[134, 6] Operation: 82-76=6 Moving to Node #0,0,2 Current State: 80:[134, 6], Operations: ['70+64=134', '82-76=6'] Exploring Operation: 134-6=128, Resulting Numbers: [128] 128,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[134, 6], Operations: ['70+64=134', '82-76=6'] Exploring Operation: 134+6=140, Resulting Numbers: [140] 140,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 76+82=158, Resulting Numbers: [134, 158] Generated Node #0,0,3: 80:[134, 158] Operation: 76+82=158 Moving to Node #0,0,3 Current State: 80:[134, 158], Operations: ['70+64=134', '76+82=158'] Exploring Operation: 158-134=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 76+134=210, Resulting Numbers: [82, 210] Generated Node #0,0,4: 80:[82, 210] Operation: 76+134=210 Moving to Node #0,0,4 Current State: 80:[82, 210], Operations: ['70+64=134', '76+134=210'] Exploring Operation: 210-82=128, Resulting Numbers: [128] 128,80 unequal: No Solution Moving to Node #0,0 Current State: 80:[76, 82, 134], Operations: ['70+64=134'] Exploring Operation: 82+134=216, Resulting Numbers: [76, 216] Generated Node #0,0,5: 80:[76, 216] Operation: 82+134=216 Moving to Node #0,0,5 Current State: 80:[76, 216], Operations: ['70+64=134', '82+134=216'] Exploring Operation: 216-76=140, Resulting Numbers: [140] 140,80 unequal: No Solution Moving to Node #0 Current State: 80:[70, 76, 82, 64], Operations: [] Exploring Operation: 76+64=140, Resulting Numbers: [70, 82, 140] Generated Node #0,1: 80:[70, 82, 140] Operation: 76+64=140 Moving to Node #0,1 Current State: 80:[70, 82, 140], Operations: ['76+64=140'] Exploring Operation: 140-70=70, Resulting Numbers: [82, 70] Generated Node #0,1,0: 80:[82, 70] Operation: 140-70=70 Moving to Node #0,1,0 Current State: 80:[82, 70], Operations: ['76+64=140', '140-70=70'] Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[82, 70], Operations: ['76+64=140', '140-70=70'] Exploring Operation: 82+70=152, Resulting Numbers: [152] 152,80 unequal: No Solution Moving to Node #0,1 Current State: 80:[70, 82, 140], Operations: ['76+64=140'] Exploring Operation: 140-82=58, Resulting Numbers: [70, 58] Generated Node #0,1,1: 80:[70, 58] Operation: 140-82=58 Moving to Node #0,1,1 Current State: 80:[70, 58], Operations: ['76+64=140', '140-82=58'] Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[70, 58], Operations: ['76+64=140', '140-82=58'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,1 Current State: 80:[70, 82, 140], Operations: ['76+64=140'] Exploring Operation: 140/70=2, Resulting Numbers: [82, 2] Generated Node #0,1,2: 80:[82, 2] Operation: 140/70=2 Moving to Node #0,1,2 Current State: 80:[82, 2], Operations: ['76+64=140', '140/70=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.977431
dfs
Current State: 80:[70, 76, 82, 64], Operations: [] Exploring Operation: 76+64=140, Resulting Numbers: [70, 82, 140] Generated Node #2: [70, 82, 140] from Operation: 76+64=140 Current State: 80:[70, 82, 140], Operations: ['76+64=140'] Exploring Operation: 140/70=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 140/70=2 Current State: 80:[82, 2], Operations: ['76+64=140', '140/70=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
sum_heuristic
[ 87, 29, 65, 36 ]
43
[ "87-29=58", "65+36=101", "101-58=43" ]
Current State: 43:[87, 29, 65, 36], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [65, 36, 58] Generated Node #0,0: 43:[65, 36, 58] Operation: 87-29=58 Exploring Operation: 87-65=22, Resulting Numbers: [29, 36, 22] Generated Node #0,1: 43:[29, 36, 22] Operation: 87-65=22 Exploring Operation: 65-29=36, Resulting Numbers: [87, 36, 36] Generated Node #0,2: 43:[87, 36, 36] Operation: 65-29=36 Exploring Operation: 87-36=51, Resulting Numbers: [29, 65, 51] Generated Node #0,3: 43:[29, 65, 51] Operation: 87-36=51 Moving to Node #0,1 Current State: 43:[29, 36, 22], Operations: ['87-65=22'] Exploring Operation: 29+36=65, Resulting Numbers: [22, 65] Generated Node #0,1,0: 43:[22, 65] Operation: 29+36=65 Exploring Operation: 36+22=58, Resulting Numbers: [29, 58] Generated Node #0,1,1: 43:[29, 58] Operation: 36+22=58 Exploring Operation: 29+22=51, Resulting Numbers: [36, 51] Generated Node #0,1,2: 43:[36, 51] Operation: 29+22=51 Exploring Operation: 29-22=7, Resulting Numbers: [36, 7] Generated Node #0,1,3: 43:[36, 7] Operation: 29-22=7 Moving to Node #0,3 Current State: 43:[29, 65, 51], Operations: ['87-36=51'] Exploring Operation: 65-29=36, Resulting Numbers: [51, 36] Generated Node #0,3,0: 43:[51, 36] Operation: 65-29=36 Exploring Operation: 29+65=94, Resulting Numbers: [51, 94] Generated Node #0,3,1: 43:[51, 94] Operation: 29+65=94 Exploring Operation: 65-51=14, Resulting Numbers: [29, 14] Generated Node #0,3,2: 43:[29, 14] Operation: 65-51=14 Exploring Operation: 51-29=22, Resulting Numbers: [65, 22] Generated Node #0,3,3: 43:[65, 22] Operation: 51-29=22 Moving to Node #0,0 Current State: 43:[65, 36, 58], Operations: ['87-29=58'] Exploring Operation: 65+36=101, Resulting Numbers: [58, 101] Generated Node #0,0,0: 43:[58, 101] Operation: 65+36=101 Exploring Operation: 65-58=7, Resulting Numbers: [36, 7] Generated Node #0,0,1: 43:[36, 7] Operation: 65-58=7 Exploring Operation: 65-36=29, Resulting Numbers: [58, 29] Generated Node #0,0,2: 43:[58, 29] Operation: 65-36=29 Exploring Operation: 58-36=22, Resulting Numbers: [65, 22] Generated Node #0,0,3: 43:[65, 22] Operation: 58-36=22 Moving to Node #0,2 Current State: 43:[87, 36, 36], Operations: ['65-29=36'] Exploring Operation: 36/36=1, Resulting Numbers: [87, 1] Generated Node #0,2,0: 43:[87, 1] Operation: 36/36=1 Exploring Operation: 87-36=51, Resulting Numbers: [36, 51] Generated Node #0,2,1: 43:[36, 51] Operation: 87-36=51 Exploring Operation: 87-36=51, Resulting Numbers: [36, 51] Generated Node #0,2,2: 43:[36, 51] Operation: 87-36=51 Exploring Operation: 36+36=72, Resulting Numbers: [87, 72] Generated Node #0,2,3: 43:[87, 72] Operation: 36+36=72 Moving to Node #0,1,2 Current State: 43:[36, 51], Operations: ['87-65=22', '29+22=51'] Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[36, 51], Operations: ['65-29=36', '87-36=51'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[36, 51], Operations: ['65-29=36', '87-36=51'] Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[51, 36], Operations: ['87-36=51', '65-29=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[29, 58], Operations: ['87-65=22', '36+22=58'] Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 29*58=1682, Resulting Numbers: [1682] 1682,43 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[58, 29], Operations: ['87-29=58', '65-36=29'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,43 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[65, 22], Operations: ['87-36=51', '51-29=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.962674
bfs_4
Current State: 43:[87, 29, 65, 36], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [65, 36, 58] Generated Node #2: [65, 36, 58] from Operation: 87-29=58 Current State: 43:[65, 36, 58], Operations: ['87-29=58'] Exploring Operation: 65+36=101, Resulting Numbers: [58, 101] Generated Node #3: [58, 101] from Operation: 65+36=101 Current State: 43:[58, 101], Operations: ['87-29=58', '65+36=101'] Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
sum_heuristic
[ 11, 99, 52, 5 ]
53
[ "11+99=110", "52+5=57", "110-57=53" ]
Current State: 53:[11, 99, 52, 5], Operations: [] Exploring Operation: 11*5=55, Resulting Numbers: [99, 52, 55] Generated Node #0,0: 53:[99, 52, 55] Operation: 11*5=55 Moving to Node #0,0 Current State: 53:[99, 52, 55], Operations: ['11*5=55'] Exploring Operation: 99-52=47, Resulting Numbers: [55, 47] Generated Node #0,0,0: 53:[55, 47] Operation: 99-52=47 Moving to Node #0,0,0 Current State: 53:[55, 47], Operations: ['11*5=55', '99-52=47'] Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,53 unequal: No Solution Moving to Node #0,0,0,0 Current State: 53:[8], Operations: ['11*5=55', '99-52=47', '55-47=8'] No solution found.
0
bfs_1
Current State: 53:[11, 99, 52, 5], Operations: [] Exploring Operation: 11+99=110, Resulting Numbers: [52, 5, 110] Generated Node #2: [52, 5, 110] from Operation: 11+99=110 Current State: 53:[52, 5, 110], Operations: ['11+99=110'] Exploring Operation: 52+5=57, Resulting Numbers: [110, 57] Generated Node #3: [110, 57] from Operation: 52+5=57 Current State: 53:[110, 57], Operations: ['11+99=110', '52+5=57'] Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
sum_heuristic
[ 33, 50, 23, 17 ]
24
[ "50-33=17", "17/17=1", "23+1=24" ]
Current State: 24:[33, 50, 23, 17], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [23, 17, 17] Generated Node #0,0: 24:[23, 17, 17] Operation: 50-33=17 Moving to Node #0,0 Current State: 24:[23, 17, 17], Operations: ['50-33=17'] Exploring Operation: 17/17=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 24:[23, 1] Operation: 17/17=1 Moving to Node #0,0,0 Current State: 24:[23, 1], Operations: ['50-33=17', '17/17=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.996528
dfs
Current State: 24:[33, 50, 23, 17], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [23, 17, 17] Generated Node #2: [23, 17, 17] from Operation: 50-33=17 Current State: 24:[23, 17, 17], Operations: ['50-33=17'] Exploring Operation: 17/17=1, Resulting Numbers: [23, 1] Generated Node #3: [23, 1] from Operation: 17/17=1 Current State: 24:[23, 1], Operations: ['50-33=17', '17/17=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
mult_heuristic
[ 23, 63, 60, 50 ]
24
[ "23+63=86", "60+50=110", "110-86=24" ]
Current State: 24:[23, 63, 60, 50], Operations: []
0
dfs
Current State: 24:[23, 63, 60, 50], Operations: [] Exploring Operation: 23+63=86, Resulting Numbers: [60, 50, 86] Generated Node #2: [60, 50, 86] from Operation: 23+63=86 Current State: 24:[60, 50, 86], Operations: ['23+63=86'] Exploring Operation: 60+50=110, Resulting Numbers: [86, 110] Generated Node #3: [86, 110] from Operation: 60+50=110 Current State: 24:[86, 110], Operations: ['23+63=86', '60+50=110'] Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
mult_heuristic
[ 2, 21, 2, 83 ]
30
[ "2+21=23", "83-23=60", "60/2=30" ]
Current State: 30:[2, 21, 2, 83], Operations: []
0
dfs
Current State: 30:[2, 21, 2, 83], Operations: [] Exploring Operation: 2+21=23, Resulting Numbers: [83, 23] Generated Node #2: [83, 23] from Operation: 2+21=23 Current State: 30:[83, 23], Operations: ['2+21=23'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,30 equal: Goal Reached Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
mult_heuristic
[ 34, 82, 96, 50 ]
30
[ "34+82=116", "96+50=146", "146-116=30" ]
Current State: 30:[34, 82, 96, 50], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [34, 82, 46] Generated Node #0,0: 30:[34, 82, 46] Operation: 96-50=46 Exploring Operation: 96-82=14, Resulting Numbers: [34, 50, 14] Generated Node #0,1: 30:[34, 50, 14] Operation: 96-82=14 Exploring Operation: 82-50=32, Resulting Numbers: [34, 96, 32] Generated Node #0,2: 30:[34, 96, 32] Operation: 82-50=32 Exploring Operation: 82-34=48, Resulting Numbers: [96, 50, 48] Generated Node #0,3: 30:[96, 50, 48] Operation: 82-34=48 Moving to Node #0,1 Current State: 30:[34, 50, 14], Operations: ['96-82=14'] Exploring Operation: 50-34=16, Resulting Numbers: [14, 16] Generated Node #0,1,0: 30:[14, 16] Operation: 50-34=16 Exploring Operation: 50-14=36, Resulting Numbers: [34, 36] Generated Node #0,1,1: 30:[34, 36] Operation: 50-14=36 Exploring Operation: 34-14=20, Resulting Numbers: [50, 20] Generated Node #0,1,2: 30:[50, 20] Operation: 34-14=20 Exploring Operation: 34+14=48, Resulting Numbers: [50, 48] Generated Node #0,1,3: 30:[50, 48] Operation: 34+14=48 Moving to Node #0,2 Current State: 30:[34, 96, 32], Operations: ['82-50=32'] Exploring Operation: 96-34=62, Resulting Numbers: [32, 62] Generated Node #0,2,0: 30:[32, 62] Operation: 96-34=62 Exploring Operation: 96/32=3, Resulting Numbers: [34, 3] Generated Node #0,2,1: 30:[34, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [34, 64] Generated Node #0,2,2: 30:[34, 64] Operation: 96-32=64 Exploring Operation: 34-32=2, Resulting Numbers: [96, 2] Generated Node #0,2,3: 30:[96, 2] Operation: 34-32=2 Moving to Node #0,0 Current State: 30:[34, 82, 46], Operations: ['96-50=46'] Exploring Operation: 34+82=116, Resulting Numbers: [46, 116] Generated Node #0,0,0: 30:[46, 116] Operation: 34+82=116 Exploring Operation: 82-46=36, Resulting Numbers: [34, 36] Generated Node #0,0,1: 30:[34, 36] Operation: 82-46=36 Exploring Operation: 82-34=48, Resulting Numbers: [46, 48] Generated Node #0,0,2: 30:[46, 48] Operation: 82-34=48 Exploring Operation: 46-34=12, Resulting Numbers: [82, 12] Generated Node #0,0,3: 30:[82, 12] Operation: 46-34=12 Moving to Node #0,3 Current State: 30:[96, 50, 48], Operations: ['82-34=48'] Exploring Operation: 50-48=2, Resulting Numbers: [96, 2] Generated Node #0,3,0: 30:[96, 2] Operation: 50-48=2 Exploring Operation: 96-50=46, Resulting Numbers: [48, 46] Generated Node #0,3,1: 30:[48, 46] Operation: 96-50=46 Exploring Operation: 96/48=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 30:[50, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [50, 48] Generated Node #0,3,3: 30:[50, 48] Operation: 96-48=48 Moving to Node #0,1,0 Current State: 30:[14, 16], Operations: ['96-82=14', '50-34=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.980903
bfs_4
Current State: 30:[34, 82, 96, 50], Operations: [] Exploring Operation: 34+82=116, Resulting Numbers: [96, 50, 116] Generated Node #2: [96, 50, 116] from Operation: 34+82=116 Current State: 30:[96, 50, 116], Operations: ['34+82=116'] Exploring Operation: 96+50=146, Resulting Numbers: [116, 146] Generated Node #3: [116, 146] from Operation: 96+50=146 Current State: 30:[116, 146], Operations: ['34+82=116', '96+50=146'] Exploring Operation: 146-116=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
mult_heuristic
[ 27, 80, 59, 37 ]
85
[ "27+80=107", "59-37=22", "107-22=85" ]
Current State: 85:[27, 80, 59, 37], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [27, 80, 22] Generated Node #0,0: 85:[27, 80, 22] Operation: 59-37=22 Moving to Node #0,0 Current State: 85:[27, 80, 22], Operations: ['59-37=22'] Exploring Operation: 27-22=5, Resulting Numbers: [80, 5] Generated Node #0,0,0: 85:[80, 5] Operation: 27-22=5 Moving to Node #0,0,0 Current State: 85:[80, 5], Operations: ['59-37=22', '27-22=5'] Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.996528
dfs
Current State: 85:[27, 80, 59, 37], Operations: [] Exploring Operation: 27+80=107, Resulting Numbers: [59, 37, 107] Generated Node #2: [59, 37, 107] from Operation: 27+80=107 Current State: 85:[59, 37, 107], Operations: ['27+80=107'] Exploring Operation: 59-37=22, Resulting Numbers: [107, 22] Generated Node #3: [107, 22] from Operation: 59-37=22 Current State: 85:[107, 22], Operations: ['27+80=107', '59-37=22'] Exploring Operation: 107-22=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
mult_heuristic
[ 88, 71, 68, 96 ]
92
[ "88-71=17", "68/17=4", "96-4=92" ]
Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [88, 96, 3] Generated Node #0,0: 92:[88, 96, 3] Operation: 71-68=3 Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 96-88=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 92:[3, 8] Operation: 96-88=8 Moving to Node #0,0,0 Current State: 92:[3, 8], Operations: ['71-68=3', '96-88=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[3, 8], Operations: ['71-68=3', '96-88=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[3, 8], Operations: ['71-68=3', '96-88=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 88+3=91, Resulting Numbers: [96, 91] Generated Node #0,0,1: 92:[96, 91] Operation: 88+3=91 Moving to Node #0,0,1 Current State: 92:[96, 91], Operations: ['71-68=3', '88+3=91'] Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 96-3=93, Resulting Numbers: [88, 93] Generated Node #0,0,2: 92:[88, 93] Operation: 96-3=93 Moving to Node #0,0,2 Current State: 92:[88, 93], Operations: ['71-68=3', '96-3=93'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[88, 93], Operations: ['71-68=3', '96-3=93'] Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 88-3=85, Resulting Numbers: [96, 85] Generated Node #0,0,3: 92:[96, 85] Operation: 88-3=85 Moving to Node #0,0,3 Current State: 92:[96, 85], Operations: ['71-68=3', '88-3=85'] Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[96, 85], Operations: ['71-68=3', '88-3=85'] Exploring Operation: 96+85=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 96+3=99, Resulting Numbers: [88, 99] Generated Node #0,0,4: 92:[88, 99] Operation: 96+3=99 Moving to Node #0,0,4 Current State: 92:[88, 99], Operations: ['71-68=3', '96+3=99'] Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,0 Current State: 92:[88, 96, 3], Operations: ['71-68=3'] Exploring Operation: 96/3=32, Resulting Numbers: [88, 32] Generated Node #0,0,5: 92:[88, 32] Operation: 96/3=32 Moving to Node #0,0,5 Current State: 92:[88, 32], Operations: ['71-68=3', '96/3=32'] Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,92 unequal: No Solution Moving to Node #0,0,5 Current State: 92:[88, 32], Operations: ['71-68=3', '96/3=32'] Exploring Operation: 88+32=120, Resulting Numbers: [120] 120,92 unequal: No Solution Moving to Node #0 Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [71, 96, 20] Generated Node #0,1: 92:[71, 96, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 96-71=25, Resulting Numbers: [20, 25] Generated Node #0,1,0: 92:[20, 25] Operation: 96-71=25 Moving to Node #0,1,0 Current State: 92:[20, 25], Operations: ['88-68=20', '96-71=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[20, 25], Operations: ['88-68=20', '96-71=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 71+20=91, Resulting Numbers: [96, 91] Generated Node #0,1,1: 92:[96, 91] Operation: 71+20=91 Moving to Node #0,1,1 Current State: 92:[96, 91], Operations: ['88-68=20', '71+20=91'] Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 71-20=51, Resulting Numbers: [96, 51] Generated Node #0,1,2: 92:[96, 51] Operation: 71-20=51 Moving to Node #0,1,2 Current State: 92:[96, 51], Operations: ['88-68=20', '71-20=51'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[96, 51], Operations: ['88-68=20', '71-20=51'] Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 96-20=76, Resulting Numbers: [71, 76] Generated Node #0,1,3: 92:[71, 76] Operation: 96-20=76 Moving to Node #0,1,3 Current State: 92:[71, 76], Operations: ['88-68=20', '96-20=76'] Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[71, 76], Operations: ['88-68=20', '96-20=76'] Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 96+20=116, Resulting Numbers: [71, 116] Generated Node #0,1,4: 92:[71, 116] Operation: 96+20=116 Moving to Node #0,1,4 Current State: 92:[71, 116], Operations: ['88-68=20', '96+20=116'] Exploring Operation: 116-71=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,1 Current State: 92:[71, 96, 20], Operations: ['88-68=20'] Exploring Operation: 71+96=167, Resulting Numbers: [20, 167] Generated Node #0,1,5: 92:[20, 167] Operation: 71+96=167 Moving to Node #0,1,5 Current State: 92:[20, 167], Operations: ['88-68=20', '71+96=167'] Exploring Operation: 167-20=147, Resulting Numbers: [147] 147,92 unequal: No Solution Moving to Node #0 Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [88, 68, 25] Generated Node #0,2: 92:[88, 68, 25] Operation: 96-71=25 Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 88-68=20, Resulting Numbers: [25, 20] Generated Node #0,2,0: 92:[25, 20] Operation: 88-68=20 Moving to Node #0,2,0 Current State: 92:[25, 20], Operations: ['96-71=25', '88-68=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[25, 20], Operations: ['96-71=25', '88-68=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 68+25=93, Resulting Numbers: [88, 93] Generated Node #0,2,1: 92:[88, 93] Operation: 68+25=93 Moving to Node #0,2,1 Current State: 92:[88, 93], Operations: ['96-71=25', '68+25=93'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[88, 93], Operations: ['96-71=25', '68+25=93'] Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 68-25=43, Resulting Numbers: [88, 43] Generated Node #0,2,2: 92:[88, 43] Operation: 68-25=43 Moving to Node #0,2,2 Current State: 92:[88, 43], Operations: ['96-71=25', '68-25=43'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[88, 43], Operations: ['96-71=25', '68-25=43'] Exploring Operation: 88+43=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 88-25=63, Resulting Numbers: [68, 63] Generated Node #0,2,3: 92:[68, 63] Operation: 88-25=63 Moving to Node #0,2,3 Current State: 92:[68, 63], Operations: ['96-71=25', '88-25=63'] Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[68, 63], Operations: ['96-71=25', '88-25=63'] Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 88+25=113, Resulting Numbers: [68, 113] Generated Node #0,2,4: 92:[68, 113] Operation: 88+25=113 Moving to Node #0,2,4 Current State: 92:[68, 113], Operations: ['96-71=25', '88+25=113'] Exploring Operation: 113-68=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[68, 113], Operations: ['96-71=25', '88+25=113'] Exploring Operation: 68+113=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0,2 Current State: 92:[88, 68, 25], Operations: ['96-71=25'] Exploring Operation: 88+68=156, Resulting Numbers: [25, 156] Generated Node #0,2,5: 92:[25, 156] Operation: 88+68=156 Moving to Node #0,2,5 Current State: 92:[25, 156], Operations: ['96-71=25', '88+68=156'] Exploring Operation: 156-25=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,2,5 Current State: 92:[25, 156], Operations: ['96-71=25', '88+68=156'] Exploring Operation: 25+156=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0 Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [88, 71, 28] Generated Node #0,3: 92:[88, 71, 28] Operation: 96-68=28 Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 71-28=43, Resulting Numbers: [88, 43] Generated Node #0,3,0: 92:[88, 43] Operation: 71-28=43 Moving to Node #0,3,0 Current State: 92:[88, 43], Operations: ['96-68=28', '71-28=43'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[88, 43], Operations: ['96-68=28', '71-28=43'] Exploring Operation: 88+43=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 88-71=17, Resulting Numbers: [28, 17] Generated Node #0,3,1: 92:[28, 17] Operation: 88-71=17 Moving to Node #0,3,1 Current State: 92:[28, 17], Operations: ['96-68=28', '88-71=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[28, 17], Operations: ['96-68=28', '88-71=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 71+28=99, Resulting Numbers: [88, 99] Generated Node #0,3,2: 92:[88, 99] Operation: 71+28=99 Moving to Node #0,3,2 Current State: 92:[88, 99], Operations: ['96-68=28', '71+28=99'] Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 88-28=60, Resulting Numbers: [71, 60] Generated Node #0,3,3: 92:[71, 60] Operation: 88-28=60 Moving to Node #0,3,3 Current State: 92:[71, 60], Operations: ['96-68=28', '88-28=60'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[71, 60], Operations: ['96-68=28', '88-28=60'] Exploring Operation: 71+60=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 88+28=116, Resulting Numbers: [71, 116] Generated Node #0,3,4: 92:[71, 116] Operation: 88+28=116 Moving to Node #0,3,4 Current State: 92:[71, 116], Operations: ['96-68=28', '88+28=116'] Exploring Operation: 116-71=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,3 Current State: 92:[88, 71, 28], Operations: ['96-68=28'] Exploring Operation: 88+71=159, Resulting Numbers: [28, 159] Generated Node #0,3,5: 92:[28, 159] Operation: 88+71=159 Moving to Node #0,3,5 Current State: 92:[28, 159], Operations: ['96-68=28', '88+71=159'] Exploring Operation: 159-28=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0 Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [68, 96, 17] Generated Node #0,4: 92:[68, 96, 17] Operation: 88-71=17 Moving to Node #0,4 Current State: 92:[68, 96, 17], Operations: ['88-71=17'] Exploring Operation: 68/17=4, Resulting Numbers: [96, 4] Generated Node #0,4,0: 92:[96, 4] Operation: 68/17=4 Moving to Node #0,4,0 Current State: 92:[96, 4], Operations: ['88-71=17', '68/17=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.936632
dfs
Current State: 92:[88, 71, 68, 96], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [68, 96, 17] Generated Node #2: [68, 96, 17] from Operation: 88-71=17 Current State: 92:[68, 96, 17], Operations: ['88-71=17'] Exploring Operation: 68/17=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 68/17=4 Current State: 92:[96, 4], Operations: ['88-71=17', '68/17=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
mult_heuristic
[ 18, 44, 33, 23 ]
52
[ "18+44=62", "33-23=10", "62-10=52" ]
Current State: 52:[18, 44, 33, 23], Operations: [] Exploring Operation: 18+33=51, Resulting Numbers: [44, 23, 51] Generated Node #0,0: 52:[44, 23, 51] Operation: 18+33=51 Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 44+23=67, Resulting Numbers: [51, 67] Generated Node #0,0,0: 52:[51, 67] Operation: 44+23=67 Moving to Node #0,0,0 Current State: 52:[51, 67], Operations: ['18+33=51', '44+23=67'] Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 23+51=74, Resulting Numbers: [44, 74] Generated Node #0,0,1: 52:[44, 74] Operation: 23+51=74 Moving to Node #0,0,1 Current State: 52:[44, 74], Operations: ['18+33=51', '23+51=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 44-23=21, Resulting Numbers: [51, 21] Generated Node #0,0,2: 52:[51, 21] Operation: 44-23=21 Moving to Node #0,0,2 Current State: 52:[51, 21], Operations: ['18+33=51', '44-23=21'] Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[51, 21], Operations: ['18+33=51', '44-23=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 51-23=28, Resulting Numbers: [44, 28] Generated Node #0,0,3: 52:[44, 28] Operation: 51-23=28 Moving to Node #0,0,3 Current State: 52:[44, 28], Operations: ['18+33=51', '51-23=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[44, 28], Operations: ['18+33=51', '51-23=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 44+51=95, Resulting Numbers: [23, 95] Generated Node #0,0,4: 52:[23, 95] Operation: 44+51=95 Moving to Node #0,0,4 Current State: 52:[23, 95], Operations: ['18+33=51', '44+51=95'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,0 Current State: 52:[44, 23, 51], Operations: ['18+33=51'] Exploring Operation: 51-44=7, Resulting Numbers: [23, 7] Generated Node #0,0,5: 52:[23, 7] Operation: 51-44=7 Moving to Node #0,0,5 Current State: 52:[23, 7], Operations: ['18+33=51', '51-44=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,0,5 Current State: 52:[23, 7], Operations: ['18+33=51', '51-44=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,52 unequal: No Solution Moving to Node #0 Current State: 52:[18, 44, 33, 23], Operations: [] Exploring Operation: 18+23=41, Resulting Numbers: [44, 33, 41] Generated Node #0,1: 52:[44, 33, 41] Operation: 18+23=41 Moving to Node #0,1 Current State: 52:[44, 33, 41], Operations: ['18+23=41'] Exploring Operation: 33+41=74, Resulting Numbers: [44, 74] Generated Node #0,1,0: 52:[44, 74] Operation: 33+41=74 Moving to Node #0,1,0 Current State: 52:[44, 74], Operations: ['18+23=41', '33+41=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[44, 33, 41], Operations: ['18+23=41'] Exploring Operation: 44+33=77, Resulting Numbers: [41, 77] Generated Node #0,1,1: 52:[41, 77] Operation: 44+33=77 Moving to Node #0,1,1 Current State: 52:[41, 77], Operations: ['18+23=41', '44+33=77'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,52 unequal: No Solution Moving to Node #0,1 Current State: 52:[44, 33, 41], Operations: ['18+23=41'] Exploring Operation: 44-33=11, Resulting Numbers: [41, 11] Generated Node #0,1,2: 52:[41, 11] Operation: 44-33=11 Moving to Node #0,1,2 Current State: 52:[41, 11], Operations: ['18+23=41', '44-33=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.979167
dfs
Current State: 52:[18, 44, 33, 23], Operations: [] Exploring Operation: 18+44=62, Resulting Numbers: [33, 23, 62] Generated Node #2: [33, 23, 62] from Operation: 18+44=62 Current State: 52:[33, 23, 62], Operations: ['18+44=62'] Exploring Operation: 33-23=10, Resulting Numbers: [62, 10] Generated Node #3: [62, 10] from Operation: 33-23=10 Current State: 52:[62, 10], Operations: ['18+44=62', '33-23=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
sum_heuristic
[ 48, 97, 85, 7 ]
74
[ "97+85=182", "182/7=26", "48+26=74" ]
Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [48, 7, 12] Generated Node #0,0: 74:[48, 7, 12] Operation: 97-85=12 Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 48-12=36, Resulting Numbers: [7, 36] Generated Node #0,0,0: 74:[7, 36] Operation: 48-12=36 Moving to Node #0,0,0 Current State: 74:[7, 36], Operations: ['97-85=12', '48-12=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[7, 36], Operations: ['97-85=12', '48-12=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 48/12=4, Resulting Numbers: [7, 4] Generated Node #0,0,1: 74:[7, 4] Operation: 48/12=4 Moving to Node #0,0,1 Current State: 74:[7, 4], Operations: ['97-85=12', '48/12=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[7, 4], Operations: ['97-85=12', '48/12=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[7, 4], Operations: ['97-85=12', '48/12=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 48-7=41, Resulting Numbers: [12, 41] Generated Node #0,0,2: 74:[12, 41] Operation: 48-7=41 Moving to Node #0,0,2 Current State: 74:[12, 41], Operations: ['97-85=12', '48-7=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[12, 41], Operations: ['97-85=12', '48-7=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 12-7=5, Resulting Numbers: [48, 5] Generated Node #0,0,3: 74:[48, 5] Operation: 12-7=5 Moving to Node #0,0,3 Current State: 74:[48, 5], Operations: ['97-85=12', '12-7=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[48, 5], Operations: ['97-85=12', '12-7=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 48+12=60, Resulting Numbers: [7, 60] Generated Node #0,0,4: 74:[7, 60] Operation: 48+12=60 Moving to Node #0,0,4 Current State: 74:[7, 60], Operations: ['97-85=12', '48+12=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[7, 60], Operations: ['97-85=12', '48+12=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 7*12=84, Resulting Numbers: [48, 84] Generated Node #0,0,5: 74:[48, 84] Operation: 7*12=84 Moving to Node #0,0,5 Current State: 74:[48, 84], Operations: ['97-85=12', '7*12=84'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,74 unequal: No Solution Moving to Node #0,0,5 Current State: 74:[48, 84], Operations: ['97-85=12', '7*12=84'] Exploring Operation: 48+84=132, Resulting Numbers: [132] 132,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 48+7=55, Resulting Numbers: [12, 55] Generated Node #0,0,6: 74:[12, 55] Operation: 48+7=55 Moving to Node #0,0,6 Current State: 74:[12, 55], Operations: ['97-85=12', '48+7=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,0,6 Current State: 74:[12, 55], Operations: ['97-85=12', '48+7=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,0 Current State: 74:[48, 7, 12], Operations: ['97-85=12'] Exploring Operation: 7+12=19, Resulting Numbers: [48, 19] Generated Node #0,0,7: 74:[48, 19] Operation: 7+12=19 Moving to Node #0,0,7 Current State: 74:[48, 19], Operations: ['97-85=12', '7+12=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,0,7 Current State: 74:[48, 19], Operations: ['97-85=12', '7+12=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 97-48=49, Resulting Numbers: [85, 7, 49] Generated Node #0,1: 74:[85, 7, 49] Operation: 97-48=49 Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 85-49=36, Resulting Numbers: [7, 36] Generated Node #0,1,0: 74:[7, 36] Operation: 85-49=36 Moving to Node #0,1,0 Current State: 74:[7, 36], Operations: ['97-48=49', '85-49=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[7, 36], Operations: ['97-48=49', '85-49=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 85-7=78, Resulting Numbers: [49, 78] Generated Node #0,1,1: 74:[49, 78] Operation: 85-7=78 Moving to Node #0,1,1 Current State: 74:[49, 78], Operations: ['97-48=49', '85-7=78'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[49, 78], Operations: ['97-48=49', '85-7=78'] Exploring Operation: 49+78=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 49-7=42, Resulting Numbers: [85, 42] Generated Node #0,1,2: 74:[85, 42] Operation: 49-7=42 Moving to Node #0,1,2 Current State: 74:[85, 42], Operations: ['97-48=49', '49-7=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[85, 42], Operations: ['97-48=49', '49-7=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 49/7=7, Resulting Numbers: [85, 7] Generated Node #0,1,3: 74:[85, 7] Operation: 49/7=7 Moving to Node #0,1,3 Current State: 74:[85, 7], Operations: ['97-48=49', '49/7=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[85, 7], Operations: ['97-48=49', '49/7=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 7+49=56, Resulting Numbers: [85, 56] Generated Node #0,1,4: 74:[85, 56] Operation: 7+49=56 Moving to Node #0,1,4 Current State: 74:[85, 56], Operations: ['97-48=49', '7+49=56'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[85, 56], Operations: ['97-48=49', '7+49=56'] Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 85+7=92, Resulting Numbers: [49, 92] Generated Node #0,1,5: 74:[49, 92] Operation: 85+7=92 Moving to Node #0,1,5 Current State: 74:[49, 92], Operations: ['97-48=49', '85+7=92'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,1,5 Current State: 74:[49, 92], Operations: ['97-48=49', '85+7=92'] Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,1 Current State: 74:[85, 7, 49], Operations: ['97-48=49'] Exploring Operation: 85+49=134, Resulting Numbers: [7, 134] Generated Node #0,1,6: 74:[7, 134] Operation: 85+49=134 Moving to Node #0,1,6 Current State: 74:[7, 134], Operations: ['97-48=49', '85+49=134'] Exploring Operation: 134-7=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,1,6 Current State: 74:[7, 134], Operations: ['97-48=49', '85+49=134'] Exploring Operation: 7+134=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [97, 7, 37] Generated Node #0,2: 74:[97, 7, 37] Operation: 85-48=37 Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 97-7=90, Resulting Numbers: [37, 90] Generated Node #0,2,0: 74:[37, 90] Operation: 97-7=90 Moving to Node #0,2,0 Current State: 74:[37, 90], Operations: ['85-48=37', '97-7=90'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[37, 90], Operations: ['85-48=37', '97-7=90'] Exploring Operation: 37+90=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 97-37=60, Resulting Numbers: [7, 60] Generated Node #0,2,1: 74:[7, 60] Operation: 97-37=60 Moving to Node #0,2,1 Current State: 74:[7, 60], Operations: ['85-48=37', '97-37=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[7, 60], Operations: ['85-48=37', '97-37=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 97+7=104, Resulting Numbers: [37, 104] Generated Node #0,2,2: 74:[37, 104] Operation: 97+7=104 Moving to Node #0,2,2 Current State: 74:[37, 104], Operations: ['85-48=37', '97+7=104'] Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[37, 104], Operations: ['85-48=37', '97+7=104'] Exploring Operation: 37+104=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 7+37=44, Resulting Numbers: [97, 44] Generated Node #0,2,3: 74:[97, 44] Operation: 7+37=44 Moving to Node #0,2,3 Current State: 74:[97, 44], Operations: ['85-48=37', '7+37=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[97, 44], Operations: ['85-48=37', '7+37=44'] Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 37-7=30, Resulting Numbers: [97, 30] Generated Node #0,2,4: 74:[97, 30] Operation: 37-7=30 Moving to Node #0,2,4 Current State: 74:[97, 30], Operations: ['85-48=37', '37-7=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[97, 30], Operations: ['85-48=37', '37-7=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,2 Current State: 74:[97, 7, 37], Operations: ['85-48=37'] Exploring Operation: 97+37=134, Resulting Numbers: [7, 134] Generated Node #0,2,5: 74:[7, 134] Operation: 97+37=134 Moving to Node #0,2,5 Current State: 74:[7, 134], Operations: ['85-48=37', '97+37=134'] Exploring Operation: 134-7=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,2,5 Current State: 74:[7, 134], Operations: ['85-48=37', '97+37=134'] Exploring Operation: 7+134=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 48-7=41, Resulting Numbers: [97, 85, 41] Generated Node #0,3: 74:[97, 85, 41] Operation: 48-7=41 Moving to Node #0,3 Current State: 74:[97, 85, 41], Operations: ['48-7=41'] Exploring Operation: 97-85=12, Resulting Numbers: [41, 12] Generated Node #0,3,0: 74:[41, 12] Operation: 97-85=12 Moving to Node #0,3,0 Current State: 74:[41, 12], Operations: ['48-7=41', '97-85=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[41, 12], Operations: ['48-7=41', '97-85=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[97, 85, 41], Operations: ['48-7=41'] Exploring Operation: 97-41=56, Resulting Numbers: [85, 56] Generated Node #0,3,1: 74:[85, 56] Operation: 97-41=56 Moving to Node #0,3,1 Current State: 74:[85, 56], Operations: ['48-7=41', '97-41=56'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[85, 56], Operations: ['48-7=41', '97-41=56'] Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,3 Current State: 74:[97, 85, 41], Operations: ['48-7=41'] Exploring Operation: 85-41=44, Resulting Numbers: [97, 44] Generated Node #0,3,2: 74:[97, 44] Operation: 85-41=44 Moving to Node #0,3,2 Current State: 74:[97, 44], Operations: ['48-7=41', '85-41=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[97, 44], Operations: ['48-7=41', '85-41=44'] Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 97-7=90, Resulting Numbers: [48, 85, 90] Generated Node #0,4: 74:[48, 85, 90] Operation: 97-7=90 Moving to Node #0,4 Current State: 74:[48, 85, 90], Operations: ['97-7=90'] Exploring Operation: 90-85=5, Resulting Numbers: [48, 5] Generated Node #0,4,0: 74:[48, 5] Operation: 90-85=5 Moving to Node #0,4,0 Current State: 74:[48, 5], Operations: ['97-7=90', '90-85=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[48, 5], Operations: ['97-7=90', '90-85=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[48, 85, 90], Operations: ['97-7=90'] Exploring Operation: 85-48=37, Resulting Numbers: [90, 37] Generated Node #0,4,1: 74:[90, 37] Operation: 85-48=37 Moving to Node #0,4,1 Current State: 74:[90, 37], Operations: ['97-7=90', '85-48=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[90, 37], Operations: ['97-7=90', '85-48=37'] Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,4 Current State: 74:[48, 85, 90], Operations: ['97-7=90'] Exploring Operation: 90-48=42, Resulting Numbers: [85, 42] Generated Node #0,4,2: 74:[85, 42] Operation: 90-48=42 Moving to Node #0,4,2 Current State: 74:[85, 42], Operations: ['97-7=90', '90-48=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[85, 42], Operations: ['97-7=90', '90-48=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [48, 97, 78] Generated Node #0,5: 74:[48, 97, 78] Operation: 85-7=78 Moving to Node #0,5 Current State: 74:[48, 97, 78], Operations: ['85-7=78'] Exploring Operation: 97-48=49, Resulting Numbers: [78, 49] Generated Node #0,5,0: 74:[78, 49] Operation: 97-48=49 Moving to Node #0,5,0 Current State: 74:[78, 49], Operations: ['85-7=78', '97-48=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,5,0 Current State: 74:[78, 49], Operations: ['85-7=78', '97-48=49'] Exploring Operation: 78+49=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[48, 97, 78], Operations: ['85-7=78'] Exploring Operation: 97-78=19, Resulting Numbers: [48, 19] Generated Node #0,5,1: 74:[48, 19] Operation: 97-78=19 Moving to Node #0,5,1 Current State: 74:[48, 19], Operations: ['85-7=78', '97-78=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,5,1 Current State: 74:[48, 19], Operations: ['85-7=78', '97-78=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,5 Current State: 74:[48, 97, 78], Operations: ['85-7=78'] Exploring Operation: 78-48=30, Resulting Numbers: [97, 30] Generated Node #0,5,2: 74:[97, 30] Operation: 78-48=30 Moving to Node #0,5,2 Current State: 74:[97, 30], Operations: ['85-7=78', '78-48=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,5,2 Current State: 74:[97, 30], Operations: ['85-7=78', '78-48=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 48+7=55, Resulting Numbers: [97, 85, 55] Generated Node #0,6: 74:[97, 85, 55] Operation: 48+7=55 Moving to Node #0,6 Current State: 74:[97, 85, 55], Operations: ['48+7=55'] Exploring Operation: 97-55=42, Resulting Numbers: [85, 42] Generated Node #0,6,0: 74:[85, 42] Operation: 97-55=42 Moving to Node #0,6,0 Current State: 74:[85, 42], Operations: ['48+7=55', '97-55=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,6,0 Current State: 74:[85, 42], Operations: ['48+7=55', '97-55=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[97, 85, 55], Operations: ['48+7=55'] Exploring Operation: 97-85=12, Resulting Numbers: [55, 12] Generated Node #0,6,1: 74:[55, 12] Operation: 97-85=12 Moving to Node #0,6,1 Current State: 74:[55, 12], Operations: ['48+7=55', '97-85=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,6,1 Current State: 74:[55, 12], Operations: ['48+7=55', '97-85=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,6 Current State: 74:[97, 85, 55], Operations: ['48+7=55'] Exploring Operation: 85-55=30, Resulting Numbers: [97, 30] Generated Node #0,6,2: 74:[97, 30] Operation: 85-55=30 Moving to Node #0,6,2 Current State: 74:[97, 30], Operations: ['48+7=55', '85-55=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,6,2 Current State: 74:[97, 30], Operations: ['48+7=55', '85-55=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 97+7=104, Resulting Numbers: [48, 85, 104] Generated Node #0,7: 74:[48, 85, 104] Operation: 97+7=104 Moving to Node #0,7 Current State: 74:[48, 85, 104], Operations: ['97+7=104'] Exploring Operation: 104-85=19, Resulting Numbers: [48, 19] Generated Node #0,7,0: 74:[48, 19] Operation: 104-85=19 Moving to Node #0,7,0 Current State: 74:[48, 19], Operations: ['97+7=104', '104-85=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,7,0 Current State: 74:[48, 19], Operations: ['97+7=104', '104-85=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[48, 85, 104], Operations: ['97+7=104'] Exploring Operation: 104-48=56, Resulting Numbers: [85, 56] Generated Node #0,7,1: 74:[85, 56] Operation: 104-48=56 Moving to Node #0,7,1 Current State: 74:[85, 56], Operations: ['97+7=104', '104-48=56'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,7,1 Current State: 74:[85, 56], Operations: ['97+7=104', '104-48=56'] Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,7 Current State: 74:[48, 85, 104], Operations: ['97+7=104'] Exploring Operation: 85-48=37, Resulting Numbers: [104, 37] Generated Node #0,7,2: 74:[104, 37] Operation: 85-48=37 Moving to Node #0,7,2 Current State: 74:[104, 37], Operations: ['97+7=104', '85-48=37'] Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,7,2 Current State: 74:[104, 37], Operations: ['97+7=104', '85-48=37'] Exploring Operation: 104+37=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0 Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 85+7=92, Resulting Numbers: [48, 97, 92] Generated Node #0,8: 74:[48, 97, 92] Operation: 85+7=92 Moving to Node #0,8 Current State: 74:[48, 97, 92], Operations: ['85+7=92'] Exploring Operation: 97-92=5, Resulting Numbers: [48, 5] Generated Node #0,8,0: 74:[48, 5] Operation: 97-92=5 Moving to Node #0,8,0 Current State: 74:[48, 5], Operations: ['85+7=92', '97-92=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,8,0 Current State: 74:[48, 5], Operations: ['85+7=92', '97-92=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[48, 97, 92], Operations: ['85+7=92'] Exploring Operation: 97-48=49, Resulting Numbers: [92, 49] Generated Node #0,8,1: 74:[92, 49] Operation: 97-48=49 Moving to Node #0,8,1 Current State: 74:[92, 49], Operations: ['85+7=92', '97-48=49'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,74 unequal: No Solution Moving to Node #0,8,1 Current State: 74:[92, 49], Operations: ['85+7=92', '97-48=49'] Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,74 unequal: No Solution Moving to Node #0,8 Current State: 74:[48, 97, 92], Operations: ['85+7=92'] Exploring Operation: 92-48=44, Resulting Numbers: [97, 44] Generated Node #0,8,2: 74:[97, 44] Operation: 92-48=44 Moving to Node #0,8,2 Current State: 74:[97, 44], Operations: ['85+7=92', '92-48=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,8,2 Current State: 74:[97, 44], Operations: ['85+7=92', '92-48=44'] Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,74 unequal: No Solution
0
dfs
Current State: 74:[48, 97, 85, 7], Operations: [] Exploring Operation: 97+85=182, Resulting Numbers: [48, 7, 182] Generated Node #2: [48, 7, 182] from Operation: 97+85=182 Current State: 74:[48, 7, 182], Operations: ['97+85=182'] Exploring Operation: 182/7=26, Resulting Numbers: [48, 26] Generated Node #3: [48, 26] from Operation: 182/7=26 Current State: 74:[48, 26], Operations: ['97+85=182', '182/7=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
mult_heuristic
[ 50, 75, 60, 77 ]
70
[ "77-75=2", "60*2=120", "120-50=70" ]
Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 50+60=110, Resulting Numbers: [75, 77, 110] Generated Node #0,0: 70:[75, 77, 110] Operation: 50+60=110 Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 110-75=35, Resulting Numbers: [77, 35] Generated Node #0,0,0: 70:[77, 35] Operation: 110-75=35 Moving to Node #0,0,0 Current State: 70:[77, 35], Operations: ['50+60=110', '110-75=35'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[77, 35], Operations: ['50+60=110', '110-75=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 110-77=33, Resulting Numbers: [75, 33] Generated Node #0,0,1: 70:[75, 33] Operation: 110-77=33 Moving to Node #0,0,1 Current State: 70:[75, 33], Operations: ['50+60=110', '110-77=33'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[75, 33], Operations: ['50+60=110', '110-77=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 77-75=2, Resulting Numbers: [110, 2] Generated Node #0,0,2: 70:[110, 2] Operation: 77-75=2 Moving to Node #0,0,2 Current State: 70:[110, 2], Operations: ['50+60=110', '77-75=2'] Exploring Operation: 110/2=55, Resulting Numbers: [55] 55,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[110, 2], Operations: ['50+60=110', '77-75=2'] Exploring Operation: 110-2=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[110, 2], Operations: ['50+60=110', '77-75=2'] Exploring Operation: 110+2=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 75+77=152, Resulting Numbers: [110, 152] Generated Node #0,0,3: 70:[110, 152] Operation: 75+77=152 Moving to Node #0,0,3 Current State: 70:[110, 152], Operations: ['50+60=110', '75+77=152'] Exploring Operation: 152-110=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 75+110=185, Resulting Numbers: [77, 185] Generated Node #0,0,4: 70:[77, 185] Operation: 75+110=185 Moving to Node #0,0,4 Current State: 70:[77, 185], Operations: ['50+60=110', '75+110=185'] Exploring Operation: 185-77=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,0 Current State: 70:[75, 77, 110], Operations: ['50+60=110'] Exploring Operation: 77+110=187, Resulting Numbers: [75, 187] Generated Node #0,0,5: 70:[75, 187] Operation: 77+110=187 Moving to Node #0,0,5 Current State: 70:[75, 187], Operations: ['50+60=110', '77+110=187'] Exploring Operation: 187-75=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 77-50=27, Resulting Numbers: [75, 60, 27] Generated Node #0,1: 70:[75, 60, 27] Operation: 77-50=27 Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 60+27=87, Resulting Numbers: [75, 87] Generated Node #0,1,0: 70:[75, 87] Operation: 60+27=87 Moving to Node #0,1,0 Current State: 70:[75, 87], Operations: ['77-50=27', '60+27=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 75-27=48, Resulting Numbers: [60, 48] Generated Node #0,1,1: 70:[60, 48] Operation: 75-27=48 Moving to Node #0,1,1 Current State: 70:[60, 48], Operations: ['77-50=27', '75-27=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[60, 48], Operations: ['77-50=27', '75-27=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 75+27=102, Resulting Numbers: [60, 102] Generated Node #0,1,2: 70:[60, 102] Operation: 75+27=102 Moving to Node #0,1,2 Current State: 70:[60, 102], Operations: ['77-50=27', '75+27=102'] Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 60-27=33, Resulting Numbers: [75, 33] Generated Node #0,1,3: 70:[75, 33] Operation: 60-27=33 Moving to Node #0,1,3 Current State: 70:[75, 33], Operations: ['77-50=27', '60-27=33'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[75, 33], Operations: ['77-50=27', '60-27=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 75-60=15, Resulting Numbers: [27, 15] Generated Node #0,1,4: 70:[27, 15] Operation: 75-60=15 Moving to Node #0,1,4 Current State: 70:[27, 15], Operations: ['77-50=27', '75-60=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[27, 15], Operations: ['77-50=27', '75-60=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,1 Current State: 70:[75, 60, 27], Operations: ['77-50=27'] Exploring Operation: 75+60=135, Resulting Numbers: [27, 135] Generated Node #0,1,5: 70:[27, 135] Operation: 75+60=135 Moving to Node #0,1,5 Current State: 70:[27, 135], Operations: ['77-50=27', '75+60=135'] Exploring Operation: 135-27=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,1,5 Current State: 70:[27, 135], Operations: ['77-50=27', '75+60=135'] Exploring Operation: 135/27=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [60, 77, 25] Generated Node #0,2: 70:[60, 77, 25] Operation: 75-50=25 Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 60+25=85, Resulting Numbers: [77, 85] Generated Node #0,2,0: 70:[77, 85] Operation: 60+25=85 Moving to Node #0,2,0 Current State: 70:[77, 85], Operations: ['75-50=25', '60+25=85'] Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 77-25=52, Resulting Numbers: [60, 52] Generated Node #0,2,1: 70:[60, 52] Operation: 77-25=52 Moving to Node #0,2,1 Current State: 70:[60, 52], Operations: ['75-50=25', '77-25=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[60, 52], Operations: ['75-50=25', '77-25=52'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 60-25=35, Resulting Numbers: [77, 35] Generated Node #0,2,2: 70:[77, 35] Operation: 60-25=35 Moving to Node #0,2,2 Current State: 70:[77, 35], Operations: ['75-50=25', '60-25=35'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[77, 35], Operations: ['75-50=25', '60-25=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 77+25=102, Resulting Numbers: [60, 102] Generated Node #0,2,3: 70:[60, 102] Operation: 77+25=102 Moving to Node #0,2,3 Current State: 70:[60, 102], Operations: ['75-50=25', '77+25=102'] Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 77-60=17, Resulting Numbers: [25, 17] Generated Node #0,2,4: 70:[25, 17] Operation: 77-60=17 Moving to Node #0,2,4 Current State: 70:[25, 17], Operations: ['75-50=25', '77-60=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,2,4 Current State: 70:[25, 17], Operations: ['75-50=25', '77-60=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,2 Current State: 70:[60, 77, 25], Operations: ['75-50=25'] Exploring Operation: 60+77=137, Resulting Numbers: [25, 137] Generated Node #0,2,5: 70:[25, 137] Operation: 60+77=137 Moving to Node #0,2,5 Current State: 70:[25, 137], Operations: ['75-50=25', '60+77=137'] Exploring Operation: 137-25=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 50+75=125, Resulting Numbers: [60, 77, 125] Generated Node #0,3: 70:[60, 77, 125] Operation: 50+75=125 Moving to Node #0,3 Current State: 70:[60, 77, 125], Operations: ['50+75=125'] Exploring Operation: 125-60=65, Resulting Numbers: [77, 65] Generated Node #0,3,0: 70:[77, 65] Operation: 125-60=65 Moving to Node #0,3,0 Current State: 70:[77, 65], Operations: ['50+75=125', '125-60=65'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[60, 77, 125], Operations: ['50+75=125'] Exploring Operation: 125-77=48, Resulting Numbers: [60, 48] Generated Node #0,3,1: 70:[60, 48] Operation: 125-77=48 Moving to Node #0,3,1 Current State: 70:[60, 48], Operations: ['50+75=125', '125-77=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[60, 48], Operations: ['50+75=125', '125-77=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[60, 77, 125], Operations: ['50+75=125'] Exploring Operation: 77-60=17, Resulting Numbers: [125, 17] Generated Node #0,3,2: 70:[125, 17] Operation: 77-60=17 Moving to Node #0,3,2 Current State: 70:[125, 17], Operations: ['50+75=125', '77-60=17'] Exploring Operation: 125-17=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[60, 77, 125], Operations: ['50+75=125'] Exploring Operation: 60+77=137, Resulting Numbers: [125, 137] Generated Node #0,3,3: 70:[125, 137] Operation: 60+77=137 Moving to Node #0,3,3 Current State: 70:[125, 137], Operations: ['50+75=125', '60+77=137'] Exploring Operation: 137-125=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,3 Current State: 70:[60, 77, 125], Operations: ['50+75=125'] Exploring Operation: 60+125=185, Resulting Numbers: [77, 185] Generated Node #0,3,4: 70:[77, 185] Operation: 60+125=185 Moving to Node #0,3,4 Current State: 70:[77, 185], Operations: ['50+75=125', '60+125=185'] Exploring Operation: 185-77=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [75, 77, 10] Generated Node #0,4: 70:[75, 77, 10] Operation: 60-50=10 Moving to Node #0,4 Current State: 70:[75, 77, 10], Operations: ['60-50=10'] Exploring Operation: 77-10=67, Resulting Numbers: [75, 67] Generated Node #0,4,0: 70:[75, 67] Operation: 77-10=67 Moving to Node #0,4,0 Current State: 70:[75, 67], Operations: ['60-50=10', '77-10=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[75, 77, 10], Operations: ['60-50=10'] Exploring Operation: 75-10=65, Resulting Numbers: [77, 65] Generated Node #0,4,1: 70:[77, 65] Operation: 75-10=65 Moving to Node #0,4,1 Current State: 70:[77, 65], Operations: ['60-50=10', '75-10=65'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[75, 77, 10], Operations: ['60-50=10'] Exploring Operation: 75+10=85, Resulting Numbers: [77, 85] Generated Node #0,4,2: 70:[77, 85] Operation: 75+10=85 Moving to Node #0,4,2 Current State: 70:[77, 85], Operations: ['60-50=10', '75+10=85'] Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[75, 77, 10], Operations: ['60-50=10'] Exploring Operation: 77+10=87, Resulting Numbers: [75, 87] Generated Node #0,4,3: 70:[75, 87] Operation: 77+10=87 Moving to Node #0,4,3 Current State: 70:[75, 87], Operations: ['60-50=10', '77+10=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,4 Current State: 70:[75, 77, 10], Operations: ['60-50=10'] Exploring Operation: 77-75=2, Resulting Numbers: [10, 2] Generated Node #0,4,4: 70:[10, 2] Operation: 77-75=2 Moving to Node #0,4,4 Current State: 70:[10, 2], Operations: ['60-50=10', '77-75=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[10, 2], Operations: ['60-50=10', '77-75=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[10, 2], Operations: ['60-50=10', '77-75=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[10, 2], Operations: ['60-50=10', '77-75=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 50+77=127, Resulting Numbers: [75, 60, 127] Generated Node #0,5: 70:[75, 60, 127] Operation: 50+77=127 Moving to Node #0,5 Current State: 70:[75, 60, 127], Operations: ['50+77=127'] Exploring Operation: 127-60=67, Resulting Numbers: [75, 67] Generated Node #0,5,0: 70:[75, 67] Operation: 127-60=67 Moving to Node #0,5,0 Current State: 70:[75, 67], Operations: ['50+77=127', '127-60=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[75, 60, 127], Operations: ['50+77=127'] Exploring Operation: 127-75=52, Resulting Numbers: [60, 52] Generated Node #0,5,1: 70:[60, 52] Operation: 127-75=52 Moving to Node #0,5,1 Current State: 70:[60, 52], Operations: ['50+77=127', '127-75=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,5,1 Current State: 70:[60, 52], Operations: ['50+77=127', '127-75=52'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[75, 60, 127], Operations: ['50+77=127'] Exploring Operation: 75-60=15, Resulting Numbers: [127, 15] Generated Node #0,5,2: 70:[127, 15] Operation: 75-60=15 Moving to Node #0,5,2 Current State: 70:[127, 15], Operations: ['50+77=127', '75-60=15'] Exploring Operation: 127-15=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[75, 60, 127], Operations: ['50+77=127'] Exploring Operation: 75+60=135, Resulting Numbers: [127, 135] Generated Node #0,5,3: 70:[127, 135] Operation: 75+60=135 Moving to Node #0,5,3 Current State: 70:[127, 135], Operations: ['50+77=127', '75+60=135'] Exploring Operation: 135-127=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,5 Current State: 70:[75, 60, 127], Operations: ['50+77=127'] Exploring Operation: 60+127=187, Resulting Numbers: [75, 187] Generated Node #0,5,4: 70:[75, 187] Operation: 60+127=187 Moving to Node #0,5,4 Current State: 70:[75, 187], Operations: ['50+77=127', '60+127=187'] Exploring Operation: 187-75=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [50, 75, 17] Generated Node #0,6: 70:[50, 75, 17] Operation: 77-60=17 Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 50+17=67, Resulting Numbers: [75, 67] Generated Node #0,6,0: 70:[75, 67] Operation: 50+17=67 Moving to Node #0,6,0 Current State: 70:[75, 67], Operations: ['77-60=17', '50+17=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 75-17=58, Resulting Numbers: [50, 58] Generated Node #0,6,1: 70:[50, 58] Operation: 75-17=58 Moving to Node #0,6,1 Current State: 70:[50, 58], Operations: ['77-60=17', '75-17=58'] Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,6,1 Current State: 70:[50, 58], Operations: ['77-60=17', '75-17=58'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 50-17=33, Resulting Numbers: [75, 33] Generated Node #0,6,2: 70:[75, 33] Operation: 50-17=33 Moving to Node #0,6,2 Current State: 70:[75, 33], Operations: ['77-60=17', '50-17=33'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,6,2 Current State: 70:[75, 33], Operations: ['77-60=17', '50-17=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 75+17=92, Resulting Numbers: [50, 92] Generated Node #0,6,3: 70:[50, 92] Operation: 75+17=92 Moving to Node #0,6,3 Current State: 70:[50, 92], Operations: ['77-60=17', '75+17=92'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 75-50=25, Resulting Numbers: [17, 25] Generated Node #0,6,4: 70:[17, 25] Operation: 75-50=25 Moving to Node #0,6,4 Current State: 70:[17, 25], Operations: ['77-60=17', '75-50=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,6,4 Current State: 70:[17, 25], Operations: ['77-60=17', '75-50=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,6 Current State: 70:[50, 75, 17], Operations: ['77-60=17'] Exploring Operation: 50+75=125, Resulting Numbers: [17, 125] Generated Node #0,6,5: 70:[17, 125] Operation: 50+75=125 Moving to Node #0,6,5 Current State: 70:[17, 125], Operations: ['77-60=17', '50+75=125'] Exploring Operation: 125-17=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [50, 77, 15] Generated Node #0,7: 70:[50, 77, 15] Operation: 75-60=15 Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 50+15=65, Resulting Numbers: [77, 65] Generated Node #0,7,0: 70:[77, 65] Operation: 50+15=65 Moving to Node #0,7,0 Current State: 70:[77, 65], Operations: ['75-60=15', '50+15=65'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 77-15=62, Resulting Numbers: [50, 62] Generated Node #0,7,1: 70:[50, 62] Operation: 77-15=62 Moving to Node #0,7,1 Current State: 70:[50, 62], Operations: ['75-60=15', '77-15=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,7,1 Current State: 70:[50, 62], Operations: ['75-60=15', '77-15=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 50-15=35, Resulting Numbers: [77, 35] Generated Node #0,7,2: 70:[77, 35] Operation: 50-15=35 Moving to Node #0,7,2 Current State: 70:[77, 35], Operations: ['75-60=15', '50-15=35'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,7,2 Current State: 70:[77, 35], Operations: ['75-60=15', '50-15=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 77+15=92, Resulting Numbers: [50, 92] Generated Node #0,7,3: 70:[50, 92] Operation: 77+15=92 Moving to Node #0,7,3 Current State: 70:[50, 92], Operations: ['75-60=15', '77+15=92'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 77-50=27, Resulting Numbers: [15, 27] Generated Node #0,7,4: 70:[15, 27] Operation: 77-50=27 Moving to Node #0,7,4 Current State: 70:[15, 27], Operations: ['75-60=15', '77-50=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,7,4 Current State: 70:[15, 27], Operations: ['75-60=15', '77-50=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,7 Current State: 70:[50, 77, 15], Operations: ['75-60=15'] Exploring Operation: 50+77=127, Resulting Numbers: [15, 127] Generated Node #0,7,5: 70:[15, 127] Operation: 50+77=127 Moving to Node #0,7,5 Current State: 70:[15, 127], Operations: ['75-60=15', '50+77=127'] Exploring Operation: 127-15=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 75+60=135, Resulting Numbers: [50, 77, 135] Generated Node #0,8: 70:[50, 77, 135] Operation: 75+60=135 Moving to Node #0,8 Current State: 70:[50, 77, 135], Operations: ['75+60=135'] Exploring Operation: 135-50=85, Resulting Numbers: [77, 85] Generated Node #0,8,0: 70:[77, 85] Operation: 135-50=85 Moving to Node #0,8,0 Current State: 70:[77, 85], Operations: ['75+60=135', '135-50=85'] Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[50, 77, 135], Operations: ['75+60=135'] Exploring Operation: 135-77=58, Resulting Numbers: [50, 58] Generated Node #0,8,1: 70:[50, 58] Operation: 135-77=58 Moving to Node #0,8,1 Current State: 70:[50, 58], Operations: ['75+60=135', '135-77=58'] Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,8,1 Current State: 70:[50, 58], Operations: ['75+60=135', '135-77=58'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[50, 77, 135], Operations: ['75+60=135'] Exploring Operation: 77-50=27, Resulting Numbers: [135, 27] Generated Node #0,8,2: 70:[135, 27] Operation: 77-50=27 Moving to Node #0,8,2 Current State: 70:[135, 27], Operations: ['75+60=135', '77-50=27'] Exploring Operation: 135-27=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,8,2 Current State: 70:[135, 27], Operations: ['75+60=135', '77-50=27'] Exploring Operation: 135/27=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[50, 77, 135], Operations: ['75+60=135'] Exploring Operation: 50+77=127, Resulting Numbers: [135, 127] Generated Node #0,8,3: 70:[135, 127] Operation: 50+77=127 Moving to Node #0,8,3 Current State: 70:[135, 127], Operations: ['75+60=135', '50+77=127'] Exploring Operation: 135-127=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,8 Current State: 70:[50, 77, 135], Operations: ['75+60=135'] Exploring Operation: 50+135=185, Resulting Numbers: [77, 185] Generated Node #0,8,4: 70:[77, 185] Operation: 50+135=185 Moving to Node #0,8,4 Current State: 70:[77, 185], Operations: ['75+60=135', '50+135=185'] Exploring Operation: 185-77=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 60+77=137, Resulting Numbers: [50, 75, 137] Generated Node #0,9: 70:[50, 75, 137] Operation: 60+77=137 Moving to Node #0,9 Current State: 70:[50, 75, 137], Operations: ['60+77=137'] Exploring Operation: 137-50=87, Resulting Numbers: [75, 87] Generated Node #0,9,0: 70:[75, 87] Operation: 137-50=87 Moving to Node #0,9,0 Current State: 70:[75, 87], Operations: ['60+77=137', '137-50=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[50, 75, 137], Operations: ['60+77=137'] Exploring Operation: 137-75=62, Resulting Numbers: [50, 62] Generated Node #0,9,1: 70:[50, 62] Operation: 137-75=62 Moving to Node #0,9,1 Current State: 70:[50, 62], Operations: ['60+77=137', '137-75=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,9,1 Current State: 70:[50, 62], Operations: ['60+77=137', '137-75=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[50, 75, 137], Operations: ['60+77=137'] Exploring Operation: 75-50=25, Resulting Numbers: [137, 25] Generated Node #0,9,2: 70:[137, 25] Operation: 75-50=25 Moving to Node #0,9,2 Current State: 70:[137, 25], Operations: ['60+77=137', '75-50=25'] Exploring Operation: 137-25=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[50, 75, 137], Operations: ['60+77=137'] Exploring Operation: 50+75=125, Resulting Numbers: [137, 125] Generated Node #0,9,3: 70:[137, 125] Operation: 50+75=125 Moving to Node #0,9,3 Current State: 70:[137, 125], Operations: ['60+77=137', '50+75=125'] Exploring Operation: 137-125=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,9 Current State: 70:[50, 75, 137], Operations: ['60+77=137'] Exploring Operation: 50+137=187, Resulting Numbers: [75, 187] Generated Node #0,9,4: 70:[75, 187] Operation: 50+137=187 Moving to Node #0,9,4 Current State: 70:[75, 187], Operations: ['60+77=137', '50+137=187'] Exploring Operation: 187-75=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0 Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [50, 60, 2] Generated Node #0,10: 70:[50, 60, 2] Operation: 77-75=2 Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 50+2=52, Resulting Numbers: [60, 52] Generated Node #0,10,0: 70:[60, 52] Operation: 50+2=52 Moving to Node #0,10,0 Current State: 70:[60, 52], Operations: ['77-75=2', '50+2=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,10,0 Current State: 70:[60, 52], Operations: ['77-75=2', '50+2=52'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 60+2=62, Resulting Numbers: [50, 62] Generated Node #0,10,1: 70:[50, 62] Operation: 60+2=62 Moving to Node #0,10,1 Current State: 70:[50, 62], Operations: ['77-75=2', '60+2=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,70 unequal: No Solution Moving to Node #0,10,1 Current State: 70:[50, 62], Operations: ['77-75=2', '60+2=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 50-2=48, Resulting Numbers: [60, 48] Generated Node #0,10,2: 70:[60, 48] Operation: 50-2=48 Moving to Node #0,10,2 Current State: 70:[60, 48], Operations: ['77-75=2', '50-2=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,10,2 Current State: 70:[60, 48], Operations: ['77-75=2', '50-2=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 60-2=58, Resulting Numbers: [50, 58] Generated Node #0,10,3: 70:[50, 58] Operation: 60-2=58 Moving to Node #0,10,3 Current State: 70:[50, 58], Operations: ['77-75=2', '60-2=58'] Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,70 unequal: No Solution Moving to Node #0,10,3 Current State: 70:[50, 58], Operations: ['77-75=2', '60-2=58'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 50*2=100, Resulting Numbers: [60, 100] Generated Node #0,10,4: 70:[60, 100] Operation: 50*2=100 Moving to Node #0,10,4 Current State: 70:[60, 100], Operations: ['77-75=2', '50*2=100'] Exploring Operation: 100-60=40, Resulting Numbers: [40] 40,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 50/2=25, Resulting Numbers: [60, 25] Generated Node #0,10,5: 70:[60, 25] Operation: 50/2=25 Moving to Node #0,10,5 Current State: 70:[60, 25], Operations: ['77-75=2', '50/2=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,70 unequal: No Solution Moving to Node #0,10,5 Current State: 70:[60, 25], Operations: ['77-75=2', '50/2=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 60/2=30, Resulting Numbers: [50, 30] Generated Node #0,10,6: 70:[50, 30] Operation: 60/2=30 Moving to Node #0,10,6 Current State: 70:[50, 30], Operations: ['77-75=2', '60/2=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,70 unequal: No Solution Moving to Node #0,10,6 Current State: 70:[50, 30], Operations: ['77-75=2', '60/2=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,10 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 60*2=120, Resulting Numbers: [50, 120] Generated Node #0,10,7: 70:[50, 120] Operation: 60*2=120 Moving to Node #0,10,7 Current State: 70:[50, 120], Operations: ['77-75=2', '60*2=120'] Exploring Operation: 120-50=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.853299
dfs
Current State: 70:[50, 75, 60, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [50, 60, 2] Generated Node #2: [50, 60, 2] from Operation: 77-75=2 Current State: 70:[50, 60, 2], Operations: ['77-75=2'] Exploring Operation: 60*2=120, Resulting Numbers: [50, 120] Generated Node #3: [50, 120] from Operation: 60*2=120 Current State: 70:[50, 120], Operations: ['77-75=2', '60*2=120'] Exploring Operation: 120-50=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
sum_heuristic
[ 29, 15, 6, 31 ]
30
[ "29+31=60", "15*6=90", "90-60=30" ]
Current State: 30:[29, 15, 6, 31], Operations: [] Exploring Operation: 15-6=9, Resulting Numbers: [29, 31, 9] Generated Node #0,0: 30:[29, 31, 9] Operation: 15-6=9 Exploring Operation: 31-15=16, Resulting Numbers: [29, 6, 16] Generated Node #0,1: 30:[29, 6, 16] Operation: 31-15=16 Exploring Operation: 31-29=2, Resulting Numbers: [15, 6, 2] Generated Node #0,2: 30:[15, 6, 2] Operation: 31-29=2 Exploring Operation: 29-15=14, Resulting Numbers: [6, 31, 14] Generated Node #0,3: 30:[6, 31, 14] Operation: 29-15=14 Moving to Node #0,2 Current State: 30:[15, 6, 2], Operations: ['31-29=2'] Exploring Operation: 15-6=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 30:[2, 9] Operation: 15-6=9 Exploring Operation: 6/2=3, Resulting Numbers: [15, 3] Generated Node #0,2,1: 30:[15, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [15, 4] Generated Node #0,2,2: 30:[15, 4] Operation: 6-2=4 Exploring Operation: 15*2=30, Resulting Numbers: [6, 30] Generated Node #0,2,3: 30:[6, 30] Operation: 15*2=30 Moving to Node #0,3 Current State: 30:[6, 31, 14], Operations: ['29-15=14'] Exploring Operation: 31-14=17, Resulting Numbers: [6, 17] Generated Node #0,3,0: 30:[6, 17] Operation: 31-14=17 Exploring Operation: 14-6=8, Resulting Numbers: [31, 8] Generated Node #0,3,1: 30:[31, 8] Operation: 14-6=8 Exploring Operation: 6+14=20, Resulting Numbers: [31, 20] Generated Node #0,3,2: 30:[31, 20] Operation: 6+14=20 Exploring Operation: 31-6=25, Resulting Numbers: [14, 25] Generated Node #0,3,3: 30:[14, 25] Operation: 31-6=25 Moving to Node #0,1 Current State: 30:[29, 6, 16], Operations: ['31-15=16'] Exploring Operation: 29-6=23, Resulting Numbers: [16, 23] Generated Node #0,1,0: 30:[16, 23] Operation: 29-6=23 Exploring Operation: 16-6=10, Resulting Numbers: [29, 10] Generated Node #0,1,1: 30:[29, 10] Operation: 16-6=10 Exploring Operation: 29-16=13, Resulting Numbers: [6, 13] Generated Node #0,1,2: 30:[6, 13] Operation: 29-16=13 Exploring Operation: 29+6=35, Resulting Numbers: [16, 35] Generated Node #0,1,3: 30:[16, 35] Operation: 29+6=35 Moving to Node #0,0 Current State: 30:[29, 31, 9], Operations: ['15-6=9'] Exploring Operation: 29-9=20, Resulting Numbers: [31, 20] Generated Node #0,0,0: 30:[31, 20] Operation: 29-9=20 Exploring Operation: 31-29=2, Resulting Numbers: [9, 2] Generated Node #0,0,1: 30:[9, 2] Operation: 31-29=2 Exploring Operation: 29+9=38, Resulting Numbers: [31, 38] Generated Node #0,0,2: 30:[31, 38] Operation: 29+9=38 Exploring Operation: 31-9=22, Resulting Numbers: [29, 22] Generated Node #0,0,3: 30:[29, 22] Operation: 31-9=22 Moving to Node #0,2,1 Current State: 30:[15, 3], Operations: ['31-29=2', '6/2=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[6, 30], Operations: ['31-29=2', '15*2=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,30 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[2, 9], Operations: ['31-29=2', '15-6=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[9, 2], Operations: ['15-6=9', '31-29=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Moving to Node #0,2,1,0 Current State: 30:[5], Operations: ['31-29=2', '6/2=3', '15/3=5'] Moving to Node #0,2,3,0 Current State: 30:[5], Operations: ['31-29=2', '15*2=30', '30/6=5'] Moving to Node #0,2,2 Current State: 30:[15, 4], Operations: ['31-29=2', '6-2=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,0,1,0 Current State: 30:[11], Operations: ['15-6=9', '31-29=2', '9+2=11'] Moving to Node #0,0,1,0 Current State: 30:[7], Operations: ['15-6=9', '31-29=2', '9-2=7'] Moving to Node #0,2,0,0 Current State: 30:[7], Operations: ['31-29=2', '15-6=9', '9-2=7'] Moving to Node #0,2,0,0 Current State: 30:[11], Operations: ['31-29=2', '15-6=9', '2+9=11'] Moving to Node #0,2,2,0 Current State: 30:[11], Operations: ['31-29=2', '6-2=4', '15-4=11'] Moving to Node #0,1,1 Current State: 30:[29, 10], Operations: ['31-15=16', '16-6=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,30 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,2,1,0 Current State: 30:[12], Operations: ['31-29=2', '6/2=3', '15-3=12'] Moving to Node #0,3,0 Current State: 30:[6, 17], Operations: ['29-15=14', '31-14=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,30 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[6, 13], Operations: ['31-15=16', '29-16=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,30 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,3,0,0 Current State: 30:[11], Operations: ['29-15=14', '31-14=17', '17-6=11'] Moving to Node #0,1,2,0 Current State: 30:[7], Operations: ['31-15=16', '29-16=13', '13-6=7'] Moving to Node #0,0,1,0 Current State: 30:[18], Operations: ['15-6=9', '31-29=2', '9*2=18'] Moving to Node #0,3,1 Current State: 30:[31, 8], Operations: ['29-15=14', '14-6=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,30 unequal: No Solution Moving to Node #0,2,1,0 Current State: 30:[18], Operations: ['31-29=2', '6/2=3', '15+3=18'] Moving to Node #0,2,0,0 Current State: 30:[18], Operations: ['31-29=2', '15-6=9', '2*9=18'] Moving to Node #0,1,2,0 Current State: 30:[19], Operations: ['31-15=16', '29-16=13', '6+13=19'] Moving to Node #0,2,2,0 Current State: 30:[19], Operations: ['31-29=2', '6-2=4', '15+4=19'] Moving to Node #0,1,1,0 Current State: 30:[19], Operations: ['31-15=16', '16-6=10', '29-10=19'] Moving to Node #0,0,0 Current State: 30:[31, 20], Operations: ['15-6=9', '29-9=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,30 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[16, 35], Operations: ['31-15=16', '29+6=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,30 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[31, 20], Operations: ['29-15=14', '6+14=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,30 unequal: No Solution Moving to Node #0,0,0,0 Current State: 30:[11], Operations: ['15-6=9', '29-9=20', '31-20=11'] Moving to Node #0,3,2,0 Current State: 30:[11], Operations: ['29-15=14', '6+14=20', '31-20=11'] Moving to Node #0,1,3,0 Current State: 30:[19], Operations: ['31-15=16', '29+6=35', '35-16=19'] Moving to Node #0,2,3,0 Current State: 30:[24], Operations: ['31-29=2', '15*2=30', '30-6=24'] Moving to Node #0,2,3,0 Current State: 30:[36], Operations: ['31-29=2', '15*2=30', '6+30=36'] Moving to Node #0,3,3 Current State: 30:[14, 25], Operations: ['29-15=14', '31-6=25'] Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,30 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,3,1,0 Current State: 30:[23], Operations: ['29-15=14', '14-6=8', '31-8=23'] Moving to Node #0,3,0,0 Current State: 30:[23], Operations: ['29-15=14', '31-14=17', '6+17=23'] Moving to Node #0,3,3,0 Current State: 30:[11], Operations: ['29-15=14', '31-6=25', '25-14=11'] Moving to Node #0,1,0 Current State: 30:[16, 23], Operations: ['31-15=16', '29-6=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[29, 22], Operations: ['15-6=9', '31-9=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,30 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,30 unequal: No Solution Moving to Node #0,3,1,0 Current State: 30:[39], Operations: ['29-15=14', '14-6=8', '31+8=39'] Moving to Node #0,1,0,0 Current State: 30:[7], Operations: ['31-15=16', '29-6=23', '23-16=7'] Moving to Node #0,0,3,0 Current State: 30:[7], Operations: ['15-6=9', '31-9=22', '29-22=7'] Moving to Node #0,0,2 Current State: 30:[31, 38], Operations: ['15-6=9', '29+9=38'] Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,30 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,30 unequal: No Solution Moving to Node #0,3,3,0 Current State: 30:[39], Operations: ['29-15=14', '31-6=25', '14+25=39'] Moving to Node #0,0,2,0 Current State: 30:[7], Operations: ['15-6=9', '29+9=38', '38-31=7'] Moving to Node #0,1,1,0 Current State: 30:[39], Operations: ['31-15=16', '16-6=10', '29+10=39'] Moving to Node #0,1,0,0 Current State: 30:[39], Operations: ['31-15=16', '29-6=23', '16+23=39'] Moving to Node #0,2,1,0 Current State: 30:[45], Operations: ['31-29=2', '6/2=3', '15*3=45'] Moving to Node #0,3,2,0 Current State: 30:[51], Operations: ['29-15=14', '6+14=20', '31+20=51'] Moving to Node #0,0,3,0 Current State: 30:[51], Operations: ['15-6=9', '31-9=22', '29+22=51'] Moving to Node #0,1,3,0 Current State: 30:[51], Operations: ['31-15=16', '29+6=35', '16+35=51'] Moving to Node #0,0,0,0 Current State: 30:[51], Operations: ['15-6=9', '29-9=20', '31+20=51'] Moving to Node #0,2,2,0 Current State: 30:[60], Operations: ['31-29=2', '6-2=4', '15*4=60'] Moving to Node #0,0,2,0 Current State: 30:[69], Operations: ['15-6=9', '29+9=38', '31+38=69'] Moving to Node #0,1,2,0 Current State: 30:[78], Operations: ['31-15=16', '29-16=13', '6*13=78'] Moving to Node #0,3,0,0 Current State: 30:[102], Operations: ['29-15=14', '31-14=17', '6*17=102'] Moving to Node #0,2,3,0 Current State: 30:[180], Operations: ['31-29=2', '15*2=30', '6*30=180'] Moving to Node #0,3,1,0 Current State: 30:[248], Operations: ['29-15=14', '14-6=8', '31*8=248'] Moving to Node #0,1,1,0 Current State: 30:[290], Operations: ['31-15=16', '16-6=10', '29*10=290'] Moving to Node #0,3,3,0 Current State: 30:[350], Operations: ['29-15=14', '31-6=25', '14*25=350'] Moving to Node #0,1,0,0 Current State: 30:[368], Operations: ['31-15=16', '29-6=23', '16*23=368'] Moving to Node #0,1,3,0 Current State: 30:[560], Operations: ['31-15=16', '29+6=35', '16*35=560'] Moving to Node #0,3,2,0 Current State: 30:[620], Operations: ['29-15=14', '6+14=20', '31*20=620'] Moving to Node #0,0,0,0 Current State: 30:[620], Operations: ['15-6=9', '29-9=20', '31*20=620'] Moving to Node #0,0,3,0 Current State: 30:[638], Operations: ['15-6=9', '31-9=22', '29*22=638'] Moving to Node #0,0,2,0 Current State: 30:[1178], Operations: ['15-6=9', '29+9=38', '31*38=1178'] No solution found.
0
bfs_4
Current State: 30:[29, 15, 6, 31], Operations: [] Exploring Operation: 29+31=60, Resulting Numbers: [15, 6, 60] Generated Node #2: [15, 6, 60] from Operation: 29+31=60 Current State: 30:[15, 6, 60], Operations: ['29+31=60'] Exploring Operation: 15*6=90, Resulting Numbers: [60, 90] Generated Node #3: [60, 90] from Operation: 15*6=90 Current State: 30:[60, 90], Operations: ['29+31=60', '15*6=90'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
mult_heuristic
[ 26, 63, 11, 12 ]
60
[ "63-26=37", "11+12=23", "37+23=60" ]
Current State: 60:[26, 63, 11, 12], Operations: [] Exploring Operation: 26+11=37, Resulting Numbers: [63, 12, 37] Generated Node #0,0: 60:[63, 12, 37] Operation: 26+11=37 Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 12+37=49, Resulting Numbers: [63, 49] Generated Node #0,0,0: 60:[63, 49] Operation: 12+37=49 Moving to Node #0,0,0 Current State: 60:[63, 49], Operations: ['26+11=37', '12+37=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[63, 49], Operations: ['26+11=37', '12+37=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 63-12=51, Resulting Numbers: [37, 51] Generated Node #0,0,1: 60:[37, 51] Operation: 63-12=51 Moving to Node #0,0,1 Current State: 60:[37, 51], Operations: ['26+11=37', '63-12=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[37, 51], Operations: ['26+11=37', '63-12=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 63+12=75, Resulting Numbers: [37, 75] Generated Node #0,0,2: 60:[37, 75] Operation: 63+12=75 Moving to Node #0,0,2 Current State: 60:[37, 75], Operations: ['26+11=37', '63+12=75'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[37, 75], Operations: ['26+11=37', '63+12=75'] Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 37-12=25, Resulting Numbers: [63, 25] Generated Node #0,0,3: 60:[63, 25] Operation: 37-12=25 Moving to Node #0,0,3 Current State: 60:[63, 25], Operations: ['26+11=37', '37-12=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[63, 25], Operations: ['26+11=37', '37-12=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 63-37=26, Resulting Numbers: [12, 26] Generated Node #0,0,4: 60:[12, 26] Operation: 63-37=26 Moving to Node #0,0,4 Current State: 60:[12, 26], Operations: ['26+11=37', '63-37=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[12, 26], Operations: ['26+11=37', '63-37=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,0 Current State: 60:[63, 12, 37], Operations: ['26+11=37'] Exploring Operation: 63+37=100, Resulting Numbers: [12, 100] Generated Node #0,0,5: 60:[12, 100] Operation: 63+37=100 Moving to Node #0,0,5 Current State: 60:[12, 100], Operations: ['26+11=37', '63+37=100'] Exploring Operation: 100-12=88, Resulting Numbers: [88] 88,60 unequal: No Solution Moving to Node #0,0,5 Current State: 60:[12, 100], Operations: ['26+11=37', '63+37=100'] Exploring Operation: 12+100=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0 Current State: 60:[26, 63, 11, 12], Operations: [] Exploring Operation: 26+12=38, Resulting Numbers: [63, 11, 38] Generated Node #0,1: 60:[63, 11, 38] Operation: 26+12=38 Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 11+38=49, Resulting Numbers: [63, 49] Generated Node #0,1,0: 60:[63, 49] Operation: 11+38=49 Moving to Node #0,1,0 Current State: 60:[63, 49], Operations: ['26+12=38', '11+38=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[63, 49], Operations: ['26+12=38', '11+38=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 63-11=52, Resulting Numbers: [38, 52] Generated Node #0,1,1: 60:[38, 52] Operation: 63-11=52 Moving to Node #0,1,1 Current State: 60:[38, 52], Operations: ['26+12=38', '63-11=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[38, 52], Operations: ['26+12=38', '63-11=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 63+11=74, Resulting Numbers: [38, 74] Generated Node #0,1,2: 60:[38, 74] Operation: 63+11=74 Moving to Node #0,1,2 Current State: 60:[38, 74], Operations: ['26+12=38', '63+11=74'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[38, 74], Operations: ['26+12=38', '63+11=74'] Exploring Operation: 38+74=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 38-11=27, Resulting Numbers: [63, 27] Generated Node #0,1,3: 60:[63, 27] Operation: 38-11=27 Moving to Node #0,1,3 Current State: 60:[63, 27], Operations: ['26+12=38', '38-11=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[63, 27], Operations: ['26+12=38', '38-11=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 63-38=25, Resulting Numbers: [11, 25] Generated Node #0,1,4: 60:[11, 25] Operation: 63-38=25 Moving to Node #0,1,4 Current State: 60:[11, 25], Operations: ['26+12=38', '63-38=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,60 unequal: No Solution Moving to Node #0,1,4 Current State: 60:[11, 25], Operations: ['26+12=38', '63-38=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1 Current State: 60:[63, 11, 38], Operations: ['26+12=38'] Exploring Operation: 63+38=101, Resulting Numbers: [11, 101] Generated Node #0,1,5: 60:[11, 101] Operation: 63+38=101 Moving to Node #0,1,5 Current State: 60:[11, 101], Operations: ['26+12=38', '63+38=101'] Exploring Operation: 101-11=90, Resulting Numbers: [90] 90,60 unequal: No Solution Moving to Node #0,1,5 Current State: 60:[11, 101], Operations: ['26+12=38', '63+38=101'] Exploring Operation: 11+101=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0 Current State: 60:[26, 63, 11, 12], Operations: [] Exploring Operation: 11+12=23, Resulting Numbers: [26, 63, 23] Generated Node #0,2: 60:[26, 63, 23] Operation: 11+12=23 Moving to Node #0,2 Current State: 60:[26, 63, 23], Operations: ['11+12=23'] Exploring Operation: 26+23=49, Resulting Numbers: [63, 49] Generated Node #0,2,0: 60:[63, 49] Operation: 26+23=49 Moving to Node #0,2,0 Current State: 60:[63, 49], Operations: ['11+12=23', '26+23=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[63, 49], Operations: ['11+12=23', '26+23=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,60 unequal: No Solution Moving to Node #0,2 Current State: 60:[26, 63, 23], Operations: ['11+12=23'] Exploring Operation: 63-23=40, Resulting Numbers: [26, 40] Generated Node #0,2,1: 60:[26, 40] Operation: 63-23=40 Moving to Node #0,2,1 Current State: 60:[26, 40], Operations: ['11+12=23', '63-23=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[26, 40], Operations: ['11+12=23', '63-23=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,2 Current State: 60:[26, 63, 23], Operations: ['11+12=23'] Exploring Operation: 63-26=37, Resulting Numbers: [23, 37] Generated Node #0,2,2: 60:[23, 37] Operation: 63-26=37 Moving to Node #0,2,2 Current State: 60:[23, 37], Operations: ['11+12=23', '63-26=37'] Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.958333
dfs
Current State: 60:[26, 63, 11, 12], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [11, 12, 37] Generated Node #2: [11, 12, 37] from Operation: 63-26=37 Current State: 60:[11, 12, 37], Operations: ['63-26=37'] Exploring Operation: 11+12=23, Resulting Numbers: [37, 23] Generated Node #3: [37, 23] from Operation: 11+12=23 Current State: 60:[37, 23], Operations: ['63-26=37', '11+12=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
sum_heuristic
[ 38, 14, 80, 2 ]
64
[ "38-14=24", "80/2=40", "24+40=64" ]
Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 38*2=76, Resulting Numbers: [14, 80, 76] Generated Node #0,0: 64:[14, 80, 76] Operation: 38*2=76 Moving to Node #0,0 Current State: 64:[14, 80, 76], Operations: ['38*2=76'] Exploring Operation: 80-14=66, Resulting Numbers: [76, 66] Generated Node #0,0,0: 64:[76, 66] Operation: 80-14=66 Moving to Node #0,0,0 Current State: 64:[76, 66], Operations: ['38*2=76', '80-14=66'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[14, 80, 76], Operations: ['38*2=76'] Exploring Operation: 76-14=62, Resulting Numbers: [80, 62] Generated Node #0,0,1: 64:[80, 62] Operation: 76-14=62 Moving to Node #0,0,1 Current State: 64:[80, 62], Operations: ['38*2=76', '76-14=62'] Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[14, 80, 76], Operations: ['38*2=76'] Exploring Operation: 14+80=94, Resulting Numbers: [76, 94] Generated Node #0,0,2: 64:[76, 94] Operation: 14+80=94 Moving to Node #0,0,2 Current State: 64:[76, 94], Operations: ['38*2=76', '14+80=94'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[14, 80, 76], Operations: ['38*2=76'] Exploring Operation: 14+76=90, Resulting Numbers: [80, 90] Generated Node #0,0,3: 64:[80, 90] Operation: 14+76=90 Moving to Node #0,0,3 Current State: 64:[80, 90], Operations: ['38*2=76', '14+76=90'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0 Current State: 64:[14, 80, 76], Operations: ['38*2=76'] Exploring Operation: 80-76=4, Resulting Numbers: [14, 4] Generated Node #0,0,4: 64:[14, 4] Operation: 80-76=4 Moving to Node #0,0,4 Current State: 64:[14, 4], Operations: ['38*2=76', '80-76=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[14, 4], Operations: ['38*2=76', '80-76=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[14, 4], Operations: ['38*2=76', '80-76=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 14*2=28, Resulting Numbers: [38, 80, 28] Generated Node #0,1: 64:[38, 80, 28] Operation: 14*2=28 Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 38+28=66, Resulting Numbers: [80, 66] Generated Node #0,1,0: 64:[80, 66] Operation: 38+28=66 Moving to Node #0,1,0 Current State: 64:[80, 66], Operations: ['14*2=28', '38+28=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 80-28=52, Resulting Numbers: [38, 52] Generated Node #0,1,1: 64:[38, 52] Operation: 80-28=52 Moving to Node #0,1,1 Current State: 64:[38, 52], Operations: ['14*2=28', '80-28=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[38, 52], Operations: ['14*2=28', '80-28=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 80-38=42, Resulting Numbers: [28, 42] Generated Node #0,1,2: 64:[28, 42] Operation: 80-38=42 Moving to Node #0,1,2 Current State: 64:[28, 42], Operations: ['14*2=28', '80-38=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[28, 42], Operations: ['14*2=28', '80-38=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 38-28=10, Resulting Numbers: [80, 10] Generated Node #0,1,3: 64:[80, 10] Operation: 38-28=10 Moving to Node #0,1,3 Current State: 64:[80, 10], Operations: ['14*2=28', '38-28=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[80, 10], Operations: ['14*2=28', '38-28=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[80, 10], Operations: ['14*2=28', '38-28=10'] Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 80+28=108, Resulting Numbers: [38, 108] Generated Node #0,1,4: 64:[38, 108] Operation: 80+28=108 Moving to Node #0,1,4 Current State: 64:[38, 108], Operations: ['14*2=28', '80+28=108'] Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,1 Current State: 64:[38, 80, 28], Operations: ['14*2=28'] Exploring Operation: 38+80=118, Resulting Numbers: [28, 118] Generated Node #0,1,5: 64:[28, 118] Operation: 38+80=118 Moving to Node #0,1,5 Current State: 64:[28, 118], Operations: ['14*2=28', '38+80=118'] Exploring Operation: 118-28=90, Resulting Numbers: [90] 90,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 38+14=52, Resulting Numbers: [80, 2, 52] Generated Node #0,2: 64:[80, 2, 52] Operation: 38+14=52 Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 80-2=78, Resulting Numbers: [52, 78] Generated Node #0,2,0: 64:[52, 78] Operation: 80-2=78 Moving to Node #0,2,0 Current State: 64:[52, 78], Operations: ['38+14=52', '80-2=78'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 2+52=54, Resulting Numbers: [80, 54] Generated Node #0,2,1: 64:[80, 54] Operation: 2+52=54 Moving to Node #0,2,1 Current State: 64:[80, 54], Operations: ['38+14=52', '2+52=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 80+2=82, Resulting Numbers: [52, 82] Generated Node #0,2,2: 64:[52, 82] Operation: 80+2=82 Moving to Node #0,2,2 Current State: 64:[52, 82], Operations: ['38+14=52', '80+2=82'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 52-2=50, Resulting Numbers: [80, 50] Generated Node #0,2,3: 64:[80, 50] Operation: 52-2=50 Moving to Node #0,2,3 Current State: 64:[80, 50], Operations: ['38+14=52', '52-2=50'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 80/2=40, Resulting Numbers: [52, 40] Generated Node #0,2,4: 64:[52, 40] Operation: 80/2=40 Moving to Node #0,2,4 Current State: 64:[52, 40], Operations: ['38+14=52', '80/2=40'] Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[52, 40], Operations: ['38+14=52', '80/2=40'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 52/2=26, Resulting Numbers: [80, 26] Generated Node #0,2,5: 64:[80, 26] Operation: 52/2=26 Moving to Node #0,2,5 Current State: 64:[80, 26], Operations: ['38+14=52', '52/2=26'] Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,2,5 Current State: 64:[80, 26], Operations: ['38+14=52', '52/2=26'] Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 2*52=104, Resulting Numbers: [80, 104] Generated Node #0,2,6: 64:[80, 104] Operation: 2*52=104 Moving to Node #0,2,6 Current State: 64:[80, 104], Operations: ['38+14=52', '2*52=104'] Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 80-52=28, Resulting Numbers: [2, 28] Generated Node #0,2,7: 64:[2, 28] Operation: 80-52=28 Moving to Node #0,2,7 Current State: 64:[2, 28], Operations: ['38+14=52', '80-52=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,64 unequal: No Solution Moving to Node #0,2,7 Current State: 64:[2, 28], Operations: ['38+14=52', '80-52=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,2,7 Current State: 64:[2, 28], Operations: ['38+14=52', '80-52=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,2,7 Current State: 64:[2, 28], Operations: ['38+14=52', '80-52=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,2 Current State: 64:[80, 2, 52], Operations: ['38+14=52'] Exploring Operation: 80*2=160, Resulting Numbers: [52, 160] Generated Node #0,2,8: 64:[52, 160] Operation: 80*2=160 Moving to Node #0,2,8 Current State: 64:[52, 160], Operations: ['38+14=52', '80*2=160'] Exploring Operation: 160-52=108, Resulting Numbers: [108] 108,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 38+2=40, Resulting Numbers: [14, 80, 40] Generated Node #0,3: 64:[14, 80, 40] Operation: 38+2=40 Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 80-14=66, Resulting Numbers: [40, 66] Generated Node #0,3,0: 64:[40, 66] Operation: 80-14=66 Moving to Node #0,3,0 Current State: 64:[40, 66], Operations: ['38+2=40', '80-14=66'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[40, 66], Operations: ['38+2=40', '80-14=66'] Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 14+40=54, Resulting Numbers: [80, 54] Generated Node #0,3,1: 64:[80, 54] Operation: 14+40=54 Moving to Node #0,3,1 Current State: 64:[80, 54], Operations: ['38+2=40', '14+40=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 14+80=94, Resulting Numbers: [40, 94] Generated Node #0,3,2: 64:[40, 94] Operation: 14+80=94 Moving to Node #0,3,2 Current State: 64:[40, 94], Operations: ['38+2=40', '14+80=94'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 40-14=26, Resulting Numbers: [80, 26] Generated Node #0,3,3: 64:[80, 26] Operation: 40-14=26 Moving to Node #0,3,3 Current State: 64:[80, 26], Operations: ['38+2=40', '40-14=26'] Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[80, 26], Operations: ['38+2=40', '40-14=26'] Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 80-40=40, Resulting Numbers: [14, 40] Generated Node #0,3,4: 64:[14, 40] Operation: 80-40=40 Moving to Node #0,3,4 Current State: 64:[14, 40], Operations: ['38+2=40', '80-40=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[14, 40], Operations: ['38+2=40', '80-40=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 80+40=120, Resulting Numbers: [14, 120] Generated Node #0,3,5: 64:[14, 120] Operation: 80+40=120 Moving to Node #0,3,5 Current State: 64:[14, 120], Operations: ['38+2=40', '80+40=120'] Exploring Operation: 120-14=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,3 Current State: 64:[14, 80, 40], Operations: ['38+2=40'] Exploring Operation: 80/40=2, Resulting Numbers: [14, 2] Generated Node #0,3,6: 64:[14, 2] Operation: 80/40=2 Moving to Node #0,3,6 Current State: 64:[14, 2], Operations: ['38+2=40', '80/40=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,64 unequal: No Solution Moving to Node #0,3,6 Current State: 64:[14, 2], Operations: ['38+2=40', '80/40=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Moving to Node #0,3,6 Current State: 64:[14, 2], Operations: ['38+2=40', '80/40=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,64 unequal: No Solution Moving to Node #0,3,6 Current State: 64:[14, 2], Operations: ['38+2=40', '80/40=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 80-14=66, Resulting Numbers: [38, 2, 66] Generated Node #0,4: 64:[38, 2, 66] Operation: 80-14=66 Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 38*2=76, Resulting Numbers: [66, 76] Generated Node #0,4,0: 64:[66, 76] Operation: 38*2=76 Moving to Node #0,4,0 Current State: 64:[66, 76], Operations: ['80-14=66', '38*2=76'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 38+2=40, Resulting Numbers: [66, 40] Generated Node #0,4,1: 64:[66, 40] Operation: 38+2=40 Moving to Node #0,4,1 Current State: 64:[66, 40], Operations: ['80-14=66', '38+2=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[66, 40], Operations: ['80-14=66', '38+2=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 66-2=64, Resulting Numbers: [38, 64] Generated Node #0,4,2: 64:[38, 64] Operation: 66-2=64 Moving to Node #0,4,2 Current State: 64:[38, 64], Operations: ['80-14=66', '66-2=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[38, 64], Operations: ['80-14=66', '66-2=64'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 38-2=36, Resulting Numbers: [66, 36] Generated Node #0,4,3: 64:[66, 36] Operation: 38-2=36 Moving to Node #0,4,3 Current State: 64:[66, 36], Operations: ['80-14=66', '38-2=36'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[66, 36], Operations: ['80-14=66', '38-2=36'] Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 2+66=68, Resulting Numbers: [38, 68] Generated Node #0,4,4: 64:[38, 68] Operation: 2+66=68 Moving to Node #0,4,4 Current State: 64:[38, 68], Operations: ['80-14=66', '2+66=68'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[38, 68], Operations: ['80-14=66', '2+66=68'] Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 38/2=19, Resulting Numbers: [66, 19] Generated Node #0,4,5: 64:[66, 19] Operation: 38/2=19 Moving to Node #0,4,5 Current State: 64:[66, 19], Operations: ['80-14=66', '38/2=19'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,64 unequal: No Solution Moving to Node #0,4,5 Current State: 64:[66, 19], Operations: ['80-14=66', '38/2=19'] Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 66/2=33, Resulting Numbers: [38, 33] Generated Node #0,4,6: 64:[38, 33] Operation: 66/2=33 Moving to Node #0,4,6 Current State: 64:[38, 33], Operations: ['80-14=66', '66/2=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,64 unequal: No Solution Moving to Node #0,4,6 Current State: 64:[38, 33], Operations: ['80-14=66', '66/2=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 2*66=132, Resulting Numbers: [38, 132] Generated Node #0,4,7: 64:[38, 132] Operation: 2*66=132 Moving to Node #0,4,7 Current State: 64:[38, 132], Operations: ['80-14=66', '2*66=132'] Exploring Operation: 132-38=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 66-38=28, Resulting Numbers: [2, 28] Generated Node #0,4,8: 64:[2, 28] Operation: 66-38=28 Moving to Node #0,4,8 Current State: 64:[2, 28], Operations: ['80-14=66', '66-38=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,64 unequal: No Solution Moving to Node #0,4,8 Current State: 64:[2, 28], Operations: ['80-14=66', '66-38=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,4,8 Current State: 64:[2, 28], Operations: ['80-14=66', '66-38=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,4,8 Current State: 64:[2, 28], Operations: ['80-14=66', '66-38=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,4 Current State: 64:[38, 2, 66], Operations: ['80-14=66'] Exploring Operation: 38+66=104, Resulting Numbers: [2, 104] Generated Node #0,4,9: 64:[2, 104] Operation: 38+66=104 Moving to Node #0,4,9 Current State: 64:[2, 104], Operations: ['80-14=66', '38+66=104'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,64 unequal: No Solution Moving to Node #0,4,9 Current State: 64:[2, 104], Operations: ['80-14=66', '38+66=104'] Exploring Operation: 104-2=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,4,9 Current State: 64:[2, 104], Operations: ['80-14=66', '38+66=104'] Exploring Operation: 2+104=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [38, 80, 16] Generated Node #0,5: 64:[38, 80, 16] Operation: 14+2=16 Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 38+16=54, Resulting Numbers: [80, 54] Generated Node #0,5,0: 64:[80, 54] Operation: 38+16=54 Moving to Node #0,5,0 Current State: 64:[80, 54], Operations: ['14+2=16', '38+16=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 80-16=64, Resulting Numbers: [38, 64] Generated Node #0,5,1: 64:[38, 64] Operation: 80-16=64 Moving to Node #0,5,1 Current State: 64:[38, 64], Operations: ['14+2=16', '80-16=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,5,1 Current State: 64:[38, 64], Operations: ['14+2=16', '80-16=64'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 38-16=22, Resulting Numbers: [80, 22] Generated Node #0,5,2: 64:[80, 22] Operation: 38-16=22 Moving to Node #0,5,2 Current State: 64:[80, 22], Operations: ['14+2=16', '38-16=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,5,2 Current State: 64:[80, 22], Operations: ['14+2=16', '38-16=22'] Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 80+16=96, Resulting Numbers: [38, 96] Generated Node #0,5,3: 64:[38, 96] Operation: 80+16=96 Moving to Node #0,5,3 Current State: 64:[38, 96], Operations: ['14+2=16', '80+16=96'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 80-38=42, Resulting Numbers: [16, 42] Generated Node #0,5,4: 64:[16, 42] Operation: 80-38=42 Moving to Node #0,5,4 Current State: 64:[16, 42], Operations: ['14+2=16', '80-38=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,5,4 Current State: 64:[16, 42], Operations: ['14+2=16', '80-38=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 80/16=5, Resulting Numbers: [38, 5] Generated Node #0,5,5: 64:[38, 5] Operation: 80/16=5 Moving to Node #0,5,5 Current State: 64:[38, 5], Operations: ['14+2=16', '80/16=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,64 unequal: No Solution Moving to Node #0,5,5 Current State: 64:[38, 5], Operations: ['14+2=16', '80/16=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,5 Current State: 64:[38, 80, 16], Operations: ['14+2=16'] Exploring Operation: 38+80=118, Resulting Numbers: [16, 118] Generated Node #0,5,6: 64:[16, 118] Operation: 38+80=118 Moving to Node #0,5,6 Current State: 64:[16, 118], Operations: ['14+2=16', '38+80=118'] Exploring Operation: 118-16=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 80-2=78, Resulting Numbers: [38, 14, 78] Generated Node #0,6: 64:[38, 14, 78] Operation: 80-2=78 Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 38+14=52, Resulting Numbers: [78, 52] Generated Node #0,6,0: 64:[78, 52] Operation: 38+14=52 Moving to Node #0,6,0 Current State: 64:[78, 52], Operations: ['80-2=78', '38+14=52'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 78-14=64, Resulting Numbers: [38, 64] Generated Node #0,6,1: 64:[38, 64] Operation: 78-14=64 Moving to Node #0,6,1 Current State: 64:[38, 64], Operations: ['80-2=78', '78-14=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,6,1 Current State: 64:[38, 64], Operations: ['80-2=78', '78-14=64'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 38-14=24, Resulting Numbers: [78, 24] Generated Node #0,6,2: 64:[78, 24] Operation: 38-14=24 Moving to Node #0,6,2 Current State: 64:[78, 24], Operations: ['80-2=78', '38-14=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,6,2 Current State: 64:[78, 24], Operations: ['80-2=78', '38-14=24'] Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 14+78=92, Resulting Numbers: [38, 92] Generated Node #0,6,3: 64:[38, 92] Operation: 14+78=92 Moving to Node #0,6,3 Current State: 64:[38, 92], Operations: ['80-2=78', '14+78=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 78-38=40, Resulting Numbers: [14, 40] Generated Node #0,6,4: 64:[14, 40] Operation: 78-38=40 Moving to Node #0,6,4 Current State: 64:[14, 40], Operations: ['80-2=78', '78-38=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,6,4 Current State: 64:[14, 40], Operations: ['80-2=78', '78-38=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,6 Current State: 64:[38, 14, 78], Operations: ['80-2=78'] Exploring Operation: 38+78=116, Resulting Numbers: [14, 116] Generated Node #0,6,5: 64:[14, 116] Operation: 38+78=116 Moving to Node #0,6,5 Current State: 64:[14, 116], Operations: ['80-2=78', '38+78=116'] Exploring Operation: 116-14=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 38-2=36, Resulting Numbers: [14, 80, 36] Generated Node #0,7: 64:[14, 80, 36] Operation: 38-2=36 Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 80-14=66, Resulting Numbers: [36, 66] Generated Node #0,7,0: 64:[36, 66] Operation: 80-14=66 Moving to Node #0,7,0 Current State: 64:[36, 66], Operations: ['38-2=36', '80-14=66'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,7,0 Current State: 64:[36, 66], Operations: ['38-2=36', '80-14=66'] Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 14+36=50, Resulting Numbers: [80, 50] Generated Node #0,7,1: 64:[80, 50] Operation: 14+36=50 Moving to Node #0,7,1 Current State: 64:[80, 50], Operations: ['38-2=36', '14+36=50'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 14+80=94, Resulting Numbers: [36, 94] Generated Node #0,7,2: 64:[36, 94] Operation: 14+80=94 Moving to Node #0,7,2 Current State: 64:[36, 94], Operations: ['38-2=36', '14+80=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 36-14=22, Resulting Numbers: [80, 22] Generated Node #0,7,3: 64:[80, 22] Operation: 36-14=22 Moving to Node #0,7,3 Current State: 64:[80, 22], Operations: ['38-2=36', '36-14=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,7,3 Current State: 64:[80, 22], Operations: ['38-2=36', '36-14=22'] Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 80-36=44, Resulting Numbers: [14, 44] Generated Node #0,7,4: 64:[14, 44] Operation: 80-36=44 Moving to Node #0,7,4 Current State: 64:[14, 44], Operations: ['38-2=36', '80-36=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,7,4 Current State: 64:[14, 44], Operations: ['38-2=36', '80-36=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,7 Current State: 64:[14, 80, 36], Operations: ['38-2=36'] Exploring Operation: 80+36=116, Resulting Numbers: [14, 116] Generated Node #0,7,5: 64:[14, 116] Operation: 80+36=116 Moving to Node #0,7,5 Current State: 64:[14, 116], Operations: ['38-2=36', '80+36=116'] Exploring Operation: 116-14=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 14-2=12, Resulting Numbers: [38, 80, 12] Generated Node #0,8: 64:[38, 80, 12] Operation: 14-2=12 Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 38+12=50, Resulting Numbers: [80, 50] Generated Node #0,8,0: 64:[80, 50] Operation: 38+12=50 Moving to Node #0,8,0 Current State: 64:[80, 50], Operations: ['14-2=12', '38+12=50'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 80-12=68, Resulting Numbers: [38, 68] Generated Node #0,8,1: 64:[38, 68] Operation: 80-12=68 Moving to Node #0,8,1 Current State: 64:[38, 68], Operations: ['14-2=12', '80-12=68'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,8,1 Current State: 64:[38, 68], Operations: ['14-2=12', '80-12=68'] Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 38-12=26, Resulting Numbers: [80, 26] Generated Node #0,8,2: 64:[80, 26] Operation: 38-12=26 Moving to Node #0,8,2 Current State: 64:[80, 26], Operations: ['14-2=12', '38-12=26'] Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,8,2 Current State: 64:[80, 26], Operations: ['14-2=12', '38-12=26'] Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 80+12=92, Resulting Numbers: [38, 92] Generated Node #0,8,3: 64:[38, 92] Operation: 80+12=92 Moving to Node #0,8,3 Current State: 64:[38, 92], Operations: ['14-2=12', '80+12=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 80-38=42, Resulting Numbers: [12, 42] Generated Node #0,8,4: 64:[12, 42] Operation: 80-38=42 Moving to Node #0,8,4 Current State: 64:[12, 42], Operations: ['14-2=12', '80-38=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,8,4 Current State: 64:[12, 42], Operations: ['14-2=12', '80-38=42'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,8 Current State: 64:[38, 80, 12], Operations: ['14-2=12'] Exploring Operation: 38+80=118, Resulting Numbers: [12, 118] Generated Node #0,8,5: 64:[12, 118] Operation: 38+80=118 Moving to Node #0,8,5 Current State: 64:[12, 118], Operations: ['14-2=12', '38+80=118'] Exploring Operation: 118-12=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 80+2=82, Resulting Numbers: [38, 14, 82] Generated Node #0,9: 64:[38, 14, 82] Operation: 80+2=82 Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 38+14=52, Resulting Numbers: [82, 52] Generated Node #0,9,0: 64:[82, 52] Operation: 38+14=52 Moving to Node #0,9,0 Current State: 64:[82, 52], Operations: ['80+2=82', '38+14=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 82-14=68, Resulting Numbers: [38, 68] Generated Node #0,9,1: 64:[38, 68] Operation: 82-14=68 Moving to Node #0,9,1 Current State: 64:[38, 68], Operations: ['80+2=82', '82-14=68'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,9,1 Current State: 64:[38, 68], Operations: ['80+2=82', '82-14=68'] Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 38-14=24, Resulting Numbers: [82, 24] Generated Node #0,9,2: 64:[82, 24] Operation: 38-14=24 Moving to Node #0,9,2 Current State: 64:[82, 24], Operations: ['80+2=82', '38-14=24'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,9,2 Current State: 64:[82, 24], Operations: ['80+2=82', '38-14=24'] Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 14+82=96, Resulting Numbers: [38, 96] Generated Node #0,9,3: 64:[38, 96] Operation: 14+82=96 Moving to Node #0,9,3 Current State: 64:[38, 96], Operations: ['80+2=82', '14+82=96'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 82-38=44, Resulting Numbers: [14, 44] Generated Node #0,9,4: 64:[14, 44] Operation: 82-38=44 Moving to Node #0,9,4 Current State: 64:[14, 44], Operations: ['80+2=82', '82-38=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,9,4 Current State: 64:[14, 44], Operations: ['80+2=82', '82-38=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,9 Current State: 64:[38, 14, 82], Operations: ['80+2=82'] Exploring Operation: 38+82=120, Resulting Numbers: [14, 120] Generated Node #0,9,5: 64:[14, 120] Operation: 38+82=120 Moving to Node #0,9,5 Current State: 64:[14, 120], Operations: ['80+2=82', '38+82=120'] Exploring Operation: 120-14=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [38, 80, 7] Generated Node #0,10: 64:[38, 80, 7] Operation: 14/2=7 Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 38+7=45, Resulting Numbers: [80, 45] Generated Node #0,10,0: 64:[80, 45] Operation: 38+7=45 Moving to Node #0,10,0 Current State: 64:[80, 45], Operations: ['14/2=7', '38+7=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,10,0 Current State: 64:[80, 45], Operations: ['14/2=7', '38+7=45'] Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,64 unequal: No Solution Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 80-7=73, Resulting Numbers: [38, 73] Generated Node #0,10,1: 64:[38, 73] Operation: 80-7=73 Moving to Node #0,10,1 Current State: 64:[38, 73], Operations: ['14/2=7', '80-7=73'] Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,10,1 Current State: 64:[38, 73], Operations: ['14/2=7', '80-7=73'] Exploring Operation: 38+73=111, Resulting Numbers: [111] 111,64 unequal: No Solution Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 38-7=31, Resulting Numbers: [80, 31] Generated Node #0,10,2: 64:[80, 31] Operation: 38-7=31 Moving to Node #0,10,2 Current State: 64:[80, 31], Operations: ['14/2=7', '38-7=31'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,64 unequal: No Solution Moving to Node #0,10,2 Current State: 64:[80, 31], Operations: ['14/2=7', '38-7=31'] Exploring Operation: 80+31=111, Resulting Numbers: [111] 111,64 unequal: No Solution Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 80+7=87, Resulting Numbers: [38, 87] Generated Node #0,10,3: 64:[38, 87] Operation: 80+7=87 Moving to Node #0,10,3 Current State: 64:[38, 87], Operations: ['14/2=7', '80+7=87'] Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,64 unequal: No Solution Moving to Node #0,10,3 Current State: 64:[38, 87], Operations: ['14/2=7', '80+7=87'] Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,64 unequal: No Solution Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 80-38=42, Resulting Numbers: [7, 42] Generated Node #0,10,4: 64:[7, 42] Operation: 80-38=42 Moving to Node #0,10,4 Current State: 64:[7, 42], Operations: ['14/2=7', '80-38=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,64 unequal: No Solution Moving to Node #0,10,4 Current State: 64:[7, 42], Operations: ['14/2=7', '80-38=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,64 unequal: No Solution Moving to Node #0,10,4 Current State: 64:[7, 42], Operations: ['14/2=7', '80-38=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,64 unequal: No Solution Moving to Node #0,10 Current State: 64:[38, 80, 7], Operations: ['14/2=7'] Exploring Operation: 38+80=118, Resulting Numbers: [7, 118] Generated Node #0,10,5: 64:[7, 118] Operation: 38+80=118 Moving to Node #0,10,5 Current State: 64:[7, 118], Operations: ['14/2=7', '38+80=118'] Exploring Operation: 118-7=111, Resulting Numbers: [111] 111,64 unequal: No Solution Moving to Node #0,10,5 Current State: 64:[7, 118], Operations: ['14/2=7', '38+80=118'] Exploring Operation: 7+118=125, Resulting Numbers: [125] 125,64 unequal: No Solution Moving to Node #0 Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [38, 14, 40] Generated Node #0,11: 64:[38, 14, 40] Operation: 80/2=40 Moving to Node #0,11 Current State: 64:[38, 14, 40], Operations: ['80/2=40'] Exploring Operation: 38+14=52, Resulting Numbers: [40, 52] Generated Node #0,11,0: 64:[40, 52] Operation: 38+14=52 Moving to Node #0,11,0 Current State: 64:[40, 52], Operations: ['80/2=40', '38+14=52'] Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,64 unequal: No Solution Moving to Node #0,11,0 Current State: 64:[40, 52], Operations: ['80/2=40', '38+14=52'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,64 unequal: No Solution Moving to Node #0,11 Current State: 64:[38, 14, 40], Operations: ['80/2=40'] Exploring Operation: 14+40=54, Resulting Numbers: [38, 54] Generated Node #0,11,1: 64:[38, 54] Operation: 14+40=54 Moving to Node #0,11,1 Current State: 64:[38, 54], Operations: ['80/2=40', '14+40=54'] Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,64 unequal: No Solution Moving to Node #0,11,1 Current State: 64:[38, 54], Operations: ['80/2=40', '14+40=54'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,64 unequal: No Solution Moving to Node #0,11 Current State: 64:[38, 14, 40], Operations: ['80/2=40'] Exploring Operation: 38-14=24, Resulting Numbers: [40, 24] Generated Node #0,11,2: 64:[40, 24] Operation: 38-14=24 Moving to Node #0,11,2 Current State: 64:[40, 24], Operations: ['80/2=40', '38-14=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.809028
dfs
Current State: 64:[38, 14, 80, 2], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [80, 2, 24] Generated Node #2: [80, 2, 24] from Operation: 38-14=24 Current State: 64:[80, 2, 24], Operations: ['38-14=24'] Exploring Operation: 80/2=40, Resulting Numbers: [24, 40] Generated Node #3: [24, 40] from Operation: 80/2=40 Current State: 64:[24, 40], Operations: ['38-14=24', '80/2=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
sum_heuristic
[ 75, 73, 23, 73 ]
99
[ "75+23=98", "73/73=1", "98+1=99" ]
Current State: 99:[75, 73, 23, 73], Operations: [] Exploring Operation: 73/73=1, Resulting Numbers: [75, 23, 1] Generated Node #0,0: 99:[75, 23, 1] Operation: 73/73=1 Moving to Node #0,0 Current State: 99:[75, 23, 1], Operations: ['73/73=1'] Exploring Operation: 75+23=98, Resulting Numbers: [1, 98] Generated Node #0,0,0: 99:[1, 98] Operation: 75+23=98 Moving to Node #0,0,0 Current State: 99:[1, 98], Operations: ['73/73=1', '75+23=98'] Exploring Operation: 1+98=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.996528
dfs
Current State: 99:[75, 73, 23, 73], Operations: [] Exploring Operation: 75+23=98, Resulting Numbers: [73, 73, 98] Generated Node #2: [73, 73, 98] from Operation: 75+23=98 Current State: 99:[73, 73, 98], Operations: ['75+23=98'] Exploring Operation: 73/73=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 73/73=1 Current State: 99:[98, 1], Operations: ['75+23=98', '73/73=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
mult_heuristic
[ 86, 30, 68, 84 ]
55
[ "86+68=154", "30*154=4620", "4620/84=55" ]
Current State: 55:[86, 30, 68, 84], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [30, 84, 18] Generated Node #0,0: 55:[30, 84, 18] Operation: 86-68=18 Exploring Operation: 86-84=2, Resulting Numbers: [30, 68, 2] Generated Node #0,1: 55:[30, 68, 2] Operation: 86-84=2 Exploring Operation: 86-30=56, Resulting Numbers: [68, 84, 56] Generated Node #0,2: 55:[68, 84, 56] Operation: 86-30=56 Exploring Operation: 68-30=38, Resulting Numbers: [86, 84, 38] Generated Node #0,3: 55:[86, 84, 38] Operation: 68-30=38 Exploring Operation: 84-30=54, Resulting Numbers: [86, 68, 54] Generated Node #0,4: 55:[86, 68, 54] Operation: 84-30=54 Moving to Node #0,2 Current State: 55:[68, 84, 56], Operations: ['86-30=56'] Exploring Operation: 68-56=12, Resulting Numbers: [84, 12] Generated Node #0,2,0: 55:[84, 12] Operation: 68-56=12 Exploring Operation: 68+56=124, Resulting Numbers: [84, 124] Generated Node #0,2,1: 55:[84, 124] Operation: 68+56=124 Exploring Operation: 84-68=16, Resulting Numbers: [56, 16] Generated Node #0,2,2: 55:[56, 16] Operation: 84-68=16 Exploring Operation: 68+84=152, Resulting Numbers: [56, 152] Generated Node #0,2,3: 55:[56, 152] Operation: 68+84=152 Exploring Operation: 84-56=28, Resulting Numbers: [68, 28] Generated Node #0,2,4: 55:[68, 28] Operation: 84-56=28 Moving to Node #0,4 Current State: 55:[86, 68, 54], Operations: ['84-30=54'] Exploring Operation: 86+54=140, Resulting Numbers: [68, 140] Generated Node #0,4,0: 55:[68, 140] Operation: 86+54=140 Exploring Operation: 68-54=14, Resulting Numbers: [86, 14] Generated Node #0,4,1: 55:[86, 14] Operation: 68-54=14 Exploring Operation: 86-68=18, Resulting Numbers: [54, 18] Generated Node #0,4,2: 55:[54, 18] Operation: 86-68=18 Exploring Operation: 86-54=32, Resulting Numbers: [68, 32] Generated Node #0,4,3: 55:[68, 32] Operation: 86-54=32 Exploring Operation: 68+54=122, Resulting Numbers: [86, 122] Generated Node #0,4,4: 55:[86, 122] Operation: 68+54=122 Moving to Node #0,3 Current State: 55:[86, 84, 38], Operations: ['68-30=38'] Exploring Operation: 84-38=46, Resulting Numbers: [86, 46] Generated Node #0,3,0: 55:[86, 46] Operation: 84-38=46 Exploring Operation: 86+38=124, Resulting Numbers: [84, 124] Generated Node #0,3,1: 55:[84, 124] Operation: 86+38=124 Exploring Operation: 84+38=122, Resulting Numbers: [86, 122] Generated Node #0,3,2: 55:[86, 122] Operation: 84+38=122 Exploring Operation: 86-38=48, Resulting Numbers: [84, 48] Generated Node #0,3,3: 55:[84, 48] Operation: 86-38=48 Exploring Operation: 86-84=2, Resulting Numbers: [38, 2] Generated Node #0,3,4: 55:[38, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 55:[30, 84, 18], Operations: ['86-68=18'] Exploring Operation: 84-30=54, Resulting Numbers: [18, 54] Generated Node #0,0,0: 55:[18, 54] Operation: 84-30=54 Exploring Operation: 30+18=48, Resulting Numbers: [84, 48] Generated Node #0,0,1: 55:[84, 48] Operation: 30+18=48 Exploring Operation: 84-18=66, Resulting Numbers: [30, 66] Generated Node #0,0,2: 55:[30, 66] Operation: 84-18=66 Exploring Operation: 30-18=12, Resulting Numbers: [84, 12] Generated Node #0,0,3: 55:[84, 12] Operation: 30-18=12 Exploring Operation: 84+18=102, Resulting Numbers: [30, 102] Generated Node #0,0,4: 55:[30, 102] Operation: 84+18=102 Moving to Node #0,1 Current State: 55:[30, 68, 2], Operations: ['86-84=2'] Exploring Operation: 30+2=32, Resulting Numbers: [68, 32] Generated Node #0,1,0: 55:[68, 32] Operation: 30+2=32 Exploring Operation: 30*2=60, Resulting Numbers: [68, 60] Generated Node #0,1,1: 55:[68, 60] Operation: 30*2=60 Exploring Operation: 68+2=70, Resulting Numbers: [30, 70] Generated Node #0,1,2: 55:[30, 70] Operation: 68+2=70 Exploring Operation: 30-2=28, Resulting Numbers: [68, 28] Generated Node #0,1,3: 55:[68, 28] Operation: 30-2=28 Exploring Operation: 68-2=66, Resulting Numbers: [30, 66] Generated Node #0,1,4: 55:[30, 66] Operation: 68-2=66 Moving to Node #0,1,1 Current State: 55:[68, 60], Operations: ['86-84=2', '30*2=60'] Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,55 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[68, 32], Operations: ['84-30=54', '86-54=32'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[84, 48], Operations: ['68-30=38', '86-38=48'] Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[68, 32], Operations: ['86-84=2', '30+2=32'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[30, 66], Operations: ['86-84=2', '68-2=66'] Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,55 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[84, 48], Operations: ['86-68=18', '30+18=48'] Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[30, 66], Operations: ['86-68=18', '84-18=66'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[54, 18], Operations: ['84-30=54', '86-68=18'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,55 unequal: No Solution Moving to Node #0,1,0,0 Current State: 55:[36], Operations: ['86-84=2', '30+2=32', '68-32=36'] Moving to Node #0,4,3,0 Current State: 55:[36], Operations: ['84-30=54', '86-54=32', '68-32=36'] Moving to Node #0,4,2,0 Current State: 55:[72], Operations: ['84-30=54', '86-68=18', '54+18=72'] Moving to Node #0,0,1,0 Current State: 55:[36], Operations: ['86-68=18', '30+18=48', '84-48=36'] Moving to Node #0,3,3,0 Current State: 55:[36], Operations: ['68-30=38', '86-38=48', '84-48=36'] Moving to Node #0,0,0 Current State: 55:[18, 54], Operations: ['86-68=18', '84-30=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,55 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,1,4,0 Current State: 55:[36], Operations: ['86-84=2', '68-2=66', '66-30=36'] Moving to Node #0,0,0,0 Current State: 55:[72], Operations: ['86-68=18', '84-30=54', '18+54=72'] Moving to Node #0,4,2,0 Current State: 55:[36], Operations: ['84-30=54', '86-68=18', '54-18=36'] Moving to Node #0,0,2,0 Current State: 55:[36], Operations: ['86-68=18', '84-18=66', '66-30=36'] Moving to Node #0,0,0,0 Current State: 55:[36], Operations: ['86-68=18', '84-30=54', '54-18=36'] Moving to Node #0,2,2 Current State: 55:[56, 16], Operations: ['86-30=56', '84-68=16'] Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,55 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,55 unequal: No Solution Moving to Node #0,2,2,0 Current State: 55:[40], Operations: ['86-30=56', '84-68=16', '56-16=40'] Moving to Node #0,2,2,0 Current State: 55:[72], Operations: ['86-30=56', '84-68=16', '56+16=72'] Moving to Node #0,1,2 Current State: 55:[30, 70], Operations: ['86-84=2', '68+2=70'] Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 30*70=2100, Resulting Numbers: [2100] 2100,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[68, 28], Operations: ['86-30=56', '84-56=28'] Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,55 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[86, 46], Operations: ['68-30=38', '84-38=46'] Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 86*46=3956, Resulting Numbers: [3956] 3956,55 unequal: No Solution Exploring Operation: 86+46=132, Resulting Numbers: [132] 132,55 unequal: No Solution Moving to Node #0,1,2,0 Current State: 55:[40], Operations: ['86-84=2', '68+2=70', '70-30=40'] Moving to Node #0,2,4,0 Current State: 55:[40], Operations: ['86-30=56', '84-56=28', '68-28=40'] Moving to Node #0,3,0,0 Current State: 55:[40], Operations: ['68-30=38', '84-38=46', '86-46=40'] Moving to Node #0,1,3 Current State: 55:[68, 28], Operations: ['86-84=2', '30-2=28'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[38, 2], Operations: ['68-30=38', '86-84=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,1,3,0 Current State: 55:[40], Operations: ['86-84=2', '30-2=28', '68-28=40'] Moving to Node #0,3,4,0 Current State: 55:[40], Operations: ['68-30=38', '86-84=2', '38+2=40'] Moving to Node #0,3,4,0 Current State: 55:[36], Operations: ['68-30=38', '86-84=2', '38-2=36'] Moving to Node #0,3,4,0 Current State: 55:[76], Operations: ['68-30=38', '86-84=2', '38*2=76'] Moving to Node #0,2,0 Current State: 55:[84, 12], Operations: ['86-30=56', '68-56=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,55 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,55 unequal: No Solution Moving to Node #0,2,0,0 Current State: 55:[72], Operations: ['86-30=56', '68-56=12', '84-12=72'] Moving to Node #0,3,4,0 Current State: 55:[19], Operations: ['68-30=38', '86-84=2', '38/2=19'] Moving to Node #0,0,3 Current State: 55:[84, 12], Operations: ['86-68=18', '30-18=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[86, 14], Operations: ['84-30=54', '68-54=14'] Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[30, 102], Operations: ['86-68=18', '84+18=102'] Exploring Operation: 102-30=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 30+102=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 30*102=3060, Resulting Numbers: [3060] 3060,55 unequal: No Solution Moving to Node #0,0,3,0 Current State: 55:[72], Operations: ['86-68=18', '30-18=12', '84-12=72'] Moving to Node #0,4,1,0 Current State: 55:[72], Operations: ['84-30=54', '68-54=14', '86-14=72'] Moving to Node #0,0,4,0 Current State: 55:[72], Operations: ['86-68=18', '84+18=102', '102-30=72'] Moving to Node #0,2,0,0 Current State: 55:[96], Operations: ['86-30=56', '68-56=12', '84+12=96'] Moving to Node #0,1,3,0 Current State: 55:[96], Operations: ['86-84=2', '30-2=28', '68+28=96'] Moving to Node #0,0,2,0 Current State: 55:[96], Operations: ['86-68=18', '84-18=66', '30+66=96'] Moving to Node #0,2,4,0 Current State: 55:[96], Operations: ['86-30=56', '84-56=28', '68+28=96'] Moving to Node #0,0,3,0 Current State: 55:[96], Operations: ['86-68=18', '30-18=12', '84+12=96'] Moving to Node #0,1,4,0 Current State: 55:[96], Operations: ['86-84=2', '68-2=66', '30+66=96'] Moving to Node #0,1,0,0 Current State: 55:[100], Operations: ['86-84=2', '30+2=32', '68+32=100'] Moving to Node #0,4,3,0 Current State: 55:[100], Operations: ['84-30=54', '86-54=32', '68+32=100'] Moving to Node #0,4,1,0 Current State: 55:[100], Operations: ['84-30=54', '68-54=14', '86+14=100'] Moving to Node #0,1,2,0 Current State: 55:[100], Operations: ['86-84=2', '68+2=70', '30+70=100'] Moving to Node #0,1,1,0 Current State: 55:[8], Operations: ['86-84=2', '30*2=60', '68-60=8'] Moving to Node #0,2,0,0 Current State: 55:[7], Operations: ['86-30=56', '68-56=12', '84/12=7'] Moving to Node #0,0,3,0 Current State: 55:[7], Operations: ['86-68=18', '30-18=12', '84/12=7'] Moving to Node #0,3,2 Current State: 55:[86, 122], Operations: ['68-30=38', '84+38=122'] Exploring Operation: 86*122=10492, Resulting Numbers: [10492] 10492,55 unequal: No Solution Exploring Operation: 122-86=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 86+122=208, Resulting Numbers: [208] 208,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[56, 152], Operations: ['86-30=56', '68+84=152'] Exploring Operation: 152-56=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 56*152=8512, Resulting Numbers: [8512] 8512,55 unequal: No Solution Exploring Operation: 56+152=208, Resulting Numbers: [208] 208,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[84, 124], Operations: ['68-30=38', '86+38=124'] Exploring Operation: 124-84=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 84+124=208, Resulting Numbers: [208] 208,55 unequal: No Solution Exploring Operation: 84*124=10416, Resulting Numbers: [10416] 10416,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[68, 140], Operations: ['84-30=54', '86+54=140'] Exploring Operation: 140-68=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 68*140=9520, Resulting Numbers: [9520] 9520,55 unequal: No Solution Exploring Operation: 68+140=208, Resulting Numbers: [208] 208,55 unequal: No Solution Moving to Node #0,3,1,0 Current State: 55:[40], Operations: ['68-30=38', '86+38=124', '124-84=40'] Moving to Node #0,4,0,0 Current State: 55:[72], Operations: ['84-30=54', '86+54=140', '140-68=72'] Moving to Node #0,3,2,0 Current State: 55:[36], Operations: ['68-30=38', '84+38=122', '122-86=36'] Moving to Node #0,2,3,0 Current State: 55:[96], Operations: ['86-30=56', '68+84=152', '152-56=96'] Moving to Node #0,4,4 Current State: 55:[86, 122], Operations: ['84-30=54', '68+54=122'] Exploring Operation: 86*122=10492, Resulting Numbers: [10492] 10492,55 unequal: No Solution Exploring Operation: 86+122=208, Resulting Numbers: [208] 208,55 unequal: No Solution Exploring Operation: 122-86=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,4,4,0 Current State: 55:[36], Operations: ['84-30=54', '68+54=122', '122-86=36'] Moving to Node #0,2,1 Current State: 55:[84, 124], Operations: ['86-30=56', '68+56=124'] Exploring Operation: 84*124=10416, Resulting Numbers: [10416] 10416,55 unequal: No Solution Exploring Operation: 124-84=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 84+124=208, Resulting Numbers: [208] 208,55 unequal: No Solution Moving to Node #0,0,0,0 Current State: 55:[3], Operations: ['86-68=18', '84-30=54', '54/18=3'] Moving to Node #0,4,2,0 Current State: 55:[3], Operations: ['84-30=54', '86-68=18', '54/18=3'] Moving to Node #0,1,1,0 Current State: 55:[128], Operations: ['86-84=2', '30*2=60', '68+60=128'] Moving to Node #0,2,1,0 Current State: 55:[40], Operations: ['86-30=56', '68+56=124', '124-84=40'] Moving to Node #0,3,3,0 Current State: 55:[132], Operations: ['68-30=38', '86-38=48', '84+48=132'] Moving to Node #0,0,4,0 Current State: 55:[132], Operations: ['86-68=18', '84+18=102', '30+102=132'] Moving to Node #0,3,0,0 Current State: 55:[132], Operations: ['68-30=38', '84-38=46', '86+46=132'] Moving to Node #0,0,1,0 Current State: 55:[132], Operations: ['86-68=18', '30+18=48', '84+48=132'] Moving to Node #0,3,2,0 Current State: 55:[208], Operations: ['68-30=38', '84+38=122', '86+122=208'] Moving to Node #0,4,0,0 Current State: 55:[208], Operations: ['84-30=54', '86+54=140', '68+140=208'] Moving to Node #0,4,4,0 Current State: 55:[208], Operations: ['84-30=54', '68+54=122', '86+122=208'] Moving to Node #0,3,1,0 Current State: 55:[208], Operations: ['68-30=38', '86+38=124', '84+124=208'] Moving to Node #0,2,1,0 Current State: 55:[208], Operations: ['86-30=56', '68+56=124', '84+124=208'] Moving to Node #0,2,3,0 Current State: 55:[208], Operations: ['86-30=56', '68+84=152', '56+152=208'] Moving to Node #0,2,2,0 Current State: 55:[896], Operations: ['86-30=56', '84-68=16', '56*16=896'] Moving to Node #0,4,2,0 Current State: 55:[972], Operations: ['84-30=54', '86-68=18', '54*18=972'] Moving to Node #0,0,0,0 Current State: 55:[972], Operations: ['86-68=18', '84-30=54', '18*54=972'] Moving to Node #0,0,3,0 Current State: 55:[1008], Operations: ['86-68=18', '30-18=12', '84*12=1008'] Moving to Node #0,2,0,0 Current State: 55:[1008], Operations: ['86-30=56', '68-56=12', '84*12=1008'] Moving to Node #0,4,1,0 Current State: 55:[1204], Operations: ['84-30=54', '68-54=14', '86*14=1204'] Moving to Node #0,2,4,0 Current State: 55:[1904], Operations: ['86-30=56', '84-56=28', '68*28=1904'] Moving to Node #0,1,3,0 Current State: 55:[1904], Operations: ['86-84=2', '30-2=28', '68*28=1904'] Moving to Node #0,1,4,0 Current State: 55:[1980], Operations: ['86-84=2', '68-2=66', '30*66=1980'] Moving to Node #0,0,2,0 Current State: 55:[1980], Operations: ['86-68=18', '84-18=66', '30*66=1980'] Moving to Node #0,1,2,0 Current State: 55:[2100], Operations: ['86-84=2', '68+2=70', '30*70=2100'] Moving to Node #0,1,0,0 Current State: 55:[2176], Operations: ['86-84=2', '30+2=32', '68*32=2176'] Moving to Node #0,4,3,0 Current State: 55:[2176], Operations: ['84-30=54', '86-54=32', '68*32=2176'] Moving to Node #0,0,4,0 Current State: 55:[3060], Operations: ['86-68=18', '84+18=102', '30*102=3060'] Moving to Node #0,3,0,0 Current State: 55:[3956], Operations: ['68-30=38', '84-38=46', '86*46=3956'] Moving to Node #0,3,3,0 Current State: 55:[4032], Operations: ['68-30=38', '86-38=48', '84*48=4032'] Moving to Node #0,0,1,0 Current State: 55:[4032], Operations: ['86-68=18', '30+18=48', '84*48=4032'] Moving to Node #0,1,1,0 Current State: 55:[4080], Operations: ['86-84=2', '30*2=60', '68*60=4080'] Moving to Node #0,2,3,0 Current State: 55:[8512], Operations: ['86-30=56', '68+84=152', '56*152=8512'] Moving to Node #0,4,0,0 Current State: 55:[9520], Operations: ['84-30=54', '86+54=140', '68*140=9520'] Moving to Node #0,3,1,0 Current State: 55:[10416], Operations: ['68-30=38', '86+38=124', '84*124=10416'] Moving to Node #0,2,1,0 Current State: 55:[10416], Operations: ['86-30=56', '68+56=124', '84*124=10416'] Moving to Node #0,3,2,0 Current State: 55:[10492], Operations: ['68-30=38', '84+38=122', '86*122=10492'] Moving to Node #0,4,4,0 Current State: 55:[10492], Operations: ['84-30=54', '68+54=122', '86*122=10492'] No solution found.
0
bfs_5
Current State: 55:[86, 30, 68, 84], Operations: [] Exploring Operation: 86+68=154, Resulting Numbers: [30, 84, 154] Generated Node #2: [30, 84, 154] from Operation: 86+68=154 Current State: 55:[30, 84, 154], Operations: ['86+68=154'] Exploring Operation: 30*154=4620, Resulting Numbers: [84, 4620] Generated Node #3: [84, 4620] from Operation: 30*154=4620 Current State: 55:[84, 4620], Operations: ['86+68=154', '30*154=4620'] Exploring Operation: 4620/84=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
sum_heuristic
[ 59, 8, 15, 9 ]
43
[ "59+8=67", "15+9=24", "67-24=43" ]
Current State: 43:[59, 8, 15, 9], Operations: []
0
dfs
Current State: 43:[59, 8, 15, 9], Operations: [] Exploring Operation: 59+8=67, Resulting Numbers: [15, 9, 67] Generated Node #2: [15, 9, 67] from Operation: 59+8=67 Current State: 43:[15, 9, 67], Operations: ['59+8=67'] Exploring Operation: 15+9=24, Resulting Numbers: [67, 24] Generated Node #3: [67, 24] from Operation: 15+9=24 Current State: 43:[67, 24], Operations: ['59+8=67', '15+9=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
mult_heuristic
[ 35, 26, 37, 90 ]
77
[ "37-35=2", "26/2=13", "90-13=77" ]
Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 35+26=61, Resulting Numbers: [37, 90, 61] Generated Node #0,0: 77:[37, 90, 61] Operation: 35+26=61 Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 37+61=98, Resulting Numbers: [90, 98] Generated Node #0,0,0: 77:[90, 98] Operation: 37+61=98 Moving to Node #0,0,0 Current State: 77:[90, 98], Operations: ['35+26=61', '37+61=98'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 90-37=53, Resulting Numbers: [61, 53] Generated Node #0,0,1: 77:[61, 53] Operation: 90-37=53 Moving to Node #0,0,1 Current State: 77:[61, 53], Operations: ['35+26=61', '90-37=53'] Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[61, 53], Operations: ['35+26=61', '90-37=53'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 37+90=127, Resulting Numbers: [61, 127] Generated Node #0,0,2: 77:[61, 127] Operation: 37+90=127 Moving to Node #0,0,2 Current State: 77:[61, 127], Operations: ['35+26=61', '37+90=127'] Exploring Operation: 127-61=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 61-37=24, Resulting Numbers: [90, 24] Generated Node #0,0,3: 77:[90, 24] Operation: 61-37=24 Moving to Node #0,0,3 Current State: 77:[90, 24], Operations: ['35+26=61', '61-37=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[90, 24], Operations: ['35+26=61', '61-37=24'] Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 90-61=29, Resulting Numbers: [37, 29] Generated Node #0,0,4: 77:[37, 29] Operation: 90-61=29 Moving to Node #0,0,4 Current State: 77:[37, 29], Operations: ['35+26=61', '90-61=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[37, 29], Operations: ['35+26=61', '90-61=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,0 Current State: 77:[37, 90, 61], Operations: ['35+26=61'] Exploring Operation: 90+61=151, Resulting Numbers: [37, 151] Generated Node #0,0,5: 77:[37, 151] Operation: 90+61=151 Moving to Node #0,0,5 Current State: 77:[37, 151], Operations: ['35+26=61', '90+61=151'] Exploring Operation: 151-37=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 35+37=72, Resulting Numbers: [26, 90, 72] Generated Node #0,1: 77:[26, 90, 72] Operation: 35+37=72 Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 90-26=64, Resulting Numbers: [72, 64] Generated Node #0,1,0: 77:[72, 64] Operation: 90-26=64 Moving to Node #0,1,0 Current State: 77:[72, 64], Operations: ['35+37=72', '90-26=64'] Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[72, 64], Operations: ['35+37=72', '90-26=64'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 26+72=98, Resulting Numbers: [90, 98] Generated Node #0,1,1: 77:[90, 98] Operation: 26+72=98 Moving to Node #0,1,1 Current State: 77:[90, 98], Operations: ['35+37=72', '26+72=98'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 26+90=116, Resulting Numbers: [72, 116] Generated Node #0,1,2: 77:[72, 116] Operation: 26+90=116 Moving to Node #0,1,2 Current State: 77:[72, 116], Operations: ['35+37=72', '26+90=116'] Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 72-26=46, Resulting Numbers: [90, 46] Generated Node #0,1,3: 77:[90, 46] Operation: 72-26=46 Moving to Node #0,1,3 Current State: 77:[90, 46], Operations: ['35+37=72', '72-26=46'] Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[90, 46], Operations: ['35+37=72', '72-26=46'] Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 90-72=18, Resulting Numbers: [26, 18] Generated Node #0,1,4: 77:[26, 18] Operation: 90-72=18 Moving to Node #0,1,4 Current State: 77:[26, 18], Operations: ['35+37=72', '90-72=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[26, 18], Operations: ['35+37=72', '90-72=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,1 Current State: 77:[26, 90, 72], Operations: ['35+37=72'] Exploring Operation: 90+72=162, Resulting Numbers: [26, 162] Generated Node #0,1,5: 77:[26, 162] Operation: 90+72=162 Moving to Node #0,1,5 Current State: 77:[26, 162], Operations: ['35+37=72', '90+72=162'] Exploring Operation: 162-26=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 26+37=63, Resulting Numbers: [35, 90, 63] Generated Node #0,2: 77:[35, 90, 63] Operation: 26+37=63 Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 35+63=98, Resulting Numbers: [90, 98] Generated Node #0,2,0: 77:[90, 98] Operation: 35+63=98 Moving to Node #0,2,0 Current State: 77:[90, 98], Operations: ['26+37=63', '35+63=98'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 90-35=55, Resulting Numbers: [63, 55] Generated Node #0,2,1: 77:[63, 55] Operation: 90-35=55 Moving to Node #0,2,1 Current State: 77:[63, 55], Operations: ['26+37=63', '90-35=55'] Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[63, 55], Operations: ['26+37=63', '90-35=55'] Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 35+90=125, Resulting Numbers: [63, 125] Generated Node #0,2,2: 77:[63, 125] Operation: 35+90=125 Moving to Node #0,2,2 Current State: 77:[63, 125], Operations: ['26+37=63', '35+90=125'] Exploring Operation: 125-63=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 63-35=28, Resulting Numbers: [90, 28] Generated Node #0,2,3: 77:[90, 28] Operation: 63-35=28 Moving to Node #0,2,3 Current State: 77:[90, 28], Operations: ['26+37=63', '63-35=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[90, 28], Operations: ['26+37=63', '63-35=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 90-63=27, Resulting Numbers: [35, 27] Generated Node #0,2,4: 77:[35, 27] Operation: 90-63=27 Moving to Node #0,2,4 Current State: 77:[35, 27], Operations: ['26+37=63', '90-63=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[35, 27], Operations: ['26+37=63', '90-63=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,2 Current State: 77:[35, 90, 63], Operations: ['26+37=63'] Exploring Operation: 90+63=153, Resulting Numbers: [35, 153] Generated Node #0,2,5: 77:[35, 153] Operation: 90+63=153 Moving to Node #0,2,5 Current State: 77:[35, 153], Operations: ['26+37=63', '90+63=153'] Exploring Operation: 153-35=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 90-26=64, Resulting Numbers: [35, 37, 64] Generated Node #0,3: 77:[35, 37, 64] Operation: 90-26=64 Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 35+37=72, Resulting Numbers: [64, 72] Generated Node #0,3,0: 77:[64, 72] Operation: 35+37=72 Moving to Node #0,3,0 Current State: 77:[64, 72], Operations: ['90-26=64', '35+37=72'] Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[64, 72], Operations: ['90-26=64', '35+37=72'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 35+64=99, Resulting Numbers: [37, 99] Generated Node #0,3,1: 77:[37, 99] Operation: 35+64=99 Moving to Node #0,3,1 Current State: 77:[37, 99], Operations: ['90-26=64', '35+64=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[37, 99], Operations: ['90-26=64', '35+64=99'] Exploring Operation: 37+99=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 37+64=101, Resulting Numbers: [35, 101] Generated Node #0,3,2: 77:[35, 101] Operation: 37+64=101 Moving to Node #0,3,2 Current State: 77:[35, 101], Operations: ['90-26=64', '37+64=101'] Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[35, 101], Operations: ['90-26=64', '37+64=101'] Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 37-35=2, Resulting Numbers: [64, 2] Generated Node #0,3,3: 77:[64, 2] Operation: 37-35=2 Moving to Node #0,3,3 Current State: 77:[64, 2], Operations: ['90-26=64', '37-35=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[64, 2], Operations: ['90-26=64', '37-35=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[64, 2], Operations: ['90-26=64', '37-35=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[64, 2], Operations: ['90-26=64', '37-35=2'] Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,77 unequal: No Solution Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 64-35=29, Resulting Numbers: [37, 29] Generated Node #0,3,4: 77:[37, 29] Operation: 64-35=29 Moving to Node #0,3,4 Current State: 77:[37, 29], Operations: ['90-26=64', '64-35=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[37, 29], Operations: ['90-26=64', '64-35=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,3 Current State: 77:[35, 37, 64], Operations: ['90-26=64'] Exploring Operation: 64-37=27, Resulting Numbers: [35, 27] Generated Node #0,3,5: 77:[35, 27] Operation: 64-37=27 Moving to Node #0,3,5 Current State: 77:[35, 27], Operations: ['90-26=64', '64-37=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,5 Current State: 77:[35, 27], Operations: ['90-26=64', '64-37=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 90-35=55, Resulting Numbers: [26, 37, 55] Generated Node #0,4: 77:[26, 37, 55] Operation: 90-35=55 Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 26+37=63, Resulting Numbers: [55, 63] Generated Node #0,4,0: 77:[55, 63] Operation: 26+37=63 Moving to Node #0,4,0 Current State: 77:[55, 63], Operations: ['90-35=55', '26+37=63'] Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[55, 63], Operations: ['90-35=55', '26+37=63'] Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 26+55=81, Resulting Numbers: [37, 81] Generated Node #0,4,1: 77:[37, 81] Operation: 26+55=81 Moving to Node #0,4,1 Current State: 77:[37, 81], Operations: ['90-35=55', '26+55=81'] Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[37, 81], Operations: ['90-35=55', '26+55=81'] Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 37+55=92, Resulting Numbers: [26, 92] Generated Node #0,4,2: 77:[26, 92] Operation: 37+55=92 Moving to Node #0,4,2 Current State: 77:[26, 92], Operations: ['90-35=55', '37+55=92'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[26, 92], Operations: ['90-35=55', '37+55=92'] Exploring Operation: 26+92=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 37-26=11, Resulting Numbers: [55, 11] Generated Node #0,4,3: 77:[55, 11] Operation: 37-26=11 Moving to Node #0,4,3 Current State: 77:[55, 11], Operations: ['90-35=55', '37-26=11'] Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[55, 11], Operations: ['90-35=55', '37-26=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[55, 11], Operations: ['90-35=55', '37-26=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 55-26=29, Resulting Numbers: [37, 29] Generated Node #0,4,4: 77:[37, 29] Operation: 55-26=29 Moving to Node #0,4,4 Current State: 77:[37, 29], Operations: ['90-35=55', '55-26=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[37, 29], Operations: ['90-35=55', '55-26=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,4 Current State: 77:[26, 37, 55], Operations: ['90-35=55'] Exploring Operation: 55-37=18, Resulting Numbers: [26, 18] Generated Node #0,4,5: 77:[26, 18] Operation: 55-37=18 Moving to Node #0,4,5 Current State: 77:[26, 18], Operations: ['90-35=55', '55-37=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,4,5 Current State: 77:[26, 18], Operations: ['90-35=55', '55-37=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [35, 26, 53] Generated Node #0,5: 77:[35, 26, 53] Operation: 90-37=53 Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 35+26=61, Resulting Numbers: [53, 61] Generated Node #0,5,0: 77:[53, 61] Operation: 35+26=61 Moving to Node #0,5,0 Current State: 77:[53, 61], Operations: ['90-37=53', '35+26=61'] Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,5,0 Current State: 77:[53, 61], Operations: ['90-37=53', '35+26=61'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 26+53=79, Resulting Numbers: [35, 79] Generated Node #0,5,1: 77:[35, 79] Operation: 26+53=79 Moving to Node #0,5,1 Current State: 77:[35, 79], Operations: ['90-37=53', '26+53=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,5,1 Current State: 77:[35, 79], Operations: ['90-37=53', '26+53=79'] Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 35+53=88, Resulting Numbers: [26, 88] Generated Node #0,5,2: 77:[26, 88] Operation: 35+53=88 Moving to Node #0,5,2 Current State: 77:[26, 88], Operations: ['90-37=53', '35+53=88'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,5,2 Current State: 77:[26, 88], Operations: ['90-37=53', '35+53=88'] Exploring Operation: 26+88=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 35-26=9, Resulting Numbers: [53, 9] Generated Node #0,5,3: 77:[53, 9] Operation: 35-26=9 Moving to Node #0,5,3 Current State: 77:[53, 9], Operations: ['90-37=53', '35-26=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,5,3 Current State: 77:[53, 9], Operations: ['90-37=53', '35-26=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 53-26=27, Resulting Numbers: [35, 27] Generated Node #0,5,4: 77:[35, 27] Operation: 53-26=27 Moving to Node #0,5,4 Current State: 77:[35, 27], Operations: ['90-37=53', '53-26=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,5,4 Current State: 77:[35, 27], Operations: ['90-37=53', '53-26=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,5 Current State: 77:[35, 26, 53], Operations: ['90-37=53'] Exploring Operation: 53-35=18, Resulting Numbers: [26, 18] Generated Node #0,5,5: 77:[26, 18] Operation: 53-35=18 Moving to Node #0,5,5 Current State: 77:[26, 18], Operations: ['90-37=53', '53-35=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,5,5 Current State: 77:[26, 18], Operations: ['90-37=53', '53-35=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 35-26=9, Resulting Numbers: [37, 90, 9] Generated Node #0,6: 77:[37, 90, 9] Operation: 35-26=9 Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 37+9=46, Resulting Numbers: [90, 46] Generated Node #0,6,0: 77:[90, 46] Operation: 37+9=46 Moving to Node #0,6,0 Current State: 77:[90, 46], Operations: ['35-26=9', '37+9=46'] Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,6,0 Current State: 77:[90, 46], Operations: ['35-26=9', '37+9=46'] Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 90-9=81, Resulting Numbers: [37, 81] Generated Node #0,6,1: 77:[37, 81] Operation: 90-9=81 Moving to Node #0,6,1 Current State: 77:[37, 81], Operations: ['35-26=9', '90-9=81'] Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,6,1 Current State: 77:[37, 81], Operations: ['35-26=9', '90-9=81'] Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 37-9=28, Resulting Numbers: [90, 28] Generated Node #0,6,2: 77:[90, 28] Operation: 37-9=28 Moving to Node #0,6,2 Current State: 77:[90, 28], Operations: ['35-26=9', '37-9=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,6,2 Current State: 77:[90, 28], Operations: ['35-26=9', '37-9=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 90+9=99, Resulting Numbers: [37, 99] Generated Node #0,6,3: 77:[37, 99] Operation: 90+9=99 Moving to Node #0,6,3 Current State: 77:[37, 99], Operations: ['35-26=9', '90+9=99'] Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,6,3 Current State: 77:[37, 99], Operations: ['35-26=9', '90+9=99'] Exploring Operation: 37+99=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 90-37=53, Resulting Numbers: [9, 53] Generated Node #0,6,4: 77:[9, 53] Operation: 90-37=53 Moving to Node #0,6,4 Current State: 77:[9, 53], Operations: ['35-26=9', '90-37=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,6,4 Current State: 77:[9, 53], Operations: ['35-26=9', '90-37=53'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 90/9=10, Resulting Numbers: [37, 10] Generated Node #0,6,5: 77:[37, 10] Operation: 90/9=10 Moving to Node #0,6,5 Current State: 77:[37, 10], Operations: ['35-26=9', '90/9=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,77 unequal: No Solution Moving to Node #0,6,5 Current State: 77:[37, 10], Operations: ['35-26=9', '90/9=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,77 unequal: No Solution Moving to Node #0,6 Current State: 77:[37, 90, 9], Operations: ['35-26=9'] Exploring Operation: 37+90=127, Resulting Numbers: [9, 127] Generated Node #0,6,6: 77:[9, 127] Operation: 37+90=127 Moving to Node #0,6,6 Current State: 77:[9, 127], Operations: ['35-26=9', '37+90=127'] Exploring Operation: 127-9=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,6,6 Current State: 77:[9, 127], Operations: ['35-26=9', '37+90=127'] Exploring Operation: 9+127=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [35, 90, 11] Generated Node #0,7: 77:[35, 90, 11] Operation: 37-26=11 Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 35+11=46, Resulting Numbers: [90, 46] Generated Node #0,7,0: 77:[90, 46] Operation: 35+11=46 Moving to Node #0,7,0 Current State: 77:[90, 46], Operations: ['37-26=11', '35+11=46'] Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,7,0 Current State: 77:[90, 46], Operations: ['37-26=11', '35+11=46'] Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 90-11=79, Resulting Numbers: [35, 79] Generated Node #0,7,1: 77:[35, 79] Operation: 90-11=79 Moving to Node #0,7,1 Current State: 77:[35, 79], Operations: ['37-26=11', '90-11=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,7,1 Current State: 77:[35, 79], Operations: ['37-26=11', '90-11=79'] Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 35-11=24, Resulting Numbers: [90, 24] Generated Node #0,7,2: 77:[90, 24] Operation: 35-11=24 Moving to Node #0,7,2 Current State: 77:[90, 24], Operations: ['37-26=11', '35-11=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,7,2 Current State: 77:[90, 24], Operations: ['37-26=11', '35-11=24'] Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 90+11=101, Resulting Numbers: [35, 101] Generated Node #0,7,3: 77:[35, 101] Operation: 90+11=101 Moving to Node #0,7,3 Current State: 77:[35, 101], Operations: ['37-26=11', '90+11=101'] Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,7,3 Current State: 77:[35, 101], Operations: ['37-26=11', '90+11=101'] Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 90-35=55, Resulting Numbers: [11, 55] Generated Node #0,7,4: 77:[11, 55] Operation: 90-35=55 Moving to Node #0,7,4 Current State: 77:[11, 55], Operations: ['37-26=11', '90-35=55'] Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,7,4 Current State: 77:[11, 55], Operations: ['37-26=11', '90-35=55'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,7,4 Current State: 77:[11, 55], Operations: ['37-26=11', '90-35=55'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,7 Current State: 77:[35, 90, 11], Operations: ['37-26=11'] Exploring Operation: 35+90=125, Resulting Numbers: [11, 125] Generated Node #0,7,5: 77:[11, 125] Operation: 35+90=125 Moving to Node #0,7,5 Current State: 77:[11, 125], Operations: ['37-26=11', '35+90=125'] Exploring Operation: 125-11=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,7,5 Current State: 77:[11, 125], Operations: ['37-26=11', '35+90=125'] Exploring Operation: 11+125=136, Resulting Numbers: [136] 136,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 26+90=116, Resulting Numbers: [35, 37, 116] Generated Node #0,8: 77:[35, 37, 116] Operation: 26+90=116 Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 35+37=72, Resulting Numbers: [116, 72] Generated Node #0,8,0: 77:[116, 72] Operation: 35+37=72 Moving to Node #0,8,0 Current State: 77:[116, 72], Operations: ['26+90=116', '35+37=72'] Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 116-35=81, Resulting Numbers: [37, 81] Generated Node #0,8,1: 77:[37, 81] Operation: 116-35=81 Moving to Node #0,8,1 Current State: 77:[37, 81], Operations: ['26+90=116', '116-35=81'] Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,8,1 Current State: 77:[37, 81], Operations: ['26+90=116', '116-35=81'] Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 116-37=79, Resulting Numbers: [35, 79] Generated Node #0,8,2: 77:[35, 79] Operation: 116-37=79 Moving to Node #0,8,2 Current State: 77:[35, 79], Operations: ['26+90=116', '116-37=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,8,2 Current State: 77:[35, 79], Operations: ['26+90=116', '116-37=79'] Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 37-35=2, Resulting Numbers: [116, 2] Generated Node #0,8,3: 77:[116, 2] Operation: 37-35=2 Moving to Node #0,8,3 Current State: 77:[116, 2], Operations: ['26+90=116', '37-35=2'] Exploring Operation: 116/2=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,8,3 Current State: 77:[116, 2], Operations: ['26+90=116', '37-35=2'] Exploring Operation: 116-2=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,8,3 Current State: 77:[116, 2], Operations: ['26+90=116', '37-35=2'] Exploring Operation: 116+2=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 35+116=151, Resulting Numbers: [37, 151] Generated Node #0,8,4: 77:[37, 151] Operation: 35+116=151 Moving to Node #0,8,4 Current State: 77:[37, 151], Operations: ['26+90=116', '35+116=151'] Exploring Operation: 151-37=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,8 Current State: 77:[35, 37, 116], Operations: ['26+90=116'] Exploring Operation: 37+116=153, Resulting Numbers: [35, 153] Generated Node #0,8,5: 77:[35, 153] Operation: 37+116=153 Moving to Node #0,8,5 Current State: 77:[35, 153], Operations: ['26+90=116', '37+116=153'] Exploring Operation: 153-35=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0 Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [26, 90, 2] Generated Node #0,9: 77:[26, 90, 2] Operation: 37-35=2 Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 26*2=52, Resulting Numbers: [90, 52] Generated Node #0,9,0: 77:[90, 52] Operation: 26*2=52 Moving to Node #0,9,0 Current State: 77:[90, 52], Operations: ['37-35=2', '26*2=52'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,9,0 Current State: 77:[90, 52], Operations: ['37-35=2', '26*2=52'] Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,77 unequal: No Solution Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 26+2=28, Resulting Numbers: [90, 28] Generated Node #0,9,1: 77:[90, 28] Operation: 26+2=28 Moving to Node #0,9,1 Current State: 77:[90, 28], Operations: ['37-35=2', '26+2=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,9,1 Current State: 77:[90, 28], Operations: ['37-35=2', '26+2=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 90-2=88, Resulting Numbers: [26, 88] Generated Node #0,9,2: 77:[26, 88] Operation: 90-2=88 Moving to Node #0,9,2 Current State: 77:[26, 88], Operations: ['37-35=2', '90-2=88'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,9,2 Current State: 77:[26, 88], Operations: ['37-35=2', '90-2=88'] Exploring Operation: 26+88=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 26-2=24, Resulting Numbers: [90, 24] Generated Node #0,9,3: 77:[90, 24] Operation: 26-2=24 Moving to Node #0,9,3 Current State: 77:[90, 24], Operations: ['37-35=2', '26-2=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,9,3 Current State: 77:[90, 24], Operations: ['37-35=2', '26-2=24'] Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,77 unequal: No Solution Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 90+2=92, Resulting Numbers: [26, 92] Generated Node #0,9,4: 77:[26, 92] Operation: 90+2=92 Moving to Node #0,9,4 Current State: 77:[26, 92], Operations: ['37-35=2', '90+2=92'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,9,4 Current State: 77:[26, 92], Operations: ['37-35=2', '90+2=92'] Exploring Operation: 26+92=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,9 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 26/2=13, Resulting Numbers: [90, 13] Generated Node #0,9,5: 77:[90, 13] Operation: 26/2=13 Moving to Node #0,9,5 Current State: 77:[90, 13], Operations: ['37-35=2', '26/2=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.838542
dfs
Current State: 77:[35, 26, 37, 90], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [26, 90, 2] Generated Node #2: [26, 90, 2] from Operation: 37-35=2 Current State: 77:[26, 90, 2], Operations: ['37-35=2'] Exploring Operation: 26/2=13, Resulting Numbers: [90, 13] Generated Node #3: [90, 13] from Operation: 26/2=13 Current State: 77:[90, 13], Operations: ['37-35=2', '26/2=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
sum_heuristic
[ 66, 97, 61, 35 ]
67
[ "66+97=163", "61+35=96", "163-96=67" ]
Current State: 67:[66, 97, 61, 35], Operations: [] Exploring Operation: 66+35=101, Resulting Numbers: [97, 61, 101] Generated Node #0,0: 67:[97, 61, 101] Operation: 66+35=101 Exploring Operation: 97-61=36, Resulting Numbers: [66, 35, 36] Generated Node #0,1: 67:[66, 35, 36] Operation: 97-61=36 Exploring Operation: 97-35=62, Resulting Numbers: [66, 61, 62] Generated Node #0,2: 67:[66, 61, 62] Operation: 97-35=62 Exploring Operation: 61+35=96, Resulting Numbers: [66, 97, 96] Generated Node #0,3: 67:[66, 97, 96] Operation: 61+35=96 Moving to Node #0,2 Current State: 67:[66, 61, 62], Operations: ['97-35=62'] Exploring Operation: 66+62=128, Resulting Numbers: [61, 128] Generated Node #0,2,0: 67:[61, 128] Operation: 66+62=128 Exploring Operation: 66+61=127, Resulting Numbers: [62, 127] Generated Node #0,2,1: 67:[62, 127] Operation: 66+61=127 Exploring Operation: 61+62=123, Resulting Numbers: [66, 123] Generated Node #0,2,2: 67:[66, 123] Operation: 61+62=123 Exploring Operation: 66-61=5, Resulting Numbers: [62, 5] Generated Node #0,2,3: 67:[62, 5] Operation: 66-61=5 Moving to Node #0,3 Current State: 67:[66, 97, 96], Operations: ['61+35=96'] Exploring Operation: 66+97=163, Resulting Numbers: [96, 163] Generated Node #0,3,0: 67:[96, 163] Operation: 66+97=163 Exploring Operation: 97-66=31, Resulting Numbers: [96, 31] Generated Node #0,3,1: 67:[96, 31] Operation: 97-66=31 Exploring Operation: 97-96=1, Resulting Numbers: [66, 1] Generated Node #0,3,2: 67:[66, 1] Operation: 97-96=1 Exploring Operation: 96-66=30, Resulting Numbers: [97, 30] Generated Node #0,3,3: 67:[97, 30] Operation: 96-66=30 Moving to Node #0,1 Current State: 67:[66, 35, 36], Operations: ['97-61=36'] Exploring Operation: 35+36=71, Resulting Numbers: [66, 71] Generated Node #0,1,0: 67:[66, 71] Operation: 35+36=71 Exploring Operation: 66-35=31, Resulting Numbers: [36, 31] Generated Node #0,1,1: 67:[36, 31] Operation: 66-35=31 Exploring Operation: 66+36=102, Resulting Numbers: [35, 102] Generated Node #0,1,2: 67:[35, 102] Operation: 66+36=102 Exploring Operation: 66+35=101, Resulting Numbers: [36, 101] Generated Node #0,1,3: 67:[36, 101] Operation: 66+35=101 Moving to Node #0,0 Current State: 67:[97, 61, 101], Operations: ['66+35=101'] Exploring Operation: 97-61=36, Resulting Numbers: [101, 36] Generated Node #0,0,0: 67:[101, 36] Operation: 97-61=36 Exploring Operation: 97+61=158, Resulting Numbers: [101, 158] Generated Node #0,0,1: 67:[101, 158] Operation: 97+61=158 Exploring Operation: 101-97=4, Resulting Numbers: [61, 4] Generated Node #0,0,2: 67:[61, 4] Operation: 101-97=4 Exploring Operation: 101-61=40, Resulting Numbers: [97, 40] Generated Node #0,0,3: 67:[97, 40] Operation: 101-61=40 Moving to Node #0,1,0 Current State: 67:[66, 71], Operations: ['97-61=36', '35+36=71'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[97, 40], Operations: ['66+35=101', '101-61=40'] Exploring Operation: 97*40=3880, Resulting Numbers: [3880] 3880,67 unequal: No Solution Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 97+40=137, Resulting Numbers: [137] 137,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[66, 123], Operations: ['97-35=62', '61+62=123'] Exploring Operation: 66+123=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 66*123=8118, Resulting Numbers: [8118] 8118,67 unequal: No Solution Exploring Operation: 123-66=57, Resulting Numbers: [57] 57,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[101, 36], Operations: ['66+35=101', '97-61=36'] Exploring Operation: 101+36=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 101*36=3636, Resulting Numbers: [3636] 3636,67 unequal: No Solution Moving to Node #0,0,0,0 Current State: 67:[65], Operations: ['66+35=101', '97-61=36', '101-36=65'] Moving to Node #0,0,3,0 Current State: 67:[57], Operations: ['66+35=101', '101-61=40', '97-40=57'] Moving to Node #0,2,2,0 Current State: 67:[57], Operations: ['97-35=62', '61+62=123', '123-66=57'] Moving to Node #0,1,0,0 Current State: 67:[5], Operations: ['97-61=36', '35+36=71', '71-66=5'] Moving to Node #0,3,1 Current State: 67:[96, 31], Operations: ['61+35=96', '97-66=31'] Exploring Operation: 96+31=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 96*31=2976, Resulting Numbers: [2976] 2976,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[36, 101], Operations: ['97-61=36', '66+35=101'] Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 36*101=3636, Resulting Numbers: [3636] 3636,67 unequal: No Solution Exploring Operation: 36+101=137, Resulting Numbers: [137] 137,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[62, 127], Operations: ['97-35=62', '66+61=127'] Exploring Operation: 127-62=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 62+127=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 62*127=7874, Resulting Numbers: [7874] 7874,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[97, 30], Operations: ['61+35=96', '96-66=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.962674
bfs_4
Current State: 67:[66, 97, 61, 35], Operations: [] Exploring Operation: 66+97=163, Resulting Numbers: [61, 35, 163] Generated Node #2: [61, 35, 163] from Operation: 66+97=163 Current State: 67:[61, 35, 163], Operations: ['66+97=163'] Exploring Operation: 61+35=96, Resulting Numbers: [163, 96] Generated Node #3: [163, 96] from Operation: 61+35=96 Current State: 67:[163, 96], Operations: ['66+97=163', '61+35=96'] Exploring Operation: 163-96=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
mult_heuristic
[ 38, 33, 5, 3 ]
75
[ "38-33=5", "5*3=15", "5*15=75" ]
Current State: 75:[38, 33, 5, 3], Operations: [] Exploring Operation: 33*3=99, Resulting Numbers: [38, 5, 99] Generated Node #0,0: 75:[38, 5, 99] Operation: 33*3=99 Exploring Operation: 5*3=15, Resulting Numbers: [38, 33, 15] Generated Node #0,1: 75:[38, 33, 15] Operation: 5*3=15 Moving to Node #0,0 Current State: 75:[38, 5, 99], Operations: ['33*3=99'] Exploring Operation: 38+5=43, Resulting Numbers: [99, 43] Generated Node #0,0,0: 75:[99, 43] Operation: 38+5=43 Exploring Operation: 99-5=94, Resulting Numbers: [38, 94] Generated Node #0,0,1: 75:[38, 94] Operation: 99-5=94 Moving to Node #0,1 Current State: 75:[38, 33, 15], Operations: ['5*3=15'] Exploring Operation: 38+33=71, Resulting Numbers: [15, 71] Generated Node #0,1,0: 75:[15, 71] Operation: 38+33=71 Exploring Operation: 38+15=53, Resulting Numbers: [33, 53] Generated Node #0,1,1: 75:[33, 53] Operation: 38+15=53 Moving to Node #0,0,0 Current State: 75:[99, 43], Operations: ['33*3=99', '38+5=43'] Exploring Operation: 99-43=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 99+43=142, Resulting Numbers: [142] 142,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[38, 94], Operations: ['33*3=99', '99-5=94'] Exploring Operation: 38+94=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,75 unequal: No Solution Moving to Node #0,0,0,0 Current State: 75:[56], Operations: ['33*3=99', '38+5=43', '99-43=56'] Moving to Node #0,0,1,0 Current State: 75:[56], Operations: ['33*3=99', '99-5=94', '94-38=56'] Moving to Node #0,1,1 Current State: 75:[33, 53], Operations: ['5*3=15', '38+15=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[15, 71], Operations: ['5*3=15', '38+33=71'] Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,75 unequal: No Solution Moving to Node #0,1,1,0 Current State: 75:[86], Operations: ['5*3=15', '38+15=53', '33+53=86'] Moving to Node #0,1,0,0 Current State: 75:[86], Operations: ['5*3=15', '38+33=71', '15+71=86'] Moving to Node #0,1,0,0 Current State: 75:[56], Operations: ['5*3=15', '38+33=71', '71-15=56'] Moving to Node #0,1,1,0 Current State: 75:[20], Operations: ['5*3=15', '38+15=53', '53-33=20'] Moving to Node #0,0,1,0 Current State: 75:[132], Operations: ['33*3=99', '99-5=94', '38+94=132'] Moving to Node #0,0,0,0 Current State: 75:[142], Operations: ['33*3=99', '38+5=43', '99+43=142'] No solution found.
0
bfs_2
Current State: 75:[38, 33, 5, 3], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [5, 3, 5] Generated Node #2: [5, 3, 5] from Operation: 38-33=5 Current State: 75:[5, 3, 5], Operations: ['38-33=5'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,75 equal: Goal Reached Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
sum_heuristic
[ 6, 38, 43, 27 ]
38
[ "38-6=32", "43+27=70", "70-32=38" ]
Current State: 38:[6, 38, 43, 27], Operations: [] Exploring Operation: 6+27=33, Resulting Numbers: [38, 43, 33] Generated Node #0,0: 38:[38, 43, 33] Operation: 6+27=33 Moving to Node #0,0 Current State: 38:[38, 43, 33], Operations: ['6+27=33'] Exploring Operation: 43-33=10, Resulting Numbers: [38, 10] Generated Node #0,0,0: 38:[38, 10] Operation: 43-33=10 Moving to Node #0,0,0 Current State: 38:[38, 10], Operations: ['6+27=33', '43-33=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,38 unequal: No Solution Moving to Node #0,0,0,0 Current State: 38:[48], Operations: ['6+27=33', '43-33=10', '38+10=48'] No solution found.
0
bfs_1
Current State: 38:[6, 38, 43, 27], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [43, 27, 32] Generated Node #2: [43, 27, 32] from Operation: 38-6=32 Current State: 38:[43, 27, 32], Operations: ['38-6=32'] Exploring Operation: 43+27=70, Resulting Numbers: [32, 70] Generated Node #3: [32, 70] from Operation: 43+27=70 Current State: 38:[32, 70], Operations: ['38-6=32', '43+27=70'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
sum_heuristic
[ 33, 22, 28, 99 ]
72
[ "33+22=55", "28+99=127", "127-55=72" ]
Current State: 72:[33, 22, 28, 99], Operations: [] Exploring Operation: 33+22=55, Resulting Numbers: [28, 99, 55] Generated Node #0,0: 72:[28, 99, 55] Operation: 33+22=55 Moving to Node #0,0 Current State: 72:[28, 99, 55], Operations: ['33+22=55'] Exploring Operation: 99-28=71, Resulting Numbers: [55, 71] Generated Node #0,0,0: 72:[55, 71] Operation: 99-28=71 Moving to Node #0,0,0 Current State: 72:[55, 71], Operations: ['33+22=55', '99-28=71'] Exploring Operation: 55+71=126, Resulting Numbers: [126] 126,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[55, 71], Operations: ['33+22=55', '99-28=71'] Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[28, 99, 55], Operations: ['33+22=55'] Exploring Operation: 28+55=83, Resulting Numbers: [99, 83] Generated Node #0,0,1: 72:[99, 83] Operation: 28+55=83 Moving to Node #0,0,1 Current State: 72:[99, 83], Operations: ['33+22=55', '28+55=83'] Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,72 unequal: No Solution Moving to Node #0,0 Current State: 72:[28, 99, 55], Operations: ['33+22=55'] Exploring Operation: 28+99=127, Resulting Numbers: [55, 127] Generated Node #0,0,2: 72:[55, 127] Operation: 28+99=127 Moving to Node #0,0,2 Current State: 72:[55, 127], Operations: ['33+22=55', '28+99=127'] Exploring Operation: 127-55=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.992188
dfs
Current State: 72:[33, 22, 28, 99], Operations: [] Exploring Operation: 33+22=55, Resulting Numbers: [28, 99, 55] Generated Node #2: [28, 99, 55] from Operation: 33+22=55 Current State: 72:[28, 99, 55], Operations: ['33+22=55'] Exploring Operation: 28+99=127, Resulting Numbers: [55, 127] Generated Node #3: [55, 127] from Operation: 28+99=127 Current State: 72:[55, 127], Operations: ['33+22=55', '28+99=127'] Exploring Operation: 127-55=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
sum_heuristic
[ 12, 63, 96, 99 ]
33
[ "99-96=3", "63/3=21", "12+21=33" ]
Current State: 33:[12, 63, 96, 99], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [12, 63, 3] Generated Node #0,0: 33:[12, 63, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 33:[12, 63, 3], Operations: ['99-96=3'] Exploring Operation: 12*3=36, Resulting Numbers: [63, 36] Generated Node #0,0,0: 33:[63, 36] Operation: 12*3=36 Moving to Node #0,0,0 Current State: 33:[63, 36], Operations: ['99-96=3', '12*3=36'] Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,33 unequal: No Solution Moving to Node #0,0 Current State: 33:[12, 63, 3], Operations: ['99-96=3'] Exploring Operation: 63/3=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 33:[12, 21] Operation: 63/3=21 Moving to Node #0,0,1 Current State: 33:[12, 21], Operations: ['99-96=3', '63/3=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.994792
dfs
Current State: 33:[12, 63, 96, 99], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [12, 63, 3] Generated Node #2: [12, 63, 3] from Operation: 99-96=3 Current State: 33:[12, 63, 3], Operations: ['99-96=3'] Exploring Operation: 63/3=21, Resulting Numbers: [12, 21] Generated Node #3: [12, 21] from Operation: 63/3=21 Current State: 33:[12, 21], Operations: ['99-96=3', '63/3=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
sum_heuristic