Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 25, 69, 65, 76 ]
97
[ "69-25=44", "65+76=141", "141-44=97" ]
Current State: 97:[25, 69, 65, 76], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [65, 76, 44] Generated Node #2: [65, 76, 44] from Operation: 69-25=44 Current State: 97:[65, 76, 44], Operations: ['69-25=44'] Exploring Operation: 65+76=141, Resulting Numbers: [44, 141] Generated Node #3: [44, 141] from Operation: 65+76=141 Current State: 97:[44, 141], Operations: ['69-25=44', '65+76=141'] Exploring Operation: 141-44=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[25, 69, 65, 76], Operations: [] Exploring Operation: 25+76=101, Resulting Numbers: [69, 65, 101] Generated Node #0,0: 97:[69, 65, 101] Operation: 25+76=101 Exploring Operation: 25+65=90, Resulting Numbers: [69, 76, 90] Generated Node #0,1: 97:[69, 76, 90] Operation: 25+65=90 Exploring Operation: 25+69=94, Resulting Numbers: [65, 76, 94] Generated Node #0,2: 97:[65, 76, 94] Operation: 25+69=94 Exploring Operation: 69-25=44, Resulting Numbers: [65, 76, 44] Generated Node #0,3: 97:[65, 76, 44] Operation: 69-25=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[69, 76, 90], Operations: ['25+65=90'] Exploring Operation: 90-69=21, Resulting Numbers: [76, 21] Generated Node #0,1,0: 97:[76, 21] Operation: 90-69=21 Exploring Operation: 76-69=7, Resulting Numbers: [90, 7] Generated Node #0,1,1: 97:[90, 7] Operation: 76-69=7 Exploring Operation: 69+76=145, Resulting Numbers: [90, 145] Generated Node #0,1,2: 97:[90, 145] Operation: 69+76=145 Exploring Operation: 69+90=159, Resulting Numbers: [76, 159] Generated Node #0,1,3: 97:[76, 159] Operation: 69+90=159 Moving to Node #0,1,2 Current State: 97:[90, 145], Operations: ['25+65=90', '69+76=145'] Exploring Operation: 145-90=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 90+145=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 90*145=13050, Resulting Numbers: [13050] 13050,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[76, 159], Operations: ['25+65=90', '69+90=159'] Exploring Operation: 159-76=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 76*159=12084, Resulting Numbers: [12084] 12084,97 unequal: No Solution Exploring Operation: 76+159=235, Resulting Numbers: [235] 235,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[90, 7], Operations: ['25+65=90', '76-69=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[25, 69, 65, 76], Operations: [] Exploring Operation: 25+65=90, Resulting Numbers: [69, 76, 90] Generated Node #0,1: 97:[69, 76, 90] Operation: 25+65=90 Moving to Node #0,1 Current State: 97:[69, 76, 90], Operations: ['25+65=90'] Exploring Operation: 76-69=7, Resulting Numbers: [90, 7] Generated Node #0,1,1: 97:[90, 7] Operation: 76-69=7 Moving to Node #0,1,1 Current State: 97:[90, 7], Operations: ['25+65=90', '76-69=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 66, 65, 72, 22 ]
37
[ "66+65=131", "72+22=94", "131-94=37" ]
Current State: 37:[66, 65, 72, 22], Operations: [] Exploring Operation: 66+65=131, Resulting Numbers: [72, 22, 131] Generated Node #2: [72, 22, 131] from Operation: 66+65=131 Current State: 37:[72, 22, 131], Operations: ['66+65=131'] Exploring Operation: 72+22=94, Resulting Numbers: [131, 94] Generated Node #3: [131, 94] from Operation: 72+22=94 Current State: 37:[131, 94], Operations: ['66+65=131', '72+22=94'] Exploring Operation: 131-94=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[66, 65, 72, 22], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [65, 72, 44] Generated Node #0,0: 37:[65, 72, 44] Operation: 66-22=44 Exploring Operation: 65-22=43, Resulting Numbers: [66, 72, 43] Generated Node #0,1: 37:[66, 72, 43] Operation: 65-22=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[65, 72, 44], Operations: ['66-22=44'] Exploring Operation: 72-65=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 37:[44, 7] Operation: 72-65=7 Exploring Operation: 72-44=28, Resulting Numbers: [65, 28] Generated Node #0,0,1: 37:[65, 28] Operation: 72-44=28 Moving to Node #0,0,0 Current State: 37:[44, 7], Operations: ['66-22=44', '72-65=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[66, 65, 72, 22], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [65, 72, 44] Generated Node #0,0: 37:[65, 72, 44] Operation: 66-22=44 Moving to Node #0,0 Current State: 37:[65, 72, 44], Operations: ['66-22=44'] Exploring Operation: 72-65=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 37:[44, 7] Operation: 72-65=7 Moving to Node #0,0,0 Current State: 37:[44, 7], Operations: ['66-22=44', '72-65=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 46, 88, 32, 93 ]
73
[ "46+88=134", "93-32=61", "134-61=73" ]
Current State: 73:[46, 88, 32, 93], Operations: [] Exploring Operation: 46+88=134, Resulting Numbers: [32, 93, 134] Generated Node #2: [32, 93, 134] from Operation: 46+88=134 Current State: 73:[32, 93, 134], Operations: ['46+88=134'] Exploring Operation: 93-32=61, Resulting Numbers: [134, 61] Generated Node #3: [134, 61] from Operation: 93-32=61 Current State: 73:[134, 61], Operations: ['46+88=134', '93-32=61'] Exploring Operation: 134-61=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[46, 88, 32, 93], Operations: [] Exploring Operation: 46+32=78, Resulting Numbers: [88, 93, 78] Generated Node #0,0: 73:[88, 93, 78] Operation: 46+32=78 Exploring Operation: 93-32=61, Resulting Numbers: [46, 88, 61] Generated Node #0,1: 73:[46, 88, 61] Operation: 93-32=61 Moving to Node #0,0 Current State: 73:[88, 93, 78], Operations: ['46+32=78'] Exploring Operation: 93-78=15, Resulting Numbers: [88, 15] Generated Node #0,0,0: 73:[88, 15] Operation: 93-78=15 Exploring Operation: 93-88=5, Resulting Numbers: [78, 5] Generated Node #0,0,1: 73:[78, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[88, 15], Operations: ['46+32=78', '93-78=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[46, 88, 32, 93], Operations: [] Exploring Operation: 46+32=78, Resulting Numbers: [88, 93, 78] Generated Node #0,0: 73:[88, 93, 78] Operation: 46+32=78 Moving to Node #0,0 Current State: 73:[88, 93, 78], Operations: ['46+32=78'] Exploring Operation: 93-78=15, Resulting Numbers: [88, 15] Generated Node #0,0,0: 73:[88, 15] Operation: 93-78=15 Moving to Node #0,0,0 Current State: 73:[88, 15], Operations: ['46+32=78', '93-78=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 37, 87, 16, 43 ]
97
[ "37+87=124", "43-16=27", "124-27=97" ]
Current State: 97:[37, 87, 16, 43], Operations: [] Exploring Operation: 37+87=124, Resulting Numbers: [16, 43, 124] Generated Node #2: [16, 43, 124] from Operation: 37+87=124 Current State: 97:[16, 43, 124], Operations: ['37+87=124'] Exploring Operation: 43-16=27, Resulting Numbers: [124, 27] Generated Node #3: [124, 27] from Operation: 43-16=27 Current State: 97:[124, 27], Operations: ['37+87=124', '43-16=27'] Exploring Operation: 124-27=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[37, 87, 16, 43], Operations: [] Exploring Operation: 37+16=53, Resulting Numbers: [87, 43, 53] Generated Node #0,0: 97:[87, 43, 53] Operation: 37+16=53 Exploring Operation: 16+43=59, Resulting Numbers: [37, 87, 59] Generated Node #0,1: 97:[37, 87, 59] Operation: 16+43=59 Exploring Operation: 37+43=80, Resulting Numbers: [87, 16, 80] Generated Node #0,2: 97:[87, 16, 80] Operation: 37+43=80 Exploring Operation: 87+16=103, Resulting Numbers: [37, 43, 103] Generated Node #0,3: 97:[37, 43, 103] Operation: 87+16=103 Exploring Operation: 37-16=21, Resulting Numbers: [87, 43, 21] Generated Node #0,4: 97:[87, 43, 21] Operation: 37-16=21 Moving to Node #0,0 Current State: 97:[87, 43, 53], Operations: ['37+16=53'] Exploring Operation: 87+43=130, Resulting Numbers: [53, 130] Generated Node #0,0,0: 97:[53, 130] Operation: 87+43=130 Exploring Operation: 87+53=140, Resulting Numbers: [43, 140] Generated Node #0,0,1: 97:[43, 140] Operation: 87+53=140 Exploring Operation: 43+53=96, Resulting Numbers: [87, 96] Generated Node #0,0,2: 97:[87, 96] Operation: 43+53=96 Exploring Operation: 87-43=44, Resulting Numbers: [53, 44] Generated Node #0,0,3: 97:[53, 44] Operation: 87-43=44 Exploring Operation: 53-43=10, Resulting Numbers: [87, 10] Generated Node #0,0,4: 97:[87, 10] Operation: 53-43=10 Moving to Node #0,2 Current State: 97:[87, 16, 80], Operations: ['37+43=80'] Exploring Operation: 87-16=71, Resulting Numbers: [80, 71] Generated Node #0,2,0: 97:[80, 71] Operation: 87-16=71 Exploring Operation: 16+80=96, Resulting Numbers: [87, 96] Generated Node #0,2,1: 97:[87, 96] Operation: 16+80=96 Exploring Operation: 80-16=64, Resulting Numbers: [87, 64] Generated Node #0,2,2: 97:[87, 64] Operation: 80-16=64 Exploring Operation: 87+16=103, Resulting Numbers: [80, 103] Generated Node #0,2,3: 97:[80, 103] Operation: 87+16=103 Exploring Operation: 80/16=5, Resulting Numbers: [87, 5] Generated Node #0,2,4: 97:[87, 5] Operation: 80/16=5 Moving to Node #0,1 Current State: 97:[37, 87, 59], Operations: ['16+43=59'] Exploring Operation: 37+87=124, Resulting Numbers: [59, 124] Generated Node #0,1,0: 97:[59, 124] Operation: 37+87=124 Exploring Operation: 59-37=22, Resulting Numbers: [87, 22] Generated Node #0,1,1: 97:[87, 22] Operation: 59-37=22 Exploring Operation: 87+59=146, Resulting Numbers: [37, 146] Generated Node #0,1,2: 97:[37, 146] Operation: 87+59=146 Exploring Operation: 37+59=96, Resulting Numbers: [87, 96] Generated Node #0,1,3: 97:[87, 96] Operation: 37+59=96 Exploring Operation: 87-37=50, Resulting Numbers: [59, 50] Generated Node #0,1,4: 97:[59, 50] Operation: 87-37=50 Moving to Node #0,3 Current State: 97:[37, 43, 103], Operations: ['87+16=103'] Exploring Operation: 43-37=6, Resulting Numbers: [103, 6] Generated Node #0,3,0: 97:[103, 6] Operation: 43-37=6 Exploring Operation: 37+43=80, Resulting Numbers: [103, 80] Generated Node #0,3,1: 97:[103, 80] Operation: 37+43=80 Exploring Operation: 103-37=66, Resulting Numbers: [43, 66] Generated Node #0,3,2: 97:[43, 66] Operation: 103-37=66 Exploring Operation: 37+103=140, Resulting Numbers: [43, 140] Generated Node #0,3,3: 97:[43, 140] Operation: 37+103=140 Exploring Operation: 103-43=60, Resulting Numbers: [37, 60] Generated Node #0,3,4: 97:[37, 60] Operation: 103-43=60 Moving to Node #0,4 Current State: 97:[87, 43, 21], Operations: ['37-16=21'] Exploring Operation: 43+21=64, Resulting Numbers: [87, 64] Generated Node #0,4,0: 97:[87, 64] Operation: 43+21=64 Exploring Operation: 43-21=22, Resulting Numbers: [87, 22] Generated Node #0,4,1: 97:[87, 22] Operation: 43-21=22 Exploring Operation: 87-21=66, Resulting Numbers: [43, 66] Generated Node #0,4,2: 97:[43, 66] Operation: 87-21=66 Exploring Operation: 87+21=108, Resulting Numbers: [43, 108] Generated Node #0,4,3: 97:[43, 108] Operation: 87+21=108 Exploring Operation: 87+43=130, Resulting Numbers: [21, 130] Generated Node #0,4,4: 97:[21, 130] Operation: 87+43=130 Moving to Node #0,0,2 Current State: 97:[87, 96], Operations: ['37+16=53', '43+53=96'] Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[87, 96], Operations: ['37+43=80', '16+80=96'] Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,97 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[87, 96], Operations: ['16+43=59', '37+59=96'] Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[80, 103], Operations: ['37+43=80', '87+16=103'] Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,97 unequal: No Solution Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[103, 80], Operations: ['87+16=103', '37+43=80'] Exploring Operation: 103+80=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 103*80=8240, Resulting Numbers: [8240] 8240,97 unequal: No Solution Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[80, 71], Operations: ['37+43=80', '87-16=71'] Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[87, 64], Operations: ['37-16=21', '43+21=64'] Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,97 unequal: No Solution Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[87, 64], Operations: ['37+43=80', '80-16=64'] Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,97 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[59, 124], Operations: ['16+43=59', '37+87=124'] Exploring Operation: 59*124=7316, Resulting Numbers: [7316] 7316,97 unequal: No Solution Exploring Operation: 59+124=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 124-59=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[43, 108], Operations: ['37-16=21', '87+21=108'] Exploring Operation: 43+108=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 108-43=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 43*108=4644, Resulting Numbers: [4644] 4644,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[53, 130], Operations: ['37+16=53', '87+43=130'] Exploring Operation: 53+130=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 53*130=6890, Resulting Numbers: [6890] 6890,97 unequal: No Solution Exploring Operation: 130-53=77, Resulting Numbers: [77] 77,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[59, 50], Operations: ['16+43=59', '87-37=50'] Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,97 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[87, 22], Operations: ['16+43=59', '59-37=22'] Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[87, 22], Operations: ['37-16=21', '43-21=22'] Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,97 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[43, 66], Operations: ['37-16=21', '87-21=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,97 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[43, 66], Operations: ['87+16=103', '103-37=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,97 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[103, 6], Operations: ['87+16=103', '43-37=6'] Exploring Operation: 103-6=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[37, 87, 16, 43], Operations: [] Exploring Operation: 87+16=103, Resulting Numbers: [37, 43, 103] Generated Node #0,3: 97:[37, 43, 103] Operation: 87+16=103 Moving to Node #0,3 Current State: 97:[37, 43, 103], Operations: ['87+16=103'] Exploring Operation: 43-37=6, Resulting Numbers: [103, 6] Generated Node #0,3,0: 97:[103, 6] Operation: 43-37=6 Moving to Node #0,3,0 Current State: 97:[103, 6], Operations: ['87+16=103', '43-37=6'] Exploring Operation: 103-6=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.927951
hs_5
mult_heuristic
[ 15, 18, 58, 77 ]
97
[ "18-15=3", "58*3=174", "174-77=97" ]
Current State: 97:[15, 18, 58, 77], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [58, 77, 3] Generated Node #2: [58, 77, 3] from Operation: 18-15=3 Current State: 97:[58, 77, 3], Operations: ['18-15=3'] Exploring Operation: 58*3=174, Resulting Numbers: [77, 174] Generated Node #3: [77, 174] from Operation: 58*3=174 Current State: 97:[77, 174], Operations: ['18-15=3', '58*3=174'] Exploring Operation: 174-77=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 18, 58, 77], Operations: [] Exploring Operation: 15+18=33, Resulting Numbers: [58, 77, 33] Generated Node #0,0: 97:[58, 77, 33] Operation: 15+18=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[58, 77, 33], Operations: ['15+18=33'] Exploring Operation: 58+33=91, Resulting Numbers: [77, 91] Generated Node #0,0,0: 97:[77, 91] Operation: 58+33=91 Moving to Node #0,0,0 Current State: 97:[77, 91], Operations: ['15+18=33', '58+33=91'] Exploring Operation: 77+91=168, Resulting Numbers: [168] 168,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 65, 86, 92 ]
76
[ "86-65=21", "8*21=168", "168-92=76" ]
Current State: 76:[8, 65, 86, 92], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [8, 92, 21] Generated Node #2: [8, 92, 21] from Operation: 86-65=21 Current State: 76:[8, 92, 21], Operations: ['86-65=21'] Exploring Operation: 8*21=168, Resulting Numbers: [92, 168] Generated Node #3: [92, 168] from Operation: 8*21=168 Current State: 76:[92, 168], Operations: ['86-65=21', '8*21=168'] Exploring Operation: 168-92=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[8, 65, 86, 92], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [8, 86, 27] Generated Node #0,0: 76:[8, 86, 27] Operation: 92-65=27 Exploring Operation: 8+65=73, Resulting Numbers: [86, 92, 73] Generated Node #0,1: 76:[86, 92, 73] Operation: 8+65=73 Exploring Operation: 86-65=21, Resulting Numbers: [8, 92, 21] Generated Node #0,2: 76:[8, 92, 21] Operation: 86-65=21 Exploring Operation: 92-86=6, Resulting Numbers: [8, 65, 6] Generated Node #0,3: 76:[8, 65, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[8, 65, 6], Operations: ['92-86=6'] Exploring Operation: 8-6=2, Resulting Numbers: [65, 2] Generated Node #0,3,0: 76:[65, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [65, 14] Generated Node #0,3,1: 76:[65, 14] Operation: 8+6=14 Exploring Operation: 8+65=73, Resulting Numbers: [6, 73] Generated Node #0,3,2: 76:[6, 73] Operation: 8+65=73 Exploring Operation: 65+6=71, Resulting Numbers: [8, 71] Generated Node #0,3,3: 76:[8, 71] Operation: 65+6=71 Moving to Node #0,3,2 Current State: 76:[6, 73], Operations: ['92-86=6', '8+65=73'] Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,76 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[8, 71], Operations: ['92-86=6', '65+6=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,76 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[65, 2], Operations: ['92-86=6', '8-6=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[65, 14], Operations: ['92-86=6', '8+6=14'] Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,76 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[8, 86, 27], Operations: ['92-65=27'] Exploring Operation: 86-27=59, Resulting Numbers: [8, 59] Generated Node #0,0,0: 76:[8, 59] Operation: 86-27=59 Exploring Operation: 86-8=78, Resulting Numbers: [27, 78] Generated Node #0,0,1: 76:[27, 78] Operation: 86-8=78 Exploring Operation: 27-8=19, Resulting Numbers: [86, 19] Generated Node #0,0,2: 76:[86, 19] Operation: 27-8=19 Exploring Operation: 8+27=35, Resulting Numbers: [86, 35] Generated Node #0,0,3: 76:[86, 35] Operation: 8+27=35 Moving to Node #0,0,1 Current State: 76:[27, 78], Operations: ['92-65=27', '86-8=78'] Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,76 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[86, 19], Operations: ['92-65=27', '27-8=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,76 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[86, 35], Operations: ['92-65=27', '8+27=35'] Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,76 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[8, 59], Operations: ['92-65=27', '86-27=59'] Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,76 unequal: No Solution Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[8, 92, 21], Operations: ['86-65=21'] Exploring Operation: 21-8=13, Resulting Numbers: [92, 13] Generated Node #0,2,0: 76:[92, 13] Operation: 21-8=13 Exploring Operation: 8+21=29, Resulting Numbers: [92, 29] Generated Node #0,2,1: 76:[92, 29] Operation: 8+21=29 Exploring Operation: 92-8=84, Resulting Numbers: [21, 84] Generated Node #0,2,2: 76:[21, 84] Operation: 92-8=84 Exploring Operation: 92-21=71, Resulting Numbers: [8, 71] Generated Node #0,2,3: 76:[8, 71] Operation: 92-21=71 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[8, 71], Operations: ['86-65=21', '92-21=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,76 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[21, 84], Operations: ['86-65=21', '92-8=84'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[92, 13], Operations: ['86-65=21', '21-8=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[92, 29], Operations: ['86-65=21', '8+21=29'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[86, 92, 73], Operations: ['8+65=73'] Exploring Operation: 92-86=6, Resulting Numbers: [73, 6] Generated Node #0,1,0: 76:[73, 6] Operation: 92-86=6 Exploring Operation: 86+73=159, Resulting Numbers: [92, 159] Generated Node #0,1,1: 76:[92, 159] Operation: 86+73=159 Exploring Operation: 86-73=13, Resulting Numbers: [92, 13] Generated Node #0,1,2: 76:[92, 13] Operation: 86-73=13 Exploring Operation: 92-73=19, Resulting Numbers: [86, 19] Generated Node #0,1,3: 76:[86, 19] Operation: 92-73=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[73, 6], Operations: ['8+65=73', '92-86=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 76:[86, 19], Operations: ['8+65=73', '92-73=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,76 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[92, 13], Operations: ['8+65=73', '86-73=13'] Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,76 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[92, 159], Operations: ['8+65=73', '86+73=159'] Exploring Operation: 92+159=251, Resulting Numbers: [251] 251,76 unequal: No Solution Exploring Operation: 159-92=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 92*159=14628, Resulting Numbers: [14628] 14628,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 41, 25, 3 ]
36
[ "41-4=37", "37-25=12", "3*12=36" ]
Current State: 36:[4, 41, 25, 3], Operations: [] Exploring Operation: 41-4=37, Resulting Numbers: [25, 3, 37] Generated Node #2: [25, 3, 37] from Operation: 41-4=37 Current State: 36:[25, 3, 37], Operations: ['41-4=37'] Exploring Operation: 37-25=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 37-25=12 Current State: 36:[3, 12], Operations: ['41-4=37', '37-25=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[4, 41, 25, 3], Operations: [] Exploring Operation: 41-25=16, Resulting Numbers: [4, 3, 16] Generated Node #0,0: 36:[4, 3, 16] Operation: 41-25=16 Moving to Node #0,0 Current State: 36:[4, 3, 16], Operations: ['41-25=16'] Exploring Operation: 16-4=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 16-4=12 Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['41-25=16', '16-4=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[4, 41, 25, 3], Operations: [] Exploring Operation: 41-25=16, Resulting Numbers: [4, 3, 16] Generated Node #0,0: 36:[4, 3, 16] Operation: 41-25=16 Moving to Node #0,0 Current State: 36:[4, 3, 16], Operations: ['41-25=16'] Exploring Operation: 16-4=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 16-4=12 Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['41-25=16', '16-4=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 48, 42, 96, 54 ]
100
[ "54-42=12", "48/12=4", "96+4=100" ]
Current State: 100:[48, 42, 96, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [48, 96, 12] Generated Node #2: [48, 96, 12] from Operation: 54-42=12 Current State: 100:[48, 96, 12], Operations: ['54-42=12'] Exploring Operation: 48/12=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 48/12=4 Current State: 100:[96, 4], Operations: ['54-42=12', '48/12=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[48, 42, 96, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [48, 96, 12] Generated Node #0,0: 100:[48, 96, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[48, 96, 12], Operations: ['54-42=12'] Exploring Operation: 96/48=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 100:[12, 2] Operation: 96/48=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[12, 2], Operations: ['54-42=12', '96/48=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 40, 49, 2, 25 ]
83
[ "40-25=15", "49*2=98", "98-15=83" ]
Current State: 83:[40, 49, 2, 25], Operations: [] Exploring Operation: 40-25=15, Resulting Numbers: [49, 2, 15] Generated Node #2: [49, 2, 15] from Operation: 40-25=15 Current State: 83:[49, 2, 15], Operations: ['40-25=15'] Exploring Operation: 49*2=98, Resulting Numbers: [15, 98] Generated Node #3: [15, 98] from Operation: 49*2=98 Current State: 83:[15, 98], Operations: ['40-25=15', '49*2=98'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 49, 2, 25], Operations: [] Exploring Operation: 2*25=50, Resulting Numbers: [40, 49, 50] Generated Node #0,0: 83:[40, 49, 50] Operation: 2*25=50 Exploring Operation: 40*2=80, Resulting Numbers: [49, 25, 80] Generated Node #0,1: 83:[49, 25, 80] Operation: 40*2=80 Moving to Node #0,1 Current State: 83:[49, 25, 80], Operations: ['40*2=80'] Exploring Operation: 49+25=74, Resulting Numbers: [80, 74] Generated Node #0,1,0: 83:[80, 74] Operation: 49+25=74 Exploring Operation: 25+80=105, Resulting Numbers: [49, 105] Generated Node #0,1,1: 83:[49, 105] Operation: 25+80=105 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[80, 74], Operations: ['40*2=80', '49+25=74'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[49, 105], Operations: ['40*2=80', '25+80=105'] Exploring Operation: 49+105=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 105-49=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 83:[40, 49, 50], Operations: ['2*25=50'] Exploring Operation: 40+50=90, Resulting Numbers: [49, 90] Generated Node #0,0,0: 83:[49, 90] Operation: 40+50=90 Exploring Operation: 40+49=89, Resulting Numbers: [50, 89] Generated Node #0,0,1: 83:[50, 89] Operation: 40+49=89 Moving to Node #0,0,1 Current State: 83:[50, 89], Operations: ['2*25=50', '40+49=89'] Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,83 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[49, 90], Operations: ['2*25=50', '40+50=90'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 49+90=139, Resulting Numbers: [139] 139,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 86, 74, 65, 88 ]
83
[ "88-86=2", "74*2=148", "148-65=83" ]
Current State: 83:[86, 74, 65, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [74, 65, 2] Generated Node #2: [74, 65, 2] from Operation: 88-86=2 Current State: 83:[74, 65, 2], Operations: ['88-86=2'] Exploring Operation: 74*2=148, Resulting Numbers: [65, 148] Generated Node #3: [65, 148] from Operation: 74*2=148 Current State: 83:[65, 148], Operations: ['88-86=2', '74*2=148'] Exploring Operation: 148-65=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[86, 74, 65, 88], Operations: [] Exploring Operation: 74+65=139, Resulting Numbers: [86, 88, 139] Generated Node #0,0: 83:[86, 88, 139] Operation: 74+65=139 Moving to Node #0,0 Current State: 83:[86, 88, 139], Operations: ['74+65=139'] Exploring Operation: 139-86=53, Resulting Numbers: [88, 53] Generated Node #0,0,0: 83:[88, 53] Operation: 139-86=53 Moving to Node #0,0,0 Current State: 83:[88, 53], Operations: ['74+65=139', '139-86=53'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 45, 91, 86, 17 ]
23
[ "91-45=46", "86-17=69", "69-46=23" ]
Current State: 23:[45, 91, 86, 17], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [86, 17, 46] Generated Node #2: [86, 17, 46] from Operation: 91-45=46 Current State: 23:[86, 17, 46], Operations: ['91-45=46'] Exploring Operation: 86-17=69, Resulting Numbers: [46, 69] Generated Node #3: [46, 69] from Operation: 86-17=69 Current State: 23:[46, 69], Operations: ['91-45=46', '86-17=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[45, 91, 86, 17], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [45, 17, 5] Generated Node #0,0: 23:[45, 17, 5] Operation: 91-86=5 Exploring Operation: 91-45=46, Resulting Numbers: [86, 17, 46] Generated Node #0,1: 23:[86, 17, 46] Operation: 91-45=46 Moving to Node #0,0 Current State: 23:[45, 17, 5], Operations: ['91-86=5'] Exploring Operation: 45-17=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 23:[5, 28] Operation: 45-17=28 Exploring Operation: 45/5=9, Resulting Numbers: [17, 9] Generated Node #0,0,1: 23:[17, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[17, 9], Operations: ['91-86=5', '45/5=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[5, 28], Operations: ['91-86=5', '45-17=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[45, 91, 86, 17], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [45, 17, 5] Generated Node #0,0: 23:[45, 17, 5] Operation: 91-86=5 Moving to Node #0,0 Current State: 23:[45, 17, 5], Operations: ['91-86=5'] Exploring Operation: 45-17=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 23:[5, 28] Operation: 45-17=28 Moving to Node #0,0,0 Current State: 23:[5, 28], Operations: ['91-86=5', '45-17=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 56, 4, 2, 58 ]
25
[ "4+58=62", "62/2=31", "56-31=25" ]
Current State: 25:[56, 4, 2, 58], Operations: [] Exploring Operation: 4+58=62, Resulting Numbers: [56, 2, 62] Generated Node #2: [56, 2, 62] from Operation: 4+58=62 Current State: 25:[56, 2, 62], Operations: ['4+58=62'] Exploring Operation: 62/2=31, Resulting Numbers: [56, 31] Generated Node #3: [56, 31] from Operation: 62/2=31 Current State: 25:[56, 31], Operations: ['4+58=62', '62/2=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[56, 4, 2, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [4, 2, 2] Generated Node #0,0: 25:[4, 2, 2] Operation: 58-56=2 Exploring Operation: 56/2=28, Resulting Numbers: [4, 58, 28] Generated Node #0,1: 25:[4, 58, 28] Operation: 56/2=28 Exploring Operation: 58/2=29, Resulting Numbers: [56, 4, 29] Generated Node #0,2: 25:[56, 4, 29] Operation: 58/2=29 Exploring Operation: 56/4=14, Resulting Numbers: [2, 58, 14] Generated Node #0,3: 25:[2, 58, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[4, 2, 2], Operations: ['58-56=2'] Exploring Operation: 4+2=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 25:[2, 6] Operation: 4+2=6 Exploring Operation: 2*2=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 25:[4, 4] Operation: 2*2=4 Exploring Operation: 4+2=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 25:[2, 6] Operation: 4+2=6 Exploring Operation: 2+2=4, Resulting Numbers: [4, 4] Generated Node #0,0,3: 25:[4, 4] Operation: 2+2=4 Moving to Node #0,0,1 Current State: 25:[4, 4], Operations: ['58-56=2', '2*2=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[4, 4], Operations: ['58-56=2', '2+2=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[2, 6], Operations: ['58-56=2', '4+2=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[2, 6], Operations: ['58-56=2', '4+2=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[56, 4, 29], Operations: ['58/2=29'] Exploring Operation: 56-29=27, Resulting Numbers: [4, 27] Generated Node #0,2,0: 25:[4, 27] Operation: 56-29=27 Exploring Operation: 56-4=52, Resulting Numbers: [29, 52] Generated Node #0,2,1: 25:[29, 52] Operation: 56-4=52 Exploring Operation: 29-4=25, Resulting Numbers: [56, 25] Generated Node #0,2,2: 25:[56, 25] Operation: 29-4=25 Exploring Operation: 56/4=14, Resulting Numbers: [29, 14] Generated Node #0,2,3: 25:[29, 14] Operation: 56/4=14 Moving to Node #0,2,0 Current State: 25:[4, 27], Operations: ['58/2=29', '56-29=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[29, 14], Operations: ['58/2=29', '56/4=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[56, 25], Operations: ['58/2=29', '29-4=25'] Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[29, 52], Operations: ['58/2=29', '56-4=52'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,25 unequal: No Solution Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[4, 58, 28], Operations: ['56/2=28'] Exploring Operation: 28/4=7, Resulting Numbers: [58, 7] Generated Node #0,1,0: 25:[58, 7] Operation: 28/4=7 Exploring Operation: 58-4=54, Resulting Numbers: [28, 54] Generated Node #0,1,1: 25:[28, 54] Operation: 58-4=54 Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 25:[4, 30] Operation: 58-28=30 Exploring Operation: 28-4=24, Resulting Numbers: [58, 24] Generated Node #0,1,3: 25:[58, 24] Operation: 28-4=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[4, 30], Operations: ['56/2=28', '58-28=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[28, 54], Operations: ['56/2=28', '58-4=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,25 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,25 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[58, 24], Operations: ['56/2=28', '28-4=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,25 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[58, 7], Operations: ['56/2=28', '28/4=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[2, 58, 14], Operations: ['56/4=14'] Exploring Operation: 2*14=28, Resulting Numbers: [58, 28] Generated Node #0,3,0: 25:[58, 28] Operation: 2*14=28 Exploring Operation: 14/2=7, Resulting Numbers: [58, 7] Generated Node #0,3,1: 25:[58, 7] Operation: 14/2=7 Exploring Operation: 58-14=44, Resulting Numbers: [2, 44] Generated Node #0,3,2: 25:[2, 44] Operation: 58-14=44 Exploring Operation: 58/2=29, Resulting Numbers: [14, 29] Generated Node #0,3,3: 25:[14, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 25:[14, 29], Operations: ['56/4=14', '58/2=29'] Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,25 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 25:[2, 44], Operations: ['56/4=14', '58-14=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,25 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 25:[58, 7], Operations: ['56/4=14', '14/2=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,25 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 25:[58, 28], Operations: ['56/4=14', '2*14=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,25 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 79, 10, 10, 41 ]
100
[ "79-10=69", "41-10=31", "69+31=100" ]
Current State: 100:[79, 10, 10, 41], Operations: [] Exploring Operation: 79-10=69, Resulting Numbers: [41, 69] Generated Node #2: [41, 69] from Operation: 79-10=69 Current State: 100:[41, 69], Operations: ['79-10=69'] Exploring Operation: 41-10=31, Resulting Numbers: [69, 31] Generated Node #3: [69, 31] from Operation: 41-10=31 Current State: 100:[69, 31], Operations: ['79-10=69', '41-10=31'] Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[79, 10, 10, 41], Operations: [] Exploring Operation: 79-41=38, Resulting Numbers: [10, 10, 38] Generated Node #0,0: 100:[10, 10, 38] Operation: 79-41=38 Exploring Operation: 79+10=89, Resulting Numbers: [10, 41, 89] Generated Node #0,1: 100:[10, 41, 89] Operation: 79+10=89 Exploring Operation: 79+10=89, Resulting Numbers: [10, 41, 89] Generated Node #0,2: 100:[10, 41, 89] Operation: 79+10=89 Moving to Node #0,0 Current State: 100:[10, 10, 38], Operations: ['79-41=38'] Exploring Operation: 10+38=48, Resulting Numbers: [10, 48] Generated Node #0,0,0: 100:[10, 48] Operation: 10+38=48 Exploring Operation: 38-10=28, Resulting Numbers: [10, 28] Generated Node #0,0,1: 100:[10, 28] Operation: 38-10=28 Exploring Operation: 10+38=48, Resulting Numbers: [10, 48] Generated Node #0,0,2: 100:[10, 48] Operation: 10+38=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[10, 48], Operations: ['79-41=38', '10+38=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[10, 48], Operations: ['79-41=38', '10+38=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,100 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[10, 28], Operations: ['79-41=38', '38-10=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 100:[10, 41, 89], Operations: ['79+10=89'] Exploring Operation: 89-41=48, Resulting Numbers: [10, 48] Generated Node #0,1,0: 100:[10, 48] Operation: 89-41=48 Exploring Operation: 10+41=51, Resulting Numbers: [89, 51] Generated Node #0,1,1: 100:[89, 51] Operation: 10+41=51 Exploring Operation: 10+89=99, Resulting Numbers: [41, 99] Generated Node #0,1,2: 100:[41, 99] Operation: 10+89=99 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[10, 48], Operations: ['79+10=89', '89-41=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[41, 99], Operations: ['79+10=89', '10+89=99'] Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,100 unequal: No Solution Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,100 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[89, 51], Operations: ['79+10=89', '10+41=51'] Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,100 unequal: No Solution Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,100 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 100:[10, 41, 89], Operations: ['79+10=89'] Exploring Operation: 10+89=99, Resulting Numbers: [41, 99] Generated Node #0,2,0: 100:[41, 99] Operation: 10+89=99 Exploring Operation: 89-41=48, Resulting Numbers: [10, 48] Generated Node #0,2,1: 100:[10, 48] Operation: 89-41=48 Exploring Operation: 10+41=51, Resulting Numbers: [89, 51] Generated Node #0,2,2: 100:[89, 51] Operation: 10+41=51 Moving to Node #0,2,1 Current State: 100:[10, 48], Operations: ['79+10=89', '89-41=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,100 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[41, 99], Operations: ['79+10=89', '10+89=99'] Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,100 unequal: No Solution Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,100 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[89, 51], Operations: ['79+10=89', '10+41=51'] Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,100 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,100 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,100 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 67, 91, 50 ]
49
[ "24+67=91", "91/91=1", "50-1=49" ]
Current State: 49:[24, 67, 91, 50], Operations: [] Exploring Operation: 24+67=91, Resulting Numbers: [91, 50, 91] Generated Node #2: [91, 50, 91] from Operation: 24+67=91 Current State: 49:[91, 50, 91], Operations: ['24+67=91'] Exploring Operation: 91/91=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 91/91=1 Current State: 49:[50, 1], Operations: ['24+67=91', '91/91=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[24, 67, 91, 50], Operations: [] Exploring Operation: 67-24=43, Resulting Numbers: [91, 50, 43] Generated Node #0,0: 49:[91, 50, 43] Operation: 67-24=43 Exploring Operation: 91-24=67, Resulting Numbers: [67, 50, 67] Generated Node #0,1: 49:[67, 50, 67] Operation: 91-24=67 Exploring Operation: 91-50=41, Resulting Numbers: [24, 67, 41] Generated Node #0,2: 49:[24, 67, 41] Operation: 91-50=41 Exploring Operation: 67-50=17, Resulting Numbers: [24, 91, 17] Generated Node #0,3: 49:[24, 91, 17] Operation: 67-50=17 Exploring Operation: 91-67=24, Resulting Numbers: [24, 50, 24] Generated Node #0,4: 49:[24, 50, 24] Operation: 91-67=24 Moving to Node #0,4 Current State: 49:[24, 50, 24], Operations: ['91-67=24'] Exploring Operation: 24-24=0, Resulting Numbers: [50, 0] Generated Node #0,4,0: 49:[50, 0] Operation: 24-24=0 Exploring Operation: 50-24=26, Resulting Numbers: [24, 26] Generated Node #0,4,1: 49:[24, 26] Operation: 50-24=26 Exploring Operation: 24/24=1, Resulting Numbers: [50, 1] Generated Node #0,4,2: 49:[50, 1] Operation: 24/24=1 Exploring Operation: 50-24=26, Resulting Numbers: [24, 26] Generated Node #0,4,3: 49:[24, 26] Operation: 50-24=26 Exploring Operation: 24+24=48, Resulting Numbers: [50, 48] Generated Node #0,4,4: 49:[50, 48] Operation: 24+24=48 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 49:[50, 48], Operations: ['91-67=24', '24+24=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,49 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 49:[50, 1], Operations: ['91-67=24', '24/24=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[24, 67, 91, 50], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [24, 50, 24] Generated Node #0,4: 49:[24, 50, 24] Operation: 91-67=24 Moving to Node #0,4 Current State: 49:[24, 50, 24], Operations: ['91-67=24'] Exploring Operation: 24/24=1, Resulting Numbers: [50, 1] Generated Node #0,4,2: 49:[50, 1] Operation: 24/24=1 Moving to Node #0,4,2 Current State: 49:[50, 1], Operations: ['91-67=24', '24/24=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 74, 38, 72, 64 ]
24
[ "74+38=112", "72+64=136", "136-112=24" ]
Current State: 24:[74, 38, 72, 64], Operations: [] Exploring Operation: 74+38=112, Resulting Numbers: [72, 64, 112] Generated Node #2: [72, 64, 112] from Operation: 74+38=112 Current State: 24:[72, 64, 112], Operations: ['74+38=112'] Exploring Operation: 72+64=136, Resulting Numbers: [112, 136] Generated Node #3: [112, 136] from Operation: 72+64=136 Current State: 24:[112, 136], Operations: ['74+38=112', '72+64=136'] Exploring Operation: 136-112=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[74, 38, 72, 64], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [38, 64, 2] Generated Node #0,0: 24:[38, 64, 2] Operation: 74-72=2 Moving to Node #0,0 Current State: 24:[38, 64, 2], Operations: ['74-72=2'] Exploring Operation: 64-38=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 24:[2, 26] Operation: 64-38=26 Moving to Node #0,0,0 Current State: 24:[2, 26], Operations: ['74-72=2', '64-38=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[74, 38, 72, 64], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [38, 64, 2] Generated Node #0,0: 24:[38, 64, 2] Operation: 74-72=2 Moving to Node #0,0 Current State: 24:[38, 64, 2], Operations: ['74-72=2'] Exploring Operation: 64-38=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 24:[2, 26] Operation: 64-38=26 Moving to Node #0,0,0 Current State: 24:[2, 26], Operations: ['74-72=2', '64-38=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 42, 49, 9, 46 ]
30
[ "49-42=7", "46-9=37", "37-7=30" ]
Current State: 30:[42, 49, 9, 46], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [9, 46, 7] Generated Node #2: [9, 46, 7] from Operation: 49-42=7 Current State: 30:[9, 46, 7], Operations: ['49-42=7'] Exploring Operation: 46-9=37, Resulting Numbers: [7, 37] Generated Node #3: [7, 37] from Operation: 46-9=37 Current State: 30:[7, 37], Operations: ['49-42=7', '46-9=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[42, 49, 9, 46], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [9, 46, 7] Generated Node #0,0: 30:[9, 46, 7] Operation: 49-42=7 Exploring Operation: 49-46=3, Resulting Numbers: [42, 9, 3] Generated Node #0,1: 30:[42, 9, 3] Operation: 49-46=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[42, 9, 3], Operations: ['49-46=3'] Exploring Operation: 42/3=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 30:[9, 14] Operation: 42/3=14 Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 30:[3, 33] Operation: 42-9=33 Moving to Node #0,1,0 Current State: 30:[9, 14], Operations: ['49-46=3', '42/3=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[3, 33], Operations: ['49-46=3', '42-9=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[42, 49, 9, 46], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [42, 9, 3] Generated Node #0,1: 30:[42, 9, 3] Operation: 49-46=3 Moving to Node #0,1 Current State: 30:[42, 9, 3], Operations: ['49-46=3'] Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 30:[3, 33] Operation: 42-9=33 Moving to Node #0,1,1 Current State: 30:[3, 33], Operations: ['49-46=3', '42-9=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 28, 1, 30, 82 ]
83
[ "28+1=29", "30+82=112", "112-29=83" ]
Current State: 83:[28, 1, 30, 82], Operations: [] Exploring Operation: 28+1=29, Resulting Numbers: [30, 82, 29] Generated Node #2: [30, 82, 29] from Operation: 28+1=29 Current State: 83:[30, 82, 29], Operations: ['28+1=29'] Exploring Operation: 30+82=112, Resulting Numbers: [29, 112] Generated Node #3: [29, 112] from Operation: 30+82=112 Current State: 83:[29, 112], Operations: ['28+1=29', '30+82=112'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[28, 1, 30, 82], Operations: [] Exploring Operation: 28+1=29, Resulting Numbers: [30, 82, 29] Generated Node #0,0: 83:[30, 82, 29] Operation: 28+1=29 Exploring Operation: 28+30=58, Resulting Numbers: [1, 82, 58] Generated Node #0,1: 83:[1, 82, 58] Operation: 28+30=58 Moving to Node #0,0 Current State: 83:[30, 82, 29], Operations: ['28+1=29'] Exploring Operation: 30+29=59, Resulting Numbers: [82, 59] Generated Node #0,0,0: 83:[82, 59] Operation: 30+29=59 Exploring Operation: 82+29=111, Resulting Numbers: [30, 111] Generated Node #0,0,1: 83:[30, 111] Operation: 82+29=111 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[82, 59], Operations: ['28+1=29', '30+29=59'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 82+59=141, Resulting Numbers: [141] 141,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[30, 111], Operations: ['28+1=29', '82+29=111'] Exploring Operation: 111-30=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 30+111=141, Resulting Numbers: [141] 141,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[1, 82, 58], Operations: ['28+30=58'] Exploring Operation: 1+82=83, Resulting Numbers: [58, 83] Generated Node #0,1,0: 83:[58, 83] Operation: 1+82=83 Exploring Operation: 1+58=59, Resulting Numbers: [82, 59] Generated Node #0,1,1: 83:[82, 59] Operation: 1+58=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[58, 83], Operations: ['28+30=58', '1+82=83'] Exploring Operation: 58+83=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[82, 59], Operations: ['28+30=58', '1+58=59'] Exploring Operation: 82+59=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 48, 88, 21 ]
12
[ "18*88=1584", "1584/48=33", "33-21=12" ]
Current State: 12:[18, 48, 88, 21], Operations: [] Exploring Operation: 18*88=1584, Resulting Numbers: [48, 21, 1584] Generated Node #2: [48, 21, 1584] from Operation: 18*88=1584 Current State: 12:[48, 21, 1584], Operations: ['18*88=1584'] Exploring Operation: 1584/48=33, Resulting Numbers: [21, 33] Generated Node #3: [21, 33] from Operation: 1584/48=33 Current State: 12:[21, 33], Operations: ['18*88=1584', '1584/48=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[18, 48, 88, 21], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [18, 21, 40] Generated Node #0,0: 12:[18, 21, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[18, 21, 40], Operations: ['88-48=40'] Exploring Operation: 40-21=19, Resulting Numbers: [18, 19] Generated Node #0,0,0: 12:[18, 19] Operation: 40-21=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[18, 19], Operations: ['88-48=40', '40-21=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 1, 95, 15, 4 ]
99
[ "1+15=16", "16/4=4", "95+4=99" ]
Current State: 99:[1, 95, 15, 4], Operations: [] Exploring Operation: 1+15=16, Resulting Numbers: [95, 4, 16] Generated Node #2: [95, 4, 16] from Operation: 1+15=16 Current State: 99:[95, 4, 16], Operations: ['1+15=16'] Exploring Operation: 16/4=4, Resulting Numbers: [95, 4] Generated Node #3: [95, 4] from Operation: 16/4=4 Current State: 99:[95, 4], Operations: ['1+15=16', '16/4=4'] Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[1, 95, 15, 4], Operations: [] Exploring Operation: 95+4=99, Resulting Numbers: [1, 15, 99] Generated Node #0,0: 99:[1, 15, 99] Operation: 95+4=99 Exploring Operation: 15-1=14, Resulting Numbers: [95, 4, 14] Generated Node #0,1: 99:[95, 4, 14] Operation: 15-1=14 Exploring Operation: 1+95=96, Resulting Numbers: [15, 4, 96] Generated Node #0,2: 99:[15, 4, 96] Operation: 1+95=96 Exploring Operation: 15-4=11, Resulting Numbers: [1, 95, 11] Generated Node #0,3: 99:[1, 95, 11] Operation: 15-4=11 Moving to Node #0,0 Current State: 99:[1, 15, 99], Operations: ['95+4=99'] Exploring Operation: 1*99=99, Resulting Numbers: [15, 99] Generated Node #0,0,0: 99:[15, 99] Operation: 1*99=99 Exploring Operation: 15-1=14, Resulting Numbers: [99, 14] Generated Node #0,0,1: 99:[99, 14] Operation: 15-1=14 Exploring Operation: 15/1=15, Resulting Numbers: [99, 15] Generated Node #0,0,2: 99:[99, 15] Operation: 15/1=15 Exploring Operation: 1*15=15, Resulting Numbers: [99, 15] Generated Node #0,0,3: 99:[99, 15] Operation: 1*15=15 Moving to Node #0,3 Current State: 99:[1, 95, 11], Operations: ['15-4=11'] Exploring Operation: 1+95=96, Resulting Numbers: [11, 96] Generated Node #0,3,0: 99:[11, 96] Operation: 1+95=96 Exploring Operation: 95/1=95, Resulting Numbers: [11, 95] Generated Node #0,3,1: 99:[11, 95] Operation: 95/1=95 Exploring Operation: 1*11=11, Resulting Numbers: [95, 11] Generated Node #0,3,2: 99:[95, 11] Operation: 1*11=11 Exploring Operation: 1*95=95, Resulting Numbers: [11, 95] Generated Node #0,3,3: 99:[11, 95] Operation: 1*95=95 Moving to Node #0,2 Current State: 99:[15, 4, 96], Operations: ['1+95=96'] Exploring Operation: 4+96=100, Resulting Numbers: [15, 100] Generated Node #0,2,0: 99:[15, 100] Operation: 4+96=100 Exploring Operation: 15+4=19, Resulting Numbers: [96, 19] Generated Node #0,2,1: 99:[96, 19] Operation: 15+4=19 Exploring Operation: 96-4=92, Resulting Numbers: [15, 92] Generated Node #0,2,2: 99:[15, 92] Operation: 96-4=92 Exploring Operation: 15-4=11, Resulting Numbers: [96, 11] Generated Node #0,2,3: 99:[96, 11] Operation: 15-4=11 Moving to Node #0,1 Current State: 99:[95, 4, 14], Operations: ['15-1=14'] Exploring Operation: 14-4=10, Resulting Numbers: [95, 10] Generated Node #0,1,0: 99:[95, 10] Operation: 14-4=10 Exploring Operation: 95-4=91, Resulting Numbers: [14, 91] Generated Node #0,1,1: 99:[14, 91] Operation: 95-4=91 Exploring Operation: 95+14=109, Resulting Numbers: [4, 109] Generated Node #0,1,2: 99:[4, 109] Operation: 95+14=109 Exploring Operation: 95+4=99, Resulting Numbers: [14, 99] Generated Node #0,1,3: 99:[14, 99] Operation: 95+4=99 Moving to Node #0,0,1 Current State: 99:[99, 14], Operations: ['95+4=99', '15-1=14'] Exploring Operation: 99*14=1386, Resulting Numbers: [1386] 1386,99 unequal: No Solution Exploring Operation: 99-14=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 99+14=113, Resulting Numbers: [113] 113,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[14, 99], Operations: ['15-1=14', '95+4=99'] Exploring Operation: 99-14=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 14*99=1386, Resulting Numbers: [1386] 1386,99 unequal: No Solution Exploring Operation: 14+99=113, Resulting Numbers: [113] 113,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[11, 96], Operations: ['15-4=11', '1+95=96'] Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,99 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[96, 11], Operations: ['1+95=96', '15-4=11'] Exploring Operation: 96*11=1056, Resulting Numbers: [1056] 1056,99 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 96+11=107, Resulting Numbers: [107] 107,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[95, 11], Operations: ['15-4=11', '1*11=11'] Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[99, 15], Operations: ['95+4=99', '15/1=15'] Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[11, 95], Operations: ['15-4=11', '95/1=95'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 11*95=1045, Resulting Numbers: [1045] 1045,99 unequal: No Solution Exploring Operation: 11+95=106, Resulting Numbers: [106] 106,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[15, 99], Operations: ['95+4=99', '1*99=99'] Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,99 unequal: No Solution Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[99, 15], Operations: ['95+4=99', '1*15=15'] Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[11, 95], Operations: ['15-4=11', '1*95=95'] Exploring Operation: 11+95=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 11*95=1045, Resulting Numbers: [1045] 1045,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[95, 10], Operations: ['15-1=14', '14-4=10'] Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,99 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[15, 100], Operations: ['1+95=96', '4+96=100'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,99 unequal: No Solution Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[15, 92], Operations: ['1+95=96', '96-4=92'] Exploring Operation: 15+92=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 15*92=1380, Resulting Numbers: [1380] 1380,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[96, 19], Operations: ['1+95=96', '15+4=19'] Exploring Operation: 96*19=1824, Resulting Numbers: [1824] 1824,99 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 96+19=115, Resulting Numbers: [115] 115,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[14, 91], Operations: ['15-1=14', '95-4=91'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 14+91=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 14*91=1274, Resulting Numbers: [1274] 1274,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[4, 109], Operations: ['15-1=14', '95+14=109'] Exploring Operation: 4*109=436, Resulting Numbers: [436] 436,99 unequal: No Solution Exploring Operation: 4+109=113, Resulting Numbers: [113] 113,99 unequal: No Solution Exploring Operation: 109-4=105, Resulting Numbers: [105] 105,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 35, 56, 44 ]
12
[ "20*56=1120", "1120/35=32", "44-32=12" ]
Current State: 12:[20, 35, 56, 44], Operations: [] Exploring Operation: 20*56=1120, Resulting Numbers: [35, 44, 1120] Generated Node #2: [35, 44, 1120] from Operation: 20*56=1120 Current State: 12:[35, 44, 1120], Operations: ['20*56=1120'] Exploring Operation: 1120/35=32, Resulting Numbers: [44, 32] Generated Node #3: [44, 32] from Operation: 1120/35=32 Current State: 12:[44, 32], Operations: ['20*56=1120', '1120/35=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[20, 35, 56, 44], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [20, 44, 21] Generated Node #0,0: 12:[20, 44, 21] Operation: 56-35=21 Exploring Operation: 56-44=12, Resulting Numbers: [20, 35, 12] Generated Node #0,1: 12:[20, 35, 12] Operation: 56-44=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[20, 35, 12], Operations: ['56-44=12'] Exploring Operation: 35-12=23, Resulting Numbers: [20, 23] Generated Node #0,1,0: 12:[20, 23] Operation: 35-12=23 Exploring Operation: 35-20=15, Resulting Numbers: [12, 15] Generated Node #0,1,1: 12:[12, 15] Operation: 35-20=15 Moving to Node #0,1,1 Current State: 12:[12, 15], Operations: ['56-44=12', '35-20=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[20, 23], Operations: ['56-44=12', '35-12=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[20, 44, 21], Operations: ['56-35=21'] Exploring Operation: 44-21=23, Resulting Numbers: [20, 23] Generated Node #0,0,0: 12:[20, 23] Operation: 44-21=23 Exploring Operation: 44-20=24, Resulting Numbers: [21, 24] Generated Node #0,0,1: 12:[21, 24] Operation: 44-20=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[20, 23], Operations: ['56-35=21', '44-21=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[21, 24], Operations: ['56-35=21', '44-20=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 24, 26, 72 ]
54
[ "72-69=3", "26*3=78", "78-24=54" ]
Current State: 54:[69, 24, 26, 72], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [24, 26, 3] Generated Node #2: [24, 26, 3] from Operation: 72-69=3 Current State: 54:[24, 26, 3], Operations: ['72-69=3'] Exploring Operation: 26*3=78, Resulting Numbers: [24, 78] Generated Node #3: [24, 78] from Operation: 26*3=78 Current State: 54:[24, 78], Operations: ['72-69=3', '26*3=78'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[69, 24, 26, 72], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [24, 26, 3] Generated Node #0,0: 54:[24, 26, 3] Operation: 72-69=3 Exploring Operation: 72-24=48, Resulting Numbers: [69, 26, 48] Generated Node #0,1: 54:[69, 26, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [69, 26, 3] Generated Node #0,2: 54:[69, 26, 3] Operation: 72/24=3 Moving to Node #0,0 Current State: 54:[24, 26, 3], Operations: ['72-69=3'] Exploring Operation: 24/3=8, Resulting Numbers: [26, 8] Generated Node #0,0,0: 54:[26, 8] Operation: 24/3=8 Exploring Operation: 26-24=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 54:[3, 2] Operation: 26-24=2 Exploring Operation: 24+3=27, Resulting Numbers: [26, 27] Generated Node #0,0,2: 54:[26, 27] Operation: 24+3=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[3, 2], Operations: ['72-69=3', '26-24=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[26, 27], Operations: ['72-69=3', '24+3=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[26, 8], Operations: ['72-69=3', '24/3=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 54:[69, 26, 3], Operations: ['72/24=3'] Exploring Operation: 69-26=43, Resulting Numbers: [3, 43] Generated Node #0,2,0: 54:[3, 43] Operation: 69-26=43 Exploring Operation: 69/3=23, Resulting Numbers: [26, 23] Generated Node #0,2,1: 54:[26, 23] Operation: 69/3=23 Exploring Operation: 69-3=66, Resulting Numbers: [26, 66] Generated Node #0,2,2: 54:[26, 66] Operation: 69-3=66 Moving to Node #0,1 Current State: 54:[69, 26, 48], Operations: ['72-24=48'] Exploring Operation: 69-26=43, Resulting Numbers: [48, 43] Generated Node #0,1,0: 54:[48, 43] Operation: 69-26=43 Exploring Operation: 69-48=21, Resulting Numbers: [26, 21] Generated Node #0,1,1: 54:[26, 21] Operation: 69-48=21 Exploring Operation: 48-26=22, Resulting Numbers: [69, 22] Generated Node #0,1,2: 54:[69, 22] Operation: 48-26=22 Moving to Node #0,1,1 Current State: 54:[26, 21], Operations: ['72-24=48', '69-48=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[26, 23], Operations: ['72/24=3', '69/3=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,54 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[3, 43], Operations: ['72/24=3', '69-26=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,54 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[26, 66], Operations: ['72/24=3', '69-3=66'] Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,54 unequal: No Solution Exploring Operation: 26*66=1716, Resulting Numbers: [1716] 1716,54 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[48, 43], Operations: ['72-24=48', '69-26=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,54 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[69, 22], Operations: ['72-24=48', '48-26=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,54 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,54 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 4, 35, 72 ]
99
[ "4+4=8", "35+72=107", "107-8=99" ]
Current State: 99:[4, 4, 35, 72], Operations: [] Exploring Operation: 4+4=8, Resulting Numbers: [35, 72, 8] Generated Node #2: [35, 72, 8] from Operation: 4+4=8 Current State: 99:[35, 72, 8], Operations: ['4+4=8'] Exploring Operation: 35+72=107, Resulting Numbers: [8, 107] Generated Node #3: [8, 107] from Operation: 35+72=107 Current State: 99:[8, 107], Operations: ['4+4=8', '35+72=107'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 4, 35, 72], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [4, 35, 18] Generated Node #0,0: 99:[4, 35, 18] Operation: 72/4=18 Exploring Operation: 72-35=37, Resulting Numbers: [4, 4, 37] Generated Node #0,1: 99:[4, 4, 37] Operation: 72-35=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[4, 4, 37], Operations: ['72-35=37'] Exploring Operation: 37-4=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 99:[4, 33] Operation: 37-4=33 Exploring Operation: 37-4=33, Resulting Numbers: [4, 33] Generated Node #0,1,1: 99:[4, 33] Operation: 37-4=33 Moving to Node #0,1,0 Current State: 99:[4, 33], Operations: ['72-35=37', '37-4=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[4, 33], Operations: ['72-35=37', '37-4=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[4, 35, 18], Operations: ['72/4=18'] Exploring Operation: 35-18=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 99:[4, 17] Operation: 35-18=17 Exploring Operation: 18-4=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 99:[35, 14] Operation: 18-4=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[35, 14], Operations: ['72/4=18', '18-4=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[4, 17], Operations: ['72/4=18', '35-18=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 70, 54, 22 ]
58
[ "54-22=32", "4*32=128", "128-70=58" ]
Current State: 58:[4, 70, 54, 22], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [4, 70, 32] Generated Node #2: [4, 70, 32] from Operation: 54-22=32 Current State: 58:[4, 70, 32], Operations: ['54-22=32'] Exploring Operation: 4*32=128, Resulting Numbers: [70, 128] Generated Node #3: [70, 128] from Operation: 4*32=128 Current State: 58:[70, 128], Operations: ['54-22=32', '4*32=128'] Exploring Operation: 128-70=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[4, 70, 54, 22], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [4, 70, 32] Generated Node #0,0: 58:[4, 70, 32] Operation: 54-22=32 Exploring Operation: 70-22=48, Resulting Numbers: [4, 54, 48] Generated Node #0,1: 58:[4, 54, 48] Operation: 70-22=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[4, 54, 48], Operations: ['70-22=48'] Exploring Operation: 4+54=58, Resulting Numbers: [48, 58] Generated Node #0,1,0: 58:[48, 58] Operation: 4+54=58 Exploring Operation: 54-48=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 58:[4, 6] Operation: 54-48=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[4, 6], Operations: ['70-22=48', '54-48=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[48, 58], Operations: ['70-22=48', '4+54=58'] Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,58 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[4, 70, 32], Operations: ['54-22=32'] Exploring Operation: 70-32=38, Resulting Numbers: [4, 38] Generated Node #0,0,0: 58:[4, 38] Operation: 70-32=38 Exploring Operation: 70-4=66, Resulting Numbers: [32, 66] Generated Node #0,0,1: 58:[32, 66] Operation: 70-4=66 Moving to Node #0,0,0 Current State: 58:[4, 38], Operations: ['54-22=32', '70-32=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[32, 66], Operations: ['54-22=32', '70-4=66'] Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 19, 4, 16, 94 ]
18
[ "19*16=304", "304/4=76", "94-76=18" ]
Current State: 18:[19, 4, 16, 94], Operations: [] Exploring Operation: 19*16=304, Resulting Numbers: [4, 94, 304] Generated Node #2: [4, 94, 304] from Operation: 19*16=304 Current State: 18:[4, 94, 304], Operations: ['19*16=304'] Exploring Operation: 304/4=76, Resulting Numbers: [94, 76] Generated Node #3: [94, 76] from Operation: 304/4=76 Current State: 18:[94, 76], Operations: ['19*16=304', '304/4=76'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[19, 4, 16, 94], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [4, 16, 75] Generated Node #0,0: 18:[4, 16, 75] Operation: 94-19=75 Moving to Node #0,0 Current State: 18:[4, 16, 75], Operations: ['94-19=75'] Exploring Operation: 75-16=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 18:[4, 59] Operation: 75-16=59 Moving to Node #0,0,0 Current State: 18:[4, 59], Operations: ['94-19=75', '75-16=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,18 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 26, 75, 41 ]
58
[ "52/26=2", "75+41=116", "116/2=58" ]
Current State: 58:[52, 26, 75, 41], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [75, 41, 2] Generated Node #2: [75, 41, 2] from Operation: 52/26=2 Current State: 58:[75, 41, 2], Operations: ['52/26=2'] Exploring Operation: 75+41=116, Resulting Numbers: [2, 116] Generated Node #3: [2, 116] from Operation: 75+41=116 Current State: 58:[2, 116], Operations: ['52/26=2', '75+41=116'] Exploring Operation: 116/2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 26, 75, 41], Operations: [] Exploring Operation: 75-52=23, Resulting Numbers: [26, 41, 23] Generated Node #0,0: 58:[26, 41, 23] Operation: 75-52=23 Exploring Operation: 75-41=34, Resulting Numbers: [52, 26, 34] Generated Node #0,1: 58:[52, 26, 34] Operation: 75-41=34 Exploring Operation: 75-26=49, Resulting Numbers: [52, 41, 49] Generated Node #0,2: 58:[52, 41, 49] Operation: 75-26=49 Moving to Node #0,1 Current State: 58:[52, 26, 34], Operations: ['75-41=34'] Exploring Operation: 52/26=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 58:[34, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [34, 26] Generated Node #0,1,1: 58:[34, 26] Operation: 52-26=26 Exploring Operation: 26+34=60, Resulting Numbers: [52, 60] Generated Node #0,1,2: 58:[52, 60] Operation: 26+34=60 Moving to Node #0,0 Current State: 58:[26, 41, 23], Operations: ['75-52=23'] Exploring Operation: 41-23=18, Resulting Numbers: [26, 18] Generated Node #0,0,0: 58:[26, 18] Operation: 41-23=18 Exploring Operation: 41+23=64, Resulting Numbers: [26, 64] Generated Node #0,0,1: 58:[26, 64] Operation: 41+23=64 Exploring Operation: 26-23=3, Resulting Numbers: [41, 3] Generated Node #0,0,2: 58:[41, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[26, 64], Operations: ['75-52=23', '41+23=64'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[41, 3], Operations: ['75-52=23', '26-23=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[26, 18], Operations: ['75-52=23', '41-23=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,58 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 58:[52, 41, 49], Operations: ['75-26=49'] Exploring Operation: 52-41=11, Resulting Numbers: [49, 11] Generated Node #0,2,0: 58:[49, 11] Operation: 52-41=11 Exploring Operation: 49-41=8, Resulting Numbers: [52, 8] Generated Node #0,2,1: 58:[52, 8] Operation: 49-41=8 Exploring Operation: 52-49=3, Resulting Numbers: [41, 3] Generated Node #0,2,2: 58:[41, 3] Operation: 52-49=3 Moving to Node #0,1,0 Current State: 58:[34, 2], Operations: ['75-41=34', '52/26=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[52, 60], Operations: ['75-41=34', '26+34=60'] Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,58 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,58 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[34, 26], Operations: ['75-41=34', '52-26=26'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,58 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[52, 8], Operations: ['75-26=49', '49-41=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[41, 3], Operations: ['75-26=49', '52-49=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[49, 11], Operations: ['75-26=49', '52-41=11'] Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,58 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 87, 25, 8 ]
37
[ "8/4=2", "25*2=50", "87-50=37" ]
Current State: 37:[4, 87, 25, 8], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [87, 25, 2] Generated Node #2: [87, 25, 2] from Operation: 8/4=2 Current State: 37:[87, 25, 2], Operations: ['8/4=2'] Exploring Operation: 25*2=50, Resulting Numbers: [87, 50] Generated Node #3: [87, 50] from Operation: 25*2=50 Current State: 37:[87, 50], Operations: ['8/4=2', '25*2=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[4, 87, 25, 8], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [87, 25, 32] Generated Node #0,0: 37:[87, 25, 32] Operation: 4*8=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[87, 25, 32], Operations: ['4*8=32'] Exploring Operation: 87-25=62, Resulting Numbers: [32, 62] Generated Node #0,0,0: 37:[32, 62] Operation: 87-25=62 Moving to Node #0,0,0 Current State: 37:[32, 62], Operations: ['4*8=32', '87-25=62'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 91, 73, 43 ]
38
[ "73-70=3", "43*3=129", "129-91=38" ]
Current State: 38:[70, 91, 73, 43], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [91, 43, 3] Generated Node #2: [91, 43, 3] from Operation: 73-70=3 Current State: 38:[91, 43, 3], Operations: ['73-70=3'] Exploring Operation: 43*3=129, Resulting Numbers: [91, 129] Generated Node #3: [91, 129] from Operation: 43*3=129 Current State: 38:[91, 129], Operations: ['73-70=3', '43*3=129'] Exploring Operation: 129-91=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 91, 73, 43], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [91, 43, 3] Generated Node #0,0: 38:[91, 43, 3] Operation: 73-70=3 Exploring Operation: 91-43=48, Resulting Numbers: [70, 73, 48] Generated Node #0,1: 38:[70, 73, 48] Operation: 91-43=48 Exploring Operation: 91-73=18, Resulting Numbers: [70, 43, 18] Generated Node #0,2: 38:[70, 43, 18] Operation: 91-73=18 Exploring Operation: 73-43=30, Resulting Numbers: [70, 91, 30] Generated Node #0,3: 38:[70, 91, 30] Operation: 73-43=30 Exploring Operation: 91-70=21, Resulting Numbers: [73, 43, 21] Generated Node #0,4: 38:[73, 43, 21] Operation: 91-70=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[70, 43, 18], Operations: ['91-73=18'] Exploring Operation: 43+18=61, Resulting Numbers: [70, 61] Generated Node #0,2,0: 38:[70, 61] Operation: 43+18=61 Exploring Operation: 70+18=88, Resulting Numbers: [43, 88] Generated Node #0,2,1: 38:[43, 88] Operation: 70+18=88 Exploring Operation: 70-18=52, Resulting Numbers: [43, 52] Generated Node #0,2,2: 38:[43, 52] Operation: 70-18=52 Exploring Operation: 43-18=25, Resulting Numbers: [70, 25] Generated Node #0,2,3: 38:[70, 25] Operation: 43-18=25 Exploring Operation: 70-43=27, Resulting Numbers: [18, 27] Generated Node #0,2,4: 38:[18, 27] Operation: 70-43=27 Moving to Node #0,2,4 Current State: 38:[18, 27], Operations: ['91-73=18', '70-43=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[43, 52], Operations: ['91-73=18', '70-18=52'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,38 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[70, 25], Operations: ['91-73=18', '43-18=25'] Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,38 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[70, 61], Operations: ['91-73=18', '43+18=61'] Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,38 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,38 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[43, 88], Operations: ['91-73=18', '70+18=88'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 43+88=131, Resulting Numbers: [131] 131,38 unequal: No Solution Exploring Operation: 43*88=3784, Resulting Numbers: [3784] 3784,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[73, 43, 21], Operations: ['91-70=21'] Exploring Operation: 73+21=94, Resulting Numbers: [43, 94] Generated Node #0,4,0: 38:[43, 94] Operation: 73+21=94 Exploring Operation: 73-43=30, Resulting Numbers: [21, 30] Generated Node #0,4,1: 38:[21, 30] Operation: 73-43=30 Exploring Operation: 43+21=64, Resulting Numbers: [73, 64] Generated Node #0,4,2: 38:[73, 64] Operation: 43+21=64 Exploring Operation: 73-21=52, Resulting Numbers: [43, 52] Generated Node #0,4,3: 38:[43, 52] Operation: 73-21=52 Exploring Operation: 43-21=22, Resulting Numbers: [73, 22] Generated Node #0,4,4: 38:[73, 22] Operation: 43-21=22 Moving to Node #0,4,1 Current State: 38:[21, 30], Operations: ['91-70=21', '73-43=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,38 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[43, 52], Operations: ['91-70=21', '73-21=52'] Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[73, 22], Operations: ['91-70=21', '43-21=22'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[43, 94], Operations: ['91-70=21', '73+21=94'] Exploring Operation: 43+94=137, Resulting Numbers: [137] 137,38 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 43*94=4042, Resulting Numbers: [4042] 4042,38 unequal: No Solution Moving to Node #0,4,2 Current State: 38:[73, 64], Operations: ['91-70=21', '43+21=64'] Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,38 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[91, 43, 3], Operations: ['73-70=3'] Exploring Operation: 43-3=40, Resulting Numbers: [91, 40] Generated Node #0,0,0: 38:[91, 40] Operation: 43-3=40 Exploring Operation: 91-43=48, Resulting Numbers: [3, 48] Generated Node #0,0,1: 38:[3, 48] Operation: 91-43=48 Exploring Operation: 91-3=88, Resulting Numbers: [43, 88] Generated Node #0,0,2: 38:[43, 88] Operation: 91-3=88 Exploring Operation: 91+3=94, Resulting Numbers: [43, 94] Generated Node #0,0,3: 38:[43, 94] Operation: 91+3=94 Exploring Operation: 43+3=46, Resulting Numbers: [91, 46] Generated Node #0,0,4: 38:[91, 46] Operation: 43+3=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[3, 48], Operations: ['73-70=3', '91-43=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[91, 40], Operations: ['73-70=3', '43-3=40'] Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,38 unequal: No Solution Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[43, 88], Operations: ['73-70=3', '91-3=88'] Exploring Operation: 43+88=131, Resulting Numbers: [131] 131,38 unequal: No Solution Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 43*88=3784, Resulting Numbers: [3784] 3784,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[43, 94], Operations: ['73-70=3', '91+3=94'] Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 43+94=137, Resulting Numbers: [137] 137,38 unequal: No Solution Exploring Operation: 43*94=4042, Resulting Numbers: [4042] 4042,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 38:[91, 46], Operations: ['73-70=3', '43+3=46'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,38 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[70, 73, 48], Operations: ['91-43=48'] Exploring Operation: 70+48=118, Resulting Numbers: [73, 118] Generated Node #0,1,0: 38:[73, 118] Operation: 70+48=118 Exploring Operation: 73-70=3, Resulting Numbers: [48, 3] Generated Node #0,1,1: 38:[48, 3] Operation: 73-70=3 Exploring Operation: 73-48=25, Resulting Numbers: [70, 25] Generated Node #0,1,2: 38:[70, 25] Operation: 73-48=25 Exploring Operation: 70+73=143, Resulting Numbers: [48, 143] Generated Node #0,1,3: 38:[48, 143] Operation: 70+73=143 Exploring Operation: 70-48=22, Resulting Numbers: [73, 22] Generated Node #0,1,4: 38:[73, 22] Operation: 70-48=22 Moving to Node #0,1,1 Current State: 38:[48, 3], Operations: ['91-43=48', '73-70=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[73, 22], Operations: ['91-43=48', '70-48=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[70, 25], Operations: ['91-43=48', '73-48=25'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[73, 118], Operations: ['91-43=48', '70+48=118'] Exploring Operation: 73*118=8614, Resulting Numbers: [8614] 8614,38 unequal: No Solution Exploring Operation: 73+118=191, Resulting Numbers: [191] 191,38 unequal: No Solution Exploring Operation: 118-73=45, Resulting Numbers: [45] 45,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[48, 143], Operations: ['91-43=48', '70+73=143'] Exploring Operation: 48+143=191, Resulting Numbers: [191] 191,38 unequal: No Solution Exploring Operation: 48*143=6864, Resulting Numbers: [6864] 6864,38 unequal: No Solution Exploring Operation: 143-48=95, Resulting Numbers: [95] 95,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[70, 91, 30], Operations: ['73-43=30'] Exploring Operation: 91+30=121, Resulting Numbers: [70, 121] Generated Node #0,3,0: 38:[70, 121] Operation: 91+30=121 Exploring Operation: 91-30=61, Resulting Numbers: [70, 61] Generated Node #0,3,1: 38:[70, 61] Operation: 91-30=61 Exploring Operation: 70+30=100, Resulting Numbers: [91, 100] Generated Node #0,3,2: 38:[91, 100] Operation: 70+30=100 Exploring Operation: 91-70=21, Resulting Numbers: [30, 21] Generated Node #0,3,3: 38:[30, 21] Operation: 91-70=21 Exploring Operation: 70-30=40, Resulting Numbers: [91, 40] Generated Node #0,3,4: 38:[91, 40] Operation: 70-30=40 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[30, 21], Operations: ['73-43=30', '91-70=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,38 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[70, 61], Operations: ['73-43=30', '91-30=61'] Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,38 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 38:[91, 40], Operations: ['73-43=30', '70-30=40'] Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,38 unequal: No Solution Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,38 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[70, 121], Operations: ['73-43=30', '91+30=121'] Exploring Operation: 70+121=191, Resulting Numbers: [191] 191,38 unequal: No Solution Exploring Operation: 70*121=8470, Resulting Numbers: [8470] 8470,38 unequal: No Solution Exploring Operation: 121-70=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[91, 100], Operations: ['73-43=30', '70+30=100'] Exploring Operation: 100-91=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 91+100=191, Resulting Numbers: [191] 191,38 unequal: No Solution Exploring Operation: 91*100=9100, Resulting Numbers: [9100] 9100,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 11, 11, 44, 96 ]
99
[ "44-11=33", "33/11=3", "96+3=99" ]
Current State: 99:[11, 11, 44, 96], Operations: [] Exploring Operation: 44-11=33, Resulting Numbers: [96, 33] Generated Node #2: [96, 33] from Operation: 44-11=33 Current State: 99:[96, 33], Operations: ['44-11=33'] Exploring Operation: 33/11=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 33/11=3 Current State: 99:[96, 3], Operations: ['44-11=33', '33/11=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[11, 11, 44, 96], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [11, 96, 4] Generated Node #0,0: 99:[11, 96, 4] Operation: 44/11=4 Exploring Operation: 44/11=4, Resulting Numbers: [11, 96, 4] Generated Node #0,1: 99:[11, 96, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [11, 96, 33] Generated Node #0,2: 99:[11, 96, 33] Operation: 44-11=33 Exploring Operation: 44-11=33, Resulting Numbers: [11, 96, 33] Generated Node #0,3: 99:[11, 96, 33] Operation: 44-11=33 Moving to Node #0,2 Current State: 99:[11, 96, 33], Operations: ['44-11=33'] Exploring Operation: 33/11=3, Resulting Numbers: [96, 3] Generated Node #0,2,0: 99:[96, 3] Operation: 33/11=3 Exploring Operation: 11+96=107, Resulting Numbers: [33, 107] Generated Node #0,2,1: 99:[33, 107] Operation: 11+96=107 Exploring Operation: 96-11=85, Resulting Numbers: [33, 85] Generated Node #0,2,2: 99:[33, 85] Operation: 96-11=85 Exploring Operation: 11+33=44, Resulting Numbers: [96, 44] Generated Node #0,2,3: 99:[96, 44] Operation: 11+33=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[96, 3], Operations: ['44-11=33', '33/11=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[11, 11, 44, 96], Operations: [] Exploring Operation: 44-11=33, Resulting Numbers: [11, 96, 33] Generated Node #0,2: 99:[11, 96, 33] Operation: 44-11=33 Moving to Node #0,2 Current State: 99:[11, 96, 33], Operations: ['44-11=33'] Exploring Operation: 33/11=3, Resulting Numbers: [96, 3] Generated Node #0,2,0: 99:[96, 3] Operation: 33/11=3 Moving to Node #0,2,0 Current State: 99:[96, 3], Operations: ['44-11=33', '33/11=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 76, 71, 76, 96 ]
15
[ "76-71=5", "96-76=20", "20-5=15" ]
Current State: 15:[76, 71, 76, 96], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [96, 5] Generated Node #2: [96, 5] from Operation: 76-71=5 Current State: 15:[96, 5], Operations: ['76-71=5'] Exploring Operation: 96-76=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 96-76=20 Current State: 15:[5, 20], Operations: ['76-71=5', '96-76=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[76, 71, 76, 96], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [76, 76, 25] Generated Node #0,0: 15:[76, 76, 25] Operation: 96-71=25 Exploring Operation: 96-76=20, Resulting Numbers: [71, 76, 20] Generated Node #0,1: 15:[71, 76, 20] Operation: 96-76=20 Exploring Operation: 76-76=0, Resulting Numbers: [71, 96, 0] Generated Node #0,2: 15:[71, 96, 0] Operation: 76-76=0 Exploring Operation: 96-76=20, Resulting Numbers: [76, 71, 20] Generated Node #0,3: 15:[76, 71, 20] Operation: 96-76=20 Exploring Operation: 76/76=1, Resulting Numbers: [71, 96, 1] Generated Node #0,4: 15:[71, 96, 1] Operation: 76/76=1 Moving to Node #0,1 Current State: 15:[71, 76, 20], Operations: ['96-76=20'] Exploring Operation: 76-20=56, Resulting Numbers: [71, 56] Generated Node #0,1,0: 15:[71, 56] Operation: 76-20=56 Exploring Operation: 71+76=147, Resulting Numbers: [20, 147] Generated Node #0,1,1: 15:[20, 147] Operation: 71+76=147 Exploring Operation: 71-20=51, Resulting Numbers: [76, 51] Generated Node #0,1,2: 15:[76, 51] Operation: 71-20=51 Exploring Operation: 76-71=5, Resulting Numbers: [20, 5] Generated Node #0,1,3: 15:[20, 5] Operation: 76-71=5 Exploring Operation: 71+20=91, Resulting Numbers: [76, 91] Generated Node #0,1,4: 15:[76, 91] Operation: 71+20=91 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[20, 5], Operations: ['96-76=20', '76-71=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[76, 71, 76, 96], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [71, 76, 20] Generated Node #0,1: 15:[71, 76, 20] Operation: 96-76=20 Moving to Node #0,1 Current State: 15:[71, 76, 20], Operations: ['96-76=20'] Exploring Operation: 76-71=5, Resulting Numbers: [20, 5] Generated Node #0,1,3: 15:[20, 5] Operation: 76-71=5 Moving to Node #0,1,3 Current State: 15:[20, 5], Operations: ['96-76=20', '76-71=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 81, 13, 85, 88 ]
71
[ "81-13=68", "88-85=3", "68+3=71" ]
Current State: 71:[81, 13, 85, 88], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [85, 88, 68] Generated Node #2: [85, 88, 68] from Operation: 81-13=68 Current State: 71:[85, 88, 68], Operations: ['81-13=68'] Exploring Operation: 88-85=3, Resulting Numbers: [68, 3] Generated Node #3: [68, 3] from Operation: 88-85=3 Current State: 71:[68, 3], Operations: ['81-13=68', '88-85=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[81, 13, 85, 88], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [81, 88, 72] Generated Node #0,0: 71:[81, 88, 72] Operation: 85-13=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[81, 88, 72], Operations: ['85-13=72'] Exploring Operation: 88-81=7, Resulting Numbers: [72, 7] Generated Node #0,0,0: 71:[72, 7] Operation: 88-81=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[72, 7], Operations: ['85-13=72', '88-81=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 45, 9, 92 ]
68
[ "60-45=15", "92-9=83", "83-15=68" ]
Current State: 68:[60, 45, 9, 92], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [9, 92, 15] Generated Node #2: [9, 92, 15] from Operation: 60-45=15 Current State: 68:[9, 92, 15], Operations: ['60-45=15'] Exploring Operation: 92-9=83, Resulting Numbers: [15, 83] Generated Node #3: [15, 83] from Operation: 92-9=83 Current State: 68:[15, 83], Operations: ['60-45=15', '92-9=83'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[60, 45, 9, 92], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [60, 9, 47] Generated Node #0,0: 68:[60, 9, 47] Operation: 92-45=47 Exploring Operation: 92-60=32, Resulting Numbers: [45, 9, 32] Generated Node #0,1: 68:[45, 9, 32] Operation: 92-60=32 Exploring Operation: 60-45=15, Resulting Numbers: [9, 92, 15] Generated Node #0,2: 68:[9, 92, 15] Operation: 60-45=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[45, 9, 32], Operations: ['92-60=32'] Exploring Operation: 45-9=36, Resulting Numbers: [32, 36] Generated Node #0,1,0: 68:[32, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [32, 5] Generated Node #0,1,1: 68:[32, 5] Operation: 45/9=5 Exploring Operation: 45-32=13, Resulting Numbers: [9, 13] Generated Node #0,1,2: 68:[9, 13] Operation: 45-32=13 Moving to Node #0,1,1 Current State: 68:[32, 5], Operations: ['92-60=32', '45/9=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[32, 36], Operations: ['92-60=32', '45-9=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[60, 45, 9, 92], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [45, 9, 32] Generated Node #0,1: 68:[45, 9, 32] Operation: 92-60=32 Moving to Node #0,1 Current State: 68:[45, 9, 32], Operations: ['92-60=32'] Exploring Operation: 45-9=36, Resulting Numbers: [32, 36] Generated Node #0,1,0: 68:[32, 36] Operation: 45-9=36 Moving to Node #0,1,0 Current State: 68:[32, 36], Operations: ['92-60=32', '45-9=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 5, 15, 91, 81 ]
64
[ "15/5=3", "81/3=27", "91-27=64" ]
Current State: 64:[5, 15, 91, 81], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [91, 81, 3] Generated Node #2: [91, 81, 3] from Operation: 15/5=3 Current State: 64:[91, 81, 3], Operations: ['15/5=3'] Exploring Operation: 81/3=27, Resulting Numbers: [91, 27] Generated Node #3: [91, 27] from Operation: 81/3=27 Current State: 64:[91, 27], Operations: ['15/5=3', '81/3=27'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[5, 15, 91, 81], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [5, 81, 76] Generated Node #0,0: 64:[5, 81, 76] Operation: 91-15=76 Exploring Operation: 91-81=10, Resulting Numbers: [5, 15, 10] Generated Node #0,1: 64:[5, 15, 10] Operation: 91-81=10 Exploring Operation: 81-15=66, Resulting Numbers: [5, 91, 66] Generated Node #0,2: 64:[5, 91, 66] Operation: 81-15=66 Exploring Operation: 91-5=86, Resulting Numbers: [15, 81, 86] Generated Node #0,3: 64:[15, 81, 86] Operation: 91-5=86 Exploring Operation: 81-5=76, Resulting Numbers: [15, 91, 76] Generated Node #0,4: 64:[15, 91, 76] Operation: 81-5=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[5, 15, 10], Operations: ['91-81=10'] Exploring Operation: 10/5=2, Resulting Numbers: [15, 2] Generated Node #0,1,0: 64:[15, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [15, 5] Generated Node #0,1,1: 64:[15, 5] Operation: 10-5=5 Exploring Operation: 15/5=3, Resulting Numbers: [10, 3] Generated Node #0,1,2: 64:[10, 3] Operation: 15/5=3 Exploring Operation: 15-10=5, Resulting Numbers: [5, 5] Generated Node #0,1,3: 64:[5, 5] Operation: 15-10=5 Exploring Operation: 5+10=15, Resulting Numbers: [15, 15] Generated Node #0,1,4: 64:[15, 15] Operation: 5+10=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[15, 2], Operations: ['91-81=10', '10/5=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[15, 5], Operations: ['91-81=10', '10-5=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,64 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[5, 5], Operations: ['91-81=10', '15-10=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 64:[15, 15], Operations: ['91-81=10', '5+10=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[10, 3], Operations: ['91-81=10', '15/5=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[5, 81, 76], Operations: ['91-15=76'] Exploring Operation: 81-5=76, Resulting Numbers: [76, 76] Generated Node #0,0,0: 64:[76, 76] Operation: 81-5=76 Exploring Operation: 5+81=86, Resulting Numbers: [76, 86] Generated Node #0,0,1: 64:[76, 86] Operation: 5+81=86 Exploring Operation: 76-5=71, Resulting Numbers: [81, 71] Generated Node #0,0,2: 64:[81, 71] Operation: 76-5=71 Exploring Operation: 81-76=5, Resulting Numbers: [5, 5] Generated Node #0,0,3: 64:[5, 5] Operation: 81-76=5 Exploring Operation: 5+76=81, Resulting Numbers: [81, 81] Generated Node #0,0,4: 64:[81, 81] Operation: 5+76=81 Moving to Node #0,0,3 Current State: 64:[5, 5], Operations: ['91-15=76', '81-76=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[81, 71], Operations: ['91-15=76', '76-5=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[76, 76], Operations: ['91-15=76', '81-5=76'] Exploring Operation: 76-76=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 76+76=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 76*76=5776, Resulting Numbers: [5776] 5776,64 unequal: No Solution Exploring Operation: 76/76=1, Resulting Numbers: [1] 1,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[76, 86], Operations: ['91-15=76', '5+81=86'] Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 76*86=6536, Resulting Numbers: [6536] 6536,64 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[81, 81], Operations: ['91-15=76', '5+76=81'] Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,64 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[5, 91, 66], Operations: ['81-15=66'] Exploring Operation: 5+66=71, Resulting Numbers: [91, 71] Generated Node #0,2,0: 64:[91, 71] Operation: 5+66=71 Exploring Operation: 5+91=96, Resulting Numbers: [66, 96] Generated Node #0,2,1: 64:[66, 96] Operation: 5+91=96 Exploring Operation: 91-5=86, Resulting Numbers: [66, 86] Generated Node #0,2,2: 64:[66, 86] Operation: 91-5=86 Exploring Operation: 91-66=25, Resulting Numbers: [5, 25] Generated Node #0,2,3: 64:[5, 25] Operation: 91-66=25 Exploring Operation: 66-5=61, Resulting Numbers: [91, 61] Generated Node #0,2,4: 64:[91, 61] Operation: 66-5=61 Moving to Node #0,2,3 Current State: 64:[5, 25], Operations: ['81-15=66', '91-66=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[66, 86], Operations: ['81-15=66', '91-5=86'] Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,64 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[91, 61], Operations: ['81-15=66', '66-5=61'] Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[91, 71], Operations: ['81-15=66', '5+66=71'] Exploring Operation: 91*71=6461, Resulting Numbers: [6461] 6461,64 unequal: No Solution Exploring Operation: 91+71=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 91-71=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[66, 96], Operations: ['81-15=66', '5+91=96'] Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,64 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[15, 81, 86], Operations: ['91-5=86'] Exploring Operation: 86-81=5, Resulting Numbers: [15, 5] Generated Node #0,3,0: 64:[15, 5] Operation: 86-81=5 Exploring Operation: 81-15=66, Resulting Numbers: [86, 66] Generated Node #0,3,1: 64:[86, 66] Operation: 81-15=66 Exploring Operation: 15+86=101, Resulting Numbers: [81, 101] Generated Node #0,3,2: 64:[81, 101] Operation: 15+86=101 Exploring Operation: 15+81=96, Resulting Numbers: [86, 96] Generated Node #0,3,3: 64:[86, 96] Operation: 15+81=96 Exploring Operation: 86-15=71, Resulting Numbers: [81, 71] Generated Node #0,3,4: 64:[81, 71] Operation: 86-15=71 Moving to Node #0,3,0 Current State: 64:[15, 5], Operations: ['91-5=86', '86-81=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,64 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[81, 71], Operations: ['91-5=86', '86-15=71'] Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,64 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[86, 66], Operations: ['91-5=86', '81-15=66'] Exploring Operation: 86*66=5676, Resulting Numbers: [5676] 5676,64 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[81, 101], Operations: ['91-5=86', '15+86=101'] Exploring Operation: 101-81=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 81*101=8181, Resulting Numbers: [8181] 8181,64 unequal: No Solution Exploring Operation: 81+101=182, Resulting Numbers: [182] 182,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[86, 96], Operations: ['91-5=86', '15+81=96'] Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 86+96=182, Resulting Numbers: [182] 182,64 unequal: No Solution Exploring Operation: 86*96=8256, Resulting Numbers: [8256] 8256,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 64:[15, 91, 76], Operations: ['81-5=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91, 91] Generated Node #0,4,0: 64:[91, 91] Operation: 15+76=91 Exploring Operation: 91-15=76, Resulting Numbers: [76, 76] Generated Node #0,4,1: 64:[76, 76] Operation: 91-15=76 Exploring Operation: 76-15=61, Resulting Numbers: [91, 61] Generated Node #0,4,2: 64:[91, 61] Operation: 76-15=61 Exploring Operation: 91-76=15, Resulting Numbers: [15, 15] Generated Node #0,4,3: 64:[15, 15] Operation: 91-76=15 Exploring Operation: 15+91=106, Resulting Numbers: [76, 106] Generated Node #0,4,4: 64:[76, 106] Operation: 15+91=106 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 64:[15, 15], Operations: ['81-5=76', '91-76=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,64 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 64:[76, 76], Operations: ['81-5=76', '91-15=76'] Exploring Operation: 76-76=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 76*76=5776, Resulting Numbers: [5776] 5776,64 unequal: No Solution Exploring Operation: 76+76=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 76/76=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 64:[91, 61], Operations: ['81-5=76', '76-15=61'] Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 64:[91, 91], Operations: ['81-5=76', '15+76=91'] Exploring Operation: 91-91=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 91/91=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 91*91=8281, Resulting Numbers: [8281] 8281,64 unequal: No Solution Exploring Operation: 91+91=182, Resulting Numbers: [182] 182,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 64:[76, 106], Operations: ['81-5=76', '15+91=106'] Exploring Operation: 76+106=182, Resulting Numbers: [182] 182,64 unequal: No Solution Exploring Operation: 76*106=8056, Resulting Numbers: [8056] 8056,64 unequal: No Solution Exploring Operation: 106-76=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 99, 90, 27, 53 ]
50
[ "99-90=9", "27/9=3", "53-3=50" ]
Current State: 50:[99, 90, 27, 53], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [27, 53, 9] Generated Node #2: [27, 53, 9] from Operation: 99-90=9 Current State: 50:[27, 53, 9], Operations: ['99-90=9'] Exploring Operation: 27/9=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 27/9=3 Current State: 50:[53, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[99, 90, 27, 53], Operations: [] Exploring Operation: 90-53=37, Resulting Numbers: [99, 27, 37] Generated Node #0,0: 50:[99, 27, 37] Operation: 90-53=37 Exploring Operation: 99-53=46, Resulting Numbers: [90, 27, 46] Generated Node #0,1: 50:[90, 27, 46] Operation: 99-53=46 Exploring Operation: 99-90=9, Resulting Numbers: [27, 53, 9] Generated Node #0,2: 50:[27, 53, 9] Operation: 99-90=9 Moving to Node #0,2 Current State: 50:[27, 53, 9], Operations: ['99-90=9'] Exploring Operation: 53-9=44, Resulting Numbers: [27, 44] Generated Node #0,2,0: 50:[27, 44] Operation: 53-9=44 Exploring Operation: 27/9=3, Resulting Numbers: [53, 3] Generated Node #0,2,1: 50:[53, 3] Operation: 27/9=3 Exploring Operation: 53-27=26, Resulting Numbers: [9, 26] Generated Node #0,2,2: 50:[9, 26] Operation: 53-27=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[9, 26], Operations: ['99-90=9', '53-27=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[53, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[99, 90, 27, 53], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [27, 53, 9] Generated Node #0,2: 50:[27, 53, 9] Operation: 99-90=9 Moving to Node #0,2 Current State: 50:[27, 53, 9], Operations: ['99-90=9'] Exploring Operation: 27/9=3, Resulting Numbers: [53, 3] Generated Node #0,2,1: 50:[53, 3] Operation: 27/9=3 Moving to Node #0,2,1 Current State: 50:[53, 3], Operations: ['99-90=9', '27/9=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 2, 48, 5, 35 ]
36
[ "48+5=53", "53-35=18", "2*18=36" ]
Current State: 36:[2, 48, 5, 35], Operations: [] Exploring Operation: 48+5=53, Resulting Numbers: [2, 35, 53] Generated Node #2: [2, 35, 53] from Operation: 48+5=53 Current State: 36:[2, 35, 53], Operations: ['48+5=53'] Exploring Operation: 53-35=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 53-35=18 Current State: 36:[2, 18], Operations: ['48+5=53', '53-35=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 48, 5, 35], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [5, 35, 24] Generated Node #0,0: 36:[5, 35, 24] Operation: 48/2=24 Exploring Operation: 48-2=46, Resulting Numbers: [5, 35, 46] Generated Node #0,1: 36:[5, 35, 46] Operation: 48-2=46 Exploring Operation: 48-5=43, Resulting Numbers: [2, 35, 43] Generated Node #0,2: 36:[2, 35, 43] Operation: 48-5=43 Exploring Operation: 48-35=13, Resulting Numbers: [2, 5, 13] Generated Node #0,3: 36:[2, 5, 13] Operation: 48-35=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[2, 5, 13], Operations: ['48-35=13'] Exploring Operation: 13-5=8, Resulting Numbers: [2, 8] Generated Node #0,3,0: 36:[2, 8] Operation: 13-5=8 Exploring Operation: 2+5=7, Resulting Numbers: [13, 7] Generated Node #0,3,1: 36:[13, 7] Operation: 2+5=7 Exploring Operation: 5+13=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 36:[2, 18] Operation: 5+13=18 Exploring Operation: 5-2=3, Resulting Numbers: [13, 3] Generated Node #0,3,3: 36:[13, 3] Operation: 5-2=3 Moving to Node #0,3,2 Current State: 36:[2, 18], Operations: ['48-35=13', '5+13=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[2, 48, 5, 35], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [2, 5, 13] Generated Node #0,3: 36:[2, 5, 13] Operation: 48-35=13 Moving to Node #0,3 Current State: 36:[2, 5, 13], Operations: ['48-35=13'] Exploring Operation: 5+13=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 36:[2, 18] Operation: 5+13=18 Moving to Node #0,3,2 Current State: 36:[2, 18], Operations: ['48-35=13', '5+13=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 98, 3, 62, 17 ]
35
[ "98-17=81", "81/3=27", "62-27=35" ]
Current State: 35:[98, 3, 62, 17], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [3, 62, 81] Generated Node #2: [3, 62, 81] from Operation: 98-17=81 Current State: 35:[3, 62, 81], Operations: ['98-17=81'] Exploring Operation: 81/3=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 81/3=27 Current State: 35:[62, 27], Operations: ['98-17=81', '81/3=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[98, 3, 62, 17], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [3, 17, 36] Generated Node #0,0: 35:[3, 17, 36] Operation: 98-62=36 Exploring Operation: 62-17=45, Resulting Numbers: [98, 3, 45] Generated Node #0,1: 35:[98, 3, 45] Operation: 62-17=45 Exploring Operation: 98-17=81, Resulting Numbers: [3, 62, 81] Generated Node #0,2: 35:[3, 62, 81] Operation: 98-17=81 Moving to Node #0,0 Current State: 35:[3, 17, 36], Operations: ['98-62=36'] Exploring Operation: 17-3=14, Resulting Numbers: [36, 14] Generated Node #0,0,0: 35:[36, 14] Operation: 17-3=14 Exploring Operation: 3+17=20, Resulting Numbers: [36, 20] Generated Node #0,0,1: 35:[36, 20] Operation: 3+17=20 Exploring Operation: 36-3=33, Resulting Numbers: [17, 33] Generated Node #0,0,2: 35:[17, 33] Operation: 36-3=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[36, 14], Operations: ['98-62=36', '17-3=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[17, 33], Operations: ['98-62=36', '36-3=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,35 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[36, 20], Operations: ['98-62=36', '3+17=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,35 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 35:[98, 3, 45], Operations: ['62-17=45'] Exploring Operation: 98-3=95, Resulting Numbers: [45, 95] Generated Node #0,1,0: 35:[45, 95] Operation: 98-3=95 Exploring Operation: 98-45=53, Resulting Numbers: [3, 53] Generated Node #0,1,1: 35:[3, 53] Operation: 98-45=53 Exploring Operation: 45-3=42, Resulting Numbers: [98, 42] Generated Node #0,1,2: 35:[98, 42] Operation: 45-3=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[3, 53], Operations: ['62-17=45', '98-45=53'] Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,35 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[45, 95], Operations: ['62-17=45', '98-3=95'] Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,35 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[98, 42], Operations: ['62-17=45', '45-3=42'] Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,35 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 35:[3, 62, 81], Operations: ['98-17=81'] Exploring Operation: 81-62=19, Resulting Numbers: [3, 19] Generated Node #0,2,0: 35:[3, 19] Operation: 81-62=19 Exploring Operation: 81/3=27, Resulting Numbers: [62, 27] Generated Node #0,2,1: 35:[62, 27] Operation: 81/3=27 Exploring Operation: 62-3=59, Resulting Numbers: [81, 59] Generated Node #0,2,2: 35:[81, 59] Operation: 62-3=59 Moving to Node #0,2,0 Current State: 35:[3, 19], Operations: ['98-17=81', '81-62=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[62, 27], Operations: ['98-17=81', '81/3=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[98, 3, 62, 17], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [3, 62, 81] Generated Node #0,2: 35:[3, 62, 81] Operation: 98-17=81 Moving to Node #0,2 Current State: 35:[3, 62, 81], Operations: ['98-17=81'] Exploring Operation: 81/3=27, Resulting Numbers: [62, 27] Generated Node #0,2,1: 35:[62, 27] Operation: 81/3=27 Moving to Node #0,2,1 Current State: 35:[62, 27], Operations: ['98-17=81', '81/3=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 59, 65, 75, 81 ]
84
[ "65*75=4875", "81+4875=4956", "4956/59=84" ]
Current State: 84:[59, 65, 75, 81], Operations: [] Exploring Operation: 65*75=4875, Resulting Numbers: [59, 81, 4875] Generated Node #2: [59, 81, 4875] from Operation: 65*75=4875 Current State: 84:[59, 81, 4875], Operations: ['65*75=4875'] Exploring Operation: 81+4875=4956, Resulting Numbers: [59, 4956] Generated Node #3: [59, 4956] from Operation: 81+4875=4956 Current State: 84:[59, 4956], Operations: ['65*75=4875', '81+4875=4956'] Exploring Operation: 4956/59=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[59, 65, 75, 81], Operations: [] Exploring Operation: 81-65=16, Resulting Numbers: [59, 75, 16] Generated Node #0,0: 84:[59, 75, 16] Operation: 81-65=16 Exploring Operation: 75-65=10, Resulting Numbers: [59, 81, 10] Generated Node #0,1: 84:[59, 81, 10] Operation: 75-65=10 Exploring Operation: 75-59=16, Resulting Numbers: [65, 81, 16] Generated Node #0,2: 84:[65, 81, 16] Operation: 75-59=16 Exploring Operation: 65-59=6, Resulting Numbers: [75, 81, 6] Generated Node #0,3: 84:[75, 81, 6] Operation: 65-59=6 Moving to Node #0,3 Current State: 84:[75, 81, 6], Operations: ['65-59=6'] Exploring Operation: 75-6=69, Resulting Numbers: [81, 69] Generated Node #0,3,0: 84:[81, 69] Operation: 75-6=69 Exploring Operation: 75+6=81, Resulting Numbers: [81, 81] Generated Node #0,3,1: 84:[81, 81] Operation: 75+6=81 Exploring Operation: 81+6=87, Resulting Numbers: [75, 87] Generated Node #0,3,2: 84:[75, 87] Operation: 81+6=87 Exploring Operation: 81-75=6, Resulting Numbers: [6, 6] Generated Node #0,3,3: 84:[6, 6] Operation: 81-75=6 Moving to Node #0,1 Current State: 84:[59, 81, 10], Operations: ['75-65=10'] Exploring Operation: 81-59=22, Resulting Numbers: [10, 22] Generated Node #0,1,0: 84:[10, 22] Operation: 81-59=22 Exploring Operation: 81+10=91, Resulting Numbers: [59, 91] Generated Node #0,1,1: 84:[59, 91] Operation: 81+10=91 Exploring Operation: 59-10=49, Resulting Numbers: [81, 49] Generated Node #0,1,2: 84:[81, 49] Operation: 59-10=49 Exploring Operation: 59+10=69, Resulting Numbers: [81, 69] Generated Node #0,1,3: 84:[81, 69] Operation: 59+10=69 Moving to Node #0,2 Current State: 84:[65, 81, 16], Operations: ['75-59=16'] Exploring Operation: 81-65=16, Resulting Numbers: [16, 16] Generated Node #0,2,0: 84:[16, 16] Operation: 81-65=16 Exploring Operation: 81+16=97, Resulting Numbers: [65, 97] Generated Node #0,2,1: 84:[65, 97] Operation: 81+16=97 Exploring Operation: 65-16=49, Resulting Numbers: [81, 49] Generated Node #0,2,2: 84:[81, 49] Operation: 65-16=49 Exploring Operation: 65+16=81, Resulting Numbers: [81, 81] Generated Node #0,2,3: 84:[81, 81] Operation: 65+16=81 Moving to Node #0,0 Current State: 84:[59, 75, 16], Operations: ['81-65=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75, 75] Generated Node #0,0,0: 84:[75, 75] Operation: 59+16=75 Exploring Operation: 75+16=91, Resulting Numbers: [59, 91] Generated Node #0,0,1: 84:[59, 91] Operation: 75+16=91 Exploring Operation: 59-16=43, Resulting Numbers: [75, 43] Generated Node #0,0,2: 84:[75, 43] Operation: 59-16=43 Exploring Operation: 75-59=16, Resulting Numbers: [16, 16] Generated Node #0,0,3: 84:[16, 16] Operation: 75-59=16 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[16, 16], Operations: ['81-65=16', '75-59=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,84 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[75, 43], Operations: ['81-65=16', '59-16=43'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,84 unequal: No Solution Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[75, 75], Operations: ['81-65=16', '59+16=75'] Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,84 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[59, 91], Operations: ['81-65=16', '75+16=91'] Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 59+91=150, Resulting Numbers: [150] 150,84 unequal: No Solution Exploring Operation: 59*91=5369, Resulting Numbers: [5369] 5369,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 84:[6, 6], Operations: ['65-59=6', '81-75=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[10, 22], Operations: ['75-65=10', '81-59=22'] Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,84 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[16, 16], Operations: ['75-59=16', '81-65=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[81, 81], Operations: ['65-59=6', '75+6=81'] Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,84 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[81, 81], Operations: ['75-59=16', '65+16=81'] Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,84 unequal: No Solution Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,84 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[81, 49], Operations: ['75-65=10', '59-10=49'] Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[81, 49], Operations: ['75-59=16', '65-16=49'] Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,84 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[75, 87], Operations: ['65-59=6', '81+6=87'] Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,84 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[81, 69], Operations: ['65-59=6', '75-6=69'] Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,84 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[81, 69], Operations: ['75-65=10', '59+10=69'] Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,84 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[59, 91], Operations: ['75-65=10', '81+10=91'] Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 59*91=5369, Resulting Numbers: [5369] 5369,84 unequal: No Solution Exploring Operation: 59+91=150, Resulting Numbers: [150] 150,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[65, 97], Operations: ['75-59=16', '81+16=97'] Exploring Operation: 65+97=162, Resulting Numbers: [162] 162,84 unequal: No Solution Exploring Operation: 65*97=6305, Resulting Numbers: [6305] 6305,84 unequal: No Solution Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,84 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 41, 23, 2, 30 ]
46
[ "41-23=18", "30-2=28", "18+28=46" ]
Current State: 46:[41, 23, 2, 30], Operations: [] Exploring Operation: 41-23=18, Resulting Numbers: [2, 30, 18] Generated Node #2: [2, 30, 18] from Operation: 41-23=18 Current State: 46:[2, 30, 18], Operations: ['41-23=18'] Exploring Operation: 30-2=28, Resulting Numbers: [18, 28] Generated Node #3: [18, 28] from Operation: 30-2=28 Current State: 46:[18, 28], Operations: ['41-23=18', '30-2=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 23, 2, 30], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [23, 2, 11] Generated Node #0,0: 46:[23, 2, 11] Operation: 41-30=11 Exploring Operation: 41+2=43, Resulting Numbers: [23, 30, 43] Generated Node #0,1: 46:[23, 30, 43] Operation: 41+2=43 Moving to Node #0,0 Current State: 46:[23, 2, 11], Operations: ['41-30=11'] Exploring Operation: 2*11=22, Resulting Numbers: [23, 22] Generated Node #0,0,0: 46:[23, 22] Operation: 2*11=22 Exploring Operation: 11-2=9, Resulting Numbers: [23, 9] Generated Node #0,0,1: 46:[23, 9] Operation: 11-2=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[23, 22], Operations: ['41-30=11', '2*11=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[23, 9], Operations: ['41-30=11', '11-2=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[23, 30, 43], Operations: ['41+2=43'] Exploring Operation: 23+30=53, Resulting Numbers: [43, 53] Generated Node #0,1,0: 46:[43, 53] Operation: 23+30=53 Exploring Operation: 30-23=7, Resulting Numbers: [43, 7] Generated Node #0,1,1: 46:[43, 7] Operation: 30-23=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[43, 7], Operations: ['41+2=43', '30-23=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[43, 53], Operations: ['41+2=43', '23+30=53'] Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 75, 57, 21, 68 ]
54
[ "75-68=7", "21/7=3", "57-3=54" ]
Current State: 54:[75, 57, 21, 68], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [57, 21, 7] Generated Node #2: [57, 21, 7] from Operation: 75-68=7 Current State: 54:[57, 21, 7], Operations: ['75-68=7'] Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 21/7=3 Current State: 54:[57, 3], Operations: ['75-68=7', '21/7=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[75, 57, 21, 68], Operations: [] Exploring Operation: 75-21=54, Resulting Numbers: [57, 68, 54] Generated Node #0,0: 54:[57, 68, 54] Operation: 75-21=54 Exploring Operation: 75-57=18, Resulting Numbers: [21, 68, 18] Generated Node #0,1: 54:[21, 68, 18] Operation: 75-57=18 Exploring Operation: 75-68=7, Resulting Numbers: [57, 21, 7] Generated Node #0,2: 54:[57, 21, 7] Operation: 75-68=7 Exploring Operation: 68-57=11, Resulting Numbers: [75, 21, 11] Generated Node #0,3: 54:[75, 21, 11] Operation: 68-57=11 Exploring Operation: 68-21=47, Resulting Numbers: [75, 57, 47] Generated Node #0,4: 54:[75, 57, 47] Operation: 68-21=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[57, 21, 7], Operations: ['75-68=7'] Exploring Operation: 21+7=28, Resulting Numbers: [57, 28] Generated Node #0,2,0: 54:[57, 28] Operation: 21+7=28 Exploring Operation: 57-21=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 54:[7, 36] Operation: 57-21=36 Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #0,2,2: 54:[57, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [57, 14] Generated Node #0,2,3: 54:[57, 14] Operation: 21-7=14 Exploring Operation: 57-7=50, Resulting Numbers: [21, 50] Generated Node #0,2,4: 54:[21, 50] Operation: 57-7=50 Moving to Node #0,2,2 Current State: 54:[57, 3], Operations: ['75-68=7', '21/7=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[75, 57, 21, 68], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [57, 21, 7] Generated Node #0,2: 54:[57, 21, 7] Operation: 75-68=7 Moving to Node #0,2 Current State: 54:[57, 21, 7], Operations: ['75-68=7'] Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #0,2,2: 54:[57, 3] Operation: 21/7=3 Moving to Node #0,2,2 Current State: 54:[57, 3], Operations: ['75-68=7', '21/7=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 37, 10, 36, 14 ]
69
[ "37+10=47", "36-14=22", "47+22=69" ]
Current State: 69:[37, 10, 36, 14], Operations: [] Exploring Operation: 37+10=47, Resulting Numbers: [36, 14, 47] Generated Node #2: [36, 14, 47] from Operation: 37+10=47 Current State: 69:[36, 14, 47], Operations: ['37+10=47'] Exploring Operation: 36-14=22, Resulting Numbers: [47, 22] Generated Node #3: [47, 22] from Operation: 36-14=22 Current State: 69:[47, 22], Operations: ['37+10=47', '36-14=22'] Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[37, 10, 36, 14], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [10, 14, 1] Generated Node #0,0: 69:[10, 14, 1] Operation: 37-36=1 Moving to Node #0,0 Current State: 69:[10, 14, 1], Operations: ['37-36=1'] Exploring Operation: 10+14=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 69:[1, 24] Operation: 10+14=24 Moving to Node #0,0,0 Current State: 69:[1, 24], Operations: ['37-36=1', '10+14=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 86, 1, 94 ]
13
[ "86-6=80", "94-1=93", "93-80=13" ]
Current State: 13:[6, 86, 1, 94], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [1, 94, 80] Generated Node #2: [1, 94, 80] from Operation: 86-6=80 Current State: 13:[1, 94, 80], Operations: ['86-6=80'] Exploring Operation: 94-1=93, Resulting Numbers: [80, 93] Generated Node #3: [80, 93] from Operation: 94-1=93 Current State: 13:[80, 93], Operations: ['86-6=80', '94-1=93'] Exploring Operation: 93-80=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[6, 86, 1, 94], Operations: [] Exploring Operation: 6+1=7, Resulting Numbers: [86, 94, 7] Generated Node #0,0: 13:[86, 94, 7] Operation: 6+1=7 Exploring Operation: 94-86=8, Resulting Numbers: [6, 1, 8] Generated Node #0,1: 13:[6, 1, 8] Operation: 94-86=8 Exploring Operation: 86-6=80, Resulting Numbers: [1, 94, 80] Generated Node #0,2: 13:[1, 94, 80] Operation: 86-6=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[6, 1, 8], Operations: ['94-86=8'] Exploring Operation: 1+8=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 13:[6, 9] Operation: 1+8=9 Exploring Operation: 6*1=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 13:[8, 6] Operation: 6*1=6 Exploring Operation: 6+1=7, Resulting Numbers: [8, 7] Generated Node #0,1,2: 13:[8, 7] Operation: 6+1=7 Moving to Node #0,1,0 Current State: 13:[6, 9], Operations: ['94-86=8', '1+8=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[8, 7], Operations: ['94-86=8', '6+1=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[8, 6], Operations: ['94-86=8', '6*1=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[86, 94, 7], Operations: ['6+1=7'] Exploring Operation: 86-7=79, Resulting Numbers: [94, 79] Generated Node #0,0,0: 13:[94, 79] Operation: 86-7=79 Exploring Operation: 94-86=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 13:[7, 8] Operation: 94-86=8 Exploring Operation: 94-7=87, Resulting Numbers: [86, 87] Generated Node #0,0,2: 13:[86, 87] Operation: 94-7=87 Moving to Node #0,0,1 Current State: 13:[7, 8], Operations: ['6+1=7', '94-86=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[94, 79], Operations: ['6+1=7', '86-7=79'] Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 94*79=7426, Resulting Numbers: [7426] 7426,13 unequal: No Solution Exploring Operation: 94+79=173, Resulting Numbers: [173] 173,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[86, 87], Operations: ['6+1=7', '94-7=87'] Exploring Operation: 86+87=173, Resulting Numbers: [173] 173,13 unequal: No Solution Exploring Operation: 86*87=7482, Resulting Numbers: [7482] 7482,13 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[1, 94, 80], Operations: ['86-6=80'] Exploring Operation: 94-80=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 13:[1, 14] Operation: 94-80=14 Exploring Operation: 80-1=79, Resulting Numbers: [94, 79] Generated Node #0,2,1: 13:[94, 79] Operation: 80-1=79 Exploring Operation: 94-1=93, Resulting Numbers: [80, 93] Generated Node #0,2,2: 13:[80, 93] Operation: 94-1=93 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[1, 14], Operations: ['86-6=80', '94-80=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[6, 86, 1, 94], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [1, 94, 80] Generated Node #0,2: 13:[1, 94, 80] Operation: 86-6=80 Moving to Node #0,2 Current State: 13:[1, 94, 80], Operations: ['86-6=80'] Exploring Operation: 94-80=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 13:[1, 14] Operation: 94-80=14 Moving to Node #0,2,0 Current State: 13:[1, 14], Operations: ['86-6=80', '94-80=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 10, 7, 63, 73 ]
80
[ "10*7=70", "73-63=10", "70+10=80" ]
Current State: 80:[10, 7, 63, 73], Operations: [] Exploring Operation: 10*7=70, Resulting Numbers: [63, 73, 70] Generated Node #2: [63, 73, 70] from Operation: 10*7=70 Current State: 80:[63, 73, 70], Operations: ['10*7=70'] Exploring Operation: 73-63=10, Resulting Numbers: [70, 10] Generated Node #3: [70, 10] from Operation: 73-63=10 Current State: 80:[70, 10], Operations: ['10*7=70', '73-63=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[10, 7, 63, 73], Operations: [] Exploring Operation: 10+63=73, Resulting Numbers: [7, 73, 73] Generated Node #0,0: 80:[7, 73, 73] Operation: 10+63=73 Exploring Operation: 63/7=9, Resulting Numbers: [10, 73, 9] Generated Node #0,1: 80:[10, 73, 9] Operation: 63/7=9 Exploring Operation: 73-63=10, Resulting Numbers: [10, 7, 10] Generated Node #0,2: 80:[10, 7, 10] Operation: 73-63=10 Moving to Node #0,2 Current State: 80:[10, 7, 10], Operations: ['73-63=10'] Exploring Operation: 10+7=17, Resulting Numbers: [10, 17] Generated Node #0,2,0: 80:[10, 17] Operation: 10+7=17 Exploring Operation: 10+10=20, Resulting Numbers: [7, 20] Generated Node #0,2,1: 80:[7, 20] Operation: 10+10=20 Exploring Operation: 10-7=3, Resulting Numbers: [10, 3] Generated Node #0,2,2: 80:[10, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[10, 17], Operations: ['73-63=10', '10+7=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,80 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[7, 20], Operations: ['73-63=10', '10+10=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[10, 3], Operations: ['73-63=10', '10-7=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[10, 73, 9], Operations: ['63/7=9'] Exploring Operation: 10+9=19, Resulting Numbers: [73, 19] Generated Node #0,1,0: 80:[73, 19] Operation: 10+9=19 Exploring Operation: 10+73=83, Resulting Numbers: [9, 83] Generated Node #0,1,1: 80:[9, 83] Operation: 10+73=83 Exploring Operation: 73+9=82, Resulting Numbers: [10, 82] Generated Node #0,1,2: 80:[10, 82] Operation: 73+9=82 Moving to Node #0,0 Current State: 80:[7, 73, 73], Operations: ['10+63=73'] Exploring Operation: 73/73=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 80:[7, 1] Operation: 73/73=1 Exploring Operation: 7+73=80, Resulting Numbers: [73, 80] Generated Node #0,0,1: 80:[73, 80] Operation: 7+73=80 Exploring Operation: 73-73=0, Resulting Numbers: [7, 0] Generated Node #0,0,2: 80:[7, 0] Operation: 73-73=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[7, 1], Operations: ['10+63=73', '73/73=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[7, 0], Operations: ['10+63=73', '73-73=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[73, 80], Operations: ['10+63=73', '7+73=80'] Exploring Operation: 73+80=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 73*80=5840, Resulting Numbers: [5840] 5840,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 80:[10, 82], Operations: ['63/7=9', '73+9=82'] Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,80 unequal: No Solution Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[9, 83], Operations: ['63/7=9', '10+73=83'] Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,80 unequal: No Solution Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[73, 19], Operations: ['63/7=9', '10+9=19'] Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,80 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,80 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 34, 25, 78 ]
12
[ "4*25=100", "34+78=112", "112-100=12" ]
Current State: 12:[4, 34, 25, 78], Operations: [] Exploring Operation: 4*25=100, Resulting Numbers: [34, 78, 100] Generated Node #2: [34, 78, 100] from Operation: 4*25=100 Current State: 12:[34, 78, 100], Operations: ['4*25=100'] Exploring Operation: 34+78=112, Resulting Numbers: [100, 112] Generated Node #3: [100, 112] from Operation: 34+78=112 Current State: 12:[100, 112], Operations: ['4*25=100', '34+78=112'] Exploring Operation: 112-100=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[4, 34, 25, 78], Operations: [] Exploring Operation: 34-25=9, Resulting Numbers: [4, 78, 9] Generated Node #0,0: 12:[4, 78, 9] Operation: 34-25=9 Exploring Operation: 78-34=44, Resulting Numbers: [4, 25, 44] Generated Node #0,1: 12:[4, 25, 44] Operation: 78-34=44 Exploring Operation: 78-25=53, Resulting Numbers: [4, 34, 53] Generated Node #0,2: 12:[4, 34, 53] Operation: 78-25=53 Moving to Node #0,1 Current State: 12:[4, 25, 44], Operations: ['78-34=44'] Exploring Operation: 44-25=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 12:[4, 19] Operation: 44-25=19 Exploring Operation: 25-4=21, Resulting Numbers: [44, 21] Generated Node #0,1,1: 12:[44, 21] Operation: 25-4=21 Exploring Operation: 44/4=11, Resulting Numbers: [25, 11] Generated Node #0,1,2: 12:[25, 11] Operation: 44/4=11 Moving to Node #0,2 Current State: 12:[4, 34, 53], Operations: ['78-25=53'] Exploring Operation: 34-4=30, Resulting Numbers: [53, 30] Generated Node #0,2,0: 12:[53, 30] Operation: 34-4=30 Exploring Operation: 53-34=19, Resulting Numbers: [4, 19] Generated Node #0,2,1: 12:[4, 19] Operation: 53-34=19 Exploring Operation: 53-4=49, Resulting Numbers: [34, 49] Generated Node #0,2,2: 12:[34, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[4, 19], Operations: ['78-25=53', '53-34=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[53, 30], Operations: ['78-25=53', '34-4=30'] Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,12 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[34, 49], Operations: ['78-25=53', '53-4=49'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,12 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 12:[4, 78, 9], Operations: ['34-25=9'] Exploring Operation: 4+9=13, Resulting Numbers: [78, 13] Generated Node #0,0,0: 12:[78, 13] Operation: 4+9=13 Exploring Operation: 78-9=69, Resulting Numbers: [4, 69] Generated Node #0,0,1: 12:[4, 69] Operation: 78-9=69 Exploring Operation: 78-4=74, Resulting Numbers: [9, 74] Generated Node #0,0,2: 12:[9, 74] Operation: 78-4=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[4, 69], Operations: ['34-25=9', '78-9=69'] Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,12 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[9, 74], Operations: ['34-25=9', '78-4=74'] Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,12 unequal: No Solution Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,12 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[78, 13], Operations: ['34-25=9', '4+9=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 12:[4, 19], Operations: ['78-34=44', '44-25=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[25, 11], Operations: ['78-34=44', '44/4=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[44, 21], Operations: ['78-34=44', '25-4=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,12 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 60, 76, 30 ]
51
[ "60+76=136", "30*136=4080", "4080/80=51" ]
Current State: 51:[80, 60, 76, 30], Operations: [] Exploring Operation: 60+76=136, Resulting Numbers: [80, 30, 136] Generated Node #2: [80, 30, 136] from Operation: 60+76=136 Current State: 51:[80, 30, 136], Operations: ['60+76=136'] Exploring Operation: 30*136=4080, Resulting Numbers: [80, 4080] Generated Node #3: [80, 4080] from Operation: 30*136=4080 Current State: 51:[80, 4080], Operations: ['60+76=136', '30*136=4080'] Exploring Operation: 4080/80=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[80, 60, 76, 30], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [60, 30, 4] Generated Node #0,0: 51:[60, 30, 4] Operation: 80-76=4 Exploring Operation: 80-30=50, Resulting Numbers: [60, 76, 50] Generated Node #0,1: 51:[60, 76, 50] Operation: 80-30=50 Moving to Node #0,0 Current State: 51:[60, 30, 4], Operations: ['80-76=4'] Exploring Operation: 60/30=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 51:[4, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [4, 30] Generated Node #0,0,1: 51:[4, 30] Operation: 60-30=30 Moving to Node #0,1 Current State: 51:[60, 76, 50], Operations: ['80-30=50'] Exploring Operation: 76-60=16, Resulting Numbers: [50, 16] Generated Node #0,1,0: 51:[50, 16] Operation: 76-60=16 Exploring Operation: 76-50=26, Resulting Numbers: [60, 26] Generated Node #0,1,1: 51:[60, 26] Operation: 76-50=26 Moving to Node #0,0,0 Current State: 51:[4, 2], Operations: ['80-76=4', '60/30=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[50, 16], Operations: ['80-30=50', '76-60=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[4, 30], Operations: ['80-76=4', '60-30=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[60, 26], Operations: ['80-30=50', '76-50=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 27, 1, 54 ]
64
[ "65+1=66", "54/27=2", "66-2=64" ]
Current State: 64:[65, 27, 1, 54], Operations: [] Exploring Operation: 65+1=66, Resulting Numbers: [27, 54, 66] Generated Node #2: [27, 54, 66] from Operation: 65+1=66 Current State: 64:[27, 54, 66], Operations: ['65+1=66'] Exploring Operation: 54/27=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 54/27=2 Current State: 64:[66, 2], Operations: ['65+1=66', '54/27=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[65, 27, 1, 54], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [65, 1, 2] Generated Node #0,0: 64:[65, 1, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[65, 1, 2], Operations: ['54/27=2'] Exploring Operation: 65-1=64, Resulting Numbers: [2, 64] Generated Node #0,0,0: 64:[2, 64] Operation: 65-1=64 Moving to Node #0,0,0 Current State: 64:[2, 64], Operations: ['54/27=2', '65-1=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 82, 73, 3 ]
16
[ "4+82=86", "73-3=70", "86-70=16" ]
Current State: 16:[4, 82, 73, 3], Operations: [] Exploring Operation: 4+82=86, Resulting Numbers: [73, 3, 86] Generated Node #2: [73, 3, 86] from Operation: 4+82=86 Current State: 16:[73, 3, 86], Operations: ['4+82=86'] Exploring Operation: 73-3=70, Resulting Numbers: [86, 70] Generated Node #3: [86, 70] from Operation: 73-3=70 Current State: 16:[86, 70], Operations: ['4+82=86', '73-3=70'] Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 82, 73, 3], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [4, 3, 9] Generated Node #0,0: 16:[4, 3, 9] Operation: 82-73=9 Exploring Operation: 82-3=79, Resulting Numbers: [4, 73, 79] Generated Node #0,1: 16:[4, 73, 79] Operation: 82-3=79 Exploring Operation: 73-4=69, Resulting Numbers: [82, 3, 69] Generated Node #0,2: 16:[82, 3, 69] Operation: 73-4=69 Exploring Operation: 82-4=78, Resulting Numbers: [73, 3, 78] Generated Node #0,3: 16:[73, 3, 78] Operation: 82-4=78 Exploring Operation: 73-3=70, Resulting Numbers: [4, 82, 70] Generated Node #0,4: 16:[4, 82, 70] Operation: 73-3=70 Moving to Node #0,0 Current State: 16:[4, 3, 9], Operations: ['82-73=9'] Exploring Operation: 4-3=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 16:[9, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [9, 7] Generated Node #0,0,1: 16:[9, 7] Operation: 4+3=7 Exploring Operation: 9/3=3, Resulting Numbers: [4, 3] Generated Node #0,0,2: 16:[4, 3] Operation: 9/3=3 Exploring Operation: 9-4=5, Resulting Numbers: [3, 5] Generated Node #0,0,3: 16:[3, 5] Operation: 9-4=5 Exploring Operation: 9-3=6, Resulting Numbers: [4, 6] Generated Node #0,0,4: 16:[4, 6] Operation: 9-3=6 Moving to Node #0,2 Current State: 16:[82, 3, 69], Operations: ['73-4=69'] Exploring Operation: 82-3=79, Resulting Numbers: [69, 79] Generated Node #0,2,0: 16:[69, 79] Operation: 82-3=79 Exploring Operation: 82+3=85, Resulting Numbers: [69, 85] Generated Node #0,2,1: 16:[69, 85] Operation: 82+3=85 Exploring Operation: 69/3=23, Resulting Numbers: [82, 23] Generated Node #0,2,2: 16:[82, 23] Operation: 69/3=23 Exploring Operation: 82-69=13, Resulting Numbers: [3, 13] Generated Node #0,2,3: 16:[3, 13] Operation: 82-69=13 Exploring Operation: 69-3=66, Resulting Numbers: [82, 66] Generated Node #0,2,4: 16:[82, 66] Operation: 69-3=66 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[3, 13], Operations: ['73-4=69', '82-69=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[4, 82, 73, 3], Operations: [] Exploring Operation: 73-4=69, Resulting Numbers: [82, 3, 69] Generated Node #0,2: 16:[82, 3, 69] Operation: 73-4=69 Moving to Node #0,2 Current State: 16:[82, 3, 69], Operations: ['73-4=69'] Exploring Operation: 82-69=13, Resulting Numbers: [3, 13] Generated Node #0,2,3: 16:[3, 13] Operation: 82-69=13 Moving to Node #0,2,3 Current State: 16:[3, 13], Operations: ['73-4=69', '82-69=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 84, 86, 25, 36 ]
47
[ "86-84=2", "36*2=72", "72-25=47" ]
Current State: 47:[84, 86, 25, 36], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [25, 36, 2] Generated Node #2: [25, 36, 2] from Operation: 86-84=2 Current State: 47:[25, 36, 2], Operations: ['86-84=2'] Exploring Operation: 36*2=72, Resulting Numbers: [25, 72] Generated Node #3: [25, 72] from Operation: 36*2=72 Current State: 47:[25, 72], Operations: ['86-84=2', '36*2=72'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[84, 86, 25, 36], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [84, 36, 61] Generated Node #0,0: 47:[84, 36, 61] Operation: 86-25=61 Exploring Operation: 86-36=50, Resulting Numbers: [84, 25, 50] Generated Node #0,1: 47:[84, 25, 50] Operation: 86-36=50 Exploring Operation: 84-36=48, Resulting Numbers: [86, 25, 48] Generated Node #0,2: 47:[86, 25, 48] Operation: 84-36=48 Exploring Operation: 86-84=2, Resulting Numbers: [25, 36, 2] Generated Node #0,3: 47:[25, 36, 2] Operation: 86-84=2 Exploring Operation: 84-25=59, Resulting Numbers: [86, 36, 59] Generated Node #0,4: 47:[86, 36, 59] Operation: 84-25=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[84, 36, 61], Operations: ['86-25=61'] Exploring Operation: 84+36=120, Resulting Numbers: [61, 120] Generated Node #0,0,0: 47:[61, 120] Operation: 84+36=120 Exploring Operation: 36+61=97, Resulting Numbers: [84, 97] Generated Node #0,0,1: 47:[84, 97] Operation: 36+61=97 Exploring Operation: 61-36=25, Resulting Numbers: [84, 25] Generated Node #0,0,2: 47:[84, 25] Operation: 61-36=25 Exploring Operation: 84-61=23, Resulting Numbers: [36, 23] Generated Node #0,0,3: 47:[36, 23] Operation: 84-61=23 Exploring Operation: 84-36=48, Resulting Numbers: [61, 48] Generated Node #0,0,4: 47:[61, 48] Operation: 84-36=48 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 47:[61, 48], Operations: ['86-25=61', '84-36=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,47 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[36, 23], Operations: ['86-25=61', '84-61=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[84, 25], Operations: ['86-25=61', '61-36=25'] Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,47 unequal: No Solution Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[61, 120], Operations: ['86-25=61', '84+36=120'] Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,47 unequal: No Solution Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[84, 97], Operations: ['86-25=61', '36+61=97'] Exploring Operation: 84+97=181, Resulting Numbers: [181] 181,47 unequal: No Solution Exploring Operation: 84*97=8148, Resulting Numbers: [8148] 8148,47 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[84, 25, 50], Operations: ['86-36=50'] Exploring Operation: 84-25=59, Resulting Numbers: [50, 59] Generated Node #0,1,0: 47:[50, 59] Operation: 84-25=59 Exploring Operation: 50-25=25, Resulting Numbers: [84, 25] Generated Node #0,1,1: 47:[84, 25] Operation: 50-25=25 Exploring Operation: 84-50=34, Resulting Numbers: [25, 34] Generated Node #0,1,2: 47:[25, 34] Operation: 84-50=34 Exploring Operation: 25+50=75, Resulting Numbers: [84, 75] Generated Node #0,1,3: 47:[84, 75] Operation: 25+50=75 Exploring Operation: 84+25=109, Resulting Numbers: [50, 109] Generated Node #0,1,4: 47:[50, 109] Operation: 84+25=109 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[50, 59], Operations: ['86-36=50', '84-25=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[25, 34], Operations: ['86-36=50', '84-50=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,47 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[84, 25], Operations: ['86-36=50', '50-25=25'] Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,47 unequal: No Solution Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[84, 75], Operations: ['86-36=50', '25+50=75'] Exploring Operation: 84*75=6300, Resulting Numbers: [6300] 6300,47 unequal: No Solution Exploring Operation: 84+75=159, Resulting Numbers: [159] 159,47 unequal: No Solution Exploring Operation: 84-75=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 47:[50, 109], Operations: ['86-36=50', '84+25=109'] Exploring Operation: 50*109=5450, Resulting Numbers: [5450] 5450,47 unequal: No Solution Exploring Operation: 50+109=159, Resulting Numbers: [159] 159,47 unequal: No Solution Exploring Operation: 109-50=59, Resulting Numbers: [59] 59,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[86, 25, 48], Operations: ['84-36=48'] Exploring Operation: 86-48=38, Resulting Numbers: [25, 38] Generated Node #0,2,0: 47:[25, 38] Operation: 86-48=38 Exploring Operation: 86-25=61, Resulting Numbers: [48, 61] Generated Node #0,2,1: 47:[48, 61] Operation: 86-25=61 Exploring Operation: 48-25=23, Resulting Numbers: [86, 23] Generated Node #0,2,2: 47:[86, 23] Operation: 48-25=23 Exploring Operation: 86+25=111, Resulting Numbers: [48, 111] Generated Node #0,2,3: 47:[48, 111] Operation: 86+25=111 Exploring Operation: 25+48=73, Resulting Numbers: [86, 73] Generated Node #0,2,4: 47:[86, 73] Operation: 25+48=73 Moving to Node #0,2,1 Current State: 47:[48, 61], Operations: ['84-36=48', '86-25=61'] Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[25, 38], Operations: ['84-36=48', '86-48=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,47 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[86, 23], Operations: ['84-36=48', '48-25=23'] Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,47 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[48, 111], Operations: ['84-36=48', '86+25=111'] Exploring Operation: 48*111=5328, Resulting Numbers: [5328] 5328,47 unequal: No Solution Exploring Operation: 48+111=159, Resulting Numbers: [159] 159,47 unequal: No Solution Exploring Operation: 111-48=63, Resulting Numbers: [63] 63,47 unequal: No Solution Moving to Node #0,2,4 Current State: 47:[86, 73], Operations: ['84-36=48', '25+48=73'] Exploring Operation: 86+73=159, Resulting Numbers: [159] 159,47 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 86*73=6278, Resulting Numbers: [6278] 6278,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[86, 36, 59], Operations: ['84-25=59'] Exploring Operation: 59-36=23, Resulting Numbers: [86, 23] Generated Node #0,4,0: 47:[86, 23] Operation: 59-36=23 Exploring Operation: 86-36=50, Resulting Numbers: [59, 50] Generated Node #0,4,1: 47:[59, 50] Operation: 86-36=50 Exploring Operation: 86-59=27, Resulting Numbers: [36, 27] Generated Node #0,4,2: 47:[36, 27] Operation: 86-59=27 Exploring Operation: 86+36=122, Resulting Numbers: [59, 122] Generated Node #0,4,3: 47:[59, 122] Operation: 86+36=122 Exploring Operation: 36+59=95, Resulting Numbers: [86, 95] Generated Node #0,4,4: 47:[86, 95] Operation: 36+59=95 Moving to Node #0,4,1 Current State: 47:[59, 50], Operations: ['84-25=59', '86-36=50'] Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,47 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[36, 27], Operations: ['84-25=59', '86-59=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,47 unequal: No Solution Moving to Node #0,4,0 Current State: 47:[86, 23], Operations: ['84-25=59', '59-36=23'] Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[59, 122], Operations: ['84-25=59', '86+36=122'] Exploring Operation: 59*122=7198, Resulting Numbers: [7198] 7198,47 unequal: No Solution Exploring Operation: 122-59=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 59+122=181, Resulting Numbers: [181] 181,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[86, 95], Operations: ['84-25=59', '36+59=95'] Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,47 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[25, 36, 2], Operations: ['86-84=2'] Exploring Operation: 25*2=50, Resulting Numbers: [36, 50] Generated Node #0,3,0: 47:[36, 50] Operation: 25*2=50 Exploring Operation: 36+2=38, Resulting Numbers: [25, 38] Generated Node #0,3,1: 47:[25, 38] Operation: 36+2=38 Exploring Operation: 25-2=23, Resulting Numbers: [36, 23] Generated Node #0,3,2: 47:[36, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [36, 27] Generated Node #0,3,3: 47:[36, 27] Operation: 25+2=27 Exploring Operation: 36-2=34, Resulting Numbers: [25, 34] Generated Node #0,3,4: 47:[25, 34] Operation: 36-2=34 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[36, 50], Operations: ['86-84=2', '25*2=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,47 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[25, 38], Operations: ['86-84=2', '36+2=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,47 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[36, 27], Operations: ['86-84=2', '25+2=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,47 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[36, 23], Operations: ['86-84=2', '25-2=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 47:[25, 34], Operations: ['86-84=2', '36-2=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 30, 30, 45, 82 ]
97
[ "30+30=60", "82-45=37", "60+37=97" ]
Current State: 97:[30, 30, 45, 82], Operations: [] Exploring Operation: 30+30=60, Resulting Numbers: [45, 82, 60] Generated Node #2: [45, 82, 60] from Operation: 30+30=60 Current State: 97:[45, 82, 60], Operations: ['30+30=60'] Exploring Operation: 82-45=37, Resulting Numbers: [60, 37] Generated Node #3: [60, 37] from Operation: 82-45=37 Current State: 97:[60, 37], Operations: ['30+30=60', '82-45=37'] Exploring Operation: 60+37=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[30, 30, 45, 82], Operations: [] Exploring Operation: 30+30=60, Resulting Numbers: [45, 82, 60] Generated Node #0,0: 97:[45, 82, 60] Operation: 30+30=60 Exploring Operation: 30+45=75, Resulting Numbers: [30, 82, 75] Generated Node #0,1: 97:[30, 82, 75] Operation: 30+45=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[45, 82, 60], Operations: ['30+30=60'] Exploring Operation: 45+60=105, Resulting Numbers: [82, 105] Generated Node #0,0,0: 97:[82, 105] Operation: 45+60=105 Exploring Operation: 45+82=127, Resulting Numbers: [60, 127] Generated Node #0,0,1: 97:[60, 127] Operation: 45+82=127 Moving to Node #0,0,0 Current State: 97:[82, 105], Operations: ['30+30=60', '45+60=105'] Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[60, 127], Operations: ['30+30=60', '45+82=127'] Exploring Operation: 60+127=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[30, 82, 75], Operations: ['30+45=75'] Exploring Operation: 30+82=112, Resulting Numbers: [75, 112] Generated Node #0,1,0: 97:[75, 112] Operation: 30+82=112 Exploring Operation: 30+75=105, Resulting Numbers: [82, 105] Generated Node #0,1,1: 97:[82, 105] Operation: 30+75=105 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[82, 105], Operations: ['30+45=75', '30+75=105'] Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[75, 112], Operations: ['30+45=75', '30+82=112'] Exploring Operation: 112-75=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 75+112=187, Resulting Numbers: [187] 187,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 6, 52, 49, 35 ]
70
[ "6*35=210", "52-49=3", "210/3=70" ]
Current State: 70:[6, 52, 49, 35], Operations: [] Exploring Operation: 6*35=210, Resulting Numbers: [52, 49, 210] Generated Node #2: [52, 49, 210] from Operation: 6*35=210 Current State: 70:[52, 49, 210], Operations: ['6*35=210'] Exploring Operation: 52-49=3, Resulting Numbers: [210, 3] Generated Node #3: [210, 3] from Operation: 52-49=3 Current State: 70:[210, 3], Operations: ['6*35=210', '52-49=3'] Exploring Operation: 210/3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[6, 52, 49, 35], Operations: [] Exploring Operation: 52-6=46, Resulting Numbers: [49, 35, 46] Generated Node #0,0: 70:[49, 35, 46] Operation: 52-6=46 Exploring Operation: 52-49=3, Resulting Numbers: [6, 35, 3] Generated Node #0,1: 70:[6, 35, 3] Operation: 52-49=3 Exploring Operation: 52-35=17, Resulting Numbers: [6, 49, 17] Generated Node #0,2: 70:[6, 49, 17] Operation: 52-35=17 Exploring Operation: 49-35=14, Resulting Numbers: [6, 52, 14] Generated Node #0,3: 70:[6, 52, 14] Operation: 49-35=14 Moving to Node #0,1 Current State: 70:[6, 35, 3], Operations: ['52-49=3'] Exploring Operation: 6+3=9, Resulting Numbers: [35, 9] Generated Node #0,1,0: 70:[35, 9] Operation: 6+3=9 Exploring Operation: 6*3=18, Resulting Numbers: [35, 18] Generated Node #0,1,1: 70:[35, 18] Operation: 6*3=18 Exploring Operation: 6/3=2, Resulting Numbers: [35, 2] Generated Node #0,1,2: 70:[35, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [35, 3] Generated Node #0,1,3: 70:[35, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[35, 2], Operations: ['52-49=3', '6/3=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[6, 52, 49, 35], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [6, 35, 3] Generated Node #0,1: 70:[6, 35, 3] Operation: 52-49=3 Moving to Node #0,1 Current State: 70:[6, 35, 3], Operations: ['52-49=3'] Exploring Operation: 6/3=2, Resulting Numbers: [35, 2] Generated Node #0,1,2: 70:[35, 2] Operation: 6/3=2 Moving to Node #0,1,2 Current State: 70:[35, 2], Operations: ['52-49=3', '6/3=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 16, 71, 40, 35 ]
57
[ "16*35=560", "560/40=14", "71-14=57" ]
Current State: 57:[16, 71, 40, 35], Operations: [] Exploring Operation: 16*35=560, Resulting Numbers: [71, 40, 560] Generated Node #2: [71, 40, 560] from Operation: 16*35=560 Current State: 57:[71, 40, 560], Operations: ['16*35=560'] Exploring Operation: 560/40=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 560/40=14 Current State: 57:[71, 14], Operations: ['16*35=560', '560/40=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[16, 71, 40, 35], Operations: [] Exploring Operation: 16+40=56, Resulting Numbers: [71, 35, 56] Generated Node #0,0: 57:[71, 35, 56] Operation: 16+40=56 Exploring Operation: 40-35=5, Resulting Numbers: [16, 71, 5] Generated Node #0,1: 57:[16, 71, 5] Operation: 40-35=5 Moving to Node #0,1 Current State: 57:[16, 71, 5], Operations: ['40-35=5'] Exploring Operation: 71-16=55, Resulting Numbers: [5, 55] Generated Node #0,1,0: 57:[5, 55] Operation: 71-16=55 Exploring Operation: 71-5=66, Resulting Numbers: [16, 66] Generated Node #0,1,1: 57:[16, 66] Operation: 71-5=66 Moving to Node #0,0 Current State: 57:[71, 35, 56], Operations: ['16+40=56'] Exploring Operation: 56-35=21, Resulting Numbers: [71, 21] Generated Node #0,0,0: 57:[71, 21] Operation: 56-35=21 Exploring Operation: 71-35=36, Resulting Numbers: [56, 36] Generated Node #0,0,1: 57:[56, 36] Operation: 71-35=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[71, 21], Operations: ['16+40=56', '56-35=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[56, 36], Operations: ['16+40=56', '71-35=36'] Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 57:[5, 55], Operations: ['40-35=5', '71-16=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[16, 66], Operations: ['40-35=5', '71-5=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,57 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 41, 49, 35, 30 ]
38
[ "41+49=90", "90/30=3", "35+3=38" ]
Current State: 38:[41, 49, 35, 30], Operations: [] Exploring Operation: 41+49=90, Resulting Numbers: [35, 30, 90] Generated Node #2: [35, 30, 90] from Operation: 41+49=90 Current State: 38:[35, 30, 90], Operations: ['41+49=90'] Exploring Operation: 90/30=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 90/30=3 Current State: 38:[35, 3], Operations: ['41+49=90', '90/30=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 49, 35, 30], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [35, 30, 8] Generated Node #0,0: 38:[35, 30, 8] Operation: 49-41=8 Exploring Operation: 49-30=19, Resulting Numbers: [41, 35, 19] Generated Node #0,1: 38:[41, 35, 19] Operation: 49-30=19 Exploring Operation: 35-30=5, Resulting Numbers: [41, 49, 5] Generated Node #0,2: 38:[41, 49, 5] Operation: 35-30=5 Exploring Operation: 49-35=14, Resulting Numbers: [41, 30, 14] Generated Node #0,3: 38:[41, 30, 14] Operation: 49-35=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[41, 35, 19], Operations: ['49-30=19'] Exploring Operation: 35-19=16, Resulting Numbers: [41, 16] Generated Node #0,1,0: 38:[41, 16] Operation: 35-19=16 Exploring Operation: 41-35=6, Resulting Numbers: [19, 6] Generated Node #0,1,1: 38:[19, 6] Operation: 41-35=6 Exploring Operation: 41-19=22, Resulting Numbers: [35, 22] Generated Node #0,1,2: 38:[35, 22] Operation: 41-19=22 Exploring Operation: 35+19=54, Resulting Numbers: [41, 54] Generated Node #0,1,3: 38:[41, 54] Operation: 35+19=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[19, 6], Operations: ['49-30=19', '41-35=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,38 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[41, 16], Operations: ['49-30=19', '35-19=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,38 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[35, 22], Operations: ['49-30=19', '41-19=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,38 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[41, 54], Operations: ['49-30=19', '35+19=54'] Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,38 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[41, 30, 14], Operations: ['49-35=14'] Exploring Operation: 41-30=11, Resulting Numbers: [14, 11] Generated Node #0,3,0: 38:[14, 11] Operation: 41-30=11 Exploring Operation: 41-14=27, Resulting Numbers: [30, 27] Generated Node #0,3,1: 38:[30, 27] Operation: 41-14=27 Exploring Operation: 30+14=44, Resulting Numbers: [41, 44] Generated Node #0,3,2: 38:[41, 44] Operation: 30+14=44 Exploring Operation: 30-14=16, Resulting Numbers: [41, 16] Generated Node #0,3,3: 38:[41, 16] Operation: 30-14=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[41, 16], Operations: ['49-35=14', '30-14=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,38 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[41, 44], Operations: ['49-35=14', '30+14=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,38 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[14, 11], Operations: ['49-35=14', '41-30=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,38 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[30, 27], Operations: ['49-35=14', '41-14=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,38 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[35, 30, 8], Operations: ['49-41=8'] Exploring Operation: 35-30=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 38:[8, 5] Operation: 35-30=5 Exploring Operation: 30-8=22, Resulting Numbers: [35, 22] Generated Node #0,0,1: 38:[35, 22] Operation: 30-8=22 Exploring Operation: 30+8=38, Resulting Numbers: [35, 38] Generated Node #0,0,2: 38:[35, 38] Operation: 30+8=38 Exploring Operation: 35+8=43, Resulting Numbers: [30, 43] Generated Node #0,0,3: 38:[30, 43] Operation: 35+8=43 Moving to Node #0,0,2 Current State: 38:[35, 38], Operations: ['49-41=8', '30+8=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,38 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[35, 22], Operations: ['49-41=8', '30-8=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,38 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[8, 5], Operations: ['49-41=8', '35-30=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[30, 43], Operations: ['49-41=8', '35+8=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,38 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[41, 49, 5], Operations: ['35-30=5'] Exploring Operation: 41+5=46, Resulting Numbers: [49, 46] Generated Node #0,2,0: 38:[49, 46] Operation: 41+5=46 Exploring Operation: 41-5=36, Resulting Numbers: [49, 36] Generated Node #0,2,1: 38:[49, 36] Operation: 41-5=36 Exploring Operation: 49-41=8, Resulting Numbers: [5, 8] Generated Node #0,2,2: 38:[5, 8] Operation: 49-41=8 Exploring Operation: 49-5=44, Resulting Numbers: [41, 44] Generated Node #0,2,3: 38:[41, 44] Operation: 49-5=44 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[5, 8], Operations: ['35-30=5', '49-41=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[41, 44], Operations: ['35-30=5', '49-5=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,38 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[49, 36], Operations: ['35-30=5', '41-5=36'] Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 49*36=1764, Resulting Numbers: [1764] 1764,38 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[49, 46], Operations: ['35-30=5', '41+5=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,38 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 41, 9, 57, 83 ]
11
[ "57-41=16", "83+16=99", "99/9=11" ]
Current State: 11:[41, 9, 57, 83], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [9, 83, 16] Generated Node #2: [9, 83, 16] from Operation: 57-41=16 Current State: 11:[9, 83, 16], Operations: ['57-41=16'] Exploring Operation: 83+16=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 83+16=99 Current State: 11:[9, 99], Operations: ['57-41=16', '83+16=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[41, 9, 57, 83], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [9, 83, 16] Generated Node #0,0: 11:[9, 83, 16] Operation: 57-41=16 Exploring Operation: 83-57=26, Resulting Numbers: [41, 9, 26] Generated Node #0,1: 11:[41, 9, 26] Operation: 83-57=26 Exploring Operation: 83-41=42, Resulting Numbers: [9, 57, 42] Generated Node #0,2: 11:[9, 57, 42] Operation: 83-41=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[41, 9, 26], Operations: ['83-57=26'] Exploring Operation: 41-9=32, Resulting Numbers: [26, 32] Generated Node #0,1,0: 11:[26, 32] Operation: 41-9=32 Exploring Operation: 41-26=15, Resulting Numbers: [9, 15] Generated Node #0,1,1: 11:[9, 15] Operation: 41-26=15 Exploring Operation: 26-9=17, Resulting Numbers: [41, 17] Generated Node #0,1,2: 11:[41, 17] Operation: 26-9=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[9, 15], Operations: ['83-57=26', '41-26=15'] Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[26, 32], Operations: ['83-57=26', '41-9=32'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[41, 17], Operations: ['83-57=26', '26-9=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[9, 83, 16], Operations: ['57-41=16'] Exploring Operation: 83-9=74, Resulting Numbers: [16, 74] Generated Node #0,0,0: 11:[16, 74] Operation: 83-9=74 Exploring Operation: 16-9=7, Resulting Numbers: [83, 7] Generated Node #0,0,1: 11:[83, 7] Operation: 16-9=7 Exploring Operation: 83-16=67, Resulting Numbers: [9, 67] Generated Node #0,0,2: 11:[9, 67] Operation: 83-16=67 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[9, 67], Operations: ['57-41=16', '83-16=67'] Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,11 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[16, 74], Operations: ['57-41=16', '83-9=74'] Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,11 unequal: No Solution Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[83, 7], Operations: ['57-41=16', '16-9=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,11 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[9, 57, 42], Operations: ['83-41=42'] Exploring Operation: 42-9=33, Resulting Numbers: [57, 33] Generated Node #0,2,0: 11:[57, 33] Operation: 42-9=33 Exploring Operation: 57-42=15, Resulting Numbers: [9, 15] Generated Node #0,2,1: 11:[9, 15] Operation: 57-42=15 Exploring Operation: 57-9=48, Resulting Numbers: [42, 48] Generated Node #0,2,2: 11:[42, 48] Operation: 57-9=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[9, 15], Operations: ['83-41=42', '57-42=15'] Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,11 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[57, 33], Operations: ['83-41=42', '42-9=33'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[42, 48], Operations: ['83-41=42', '57-9=48'] Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,11 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 87, 71, 3, 80 ]
61
[ "87-71=16", "80-3=77", "77-16=61" ]
Current State: 61:[87, 71, 3, 80], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [3, 80, 16] Generated Node #2: [3, 80, 16] from Operation: 87-71=16 Current State: 61:[3, 80, 16], Operations: ['87-71=16'] Exploring Operation: 80-3=77, Resulting Numbers: [16, 77] Generated Node #3: [16, 77] from Operation: 80-3=77 Current State: 61:[16, 77], Operations: ['87-71=16', '80-3=77'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[87, 71, 3, 80], Operations: [] Exploring Operation: 87+3=90, Resulting Numbers: [71, 80, 90] Generated Node #0,0: 61:[71, 80, 90] Operation: 87+3=90 Exploring Operation: 80-3=77, Resulting Numbers: [87, 71, 77] Generated Node #0,1: 61:[87, 71, 77] Operation: 80-3=77 Exploring Operation: 71+3=74, Resulting Numbers: [87, 80, 74] Generated Node #0,2: 61:[87, 80, 74] Operation: 71+3=74 Exploring Operation: 71-3=68, Resulting Numbers: [87, 80, 68] Generated Node #0,3: 61:[87, 80, 68] Operation: 71-3=68 Exploring Operation: 87-3=84, Resulting Numbers: [71, 80, 84] Generated Node #0,4: 61:[71, 80, 84] Operation: 87-3=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[87, 71, 77], Operations: ['80-3=77'] Exploring Operation: 87+71=158, Resulting Numbers: [77, 158] Generated Node #0,1,0: 61:[77, 158] Operation: 87+71=158 Exploring Operation: 87-77=10, Resulting Numbers: [71, 10] Generated Node #0,1,1: 61:[71, 10] Operation: 87-77=10 Exploring Operation: 77-71=6, Resulting Numbers: [87, 6] Generated Node #0,1,2: 61:[87, 6] Operation: 77-71=6 Exploring Operation: 87-71=16, Resulting Numbers: [77, 16] Generated Node #0,1,3: 61:[77, 16] Operation: 87-71=16 Exploring Operation: 87+77=164, Resulting Numbers: [71, 164] Generated Node #0,1,4: 61:[71, 164] Operation: 87+77=164 Moving to Node #0,1,1 Current State: 61:[71, 10], Operations: ['80-3=77', '87-77=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[87, 71, 3, 80], Operations: [] Exploring Operation: 80-3=77, Resulting Numbers: [87, 71, 77] Generated Node #0,1: 61:[87, 71, 77] Operation: 80-3=77 Moving to Node #0,1 Current State: 61:[87, 71, 77], Operations: ['80-3=77'] Exploring Operation: 87-77=10, Resulting Numbers: [71, 10] Generated Node #0,1,1: 61:[71, 10] Operation: 87-77=10 Moving to Node #0,1,1 Current State: 61:[71, 10], Operations: ['80-3=77', '87-77=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 20, 3, 35, 83 ]
84
[ "20+35=55", "83-55=28", "3*28=84" ]
Current State: 84:[20, 3, 35, 83], Operations: [] Exploring Operation: 20+35=55, Resulting Numbers: [3, 83, 55] Generated Node #2: [3, 83, 55] from Operation: 20+35=55 Current State: 84:[3, 83, 55], Operations: ['20+35=55'] Exploring Operation: 83-55=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 83-55=28 Current State: 84:[3, 28], Operations: ['20+35=55', '83-55=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[20, 3, 35, 83], Operations: [] Exploring Operation: 3+35=38, Resulting Numbers: [20, 83, 38] Generated Node #0,0: 84:[20, 83, 38] Operation: 3+35=38 Exploring Operation: 35-20=15, Resulting Numbers: [3, 83, 15] Generated Node #0,1: 84:[3, 83, 15] Operation: 35-20=15 Exploring Operation: 83-35=48, Resulting Numbers: [20, 3, 48] Generated Node #0,2: 84:[20, 3, 48] Operation: 83-35=48 Exploring Operation: 35-3=32, Resulting Numbers: [20, 83, 32] Generated Node #0,3: 84:[20, 83, 32] Operation: 35-3=32 Moving to Node #0,1 Current State: 84:[3, 83, 15], Operations: ['35-20=15'] Exploring Operation: 15-3=12, Resulting Numbers: [83, 12] Generated Node #0,1,0: 84:[83, 12] Operation: 15-3=12 Exploring Operation: 3+15=18, Resulting Numbers: [83, 18] Generated Node #0,1,1: 84:[83, 18] Operation: 3+15=18 Exploring Operation: 3+83=86, Resulting Numbers: [15, 86] Generated Node #0,1,2: 84:[15, 86] Operation: 3+83=86 Exploring Operation: 15/3=5, Resulting Numbers: [83, 5] Generated Node #0,1,3: 84:[83, 5] Operation: 15/3=5 Moving to Node #0,3 Current State: 84:[20, 83, 32], Operations: ['35-3=32'] Exploring Operation: 20+83=103, Resulting Numbers: [32, 103] Generated Node #0,3,0: 84:[32, 103] Operation: 20+83=103 Exploring Operation: 20+32=52, Resulting Numbers: [83, 52] Generated Node #0,3,1: 84:[83, 52] Operation: 20+32=52 Exploring Operation: 32-20=12, Resulting Numbers: [83, 12] Generated Node #0,3,2: 84:[83, 12] Operation: 32-20=12 Exploring Operation: 83-32=51, Resulting Numbers: [20, 51] Generated Node #0,3,3: 84:[20, 51] Operation: 83-32=51 Moving to Node #0,0 Current State: 84:[20, 83, 38], Operations: ['3+35=38'] Exploring Operation: 83-38=45, Resulting Numbers: [20, 45] Generated Node #0,0,0: 84:[20, 45] Operation: 83-38=45 Exploring Operation: 20+38=58, Resulting Numbers: [83, 58] Generated Node #0,0,1: 84:[83, 58] Operation: 20+38=58 Exploring Operation: 20+83=103, Resulting Numbers: [38, 103] Generated Node #0,0,2: 84:[38, 103] Operation: 20+83=103 Exploring Operation: 38-20=18, Resulting Numbers: [83, 18] Generated Node #0,0,3: 84:[83, 18] Operation: 38-20=18 Moving to Node #0,2 Current State: 84:[20, 3, 48], Operations: ['83-35=48'] Exploring Operation: 48-20=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 84:[3, 28] Operation: 48-20=28 Exploring Operation: 48/3=16, Resulting Numbers: [20, 16] Generated Node #0,2,1: 84:[20, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [20, 45] Generated Node #0,2,2: 84:[20, 45] Operation: 48-3=45 Exploring Operation: 20+3=23, Resulting Numbers: [48, 23] Generated Node #0,2,3: 84:[48, 23] Operation: 20+3=23 Moving to Node #0,2,0 Current State: 84:[3, 28], Operations: ['83-35=48', '48-20=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[20, 3, 35, 83], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [20, 3, 48] Generated Node #0,2: 84:[20, 3, 48] Operation: 83-35=48 Moving to Node #0,2 Current State: 84:[20, 3, 48], Operations: ['83-35=48'] Exploring Operation: 48-20=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 84:[3, 28] Operation: 48-20=28 Moving to Node #0,2,0 Current State: 84:[3, 28], Operations: ['83-35=48', '48-20=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.977431
hs_4
mult_heuristic
[ 66, 90, 54, 49 ]
19
[ "90-66=24", "54-49=5", "24-5=19" ]
Current State: 19:[66, 90, 54, 49], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [54, 49, 24] Generated Node #2: [54, 49, 24] from Operation: 90-66=24 Current State: 19:[54, 49, 24], Operations: ['90-66=24'] Exploring Operation: 54-49=5, Resulting Numbers: [24, 5] Generated Node #3: [24, 5] from Operation: 54-49=5 Current State: 19:[24, 5], Operations: ['90-66=24', '54-49=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[66, 90, 54, 49], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [54, 49, 24] Generated Node #0,0: 19:[54, 49, 24] Operation: 90-66=24 Moving to Node #0,0 Current State: 19:[54, 49, 24], Operations: ['90-66=24'] Exploring Operation: 54-49=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 19:[24, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[24, 5], Operations: ['90-66=24', '54-49=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[66, 90, 54, 49], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [54, 49, 24] Generated Node #0,0: 19:[54, 49, 24] Operation: 90-66=24 Moving to Node #0,0 Current State: 19:[54, 49, 24], Operations: ['90-66=24'] Exploring Operation: 54-49=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 19:[24, 5] Operation: 54-49=5 Moving to Node #0,0,0 Current State: 19:[24, 5], Operations: ['90-66=24', '54-49=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 51, 42, 53 ]
79
[ "17+51=68", "53-42=11", "68+11=79" ]
Current State: 79:[17, 51, 42, 53], Operations: [] Exploring Operation: 17+51=68, Resulting Numbers: [42, 53, 68] Generated Node #2: [42, 53, 68] from Operation: 17+51=68 Current State: 79:[42, 53, 68], Operations: ['17+51=68'] Exploring Operation: 53-42=11, Resulting Numbers: [68, 11] Generated Node #3: [68, 11] from Operation: 53-42=11 Current State: 79:[68, 11], Operations: ['17+51=68', '53-42=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[17, 51, 42, 53], Operations: [] Exploring Operation: 17+51=68, Resulting Numbers: [42, 53, 68] Generated Node #0,0: 79:[42, 53, 68] Operation: 17+51=68 Exploring Operation: 17+42=59, Resulting Numbers: [51, 53, 59] Generated Node #0,1: 79:[51, 53, 59] Operation: 17+42=59 Exploring Operation: 51+42=93, Resulting Numbers: [17, 53, 93] Generated Node #0,2: 79:[17, 53, 93] Operation: 51+42=93 Exploring Operation: 17+53=70, Resulting Numbers: [51, 42, 70] Generated Node #0,3: 79:[51, 42, 70] Operation: 17+53=70 Moving to Node #0,0 Current State: 79:[42, 53, 68], Operations: ['17+51=68'] Exploring Operation: 53-42=11, Resulting Numbers: [68, 11] Generated Node #0,0,0: 79:[68, 11] Operation: 53-42=11 Exploring Operation: 42+68=110, Resulting Numbers: [53, 110] Generated Node #0,0,1: 79:[53, 110] Operation: 42+68=110 Exploring Operation: 42+53=95, Resulting Numbers: [68, 95] Generated Node #0,0,2: 79:[68, 95] Operation: 42+53=95 Exploring Operation: 68-42=26, Resulting Numbers: [53, 26] Generated Node #0,0,3: 79:[53, 26] Operation: 68-42=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[68, 95], Operations: ['17+51=68', '42+53=95'] Exploring Operation: 68+95=163, Resulting Numbers: [163] 163,79 unequal: No Solution Exploring Operation: 68*95=6460, Resulting Numbers: [6460] 6460,79 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[53, 110], Operations: ['17+51=68', '42+68=110'] Exploring Operation: 110-53=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 53*110=5830, Resulting Numbers: [5830] 5830,79 unequal: No Solution Exploring Operation: 53+110=163, Resulting Numbers: [163] 163,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[68, 11], Operations: ['17+51=68', '53-42=11'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,79 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[17, 51, 42, 53], Operations: [] Exploring Operation: 17+51=68, Resulting Numbers: [42, 53, 68] Generated Node #0,0: 79:[42, 53, 68] Operation: 17+51=68 Moving to Node #0,0 Current State: 79:[42, 53, 68], Operations: ['17+51=68'] Exploring Operation: 53-42=11, Resulting Numbers: [68, 11] Generated Node #0,0,0: 79:[68, 11] Operation: 53-42=11 Moving to Node #0,0,0 Current State: 79:[68, 11], Operations: ['17+51=68', '53-42=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 18, 65, 25, 85 ]
23
[ "18+65=83", "85-25=60", "83-60=23" ]
Current State: 23:[18, 65, 25, 85], Operations: [] Exploring Operation: 18+65=83, Resulting Numbers: [25, 85, 83] Generated Node #2: [25, 85, 83] from Operation: 18+65=83 Current State: 23:[25, 85, 83], Operations: ['18+65=83'] Exploring Operation: 85-25=60, Resulting Numbers: [83, 60] Generated Node #3: [83, 60] from Operation: 85-25=60 Current State: 23:[83, 60], Operations: ['18+65=83', '85-25=60'] Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[18, 65, 25, 85], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [18, 65, 60] Generated Node #0,0: 23:[18, 65, 60] Operation: 85-25=60 Exploring Operation: 85-65=20, Resulting Numbers: [18, 25, 20] Generated Node #0,1: 23:[18, 25, 20] Operation: 85-65=20 Exploring Operation: 65-18=47, Resulting Numbers: [25, 85, 47] Generated Node #0,2: 23:[25, 85, 47] Operation: 65-18=47 Exploring Operation: 65-25=40, Resulting Numbers: [18, 85, 40] Generated Node #0,3: 23:[18, 85, 40] Operation: 65-25=40 Moving to Node #0,1 Current State: 23:[18, 25, 20], Operations: ['85-65=20'] Exploring Operation: 18+20=38, Resulting Numbers: [25, 38] Generated Node #0,1,0: 23:[25, 38] Operation: 18+20=38 Exploring Operation: 25-18=7, Resulting Numbers: [20, 7] Generated Node #0,1,1: 23:[20, 7] Operation: 25-18=7 Exploring Operation: 20-18=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 23:[25, 2] Operation: 20-18=2 Exploring Operation: 18+25=43, Resulting Numbers: [20, 43] Generated Node #0,1,3: 23:[20, 43] Operation: 18+25=43 Moving to Node #0,3 Current State: 23:[18, 85, 40], Operations: ['65-25=40'] Exploring Operation: 40-18=22, Resulting Numbers: [85, 22] Generated Node #0,3,0: 23:[85, 22] Operation: 40-18=22 Exploring Operation: 85-18=67, Resulting Numbers: [40, 67] Generated Node #0,3,1: 23:[40, 67] Operation: 85-18=67 Exploring Operation: 18+85=103, Resulting Numbers: [40, 103] Generated Node #0,3,2: 23:[40, 103] Operation: 18+85=103 Exploring Operation: 85-40=45, Resulting Numbers: [18, 45] Generated Node #0,3,3: 23:[18, 45] Operation: 85-40=45 Moving to Node #0,0 Current State: 23:[18, 65, 60], Operations: ['85-25=60'] Exploring Operation: 65-60=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 23:[18, 5] Operation: 65-60=5 Exploring Operation: 60-18=42, Resulting Numbers: [65, 42] Generated Node #0,0,1: 23:[65, 42] Operation: 60-18=42 Exploring Operation: 65-18=47, Resulting Numbers: [60, 47] Generated Node #0,0,2: 23:[60, 47] Operation: 65-18=47 Exploring Operation: 18+65=83, Resulting Numbers: [60, 83] Generated Node #0,0,3: 23:[60, 83] Operation: 18+65=83 Moving to Node #0,2 Current State: 23:[25, 85, 47], Operations: ['65-18=47'] Exploring Operation: 47-25=22, Resulting Numbers: [85, 22] Generated Node #0,2,0: 23:[85, 22] Operation: 47-25=22 Exploring Operation: 25+85=110, Resulting Numbers: [47, 110] Generated Node #0,2,1: 23:[47, 110] Operation: 25+85=110 Exploring Operation: 85-25=60, Resulting Numbers: [47, 60] Generated Node #0,2,2: 23:[47, 60] Operation: 85-25=60 Exploring Operation: 85-47=38, Resulting Numbers: [25, 38] Generated Node #0,2,3: 23:[25, 38] Operation: 85-47=38 Moving to Node #0,1,0 Current State: 23:[25, 38], Operations: ['85-65=20', '18+20=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[25, 38], Operations: ['65-18=47', '85-47=38'] Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,23 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[20, 7], Operations: ['85-65=20', '25-18=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[25, 2], Operations: ['85-65=20', '20-18=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[18, 65, 25, 85], Operations: [] Exploring Operation: 85-65=20, Resulting Numbers: [18, 25, 20] Generated Node #0,1: 23:[18, 25, 20] Operation: 85-65=20 Moving to Node #0,1 Current State: 23:[18, 25, 20], Operations: ['85-65=20'] Exploring Operation: 20-18=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 23:[25, 2] Operation: 20-18=2 Moving to Node #0,1,2 Current State: 23:[25, 2], Operations: ['85-65=20', '20-18=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.970486
hs_4
mult_heuristic
[ 82, 50, 20, 6 ]
58
[ "82-50=32", "20+6=26", "32+26=58" ]
Current State: 58:[82, 50, 20, 6], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [20, 6, 32] Generated Node #2: [20, 6, 32] from Operation: 82-50=32 Current State: 58:[20, 6, 32], Operations: ['82-50=32'] Exploring Operation: 20+6=26, Resulting Numbers: [32, 26] Generated Node #3: [32, 26] from Operation: 20+6=26 Current State: 58:[32, 26], Operations: ['82-50=32', '20+6=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[82, 50, 20, 6], Operations: [] Exploring Operation: 82-20=62, Resulting Numbers: [50, 6, 62] Generated Node #0,0: 58:[50, 6, 62] Operation: 82-20=62 Exploring Operation: 82-50=32, Resulting Numbers: [20, 6, 32] Generated Node #0,1: 58:[20, 6, 32] Operation: 82-50=32 Exploring Operation: 50-20=30, Resulting Numbers: [82, 6, 30] Generated Node #0,2: 58:[82, 6, 30] Operation: 50-20=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[50, 6, 62], Operations: ['82-20=62'] Exploring Operation: 62-6=56, Resulting Numbers: [50, 56] Generated Node #0,0,0: 58:[50, 56] Operation: 62-6=56 Exploring Operation: 50+6=56, Resulting Numbers: [62, 56] Generated Node #0,0,1: 58:[62, 56] Operation: 50+6=56 Exploring Operation: 62-50=12, Resulting Numbers: [6, 12] Generated Node #0,0,2: 58:[6, 12] Operation: 62-50=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[62, 56], Operations: ['82-20=62', '50+6=56'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,58 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[50, 56], Operations: ['82-20=62', '62-6=56'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,58 unequal: No Solution Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[6, 12], Operations: ['82-20=62', '62-50=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[20, 6, 32], Operations: ['82-50=32'] Exploring Operation: 20+6=26, Resulting Numbers: [32, 26] Generated Node #0,1,0: 58:[32, 26] Operation: 20+6=26 Exploring Operation: 32-6=26, Resulting Numbers: [20, 26] Generated Node #0,1,1: 58:[20, 26] Operation: 32-6=26 Exploring Operation: 20+32=52, Resulting Numbers: [6, 52] Generated Node #0,1,2: 58:[6, 52] Operation: 20+32=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[32, 26], Operations: ['82-50=32', '20+6=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[82, 50, 20, 6], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [20, 6, 32] Generated Node #0,1: 58:[20, 6, 32] Operation: 82-50=32 Moving to Node #0,1 Current State: 58:[20, 6, 32], Operations: ['82-50=32'] Exploring Operation: 20+6=26, Resulting Numbers: [32, 26] Generated Node #0,1,0: 58:[32, 26] Operation: 20+6=26 Moving to Node #0,1,0 Current State: 58:[32, 26], Operations: ['82-50=32', '20+6=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 96, 73, 13, 87 ]
96
[ "73+13=86", "87-86=1", "96*1=96" ]
Current State: 96:[96, 73, 13, 87], Operations: [] Exploring Operation: 73+13=86, Resulting Numbers: [96, 87, 86] Generated Node #2: [96, 87, 86] from Operation: 73+13=86 Current State: 96:[96, 87, 86], Operations: ['73+13=86'] Exploring Operation: 87-86=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 87-86=1 Current State: 96:[96, 1], Operations: ['73+13=86', '87-86=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 73, 13, 87], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [96, 13, 14] Generated Node #0,0: 96:[96, 13, 14] Operation: 87-73=14 Exploring Operation: 96-73=23, Resulting Numbers: [13, 87, 23] Generated Node #0,1: 96:[13, 87, 23] Operation: 96-73=23 Moving to Node #0,0 Current State: 96:[96, 13, 14], Operations: ['87-73=14'] Exploring Operation: 14-13=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 96:[96, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [96, 27] Generated Node #0,0,1: 96:[96, 27] Operation: 13+14=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[96, 1], Operations: ['87-73=14', '14-13=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[96, 73, 13, 87], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [96, 13, 14] Generated Node #0,0: 96:[96, 13, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 96:[96, 13, 14], Operations: ['87-73=14'] Exploring Operation: 14-13=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 96:[96, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 96:[96, 1], Operations: ['87-73=14', '14-13=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 97, 2, 60, 82 ]
73
[ "97-2=95", "82-60=22", "95-22=73" ]
Current State: 73:[97, 2, 60, 82], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [60, 82, 95] Generated Node #2: [60, 82, 95] from Operation: 97-2=95 Current State: 73:[60, 82, 95], Operations: ['97-2=95'] Exploring Operation: 82-60=22, Resulting Numbers: [95, 22] Generated Node #3: [95, 22] from Operation: 82-60=22 Current State: 73:[95, 22], Operations: ['97-2=95', '82-60=22'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[97, 2, 60, 82], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [60, 82, 95] Generated Node #0,0: 73:[60, 82, 95] Operation: 97-2=95 Moving to Node #0,0 Current State: 73:[60, 82, 95], Operations: ['97-2=95'] Exploring Operation: 95-60=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 73:[82, 35] Operation: 95-60=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[82, 35], Operations: ['97-2=95', '95-60=35'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 31, 1, 85 ]
82
[ "34-31=3", "1*85=85", "85-3=82" ]
Current State: 82:[34, 31, 1, 85], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [1, 85, 3] Generated Node #2: [1, 85, 3] from Operation: 34-31=3 Current State: 82:[1, 85, 3], Operations: ['34-31=3'] Exploring Operation: 1*85=85, Resulting Numbers: [3, 85] Generated Node #3: [3, 85] from Operation: 1*85=85 Current State: 82:[3, 85], Operations: ['34-31=3', '1*85=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[34, 31, 1, 85], Operations: [] Exploring Operation: 85-1=84, Resulting Numbers: [34, 31, 84] Generated Node #0,0: 82:[34, 31, 84] Operation: 85-1=84 Exploring Operation: 31+1=32, Resulting Numbers: [34, 85, 32] Generated Node #0,1: 82:[34, 85, 32] Operation: 31+1=32 Exploring Operation: 34*1=34, Resulting Numbers: [31, 85, 34] Generated Node #0,2: 82:[31, 85, 34] Operation: 34*1=34 Exploring Operation: 34+1=35, Resulting Numbers: [31, 85, 35] Generated Node #0,3: 82:[31, 85, 35] Operation: 34+1=35 Exploring Operation: 34-31=3, Resulting Numbers: [1, 85, 3] Generated Node #0,4: 82:[1, 85, 3] Operation: 34-31=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[1, 85, 3], Operations: ['34-31=3'] Exploring Operation: 85-1=84, Resulting Numbers: [3, 84] Generated Node #0,4,0: 82:[3, 84] Operation: 85-1=84 Exploring Operation: 85/1=85, Resulting Numbers: [3, 85] Generated Node #0,4,1: 82:[3, 85] Operation: 85/1=85 Exploring Operation: 3-1=2, Resulting Numbers: [85, 2] Generated Node #0,4,2: 82:[85, 2] Operation: 3-1=2 Exploring Operation: 85-3=82, Resulting Numbers: [1, 82] Generated Node #0,4,3: 82:[1, 82] Operation: 85-3=82 Exploring Operation: 1*85=85, Resulting Numbers: [3, 85] Generated Node #0,4,4: 82:[3, 85] Operation: 1*85=85 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 82:[1, 82], Operations: ['34-31=3', '85-3=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[34, 31, 1, 85], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [1, 85, 3] Generated Node #0,4: 82:[1, 85, 3] Operation: 34-31=3 Moving to Node #0,4 Current State: 82:[1, 85, 3], Operations: ['34-31=3'] Exploring Operation: 85-3=82, Resulting Numbers: [1, 82] Generated Node #0,4,3: 82:[1, 82] Operation: 85-3=82 Moving to Node #0,4,3 Current State: 82:[1, 82], Operations: ['34-31=3', '85-3=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 60, 8, 44, 39 ]
26
[ "60+44=104", "104/8=13", "39-13=26" ]
Current State: 26:[60, 8, 44, 39], Operations: [] Exploring Operation: 60+44=104, Resulting Numbers: [8, 39, 104] Generated Node #2: [8, 39, 104] from Operation: 60+44=104 Current State: 26:[8, 39, 104], Operations: ['60+44=104'] Exploring Operation: 104/8=13, Resulting Numbers: [39, 13] Generated Node #3: [39, 13] from Operation: 104/8=13 Current State: 26:[39, 13], Operations: ['60+44=104', '104/8=13'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[60, 8, 44, 39], Operations: [] Exploring Operation: 60-8=52, Resulting Numbers: [44, 39, 52] Generated Node #0,0: 26:[44, 39, 52] Operation: 60-8=52 Exploring Operation: 60-39=21, Resulting Numbers: [8, 44, 21] Generated Node #0,1: 26:[8, 44, 21] Operation: 60-39=21 Exploring Operation: 44-8=36, Resulting Numbers: [60, 39, 36] Generated Node #0,2: 26:[60, 39, 36] Operation: 44-8=36 Exploring Operation: 60-44=16, Resulting Numbers: [8, 39, 16] Generated Node #0,3: 26:[8, 39, 16] Operation: 60-44=16 Exploring Operation: 44-39=5, Resulting Numbers: [60, 8, 5] Generated Node #0,4: 26:[60, 8, 5] Operation: 44-39=5 Moving to Node #0,3 Current State: 26:[8, 39, 16], Operations: ['60-44=16'] Exploring Operation: 39-16=23, Resulting Numbers: [8, 23] Generated Node #0,3,0: 26:[8, 23] Operation: 39-16=23 Exploring Operation: 39-8=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 26:[16, 31] Operation: 39-8=31 Exploring Operation: 8+16=24, Resulting Numbers: [39, 24] Generated Node #0,3,2: 26:[39, 24] Operation: 8+16=24 Exploring Operation: 16-8=8, Resulting Numbers: [39, 8] Generated Node #0,3,3: 26:[39, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [39, 2] Generated Node #0,3,4: 26:[39, 2] Operation: 16/8=2 Moving to Node #0,1 Current State: 26:[8, 44, 21], Operations: ['60-39=21'] Exploring Operation: 8+44=52, Resulting Numbers: [21, 52] Generated Node #0,1,0: 26:[21, 52] Operation: 8+44=52 Exploring Operation: 8+21=29, Resulting Numbers: [44, 29] Generated Node #0,1,1: 26:[44, 29] Operation: 8+21=29 Exploring Operation: 44-8=36, Resulting Numbers: [21, 36] Generated Node #0,1,2: 26:[21, 36] Operation: 44-8=36 Exploring Operation: 44-21=23, Resulting Numbers: [8, 23] Generated Node #0,1,3: 26:[8, 23] Operation: 44-21=23 Exploring Operation: 21-8=13, Resulting Numbers: [44, 13] Generated Node #0,1,4: 26:[44, 13] Operation: 21-8=13 Moving to Node #0,4 Current State: 26:[60, 8, 5], Operations: ['44-39=5'] Exploring Operation: 60/5=12, Resulting Numbers: [8, 12] Generated Node #0,4,0: 26:[8, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [8, 55] Generated Node #0,4,1: 26:[8, 55] Operation: 60-5=55 Exploring Operation: 60-8=52, Resulting Numbers: [5, 52] Generated Node #0,4,2: 26:[5, 52] Operation: 60-8=52 Exploring Operation: 8+5=13, Resulting Numbers: [60, 13] Generated Node #0,4,3: 26:[60, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [60, 3] Generated Node #0,4,4: 26:[60, 3] Operation: 8-5=3 Moving to Node #0,0 Current State: 26:[44, 39, 52], Operations: ['60-8=52'] Exploring Operation: 52-44=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 26:[39, 8] Operation: 52-44=8 Exploring Operation: 52-39=13, Resulting Numbers: [44, 13] Generated Node #0,0,1: 26:[44, 13] Operation: 52-39=13 Exploring Operation: 44+52=96, Resulting Numbers: [39, 96] Generated Node #0,0,2: 26:[39, 96] Operation: 44+52=96 Exploring Operation: 44+39=83, Resulting Numbers: [52, 83] Generated Node #0,0,3: 26:[52, 83] Operation: 44+39=83 Exploring Operation: 44-39=5, Resulting Numbers: [52, 5] Generated Node #0,0,4: 26:[52, 5] Operation: 44-39=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[39, 8], Operations: ['60-8=52', '52-44=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,26 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[44, 13], Operations: ['60-8=52', '52-39=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 26:[52, 5], Operations: ['60-8=52', '44-39=5'] Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,26 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[39, 96], Operations: ['60-8=52', '44+52=96'] Exploring Operation: 39*96=3744, Resulting Numbers: [3744] 3744,26 unequal: No Solution Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,26 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[52, 83], Operations: ['60-8=52', '44+39=83'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 52*83=4316, Resulting Numbers: [4316] 4316,26 unequal: No Solution Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 26:[60, 39, 36], Operations: ['44-8=36'] Exploring Operation: 60-39=21, Resulting Numbers: [36, 21] Generated Node #0,2,0: 26:[36, 21] Operation: 60-39=21 Exploring Operation: 60-36=24, Resulting Numbers: [39, 24] Generated Node #0,2,1: 26:[39, 24] Operation: 60-36=24 Exploring Operation: 39-36=3, Resulting Numbers: [60, 3] Generated Node #0,2,2: 26:[60, 3] Operation: 39-36=3 Exploring Operation: 60+39=99, Resulting Numbers: [36, 99] Generated Node #0,2,3: 26:[36, 99] Operation: 60+39=99 Exploring Operation: 60+36=96, Resulting Numbers: [39, 96] Generated Node #0,2,4: 26:[39, 96] Operation: 60+36=96 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[36, 21], Operations: ['44-8=36', '60-39=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,26 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[39, 24], Operations: ['44-8=36', '60-36=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,26 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[60, 3], Operations: ['44-8=36', '39-36=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,26 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[36, 99], Operations: ['44-8=36', '60+39=99'] Exploring Operation: 36+99=135, Resulting Numbers: [135] 135,26 unequal: No Solution Exploring Operation: 36*99=3564, Resulting Numbers: [3564] 3564,26 unequal: No Solution Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[39, 96], Operations: ['44-8=36', '60+36=96'] Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,26 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 39*96=3744, Resulting Numbers: [3744] 3744,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 26:[8, 12], Operations: ['44-39=5', '60/5=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,26 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[8, 23], Operations: ['60-39=21', '44-21=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,26 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[8, 23], Operations: ['60-44=16', '39-16=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[16, 31], Operations: ['60-44=16', '39-8=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,26 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[39, 2], Operations: ['60-44=16', '16/8=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[21, 36], Operations: ['60-39=21', '44-8=36'] Exploring Operation: 21*36=756, Resulting Numbers: [756] 756,26 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[39, 24], Operations: ['60-44=16', '8+16=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[39, 8], Operations: ['60-44=16', '16-8=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,26 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[44, 13], Operations: ['60-39=21', '21-8=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,26 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[44, 29], Operations: ['60-39=21', '8+21=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,26 unequal: No Solution Moving to Node #0,4,2 Current State: 26:[5, 52], Operations: ['44-39=5', '60-8=52'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,26 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[21, 52], Operations: ['60-39=21', '8+44=52'] Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[60, 13], Operations: ['44-39=5', '8+5=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,26 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[8, 55], Operations: ['44-39=5', '60-5=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,26 unequal: No Solution Moving to Node #0,4,4 Current State: 26:[60, 3], Operations: ['44-39=5', '8-5=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,26 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,26 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 94, 29, 5, 55 ]
50
[ "94-29=65", "65-55=10", "5*10=50" ]
Current State: 50:[94, 29, 5, 55], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [5, 55, 65] Generated Node #2: [5, 55, 65] from Operation: 94-29=65 Current State: 50:[5, 55, 65], Operations: ['94-29=65'] Exploring Operation: 65-55=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 65-55=10 Current State: 50:[5, 10], Operations: ['94-29=65', '65-55=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[94, 29, 5, 55], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [29, 55, 89] Generated Node #0,0: 50:[29, 55, 89] Operation: 94-5=89 Exploring Operation: 94-55=39, Resulting Numbers: [29, 5, 39] Generated Node #0,1: 50:[29, 5, 39] Operation: 94-55=39 Exploring Operation: 55-29=26, Resulting Numbers: [94, 5, 26] Generated Node #0,2: 50:[94, 5, 26] Operation: 55-29=26 Exploring Operation: 94-29=65, Resulting Numbers: [5, 55, 65] Generated Node #0,3: 50:[5, 55, 65] Operation: 94-29=65 Moving to Node #0,1 Current State: 50:[29, 5, 39], Operations: ['94-55=39'] Exploring Operation: 39-29=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 50:[5, 10] Operation: 39-29=10 Exploring Operation: 29-5=24, Resulting Numbers: [39, 24] Generated Node #0,1,1: 50:[39, 24] Operation: 29-5=24 Exploring Operation: 5+39=44, Resulting Numbers: [29, 44] Generated Node #0,1,2: 50:[29, 44] Operation: 5+39=44 Exploring Operation: 39-5=34, Resulting Numbers: [29, 34] Generated Node #0,1,3: 50:[29, 34] Operation: 39-5=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[5, 10], Operations: ['94-55=39', '39-29=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[94, 29, 5, 55], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [29, 5, 39] Generated Node #0,1: 50:[29, 5, 39] Operation: 94-55=39 Moving to Node #0,1 Current State: 50:[29, 5, 39], Operations: ['94-55=39'] Exploring Operation: 39-29=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 50:[5, 10] Operation: 39-29=10 Moving to Node #0,1,0 Current State: 50:[5, 10], Operations: ['94-55=39', '39-29=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 45, 81, 34, 35 ]
34
[ "81-45=36", "36-35=1", "34*1=34" ]
Current State: 34:[45, 81, 34, 35], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [34, 35, 36] Generated Node #2: [34, 35, 36] from Operation: 81-45=36 Current State: 34:[34, 35, 36], Operations: ['81-45=36'] Exploring Operation: 36-35=1, Resulting Numbers: [34, 1] Generated Node #3: [34, 1] from Operation: 36-35=1 Current State: 34:[34, 1], Operations: ['81-45=36', '36-35=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 81, 34, 35], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [34, 35, 36] Generated Node #0,0: 34:[34, 35, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 34:[34, 35, 36], Operations: ['81-45=36'] Exploring Operation: 36-34=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 34:[35, 2] Operation: 36-34=2 Moving to Node #0,0,0 Current State: 34:[35, 2], Operations: ['81-45=36', '36-34=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,34 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 81, 50, 32, 24 ]
58
[ "81*32=2592", "2592/24=108", "108-50=58" ]
Current State: 58:[81, 50, 32, 24], Operations: [] Exploring Operation: 81*32=2592, Resulting Numbers: [50, 24, 2592] Generated Node #2: [50, 24, 2592] from Operation: 81*32=2592 Current State: 58:[50, 24, 2592], Operations: ['81*32=2592'] Exploring Operation: 2592/24=108, Resulting Numbers: [50, 108] Generated Node #3: [50, 108] from Operation: 2592/24=108 Current State: 58:[50, 108], Operations: ['81*32=2592', '2592/24=108'] Exploring Operation: 108-50=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[81, 50, 32, 24], Operations: [] Exploring Operation: 50-24=26, Resulting Numbers: [81, 32, 26] Generated Node #0,0: 58:[81, 32, 26] Operation: 50-24=26 Exploring Operation: 81-24=57, Resulting Numbers: [50, 32, 57] Generated Node #0,1: 58:[50, 32, 57] Operation: 81-24=57 Exploring Operation: 81-50=31, Resulting Numbers: [32, 24, 31] Generated Node #0,2: 58:[32, 24, 31] Operation: 81-50=31 Exploring Operation: 81-32=49, Resulting Numbers: [50, 24, 49] Generated Node #0,3: 58:[50, 24, 49] Operation: 81-32=49 Exploring Operation: 32+24=56, Resulting Numbers: [81, 50, 56] Generated Node #0,4: 58:[81, 50, 56] Operation: 32+24=56 Moving to Node #0,2 Current State: 58:[32, 24, 31], Operations: ['81-50=31'] Exploring Operation: 31-24=7, Resulting Numbers: [32, 7] Generated Node #0,2,0: 58:[32, 7] Operation: 31-24=7 Exploring Operation: 24+31=55, Resulting Numbers: [32, 55] Generated Node #0,2,1: 58:[32, 55] Operation: 24+31=55 Exploring Operation: 32+24=56, Resulting Numbers: [31, 56] Generated Node #0,2,2: 58:[31, 56] Operation: 32+24=56 Exploring Operation: 32-31=1, Resulting Numbers: [24, 1] Generated Node #0,2,3: 58:[24, 1] Operation: 32-31=1 Exploring Operation: 32-24=8, Resulting Numbers: [31, 8] Generated Node #0,2,4: 58:[31, 8] Operation: 32-24=8 Moving to Node #0,1 Current State: 58:[50, 32, 57], Operations: ['81-24=57'] Exploring Operation: 50-32=18, Resulting Numbers: [57, 18] Generated Node #0,1,0: 58:[57, 18] Operation: 50-32=18 Exploring Operation: 32+57=89, Resulting Numbers: [50, 89] Generated Node #0,1,1: 58:[50, 89] Operation: 32+57=89 Exploring Operation: 57-32=25, Resulting Numbers: [50, 25] Generated Node #0,1,2: 58:[50, 25] Operation: 57-32=25 Exploring Operation: 57-50=7, Resulting Numbers: [32, 7] Generated Node #0,1,3: 58:[32, 7] Operation: 57-50=7 Exploring Operation: 50+32=82, Resulting Numbers: [57, 82] Generated Node #0,1,4: 58:[57, 82] Operation: 50+32=82 Moving to Node #0,3 Current State: 58:[50, 24, 49], Operations: ['81-32=49'] Exploring Operation: 50-24=26, Resulting Numbers: [49, 26] Generated Node #0,3,0: 58:[49, 26] Operation: 50-24=26 Exploring Operation: 24+49=73, Resulting Numbers: [50, 73] Generated Node #0,3,1: 58:[50, 73] Operation: 24+49=73 Exploring Operation: 49-24=25, Resulting Numbers: [50, 25] Generated Node #0,3,2: 58:[50, 25] Operation: 49-24=25 Exploring Operation: 50+24=74, Resulting Numbers: [49, 74] Generated Node #0,3,3: 58:[49, 74] Operation: 50+24=74 Exploring Operation: 50-49=1, Resulting Numbers: [24, 1] Generated Node #0,3,4: 58:[24, 1] Operation: 50-49=1 Moving to Node #0,0 Current State: 58:[81, 32, 26], Operations: ['50-24=26'] Exploring Operation: 32+26=58, Resulting Numbers: [81, 58] Generated Node #0,0,0: 58:[81, 58] Operation: 32+26=58 Exploring Operation: 81+26=107, Resulting Numbers: [32, 107] Generated Node #0,0,1: 58:[32, 107] Operation: 81+26=107 Exploring Operation: 81-32=49, Resulting Numbers: [26, 49] Generated Node #0,0,2: 58:[26, 49] Operation: 81-32=49 Exploring Operation: 81-26=55, Resulting Numbers: [32, 55] Generated Node #0,0,3: 58:[32, 55] Operation: 81-26=55 Exploring Operation: 32-26=6, Resulting Numbers: [81, 6] Generated Node #0,0,4: 58:[81, 6] Operation: 32-26=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[32, 55], Operations: ['50-24=26', '81-26=55'] Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,58 unequal: No Solution Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,58 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[26, 49], Operations: ['50-24=26', '81-32=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,58 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[81, 58], Operations: ['50-24=26', '32+26=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,58 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 58:[81, 6], Operations: ['50-24=26', '32-26=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,58 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,58 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[32, 107], Operations: ['50-24=26', '81+26=107'] Exploring Operation: 107-32=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 32*107=3424, Resulting Numbers: [3424] 3424,58 unequal: No Solution Exploring Operation: 32+107=139, Resulting Numbers: [139] 139,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 58:[81, 50, 56], Operations: ['32+24=56'] Exploring Operation: 50+56=106, Resulting Numbers: [81, 106] Generated Node #0,4,0: 58:[81, 106] Operation: 50+56=106 Exploring Operation: 56-50=6, Resulting Numbers: [81, 6] Generated Node #0,4,1: 58:[81, 6] Operation: 56-50=6 Exploring Operation: 81+50=131, Resulting Numbers: [56, 131] Generated Node #0,4,2: 58:[56, 131] Operation: 81+50=131 Exploring Operation: 81-56=25, Resulting Numbers: [50, 25] Generated Node #0,4,3: 58:[50, 25] Operation: 81-56=25 Exploring Operation: 81-50=31, Resulting Numbers: [56, 31] Generated Node #0,4,4: 58:[56, 31] Operation: 81-50=31 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[56, 31], Operations: ['32+24=56', '81-50=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,58 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,58 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 58:[50, 25], Operations: ['32+24=56', '81-56=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 58:[81, 6], Operations: ['32+24=56', '56-50=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,58 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 58:[81, 106], Operations: ['32+24=56', '50+56=106'] Exploring Operation: 106-81=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 81+106=187, Resulting Numbers: [187] 187,58 unequal: No Solution Exploring Operation: 81*106=8586, Resulting Numbers: [8586] 8586,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 58:[56, 131], Operations: ['32+24=56', '81+50=131'] Exploring Operation: 56*131=7336, Resulting Numbers: [7336] 7336,58 unequal: No Solution Exploring Operation: 131-56=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 56+131=187, Resulting Numbers: [187] 187,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 58:[31, 56], Operations: ['81-50=31', '32+24=56'] Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,58 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[24, 1], Operations: ['81-50=31', '32-31=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[32, 55], Operations: ['81-50=31', '24+31=55'] Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,58 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[24, 1], Operations: ['81-32=49', '50-49=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[32, 7], Operations: ['81-24=57', '57-50=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,58 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[31, 8], Operations: ['81-50=31', '32-24=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,58 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[32, 7], Operations: ['81-50=31', '31-24=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,58 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[57, 18], Operations: ['81-24=57', '50-32=18'] Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,58 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[49, 26], Operations: ['81-32=49', '50-24=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[50, 25], Operations: ['81-32=49', '49-24=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,58 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[50, 25], Operations: ['81-24=57', '57-32=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[50, 73], Operations: ['81-32=49', '24+49=73'] Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,58 unequal: No Solution Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,58 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[49, 74], Operations: ['81-32=49', '50+24=74'] Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,58 unequal: No Solution Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,58 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[57, 82], Operations: ['81-24=57', '50+32=82'] Exploring Operation: 57+82=139, Resulting Numbers: [139] 139,58 unequal: No Solution Exploring Operation: 57*82=4674, Resulting Numbers: [4674] 4674,58 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[50, 89], Operations: ['81-24=57', '32+57=89'] Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,58 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,58 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 51, 7, 73, 81 ]
29
[ "73+81=154", "154/7=22", "51-22=29" ]
Current State: 29:[51, 7, 73, 81], Operations: [] Exploring Operation: 73+81=154, Resulting Numbers: [51, 7, 154] Generated Node #2: [51, 7, 154] from Operation: 73+81=154 Current State: 29:[51, 7, 154], Operations: ['73+81=154'] Exploring Operation: 154/7=22, Resulting Numbers: [51, 22] Generated Node #3: [51, 22] from Operation: 154/7=22 Current State: 29:[51, 22], Operations: ['73+81=154', '154/7=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[51, 7, 73, 81], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [51, 7, 8] Generated Node #0,0: 29:[51, 7, 8] Operation: 81-73=8 Exploring Operation: 73-51=22, Resulting Numbers: [7, 81, 22] Generated Node #0,1: 29:[7, 81, 22] Operation: 73-51=22 Exploring Operation: 81-51=30, Resulting Numbers: [7, 73, 30] Generated Node #0,2: 29:[7, 73, 30] Operation: 81-51=30 Exploring Operation: 73-7=66, Resulting Numbers: [51, 81, 66] Generated Node #0,3: 29:[51, 81, 66] Operation: 73-7=66 Exploring Operation: 51-7=44, Resulting Numbers: [73, 81, 44] Generated Node #0,4: 29:[73, 81, 44] Operation: 51-7=44 Moving to Node #0,0 Current State: 29:[51, 7, 8], Operations: ['81-73=8'] Exploring Operation: 51+7=58, Resulting Numbers: [8, 58] Generated Node #0,0,0: 29:[8, 58] Operation: 51+7=58 Exploring Operation: 7+8=15, Resulting Numbers: [51, 15] Generated Node #0,0,1: 29:[51, 15] Operation: 7+8=15 Exploring Operation: 7*8=56, Resulting Numbers: [51, 56] Generated Node #0,0,2: 29:[51, 56] Operation: 7*8=56 Exploring Operation: 51-8=43, Resulting Numbers: [7, 43] Generated Node #0,0,3: 29:[7, 43] Operation: 51-8=43 Exploring Operation: 51-7=44, Resulting Numbers: [8, 44] Generated Node #0,0,4: 29:[8, 44] Operation: 51-7=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[51, 15], Operations: ['81-73=8', '7+8=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[7, 43], Operations: ['81-73=8', '51-8=43'] Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,29 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 29:[8, 44], Operations: ['81-73=8', '51-7=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[51, 56], Operations: ['81-73=8', '7*8=56'] Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,29 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,29 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[8, 58], Operations: ['81-73=8', '51+7=58'] Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,29 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 29:[7, 73, 30], Operations: ['81-51=30'] Exploring Operation: 7+73=80, Resulting Numbers: [30, 80] Generated Node #0,2,0: 29:[30, 80] Operation: 7+73=80 Exploring Operation: 30-7=23, Resulting Numbers: [73, 23] Generated Node #0,2,1: 29:[73, 23] Operation: 30-7=23 Exploring Operation: 73-7=66, Resulting Numbers: [30, 66] Generated Node #0,2,2: 29:[30, 66] Operation: 73-7=66 Exploring Operation: 7+30=37, Resulting Numbers: [73, 37] Generated Node #0,2,3: 29:[73, 37] Operation: 7+30=37 Exploring Operation: 73-30=43, Resulting Numbers: [7, 43] Generated Node #0,2,4: 29:[7, 43] Operation: 73-30=43 Moving to Node #0,1 Current State: 29:[7, 81, 22], Operations: ['73-51=22'] Exploring Operation: 81-7=74, Resulting Numbers: [22, 74] Generated Node #0,1,0: 29:[22, 74] Operation: 81-7=74 Exploring Operation: 22-7=15, Resulting Numbers: [81, 15] Generated Node #0,1,1: 29:[81, 15] Operation: 22-7=15 Exploring Operation: 7+22=29, Resulting Numbers: [81, 29] Generated Node #0,1,2: 29:[81, 29] Operation: 7+22=29 Exploring Operation: 81-22=59, Resulting Numbers: [7, 59] Generated Node #0,1,3: 29:[7, 59] Operation: 81-22=59 Exploring Operation: 7+81=88, Resulting Numbers: [22, 88] Generated Node #0,1,4: 29:[22, 88] Operation: 7+81=88 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[22, 74], Operations: ['73-51=22', '81-7=74'] Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,29 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[81, 29], Operations: ['73-51=22', '7+22=29'] Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,29 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,29 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[7, 59], Operations: ['73-51=22', '81-22=59'] Exploring Operation: 7*59=413, Resulting Numbers: [413] 413,29 unequal: No Solution Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[81, 15], Operations: ['73-51=22', '22-7=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,29 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[22, 88], Operations: ['73-51=22', '7+81=88'] Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,29 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 29:[51, 81, 66], Operations: ['73-7=66'] Exploring Operation: 51+66=117, Resulting Numbers: [81, 117] Generated Node #0,3,0: 29:[81, 117] Operation: 51+66=117 Exploring Operation: 81-51=30, Resulting Numbers: [66, 30] Generated Node #0,3,1: 29:[66, 30] Operation: 81-51=30 Exploring Operation: 66-51=15, Resulting Numbers: [81, 15] Generated Node #0,3,2: 29:[81, 15] Operation: 66-51=15 Exploring Operation: 81-66=15, Resulting Numbers: [51, 15] Generated Node #0,3,3: 29:[51, 15] Operation: 81-66=15 Exploring Operation: 51+81=132, Resulting Numbers: [66, 132] Generated Node #0,3,4: 29:[66, 132] Operation: 51+81=132 Moving to Node #0,4 Current State: 29:[73, 81, 44], Operations: ['51-7=44'] Exploring Operation: 81-73=8, Resulting Numbers: [44, 8] Generated Node #0,4,0: 29:[44, 8] Operation: 81-73=8 Exploring Operation: 73+81=154, Resulting Numbers: [44, 154] Generated Node #0,4,1: 29:[44, 154] Operation: 73+81=154 Exploring Operation: 73-44=29, Resulting Numbers: [81, 29] Generated Node #0,4,2: 29:[81, 29] Operation: 73-44=29 Exploring Operation: 81-44=37, Resulting Numbers: [73, 37] Generated Node #0,4,3: 29:[73, 37] Operation: 81-44=37 Exploring Operation: 73+44=117, Resulting Numbers: [81, 117] Generated Node #0,4,4: 29:[81, 117] Operation: 73+44=117 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[44, 8], Operations: ['51-7=44', '81-73=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,29 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[81, 29], Operations: ['51-7=44', '73-44=29'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,29 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 29:[73, 37], Operations: ['51-7=44', '81-44=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,29 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[44, 154], Operations: ['51-7=44', '73+81=154'] Exploring Operation: 44*154=6776, Resulting Numbers: [6776] 6776,29 unequal: No Solution Exploring Operation: 44+154=198, Resulting Numbers: [198] 198,29 unequal: No Solution Exploring Operation: 154-44=110, Resulting Numbers: [110] 110,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[81, 117], Operations: ['51-7=44', '73+44=117'] Exploring Operation: 81*117=9477, Resulting Numbers: [9477] 9477,29 unequal: No Solution Exploring Operation: 81+117=198, Resulting Numbers: [198] 198,29 unequal: No Solution Exploring Operation: 117-81=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 29:[7, 43], Operations: ['81-51=30', '73-30=43'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[51, 15], Operations: ['73-7=66', '81-66=15'] Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,29 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[66, 30], Operations: ['73-7=66', '81-51=30'] Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,29 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[30, 66], Operations: ['81-51=30', '73-7=66'] Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,29 unequal: No Solution Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[73, 23], Operations: ['81-51=30', '30-7=23'] Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,29 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[73, 37], Operations: ['81-51=30', '7+30=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,29 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,29 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[30, 80], Operations: ['81-51=30', '7+73=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,29 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[81, 15], Operations: ['73-7=66', '66-51=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,29 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[66, 132], Operations: ['73-7=66', '51+81=132'] Exploring Operation: 66+132=198, Resulting Numbers: [198] 198,29 unequal: No Solution Exploring Operation: 132-66=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 66*132=8712, Resulting Numbers: [8712] 8712,29 unequal: No Solution Exploring Operation: 132/66=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[81, 117], Operations: ['73-7=66', '51+66=117'] Exploring Operation: 81+117=198, Resulting Numbers: [198] 198,29 unequal: No Solution Exploring Operation: 81*117=9477, Resulting Numbers: [9477] 9477,29 unequal: No Solution Exploring Operation: 117-81=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 69, 45, 28, 93 ]
14
[ "69*28=1932", "45+93=138", "1932/138=14" ]
Current State: 14:[69, 45, 28, 93], Operations: [] Exploring Operation: 69*28=1932, Resulting Numbers: [45, 93, 1932] Generated Node #2: [45, 93, 1932] from Operation: 69*28=1932 Current State: 14:[45, 93, 1932], Operations: ['69*28=1932'] Exploring Operation: 45+93=138, Resulting Numbers: [1932, 138] Generated Node #3: [1932, 138] from Operation: 45+93=138 Current State: 14:[1932, 138], Operations: ['69*28=1932', '45+93=138'] Exploring Operation: 1932/138=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[69, 45, 28, 93], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [45, 28, 24] Generated Node #0,0: 14:[45, 28, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[45, 28, 24], Operations: ['93-69=24'] Exploring Operation: 45-28=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 14:[24, 17] Operation: 45-28=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[24, 17], Operations: ['93-69=24', '45-28=17'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 55, 16, 2, 80 ]
82
[ "55-16=39", "80-39=41", "2*41=82" ]
Current State: 82:[55, 16, 2, 80], Operations: [] Exploring Operation: 55-16=39, Resulting Numbers: [2, 80, 39] Generated Node #2: [2, 80, 39] from Operation: 55-16=39 Current State: 82:[2, 80, 39], Operations: ['55-16=39'] Exploring Operation: 80-39=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 80-39=41 Current State: 82:[2, 41], Operations: ['55-16=39', '80-39=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[55, 16, 2, 80], Operations: [] Exploring Operation: 55-16=39, Resulting Numbers: [2, 80, 39] Generated Node #0,0: 82:[2, 80, 39] Operation: 55-16=39 Moving to Node #0,0 Current State: 82:[2, 80, 39], Operations: ['55-16=39'] Exploring Operation: 80-39=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 82:[2, 41] Operation: 80-39=41 Moving to Node #0,0,0 Current State: 82:[2, 41], Operations: ['55-16=39', '80-39=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[55, 16, 2, 80], Operations: [] Exploring Operation: 55-16=39, Resulting Numbers: [2, 80, 39] Generated Node #0,0: 82:[2, 80, 39] Operation: 55-16=39 Moving to Node #0,0 Current State: 82:[2, 80, 39], Operations: ['55-16=39'] Exploring Operation: 80-39=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 82:[2, 41] Operation: 80-39=41 Moving to Node #0,0,0 Current State: 82:[2, 41], Operations: ['55-16=39', '80-39=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 92, 14, 87, 46 ]
80
[ "92/46=2", "14/2=7", "87-7=80" ]
Current State: 80:[92, 14, 87, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [14, 87, 2] Generated Node #2: [14, 87, 2] from Operation: 92/46=2 Current State: 80:[14, 87, 2], Operations: ['92/46=2'] Exploring Operation: 14/2=7, Resulting Numbers: [87, 7] Generated Node #3: [87, 7] from Operation: 14/2=7 Current State: 80:[87, 7], Operations: ['92/46=2', '14/2=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[92, 14, 87, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [14, 87, 2] Generated Node #0,0: 80:[14, 87, 2] Operation: 92/46=2 Exploring Operation: 92-87=5, Resulting Numbers: [14, 46, 5] Generated Node #0,1: 80:[14, 46, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[14, 46, 5], Operations: ['92-87=5'] Exploring Operation: 46-5=41, Resulting Numbers: [14, 41] Generated Node #0,1,0: 80:[14, 41] Operation: 46-5=41 Exploring Operation: 14+5=19, Resulting Numbers: [46, 19] Generated Node #0,1,1: 80:[46, 19] Operation: 14+5=19 Moving to Node #0,1,0 Current State: 80:[14, 41], Operations: ['92-87=5', '46-5=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[46, 19], Operations: ['92-87=5', '14+5=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[14, 87, 2], Operations: ['92/46=2'] Exploring Operation: 87-14=73, Resulting Numbers: [2, 73] Generated Node #0,0,0: 80:[2, 73] Operation: 87-14=73 Exploring Operation: 14+2=16, Resulting Numbers: [87, 16] Generated Node #0,0,1: 80:[87, 16] Operation: 14+2=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[2, 73], Operations: ['92/46=2', '87-14=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[87, 16], Operations: ['92/46=2', '14+2=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 14, 32, 10, 7 ]
40
[ "14/7=2", "32+10=42", "42-2=40" ]
Current State: 40:[14, 32, 10, 7], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [32, 10, 2] Generated Node #2: [32, 10, 2] from Operation: 14/7=2 Current State: 40:[32, 10, 2], Operations: ['14/7=2'] Exploring Operation: 32+10=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 32+10=42 Current State: 40:[2, 42], Operations: ['14/7=2', '32+10=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[14, 32, 10, 7], Operations: [] Exploring Operation: 32+7=39, Resulting Numbers: [14, 10, 39] Generated Node #0,0: 40:[14, 10, 39] Operation: 32+7=39 Exploring Operation: 32-14=18, Resulting Numbers: [10, 7, 18] Generated Node #0,1: 40:[10, 7, 18] Operation: 32-14=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[10, 7, 18], Operations: ['32-14=18'] Exploring Operation: 18-7=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 40:[10, 11] Operation: 18-7=11 Exploring Operation: 18-10=8, Resulting Numbers: [7, 8] Generated Node #0,1,1: 40:[7, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[10, 11], Operations: ['32-14=18', '18-7=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[7, 8], Operations: ['32-14=18', '18-10=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[14, 10, 39], Operations: ['32+7=39'] Exploring Operation: 14-10=4, Resulting Numbers: [39, 4] Generated Node #0,0,0: 40:[39, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [39, 24] Generated Node #0,0,1: 40:[39, 24] Operation: 14+10=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[39, 4], Operations: ['32+7=39', '14-10=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[39, 24], Operations: ['32+7=39', '14+10=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 33, 97, 15, 8 ]
57
[ "97-33=64", "15-8=7", "64-7=57" ]
Current State: 57:[33, 97, 15, 8], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [15, 8, 64] Generated Node #2: [15, 8, 64] from Operation: 97-33=64 Current State: 57:[15, 8, 64], Operations: ['97-33=64'] Exploring Operation: 15-8=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 15-8=7 Current State: 57:[64, 7], Operations: ['97-33=64', '15-8=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[33, 97, 15, 8], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [15, 8, 64] Generated Node #0,0: 57:[15, 8, 64] Operation: 97-33=64 Exploring Operation: 97-15=82, Resulting Numbers: [33, 8, 82] Generated Node #0,1: 57:[33, 8, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[15, 8, 64], Operations: ['97-33=64'] Exploring Operation: 64-8=56, Resulting Numbers: [15, 56] Generated Node #0,0,0: 57:[15, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [15, 8] Generated Node #0,0,1: 57:[15, 8] Operation: 64/8=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[15, 56], Operations: ['97-33=64', '64-8=56'] Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[15, 8], Operations: ['97-33=64', '64/8=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[33, 8, 82], Operations: ['97-15=82'] Exploring Operation: 82-33=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 57:[8, 49] Operation: 82-33=49 Exploring Operation: 33-8=25, Resulting Numbers: [82, 25] Generated Node #0,1,1: 57:[82, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[8, 49], Operations: ['97-15=82', '82-33=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[33, 97, 15, 8], Operations: [] Exploring Operation: 97-15=82, Resulting Numbers: [33, 8, 82] Generated Node #0,1: 57:[33, 8, 82] Operation: 97-15=82 Moving to Node #0,1 Current State: 57:[33, 8, 82], Operations: ['97-15=82'] Exploring Operation: 82-33=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 57:[8, 49] Operation: 82-33=49 Moving to Node #0,1,0 Current State: 57:[8, 49], Operations: ['97-15=82', '82-33=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 50, 93, 21, 69 ]
95
[ "50+93=143", "69-21=48", "143-48=95" ]
Current State: 95:[50, 93, 21, 69], Operations: [] Exploring Operation: 50+93=143, Resulting Numbers: [21, 69, 143] Generated Node #2: [21, 69, 143] from Operation: 50+93=143 Current State: 95:[21, 69, 143], Operations: ['50+93=143'] Exploring Operation: 69-21=48, Resulting Numbers: [143, 48] Generated Node #3: [143, 48] from Operation: 69-21=48 Current State: 95:[143, 48], Operations: ['50+93=143', '69-21=48'] Exploring Operation: 143-48=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[50, 93, 21, 69], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [93, 21, 19] Generated Node #0,0: 95:[93, 21, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[93, 21, 19], Operations: ['69-50=19'] Exploring Operation: 21-19=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 95:[93, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 95:[93, 2], Operations: ['69-50=19', '21-19=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[50, 93, 21, 69], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [93, 21, 19] Generated Node #0,0: 95:[93, 21, 19] Operation: 69-50=19 Moving to Node #0,0 Current State: 95:[93, 21, 19], Operations: ['69-50=19'] Exploring Operation: 21-19=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 95:[93, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 95:[93, 2], Operations: ['69-50=19', '21-19=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 54, 48, 6 ]
58
[ "54-38=16", "48-6=42", "16+42=58" ]
Current State: 58:[38, 54, 48, 6], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [48, 6, 16] Generated Node #2: [48, 6, 16] from Operation: 54-38=16 Current State: 58:[48, 6, 16], Operations: ['54-38=16'] Exploring Operation: 48-6=42, Resulting Numbers: [16, 42] Generated Node #3: [16, 42] from Operation: 48-6=42 Current State: 58:[16, 42], Operations: ['54-38=16', '48-6=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[38, 54, 48, 6], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [54, 6, 10] Generated Node #0,0: 58:[54, 6, 10] Operation: 48-38=10 Exploring Operation: 54-48=6, Resulting Numbers: [38, 6, 6] Generated Node #0,1: 58:[38, 6, 6] Operation: 54-48=6 Exploring Operation: 48+6=54, Resulting Numbers: [38, 54, 54] Generated Node #0,2: 58:[38, 54, 54] Operation: 48+6=54 Exploring Operation: 38-6=32, Resulting Numbers: [54, 48, 32] Generated Node #0,3: 58:[54, 48, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[54, 6, 10], Operations: ['48-38=10'] Exploring Operation: 54+10=64, Resulting Numbers: [6, 64] Generated Node #0,0,0: 58:[6, 64] Operation: 54+10=64 Exploring Operation: 54+6=60, Resulting Numbers: [10, 60] Generated Node #0,0,1: 58:[10, 60] Operation: 54+6=60 Exploring Operation: 10-6=4, Resulting Numbers: [54, 4] Generated Node #0,0,2: 58:[54, 4] Operation: 10-6=4 Exploring Operation: 6*10=60, Resulting Numbers: [54, 60] Generated Node #0,0,3: 58:[54, 60] Operation: 6*10=60 Moving to Node #0,0,2 Current State: 58:[54, 4], Operations: ['48-38=10', '10-6=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,58 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[38, 54, 48, 6], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [54, 6, 10] Generated Node #0,0: 58:[54, 6, 10] Operation: 48-38=10 Moving to Node #0,0 Current State: 58:[54, 6, 10], Operations: ['48-38=10'] Exploring Operation: 10-6=4, Resulting Numbers: [54, 4] Generated Node #0,0,2: 58:[54, 4] Operation: 10-6=4 Moving to Node #0,0,2 Current State: 58:[54, 4], Operations: ['48-38=10', '10-6=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 93, 70, 57, 2 ]
71
[ "93-57=36", "70/2=35", "36+35=71" ]
Current State: 71:[93, 70, 57, 2], Operations: [] Exploring Operation: 93-57=36, Resulting Numbers: [70, 2, 36] Generated Node #2: [70, 2, 36] from Operation: 93-57=36 Current State: 71:[70, 2, 36], Operations: ['93-57=36'] Exploring Operation: 70/2=35, Resulting Numbers: [36, 35] Generated Node #3: [36, 35] from Operation: 70/2=35 Current State: 71:[36, 35], Operations: ['93-57=36', '70/2=35'] Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[93, 70, 57, 2], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [70, 57, 91] Generated Node #0,0: 71:[70, 57, 91] Operation: 93-2=91 Exploring Operation: 57+2=59, Resulting Numbers: [93, 70, 59] Generated Node #0,1: 71:[93, 70, 59] Operation: 57+2=59 Moving to Node #0,0 Current State: 71:[70, 57, 91], Operations: ['93-2=91'] Exploring Operation: 91-57=34, Resulting Numbers: [70, 34] Generated Node #0,0,0: 71:[70, 34] Operation: 91-57=34 Exploring Operation: 91-70=21, Resulting Numbers: [57, 21] Generated Node #0,0,1: 71:[57, 21] Operation: 91-70=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[70, 34], Operations: ['93-2=91', '91-57=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[57, 21], Operations: ['93-2=91', '91-70=21'] Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 71:[93, 70, 59], Operations: ['57+2=59'] Exploring Operation: 93-70=23, Resulting Numbers: [59, 23] Generated Node #0,1,0: 71:[59, 23] Operation: 93-70=23 Exploring Operation: 93-59=34, Resulting Numbers: [70, 34] Generated Node #0,1,1: 71:[70, 34] Operation: 93-59=34 Moving to Node #0,1,1 Current State: 71:[70, 34], Operations: ['57+2=59', '93-59=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[59, 23], Operations: ['57+2=59', '93-70=23'] Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 59+23=82, Resulting Numbers: [82] 82,71 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 23, 68, 34 ]
45
[ "23*68=1564", "1564/34=46", "46-1=45" ]
Current State: 45:[1, 23, 68, 34], Operations: [] Exploring Operation: 23*68=1564, Resulting Numbers: [1, 34, 1564] Generated Node #2: [1, 34, 1564] from Operation: 23*68=1564 Current State: 45:[1, 34, 1564], Operations: ['23*68=1564'] Exploring Operation: 1564/34=46, Resulting Numbers: [1, 46] Generated Node #3: [1, 46] from Operation: 1564/34=46 Current State: 45:[1, 46], Operations: ['23*68=1564', '1564/34=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[1, 23, 68, 34], Operations: [] Exploring Operation: 68-34=34, Resulting Numbers: [1, 23, 34] Generated Node #0,0: 45:[1, 23, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [1, 23, 2] Generated Node #0,1: 45:[1, 23, 2] Operation: 68/34=2 Exploring Operation: 68-23=45, Resulting Numbers: [1, 34, 45] Generated Node #0,2: 45:[1, 34, 45] Operation: 68-23=45 Moving to Node #0,1 Current State: 45:[1, 23, 2], Operations: ['68/34=2'] Exploring Operation: 1+2=3, Resulting Numbers: [23, 3] Generated Node #0,1,0: 45:[23, 3] Operation: 1+2=3 Exploring Operation: 23-1=22, Resulting Numbers: [2, 22] Generated Node #0,1,1: 45:[2, 22] Operation: 23-1=22 Exploring Operation: 23*2=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 45:[1, 46] Operation: 23*2=46 Moving to Node #0,2 Current State: 45:[1, 34, 45], Operations: ['68-23=45'] Exploring Operation: 1+34=35, Resulting Numbers: [45, 35] Generated Node #0,2,0: 45:[45, 35] Operation: 1+34=35 Exploring Operation: 1*34=34, Resulting Numbers: [45, 34] Generated Node #0,2,1: 45:[45, 34] Operation: 1*34=34 Exploring Operation: 45-34=11, Resulting Numbers: [1, 11] Generated Node #0,2,2: 45:[1, 11] Operation: 45-34=11 Moving to Node #0,0 Current State: 45:[1, 23, 34], Operations: ['68-34=34'] Exploring Operation: 23+34=57, Resulting Numbers: [1, 57] Generated Node #0,0,0: 45:[1, 57] Operation: 23+34=57 Exploring Operation: 23-1=22, Resulting Numbers: [34, 22] Generated Node #0,0,1: 45:[34, 22] Operation: 23-1=22 Exploring Operation: 34-23=11, Resulting Numbers: [1, 11] Generated Node #0,0,2: 45:[1, 11] Operation: 34-23=11 Moving to Node #0,1,2 Current State: 45:[1, 46], Operations: ['68/34=2', '23*2=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[1, 23, 68, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [1, 23, 2] Generated Node #0,1: 45:[1, 23, 2] Operation: 68/34=2 Moving to Node #0,1 Current State: 45:[1, 23, 2], Operations: ['68/34=2'] Exploring Operation: 23*2=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 45:[1, 46] Operation: 23*2=46 Moving to Node #0,1,2 Current State: 45:[1, 46], Operations: ['68/34=2', '23*2=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.984375
hs_3
mult_heuristic
[ 30, 21, 64, 5 ]
50
[ "30-21=9", "64-5=59", "59-9=50" ]
Current State: 50:[30, 21, 64, 5], Operations: [] Exploring Operation: 30-21=9, Resulting Numbers: [64, 5, 9] Generated Node #2: [64, 5, 9] from Operation: 30-21=9 Current State: 50:[64, 5, 9], Operations: ['30-21=9'] Exploring Operation: 64-5=59, Resulting Numbers: [9, 59] Generated Node #3: [9, 59] from Operation: 64-5=59 Current State: 50:[9, 59], Operations: ['30-21=9', '64-5=59'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[30, 21, 64, 5], Operations: [] Exploring Operation: 30+21=51, Resulting Numbers: [64, 5, 51] Generated Node #0,0: 50:[64, 5, 51] Operation: 30+21=51 Exploring Operation: 64-30=34, Resulting Numbers: [21, 5, 34] Generated Node #0,1: 50:[21, 5, 34] Operation: 64-30=34 Exploring Operation: 64-21=43, Resulting Numbers: [30, 5, 43] Generated Node #0,2: 50:[30, 5, 43] Operation: 64-21=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[30, 5, 43], Operations: ['64-21=43'] Exploring Operation: 43-30=13, Resulting Numbers: [5, 13] Generated Node #0,2,0: 50:[5, 13] Operation: 43-30=13 Exploring Operation: 5+43=48, Resulting Numbers: [30, 48] Generated Node #0,2,1: 50:[30, 48] Operation: 5+43=48 Exploring Operation: 30-5=25, Resulting Numbers: [43, 25] Generated Node #0,2,2: 50:[43, 25] Operation: 30-5=25 Moving to Node #0,2,0 Current State: 50:[5, 13], Operations: ['64-21=43', '43-30=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[30, 48], Operations: ['64-21=43', '5+43=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,50 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[43, 25], Operations: ['64-21=43', '30-5=25'] Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,50 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[21, 5, 34], Operations: ['64-30=34'] Exploring Operation: 34-21=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 50:[5, 13] Operation: 34-21=13 Exploring Operation: 21+34=55, Resulting Numbers: [5, 55] Generated Node #0,1,1: 50:[5, 55] Operation: 21+34=55 Exploring Operation: 34-5=29, Resulting Numbers: [21, 29] Generated Node #0,1,2: 50:[21, 29] Operation: 34-5=29 Moving to Node #0,1,0 Current State: 50:[5, 13], Operations: ['64-30=34', '34-21=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[5, 55], Operations: ['64-30=34', '21+34=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[30, 21, 64, 5], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [21, 5, 34] Generated Node #0,1: 50:[21, 5, 34] Operation: 64-30=34 Moving to Node #0,1 Current State: 50:[21, 5, 34], Operations: ['64-30=34'] Exploring Operation: 21+34=55, Resulting Numbers: [5, 55] Generated Node #0,1,1: 50:[5, 55] Operation: 21+34=55 Moving to Node #0,1,1 Current State: 50:[5, 55], Operations: ['64-30=34', '21+34=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 71, 34, 27, 4 ]
71
[ "71-34=37", "27*4=108", "108-37=71" ]
Current State: 71:[71, 34, 27, 4], Operations: [] Exploring Operation: 71-34=37, Resulting Numbers: [27, 4, 37] Generated Node #2: [27, 4, 37] from Operation: 71-34=37 Current State: 71:[27, 4, 37], Operations: ['71-34=37'] Exploring Operation: 27*4=108, Resulting Numbers: [37, 108] Generated Node #3: [37, 108] from Operation: 27*4=108 Current State: 71:[37, 108], Operations: ['71-34=37', '27*4=108'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[71, 34, 27, 4], Operations: [] Exploring Operation: 34+27=61, Resulting Numbers: [71, 4, 61] Generated Node #0,0: 71:[71, 4, 61] Operation: 34+27=61 Exploring Operation: 27*4=108, Resulting Numbers: [71, 34, 108] Generated Node #0,1: 71:[71, 34, 108] Operation: 27*4=108 Exploring Operation: 34+4=38, Resulting Numbers: [71, 27, 38] Generated Node #0,2: 71:[71, 27, 38] Operation: 34+4=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[71, 34, 108], Operations: ['27*4=108'] Exploring Operation: 71-34=37, Resulting Numbers: [108, 37] Generated Node #0,1,0: 71:[108, 37] Operation: 71-34=37 Exploring Operation: 71+34=105, Resulting Numbers: [108, 105] Generated Node #0,1,1: 71:[108, 105] Operation: 71+34=105 Exploring Operation: 108-34=74, Resulting Numbers: [71, 74] Generated Node #0,1,2: 71:[71, 74] Operation: 108-34=74 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[71, 74], Operations: ['27*4=108', '108-34=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,71 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,71 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[108, 37], Operations: ['27*4=108', '71-34=37'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[71, 34, 27, 4], Operations: [] Exploring Operation: 27*4=108, Resulting Numbers: [71, 34, 108] Generated Node #0,1: 71:[71, 34, 108] Operation: 27*4=108 Moving to Node #0,1 Current State: 71:[71, 34, 108], Operations: ['27*4=108'] Exploring Operation: 71-34=37, Resulting Numbers: [108, 37] Generated Node #0,1,0: 71:[108, 37] Operation: 71-34=37 Moving to Node #0,1,0 Current State: 71:[108, 37], Operations: ['27*4=108', '71-34=37'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 77, 5, 9, 23 ]
83
[ "9+23=32", "5*32=160", "160-77=83" ]
Current State: 83:[77, 5, 9, 23], Operations: [] Exploring Operation: 9+23=32, Resulting Numbers: [77, 5, 32] Generated Node #2: [77, 5, 32] from Operation: 9+23=32 Current State: 83:[77, 5, 32], Operations: ['9+23=32'] Exploring Operation: 5*32=160, Resulting Numbers: [77, 160] Generated Node #3: [77, 160] from Operation: 5*32=160 Current State: 83:[77, 160], Operations: ['9+23=32', '5*32=160'] Exploring Operation: 160-77=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[77, 5, 9, 23], Operations: [] Exploring Operation: 77+5=82, Resulting Numbers: [9, 23, 82] Generated Node #0,0: 83:[9, 23, 82] Operation: 77+5=82 Exploring Operation: 5*9=45, Resulting Numbers: [77, 23, 45] Generated Node #0,1: 83:[77, 23, 45] Operation: 5*9=45 Exploring Operation: 5*23=115, Resulting Numbers: [77, 9, 115] Generated Node #0,2: 83:[77, 9, 115] Operation: 5*23=115 Moving to Node #0,1 Current State: 83:[77, 23, 45], Operations: ['5*9=45'] Exploring Operation: 77+23=100, Resulting Numbers: [45, 100] Generated Node #0,1,0: 83:[45, 100] Operation: 77+23=100 Exploring Operation: 77-23=54, Resulting Numbers: [45, 54] Generated Node #0,1,1: 83:[45, 54] Operation: 77-23=54 Exploring Operation: 23+45=68, Resulting Numbers: [77, 68] Generated Node #0,1,2: 83:[77, 68] Operation: 23+45=68 Moving to Node #0,2 Current State: 83:[77, 9, 115], Operations: ['5*23=115'] Exploring Operation: 77+9=86, Resulting Numbers: [115, 86] Generated Node #0,2,0: 83:[115, 86] Operation: 77+9=86 Exploring Operation: 115-9=106, Resulting Numbers: [77, 106] Generated Node #0,2,1: 83:[77, 106] Operation: 115-9=106 Exploring Operation: 77-9=68, Resulting Numbers: [115, 68] Generated Node #0,2,2: 83:[115, 68] Operation: 77-9=68 Moving to Node #0,0 Current State: 83:[9, 23, 82], Operations: ['77+5=82'] Exploring Operation: 23-9=14, Resulting Numbers: [82, 14] Generated Node #0,0,0: 83:[82, 14] Operation: 23-9=14 Exploring Operation: 9+23=32, Resulting Numbers: [82, 32] Generated Node #0,0,1: 83:[82, 32] Operation: 9+23=32 Exploring Operation: 9+82=91, Resulting Numbers: [23, 91] Generated Node #0,0,2: 83:[23, 91] Operation: 9+82=91 Moving to Node #0,1,2 Current State: 83:[77, 68], Operations: ['5*9=45', '23+45=68'] Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 77*68=5236, Resulting Numbers: [5236] 5236,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[77, 106], Operations: ['5*23=115', '115-9=106'] Exploring Operation: 77*106=8162, Resulting Numbers: [8162] 8162,83 unequal: No Solution Exploring Operation: 106-77=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 77+106=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[115, 86], Operations: ['5*23=115', '77+9=86'] Exploring Operation: 115-86=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 115+86=201, Resulting Numbers: [201] 201,83 unequal: No Solution Exploring Operation: 115*86=9890, Resulting Numbers: [9890] 9890,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[115, 68], Operations: ['5*23=115', '77-9=68'] Exploring Operation: 115+68=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 115*68=7820, Resulting Numbers: [7820] 7820,83 unequal: No Solution Exploring Operation: 115-68=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[82, 32], Operations: ['77+5=82', '9+23=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[45, 100], Operations: ['5*9=45', '77+23=100'] Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 45*100=4500, Resulting Numbers: [4500] 4500,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[45, 54], Operations: ['5*9=45', '77-23=54'] Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,83 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[23, 91], Operations: ['77+5=82', '9+82=91'] Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,83 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[82, 14], Operations: ['77+5=82', '23-9=14'] Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,83 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,83 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 20, 46, 71, 19 ]
26
[ "46-20=26", "71-19=52", "52-26=26" ]
Current State: 26:[20, 46, 71, 19], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [71, 19, 26] Generated Node #2: [71, 19, 26] from Operation: 46-20=26 Current State: 26:[71, 19, 26], Operations: ['46-20=26'] Exploring Operation: 71-19=52, Resulting Numbers: [26, 52] Generated Node #3: [26, 52] from Operation: 71-19=52 Current State: 26:[26, 52], Operations: ['46-20=26', '71-19=52'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[20, 46, 71, 19], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [71, 19, 26] Generated Node #0,0: 26:[71, 19, 26] Operation: 46-20=26 Exploring Operation: 71-19=52, Resulting Numbers: [20, 46, 52] Generated Node #0,1: 26:[20, 46, 52] Operation: 71-19=52 Exploring Operation: 46-19=27, Resulting Numbers: [20, 71, 27] Generated Node #0,2: 26:[20, 71, 27] Operation: 46-19=27 Exploring Operation: 71-46=25, Resulting Numbers: [20, 19, 25] Generated Node #0,3: 26:[20, 19, 25] Operation: 71-46=25 Exploring Operation: 71-20=51, Resulting Numbers: [46, 19, 51] Generated Node #0,4: 26:[46, 19, 51] Operation: 71-20=51 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[20, 19, 25], Operations: ['71-46=25'] Exploring Operation: 25-19=6, Resulting Numbers: [20, 6] Generated Node #0,3,0: 26:[20, 6] Operation: 25-19=6 Exploring Operation: 20+19=39, Resulting Numbers: [25, 39] Generated Node #0,3,1: 26:[25, 39] Operation: 20+19=39 Exploring Operation: 19+25=44, Resulting Numbers: [20, 44] Generated Node #0,3,2: 26:[20, 44] Operation: 19+25=44 Exploring Operation: 20-19=1, Resulting Numbers: [25, 1] Generated Node #0,3,3: 26:[25, 1] Operation: 20-19=1 Exploring Operation: 25-20=5, Resulting Numbers: [19, 5] Generated Node #0,3,4: 26:[19, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[25, 1], Operations: ['71-46=25', '20-19=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[20, 46, 71, 19], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [20, 19, 25] Generated Node #0,3: 26:[20, 19, 25] Operation: 71-46=25 Moving to Node #0,3 Current State: 26:[20, 19, 25], Operations: ['71-46=25'] Exploring Operation: 20-19=1, Resulting Numbers: [25, 1] Generated Node #0,3,3: 26:[25, 1] Operation: 20-19=1 Moving to Node #0,3,3 Current State: 26:[25, 1], Operations: ['71-46=25', '20-19=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 41, 23, 28, 55 ]
25
[ "55-41=14", "28/14=2", "23+2=25" ]
Current State: 25:[41, 23, 28, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [23, 28, 14] Generated Node #2: [23, 28, 14] from Operation: 55-41=14 Current State: 25:[23, 28, 14], Operations: ['55-41=14'] Exploring Operation: 28/14=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 28/14=2 Current State: 25:[23, 2], Operations: ['55-41=14', '28/14=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[41, 23, 28, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [23, 28, 14] Generated Node #0,0: 25:[23, 28, 14] Operation: 55-41=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[23, 28, 14], Operations: ['55-41=14'] Exploring Operation: 28/14=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 25:[23, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 25:[23, 2], Operations: ['55-41=14', '28/14=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[41, 23, 28, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [23, 28, 14] Generated Node #0,0: 25:[23, 28, 14] Operation: 55-41=14 Moving to Node #0,0 Current State: 25:[23, 28, 14], Operations: ['55-41=14'] Exploring Operation: 28/14=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 25:[23, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 25:[23, 2], Operations: ['55-41=14', '28/14=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 42, 6, 24, 71 ]
37
[ "42-24=18", "6*18=108", "108-71=37" ]
Current State: 37:[42, 6, 24, 71], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [6, 71, 18] Generated Node #2: [6, 71, 18] from Operation: 42-24=18 Current State: 37:[6, 71, 18], Operations: ['42-24=18'] Exploring Operation: 6*18=108, Resulting Numbers: [71, 108] Generated Node #3: [71, 108] from Operation: 6*18=108 Current State: 37:[71, 108], Operations: ['42-24=18', '6*18=108'] Exploring Operation: 108-71=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[42, 6, 24, 71], Operations: [] Exploring Operation: 71-24=47, Resulting Numbers: [42, 6, 47] Generated Node #0,0: 37:[42, 6, 47] Operation: 71-24=47 Exploring Operation: 71-6=65, Resulting Numbers: [42, 24, 65] Generated Node #0,1: 37:[42, 24, 65] Operation: 71-6=65 Exploring Operation: 71-42=29, Resulting Numbers: [6, 24, 29] Generated Node #0,2: 37:[6, 24, 29] Operation: 71-42=29 Exploring Operation: 42-6=36, Resulting Numbers: [24, 71, 36] Generated Node #0,3: 37:[24, 71, 36] Operation: 42-6=36 Exploring Operation: 6+24=30, Resulting Numbers: [42, 71, 30] Generated Node #0,4: 37:[42, 71, 30] Operation: 6+24=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[42, 6, 47], Operations: ['71-24=47'] Exploring Operation: 47-6=41, Resulting Numbers: [42, 41] Generated Node #0,0,0: 37:[42, 41] Operation: 47-6=41 Exploring Operation: 42+6=48, Resulting Numbers: [47, 48] Generated Node #0,0,1: 37:[47, 48] Operation: 42+6=48 Exploring Operation: 42-6=36, Resulting Numbers: [47, 36] Generated Node #0,0,2: 37:[47, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [47, 7] Generated Node #0,0,3: 37:[47, 7] Operation: 42/6=7 Exploring Operation: 6+47=53, Resulting Numbers: [42, 53] Generated Node #0,0,4: 37:[42, 53] Operation: 6+47=53 Moving to Node #0,0,0 Current State: 37:[42, 41], Operations: ['71-24=47', '47-6=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,37 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[47, 36], Operations: ['71-24=47', '42-6=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,37 unequal: No Solution Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,37 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[47, 48], Operations: ['71-24=47', '42+6=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,37 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[42, 53], Operations: ['71-24=47', '6+47=53'] Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,37 unequal: No Solution Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[47, 7], Operations: ['71-24=47', '42/6=7'] Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,37 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[42, 24, 65], Operations: ['71-6=65'] Exploring Operation: 65-24=41, Resulting Numbers: [42, 41] Generated Node #0,1,0: 37:[42, 41] Operation: 65-24=41 Exploring Operation: 42+24=66, Resulting Numbers: [65, 66] Generated Node #0,1,1: 37:[65, 66] Operation: 42+24=66 Exploring Operation: 42-24=18, Resulting Numbers: [65, 18] Generated Node #0,1,2: 37:[65, 18] Operation: 42-24=18 Exploring Operation: 24+65=89, Resulting Numbers: [42, 89] Generated Node #0,1,3: 37:[42, 89] Operation: 24+65=89 Exploring Operation: 65-42=23, Resulting Numbers: [24, 23] Generated Node #0,1,4: 37:[24, 23] Operation: 65-42=23 Moving to Node #0,1,0 Current State: 37:[42, 41], Operations: ['71-6=65', '65-24=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,37 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[24, 23], Operations: ['71-6=65', '65-42=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[65, 18], Operations: ['71-6=65', '42-24=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,37 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[65, 66], Operations: ['71-6=65', '42+24=66'] Exploring Operation: 65+66=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 65*66=4290, Resulting Numbers: [4290] 4290,37 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[42, 89], Operations: ['71-6=65', '24+65=89'] Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,37 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[42, 71, 30], Operations: ['6+24=30'] Exploring Operation: 42-30=12, Resulting Numbers: [71, 12] Generated Node #0,4,0: 37:[71, 12] Operation: 42-30=12 Exploring Operation: 71+30=101, Resulting Numbers: [42, 101] Generated Node #0,4,1: 37:[42, 101] Operation: 71+30=101 Exploring Operation: 71-42=29, Resulting Numbers: [30, 29] Generated Node #0,4,2: 37:[30, 29] Operation: 71-42=29 Exploring Operation: 42+30=72, Resulting Numbers: [71, 72] Generated Node #0,4,3: 37:[71, 72] Operation: 42+30=72 Exploring Operation: 71-30=41, Resulting Numbers: [42, 41] Generated Node #0,4,4: 37:[42, 41] Operation: 71-30=41 Moving to Node #0,4,4 Current State: 37:[42, 41], Operations: ['6+24=30', '71-30=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,37 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[30, 29], Operations: ['6+24=30', '71-42=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,37 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[71, 12], Operations: ['6+24=30', '42-30=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,37 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[42, 101], Operations: ['6+24=30', '71+30=101'] Exploring Operation: 42*101=4242, Resulting Numbers: [4242] 4242,37 unequal: No Solution Exploring Operation: 42+101=143, Resulting Numbers: [143] 143,37 unequal: No Solution Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[71, 72], Operations: ['6+24=30', '42+30=72'] Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,37 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,37 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[24, 71, 36], Operations: ['42-6=36'] Exploring Operation: 24+36=60, Resulting Numbers: [71, 60] Generated Node #0,3,0: 37:[71, 60] Operation: 24+36=60 Exploring Operation: 71-36=35, Resulting Numbers: [24, 35] Generated Node #0,3,1: 37:[24, 35] Operation: 71-36=35 Exploring Operation: 71-24=47, Resulting Numbers: [36, 47] Generated Node #0,3,2: 37:[36, 47] Operation: 71-24=47 Exploring Operation: 36-24=12, Resulting Numbers: [71, 12] Generated Node #0,3,3: 37:[71, 12] Operation: 36-24=12 Exploring Operation: 24+71=95, Resulting Numbers: [36, 95] Generated Node #0,3,4: 37:[36, 95] Operation: 24+71=95 Moving to Node #0,3,2 Current State: 37:[36, 47], Operations: ['42-6=36', '71-24=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,37 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[24, 35], Operations: ['42-6=36', '71-36=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,37 unequal: No Solution Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[71, 60], Operations: ['42-6=36', '24+36=60'] Exploring Operation: 71+60=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 71*60=4260, Resulting Numbers: [4260] 4260,37 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[71, 12], Operations: ['42-6=36', '36-24=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,37 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,37 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[36, 95], Operations: ['42-6=36', '24+71=95'] Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,37 unequal: No Solution Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[6, 24, 29], Operations: ['71-42=29'] Exploring Operation: 24/6=4, Resulting Numbers: [29, 4] Generated Node #0,2,0: 37:[29, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [29, 18] Generated Node #0,2,1: 37:[29, 18] Operation: 24-6=18 Exploring Operation: 6+24=30, Resulting Numbers: [29, 30] Generated Node #0,2,2: 37:[29, 30] Operation: 6+24=30 Exploring Operation: 6+29=35, Resulting Numbers: [24, 35] Generated Node #0,2,3: 37:[24, 35] Operation: 6+29=35 Exploring Operation: 29-6=23, Resulting Numbers: [24, 23] Generated Node #0,2,4: 37:[24, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[29, 30], Operations: ['71-42=29', '6+24=30'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[24, 35], Operations: ['71-42=29', '6+29=35'] Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,37 unequal: No Solution Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[29, 18], Operations: ['71-42=29', '24-6=18'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 37:[24, 23], Operations: ['71-42=29', '29-6=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,37 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[29, 4], Operations: ['71-42=29', '24/6=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 39, 33, 6, 78 ]
25
[ "39+33=72", "78+72=150", "150/6=25" ]
Current State: 25:[39, 33, 6, 78], Operations: [] Exploring Operation: 39+33=72, Resulting Numbers: [6, 78, 72] Generated Node #2: [6, 78, 72] from Operation: 39+33=72 Current State: 25:[6, 78, 72], Operations: ['39+33=72'] Exploring Operation: 78+72=150, Resulting Numbers: [6, 150] Generated Node #3: [6, 150] from Operation: 78+72=150 Current State: 25:[6, 150], Operations: ['39+33=72', '78+72=150'] Exploring Operation: 150/6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[39, 33, 6, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [33, 6, 2] Generated Node #0,0: 25:[33, 6, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[33, 6, 2], Operations: ['78/39=2'] Exploring Operation: 33-6=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 33-6=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['78/39=2', '33-6=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[39, 33, 6, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [33, 6, 2] Generated Node #0,0: 25:[33, 6, 2] Operation: 78/39=2 Moving to Node #0,0 Current State: 25:[33, 6, 2], Operations: ['78/39=2'] Exploring Operation: 33-6=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 33-6=27 Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['78/39=2', '33-6=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 67, 66, 83, 49 ]
69
[ "83+49=132", "132/66=2", "67+2=69" ]
Current State: 69:[67, 66, 83, 49], Operations: [] Exploring Operation: 83+49=132, Resulting Numbers: [67, 66, 132] Generated Node #2: [67, 66, 132] from Operation: 83+49=132 Current State: 69:[67, 66, 132], Operations: ['83+49=132'] Exploring Operation: 132/66=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 132/66=2 Current State: 69:[67, 2], Operations: ['83+49=132', '132/66=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[67, 66, 83, 49], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [67, 83, 17] Generated Node #0,0: 69:[67, 83, 17] Operation: 66-49=17 Exploring Operation: 83-49=34, Resulting Numbers: [67, 66, 34] Generated Node #0,1: 69:[67, 66, 34] Operation: 83-49=34 Exploring Operation: 67-49=18, Resulting Numbers: [66, 83, 18] Generated Node #0,2: 69:[66, 83, 18] Operation: 67-49=18 Moving to Node #0,1 Current State: 69:[67, 66, 34], Operations: ['83-49=34'] Exploring Operation: 67-34=33, Resulting Numbers: [66, 33] Generated Node #0,1,0: 69:[66, 33] Operation: 67-34=33 Exploring Operation: 66-34=32, Resulting Numbers: [67, 32] Generated Node #0,1,1: 69:[67, 32] Operation: 66-34=32 Exploring Operation: 67-66=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 69:[34, 1] Operation: 67-66=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[67, 32], Operations: ['83-49=34', '66-34=32'] Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 67*32=2144, Resulting Numbers: [2144] 2144,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[66, 33], Operations: ['83-49=34', '67-34=33'] Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[34, 1], Operations: ['83-49=34', '67-66=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 69:[67, 83, 17], Operations: ['66-49=17'] Exploring Operation: 67+17=84, Resulting Numbers: [83, 84] Generated Node #0,0,0: 69:[83, 84] Operation: 67+17=84 Exploring Operation: 83-17=66, Resulting Numbers: [67, 66] Generated Node #0,0,1: 69:[67, 66] Operation: 83-17=66 Exploring Operation: 83-67=16, Resulting Numbers: [17, 16] Generated Node #0,0,2: 69:[17, 16] Operation: 83-67=16 Moving to Node #0,2 Current State: 69:[66, 83, 18], Operations: ['67-49=18'] Exploring Operation: 83-18=65, Resulting Numbers: [66, 65] Generated Node #0,2,0: 69:[66, 65] Operation: 83-18=65 Exploring Operation: 66+18=84, Resulting Numbers: [83, 84] Generated Node #0,2,1: 69:[83, 84] Operation: 66+18=84 Exploring Operation: 83-66=17, Resulting Numbers: [18, 17] Generated Node #0,2,2: 69:[18, 17] Operation: 83-66=17 Moving to Node #0,0,1 Current State: 69:[67, 66], Operations: ['66-49=17', '83-17=66'] Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[66, 65], Operations: ['67-49=18', '83-18=65'] Exploring Operation: 66*65=4290, Resulting Numbers: [4290] 4290,69 unequal: No Solution Exploring Operation: 66+65=131, Resulting Numbers: [131] 131,69 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[18, 17], Operations: ['67-49=18', '83-66=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,69 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[17, 16], Operations: ['66-49=17', '83-67=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,69 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[83, 84], Operations: ['67-49=18', '66+18=84'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 83*84=6972, Resulting Numbers: [6972] 6972,69 unequal: No Solution Exploring Operation: 83+84=167, Resulting Numbers: [167] 167,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[83, 84], Operations: ['66-49=17', '67+17=84'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 83+84=167, Resulting Numbers: [167] 167,69 unequal: No Solution Exploring Operation: 83*84=6972, Resulting Numbers: [6972] 6972,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 75, 27, 76, 28 ]
96
[ "75-27=48", "76-28=48", "48+48=96" ]
Current State: 96:[75, 27, 76, 28], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [76, 28, 48] Generated Node #2: [76, 28, 48] from Operation: 75-27=48 Current State: 96:[76, 28, 48], Operations: ['75-27=48'] Exploring Operation: 76-28=48, Resulting Numbers: [48, 48] Generated Node #3: [48, 48] from Operation: 76-28=48 Current State: 96:[48, 48], Operations: ['75-27=48', '76-28=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[75, 27, 76, 28], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [27, 28, 1] Generated Node #0,0: 96:[27, 28, 1] Operation: 76-75=1 Exploring Operation: 75-27=48, Resulting Numbers: [76, 28, 48] Generated Node #0,1: 96:[76, 28, 48] Operation: 75-27=48 Moving to Node #0,0 Current State: 96:[27, 28, 1], Operations: ['76-75=1'] Exploring Operation: 28-27=1, Resulting Numbers: [1, 1] Generated Node #0,0,0: 96:[1, 1] Operation: 28-27=1 Exploring Operation: 27-1=26, Resulting Numbers: [28, 26] Generated Node #0,0,1: 96:[28, 26] Operation: 27-1=26 Moving to Node #0,1 Current State: 96:[76, 28, 48], Operations: ['75-27=48'] Exploring Operation: 76+28=104, Resulting Numbers: [48, 104] Generated Node #0,1,0: 96:[48, 104] Operation: 76+28=104 Exploring Operation: 76-28=48, Resulting Numbers: [48, 48] Generated Node #0,1,1: 96:[48, 48] Operation: 76-28=48 Moving to Node #0,1,1 Current State: 96:[48, 48], Operations: ['75-27=48', '76-28=48'] Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[75, 27, 76, 28], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [76, 28, 48] Generated Node #0,1: 96:[76, 28, 48] Operation: 75-27=48 Moving to Node #0,1 Current State: 96:[76, 28, 48], Operations: ['75-27=48'] Exploring Operation: 76-28=48, Resulting Numbers: [48, 48] Generated Node #0,1,1: 96:[48, 48] Operation: 76-28=48 Moving to Node #0,1,1 Current State: 96:[48, 48], Operations: ['75-27=48', '76-28=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 40, 52, 49, 6 ]
58
[ "52-49=3", "6*3=18", "40+18=58" ]
Current State: 58:[40, 52, 49, 6], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [40, 6, 3] Generated Node #2: [40, 6, 3] from Operation: 52-49=3 Current State: 58:[40, 6, 3], Operations: ['52-49=3'] Exploring Operation: 6*3=18, Resulting Numbers: [40, 18] Generated Node #3: [40, 18] from Operation: 6*3=18 Current State: 58:[40, 18], Operations: ['52-49=3', '6*3=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[40, 52, 49, 6], Operations: [] Exploring Operation: 52+6=58, Resulting Numbers: [40, 49, 58] Generated Node #0,0: 58:[40, 49, 58] Operation: 52+6=58 Exploring Operation: 49+6=55, Resulting Numbers: [40, 52, 55] Generated Node #0,1: 58:[40, 52, 55] Operation: 49+6=55 Exploring Operation: 49-40=9, Resulting Numbers: [52, 6, 9] Generated Node #0,2: 58:[52, 6, 9] Operation: 49-40=9 Exploring Operation: 40-6=34, Resulting Numbers: [52, 49, 34] Generated Node #0,3: 58:[52, 49, 34] Operation: 40-6=34 Exploring Operation: 52-49=3, Resulting Numbers: [40, 6, 3] Generated Node #0,4: 58:[40, 6, 3] Operation: 52-49=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 58:[40, 6, 3], Operations: ['52-49=3'] Exploring Operation: 6/3=2, Resulting Numbers: [40, 2] Generated Node #0,4,0: 58:[40, 2] Operation: 6/3=2 Exploring Operation: 40+6=46, Resulting Numbers: [3, 46] Generated Node #0,4,1: 58:[3, 46] Operation: 40+6=46 Exploring Operation: 40-3=37, Resulting Numbers: [6, 37] Generated Node #0,4,2: 58:[6, 37] Operation: 40-3=37 Exploring Operation: 40-6=34, Resulting Numbers: [3, 34] Generated Node #0,4,3: 58:[3, 34] Operation: 40-6=34 Exploring Operation: 6-3=3, Resulting Numbers: [40, 3] Generated Node #0,4,4: 58:[40, 3] Operation: 6-3=3 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 58:[3, 34], Operations: ['52-49=3', '40-6=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 58:[40, 2], Operations: ['52-49=3', '6/3=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 58:[6, 37], Operations: ['52-49=3', '40-3=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,58 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 58:[40, 3], Operations: ['52-49=3', '6-3=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 58:[3, 46], Operations: ['52-49=3', '40+6=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[52, 6, 9], Operations: ['49-40=9'] Exploring Operation: 52+9=61, Resulting Numbers: [6, 61] Generated Node #0,2,0: 58:[6, 61] Operation: 52+9=61 Exploring Operation: 6*9=54, Resulting Numbers: [52, 54] Generated Node #0,2,1: 58:[52, 54] Operation: 6*9=54 Exploring Operation: 52+6=58, Resulting Numbers: [9, 58] Generated Node #0,2,2: 58:[9, 58] Operation: 52+6=58 Exploring Operation: 9-6=3, Resulting Numbers: [52, 3] Generated Node #0,2,3: 58:[52, 3] Operation: 9-6=3 Exploring Operation: 52-9=43, Resulting Numbers: [6, 43] Generated Node #0,2,4: 58:[6, 43] Operation: 52-9=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[6, 61], Operations: ['49-40=9', '52+9=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,58 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 58:[9, 58], Operations: ['49-40=9', '52+6=58'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,58 unequal: No Solution Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 58:[52, 3], Operations: ['49-40=9', '9-6=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,58 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[52, 54], Operations: ['49-40=9', '6*9=54'] Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,58 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 58:[6, 43], Operations: ['49-40=9', '52-9=43'] Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,58 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[40, 49, 58], Operations: ['52+6=58'] Exploring Operation: 58-49=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 58:[40, 9] Operation: 58-49=9 Exploring Operation: 40+49=89, Resulting Numbers: [58, 89] Generated Node #0,0,1: 58:[58, 89] Operation: 40+49=89 Exploring Operation: 49-40=9, Resulting Numbers: [58, 9] Generated Node #0,0,2: 58:[58, 9] Operation: 49-40=9 Exploring Operation: 58-40=18, Resulting Numbers: [49, 18] Generated Node #0,0,3: 58:[49, 18] Operation: 58-40=18 Exploring Operation: 40+58=98, Resulting Numbers: [49, 98] Generated Node #0,0,4: 58:[49, 98] Operation: 40+58=98 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[58, 9], Operations: ['52+6=58', '49-40=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[40, 9], Operations: ['52+6=58', '58-49=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[49, 18], Operations: ['52+6=58', '58-40=18'] Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,58 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[58, 89], Operations: ['52+6=58', '40+49=89'] Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,58 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,58 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 58:[49, 98], Operations: ['52+6=58', '40+58=98'] Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,58 unequal: No Solution Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,58 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[40, 52, 55], Operations: ['49+6=55'] Exploring Operation: 55-40=15, Resulting Numbers: [52, 15] Generated Node #0,1,0: 58:[52, 15] Operation: 55-40=15 Exploring Operation: 55-52=3, Resulting Numbers: [40, 3] Generated Node #0,1,1: 58:[40, 3] Operation: 55-52=3 Exploring Operation: 40+55=95, Resulting Numbers: [52, 95] Generated Node #0,1,2: 58:[52, 95] Operation: 40+55=95 Exploring Operation: 52-40=12, Resulting Numbers: [55, 12] Generated Node #0,1,3: 58:[55, 12] Operation: 52-40=12 Exploring Operation: 40+52=92, Resulting Numbers: [55, 92] Generated Node #0,1,4: 58:[55, 92] Operation: 40+52=92 Moving to Node #0,1,1 Current State: 58:[40, 3], Operations: ['49+6=55', '55-52=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[55, 12], Operations: ['49+6=55', '52-40=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[52, 15], Operations: ['49+6=55', '55-40=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,58 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[55, 92], Operations: ['49+6=55', '40+52=92'] Exploring Operation: 55+92=147, Resulting Numbers: [147] 147,58 unequal: No Solution Exploring Operation: 55*92=5060, Resulting Numbers: [5060] 5060,58 unequal: No Solution Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[52, 95], Operations: ['49+6=55', '40+55=95'] Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,58 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[52, 49, 34], Operations: ['40-6=34'] Exploring Operation: 52+34=86, Resulting Numbers: [49, 86] Generated Node #0,3,0: 58:[49, 86] Operation: 52+34=86 Exploring Operation: 49+34=83, Resulting Numbers: [52, 83] Generated Node #0,3,1: 58:[52, 83] Operation: 49+34=83 Exploring Operation: 52-49=3, Resulting Numbers: [34, 3] Generated Node #0,3,2: 58:[34, 3] Operation: 52-49=3 Exploring Operation: 49-34=15, Resulting Numbers: [52, 15] Generated Node #0,3,3: 58:[52, 15] Operation: 49-34=15 Exploring Operation: 52-34=18, Resulting Numbers: [49, 18] Generated Node #0,3,4: 58:[49, 18] Operation: 52-34=18 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[34, 3], Operations: ['40-6=34', '52-49=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 58:[52, 15], Operations: ['40-6=34', '49-34=15'] Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,58 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 58:[49, 18], Operations: ['40-6=34', '52-34=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,58 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 58:[52, 83], Operations: ['40-6=34', '49+34=83'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,58 unequal: No Solution Exploring Operation: 52*83=4316, Resulting Numbers: [4316] 4316,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 58:[49, 86], Operations: ['40-6=34', '52+34=86'] Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,58 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 69, 33, 87, 35 ]
16
[ "69-33=36", "87-35=52", "52-36=16" ]
Current State: 16:[69, 33, 87, 35], Operations: [] Exploring Operation: 69-33=36, Resulting Numbers: [87, 35, 36] Generated Node #2: [87, 35, 36] from Operation: 69-33=36 Current State: 16:[87, 35, 36], Operations: ['69-33=36'] Exploring Operation: 87-35=52, Resulting Numbers: [36, 52] Generated Node #3: [36, 52] from Operation: 87-35=52 Current State: 16:[36, 52], Operations: ['69-33=36', '87-35=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[69, 33, 87, 35], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [33, 35, 18] Generated Node #0,0: 16:[33, 35, 18] Operation: 87-69=18 Exploring Operation: 87-35=52, Resulting Numbers: [69, 33, 52] Generated Node #0,1: 16:[69, 33, 52] Operation: 87-35=52 Exploring Operation: 69-35=34, Resulting Numbers: [33, 87, 34] Generated Node #0,2: 16:[33, 87, 34] Operation: 69-35=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[33, 35, 18], Operations: ['87-69=18'] Exploring Operation: 33-18=15, Resulting Numbers: [35, 15] Generated Node #0,0,0: 16:[35, 15] Operation: 33-18=15 Exploring Operation: 35-18=17, Resulting Numbers: [33, 17] Generated Node #0,0,1: 16:[33, 17] Operation: 35-18=17 Exploring Operation: 35-33=2, Resulting Numbers: [18, 2] Generated Node #0,0,2: 16:[18, 2] Operation: 35-33=2 Moving to Node #0,0,2 Current State: 16:[18, 2], Operations: ['87-69=18', '35-33=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[69, 33, 87, 35], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [33, 35, 18] Generated Node #0,0: 16:[33, 35, 18] Operation: 87-69=18 Moving to Node #0,0 Current State: 16:[33, 35, 18], Operations: ['87-69=18'] Exploring Operation: 35-33=2, Resulting Numbers: [18, 2] Generated Node #0,0,2: 16:[18, 2] Operation: 35-33=2 Moving to Node #0,0,2 Current State: 16:[18, 2], Operations: ['87-69=18', '35-33=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 58, 78, 64, 71 ]
29
[ "58*71=4118", "78+64=142", "4118/142=29" ]
Current State: 29:[58, 78, 64, 71], Operations: [] Exploring Operation: 58*71=4118, Resulting Numbers: [78, 64, 4118] Generated Node #2: [78, 64, 4118] from Operation: 58*71=4118 Current State: 29:[78, 64, 4118], Operations: ['58*71=4118'] Exploring Operation: 78+64=142, Resulting Numbers: [4118, 142] Generated Node #3: [4118, 142] from Operation: 78+64=142 Current State: 29:[4118, 142], Operations: ['58*71=4118', '78+64=142'] Exploring Operation: 4118/142=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[58, 78, 64, 71], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [58, 64, 7] Generated Node #0,0: 29:[58, 64, 7] Operation: 78-71=7 Exploring Operation: 71-58=13, Resulting Numbers: [78, 64, 13] Generated Node #0,1: 29:[78, 64, 13] Operation: 71-58=13 Exploring Operation: 78-64=14, Resulting Numbers: [58, 71, 14] Generated Node #0,2: 29:[58, 71, 14] Operation: 78-64=14 Exploring Operation: 78-58=20, Resulting Numbers: [64, 71, 20] Generated Node #0,3: 29:[64, 71, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[58, 64, 7], Operations: ['78-71=7'] Exploring Operation: 64-58=6, Resulting Numbers: [7, 6] Generated Node #0,0,0: 29:[7, 6] Operation: 64-58=6 Exploring Operation: 58+7=65, Resulting Numbers: [64, 65] Generated Node #0,0,1: 29:[64, 65] Operation: 58+7=65 Exploring Operation: 64-7=57, Resulting Numbers: [58, 57] Generated Node #0,0,2: 29:[58, 57] Operation: 64-7=57 Exploring Operation: 58-7=51, Resulting Numbers: [64, 51] Generated Node #0,0,3: 29:[64, 51] Operation: 58-7=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[7, 6], Operations: ['78-71=7', '64-58=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[58, 57], Operations: ['78-71=7', '64-7=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,29 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[64, 51], Operations: ['78-71=7', '58-7=51'] Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,29 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[64, 65], Operations: ['78-71=7', '58+7=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,29 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,29 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[58, 71, 14], Operations: ['78-64=14'] Exploring Operation: 58-14=44, Resulting Numbers: [71, 44] Generated Node #0,2,0: 29:[71, 44] Operation: 58-14=44 Exploring Operation: 71-14=57, Resulting Numbers: [58, 57] Generated Node #0,2,1: 29:[58, 57] Operation: 71-14=57 Exploring Operation: 58+14=72, Resulting Numbers: [71, 72] Generated Node #0,2,2: 29:[71, 72] Operation: 58+14=72 Exploring Operation: 71-58=13, Resulting Numbers: [14, 13] Generated Node #0,2,3: 29:[14, 13] Operation: 71-58=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[14, 13], Operations: ['78-64=14', '71-58=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,29 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[71, 44], Operations: ['78-64=14', '58-14=44'] Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,29 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,29 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[58, 57], Operations: ['78-64=14', '71-14=57'] Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,29 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[71, 72], Operations: ['78-64=14', '58+14=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,29 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[64, 71, 20], Operations: ['78-58=20'] Exploring Operation: 64-20=44, Resulting Numbers: [71, 44] Generated Node #0,3,0: 29:[71, 44] Operation: 64-20=44 Exploring Operation: 71-64=7, Resulting Numbers: [20, 7] Generated Node #0,3,1: 29:[20, 7] Operation: 71-64=7 Exploring Operation: 71-20=51, Resulting Numbers: [64, 51] Generated Node #0,3,2: 29:[64, 51] Operation: 71-20=51 Exploring Operation: 64+20=84, Resulting Numbers: [71, 84] Generated Node #0,3,3: 29:[71, 84] Operation: 64+20=84 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[20, 7], Operations: ['78-58=20', '71-64=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[71, 44], Operations: ['78-58=20', '64-20=44'] Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,29 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[64, 51], Operations: ['78-58=20', '71-20=51'] Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,29 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,29 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[71, 84], Operations: ['78-58=20', '64+20=84'] Exploring Operation: 71*84=5964, Resulting Numbers: [5964] 5964,29 unequal: No Solution Exploring Operation: 71+84=155, Resulting Numbers: [155] 155,29 unequal: No Solution Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[78, 64, 13], Operations: ['71-58=13'] Exploring Operation: 78-64=14, Resulting Numbers: [13, 14] Generated Node #0,1,0: 29:[13, 14] Operation: 78-64=14 Exploring Operation: 78-13=65, Resulting Numbers: [64, 65] Generated Node #0,1,1: 29:[64, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [64, 6] Generated Node #0,1,2: 29:[64, 6] Operation: 78/13=6 Exploring Operation: 64-13=51, Resulting Numbers: [78, 51] Generated Node #0,1,3: 29:[78, 51] Operation: 64-13=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[13, 14], Operations: ['71-58=13', '78-64=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,29 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[64, 6], Operations: ['71-58=13', '78/13=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,29 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[64, 65], Operations: ['71-58=13', '78-13=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,29 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[78, 51], Operations: ['71-58=13', '64-13=51'] Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,29 unequal: No Solution Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,29 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 5, 89, 78, 77 ]
22
[ "89-78=11", "5*11=55", "77-55=22" ]
Current State: 22:[5, 89, 78, 77], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [5, 77, 11] Generated Node #2: [5, 77, 11] from Operation: 89-78=11 Current State: 22:[5, 77, 11], Operations: ['89-78=11'] Exploring Operation: 5*11=55, Resulting Numbers: [77, 55] Generated Node #3: [77, 55] from Operation: 5*11=55 Current State: 22:[77, 55], Operations: ['89-78=11', '5*11=55'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[5, 89, 78, 77], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [5, 77, 11] Generated Node #0,0: 22:[5, 77, 11] Operation: 89-78=11 Moving to Node #0,0 Current State: 22:[5, 77, 11], Operations: ['89-78=11'] Exploring Operation: 77/11=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 22:[5, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[5, 7], Operations: ['89-78=11', '77/11=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 90, 11, 10, 56 ]
55
[ "90+11=101", "56-10=46", "101-46=55" ]
Current State: 55:[90, 11, 10, 56], Operations: [] Exploring Operation: 90+11=101, Resulting Numbers: [10, 56, 101] Generated Node #2: [10, 56, 101] from Operation: 90+11=101 Current State: 55:[10, 56, 101], Operations: ['90+11=101'] Exploring Operation: 56-10=46, Resulting Numbers: [101, 46] Generated Node #3: [101, 46] from Operation: 56-10=46 Current State: 55:[101, 46], Operations: ['90+11=101', '56-10=46'] Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[90, 11, 10, 56], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [11, 56, 9] Generated Node #0,0: 55:[11, 56, 9] Operation: 90/10=9 Exploring Operation: 90-56=34, Resulting Numbers: [11, 10, 34] Generated Node #0,1: 55:[11, 10, 34] Operation: 90-56=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[11, 56, 9], Operations: ['90/10=9'] Exploring Operation: 56-9=47, Resulting Numbers: [11, 47] Generated Node #0,0,0: 55:[11, 47] Operation: 56-9=47 Exploring Operation: 11-9=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 55:[56, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[56, 2], Operations: ['90/10=9', '11-9=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[11, 47], Operations: ['90/10=9', '56-9=47'] Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[11, 10, 34], Operations: ['90-56=34'] Exploring Operation: 10+34=44, Resulting Numbers: [11, 44] Generated Node #0,1,0: 55:[11, 44] Operation: 10+34=44 Exploring Operation: 11+34=45, Resulting Numbers: [10, 45] Generated Node #0,1,1: 55:[10, 45] Operation: 11+34=45 Moving to Node #0,1,0 Current State: 55:[11, 44], Operations: ['90-56=34', '10+34=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[90, 11, 10, 56], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [11, 10, 34] Generated Node #0,1: 55:[11, 10, 34] Operation: 90-56=34 Moving to Node #0,1 Current State: 55:[11, 10, 34], Operations: ['90-56=34'] Exploring Operation: 10+34=44, Resulting Numbers: [11, 44] Generated Node #0,1,0: 55:[11, 44] Operation: 10+34=44 Moving to Node #0,1,0 Current State: 55:[11, 44], Operations: ['90-56=34', '10+34=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 82, 84, 31, 44 ]
91
[ "82+84=166", "31+44=75", "166-75=91" ]
Current State: 91:[82, 84, 31, 44], Operations: [] Exploring Operation: 82+84=166, Resulting Numbers: [31, 44, 166] Generated Node #2: [31, 44, 166] from Operation: 82+84=166 Current State: 91:[31, 44, 166], Operations: ['82+84=166'] Exploring Operation: 31+44=75, Resulting Numbers: [166, 75] Generated Node #3: [166, 75] from Operation: 31+44=75 Current State: 91:[166, 75], Operations: ['82+84=166', '31+44=75'] Exploring Operation: 166-75=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[82, 84, 31, 44], Operations: [] Exploring Operation: 44-31=13, Resulting Numbers: [82, 84, 13] Generated Node #0,0: 91:[82, 84, 13] Operation: 44-31=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[82, 84, 13], Operations: ['44-31=13'] Exploring Operation: 84-82=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 91:[13, 2] Operation: 84-82=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[13, 2], Operations: ['44-31=13', '84-82=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 99, 56, 16 ]
36
[ "99-97=2", "56+16=72", "72/2=36" ]
Current State: 36:[97, 99, 56, 16], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [56, 16, 2] Generated Node #2: [56, 16, 2] from Operation: 99-97=2 Current State: 36:[56, 16, 2], Operations: ['99-97=2'] Exploring Operation: 56+16=72, Resulting Numbers: [2, 72] Generated Node #3: [2, 72] from Operation: 56+16=72 Current State: 36:[2, 72], Operations: ['99-97=2', '56+16=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[97, 99, 56, 16], Operations: [] Exploring Operation: 97-56=41, Resulting Numbers: [99, 16, 41] Generated Node #0,0: 36:[99, 16, 41] Operation: 97-56=41 Exploring Operation: 99-56=43, Resulting Numbers: [97, 16, 43] Generated Node #0,1: 36:[97, 16, 43] Operation: 99-56=43 Exploring Operation: 99-97=2, Resulting Numbers: [56, 16, 2] Generated Node #0,2: 36:[56, 16, 2] Operation: 99-97=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[56, 16, 2], Operations: ['99-97=2'] Exploring Operation: 56-2=54, Resulting Numbers: [16, 54] Generated Node #0,2,0: 36:[16, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [16, 28] Generated Node #0,2,1: 36:[16, 28] Operation: 56/2=28 Exploring Operation: 56-16=40, Resulting Numbers: [2, 40] Generated Node #0,2,2: 36:[2, 40] Operation: 56-16=40 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[2, 40], Operations: ['99-97=2', '56-16=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[16, 28], Operations: ['99-97=2', '56/2=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[16, 54], Operations: ['99-97=2', '56-2=54'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,36 unequal: No Solution Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[99, 16, 41], Operations: ['97-56=41'] Exploring Operation: 99-16=83, Resulting Numbers: [41, 83] Generated Node #0,0,0: 36:[41, 83] Operation: 99-16=83 Exploring Operation: 99-41=58, Resulting Numbers: [16, 58] Generated Node #0,0,1: 36:[16, 58] Operation: 99-41=58 Exploring Operation: 41-16=25, Resulting Numbers: [99, 25] Generated Node #0,0,2: 36:[99, 25] Operation: 41-16=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[16, 58], Operations: ['97-56=41', '99-41=58'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[41, 83], Operations: ['97-56=41', '99-16=83'] Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,36 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[99, 25], Operations: ['97-56=41', '41-16=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,36 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[97, 16, 43], Operations: ['99-56=43'] Exploring Operation: 97-43=54, Resulting Numbers: [16, 54] Generated Node #0,1,0: 36:[16, 54] Operation: 97-43=54 Exploring Operation: 43-16=27, Resulting Numbers: [97, 27] Generated Node #0,1,1: 36:[97, 27] Operation: 43-16=27 Exploring Operation: 97-16=81, Resulting Numbers: [43, 81] Generated Node #0,1,2: 36:[43, 81] Operation: 97-16=81 Moving to Node #0,1,0 Current State: 36:[16, 54], Operations: ['99-56=43', '97-43=54'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,36 unequal: No Solution Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[43, 81], Operations: ['99-56=43', '97-16=81'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,36 unequal: No Solution Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[97, 27], Operations: ['99-56=43', '43-16=27'] Exploring Operation: 97*27=2619, Resulting Numbers: [2619] 2619,36 unequal: No Solution Exploring Operation: 97+27=124, Resulting Numbers: [124] 124,36 unequal: No Solution Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 58, 90, 51, 58 ]
77
[ "90-58=32", "51+58=109", "109-32=77" ]
Current State: 77:[58, 90, 51, 58], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [51, 32] Generated Node #2: [51, 32] from Operation: 90-58=32 Current State: 77:[51, 32], Operations: ['90-58=32'] Exploring Operation: 51+58=109, Resulting Numbers: [32, 109] Generated Node #3: [32, 109] from Operation: 51+58=109 Current State: 77:[32, 109], Operations: ['90-58=32', '51+58=109'] Exploring Operation: 109-32=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[58, 90, 51, 58], Operations: [] Exploring Operation: 58/58=1, Resulting Numbers: [90, 51, 1] Generated Node #0,0: 77:[90, 51, 1] Operation: 58/58=1 Exploring Operation: 58-51=7, Resulting Numbers: [90, 58, 7] Generated Node #0,1: 77:[90, 58, 7] Operation: 58-51=7 Exploring Operation: 58-58=0, Resulting Numbers: [90, 51, 0] Generated Node #0,2: 77:[90, 51, 0] Operation: 58-58=0 Exploring Operation: 58-51=7, Resulting Numbers: [58, 90, 7] Generated Node #0,3: 77:[58, 90, 7] Operation: 58-51=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[90, 58, 7], Operations: ['58-51=7'] Exploring Operation: 90+7=97, Resulting Numbers: [58, 97] Generated Node #0,1,0: 77:[58, 97] Operation: 90+7=97 Exploring Operation: 90-7=83, Resulting Numbers: [58, 83] Generated Node #0,1,1: 77:[58, 83] Operation: 90-7=83 Exploring Operation: 58+7=65, Resulting Numbers: [90, 65] Generated Node #0,1,2: 77:[90, 65] Operation: 58+7=65 Exploring Operation: 90-58=32, Resulting Numbers: [7, 32] Generated Node #0,1,3: 77:[7, 32] Operation: 90-58=32 Moving to Node #0,1,3 Current State: 77:[7, 32], Operations: ['58-51=7', '90-58=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,77 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[90, 65], Operations: ['58-51=7', '58+7=65'] Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,77 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[58, 83], Operations: ['58-51=7', '90-7=83'] Exploring Operation: 58+83=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 58*83=4814, Resulting Numbers: [4814] 4814,77 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[58, 97], Operations: ['58-51=7', '90+7=97'] Exploring Operation: 58+97=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 58*97=5626, Resulting Numbers: [5626] 5626,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[58, 90, 7], Operations: ['58-51=7'] Exploring Operation: 58-7=51, Resulting Numbers: [90, 51] Generated Node #0,3,0: 77:[90, 51] Operation: 58-7=51 Exploring Operation: 90-7=83, Resulting Numbers: [58, 83] Generated Node #0,3,1: 77:[58, 83] Operation: 90-7=83 Exploring Operation: 90-58=32, Resulting Numbers: [7, 32] Generated Node #0,3,2: 77:[7, 32] Operation: 90-58=32 Exploring Operation: 58+7=65, Resulting Numbers: [90, 65] Generated Node #0,3,3: 77:[90, 65] Operation: 58+7=65 Moving to Node #0,3,2 Current State: 77:[7, 32], Operations: ['58-51=7', '90-58=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,77 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[90, 65], Operations: ['58-51=7', '58+7=65'] Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[58, 83], Operations: ['58-51=7', '90-7=83'] Exploring Operation: 58+83=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 58*83=4814, Resulting Numbers: [4814] 4814,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[90, 51], Operations: ['58-51=7', '58-7=51'] Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,77 unequal: No Solution Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[90, 51, 1], Operations: ['58/58=1'] Exploring Operation: 90-1=89, Resulting Numbers: [51, 89] Generated Node #0,0,0: 77:[51, 89] Operation: 90-1=89 Exploring Operation: 90*1=90, Resulting Numbers: [51, 90] Generated Node #0,0,1: 77:[51, 90] Operation: 90*1=90 Exploring Operation: 90-51=39, Resulting Numbers: [1, 39] Generated Node #0,0,2: 77:[1, 39] Operation: 90-51=39 Exploring Operation: 51+1=52, Resulting Numbers: [90, 52] Generated Node #0,0,3: 77:[90, 52] Operation: 51+1=52 Moving to Node #0,0,2 Current State: 77:[1, 39], Operations: ['58/58=1', '90-51=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[90, 52], Operations: ['58/58=1', '51+1=52'] Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,77 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[51, 89], Operations: ['58/58=1', '90-1=89'] Exploring Operation: 51*89=4539, Resulting Numbers: [4539] 4539,77 unequal: No Solution Exploring Operation: 51+89=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[51, 90], Operations: ['58/58=1', '90*1=90'] Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,77 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[90, 51, 0], Operations: ['58-58=0'] Exploring Operation: 51*0=0, Resulting Numbers: [90, 0] Generated Node #0,2,0: 77:[90, 0] Operation: 51*0=0 Exploring Operation: 90+0=90, Resulting Numbers: [51, 90] Generated Node #0,2,1: 77:[51, 90] Operation: 90+0=90 Exploring Operation: 90*0=0, Resulting Numbers: [51, 0] Generated Node #0,2,2: 77:[51, 0] Operation: 90*0=0 Exploring Operation: 90-51=39, Resulting Numbers: [0, 39] Generated Node #0,2,3: 77:[0, 39] Operation: 90-51=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[90, 0], Operations: ['58-58=0', '51*0=0'] Exploring Operation: 90-0=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 90*0=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 90+0=90, Resulting Numbers: [90] 90,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[51, 0], Operations: ['58-58=0', '90*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 51-0=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 51*0=0, Resulting Numbers: [0] 0,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 77:[0, 39], Operations: ['58-58=0', '90-51=39'] Exploring Operation: 0+39=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 0*39=0, Resulting Numbers: [0] 0,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[51, 90], Operations: ['58-58=0', '90+0=90'] Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,77 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 93, 2, 64, 31 ]
60
[ "93-31=62", "2*62=124", "124-64=60" ]
Current State: 60:[93, 2, 64, 31], Operations: [] Exploring Operation: 93-31=62, Resulting Numbers: [2, 64, 62] Generated Node #2: [2, 64, 62] from Operation: 93-31=62 Current State: 60:[2, 64, 62], Operations: ['93-31=62'] Exploring Operation: 2*62=124, Resulting Numbers: [64, 124] Generated Node #3: [64, 124] from Operation: 2*62=124 Current State: 60:[64, 124], Operations: ['93-31=62', '2*62=124'] Exploring Operation: 124-64=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[93, 2, 64, 31], Operations: [] Exploring Operation: 93-31=62, Resulting Numbers: [2, 64, 62] Generated Node #0,0: 60:[2, 64, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [2, 64, 3] Generated Node #0,1: 60:[2, 64, 3] Operation: 93/31=3 Exploring Operation: 93-2=91, Resulting Numbers: [64, 31, 91] Generated Node #0,2: 60:[64, 31, 91] Operation: 93-2=91 Exploring Operation: 93-64=29, Resulting Numbers: [2, 31, 29] Generated Node #0,3: 60:[2, 31, 29] Operation: 93-64=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[2, 31, 29], Operations: ['93-64=29'] Exploring Operation: 31+29=60, Resulting Numbers: [2, 60] Generated Node #0,3,0: 60:[2, 60] Operation: 31+29=60 Exploring Operation: 31-29=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 60:[2, 2] Operation: 31-29=2 Exploring Operation: 2+29=31, Resulting Numbers: [31, 31] Generated Node #0,3,2: 60:[31, 31] Operation: 2+29=31 Exploring Operation: 31-2=29, Resulting Numbers: [29, 29] Generated Node #0,3,3: 60:[29, 29] Operation: 31-2=29 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[2, 60], Operations: ['93-64=29', '31+29=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[2, 2], Operations: ['93-64=29', '31-29=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[31, 31], Operations: ['93-64=29', '2+29=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,60 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 60:[29, 29], Operations: ['93-64=29', '31-2=29'] Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,60 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[2, 64, 3], Operations: ['93/31=3'] Exploring Operation: 2+3=5, Resulting Numbers: [64, 5] Generated Node #0,1,0: 60:[64, 5] Operation: 2+3=5 Exploring Operation: 64-3=61, Resulting Numbers: [2, 61] Generated Node #0,1,1: 60:[2, 61] Operation: 64-3=61 Exploring Operation: 64/2=32, Resulting Numbers: [3, 32] Generated Node #0,1,2: 60:[3, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [3, 62] Generated Node #0,1,3: 60:[3, 62] Operation: 64-2=62 Moving to Node #0,1,1 Current State: 60:[2, 61], Operations: ['93/31=3', '64-3=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[3, 62], Operations: ['93/31=3', '64-2=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[3, 32], Operations: ['93/31=3', '64/2=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[64, 5], Operations: ['93/31=3', '2+3=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,60 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[2, 64, 62], Operations: ['93-31=62'] Exploring Operation: 64-62=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 60:[2, 2] Operation: 64-62=2 Exploring Operation: 64-2=62, Resulting Numbers: [62, 62] Generated Node #0,0,1: 60:[62, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [62, 32] Generated Node #0,0,2: 60:[62, 32] Operation: 64/2=32 Exploring Operation: 62-2=60, Resulting Numbers: [64, 60] Generated Node #0,0,3: 60:[64, 60] Operation: 62-2=60 Moving to Node #0,0,0 Current State: 60:[2, 2], Operations: ['93-31=62', '64-62=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[62, 32], Operations: ['93-31=62', '64/2=32'] Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[62, 62], Operations: ['93-31=62', '64-2=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,60 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[64, 60], Operations: ['93-31=62', '62-2=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,60 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[64, 31, 91], Operations: ['93-2=91'] Exploring Operation: 91-64=27, Resulting Numbers: [31, 27] Generated Node #0,2,0: 60:[31, 27] Operation: 91-64=27 Exploring Operation: 64+31=95, Resulting Numbers: [91, 95] Generated Node #0,2,1: 60:[91, 95] Operation: 64+31=95 Exploring Operation: 91-31=60, Resulting Numbers: [64, 60] Generated Node #0,2,2: 60:[64, 60] Operation: 91-31=60 Exploring Operation: 64-31=33, Resulting Numbers: [91, 33] Generated Node #0,2,3: 60:[91, 33] Operation: 64-31=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[31, 27], Operations: ['93-2=91', '91-64=27'] Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,60 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[64, 60], Operations: ['93-2=91', '91-31=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,60 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[91, 33], Operations: ['93-2=91', '64-31=33'] Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 91+33=124, Resulting Numbers: [124] 124,60 unequal: No Solution Exploring Operation: 91*33=3003, Resulting Numbers: [3003] 3003,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[91, 95], Operations: ['93-2=91', '64+31=95'] Exploring Operation: 91+95=186, Resulting Numbers: [186] 186,60 unequal: No Solution Exploring Operation: 91*95=8645, Resulting Numbers: [8645] 8645,60 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 1, 7, 6, 18 ]
11
[ "1+7=8", "18/6=3", "8+3=11" ]
Current State: 11:[1, 7, 6, 18], Operations: [] Exploring Operation: 1+7=8, Resulting Numbers: [6, 18, 8] Generated Node #2: [6, 18, 8] from Operation: 1+7=8 Current State: 11:[6, 18, 8], Operations: ['1+7=8'] Exploring Operation: 18/6=3, Resulting Numbers: [8, 3] Generated Node #3: [8, 3] from Operation: 18/6=3 Current State: 11:[8, 3], Operations: ['1+7=8', '18/6=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[1, 7, 6, 18], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [7, 18, 7] Generated Node #0,0: 11:[7, 18, 7] Operation: 1+6=7 Exploring Operation: 1+7=8, Resulting Numbers: [6, 18, 8] Generated Node #0,1: 11:[6, 18, 8] Operation: 1+7=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[7, 18, 7], Operations: ['1+6=7'] Exploring Operation: 18-7=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 11:[7, 11] Operation: 18-7=11 Exploring Operation: 18-7=11, Resulting Numbers: [7, 11] Generated Node #0,0,1: 11:[7, 11] Operation: 18-7=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[7, 11], Operations: ['1+6=7', '18-7=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[7, 11], Operations: ['1+6=7', '18-7=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[6, 18, 8], Operations: ['1+7=8'] Exploring Operation: 18-8=10, Resulting Numbers: [6, 10] Generated Node #0,1,0: 11:[6, 10] Operation: 18-8=10 Exploring Operation: 18-6=12, Resulting Numbers: [8, 12] Generated Node #0,1,1: 11:[8, 12] Operation: 18-6=12 Moving to Node #0,1,1 Current State: 11:[8, 12], Operations: ['1+7=8', '18-6=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[6, 10], Operations: ['1+7=8', '18-8=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 85, 61, 24, 4 ]
44
[ "85-61=24", "24-4=20", "24+20=44" ]
Current State: 44:[85, 61, 24, 4], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [24, 4, 24] Generated Node #2: [24, 4, 24] from Operation: 85-61=24 Current State: 44:[24, 4, 24], Operations: ['85-61=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,44 equal: Goal Reached Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[85, 61, 24, 4], Operations: [] Exploring Operation: 61-24=37, Resulting Numbers: [85, 4, 37] Generated Node #0,0: 44:[85, 4, 37] Operation: 61-24=37 Exploring Operation: 85-61=24, Resulting Numbers: [24, 4, 24] Generated Node #0,1: 44:[24, 4, 24] Operation: 85-61=24 Exploring Operation: 85-24=61, Resulting Numbers: [61, 4, 61] Generated Node #0,2: 44:[61, 4, 61] Operation: 85-24=61 Moving to Node #0,1 Current State: 44:[24, 4, 24], Operations: ['85-61=24'] Exploring Operation: 24-4=20, Resulting Numbers: [24, 20] Generated Node #0,1,0: 44:[24, 20] Operation: 24-4=20 Exploring Operation: 24/24=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 44:[4, 1] Operation: 24/24=1 Exploring Operation: 24-24=0, Resulting Numbers: [4, 0] Generated Node #0,1,2: 44:[4, 0] Operation: 24-24=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[4, 1], Operations: ['85-61=24', '24/24=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[4, 0], Operations: ['85-61=24', '24-24=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[24, 20], Operations: ['85-61=24', '24-4=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,44 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[85, 61, 24, 4], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [24, 4, 24] Generated Node #0,1: 44:[24, 4, 24] Operation: 85-61=24 Moving to Node #0,1 Current State: 44:[24, 4, 24], Operations: ['85-61=24'] Exploring Operation: 24-4=20, Resulting Numbers: [24, 20] Generated Node #0,1,0: 44:[24, 20] Operation: 24-4=20 Moving to Node #0,1,0 Current State: 44:[24, 20], Operations: ['85-61=24', '24-4=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 82, 4, 28, 38 ]
18
[ "82+28=110", "110-38=72", "72/4=18" ]
Current State: 18:[82, 4, 28, 38], Operations: [] Exploring Operation: 82+28=110, Resulting Numbers: [4, 38, 110] Generated Node #2: [4, 38, 110] from Operation: 82+28=110 Current State: 18:[4, 38, 110], Operations: ['82+28=110'] Exploring Operation: 110-38=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 110-38=72 Current State: 18:[4, 72], Operations: ['82+28=110', '110-38=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[82, 4, 28, 38], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [4, 38, 54] Generated Node #0,0: 18:[4, 38, 54] Operation: 82-28=54 Exploring Operation: 82-38=44, Resulting Numbers: [4, 28, 44] Generated Node #0,1: 18:[4, 28, 44] Operation: 82-38=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[4, 28, 44], Operations: ['82-38=44'] Exploring Operation: 44/4=11, Resulting Numbers: [28, 11] Generated Node #0,1,0: 18:[28, 11] Operation: 44/4=11 Exploring Operation: 44-28=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 18:[4, 16] Operation: 44-28=16 Moving to Node #0,1,1 Current State: 18:[4, 16], Operations: ['82-38=44', '44-28=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[28, 11], Operations: ['82-38=44', '44/4=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[4, 38, 54], Operations: ['82-28=54'] Exploring Operation: 38-4=34, Resulting Numbers: [54, 34] Generated Node #0,0,0: 18:[54, 34] Operation: 38-4=34 Exploring Operation: 54-38=16, Resulting Numbers: [4, 16] Generated Node #0,0,1: 18:[4, 16] Operation: 54-38=16 Moving to Node #0,0,1 Current State: 18:[4, 16], Operations: ['82-28=54', '54-38=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[54, 34], Operations: ['82-28=54', '38-4=34'] Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,18 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 90, 50, 10 ]
32
[ "90-50=40", "40/10=4", "36-4=32" ]
Current State: 32:[36, 90, 50, 10], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [36, 10, 40] Generated Node #2: [36, 10, 40] from Operation: 90-50=40 Current State: 32:[36, 10, 40], Operations: ['90-50=40'] Exploring Operation: 40/10=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 40/10=4 Current State: 32:[36, 4], Operations: ['90-50=40', '40/10=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[36, 90, 50, 10], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [36, 10, 40] Generated Node #0,0: 32:[36, 10, 40] Operation: 90-50=40 Exploring Operation: 50-36=14, Resulting Numbers: [90, 10, 14] Generated Node #0,1: 32:[90, 10, 14] Operation: 50-36=14 Exploring Operation: 90/10=9, Resulting Numbers: [36, 50, 9] Generated Node #0,2: 32:[36, 50, 9] Operation: 90/10=9 Exploring Operation: 90-36=54, Resulting Numbers: [50, 10, 54] Generated Node #0,3: 32:[50, 10, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[36, 10, 40], Operations: ['90-50=40'] Exploring Operation: 36-10=26, Resulting Numbers: [40, 26] Generated Node #0,0,0: 32:[40, 26] Operation: 36-10=26 Exploring Operation: 40-10=30, Resulting Numbers: [36, 30] Generated Node #0,0,1: 32:[36, 30] Operation: 40-10=30 Exploring Operation: 40-36=4, Resulting Numbers: [10, 4] Generated Node #0,0,2: 32:[10, 4] Operation: 40-36=4 Exploring Operation: 40/10=4, Resulting Numbers: [36, 4] Generated Node #0,0,3: 32:[36, 4] Operation: 40/10=4 Moving to Node #0,0,2 Current State: 32:[10, 4], Operations: ['90-50=40', '40-36=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[36, 4], Operations: ['90-50=40', '40/10=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[36, 90, 50, 10], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [36, 10, 40] Generated Node #0,0: 32:[36, 10, 40] Operation: 90-50=40 Moving to Node #0,0 Current State: 32:[36, 10, 40], Operations: ['90-50=40'] Exploring Operation: 40/10=4, Resulting Numbers: [36, 4] Generated Node #0,0,3: 32:[36, 4] Operation: 40/10=4 Moving to Node #0,0,3 Current State: 32:[36, 4], Operations: ['90-50=40', '40/10=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 6, 23, 26, 63 ]
10
[ "26-23=3", "63-3=60", "60/6=10" ]
Current State: 10:[6, 23, 26, 63], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [6, 63, 3] Generated Node #2: [6, 63, 3] from Operation: 26-23=3 Current State: 10:[6, 63, 3], Operations: ['26-23=3'] Exploring Operation: 63-3=60, Resulting Numbers: [6, 60] Generated Node #3: [6, 60] from Operation: 63-3=60 Current State: 10:[6, 60], Operations: ['26-23=3', '63-3=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[6, 23, 26, 63], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [6, 23, 37] Generated Node #0,0: 10:[6, 23, 37] Operation: 63-26=37 Exploring Operation: 63-23=40, Resulting Numbers: [6, 26, 40] Generated Node #0,1: 10:[6, 26, 40] Operation: 63-23=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[6, 23, 37], Operations: ['63-26=37'] Exploring Operation: 37-23=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 10:[6, 14] Operation: 37-23=14 Exploring Operation: 23-6=17, Resulting Numbers: [37, 17] Generated Node #0,0,1: 10:[37, 17] Operation: 23-6=17 Moving to Node #0,0,0 Current State: 10:[6, 14], Operations: ['63-26=37', '37-23=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[37, 17], Operations: ['63-26=37', '23-6=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[6, 26, 40], Operations: ['63-23=40'] Exploring Operation: 26-6=20, Resulting Numbers: [40, 20] Generated Node #0,1,0: 10:[40, 20] Operation: 26-6=20 Exploring Operation: 40-26=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 10:[6, 14] Operation: 40-26=14 Moving to Node #0,1,1 Current State: 10:[6, 14], Operations: ['63-23=40', '40-26=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[40, 20], Operations: ['63-23=40', '26-6=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 69, 83, 2, 49 ]
86
[ "83-49=34", "34/2=17", "69+17=86" ]
Current State: 86:[69, 83, 2, 49], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [69, 2, 34] Generated Node #2: [69, 2, 34] from Operation: 83-49=34 Current State: 86:[69, 2, 34], Operations: ['83-49=34'] Exploring Operation: 34/2=17, Resulting Numbers: [69, 17] Generated Node #3: [69, 17] from Operation: 34/2=17 Current State: 86:[69, 17], Operations: ['83-49=34', '34/2=17'] Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[69, 83, 2, 49], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [83, 2, 20] Generated Node #0,0: 86:[83, 2, 20] Operation: 69-49=20 Exploring Operation: 83+2=85, Resulting Numbers: [69, 49, 85] Generated Node #0,1: 86:[69, 49, 85] Operation: 83+2=85 Exploring Operation: 83-69=14, Resulting Numbers: [2, 49, 14] Generated Node #0,2: 86:[2, 49, 14] Operation: 83-69=14 Exploring Operation: 49-2=47, Resulting Numbers: [69, 83, 47] Generated Node #0,3: 86:[69, 83, 47] Operation: 49-2=47 Exploring Operation: 69+2=71, Resulting Numbers: [83, 49, 71] Generated Node #0,4: 86:[83, 49, 71] Operation: 69+2=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[2, 49, 14], Operations: ['83-69=14'] Exploring Operation: 49-14=35, Resulting Numbers: [2, 35] Generated Node #0,2,0: 86:[2, 35] Operation: 49-14=35 Exploring Operation: 14-2=12, Resulting Numbers: [49, 12] Generated Node #0,2,1: 86:[49, 12] Operation: 14-2=12 Exploring Operation: 49-2=47, Resulting Numbers: [14, 47] Generated Node #0,2,2: 86:[14, 47] Operation: 49-2=47 Exploring Operation: 14/2=7, Resulting Numbers: [49, 7] Generated Node #0,2,3: 86:[49, 7] Operation: 14/2=7 Exploring Operation: 2+49=51, Resulting Numbers: [14, 51] Generated Node #0,2,4: 86:[14, 51] Operation: 2+49=51 Moving to Node #0,2,0 Current State: 86:[2, 35], Operations: ['83-69=14', '49-14=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[49, 7], Operations: ['83-69=14', '14/2=7'] Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,86 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[49, 12], Operations: ['83-69=14', '14-2=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,86 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[14, 47], Operations: ['83-69=14', '49-2=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,86 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[14, 51], Operations: ['83-69=14', '2+49=51'] Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,86 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[83, 2, 20], Operations: ['69-49=20'] Exploring Operation: 20-2=18, Resulting Numbers: [83, 18] Generated Node #0,0,0: 86:[83, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 86:[83, 10] Operation: 20/2=10 Exploring Operation: 83+2=85, Resulting Numbers: [20, 85] Generated Node #0,0,2: 86:[20, 85] Operation: 83+2=85 Exploring Operation: 2*20=40, Resulting Numbers: [83, 40] Generated Node #0,0,3: 86:[83, 40] Operation: 2*20=40 Exploring Operation: 83+20=103, Resulting Numbers: [2, 103] Generated Node #0,0,4: 86:[2, 103] Operation: 83+20=103 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[83, 40], Operations: ['69-49=20', '2*20=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[83, 10], Operations: ['69-49=20', '20/2=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,86 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 86:[2, 103], Operations: ['69-49=20', '83+20=103'] Exploring Operation: 2*103=206, Resulting Numbers: [206] 206,86 unequal: No Solution Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,86 unequal: No Solution Exploring Operation: 2+103=105, Resulting Numbers: [105] 105,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[83, 18], Operations: ['69-49=20', '20-2=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,86 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[20, 85], Operations: ['69-49=20', '83+2=85'] Exploring Operation: 20*85=1700, Resulting Numbers: [1700] 1700,86 unequal: No Solution Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[69, 49, 85], Operations: ['83+2=85'] Exploring Operation: 85-49=36, Resulting Numbers: [69, 36] Generated Node #0,1,0: 86:[69, 36] Operation: 85-49=36 Exploring Operation: 85-69=16, Resulting Numbers: [49, 16] Generated Node #0,1,1: 86:[49, 16] Operation: 85-69=16 Exploring Operation: 49+85=134, Resulting Numbers: [69, 134] Generated Node #0,1,2: 86:[69, 134] Operation: 49+85=134 Exploring Operation: 69+49=118, Resulting Numbers: [85, 118] Generated Node #0,1,3: 86:[85, 118] Operation: 69+49=118 Exploring Operation: 69-49=20, Resulting Numbers: [85, 20] Generated Node #0,1,4: 86:[85, 20] Operation: 69-49=20 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 86:[85, 20], Operations: ['83+2=85', '69-49=20'] Exploring Operation: 85*20=1700, Resulting Numbers: [1700] 1700,86 unequal: No Solution Exploring Operation: 85+20=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[49, 16], Operations: ['83+2=85', '85-69=16'] Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,86 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[69, 36], Operations: ['83+2=85', '85-49=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,86 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[85, 118], Operations: ['83+2=85', '69+49=118'] Exploring Operation: 85+118=203, Resulting Numbers: [203] 203,86 unequal: No Solution Exploring Operation: 118-85=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 85*118=10030, Resulting Numbers: [10030] 10030,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[69, 134], Operations: ['83+2=85', '49+85=134'] Exploring Operation: 134-69=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 69*134=9246, Resulting Numbers: [9246] 9246,86 unequal: No Solution Exploring Operation: 69+134=203, Resulting Numbers: [203] 203,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[69, 83, 47], Operations: ['49-2=47'] Exploring Operation: 69+47=116, Resulting Numbers: [83, 116] Generated Node #0,3,0: 86:[83, 116] Operation: 69+47=116 Exploring Operation: 69-47=22, Resulting Numbers: [83, 22] Generated Node #0,3,1: 86:[83, 22] Operation: 69-47=22 Exploring Operation: 83-47=36, Resulting Numbers: [69, 36] Generated Node #0,3,2: 86:[69, 36] Operation: 83-47=36 Exploring Operation: 83+47=130, Resulting Numbers: [69, 130] Generated Node #0,3,3: 86:[69, 130] Operation: 83+47=130 Exploring Operation: 83-69=14, Resulting Numbers: [47, 14] Generated Node #0,3,4: 86:[47, 14] Operation: 83-69=14 Moving to Node #0,3,4 Current State: 86:[47, 14], Operations: ['49-2=47', '83-69=14'] Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,86 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[83, 22], Operations: ['49-2=47', '69-47=22'] Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[69, 36], Operations: ['49-2=47', '83-47=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,86 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[83, 116], Operations: ['49-2=47', '69+47=116'] Exploring Operation: 83+116=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 83*116=9628, Resulting Numbers: [9628] 9628,86 unequal: No Solution Exploring Operation: 116-83=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[69, 130], Operations: ['49-2=47', '83+47=130'] Exploring Operation: 130-69=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 69+130=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 69*130=8970, Resulting Numbers: [8970] 8970,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[83, 49, 71], Operations: ['69+2=71'] Exploring Operation: 71-49=22, Resulting Numbers: [83, 22] Generated Node #0,4,0: 86:[83, 22] Operation: 71-49=22 Exploring Operation: 83-49=34, Resulting Numbers: [71, 34] Generated Node #0,4,1: 86:[71, 34] Operation: 83-49=34 Exploring Operation: 83-71=12, Resulting Numbers: [49, 12] Generated Node #0,4,2: 86:[49, 12] Operation: 83-71=12 Exploring Operation: 83+49=132, Resulting Numbers: [71, 132] Generated Node #0,4,3: 86:[71, 132] Operation: 83+49=132 Exploring Operation: 49+71=120, Resulting Numbers: [83, 120] Generated Node #0,4,4: 86:[83, 120] Operation: 49+71=120 Moving to Node #0,4,2 Current State: 86:[49, 12], Operations: ['69+2=71', '83-71=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,86 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[83, 22], Operations: ['69+2=71', '71-49=22'] Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,86 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[71, 34], Operations: ['69+2=71', '83-49=34'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,86 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[83, 120], Operations: ['69+2=71', '49+71=120'] Exploring Operation: 83+120=203, Resulting Numbers: [203] 203,86 unequal: No Solution Exploring Operation: 120-83=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 83*120=9960, Resulting Numbers: [9960] 9960,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[71, 132], Operations: ['69+2=71', '83+49=132'] Exploring Operation: 132-71=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 71+132=203, Resulting Numbers: [203] 203,86 unequal: No Solution Exploring Operation: 71*132=9372, Resulting Numbers: [9372] 9372,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 59, 34, 3, 87 ]
44
[ "59+87=146", "34*3=102", "146-102=44" ]
Current State: 44:[59, 34, 3, 87], Operations: [] Exploring Operation: 59+87=146, Resulting Numbers: [34, 3, 146] Generated Node #2: [34, 3, 146] from Operation: 59+87=146 Current State: 44:[34, 3, 146], Operations: ['59+87=146'] Exploring Operation: 34*3=102, Resulting Numbers: [146, 102] Generated Node #3: [146, 102] from Operation: 34*3=102 Current State: 44:[146, 102], Operations: ['59+87=146', '34*3=102'] Exploring Operation: 146-102=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[59, 34, 3, 87], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [59, 3, 53] Generated Node #0,0: 44:[59, 3, 53] Operation: 87-34=53 Exploring Operation: 87-59=28, Resulting Numbers: [34, 3, 28] Generated Node #0,1: 44:[34, 3, 28] Operation: 87-59=28 Exploring Operation: 87/3=29, Resulting Numbers: [59, 34, 29] Generated Node #0,2: 44:[59, 34, 29] Operation: 87/3=29 Exploring Operation: 59-34=25, Resulting Numbers: [3, 87, 25] Generated Node #0,3: 44:[3, 87, 25] Operation: 59-34=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[34, 3, 28], Operations: ['87-59=28'] Exploring Operation: 34+3=37, Resulting Numbers: [28, 37] Generated Node #0,1,0: 44:[28, 37] Operation: 34+3=37 Exploring Operation: 28-3=25, Resulting Numbers: [34, 25] Generated Node #0,1,1: 44:[34, 25] Operation: 28-3=25 Exploring Operation: 34-3=31, Resulting Numbers: [28, 31] Generated Node #0,1,2: 44:[28, 31] Operation: 34-3=31 Exploring Operation: 34-28=6, Resulting Numbers: [3, 6] Generated Node #0,1,3: 44:[3, 6] Operation: 34-28=6 Moving to Node #0,1,3 Current State: 44:[3, 6], Operations: ['87-59=28', '34-28=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[34, 25], Operations: ['87-59=28', '28-3=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,44 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[28, 37], Operations: ['87-59=28', '34+3=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,44 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[28, 31], Operations: ['87-59=28', '34-3=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,44 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[59, 3, 53], Operations: ['87-34=53'] Exploring Operation: 59-3=56, Resulting Numbers: [53, 56] Generated Node #0,0,0: 44:[53, 56] Operation: 59-3=56 Exploring Operation: 59+3=62, Resulting Numbers: [53, 62] Generated Node #0,0,1: 44:[53, 62] Operation: 59+3=62 Exploring Operation: 59-53=6, Resulting Numbers: [3, 6] Generated Node #0,0,2: 44:[3, 6] Operation: 59-53=6 Exploring Operation: 53-3=50, Resulting Numbers: [59, 50] Generated Node #0,0,3: 44:[59, 50] Operation: 53-3=50 Moving to Node #0,0,2 Current State: 44:[3, 6], Operations: ['87-34=53', '59-53=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[59, 50], Operations: ['87-34=53', '53-3=50'] Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,44 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[53, 56], Operations: ['87-34=53', '59-3=56'] Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,44 unequal: No Solution Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[53, 62], Operations: ['87-34=53', '59+3=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,44 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[59, 34, 29], Operations: ['87/3=29'] Exploring Operation: 34-29=5, Resulting Numbers: [59, 5] Generated Node #0,2,0: 44:[59, 5] Operation: 34-29=5 Exploring Operation: 59-34=25, Resulting Numbers: [29, 25] Generated Node #0,2,1: 44:[29, 25] Operation: 59-34=25 Exploring Operation: 34+29=63, Resulting Numbers: [59, 63] Generated Node #0,2,2: 44:[59, 63] Operation: 34+29=63 Exploring Operation: 59-29=30, Resulting Numbers: [34, 30] Generated Node #0,2,3: 44:[34, 30] Operation: 59-29=30 Moving to Node #0,2,1 Current State: 44:[29, 25], Operations: ['87/3=29', '59-34=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,44 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[59, 5], Operations: ['87/3=29', '34-29=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,44 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[34, 30], Operations: ['87/3=29', '59-29=30'] Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,44 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[59, 63], Operations: ['87/3=29', '34+29=63'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,44 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[3, 87, 25], Operations: ['59-34=25'] Exploring Operation: 25-3=22, Resulting Numbers: [87, 22] Generated Node #0,3,0: 44:[87, 22] Operation: 25-3=22 Exploring Operation: 87-25=62, Resulting Numbers: [3, 62] Generated Node #0,3,1: 44:[3, 62] Operation: 87-25=62 Exploring Operation: 87-3=84, Resulting Numbers: [25, 84] Generated Node #0,3,2: 44:[25, 84] Operation: 87-3=84 Exploring Operation: 87/3=29, Resulting Numbers: [25, 29] Generated Node #0,3,3: 44:[25, 29] Operation: 87/3=29 Moving to Node #0,3,3 Current State: 44:[25, 29], Operations: ['59-34=25', '87/3=29'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[3, 62], Operations: ['59-34=25', '87-25=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,44 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[25, 84], Operations: ['59-34=25', '87-3=84'] Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,44 unequal: No Solution Exploring Operation: 25*84=2100, Resulting Numbers: [2100] 2100,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[87, 22], Operations: ['59-34=25', '25-3=22'] Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,44 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 88, 18, 32, 49 ]
89
[ "88+18=106", "49-32=17", "106-17=89" ]
Current State: 89:[88, 18, 32, 49], Operations: [] Exploring Operation: 88+18=106, Resulting Numbers: [32, 49, 106] Generated Node #2: [32, 49, 106] from Operation: 88+18=106 Current State: 89:[32, 49, 106], Operations: ['88+18=106'] Exploring Operation: 49-32=17, Resulting Numbers: [106, 17] Generated Node #3: [106, 17] from Operation: 49-32=17 Current State: 89:[106, 17], Operations: ['88+18=106', '49-32=17'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[88, 18, 32, 49], Operations: [] Exploring Operation: 18+49=67, Resulting Numbers: [88, 32, 67] Generated Node #0,0: 89:[88, 32, 67] Operation: 18+49=67 Exploring Operation: 18+32=50, Resulting Numbers: [88, 49, 50] Generated Node #0,1: 89:[88, 49, 50] Operation: 18+32=50 Moving to Node #0,0 Current State: 89:[88, 32, 67], Operations: ['18+49=67'] Exploring Operation: 88+32=120, Resulting Numbers: [67, 120] Generated Node #0,0,0: 89:[67, 120] Operation: 88+32=120 Exploring Operation: 32+67=99, Resulting Numbers: [88, 99] Generated Node #0,0,1: 89:[88, 99] Operation: 32+67=99 Moving to Node #0,1 Current State: 89:[88, 49, 50], Operations: ['18+32=50'] Exploring Operation: 49+50=99, Resulting Numbers: [88, 99] Generated Node #0,1,0: 89:[88, 99] Operation: 49+50=99 Exploring Operation: 88+49=137, Resulting Numbers: [50, 137] Generated Node #0,1,1: 89:[50, 137] Operation: 88+49=137 Moving to Node #0,0,1 Current State: 89:[88, 99], Operations: ['18+49=67', '32+67=99'] Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 88+99=187, Resulting Numbers: [187] 187,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[88, 99], Operations: ['18+32=50', '49+50=99'] Exploring Operation: 88+99=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[67, 120], Operations: ['18+49=67', '88+32=120'] Exploring Operation: 120-67=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 67+120=187, Resulting Numbers: [187] 187,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[50, 137], Operations: ['18+32=50', '88+49=137'] Exploring Operation: 50+137=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 137-50=87, Resulting Numbers: [87] 87,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic