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
[ 77, 9, 35, 65 ]
14
[ "77+9=86", "35+65=100", "100-86=14" ]
Current State: 14:[77, 9, 35, 65], Operations: [] Exploring Operation: 77+9=86, Resulting Numbers: [35, 65, 86] Generated Node #2: [35, 65, 86] from Operation: 77+9=86 Current State: 14:[35, 65, 86], Operations: ['77+9=86'] Exploring Operation: 35+65=100, Resulting Numbers: [86, 100] Generated Node #3: [86, 100] from Operation: 35+65=100 Current State: 14:[86, 100], Operations: ['77+9=86', '35+65=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[77, 9, 35, 65], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [9, 65, 42] Generated Node #0,0: 14:[9, 65, 42] Operation: 77-35=42 Exploring Operation: 77-65=12, Resulting Numbers: [9, 35, 12] Generated Node #0,1: 14:[9, 35, 12] Operation: 77-65=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[9, 35, 12], Operations: ['77-65=12'] Exploring Operation: 35-12=23, Resulting Numbers: [9, 23] Generated Node #0,1,0: 14:[9, 23] Operation: 35-12=23 Exploring Operation: 35-9=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 14:[12, 26] Operation: 35-9=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[9, 23], Operations: ['77-65=12', '35-12=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[77, 9, 35, 65], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [9, 35, 12] Generated Node #0,1: 14:[9, 35, 12] Operation: 77-65=12 Moving to Node #0,1 Current State: 14:[9, 35, 12], Operations: ['77-65=12'] Exploring Operation: 35-12=23, Resulting Numbers: [9, 23] Generated Node #0,1,0: 14:[9, 23] Operation: 35-12=23 Moving to Node #0,1,0 Current State: 14:[9, 23], Operations: ['77-65=12', '35-12=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 18, 31, 40, 68 ]
34
[ "40-31=9", "18/9=2", "68/2=34" ]
Current State: 34:[18, 31, 40, 68], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [18, 68, 9] Generated Node #2: [18, 68, 9] from Operation: 40-31=9 Current State: 34:[18, 68, 9], Operations: ['40-31=9'] Exploring Operation: 18/9=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 18/9=2 Current State: 34:[68, 2], Operations: ['40-31=9', '18/9=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[18, 31, 40, 68], Operations: [] Exploring Operation: 68-31=37, Resulting Numbers: [18, 40, 37] Generated Node #0,0: 34:[18, 40, 37] Operation: 68-31=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[18, 40, 37], Operations: ['68-31=37'] Exploring Operation: 40-37=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 34:[18, 3] Operation: 40-37=3 Moving to Node #0,0,0 Current State: 34:[18, 3], Operations: ['68-31=37', '40-37=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 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
[ 97, 54, 25, 48 ]
81
[ "97-25=72", "54*72=3888", "3888/48=81" ]
Current State: 81:[97, 54, 25, 48], Operations: [] Exploring Operation: 97-25=72, Resulting Numbers: [54, 48, 72] Generated Node #2: [54, 48, 72] from Operation: 97-25=72 Current State: 81:[54, 48, 72], Operations: ['97-25=72'] Exploring Operation: 54*72=3888, Resulting Numbers: [48, 3888] Generated Node #3: [48, 3888] from Operation: 54*72=3888 Current State: 81:[48, 3888], Operations: ['97-25=72', '54*72=3888'] Exploring Operation: 3888/48=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[97, 54, 25, 48], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [25, 48, 43] Generated Node #0,0: 81:[25, 48, 43] Operation: 97-54=43 Exploring Operation: 54-48=6, Resulting Numbers: [97, 25, 6] Generated Node #0,1: 81:[97, 25, 6] Operation: 54-48=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[97, 25, 6], Operations: ['54-48=6'] Exploring Operation: 97-25=72, Resulting Numbers: [6, 72] Generated Node #0,1,0: 81:[6, 72] Operation: 97-25=72 Exploring Operation: 97-6=91, Resulting Numbers: [25, 91] Generated Node #0,1,1: 81:[25, 91] Operation: 97-6=91 Moving to Node #0,1,0 Current State: 81:[6, 72], Operations: ['54-48=6', '97-25=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[25, 91], Operations: ['54-48=6', '97-6=91'] Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[25, 48, 43], Operations: ['97-54=43'] Exploring Operation: 48-43=5, Resulting Numbers: [25, 5] Generated Node #0,0,0: 81:[25, 5] Operation: 48-43=5 Exploring Operation: 48+43=91, Resulting Numbers: [25, 91] Generated Node #0,0,1: 81:[25, 91] Operation: 48+43=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[25, 5], Operations: ['97-54=43', '48-43=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[25, 91], Operations: ['97-54=43', '48+43=91'] Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 41, 25, 8, 35 ]
82
[ "25+8=33", "35-33=2", "41*2=82" ]
Current State: 82:[41, 25, 8, 35], Operations: [] Exploring Operation: 25+8=33, Resulting Numbers: [41, 35, 33] Generated Node #2: [41, 35, 33] from Operation: 25+8=33 Current State: 82:[41, 35, 33], Operations: ['25+8=33'] Exploring Operation: 35-33=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 35-33=2 Current State: 82:[41, 2], Operations: ['25+8=33', '35-33=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[41, 25, 8, 35], Operations: [] Exploring Operation: 25+35=60, Resulting Numbers: [41, 8, 60] Generated Node #0,0: 82:[41, 8, 60] Operation: 25+35=60 Exploring Operation: 35-25=10, Resulting Numbers: [41, 8, 10] Generated Node #0,1: 82:[41, 8, 10] Operation: 35-25=10 Exploring Operation: 25+8=33, Resulting Numbers: [41, 35, 33] Generated Node #0,2: 82:[41, 35, 33] Operation: 25+8=33 Exploring Operation: 25-8=17, Resulting Numbers: [41, 35, 17] Generated Node #0,3: 82:[41, 35, 17] Operation: 25-8=17 Exploring Operation: 8+35=43, Resulting Numbers: [41, 25, 43] Generated Node #0,4: 82:[41, 25, 43] Operation: 8+35=43 Moving to Node #0,1 Current State: 82:[41, 8, 10], Operations: ['35-25=10'] Exploring Operation: 41-8=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 82:[10, 33] Operation: 41-8=33 Exploring Operation: 8*10=80, Resulting Numbers: [41, 80] Generated Node #0,1,1: 82:[41, 80] Operation: 8*10=80 Exploring Operation: 41+8=49, Resulting Numbers: [10, 49] Generated Node #0,1,2: 82:[10, 49] Operation: 41+8=49 Exploring Operation: 41+10=51, Resulting Numbers: [8, 51] Generated Node #0,1,3: 82:[8, 51] Operation: 41+10=51 Exploring Operation: 10-8=2, Resulting Numbers: [41, 2] Generated Node #0,1,4: 82:[41, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[41, 2], Operations: ['35-25=10', '10-8=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[41, 25, 8, 35], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [41, 8, 10] Generated Node #0,1: 82:[41, 8, 10] Operation: 35-25=10 Moving to Node #0,1 Current State: 82:[41, 8, 10], Operations: ['35-25=10'] Exploring Operation: 10-8=2, Resulting Numbers: [41, 2] Generated Node #0,1,4: 82:[41, 2] Operation: 10-8=2 Moving to Node #0,1,4 Current State: 82:[41, 2], Operations: ['35-25=10', '10-8=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 90, 81, 94, 1 ]
85
[ "90-81=9", "94*1=94", "94-9=85" ]
Current State: 85:[90, 81, 94, 1], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [94, 1, 9] Generated Node #2: [94, 1, 9] from Operation: 90-81=9 Current State: 85:[94, 1, 9], Operations: ['90-81=9'] Exploring Operation: 94*1=94, Resulting Numbers: [9, 94] Generated Node #3: [9, 94] from Operation: 94*1=94 Current State: 85:[9, 94], Operations: ['90-81=9', '94*1=94'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[90, 81, 94, 1], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [94, 1, 9] Generated Node #0,0: 85:[94, 1, 9] Operation: 90-81=9 Exploring Operation: 90-1=89, Resulting Numbers: [81, 94, 89] Generated Node #0,1: 85:[81, 94, 89] Operation: 90-1=89 Exploring Operation: 94-90=4, Resulting Numbers: [81, 1, 4] Generated Node #0,2: 85:[81, 1, 4] Operation: 94-90=4 Exploring Operation: 94-81=13, Resulting Numbers: [90, 1, 13] Generated Node #0,3: 85:[90, 1, 13] Operation: 94-81=13 Moving to Node #0,2 Current State: 85:[81, 1, 4], Operations: ['94-90=4'] Exploring Operation: 81+4=85, Resulting Numbers: [1, 85] Generated Node #0,2,0: 85:[1, 85] Operation: 81+4=85 Exploring Operation: 81+1=82, Resulting Numbers: [4, 82] Generated Node #0,2,1: 85:[4, 82] Operation: 81+1=82 Exploring Operation: 1+4=5, Resulting Numbers: [81, 5] Generated Node #0,2,2: 85:[81, 5] Operation: 1+4=5 Exploring Operation: 81*1=81, Resulting Numbers: [4, 81] Generated Node #0,2,3: 85:[4, 81] Operation: 81*1=81 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[1, 85], Operations: ['94-90=4', '81+4=85'] Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[90, 81, 94, 1], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [81, 1, 4] Generated Node #0,2: 85:[81, 1, 4] Operation: 94-90=4 Moving to Node #0,2 Current State: 85:[81, 1, 4], Operations: ['94-90=4'] Exploring Operation: 81+4=85, Resulting Numbers: [1, 85] Generated Node #0,2,0: 85:[1, 85] Operation: 81+4=85 Moving to Node #0,2,0 Current State: 85:[1, 85], Operations: ['94-90=4', '81+4=85'] Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 66, 31, 98, 20 ]
86
[ "66*31=2046", "98*20=1960", "2046-1960=86" ]
Current State: 86:[66, 31, 98, 20], Operations: [] Exploring Operation: 66*31=2046, Resulting Numbers: [98, 20, 2046] Generated Node #2: [98, 20, 2046] from Operation: 66*31=2046 Current State: 86:[98, 20, 2046], Operations: ['66*31=2046'] Exploring Operation: 98*20=1960, Resulting Numbers: [2046, 1960] Generated Node #3: [2046, 1960] from Operation: 98*20=1960 Current State: 86:[2046, 1960], Operations: ['66*31=2046', '98*20=1960'] Exploring Operation: 2046-1960=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[66, 31, 98, 20], Operations: [] Exploring Operation: 66+20=86, Resulting Numbers: [31, 98, 86] Generated Node #0,0: 86:[31, 98, 86] Operation: 66+20=86 Exploring Operation: 66-20=46, Resulting Numbers: [31, 98, 46] Generated Node #0,1: 86:[31, 98, 46] Operation: 66-20=46 Exploring Operation: 66-31=35, Resulting Numbers: [98, 20, 35] Generated Node #0,2: 86:[98, 20, 35] Operation: 66-31=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[31, 98, 86], Operations: ['66+20=86'] Exploring Operation: 98-31=67, Resulting Numbers: [86, 67] Generated Node #0,0,0: 86:[86, 67] Operation: 98-31=67 Exploring Operation: 86-31=55, Resulting Numbers: [98, 55] Generated Node #0,0,1: 86:[98, 55] Operation: 86-31=55 Exploring Operation: 98-86=12, Resulting Numbers: [31, 12] Generated Node #0,0,2: 86:[31, 12] Operation: 98-86=12 Moving to Node #0,0,0 Current State: 86:[86, 67], Operations: ['66+20=86', '98-31=67'] Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,86 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[31, 12], Operations: ['66+20=86', '98-86=12'] Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[98, 55], Operations: ['66+20=86', '86-31=55'] Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 98+55=153, Resulting Numbers: [153] 153,86 unequal: No Solution Exploring Operation: 98*55=5390, Resulting Numbers: [5390] 5390,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[31, 98, 46], Operations: ['66-20=46'] Exploring Operation: 98-46=52, Resulting Numbers: [31, 52] Generated Node #0,1,0: 86:[31, 52] Operation: 98-46=52 Exploring Operation: 98-31=67, Resulting Numbers: [46, 67] Generated Node #0,1,1: 86:[46, 67] Operation: 98-31=67 Exploring Operation: 31+46=77, Resulting Numbers: [98, 77] Generated Node #0,1,2: 86:[98, 77] Operation: 31+46=77 Moving to Node #0,1,0 Current State: 86:[31, 52], Operations: ['66-20=46', '98-46=52'] Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,86 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[98, 77], Operations: ['66-20=46', '31+46=77'] Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 98*77=7546, Resulting Numbers: [7546] 7546,86 unequal: No Solution Exploring Operation: 98+77=175, Resulting Numbers: [175] 175,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[46, 67], Operations: ['66-20=46', '98-31=67'] Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,86 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[98, 20, 35], Operations: ['66-31=35'] Exploring Operation: 20+35=55, Resulting Numbers: [98, 55] Generated Node #0,2,0: 86:[98, 55] Operation: 20+35=55 Exploring Operation: 98-20=78, Resulting Numbers: [35, 78] Generated Node #0,2,1: 86:[35, 78] Operation: 98-20=78 Exploring Operation: 35-20=15, Resulting Numbers: [98, 15] Generated Node #0,2,2: 86:[98, 15] Operation: 35-20=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[35, 78], Operations: ['66-31=35', '98-20=78'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 35+78=113, Resulting Numbers: [113] 113,86 unequal: No Solution Exploring Operation: 35*78=2730, Resulting Numbers: [2730] 2730,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,2,0 Current State: 86:[98, 55], Operations: ['66-31=35', '20+35=55'] Exploring Operation: 98+55=153, Resulting Numbers: [153] 153,86 unequal: No Solution Exploring Operation: 98*55=5390, Resulting Numbers: [5390] 5390,86 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,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,2,2 Current State: 86:[98, 15], Operations: ['66-31=35', '35-20=15'] Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,86 unequal: No Solution Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 51, 2, 13, 10 ]
97
[ "13+10=23", "2*23=46", "51+46=97" ]
Current State: 97:[51, 2, 13, 10], Operations: [] Exploring Operation: 13+10=23, Resulting Numbers: [51, 2, 23] Generated Node #2: [51, 2, 23] from Operation: 13+10=23 Current State: 97:[51, 2, 23], Operations: ['13+10=23'] Exploring Operation: 2*23=46, Resulting Numbers: [51, 46] Generated Node #3: [51, 46] from Operation: 2*23=46 Current State: 97:[51, 46], Operations: ['13+10=23', '2*23=46'] Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[51, 2, 13, 10], Operations: [] Exploring Operation: 51*2=102, Resulting Numbers: [13, 10, 102] Generated Node #0,0: 97:[13, 10, 102] Operation: 51*2=102 Exploring Operation: 13*10=130, Resulting Numbers: [51, 2, 130] Generated Node #0,1: 97:[51, 2, 130] Operation: 13*10=130 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[51, 2, 130], Operations: ['13*10=130'] Exploring Operation: 51*2=102, Resulting Numbers: [130, 102] Generated Node #0,1,0: 97:[130, 102] Operation: 51*2=102 Exploring Operation: 51+2=53, Resulting Numbers: [130, 53] Generated Node #0,1,1: 97:[130, 53] Operation: 51+2=53 Moving to Node #0,1,0 Current State: 97:[130, 102], Operations: ['13*10=130', '51*2=102'] Exploring Operation: 130-102=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 130+102=232, Resulting Numbers: [232] 232,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[130, 53], Operations: ['13*10=130', '51+2=53'] Exploring Operation: 130+53=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 130-53=77, Resulting Numbers: [77] 77,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[13, 10, 102], Operations: ['51*2=102'] Exploring Operation: 13*10=130, Resulting Numbers: [102, 130] Generated Node #0,0,0: 97:[102, 130] Operation: 13*10=130 Exploring Operation: 13+10=23, Resulting Numbers: [102, 23] Generated Node #0,0,1: 97:[102, 23] Operation: 13+10=23 Moving to Node #0,0,0 Current State: 97:[102, 130], Operations: ['51*2=102', '13*10=130'] Exploring Operation: 102+130=232, Resulting Numbers: [232] 232,97 unequal: No Solution Exploring Operation: 130-102=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[102, 23], Operations: ['51*2=102', '13+10=23'] Exploring Operation: 102+23=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 37, 67, 42, 47 ]
69
[ "37+47=84", "84/42=2", "67+2=69" ]
Current State: 69:[37, 67, 42, 47], Operations: [] Exploring Operation: 37+47=84, Resulting Numbers: [67, 42, 84] Generated Node #2: [67, 42, 84] from Operation: 37+47=84 Current State: 69:[67, 42, 84], Operations: ['37+47=84'] Exploring Operation: 84/42=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 84/42=2 Current State: 69:[67, 2], Operations: ['37+47=84', '84/42=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[37, 67, 42, 47], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [37, 67, 5] Generated Node #0,0: 69:[37, 67, 5] Operation: 47-42=5 Exploring Operation: 47-37=10, Resulting Numbers: [67, 42, 10] Generated Node #0,1: 69:[67, 42, 10] Operation: 47-37=10 Exploring Operation: 42-37=5, Resulting Numbers: [67, 47, 5] Generated Node #0,2: 69:[67, 47, 5] Operation: 42-37=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[37, 67, 5], Operations: ['47-42=5'] Exploring Operation: 67-37=30, Resulting Numbers: [5, 30] Generated Node #0,0,0: 69:[5, 30] Operation: 67-37=30 Exploring Operation: 67+5=72, Resulting Numbers: [37, 72] Generated Node #0,0,1: 69:[37, 72] Operation: 67+5=72 Exploring Operation: 37-5=32, Resulting Numbers: [67, 32] Generated Node #0,0,2: 69:[67, 32] Operation: 37-5=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[5, 30], Operations: ['47-42=5', '67-37=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[67, 32], Operations: ['47-42=5', '37-5=32'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[37, 72], Operations: ['47-42=5', '67+5=72'] Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[67, 47, 5], Operations: ['42-37=5'] Exploring Operation: 67-47=20, Resulting Numbers: [5, 20] Generated Node #0,2,0: 69:[5, 20] Operation: 67-47=20 Exploring Operation: 47+5=52, Resulting Numbers: [67, 52] Generated Node #0,2,1: 69:[67, 52] Operation: 47+5=52 Exploring Operation: 47-5=42, Resulting Numbers: [67, 42] Generated Node #0,2,2: 69:[67, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[5, 20], Operations: ['42-37=5', '67-47=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[67, 52], Operations: ['42-37=5', '47+5=52'] Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,69 unequal: No Solution Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[67, 42], Operations: ['42-37=5', '47-5=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,69 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[67, 42, 10], Operations: ['47-37=10'] Exploring Operation: 42+10=52, Resulting Numbers: [67, 52] Generated Node #0,1,0: 69:[67, 52] Operation: 42+10=52 Exploring Operation: 67-42=25, Resulting Numbers: [10, 25] Generated Node #0,1,1: 69:[10, 25] Operation: 67-42=25 Exploring Operation: 42-10=32, Resulting Numbers: [67, 32] Generated Node #0,1,2: 69:[67, 32] Operation: 42-10=32 Moving to Node #0,1,1 Current State: 69:[10, 25], Operations: ['47-37=10', '67-42=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[67, 32], Operations: ['47-37=10', '42-10=32'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 67*32=2144, Resulting Numbers: [2144] 2144,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[67, 52], Operations: ['47-37=10', '42+10=52'] Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,69 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 2, 49, 64 ]
10
[ "49-5=44", "64-44=20", "20/2=10" ]
Current State: 10:[5, 2, 49, 64], Operations: [] Exploring Operation: 49-5=44, Resulting Numbers: [2, 64, 44] Generated Node #2: [2, 64, 44] from Operation: 49-5=44 Current State: 10:[2, 64, 44], Operations: ['49-5=44'] Exploring Operation: 64-44=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 64-44=20 Current State: 10:[2, 20], Operations: ['49-5=44', '64-44=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 2, 49, 64], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [5, 49, 32] Generated Node #0,0: 10:[5, 49, 32] Operation: 64/2=32 Exploring Operation: 49-5=44, Resulting Numbers: [2, 64, 44] Generated Node #0,1: 10:[2, 64, 44] Operation: 49-5=44 Exploring Operation: 64-49=15, Resulting Numbers: [5, 2, 15] Generated Node #0,2: 10:[5, 2, 15] Operation: 64-49=15 Moving to Node #0,2 Current State: 10:[5, 2, 15], Operations: ['64-49=15'] Exploring Operation: 15-2=13, Resulting Numbers: [5, 13] Generated Node #0,2,0: 10:[5, 13] Operation: 15-2=13 Exploring Operation: 15-5=10, Resulting Numbers: [2, 10] Generated Node #0,2,1: 10:[2, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 10:[2, 3] Operation: 15/5=3 Moving to Node #0,0 Current State: 10:[5, 49, 32], Operations: ['64/2=32'] Exploring Operation: 49-5=44, Resulting Numbers: [32, 44] Generated Node #0,0,0: 10:[32, 44] Operation: 49-5=44 Exploring Operation: 32-5=27, Resulting Numbers: [49, 27] Generated Node #0,0,1: 10:[49, 27] Operation: 32-5=27 Exploring Operation: 49-32=17, Resulting Numbers: [5, 17] Generated Node #0,0,2: 10:[5, 17] Operation: 49-32=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[5, 17], Operations: ['64/2=32', '49-32=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[32, 44], Operations: ['64/2=32', '49-5=44'] Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,10 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[49, 27], Operations: ['64/2=32', '32-5=27'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,10 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: 10:[2, 64, 44], Operations: ['49-5=44'] Exploring Operation: 64/2=32, Resulting Numbers: [44, 32] Generated Node #0,1,0: 10:[44, 32] Operation: 64/2=32 Exploring Operation: 44/2=22, Resulting Numbers: [64, 22] Generated Node #0,1,1: 10:[64, 22] Operation: 44/2=22 Exploring Operation: 64-44=20, Resulting Numbers: [2, 20] Generated Node #0,1,2: 10:[2, 20] Operation: 64-44=20 Moving to Node #0,2,1 Current State: 10:[2, 10], Operations: ['64-49=15', '15-5=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[2, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[5, 13], Operations: ['64-49=15', '15-2=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[2, 20], Operations: ['49-5=44', '64-44=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[5, 2, 49, 64], Operations: [] Exploring Operation: 49-5=44, Resulting Numbers: [2, 64, 44] Generated Node #0,1: 10:[2, 64, 44] Operation: 49-5=44 Moving to Node #0,1 Current State: 10:[2, 64, 44], Operations: ['49-5=44'] Exploring Operation: 64-44=20, Resulting Numbers: [2, 20] Generated Node #0,1,2: 10:[2, 20] Operation: 64-44=20 Moving to Node #0,1,2 Current State: 10:[2, 20], Operations: ['49-5=44', '64-44=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 20, 2, 79, 78 ]
23
[ "20+2=22", "79-78=1", "22+1=23" ]
Current State: 23:[20, 2, 79, 78], Operations: [] Exploring Operation: 20+2=22, Resulting Numbers: [79, 78, 22] Generated Node #2: [79, 78, 22] from Operation: 20+2=22 Current State: 23:[79, 78, 22], Operations: ['20+2=22'] Exploring Operation: 79-78=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 79-78=1 Current State: 23:[22, 1], Operations: ['20+2=22', '79-78=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[20, 2, 79, 78], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [20, 2, 1] Generated Node #0,0: 23:[20, 2, 1] Operation: 79-78=1 Moving to Node #0,0 Current State: 23:[20, 2, 1], Operations: ['79-78=1'] Exploring Operation: 20+2=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 23:[1, 22] Operation: 20+2=22 Moving to Node #0,0,0 Current State: 23:[1, 22], Operations: ['79-78=1', '20+2=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[20, 2, 79, 78], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [20, 2, 1] Generated Node #0,0: 23:[20, 2, 1] Operation: 79-78=1 Moving to Node #0,0 Current State: 23:[20, 2, 1], Operations: ['79-78=1'] Exploring Operation: 20+2=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 23:[1, 22] Operation: 20+2=22 Moving to Node #0,0,0 Current State: 23:[1, 22], Operations: ['79-78=1', '20+2=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 66, 10, 99, 77 ]
92
[ "10*99=990", "990/66=15", "77+15=92" ]
Current State: 92:[66, 10, 99, 77], Operations: [] Exploring Operation: 10*99=990, Resulting Numbers: [66, 77, 990] Generated Node #2: [66, 77, 990] from Operation: 10*99=990 Current State: 92:[66, 77, 990], Operations: ['10*99=990'] Exploring Operation: 990/66=15, Resulting Numbers: [77, 15] Generated Node #3: [77, 15] from Operation: 990/66=15 Current State: 92:[77, 15], Operations: ['10*99=990', '990/66=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[66, 10, 99, 77], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [99, 77, 56] Generated Node #0,0: 92:[99, 77, 56] Operation: 66-10=56 Exploring Operation: 99-66=33, Resulting Numbers: [10, 77, 33] Generated Node #0,1: 92:[10, 77, 33] Operation: 99-66=33 Exploring Operation: 77-66=11, Resulting Numbers: [10, 99, 11] Generated Node #0,2: 92:[10, 99, 11] Operation: 77-66=11 Exploring Operation: 99-77=22, Resulting Numbers: [66, 10, 22] Generated Node #0,3: 92:[66, 10, 22] Operation: 99-77=22 Moving to Node #0,2 Current State: 92:[10, 99, 11], Operations: ['77-66=11'] Exploring Operation: 99-11=88, Resulting Numbers: [10, 88] Generated Node #0,2,0: 92:[10, 88] Operation: 99-11=88 Exploring Operation: 11-10=1, Resulting Numbers: [99, 1] Generated Node #0,2,1: 92:[99, 1] Operation: 11-10=1 Exploring Operation: 10+11=21, Resulting Numbers: [99, 21] Generated Node #0,2,2: 92:[99, 21] Operation: 10+11=21 Exploring Operation: 99-10=89, Resulting Numbers: [11, 89] Generated Node #0,2,3: 92:[11, 89] Operation: 99-10=89 Moving to Node #0,3 Current State: 92:[66, 10, 22], Operations: ['99-77=22'] Exploring Operation: 66-10=56, Resulting Numbers: [22, 56] Generated Node #0,3,0: 92:[22, 56] Operation: 66-10=56 Exploring Operation: 66+22=88, Resulting Numbers: [10, 88] Generated Node #0,3,1: 92:[10, 88] Operation: 66+22=88 Exploring Operation: 66-22=44, Resulting Numbers: [10, 44] Generated Node #0,3,2: 92:[10, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [10, 3] Generated Node #0,3,3: 92:[10, 3] Operation: 66/22=3 Moving to Node #0,1 Current State: 92:[10, 77, 33], Operations: ['99-66=33'] Exploring Operation: 10+77=87, Resulting Numbers: [33, 87] Generated Node #0,1,0: 92:[33, 87] Operation: 10+77=87 Exploring Operation: 10+33=43, Resulting Numbers: [77, 43] Generated Node #0,1,1: 92:[77, 43] Operation: 10+33=43 Exploring Operation: 77-33=44, Resulting Numbers: [10, 44] Generated Node #0,1,2: 92:[10, 44] Operation: 77-33=44 Exploring Operation: 33-10=23, Resulting Numbers: [77, 23] Generated Node #0,1,3: 92:[77, 23] Operation: 33-10=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[10, 44], Operations: ['99-66=33', '77-33=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,92 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,92 unequal: No Solution No 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: 92:[33, 87], Operations: ['99-66=33', '10+77=87'] Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,92 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,92 unequal: No Solution No 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: 92:[77, 23], Operations: ['99-66=33', '33-10=23'] Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,92 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,92 unequal: No Solution No 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: 92:[77, 43], Operations: ['99-66=33', '10+33=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,92 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,92 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: 92:[99, 77, 56], Operations: ['66-10=56'] Exploring Operation: 77-56=21, Resulting Numbers: [99, 21] Generated Node #0,0,0: 92:[99, 21] Operation: 77-56=21 Exploring Operation: 77+56=133, Resulting Numbers: [99, 133] Generated Node #0,0,1: 92:[99, 133] Operation: 77+56=133 Exploring Operation: 99-77=22, Resulting Numbers: [56, 22] Generated Node #0,0,2: 92:[56, 22] Operation: 99-77=22 Exploring Operation: 99-56=43, Resulting Numbers: [77, 43] Generated Node #0,0,3: 92:[77, 43] Operation: 99-56=43 Moving to Node #0,3,3 Current State: 92:[10, 3], Operations: ['99-77=22', '66/22=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[10, 44], Operations: ['99-77=22', '66-22=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[99, 1], Operations: ['77-66=11', '11-10=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[99, 21], Operations: ['77-66=11', '10+11=21'] Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,92 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[99, 21], Operations: ['66-10=56', '77-56=21'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[10, 88], Operations: ['99-77=22', '66+22=88'] Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 10*88=880, Resulting Numbers: [880] 880,92 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[10, 88], Operations: ['77-66=11', '99-11=88'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 10*88=880, Resulting Numbers: [880] 880,92 unequal: No Solution Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[11, 89], Operations: ['77-66=11', '99-10=89'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[56, 22], Operations: ['66-10=56', '99-77=22'] Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,92 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[22, 56], Operations: ['99-77=22', '66-10=56'] Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,92 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[77, 43], Operations: ['66-10=56', '99-56=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,92 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[99, 133], Operations: ['66-10=56', '77+56=133'] Exploring Operation: 133-99=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 99*133=13167, Resulting Numbers: [13167] 13167,92 unequal: No Solution Exploring Operation: 99+133=232, Resulting Numbers: [232] 232,92 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 78, 94, 80, 69 ]
27
[ "94-78=16", "80-69=11", "16+11=27" ]
Current State: 27:[78, 94, 80, 69], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [80, 69, 16] Generated Node #2: [80, 69, 16] from Operation: 94-78=16 Current State: 27:[80, 69, 16], Operations: ['94-78=16'] Exploring Operation: 80-69=11, Resulting Numbers: [16, 11] Generated Node #3: [16, 11] from Operation: 80-69=11 Current State: 27:[16, 11], Operations: ['94-78=16', '80-69=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[78, 94, 80, 69], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [80, 69, 16] Generated Node #0,0: 27:[80, 69, 16] Operation: 94-78=16 Exploring Operation: 94-80=14, Resulting Numbers: [78, 69, 14] Generated Node #0,1: 27:[78, 69, 14] Operation: 94-80=14 Exploring Operation: 94-69=25, Resulting Numbers: [78, 80, 25] Generated Node #0,2: 27:[78, 80, 25] Operation: 94-69=25 Moving to Node #0,1 Current State: 27:[78, 69, 14], Operations: ['94-80=14'] Exploring Operation: 78-69=9, Resulting Numbers: [14, 9] Generated Node #0,1,0: 27:[14, 9] Operation: 78-69=9 Exploring Operation: 69-14=55, Resulting Numbers: [78, 55] Generated Node #0,1,1: 27:[78, 55] Operation: 69-14=55 Exploring Operation: 78-14=64, Resulting Numbers: [69, 64] Generated Node #0,1,2: 27:[69, 64] Operation: 78-14=64 Moving to Node #0,0 Current State: 27:[80, 69, 16], Operations: ['94-78=16'] Exploring Operation: 80/16=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 27:[69, 5] Operation: 80/16=5 Exploring Operation: 80-16=64, Resulting Numbers: [69, 64] Generated Node #0,0,1: 27:[69, 64] Operation: 80-16=64 Exploring Operation: 80-69=11, Resulting Numbers: [16, 11] Generated Node #0,0,2: 27:[16, 11] Operation: 80-69=11 Moving to Node #0,2 Current State: 27:[78, 80, 25], Operations: ['94-69=25'] Exploring Operation: 80-78=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 27:[25, 2] Operation: 80-78=2 Exploring Operation: 80-25=55, Resulting Numbers: [78, 55] Generated Node #0,2,1: 27:[78, 55] Operation: 80-25=55 Exploring Operation: 78-25=53, Resulting Numbers: [80, 53] Generated Node #0,2,2: 27:[80, 53] Operation: 78-25=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[25, 2], Operations: ['94-69=25', '80-78=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[78, 94, 80, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [78, 80, 25] Generated Node #0,2: 27:[78, 80, 25] Operation: 94-69=25 Moving to Node #0,2 Current State: 27:[78, 80, 25], Operations: ['94-69=25'] Exploring Operation: 80-78=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 27:[25, 2] Operation: 80-78=2 Moving to Node #0,2,0 Current State: 27:[25, 2], Operations: ['94-69=25', '80-78=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 54, 58, 7, 21 ]
77
[ "58-54=4", "21*4=84", "84-7=77" ]
Current State: 77:[54, 58, 7, 21], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [7, 21, 4] Generated Node #2: [7, 21, 4] from Operation: 58-54=4 Current State: 77:[7, 21, 4], Operations: ['58-54=4'] Exploring Operation: 21*4=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 21*4=84 Current State: 77:[7, 84], Operations: ['58-54=4', '21*4=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[54, 58, 7, 21], Operations: [] Exploring Operation: 54+21=75, Resulting Numbers: [58, 7, 75] Generated Node #0,0: 77:[58, 7, 75] Operation: 54+21=75 Exploring Operation: 58+21=79, Resulting Numbers: [54, 7, 79] Generated Node #0,1: 77:[54, 7, 79] Operation: 58+21=79 Exploring Operation: 58-54=4, Resulting Numbers: [7, 21, 4] Generated Node #0,2: 77:[7, 21, 4] Operation: 58-54=4 Exploring Operation: 54-21=33, Resulting Numbers: [58, 7, 33] Generated Node #0,3: 77:[58, 7, 33] Operation: 54-21=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[7, 21, 4], Operations: ['58-54=4'] Exploring Operation: 21-7=14, Resulting Numbers: [4, 14] Generated Node #0,2,0: 77:[4, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [4, 3] Generated Node #0,2,1: 77:[4, 3] Operation: 21/7=3 Exploring Operation: 21*4=84, Resulting Numbers: [7, 84] Generated Node #0,2,2: 77:[7, 84] Operation: 21*4=84 Exploring Operation: 21-4=17, Resulting Numbers: [7, 17] Generated Node #0,2,3: 77:[7, 17] Operation: 21-4=17 Moving to Node #0,2,0 Current State: 77:[4, 14], Operations: ['58-54=4', '21-7=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[7, 17], Operations: ['58-54=4', '21-4=17'] Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,77 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[7, 84], Operations: ['58-54=4', '21*4=84'] Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[54, 58, 7, 21], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [7, 21, 4] Generated Node #0,2: 77:[7, 21, 4] Operation: 58-54=4 Moving to Node #0,2 Current State: 77:[7, 21, 4], Operations: ['58-54=4'] Exploring Operation: 21*4=84, Resulting Numbers: [7, 84] Generated Node #0,2,2: 77:[7, 84] Operation: 21*4=84 Moving to Node #0,2,2 Current State: 77:[7, 84], Operations: ['58-54=4', '21*4=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 66, 8, 44, 25 ]
93
[ "66+8=74", "44-25=19", "74+19=93" ]
Current State: 93:[66, 8, 44, 25], Operations: [] Exploring Operation: 66+8=74, Resulting Numbers: [44, 25, 74] Generated Node #2: [44, 25, 74] from Operation: 66+8=74 Current State: 93:[44, 25, 74], Operations: ['66+8=74'] Exploring Operation: 44-25=19, Resulting Numbers: [74, 19] Generated Node #3: [74, 19] from Operation: 44-25=19 Current State: 93:[74, 19], Operations: ['66+8=74', '44-25=19'] Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[66, 8, 44, 25], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [8, 25, 22] Generated Node #0,0: 93:[8, 25, 22] Operation: 66-44=22 Exploring Operation: 66+44=110, Resulting Numbers: [8, 25, 110] Generated Node #0,1: 93:[8, 25, 110] Operation: 66+44=110 Exploring Operation: 66-25=41, Resulting Numbers: [8, 44, 41] Generated Node #0,2: 93:[8, 44, 41] Operation: 66-25=41 Exploring Operation: 66+25=91, Resulting Numbers: [8, 44, 91] Generated Node #0,3: 93:[8, 44, 91] Operation: 66+25=91 Moving to Node #0,0 Current State: 93:[8, 25, 22], Operations: ['66-44=22'] Exploring Operation: 22-8=14, Resulting Numbers: [25, 14] Generated Node #0,0,0: 93:[25, 14] Operation: 22-8=14 Exploring Operation: 8+22=30, Resulting Numbers: [25, 30] Generated Node #0,0,1: 93:[25, 30] Operation: 8+22=30 Exploring Operation: 8+25=33, Resulting Numbers: [22, 33] Generated Node #0,0,2: 93:[22, 33] Operation: 8+25=33 Exploring Operation: 25-22=3, Resulting Numbers: [8, 3] Generated Node #0,0,3: 93:[8, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[8, 3], Operations: ['66-44=22', '25-22=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[25, 30], Operations: ['66-44=22', '8+22=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,93 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[22, 33], Operations: ['66-44=22', '8+25=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,93 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[25, 14], Operations: ['66-44=22', '22-8=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,93 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,93 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: 93:[8, 44, 91], Operations: ['66+25=91'] Exploring Operation: 91-44=47, Resulting Numbers: [8, 47] Generated Node #0,3,0: 93:[8, 47] Operation: 91-44=47 Exploring Operation: 44-8=36, Resulting Numbers: [91, 36] Generated Node #0,3,1: 93:[91, 36] Operation: 44-8=36 Exploring Operation: 8+44=52, Resulting Numbers: [91, 52] Generated Node #0,3,2: 93:[91, 52] Operation: 8+44=52 Exploring Operation: 8+91=99, Resulting Numbers: [44, 99] Generated Node #0,3,3: 93:[44, 99] Operation: 8+91=99 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[91, 36], Operations: ['66+25=91', '44-8=36'] Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,93 unequal: No Solution Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[44, 99], Operations: ['66+25=91', '8+91=99'] Exploring Operation: 44+99=143, Resulting Numbers: [143] 143,93 unequal: No Solution Exploring Operation: 44*99=4356, Resulting Numbers: [4356] 4356,93 unequal: No Solution Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[8, 47], Operations: ['66+25=91', '91-44=47'] Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,93 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[91, 52], Operations: ['66+25=91', '8+44=52'] Exploring Operation: 91*52=4732, Resulting Numbers: [4732] 4732,93 unequal: No Solution Exploring Operation: 91+52=143, Resulting Numbers: [143] 143,93 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,93 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: 93:[8, 44, 41], Operations: ['66-25=41'] Exploring Operation: 44+41=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 93:[8, 85] Operation: 44+41=85 Exploring Operation: 44-8=36, Resulting Numbers: [41, 36] Generated Node #0,2,1: 93:[41, 36] Operation: 44-8=36 Exploring Operation: 41-8=33, Resulting Numbers: [44, 33] Generated Node #0,2,2: 93:[44, 33] Operation: 41-8=33 Exploring Operation: 44-41=3, Resulting Numbers: [8, 3] Generated Node #0,2,3: 93:[8, 3] Operation: 44-41=3 Moving to Node #0,1 Current State: 93:[8, 25, 110], Operations: ['66+44=110'] Exploring Operation: 110-8=102, Resulting Numbers: [25, 102] Generated Node #0,1,0: 93:[25, 102] Operation: 110-8=102 Exploring Operation: 8+25=33, Resulting Numbers: [110, 33] Generated Node #0,1,1: 93:[110, 33] Operation: 8+25=33 Exploring Operation: 110-25=85, Resulting Numbers: [8, 85] Generated Node #0,1,2: 93:[8, 85] Operation: 110-25=85 Exploring Operation: 25-8=17, Resulting Numbers: [110, 17] Generated Node #0,1,3: 93:[110, 17] Operation: 25-8=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[8, 85], Operations: ['66+44=110', '110-25=85'] Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,93 unequal: No Solution Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[66, 8, 44, 25], Operations: [] Exploring Operation: 66+44=110, Resulting Numbers: [8, 25, 110] Generated Node #0,1: 93:[8, 25, 110] Operation: 66+44=110 Moving to Node #0,1 Current State: 93:[8, 25, 110], Operations: ['66+44=110'] Exploring Operation: 110-25=85, Resulting Numbers: [8, 85] Generated Node #0,1,2: 93:[8, 85] Operation: 110-25=85 Moving to Node #0,1,2 Current State: 93:[8, 85], Operations: ['66+44=110', '110-25=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 88, 3, 4, 80 ]
12
[ "88-4=84", "84-80=4", "3*4=12" ]
Current State: 12:[88, 3, 4, 80], Operations: [] Exploring Operation: 88-4=84, Resulting Numbers: [3, 80, 84] Generated Node #2: [3, 80, 84] from Operation: 88-4=84 Current State: 12:[3, 80, 84], Operations: ['88-4=84'] Exploring Operation: 84-80=4, Resulting Numbers: [3, 4] Generated Node #3: [3, 4] from Operation: 84-80=4 Current State: 12:[3, 4], Operations: ['88-4=84', '84-80=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[88, 3, 4, 80], Operations: [] Exploring Operation: 88/4=22, Resulting Numbers: [3, 80, 22] Generated Node #0,0: 12:[3, 80, 22] Operation: 88/4=22 Exploring Operation: 80/4=20, Resulting Numbers: [88, 3, 20] Generated Node #0,1: 12:[88, 3, 20] Operation: 80/4=20 Exploring Operation: 88-80=8, Resulting Numbers: [3, 4, 8] Generated Node #0,2: 12:[3, 4, 8] Operation: 88-80=8 Exploring Operation: 88-4=84, Resulting Numbers: [3, 80, 84] Generated Node #0,3: 12:[3, 80, 84] Operation: 88-4=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[3, 4, 8], Operations: ['88-80=8'] Exploring Operation: 4+8=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 12:[3, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 12:[3, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [3, 2] Generated Node #0,2,2: 12:[3, 2] Operation: 8/4=2 Exploring Operation: 3+8=11, Resulting Numbers: [4, 11] Generated Node #0,2,3: 12:[4, 11] Operation: 3+8=11 Moving to Node #0,2,0 Current State: 12:[3, 12], Operations: ['88-80=8', '4+8=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[3, 2], Operations: ['88-80=8', '8/4=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[3, 4], Operations: ['88-80=8', '8-4=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[88, 3, 4, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [3, 4, 8] Generated Node #0,2: 12:[3, 4, 8] Operation: 88-80=8 Moving to Node #0,2 Current State: 12:[3, 4, 8], Operations: ['88-80=8'] Exploring Operation: 8-4=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 12:[3, 4] Operation: 8-4=4 Moving to Node #0,2,1 Current State: 12:[3, 4], Operations: ['88-80=8', '8-4=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 22, 3, 44, 43 ]
42
[ "44/22=2", "43-3=40", "2+40=42" ]
Current State: 42:[22, 3, 44, 43], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [3, 43, 2] Generated Node #2: [3, 43, 2] from Operation: 44/22=2 Current State: 42:[3, 43, 2], Operations: ['44/22=2'] Exploring Operation: 43-3=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 43-3=40 Current State: 42:[2, 40], Operations: ['44/22=2', '43-3=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[22, 3, 44, 43], Operations: [] Exploring Operation: 44-22=22, Resulting Numbers: [3, 43, 22] Generated Node #0,0: 42:[3, 43, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [3, 43, 2] Generated Node #0,1: 42:[3, 43, 2] Operation: 44/22=2 Moving to Node #0,1 Current State: 42:[3, 43, 2], Operations: ['44/22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [43, 6] Generated Node #0,1,0: 42:[43, 6] Operation: 3*2=6 Exploring Operation: 43-2=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 42:[3, 41] Operation: 43-2=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[43, 6], Operations: ['44/22=2', '3*2=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,42 unequal: No Solution No 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: 42:[3, 41], Operations: ['44/22=2', '43-2=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,42 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: 42:[3, 43, 22], Operations: ['44-22=22'] Exploring Operation: 43-22=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 42:[3, 21] Operation: 43-22=21 Exploring Operation: 43-3=40, Resulting Numbers: [22, 40] Generated Node #0,0,1: 42:[22, 40] Operation: 43-3=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[3, 21], Operations: ['44-22=22', '43-22=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,42 unequal: No Solution No 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: 42:[22, 40], Operations: ['44-22=22', '43-3=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,42 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
[ 56, 41, 14, 99 ]
28
[ "56+41=97", "99-97=2", "14*2=28" ]
Current State: 28:[56, 41, 14, 99], Operations: [] Exploring Operation: 56+41=97, Resulting Numbers: [14, 99, 97] Generated Node #2: [14, 99, 97] from Operation: 56+41=97 Current State: 28:[14, 99, 97], Operations: ['56+41=97'] Exploring Operation: 99-97=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 99-97=2 Current State: 28:[14, 2], Operations: ['56+41=97', '99-97=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[56, 41, 14, 99], Operations: [] Exploring Operation: 99-56=43, Resulting Numbers: [41, 14, 43] Generated Node #0,0: 28:[41, 14, 43] Operation: 99-56=43 Exploring Operation: 56/14=4, Resulting Numbers: [41, 99, 4] Generated Node #0,1: 28:[41, 99, 4] Operation: 56/14=4 Exploring Operation: 56-41=15, Resulting Numbers: [14, 99, 15] Generated Node #0,2: 28:[14, 99, 15] Operation: 56-41=15 Exploring Operation: 99-41=58, Resulting Numbers: [56, 14, 58] Generated Node #0,3: 28:[56, 14, 58] Operation: 99-41=58 Exploring Operation: 56-14=42, Resulting Numbers: [41, 99, 42] Generated Node #0,4: 28:[41, 99, 42] Operation: 56-14=42 Moving to Node #0,0 Current State: 28:[41, 14, 43], Operations: ['99-56=43'] Exploring Operation: 43-41=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 43-41=2 Exploring Operation: 41-14=27, Resulting Numbers: [43, 27] Generated Node #0,0,1: 28:[43, 27] Operation: 41-14=27 Exploring Operation: 41+14=55, Resulting Numbers: [43, 55] Generated Node #0,0,2: 28:[43, 55] Operation: 41+14=55 Exploring Operation: 43-14=29, Resulting Numbers: [41, 29] Generated Node #0,0,3: 28:[41, 29] Operation: 43-14=29 Exploring Operation: 14+43=57, Resulting Numbers: [41, 57] Generated Node #0,0,4: 28:[41, 57] Operation: 14+43=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['99-56=43', '43-41=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[56, 41, 14, 99], Operations: [] Exploring Operation: 99-56=43, Resulting Numbers: [41, 14, 43] Generated Node #0,0: 28:[41, 14, 43] Operation: 99-56=43 Moving to Node #0,0 Current State: 28:[41, 14, 43], Operations: ['99-56=43'] Exploring Operation: 43-41=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 43-41=2 Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['99-56=43', '43-41=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 40, 32, 7, 18 ]
80
[ "32-18=14", "40*14=560", "560/7=80" ]
Current State: 80:[40, 32, 7, 18], Operations: [] Exploring Operation: 32-18=14, Resulting Numbers: [40, 7, 14] Generated Node #2: [40, 7, 14] from Operation: 32-18=14 Current State: 80:[40, 7, 14], Operations: ['32-18=14'] Exploring Operation: 40*14=560, Resulting Numbers: [7, 560] Generated Node #3: [7, 560] from Operation: 40*14=560 Current State: 80:[7, 560], Operations: ['32-18=14', '40*14=560'] Exploring Operation: 560/7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[40, 32, 7, 18], Operations: [] Exploring Operation: 40-32=8, Resulting Numbers: [7, 18, 8] Generated Node #0,0: 80:[7, 18, 8] Operation: 40-32=8 Exploring Operation: 18-7=11, Resulting Numbers: [40, 32, 11] Generated Node #0,1: 80:[40, 32, 11] Operation: 18-7=11 Exploring Operation: 32-7=25, Resulting Numbers: [40, 18, 25] Generated Node #0,2: 80:[40, 18, 25] Operation: 32-7=25 Exploring Operation: 32-18=14, Resulting Numbers: [40, 7, 14] Generated Node #0,3: 80:[40, 7, 14] Operation: 32-18=14 Exploring Operation: 32+7=39, Resulting Numbers: [40, 18, 39] Generated Node #0,4: 80:[40, 18, 39] Operation: 32+7=39 Moving to Node #0,0 Current State: 80:[7, 18, 8], Operations: ['40-32=8'] Exploring Operation: 8-7=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 80:[18, 1] Operation: 8-7=1 Exploring Operation: 7+18=25, Resulting Numbers: [8, 25] Generated Node #0,0,1: 80:[8, 25] Operation: 7+18=25 Exploring Operation: 7+8=15, Resulting Numbers: [18, 15] Generated Node #0,0,2: 80:[18, 15] Operation: 7+8=15 Exploring Operation: 18-7=11, Resulting Numbers: [8, 11] Generated Node #0,0,3: 80:[8, 11] Operation: 18-7=11 Exploring Operation: 18-8=10, Resulting Numbers: [7, 10] Generated Node #0,0,4: 80:[7, 10] Operation: 18-8=10 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[8, 11], Operations: ['40-32=8', '18-7=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,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,4 Current State: 80:[7, 10], Operations: ['40-32=8', '18-8=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,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,0 Current State: 80:[18, 1], Operations: ['40-32=8', '8-7=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[18, 15], Operations: ['40-32=8', '7+8=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,80 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,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:[8, 25], Operations: ['40-32=8', '7+18=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 80:[40, 18, 39], Operations: ['32+7=39'] Exploring Operation: 39-18=21, Resulting Numbers: [40, 21] Generated Node #0,4,0: 80:[40, 21] Operation: 39-18=21 Exploring Operation: 18+39=57, Resulting Numbers: [40, 57] Generated Node #0,4,1: 80:[40, 57] Operation: 18+39=57 Exploring Operation: 40+39=79, Resulting Numbers: [18, 79] Generated Node #0,4,2: 80:[18, 79] Operation: 40+39=79 Exploring Operation: 40-18=22, Resulting Numbers: [39, 22] Generated Node #0,4,3: 80:[39, 22] Operation: 40-18=22 Exploring Operation: 40-39=1, Resulting Numbers: [18, 1] Generated Node #0,4,4: 80:[18, 1] Operation: 40-39=1 Moving to Node #0,3 Current State: 80:[40, 7, 14], Operations: ['32-18=14'] Exploring Operation: 14-7=7, Resulting Numbers: [40, 7] Generated Node #0,3,0: 80:[40, 7] Operation: 14-7=7 Exploring Operation: 40+7=47, Resulting Numbers: [14, 47] Generated Node #0,3,1: 80:[14, 47] Operation: 40+7=47 Exploring Operation: 14/7=2, Resulting Numbers: [40, 2] Generated Node #0,3,2: 80:[40, 2] Operation: 14/7=2 Exploring Operation: 40-14=26, Resulting Numbers: [7, 26] Generated Node #0,3,3: 80:[7, 26] Operation: 40-14=26 Exploring Operation: 7+14=21, Resulting Numbers: [40, 21] Generated Node #0,3,4: 80:[40, 21] Operation: 7+14=21 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[40, 2], Operations: ['32-18=14', '14/7=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[40, 32, 7, 18], Operations: [] Exploring Operation: 32-18=14, Resulting Numbers: [40, 7, 14] Generated Node #0,3: 80:[40, 7, 14] Operation: 32-18=14 Moving to Node #0,3 Current State: 80:[40, 7, 14], Operations: ['32-18=14'] Exploring Operation: 14/7=2, Resulting Numbers: [40, 2] Generated Node #0,3,2: 80:[40, 2] Operation: 14/7=2 Moving to Node #0,3,2 Current State: 80:[40, 2], Operations: ['32-18=14', '14/7=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 32, 89, 82, 95 ]
19
[ "32+82=114", "95-89=6", "114/6=19" ]
Current State: 19:[32, 89, 82, 95], Operations: [] Exploring Operation: 32+82=114, Resulting Numbers: [89, 95, 114] Generated Node #2: [89, 95, 114] from Operation: 32+82=114 Current State: 19:[89, 95, 114], Operations: ['32+82=114'] Exploring Operation: 95-89=6, Resulting Numbers: [114, 6] Generated Node #3: [114, 6] from Operation: 95-89=6 Current State: 19:[114, 6], Operations: ['32+82=114', '95-89=6'] Exploring Operation: 114/6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[32, 89, 82, 95], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [32, 95, 7] Generated Node #0,0: 19:[32, 95, 7] Operation: 89-82=7 Exploring Operation: 95-82=13, Resulting Numbers: [32, 89, 13] Generated Node #0,1: 19:[32, 89, 13] Operation: 95-82=13 Exploring Operation: 95-89=6, Resulting Numbers: [32, 82, 6] Generated Node #0,2: 19:[32, 82, 6] Operation: 95-89=6 Moving to Node #0,1 Current State: 19:[32, 89, 13], Operations: ['95-82=13'] Exploring Operation: 89-32=57, Resulting Numbers: [13, 57] Generated Node #0,1,0: 19:[13, 57] Operation: 89-32=57 Exploring Operation: 32-13=19, Resulting Numbers: [89, 19] Generated Node #0,1,1: 19:[89, 19] Operation: 32-13=19 Exploring Operation: 89-13=76, Resulting Numbers: [32, 76] Generated Node #0,1,2: 19:[32, 76] Operation: 89-13=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[13, 57], Operations: ['95-82=13', '89-32=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,19 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[89, 19], Operations: ['95-82=13', '32-13=19'] Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 89*19=1691, Resulting Numbers: [1691] 1691,19 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[32, 76], Operations: ['95-82=13', '89-13=76'] Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,19 unequal: No Solution Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,19 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: 19:[32, 82, 6], Operations: ['95-89=6'] Exploring Operation: 82-32=50, Resulting Numbers: [6, 50] Generated Node #0,2,0: 19:[6, 50] Operation: 82-32=50 Exploring Operation: 32-6=26, Resulting Numbers: [82, 26] Generated Node #0,2,1: 19:[82, 26] Operation: 32-6=26 Exploring Operation: 82-6=76, Resulting Numbers: [32, 76] Generated Node #0,2,2: 19:[32, 76] Operation: 82-6=76 Moving to Node #0,0 Current State: 19:[32, 95, 7], Operations: ['89-82=7'] Exploring Operation: 32-7=25, Resulting Numbers: [95, 25] Generated Node #0,0,0: 19:[95, 25] Operation: 32-7=25 Exploring Operation: 95-32=63, Resulting Numbers: [7, 63] Generated Node #0,0,1: 19:[7, 63] Operation: 95-32=63 Exploring Operation: 95-7=88, Resulting Numbers: [32, 88] Generated Node #0,0,2: 19:[32, 88] Operation: 95-7=88 Moving to Node #0,2,0 Current State: 19:[6, 50], Operations: ['95-89=6', '82-32=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,19 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[7, 63], Operations: ['89-82=7', '95-32=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[32, 76], Operations: ['95-89=6', '82-6=76'] Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[82, 26], Operations: ['95-89=6', '32-6=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,19 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[32, 88], Operations: ['89-82=7', '95-7=88'] Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,19 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[95, 25], Operations: ['89-82=7', '32-7=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 95, 41, 35, 92 ]
73
[ "95-41=54", "35+92=127", "127-54=73" ]
Current State: 73:[95, 41, 35, 92], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [35, 92, 54] Generated Node #2: [35, 92, 54] from Operation: 95-41=54 Current State: 73:[35, 92, 54], Operations: ['95-41=54'] Exploring Operation: 35+92=127, Resulting Numbers: [54, 127] Generated Node #3: [54, 127] from Operation: 35+92=127 Current State: 73:[54, 127], Operations: ['95-41=54', '35+92=127'] Exploring Operation: 127-54=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[95, 41, 35, 92], Operations: [] Exploring Operation: 41+35=76, Resulting Numbers: [95, 92, 76] Generated Node #0,0: 73:[95, 92, 76] Operation: 41+35=76 Moving to Node #0,0 Current State: 73:[95, 92, 76], Operations: ['41+35=76'] Exploring Operation: 95-92=3, Resulting Numbers: [76, 3] Generated Node #0,0,0: 73:[76, 3] Operation: 95-92=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[76, 3], Operations: ['41+35=76', '95-92=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[95, 41, 35, 92], Operations: [] Exploring Operation: 41+35=76, Resulting Numbers: [95, 92, 76] Generated Node #0,0: 73:[95, 92, 76] Operation: 41+35=76 Moving to Node #0,0 Current State: 73:[95, 92, 76], Operations: ['41+35=76'] Exploring Operation: 95-92=3, Resulting Numbers: [76, 3] Generated Node #0,0,0: 73:[76, 3] Operation: 95-92=3 Moving to Node #0,0,0 Current State: 73:[76, 3], Operations: ['41+35=76', '95-92=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 44, 44, 55, 69 ]
65
[ "55-44=11", "44/11=4", "69-4=65" ]
Current State: 65:[44, 44, 55, 69], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [69, 11] Generated Node #2: [69, 11] from Operation: 55-44=11 Current State: 65:[69, 11], Operations: ['55-44=11'] Exploring Operation: 44/11=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 44/11=4 Current State: 65:[69, 4], Operations: ['55-44=11', '44/11=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[44, 44, 55, 69], Operations: [] Exploring Operation: 44+44=88, Resulting Numbers: [55, 69, 88] Generated Node #0,0: 65:[55, 69, 88] Operation: 44+44=88 Exploring Operation: 44/44=1, Resulting Numbers: [55, 69, 1] Generated Node #0,1: 65:[55, 69, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [55, 69, 0] Generated Node #0,2: 65:[55, 69, 0] Operation: 44-44=0 Exploring Operation: 55-44=11, Resulting Numbers: [44, 69, 11] Generated Node #0,3: 65:[44, 69, 11] Operation: 55-44=11 Exploring Operation: 55-44=11, Resulting Numbers: [44, 69, 11] Generated Node #0,4: 65:[44, 69, 11] Operation: 55-44=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[55, 69, 1], Operations: ['44/44=1'] Exploring Operation: 55+1=56, Resulting Numbers: [69, 56] Generated Node #0,1,0: 65:[69, 56] Operation: 55+1=56 Exploring Operation: 55/1=55, Resulting Numbers: [69, 55] Generated Node #0,1,1: 65:[69, 55] Operation: 55/1=55 Exploring Operation: 55*1=55, Resulting Numbers: [69, 55] Generated Node #0,1,2: 65:[69, 55] Operation: 55*1=55 Exploring Operation: 69-55=14, Resulting Numbers: [1, 14] Generated Node #0,1,3: 65:[1, 14] Operation: 69-55=14 Exploring Operation: 69-1=68, Resulting Numbers: [55, 68] Generated Node #0,1,4: 65:[55, 68] Operation: 69-1=68 Moving to Node #0,1,3 Current State: 65:[1, 14], Operations: ['44/44=1', '69-55=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[55, 68], Operations: ['44/44=1', '69-1=68'] Exploring Operation: 55+68=123, Resulting Numbers: [123] 123,65 unequal: No Solution Exploring Operation: 55*68=3740, Resulting Numbers: [3740] 3740,65 unequal: No Solution Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[69, 56], Operations: ['44/44=1', '55+1=56'] Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,65 unequal: No Solution Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,65 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[69, 55], Operations: ['44/44=1', '55/1=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[69, 55], Operations: ['44/44=1', '55*1=55'] Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[55, 69, 0], Operations: ['44-44=0'] Exploring Operation: 55*0=0, Resulting Numbers: [69, 0] Generated Node #0,2,0: 65:[69, 0] Operation: 55*0=0 Exploring Operation: 55+0=55, Resulting Numbers: [69, 55] Generated Node #0,2,1: 65:[69, 55] Operation: 55+0=55 Exploring Operation: 55-0=55, Resulting Numbers: [69, 55] Generated Node #0,2,2: 65:[69, 55] Operation: 55-0=55 Exploring Operation: 69+0=69, Resulting Numbers: [55, 69] Generated Node #0,2,3: 65:[55, 69] Operation: 69+0=69 Exploring Operation: 69-55=14, Resulting Numbers: [0, 14] Generated Node #0,2,4: 65:[0, 14] Operation: 69-55=14 Moving to Node #0,2,4 Current State: 65:[0, 14], Operations: ['44-44=0', '69-55=14'] Exploring Operation: 0+14=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 0*14=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[69, 0], Operations: ['44-44=0', '55*0=0'] Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 69*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[69, 55], Operations: ['44-44=0', '55+0=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[69, 55], Operations: ['44-44=0', '55-0=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[55, 69], Operations: ['44-44=0', '69+0=69'] Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[44, 69, 11], Operations: ['55-44=11'] Exploring Operation: 44+11=55, Resulting Numbers: [69, 55] Generated Node #0,3,0: 65:[69, 55] Operation: 44+11=55 Exploring Operation: 69-44=25, Resulting Numbers: [11, 25] Generated Node #0,3,1: 65:[11, 25] Operation: 69-44=25 Exploring Operation: 44-11=33, Resulting Numbers: [69, 33] Generated Node #0,3,2: 65:[69, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [69, 4] Generated Node #0,3,3: 65:[69, 4] Operation: 44/11=4 Exploring Operation: 69-11=58, Resulting Numbers: [44, 58] Generated Node #0,3,4: 65:[44, 58] Operation: 69-11=58 Moving to Node #0,3,3 Current State: 65:[69, 4], Operations: ['55-44=11', '44/11=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[44, 44, 55, 69], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [44, 69, 11] Generated Node #0,3: 65:[44, 69, 11] Operation: 55-44=11 Moving to Node #0,3 Current State: 65:[44, 69, 11], Operations: ['55-44=11'] Exploring Operation: 44/11=4, Resulting Numbers: [69, 4] Generated Node #0,3,3: 65:[69, 4] Operation: 44/11=4 Moving to Node #0,3,3 Current State: 65:[69, 4], Operations: ['55-44=11', '44/11=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 2, 19, 74, 38 ]
73
[ "2*19=38", "38/38=1", "74-1=73" ]
Current State: 73:[2, 19, 74, 38], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [74, 38, 38] Generated Node #2: [74, 38, 38] from Operation: 2*19=38 Current State: 73:[74, 38, 38], Operations: ['2*19=38'] Exploring Operation: 38/38=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 38/38=1 Current State: 73:[74, 1], Operations: ['2*19=38', '38/38=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[2, 19, 74, 38], Operations: [] Exploring Operation: 2*38=76, Resulting Numbers: [19, 74, 76] Generated Node #0,0: 73:[19, 74, 76] Operation: 2*38=76 Exploring Operation: 2+19=21, Resulting Numbers: [74, 38, 21] Generated Node #0,1: 73:[74, 38, 21] Operation: 2+19=21 Exploring Operation: 19+38=57, Resulting Numbers: [2, 74, 57] Generated Node #0,2: 73:[2, 74, 57] Operation: 19+38=57 Exploring Operation: 2+38=40, Resulting Numbers: [19, 74, 40] Generated Node #0,3: 73:[19, 74, 40] Operation: 2+38=40 Exploring Operation: 2*19=38, Resulting Numbers: [74, 38, 38] Generated Node #0,4: 73:[74, 38, 38] Operation: 2*19=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[19, 74, 76], Operations: ['2*38=76'] Exploring Operation: 76/19=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 73:[74, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [74, 57] Generated Node #0,0,1: 73:[74, 57] Operation: 76-19=57 Exploring Operation: 19+76=95, Resulting Numbers: [74, 95] Generated Node #0,0,2: 73:[74, 95] Operation: 19+76=95 Exploring Operation: 19+74=93, Resulting Numbers: [76, 93] Generated Node #0,0,3: 73:[76, 93] Operation: 19+74=93 Exploring Operation: 74-19=55, Resulting Numbers: [76, 55] Generated Node #0,0,4: 73:[76, 55] Operation: 74-19=55 Moving to Node #0,0,1 Current State: 73:[74, 57], Operations: ['2*38=76', '76-19=57'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,73 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[76, 55], Operations: ['2*38=76', '74-19=55'] Exploring Operation: 76+55=131, Resulting Numbers: [131] 131,73 unequal: No Solution Exploring Operation: 76*55=4180, Resulting Numbers: [4180] 4180,73 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[74, 95], Operations: ['2*38=76', '19+76=95'] Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,73 unequal: No Solution Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[76, 93], Operations: ['2*38=76', '19+74=93'] Exploring Operation: 76*93=7068, Resulting Numbers: [7068] 7068,73 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 76+93=169, Resulting Numbers: [169] 169,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[74, 4], Operations: ['2*38=76', '76/19=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[74, 38, 38], Operations: ['2*19=38'] Exploring Operation: 38/38=1, Resulting Numbers: [74, 1] Generated Node #0,4,0: 73:[74, 1] Operation: 38/38=1 Exploring Operation: 38+38=76, Resulting Numbers: [74, 76] Generated Node #0,4,1: 73:[74, 76] Operation: 38+38=76 Exploring Operation: 74+38=112, Resulting Numbers: [38, 112] Generated Node #0,4,2: 73:[38, 112] Operation: 74+38=112 Exploring Operation: 74-38=36, Resulting Numbers: [38, 36] Generated Node #0,4,3: 73:[38, 36] Operation: 74-38=36 Exploring Operation: 74-38=36, Resulting Numbers: [38, 36] Generated Node #0,4,4: 73:[38, 36] Operation: 74-38=36 Moving to Node #0,4,1 Current State: 73:[74, 76], Operations: ['2*19=38', '38+38=76'] Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[38, 36], Operations: ['2*19=38', '74-38=36'] Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,73 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[38, 36], Operations: ['2*19=38', '74-38=36'] Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,73 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[74, 1], Operations: ['2*19=38', '38/38=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[2, 19, 74, 38], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [74, 38, 38] Generated Node #0,4: 73:[74, 38, 38] Operation: 2*19=38 Moving to Node #0,4 Current State: 73:[74, 38, 38], Operations: ['2*19=38'] Exploring Operation: 38/38=1, Resulting Numbers: [74, 1] Generated Node #0,4,0: 73:[74, 1] Operation: 38/38=1 Moving to Node #0,4,0 Current State: 73:[74, 1], Operations: ['2*19=38', '38/38=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 68, 34, 68, 90 ]
24
[ "68/34=2", "90-68=22", "2+22=24" ]
Current State: 24:[68, 34, 68, 90], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [90, 2] Generated Node #2: [90, 2] from Operation: 68/34=2 Current State: 24:[90, 2], Operations: ['68/34=2'] Exploring Operation: 90-68=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 90-68=22 Current State: 24:[2, 22], Operations: ['68/34=2', '90-68=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[68, 34, 68, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [68, 34, 22] Generated Node #0,0: 24:[68, 34, 22] Operation: 90-68=22 Exploring Operation: 90-68=22, Resulting Numbers: [34, 68, 22] Generated Node #0,1: 24:[34, 68, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[68, 34, 22], Operations: ['90-68=22'] Exploring Operation: 68-34=34, Resulting Numbers: [22, 34] Generated Node #0,0,0: 24:[22, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 24:[22, 2] Operation: 68/34=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[22, 2], Operations: ['90-68=22', '68/34=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[68, 34, 68, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [68, 34, 22] Generated Node #0,0: 24:[68, 34, 22] Operation: 90-68=22 Moving to Node #0,0 Current State: 24:[68, 34, 22], Operations: ['90-68=22'] Exploring Operation: 68/34=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 24:[22, 2] Operation: 68/34=2 Moving to Node #0,0,1 Current State: 24:[22, 2], Operations: ['90-68=22', '68/34=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 16, 61, 8, 63 ]
65
[ "16/8=2", "63*2=126", "126-61=65" ]
Current State: 65:[16, 61, 8, 63], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [61, 63, 2] Generated Node #2: [61, 63, 2] from Operation: 16/8=2 Current State: 65:[61, 63, 2], Operations: ['16/8=2'] Exploring Operation: 63*2=126, Resulting Numbers: [61, 126] Generated Node #3: [61, 126] from Operation: 63*2=126 Current State: 65:[61, 126], Operations: ['16/8=2', '63*2=126'] Exploring Operation: 126-61=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[16, 61, 8, 63], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [61, 63, 2] Generated Node #0,0: 65:[61, 63, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [61, 63, 8] Generated Node #0,1: 65:[61, 63, 8] Operation: 16-8=8 Exploring Operation: 61+8=69, Resulting Numbers: [16, 63, 69] Generated Node #0,2: 65:[16, 63, 69] Operation: 61+8=69 Moving to Node #0,0 Current State: 65:[61, 63, 2], Operations: ['16/8=2'] Exploring Operation: 63-61=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 65:[2, 2] Operation: 63-61=2 Exploring Operation: 63+2=65, Resulting Numbers: [61, 65] Generated Node #0,0,1: 65:[61, 65] Operation: 63+2=65 Exploring Operation: 61+2=63, Resulting Numbers: [63, 63] Generated Node #0,0,2: 65:[63, 63] Operation: 61+2=63 Moving to Node #0,1 Current State: 65:[61, 63, 8], Operations: ['16-8=8'] Exploring Operation: 61+8=69, Resulting Numbers: [63, 69] Generated Node #0,1,0: 65:[63, 69] Operation: 61+8=69 Exploring Operation: 63+8=71, Resulting Numbers: [61, 71] Generated Node #0,1,1: 65:[61, 71] Operation: 63+8=71 Exploring Operation: 63-61=2, Resulting Numbers: [8, 2] Generated Node #0,1,2: 65:[8, 2] Operation: 63-61=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[63, 69], Operations: ['16-8=8', '61+8=69'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 63*69=4347, Resulting Numbers: [4347] 4347,65 unequal: No Solution Exploring Operation: 63+69=132, Resulting Numbers: [132] 132,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[8, 2], Operations: ['16-8=8', '63-61=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[61, 71], Operations: ['16-8=8', '63+8=71'] Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,65 unequal: No Solution Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,65 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 65:[16, 63, 69], Operations: ['61+8=69'] Exploring Operation: 69-63=6, Resulting Numbers: [16, 6] Generated Node #0,2,0: 65:[16, 6] Operation: 69-63=6 Exploring Operation: 16+63=79, Resulting Numbers: [69, 79] Generated Node #0,2,1: 65:[69, 79] Operation: 16+63=79 Exploring Operation: 69-16=53, Resulting Numbers: [63, 53] Generated Node #0,2,2: 65:[63, 53] Operation: 69-16=53 Moving to Node #0,0,1 Current State: 65:[61, 65], Operations: ['16/8=2', '63+2=65'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[63, 63], Operations: ['16/8=2', '61+2=63'] Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[16, 6], Operations: ['61+8=69', '69-63=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[2, 2], Operations: ['16/8=2', '63-61=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[63, 53], Operations: ['61+8=69', '69-16=53'] Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,65 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[69, 79], Operations: ['61+8=69', '16+63=79'] Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,65 unequal: No Solution Exploring Operation: 69*79=5451, Resulting Numbers: [5451] 5451,65 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 61, 50, 22, 79 ]
10
[ "61+50=111", "22+79=101", "111-101=10" ]
Current State: 10:[61, 50, 22, 79], Operations: [] Exploring Operation: 61+50=111, Resulting Numbers: [22, 79, 111] Generated Node #2: [22, 79, 111] from Operation: 61+50=111 Current State: 10:[22, 79, 111], Operations: ['61+50=111'] Exploring Operation: 22+79=101, Resulting Numbers: [111, 101] Generated Node #3: [111, 101] from Operation: 22+79=101 Current State: 10:[111, 101], Operations: ['61+50=111', '22+79=101'] Exploring Operation: 111-101=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[61, 50, 22, 79], Operations: [] Exploring Operation: 50-22=28, Resulting Numbers: [61, 79, 28] Generated Node #0,0: 10:[61, 79, 28] Operation: 50-22=28 Exploring Operation: 79-61=18, Resulting Numbers: [50, 22, 18] Generated Node #0,1: 10:[50, 22, 18] Operation: 79-61=18 Exploring Operation: 61-22=39, Resulting Numbers: [50, 79, 39] Generated Node #0,2: 10:[50, 79, 39] Operation: 61-22=39 Exploring Operation: 61-50=11, Resulting Numbers: [22, 79, 11] Generated Node #0,3: 10:[22, 79, 11] Operation: 61-50=11 Exploring Operation: 79-50=29, Resulting Numbers: [61, 22, 29] Generated Node #0,4: 10:[61, 22, 29] Operation: 79-50=29 Moving to Node #0,1 Current State: 10:[50, 22, 18], Operations: ['79-61=18'] Exploring Operation: 22-18=4, Resulting Numbers: [50, 4] Generated Node #0,1,0: 10:[50, 4] Operation: 22-18=4 Exploring Operation: 50+18=68, Resulting Numbers: [22, 68] Generated Node #0,1,1: 10:[22, 68] Operation: 50+18=68 Exploring Operation: 50+22=72, Resulting Numbers: [18, 72] Generated Node #0,1,2: 10:[18, 72] Operation: 50+22=72 Exploring Operation: 50-18=32, Resulting Numbers: [22, 32] Generated Node #0,1,3: 10:[22, 32] Operation: 50-18=32 Exploring Operation: 50-22=28, Resulting Numbers: [18, 28] Generated Node #0,1,4: 10:[18, 28] Operation: 50-22=28 Moving to Node #0,4 Current State: 10:[61, 22, 29], Operations: ['79-50=29'] Exploring Operation: 61+29=90, Resulting Numbers: [22, 90] Generated Node #0,4,0: 10:[22, 90] Operation: 61+29=90 Exploring Operation: 61+22=83, Resulting Numbers: [29, 83] Generated Node #0,4,1: 10:[29, 83] Operation: 61+22=83 Exploring Operation: 61-29=32, Resulting Numbers: [22, 32] Generated Node #0,4,2: 10:[22, 32] Operation: 61-29=32 Exploring Operation: 29-22=7, Resulting Numbers: [61, 7] Generated Node #0,4,3: 10:[61, 7] Operation: 29-22=7 Exploring Operation: 61-22=39, Resulting Numbers: [29, 39] Generated Node #0,4,4: 10:[29, 39] Operation: 61-22=39 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[22, 32], Operations: ['79-50=29', '61-29=32'] Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,10 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[61, 50, 22, 79], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [61, 22, 29] Generated Node #0,4: 10:[61, 22, 29] Operation: 79-50=29 Moving to Node #0,4 Current State: 10:[61, 22, 29], Operations: ['79-50=29'] Exploring Operation: 61-29=32, Resulting Numbers: [22, 32] Generated Node #0,4,2: 10:[22, 32] Operation: 61-29=32 Moving to Node #0,4,2 Current State: 10:[22, 32], Operations: ['79-50=29', '61-29=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 72, 94, 47, 94 ]
26
[ "72-47=25", "94/94=1", "25+1=26" ]
Current State: 26:[72, 94, 47, 94], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [94, 94, 25] Generated Node #2: [94, 94, 25] from Operation: 72-47=25 Current State: 26:[94, 94, 25], Operations: ['72-47=25'] Exploring Operation: 94/94=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 94/94=1 Current State: 26:[25, 1], Operations: ['72-47=25', '94/94=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[72, 94, 47, 94], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [94, 47, 22] Generated Node #0,0: 26:[94, 47, 22] Operation: 94-72=22 Exploring Operation: 94-94=0, Resulting Numbers: [72, 47, 0] Generated Node #0,1: 26:[72, 47, 0] Operation: 94-94=0 Exploring Operation: 94/47=2, Resulting Numbers: [72, 94, 2] Generated Node #0,2: 26:[72, 94, 2] Operation: 94/47=2 Exploring Operation: 94-72=22, Resulting Numbers: [47, 94, 22] Generated Node #0,3: 26:[47, 94, 22] Operation: 94-72=22 Exploring Operation: 94/94=1, Resulting Numbers: [72, 47, 1] Generated Node #0,4: 26:[72, 47, 1] Operation: 94/94=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[72, 47, 1], Operations: ['94/94=1'] Exploring Operation: 72-47=25, Resulting Numbers: [1, 25] Generated Node #0,4,0: 26:[1, 25] Operation: 72-47=25 Exploring Operation: 72-1=71, Resulting Numbers: [47, 71] Generated Node #0,4,1: 26:[47, 71] Operation: 72-1=71 Exploring Operation: 72*1=72, Resulting Numbers: [47, 72] Generated Node #0,4,2: 26:[47, 72] Operation: 72*1=72 Exploring Operation: 72/1=72, Resulting Numbers: [47, 72] Generated Node #0,4,3: 26:[47, 72] Operation: 72/1=72 Exploring Operation: 47-1=46, Resulting Numbers: [72, 46] Generated Node #0,4,4: 26:[72, 46] Operation: 47-1=46 Moving to Node #0,4,0 Current State: 26:[1, 25], Operations: ['94/94=1', '72-47=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[72, 94, 47, 94], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [72, 47, 1] Generated Node #0,4: 26:[72, 47, 1] Operation: 94/94=1 Moving to Node #0,4 Current State: 26:[72, 47, 1], Operations: ['94/94=1'] Exploring Operation: 72-47=25, Resulting Numbers: [1, 25] Generated Node #0,4,0: 26:[1, 25] Operation: 72-47=25 Moving to Node #0,4,0 Current State: 26:[1, 25], Operations: ['94/94=1', '72-47=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 90, 11, 6, 44 ]
41
[ "90-11=79", "44-6=38", "79-38=41" ]
Current State: 41:[90, 11, 6, 44], Operations: [] Exploring Operation: 90-11=79, Resulting Numbers: [6, 44, 79] Generated Node #2: [6, 44, 79] from Operation: 90-11=79 Current State: 41:[6, 44, 79], Operations: ['90-11=79'] Exploring Operation: 44-6=38, Resulting Numbers: [79, 38] Generated Node #3: [79, 38] from Operation: 44-6=38 Current State: 41:[79, 38], Operations: ['90-11=79', '44-6=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[90, 11, 6, 44], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [11, 6, 46] Generated Node #0,0: 41:[11, 6, 46] Operation: 90-44=46 Exploring Operation: 90/6=15, Resulting Numbers: [11, 44, 15] Generated Node #0,1: 41:[11, 44, 15] Operation: 90/6=15 Exploring Operation: 90-11=79, Resulting Numbers: [6, 44, 79] Generated Node #0,2: 41:[6, 44, 79] Operation: 90-11=79 Moving to Node #0,1 Current State: 41:[11, 44, 15], Operations: ['90/6=15'] Exploring Operation: 11+44=55, Resulting Numbers: [15, 55] Generated Node #0,1,0: 41:[15, 55] Operation: 11+44=55 Exploring Operation: 11+15=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 41:[44, 26] Operation: 11+15=26 Exploring Operation: 44-11=33, Resulting Numbers: [15, 33] Generated Node #0,1,2: 41:[15, 33] Operation: 44-11=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[44, 26], Operations: ['90/6=15', '11+15=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,41 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[15, 33], Operations: ['90/6=15', '44-11=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,41 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[15, 55], Operations: ['90/6=15', '11+44=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,41 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: 41:[11, 6, 46], Operations: ['90-44=46'] Exploring Operation: 11*6=66, Resulting Numbers: [46, 66] Generated Node #0,0,0: 41:[46, 66] Operation: 11*6=66 Exploring Operation: 46-6=40, Resulting Numbers: [11, 40] Generated Node #0,0,1: 41:[11, 40] Operation: 46-6=40 Exploring Operation: 11+6=17, Resulting Numbers: [46, 17] Generated Node #0,0,2: 41:[46, 17] Operation: 11+6=17 Moving to Node #0,2 Current State: 41:[6, 44, 79], Operations: ['90-11=79'] Exploring Operation: 79-44=35, Resulting Numbers: [6, 35] Generated Node #0,2,0: 41:[6, 35] Operation: 79-44=35 Exploring Operation: 79-6=73, Resulting Numbers: [44, 73] Generated Node #0,2,1: 41:[44, 73] Operation: 79-6=73 Exploring Operation: 44-6=38, Resulting Numbers: [79, 38] Generated Node #0,2,2: 41:[79, 38] Operation: 44-6=38 Moving to Node #0,0,2 Current State: 41:[46, 17], Operations: ['90-44=46', '11+6=17'] Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,41 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[46, 66], Operations: ['90-44=46', '11*6=66'] Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,41 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[11, 40], Operations: ['90-44=46', '46-6=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[44, 73], Operations: ['90-11=79', '79-6=73'] Exploring Operation: 44*73=3212, Resulting Numbers: [3212] 3212,41 unequal: No Solution Exploring Operation: 44+73=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[79, 38], Operations: ['90-11=79', '44-6=38'] Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,41 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[90, 11, 6, 44], Operations: [] Exploring Operation: 90-11=79, Resulting Numbers: [6, 44, 79] Generated Node #0,2: 41:[6, 44, 79] Operation: 90-11=79 Moving to Node #0,2 Current State: 41:[6, 44, 79], Operations: ['90-11=79'] Exploring Operation: 44-6=38, Resulting Numbers: [79, 38] Generated Node #0,2,2: 41:[79, 38] Operation: 44-6=38 Moving to Node #0,2,2 Current State: 41:[79, 38], Operations: ['90-11=79', '44-6=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.965278
hs_3
mult_heuristic
[ 82, 65, 9, 22 ]
87
[ "22-9=13", "65/13=5", "82+5=87" ]
Current State: 87:[82, 65, 9, 22], Operations: [] Exploring Operation: 22-9=13, Resulting Numbers: [82, 65, 13] Generated Node #2: [82, 65, 13] from Operation: 22-9=13 Current State: 87:[82, 65, 13], Operations: ['22-9=13'] Exploring Operation: 65/13=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 65/13=5 Current State: 87:[82, 5], Operations: ['22-9=13', '65/13=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[82, 65, 9, 22], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [9, 22, 17] Generated Node #0,0: 87:[9, 22, 17] Operation: 82-65=17 Exploring Operation: 65+22=87, Resulting Numbers: [82, 9, 87] Generated Node #0,1: 87:[82, 9, 87] Operation: 65+22=87 Exploring Operation: 65+9=74, Resulting Numbers: [82, 22, 74] Generated Node #0,2: 87:[82, 22, 74] Operation: 65+9=74 Exploring Operation: 65-22=43, Resulting Numbers: [82, 9, 43] Generated Node #0,3: 87:[82, 9, 43] Operation: 65-22=43 Exploring Operation: 9+22=31, Resulting Numbers: [82, 65, 31] Generated Node #0,4: 87:[82, 65, 31] Operation: 9+22=31 Moving to Node #0,1 Current State: 87:[82, 9, 87], Operations: ['65+22=87'] Exploring Operation: 82+9=91, Resulting Numbers: [87, 91] Generated Node #0,1,0: 87:[87, 91] Operation: 82+9=91 Exploring Operation: 82-9=73, Resulting Numbers: [87, 73] Generated Node #0,1,1: 87:[87, 73] Operation: 82-9=73 Exploring Operation: 87-82=5, Resulting Numbers: [9, 5] Generated Node #0,1,2: 87:[9, 5] Operation: 87-82=5 Exploring Operation: 9+87=96, Resulting Numbers: [82, 96] Generated Node #0,1,3: 87:[82, 96] Operation: 9+87=96 Exploring Operation: 87-9=78, Resulting Numbers: [82, 78] Generated Node #0,1,4: 87:[82, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[87, 91], Operations: ['65+22=87', '82+9=91'] Exploring Operation: 87+91=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 87*91=7917, Resulting Numbers: [7917] 7917,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[9, 5], Operations: ['65+22=87', '87-82=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[87, 73], Operations: ['65+22=87', '82-9=73'] Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,87 unequal: No Solution Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[82, 96], Operations: ['65+22=87', '9+87=96'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 82*96=7872, Resulting Numbers: [7872] 7872,87 unequal: No Solution Exploring Operation: 82+96=178, Resulting Numbers: [178] 178,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[82, 78], Operations: ['65+22=87', '87-9=78'] Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 82+78=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 82*78=6396, Resulting Numbers: [6396] 6396,87 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: 87:[82, 22, 74], Operations: ['65+9=74'] Exploring Operation: 74-22=52, Resulting Numbers: [82, 52] Generated Node #0,2,0: 87:[82, 52] Operation: 74-22=52 Exploring Operation: 82+22=104, Resulting Numbers: [74, 104] Generated Node #0,2,1: 87:[74, 104] Operation: 82+22=104 Exploring Operation: 22+74=96, Resulting Numbers: [82, 96] Generated Node #0,2,2: 87:[82, 96] Operation: 22+74=96 Exploring Operation: 82-22=60, Resulting Numbers: [74, 60] Generated Node #0,2,3: 87:[74, 60] Operation: 82-22=60 Exploring Operation: 82-74=8, Resulting Numbers: [22, 8] Generated Node #0,2,4: 87:[22, 8] Operation: 82-74=8 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[22, 8], Operations: ['65+9=74', '82-74=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[82, 96], Operations: ['65+9=74', '22+74=96'] Exploring Operation: 82+96=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 82*96=7872, Resulting Numbers: [7872] 7872,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[82, 52], Operations: ['65+9=74', '74-22=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,87 unequal: No Solution Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[74, 104], Operations: ['65+9=74', '82+22=104'] Exploring Operation: 74+104=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 74*104=7696, Resulting Numbers: [7696] 7696,87 unequal: No Solution Exploring Operation: 104-74=30, Resulting Numbers: [30] 30,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[74, 60], Operations: ['65+9=74', '82-22=60'] Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,87 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,87 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: 87:[9, 22, 17], Operations: ['82-65=17'] Exploring Operation: 22-17=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 87:[9, 5] Operation: 22-17=5 Exploring Operation: 17-9=8, Resulting Numbers: [22, 8] Generated Node #0,0,1: 87:[22, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [22, 26] Generated Node #0,0,2: 87:[22, 26] Operation: 9+17=26 Exploring Operation: 22+17=39, Resulting Numbers: [9, 39] Generated Node #0,0,3: 87:[9, 39] Operation: 22+17=39 Exploring Operation: 9+22=31, Resulting Numbers: [17, 31] Generated Node #0,0,4: 87:[17, 31] Operation: 9+22=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[9, 5], Operations: ['82-65=17', '22-17=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[22, 26], Operations: ['82-65=17', '9+17=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[22, 8], Operations: ['82-65=17', '17-9=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 87:[17, 31], Operations: ['82-65=17', '9+22=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[9, 39], Operations: ['82-65=17', '22+17=39'] Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,87 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,87 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: 87:[82, 9, 43], Operations: ['65-22=43'] Exploring Operation: 82-9=73, Resulting Numbers: [43, 73] Generated Node #0,3,0: 87:[43, 73] Operation: 82-9=73 Exploring Operation: 82-43=39, Resulting Numbers: [9, 39] Generated Node #0,3,1: 87:[9, 39] Operation: 82-43=39 Exploring Operation: 9+43=52, Resulting Numbers: [82, 52] Generated Node #0,3,2: 87:[82, 52] Operation: 9+43=52 Exploring Operation: 82+9=91, Resulting Numbers: [43, 91] Generated Node #0,3,3: 87:[43, 91] Operation: 82+9=91 Exploring Operation: 43-9=34, Resulting Numbers: [82, 34] Generated Node #0,3,4: 87:[82, 34] Operation: 43-9=34 Moving to Node #0,4 Current State: 87:[82, 65, 31], Operations: ['9+22=31'] Exploring Operation: 82+31=113, Resulting Numbers: [65, 113] Generated Node #0,4,0: 87:[65, 113] Operation: 82+31=113 Exploring Operation: 65+31=96, Resulting Numbers: [82, 96] Generated Node #0,4,1: 87:[82, 96] Operation: 65+31=96 Exploring Operation: 65-31=34, Resulting Numbers: [82, 34] Generated Node #0,4,2: 87:[82, 34] Operation: 65-31=34 Exploring Operation: 82-65=17, Resulting Numbers: [31, 17] Generated Node #0,4,3: 87:[31, 17] Operation: 82-65=17 Exploring Operation: 82-31=51, Resulting Numbers: [65, 51] Generated Node #0,4,4: 87:[65, 51] Operation: 82-31=51 Moving to Node #0,3,4 Current State: 87:[82, 34], Operations: ['65-22=43', '43-9=34'] Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,87 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,87 unequal: No Solution Moving to Node #0,4,2 Current State: 87:[82, 34], Operations: ['9+22=31', '65-31=34'] Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[82, 96], Operations: ['9+22=31', '65+31=96'] Exploring Operation: 82+96=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 82*96=7872, Resulting Numbers: [7872] 7872,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[31, 17], Operations: ['9+22=31', '82-65=17'] Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,87 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[9, 39], Operations: ['65-22=43', '82-43=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[43, 91], Operations: ['65-22=43', '82+9=91'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 43+91=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 43*91=3913, Resulting Numbers: [3913] 3913,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[82, 52], Operations: ['65-22=43', '9+43=52'] Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[43, 73], Operations: ['65-22=43', '82-9=73'] Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,87 unequal: No Solution Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[65, 51], Operations: ['9+22=31', '82-31=51'] Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,87 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[65, 113], Operations: ['9+22=31', '82+31=113'] Exploring Operation: 65*113=7345, Resulting Numbers: [7345] 7345,87 unequal: No Solution Exploring Operation: 65+113=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 113-65=48, Resulting Numbers: [48] 48,87 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 57, 90, 27, 91 ]
85
[ "90-57=33", "27+91=118", "118-33=85" ]
Current State: 85:[57, 90, 27, 91], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [27, 91, 33] Generated Node #2: [27, 91, 33] from Operation: 90-57=33 Current State: 85:[27, 91, 33], Operations: ['90-57=33'] Exploring Operation: 27+91=118, Resulting Numbers: [33, 118] Generated Node #3: [33, 118] from Operation: 27+91=118 Current State: 85:[33, 118], Operations: ['90-57=33', '27+91=118'] Exploring Operation: 118-33=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[57, 90, 27, 91], Operations: [] Exploring Operation: 57+27=84, Resulting Numbers: [90, 91, 84] Generated Node #0,0: 85:[90, 91, 84] Operation: 57+27=84 Exploring Operation: 57-27=30, Resulting Numbers: [90, 91, 30] Generated Node #0,1: 85:[90, 91, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[90, 91, 84], Operations: ['57+27=84'] Exploring Operation: 91-90=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 85:[84, 1] Operation: 91-90=1 Exploring Operation: 90-84=6, Resulting Numbers: [91, 6] Generated Node #0,0,1: 85:[91, 6] Operation: 90-84=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[84, 1], Operations: ['57+27=84', '91-90=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[57, 90, 27, 91], Operations: [] Exploring Operation: 57+27=84, Resulting Numbers: [90, 91, 84] Generated Node #0,0: 85:[90, 91, 84] Operation: 57+27=84 Moving to Node #0,0 Current State: 85:[90, 91, 84], Operations: ['57+27=84'] Exploring Operation: 91-90=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 85:[84, 1] Operation: 91-90=1 Moving to Node #0,0,0 Current State: 85:[84, 1], Operations: ['57+27=84', '91-90=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 4, 67, 70, 15 ]
63
[ "4*15=60", "70-67=3", "60+3=63" ]
Current State: 63:[4, 67, 70, 15], Operations: [] Exploring Operation: 4*15=60, Resulting Numbers: [67, 70, 60] Generated Node #2: [67, 70, 60] from Operation: 4*15=60 Current State: 63:[67, 70, 60], Operations: ['4*15=60'] Exploring Operation: 70-67=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 70-67=3 Current State: 63:[60, 3], Operations: ['4*15=60', '70-67=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 67, 70, 15], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [4, 15, 3] Generated Node #0,0: 63:[4, 15, 3] Operation: 70-67=3 Moving to Node #0,0 Current State: 63:[4, 15, 3], Operations: ['70-67=3'] Exploring Operation: 4+15=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 63:[3, 19] Operation: 4+15=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[3, 19], Operations: ['70-67=3', '4+15=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 51, 54, 2 ]
13
[ "44+51=95", "54*2=108", "108-95=13" ]
Current State: 13:[44, 51, 54, 2], Operations: [] Exploring Operation: 44+51=95, Resulting Numbers: [54, 2, 95] Generated Node #2: [54, 2, 95] from Operation: 44+51=95 Current State: 13:[54, 2, 95], Operations: ['44+51=95'] Exploring Operation: 54*2=108, Resulting Numbers: [95, 108] Generated Node #3: [95, 108] from Operation: 54*2=108 Current State: 13:[95, 108], Operations: ['44+51=95', '54*2=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[44, 51, 54, 2], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [51, 2, 10] Generated Node #0,0: 13:[51, 2, 10] Operation: 54-44=10 Exploring Operation: 54-51=3, Resulting Numbers: [44, 2, 3] Generated Node #0,1: 13:[44, 2, 3] Operation: 54-51=3 Moving to Node #0,0 Current State: 13:[51, 2, 10], Operations: ['54-44=10'] Exploring Operation: 51-2=49, Resulting Numbers: [10, 49] Generated Node #0,0,0: 13:[10, 49] Operation: 51-2=49 Exploring Operation: 51-10=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 13:[2, 41] Operation: 51-10=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[10, 49], Operations: ['54-44=10', '51-2=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,13 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,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,1 Current State: 13:[2, 41], Operations: ['54-44=10', '51-10=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,13 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: 13:[44, 2, 3], Operations: ['54-51=3'] Exploring Operation: 44/2=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 13:[3, 22] Operation: 44/2=22 Exploring Operation: 2*3=6, Resulting Numbers: [44, 6] Generated Node #0,1,1: 13:[44, 6] Operation: 2*3=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[3, 22], Operations: ['54-51=3', '44/2=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,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,1,1 Current State: 13:[44, 6], Operations: ['54-51=3', '2*3=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,13 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
[ 77, 49, 55, 63 ]
44
[ "77*63=4851", "4851/49=99", "99-55=44" ]
Current State: 44:[77, 49, 55, 63], Operations: [] Exploring Operation: 77*63=4851, Resulting Numbers: [49, 55, 4851] Generated Node #2: [49, 55, 4851] from Operation: 77*63=4851 Current State: 44:[49, 55, 4851], Operations: ['77*63=4851'] Exploring Operation: 4851/49=99, Resulting Numbers: [55, 99] Generated Node #3: [55, 99] from Operation: 4851/49=99 Current State: 44:[55, 99], Operations: ['77*63=4851', '4851/49=99'] Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[77, 49, 55, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [49, 55, 14] Generated Node #0,0: 44:[49, 55, 14] Operation: 77-63=14 Moving to Node #0,0 Current State: 44:[49, 55, 14], Operations: ['77-63=14'] Exploring Operation: 55-49=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 44:[14, 6] Operation: 55-49=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[14, 6], Operations: ['77-63=14', '55-49=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,44 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
[ 10, 87, 14, 17 ]
50
[ "87-17=70", "10*70=700", "700/14=50" ]
Current State: 50:[10, 87, 14, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [10, 14, 70] Generated Node #2: [10, 14, 70] from Operation: 87-17=70 Current State: 50:[10, 14, 70], Operations: ['87-17=70'] Exploring Operation: 10*70=700, Resulting Numbers: [14, 700] Generated Node #3: [14, 700] from Operation: 10*70=700 Current State: 50:[14, 700], Operations: ['87-17=70', '10*70=700'] Exploring Operation: 700/14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[10, 87, 14, 17], Operations: [] Exploring Operation: 87-14=73, Resulting Numbers: [10, 17, 73] Generated Node #0,0: 50:[10, 17, 73] Operation: 87-14=73 Exploring Operation: 10+17=27, Resulting Numbers: [87, 14, 27] Generated Node #0,1: 50:[87, 14, 27] Operation: 10+17=27 Exploring Operation: 87-17=70, Resulting Numbers: [10, 14, 70] Generated Node #0,2: 50:[10, 14, 70] Operation: 87-17=70 Exploring Operation: 17-14=3, Resulting Numbers: [10, 87, 3] Generated Node #0,3: 50:[10, 87, 3] Operation: 17-14=3 Exploring Operation: 87-10=77, Resulting Numbers: [14, 17, 77] Generated Node #0,4: 50:[14, 17, 77] Operation: 87-10=77 Moving to Node #0,2 Current State: 50:[10, 14, 70], Operations: ['87-17=70'] Exploring Operation: 70-10=60, Resulting Numbers: [14, 60] Generated Node #0,2,0: 50:[14, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [14, 7] Generated Node #0,2,1: 50:[14, 7] Operation: 70/10=7 Exploring Operation: 70/14=5, Resulting Numbers: [10, 5] Generated Node #0,2,2: 50:[10, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [10, 56] Generated Node #0,2,3: 50:[10, 56] Operation: 70-14=56 Exploring Operation: 10+14=24, Resulting Numbers: [70, 24] Generated Node #0,2,4: 50:[70, 24] Operation: 10+14=24 Moving to Node #0,0 Current State: 50:[10, 17, 73], Operations: ['87-14=73'] Exploring Operation: 73-10=63, Resulting Numbers: [17, 63] Generated Node #0,0,0: 50:[17, 63] Operation: 73-10=63 Exploring Operation: 10+73=83, Resulting Numbers: [17, 83] Generated Node #0,0,1: 50:[17, 83] Operation: 10+73=83 Exploring Operation: 17-10=7, Resulting Numbers: [73, 7] Generated Node #0,0,2: 50:[73, 7] Operation: 17-10=7 Exploring Operation: 73-17=56, Resulting Numbers: [10, 56] Generated Node #0,0,3: 50:[10, 56] Operation: 73-17=56 Exploring Operation: 10+17=27, Resulting Numbers: [73, 27] Generated Node #0,0,4: 50:[73, 27] Operation: 10+17=27 Moving to Node #0,3 Current State: 50:[10, 87, 3], Operations: ['17-14=3'] Exploring Operation: 10+3=13, Resulting Numbers: [87, 13] Generated Node #0,3,0: 50:[87, 13] Operation: 10+3=13 Exploring Operation: 87/3=29, Resulting Numbers: [10, 29] Generated Node #0,3,1: 50:[10, 29] Operation: 87/3=29 Exploring Operation: 10-3=7, Resulting Numbers: [87, 7] Generated Node #0,3,2: 50:[87, 7] Operation: 10-3=7 Exploring Operation: 87-3=84, Resulting Numbers: [10, 84] Generated Node #0,3,3: 50:[10, 84] Operation: 87-3=84 Exploring Operation: 87-10=77, Resulting Numbers: [3, 77] Generated Node #0,3,4: 50:[3, 77] Operation: 87-10=77 Moving to Node #0,4 Current State: 50:[14, 17, 77], Operations: ['87-10=77'] Exploring Operation: 77-17=60, Resulting Numbers: [14, 60] Generated Node #0,4,0: 50:[14, 60] Operation: 77-17=60 Exploring Operation: 14+77=91, Resulting Numbers: [17, 91] Generated Node #0,4,1: 50:[17, 91] Operation: 14+77=91 Exploring Operation: 14+17=31, Resulting Numbers: [77, 31] Generated Node #0,4,2: 50:[77, 31] Operation: 14+17=31 Exploring Operation: 17-14=3, Resulting Numbers: [77, 3] Generated Node #0,4,3: 50:[77, 3] Operation: 17-14=3 Exploring Operation: 77-14=63, Resulting Numbers: [17, 63] Generated Node #0,4,4: 50:[17, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 50:[14, 60], Operations: ['87-10=77', '77-17=60'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,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,4,4 Current State: 50:[17, 63], Operations: ['87-10=77', '77-14=63'] Exploring Operation: 17+63=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 17*63=1071, Resulting Numbers: [1071] 1071,50 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,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,4,3 Current State: 50:[77, 3], Operations: ['87-10=77', '17-14=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,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,4,2 Current State: 50:[77, 31], Operations: ['87-10=77', '14+17=31'] Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,50 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,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,4,1 Current State: 50:[17, 91], Operations: ['87-10=77', '14+77=91'] Exploring Operation: 17*91=1547, Resulting Numbers: [1547] 1547,50 unequal: No Solution Exploring Operation: 17+91=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,50 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: 50:[87, 14, 27], Operations: ['10+17=27'] Exploring Operation: 27-14=13, Resulting Numbers: [87, 13] Generated Node #0,1,0: 50:[87, 13] Operation: 27-14=13 Exploring Operation: 87+14=101, Resulting Numbers: [27, 101] Generated Node #0,1,1: 50:[27, 101] Operation: 87+14=101 Exploring Operation: 14+27=41, Resulting Numbers: [87, 41] Generated Node #0,1,2: 50:[87, 41] Operation: 14+27=41 Exploring Operation: 87-27=60, Resulting Numbers: [14, 60] Generated Node #0,1,3: 50:[14, 60] Operation: 87-27=60 Exploring Operation: 87-14=73, Resulting Numbers: [27, 73] Generated Node #0,1,4: 50:[27, 73] Operation: 87-14=73 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[14, 60], Operations: ['10+17=27', '87-27=60'] Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,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,4 Current State: 50:[27, 73], Operations: ['10+17=27', '87-14=73'] Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,50 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,50 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,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,0 Current State: 50:[87, 13], Operations: ['10+17=27', '27-14=13'] Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,50 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,50 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,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,2 Current State: 50:[87, 41], Operations: ['10+17=27', '14+27=41'] Exploring Operation: 87*41=3567, Resulting Numbers: [3567] 3567,50 unequal: No Solution Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,50 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,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,1 Current State: 50:[27, 101], Operations: ['10+17=27', '87+14=101'] Exploring Operation: 27+101=128, Resulting Numbers: [128] 128,50 unequal: No Solution Exploring Operation: 101-27=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 27*101=2727, Resulting Numbers: [2727] 2727,50 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: 50:[10, 5], Operations: ['87-17=70', '70/14=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[10, 87, 14, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [10, 14, 70] Generated Node #0,2: 50:[10, 14, 70] Operation: 87-17=70 Moving to Node #0,2 Current State: 50:[10, 14, 70], Operations: ['87-17=70'] Exploring Operation: 70/14=5, Resulting Numbers: [10, 5] Generated Node #0,2,2: 50:[10, 5] Operation: 70/14=5 Moving to Node #0,2,2 Current State: 50:[10, 5], Operations: ['87-17=70', '70/14=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.943576
hs_5
mult_heuristic
[ 66, 90, 86, 20 ]
61
[ "90-86=4", "20/4=5", "66-5=61" ]
Current State: 61:[66, 90, 86, 20], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [66, 20, 4] Generated Node #2: [66, 20, 4] from Operation: 90-86=4 Current State: 61:[66, 20, 4], Operations: ['90-86=4'] Exploring Operation: 20/4=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 20/4=5 Current State: 61:[66, 5], Operations: ['90-86=4', '20/4=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[66, 90, 86, 20], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [90, 86, 46] Generated Node #0,0: 61:[90, 86, 46] Operation: 66-20=46 Exploring Operation: 90-20=70, Resulting Numbers: [66, 86, 70] Generated Node #0,1: 61:[66, 86, 70] Operation: 90-20=70 Exploring Operation: 86-20=66, Resulting Numbers: [66, 90, 66] Generated Node #0,2: 61:[66, 90, 66] Operation: 86-20=66 Moving to Node #0,1 Current State: 61:[66, 86, 70], Operations: ['90-20=70'] Exploring Operation: 86-70=16, Resulting Numbers: [66, 16] Generated Node #0,1,0: 61:[66, 16] Operation: 86-70=16 Exploring Operation: 70-66=4, Resulting Numbers: [86, 4] Generated Node #0,1,1: 61:[86, 4] Operation: 70-66=4 Exploring Operation: 86-66=20, Resulting Numbers: [70, 20] Generated Node #0,1,2: 61:[70, 20] Operation: 86-66=20 Moving to Node #0,2 Current State: 61:[66, 90, 66], Operations: ['86-20=66'] Exploring Operation: 90-66=24, Resulting Numbers: [66, 24] Generated Node #0,2,0: 61:[66, 24] Operation: 90-66=24 Exploring Operation: 90-66=24, Resulting Numbers: [66, 24] Generated Node #0,2,1: 61:[66, 24] Operation: 90-66=24 Exploring Operation: 66/66=1, Resulting Numbers: [90, 1] Generated Node #0,2,2: 61:[90, 1] Operation: 66/66=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[66, 24], Operations: ['86-20=66', '90-66=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[66, 24], Operations: ['86-20=66', '90-66=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[90, 1], Operations: ['86-20=66', '66/66=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,61 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: 61:[90, 86, 46], Operations: ['66-20=46'] Exploring Operation: 90-46=44, Resulting Numbers: [86, 44] Generated Node #0,0,0: 61:[86, 44] Operation: 90-46=44 Exploring Operation: 86-46=40, Resulting Numbers: [90, 40] Generated Node #0,0,1: 61:[90, 40] Operation: 86-46=40 Exploring Operation: 90-86=4, Resulting Numbers: [46, 4] Generated Node #0,0,2: 61:[46, 4] Operation: 90-86=4 Moving to Node #0,0,0 Current State: 61:[86, 44], Operations: ['66-20=46', '90-46=44'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,61 unequal: No Solution Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[66, 16], Operations: ['90-20=70', '86-70=16'] Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,61 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[90, 40], Operations: ['66-20=46', '86-46=40'] Exploring Operation: 90*40=3600, Resulting Numbers: [3600] 3600,61 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 90+40=130, Resulting Numbers: [130] 130,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[70, 20], Operations: ['90-20=70', '86-66=20'] Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,61 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[46, 4], Operations: ['66-20=46', '90-86=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[86, 4], Operations: ['90-20=70', '70-66=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,61 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 2, 31, 39, 56 ]
79
[ "2*31=62", "56-39=17", "62+17=79" ]
Current State: 79:[2, 31, 39, 56], Operations: [] Exploring Operation: 2*31=62, Resulting Numbers: [39, 56, 62] Generated Node #2: [39, 56, 62] from Operation: 2*31=62 Current State: 79:[39, 56, 62], Operations: ['2*31=62'] Exploring Operation: 56-39=17, Resulting Numbers: [62, 17] Generated Node #3: [62, 17] from Operation: 56-39=17 Current State: 79:[62, 17], Operations: ['2*31=62', '56-39=17'] Exploring Operation: 62+17=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[2, 31, 39, 56], Operations: [] Exploring Operation: 2*39=78, Resulting Numbers: [31, 56, 78] Generated Node #0,0: 79:[31, 56, 78] Operation: 2*39=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[31, 56, 78], Operations: ['2*39=78'] Exploring Operation: 31+56=87, Resulting Numbers: [78, 87] Generated Node #0,0,0: 79:[78, 87] Operation: 31+56=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[78, 87], Operations: ['2*39=78', '31+56=87'] Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,79 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
[ 67, 2, 14, 38 ]
79
[ "38-14=24", "24/2=12", "67+12=79" ]
Current State: 79:[67, 2, 14, 38], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [67, 2, 24] Generated Node #2: [67, 2, 24] from Operation: 38-14=24 Current State: 79:[67, 2, 24], Operations: ['38-14=24'] Exploring Operation: 24/2=12, Resulting Numbers: [67, 12] Generated Node #3: [67, 12] from Operation: 24/2=12 Current State: 79:[67, 12], Operations: ['38-14=24', '24/2=12'] Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[67, 2, 14, 38], Operations: [] Exploring Operation: 2*14=28, Resulting Numbers: [67, 38, 28] Generated Node #0,0: 79:[67, 38, 28] Operation: 2*14=28 Exploring Operation: 67+2=69, Resulting Numbers: [14, 38, 69] Generated Node #0,1: 79:[14, 38, 69] Operation: 67+2=69 Exploring Operation: 2*38=76, Resulting Numbers: [67, 14, 76] Generated Node #0,2: 79:[67, 14, 76] Operation: 2*38=76 Moving to Node #0,2 Current State: 79:[67, 14, 76], Operations: ['2*38=76'] Exploring Operation: 14+76=90, Resulting Numbers: [67, 90] Generated Node #0,2,0: 79:[67, 90] Operation: 14+76=90 Exploring Operation: 67+14=81, Resulting Numbers: [76, 81] Generated Node #0,2,1: 79:[76, 81] Operation: 67+14=81 Exploring Operation: 67-14=53, Resulting Numbers: [76, 53] Generated Node #0,2,2: 79:[76, 53] Operation: 67-14=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[76, 81], Operations: ['2*38=76', '67+14=81'] Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,79 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,79 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[67, 90], Operations: ['2*38=76', '14+76=90'] Exploring Operation: 67*90=6030, Resulting Numbers: [6030] 6030,79 unequal: No Solution Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[76, 53], Operations: ['2*38=76', '67-14=53'] Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,79 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 79:[67, 38, 28], Operations: ['2*14=28'] Exploring Operation: 67+38=105, Resulting Numbers: [28, 105] Generated Node #0,0,0: 79:[28, 105] Operation: 67+38=105 Exploring Operation: 38+28=66, Resulting Numbers: [67, 66] Generated Node #0,0,1: 79:[67, 66] Operation: 38+28=66 Exploring Operation: 67+28=95, Resulting Numbers: [38, 95] Generated Node #0,0,2: 79:[38, 95] Operation: 67+28=95 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[67, 66], Operations: ['2*14=28', '38+28=66'] Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,79 unequal: No Solution Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,79 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[38, 95], Operations: ['2*14=28', '67+28=95'] Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,79 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,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:[28, 105], Operations: ['2*14=28', '67+38=105'] Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 28*105=2940, Resulting Numbers: [2940] 2940,79 unequal: No Solution Exploring Operation: 28+105=133, Resulting Numbers: [133] 133,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[14, 38, 69], Operations: ['67+2=69'] Exploring Operation: 38-14=24, Resulting Numbers: [69, 24] Generated Node #0,1,0: 79:[69, 24] Operation: 38-14=24 Exploring Operation: 14+38=52, Resulting Numbers: [69, 52] Generated Node #0,1,1: 79:[69, 52] Operation: 14+38=52 Exploring Operation: 14+69=83, Resulting Numbers: [38, 83] Generated Node #0,1,2: 79:[38, 83] Operation: 14+69=83 Moving to Node #0,1,1 Current State: 79:[69, 52], Operations: ['67+2=69', '14+38=52'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[38, 83], Operations: ['67+2=69', '14+69=83'] Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[69, 24], Operations: ['67+2=69', '38-14=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,79 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 23, 58, 39, 93 ]
78
[ "23+93=116", "116/58=2", "39*2=78" ]
Current State: 78:[23, 58, 39, 93], Operations: [] Exploring Operation: 23+93=116, Resulting Numbers: [58, 39, 116] Generated Node #2: [58, 39, 116] from Operation: 23+93=116 Current State: 78:[58, 39, 116], Operations: ['23+93=116'] Exploring Operation: 116/58=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 116/58=2 Current State: 78:[39, 2], Operations: ['23+93=116', '116/58=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[23, 58, 39, 93], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [23, 93, 19] Generated Node #0,0: 78:[23, 93, 19] Operation: 58-39=19 Exploring Operation: 58-23=35, Resulting Numbers: [39, 93, 35] Generated Node #0,1: 78:[39, 93, 35] Operation: 58-23=35 Exploring Operation: 23+58=81, Resulting Numbers: [39, 93, 81] Generated Node #0,2: 78:[39, 93, 81] Operation: 23+58=81 Exploring Operation: 93-23=70, Resulting Numbers: [58, 39, 70] Generated Node #0,3: 78:[58, 39, 70] Operation: 93-23=70 Exploring Operation: 93-58=35, Resulting Numbers: [23, 39, 35] Generated Node #0,4: 78:[23, 39, 35] Operation: 93-58=35 Moving to Node #0,4 Current State: 78:[23, 39, 35], Operations: ['93-58=35'] Exploring Operation: 39+35=74, Resulting Numbers: [23, 74] Generated Node #0,4,0: 78:[23, 74] Operation: 39+35=74 Exploring Operation: 23+35=58, Resulting Numbers: [39, 58] Generated Node #0,4,1: 78:[39, 58] Operation: 23+35=58 Exploring Operation: 35-23=12, Resulting Numbers: [39, 12] Generated Node #0,4,2: 78:[39, 12] Operation: 35-23=12 Exploring Operation: 39-35=4, Resulting Numbers: [23, 4] Generated Node #0,4,3: 78:[23, 4] Operation: 39-35=4 Exploring Operation: 39-23=16, Resulting Numbers: [35, 16] Generated Node #0,4,4: 78:[35, 16] Operation: 39-23=16 Moving to Node #0,2 Current State: 78:[39, 93, 81], Operations: ['23+58=81'] Exploring Operation: 81-39=42, Resulting Numbers: [93, 42] Generated Node #0,2,0: 78:[93, 42] Operation: 81-39=42 Exploring Operation: 39+93=132, Resulting Numbers: [81, 132] Generated Node #0,2,1: 78:[81, 132] Operation: 39+93=132 Exploring Operation: 39+81=120, Resulting Numbers: [93, 120] Generated Node #0,2,2: 78:[93, 120] Operation: 39+81=120 Exploring Operation: 93-81=12, Resulting Numbers: [39, 12] Generated Node #0,2,3: 78:[39, 12] Operation: 93-81=12 Exploring Operation: 93-39=54, Resulting Numbers: [81, 54] Generated Node #0,2,4: 78:[81, 54] Operation: 93-39=54 Moving to Node #0,1 Current State: 78:[39, 93, 35], Operations: ['58-23=35'] Exploring Operation: 39-35=4, Resulting Numbers: [93, 4] Generated Node #0,1,0: 78:[93, 4] Operation: 39-35=4 Exploring Operation: 93-39=54, Resulting Numbers: [35, 54] Generated Node #0,1,1: 78:[35, 54] Operation: 93-39=54 Exploring Operation: 39+35=74, Resulting Numbers: [93, 74] Generated Node #0,1,2: 78:[93, 74] Operation: 39+35=74 Exploring Operation: 93+35=128, Resulting Numbers: [39, 128] Generated Node #0,1,3: 78:[39, 128] Operation: 93+35=128 Exploring Operation: 93-35=58, Resulting Numbers: [39, 58] Generated Node #0,1,4: 78:[39, 58] Operation: 93-35=58 Moving to Node #0,0 Current State: 78:[23, 93, 19], Operations: ['58-39=19'] Exploring Operation: 93-19=74, Resulting Numbers: [23, 74] Generated Node #0,0,0: 78:[23, 74] Operation: 93-19=74 Exploring Operation: 23-19=4, Resulting Numbers: [93, 4] Generated Node #0,0,1: 78:[93, 4] Operation: 23-19=4 Exploring Operation: 23+19=42, Resulting Numbers: [93, 42] Generated Node #0,0,2: 78:[93, 42] Operation: 23+19=42 Exploring Operation: 93+19=112, Resulting Numbers: [23, 112] Generated Node #0,0,3: 78:[23, 112] Operation: 93+19=112 Exploring Operation: 93-23=70, Resulting Numbers: [19, 70] Generated Node #0,0,4: 78:[19, 70] Operation: 93-23=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[23, 74], Operations: ['58-39=19', '93-19=74'] Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,78 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[19, 70], Operations: ['58-39=19', '93-23=70'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[93, 4], Operations: ['58-39=19', '23-19=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,78 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[93, 42], Operations: ['58-39=19', '23+19=42'] Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,78 unequal: No Solution Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[23, 112], Operations: ['58-39=19', '93+19=112'] Exploring Operation: 23*112=2576, Resulting Numbers: [2576] 2576,78 unequal: No Solution Exploring Operation: 23+112=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 112-23=89, Resulting Numbers: [89] 89,78 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: 78:[58, 39, 70], Operations: ['93-23=70'] Exploring Operation: 58+39=97, Resulting Numbers: [70, 97] Generated Node #0,3,0: 78:[70, 97] Operation: 58+39=97 Exploring Operation: 58+70=128, Resulting Numbers: [39, 128] Generated Node #0,3,1: 78:[39, 128] Operation: 58+70=128 Exploring Operation: 58-39=19, Resulting Numbers: [70, 19] Generated Node #0,3,2: 78:[70, 19] Operation: 58-39=19 Exploring Operation: 70-39=31, Resulting Numbers: [58, 31] Generated Node #0,3,3: 78:[58, 31] Operation: 70-39=31 Exploring Operation: 70-58=12, Resulting Numbers: [39, 12] Generated Node #0,3,4: 78:[39, 12] Operation: 70-58=12 Moving to Node #0,4,2 Current State: 78:[39, 12], Operations: ['93-58=35', '35-23=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[39, 12], Operations: ['23+58=81', '93-81=12'] Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,3,4 Current State: 78:[39, 12], Operations: ['93-23=70', '70-58=12'] Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,4,3 Current State: 78:[23, 4], Operations: ['93-58=35', '39-35=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,78 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,4,0 Current State: 78:[23, 74], Operations: ['93-58=35', '39+35=74'] Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,78 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,78 unequal: No Solution Moving to Node #0,4,4 Current State: 78:[35, 16], Operations: ['93-58=35', '39-23=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[70, 19], Operations: ['93-23=70', '58-39=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[93, 4], Operations: ['58-23=35', '39-35=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,78 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[93, 42], Operations: ['23+58=81', '81-39=42'] Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,78 unequal: No Solution Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[81, 54], Operations: ['23+58=81', '93-39=54'] Exploring Operation: 81+54=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 81*54=4374, Resulting Numbers: [4374] 4374,78 unequal: No Solution Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[39, 58], Operations: ['58-23=35', '93-35=58'] Exploring Operation: 39*58=2262, Resulting Numbers: [2262] 2262,78 unequal: No Solution Exploring Operation: 39+58=97, Resulting Numbers: [97] 97,78 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[93, 74], Operations: ['58-23=35', '39+35=74'] Exploring Operation: 93*74=6882, Resulting Numbers: [6882] 6882,78 unequal: No Solution Exploring Operation: 93+74=167, Resulting Numbers: [167] 167,78 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,78 unequal: No Solution Moving to Node #0,4,1 Current State: 78:[39, 58], Operations: ['93-58=35', '23+35=58'] Exploring Operation: 39*58=2262, Resulting Numbers: [2262] 2262,78 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 39+58=97, Resulting Numbers: [97] 97,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[35, 54], Operations: ['58-23=35', '93-39=54'] Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,78 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[58, 31], Operations: ['93-23=70', '70-39=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,78 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[70, 97], Operations: ['93-23=70', '58+39=97'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,78 unequal: No Solution Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[39, 128], Operations: ['58-23=35', '93+35=128'] Exploring Operation: 39*128=4992, Resulting Numbers: [4992] 4992,78 unequal: No Solution Exploring Operation: 128-39=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 39+128=167, Resulting Numbers: [167] 167,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[39, 128], Operations: ['93-23=70', '58+70=128'] Exploring Operation: 128-39=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 39+128=167, Resulting Numbers: [167] 167,78 unequal: No Solution Exploring Operation: 39*128=4992, Resulting Numbers: [4992] 4992,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[81, 132], Operations: ['23+58=81', '39+93=132'] Exploring Operation: 81+132=213, Resulting Numbers: [213] 213,78 unequal: No Solution Exploring Operation: 132-81=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 81*132=10692, Resulting Numbers: [10692] 10692,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[93, 120], Operations: ['23+58=81', '39+81=120'] Exploring Operation: 93+120=213, Resulting Numbers: [213] 213,78 unequal: No Solution Exploring Operation: 93*120=11160, Resulting Numbers: [11160] 11160,78 unequal: No Solution Exploring Operation: 120-93=27, Resulting Numbers: [27] 27,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 62, 2, 34, 9 ]
88
[ "62+9=71", "34/2=17", "71+17=88" ]
Current State: 88:[62, 2, 34, 9], Operations: [] Exploring Operation: 62+9=71, Resulting Numbers: [2, 34, 71] Generated Node #2: [2, 34, 71] from Operation: 62+9=71 Current State: 88:[2, 34, 71], Operations: ['62+9=71'] Exploring Operation: 34/2=17, Resulting Numbers: [71, 17] Generated Node #3: [71, 17] from Operation: 34/2=17 Current State: 88:[71, 17], Operations: ['62+9=71', '34/2=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[62, 2, 34, 9], Operations: [] Exploring Operation: 62-34=28, Resulting Numbers: [2, 9, 28] Generated Node #0,0: 88:[2, 9, 28] Operation: 62-34=28 Exploring Operation: 62+34=96, Resulting Numbers: [2, 9, 96] Generated Node #0,1: 88:[2, 9, 96] Operation: 62+34=96 Exploring Operation: 62-9=53, Resulting Numbers: [2, 34, 53] Generated Node #0,2: 88:[2, 34, 53] Operation: 62-9=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 9, 28], Operations: ['62-34=28'] Exploring Operation: 28/2=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 88:[9, 14] Operation: 28/2=14 Exploring Operation: 28-9=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 88:[2, 19] Operation: 28-9=19 Exploring Operation: 28-2=26, Resulting Numbers: [9, 26] Generated Node #0,0,2: 88:[9, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[2, 19], Operations: ['62-34=28', '28-9=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution No 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: 88:[9, 14], Operations: ['62-34=28', '28/2=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,88 unequal: No Solution No 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: 88:[9, 26], Operations: ['62-34=28', '28-2=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,88 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[2, 9, 96], Operations: ['62+34=96'] Exploring Operation: 96-2=94, Resulting Numbers: [9, 94] Generated Node #0,1,0: 88:[9, 94] Operation: 96-2=94 Exploring Operation: 96-9=87, Resulting Numbers: [2, 87] Generated Node #0,1,1: 88:[2, 87] Operation: 96-9=87 Exploring Operation: 96/2=48, Resulting Numbers: [9, 48] Generated Node #0,1,2: 88:[9, 48] Operation: 96/2=48 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[2, 87], Operations: ['62+34=96', '96-9=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,88 unequal: No Solution No 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: 88:[9, 48], Operations: ['62+34=96', '96/2=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,88 unequal: No Solution No 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: 88:[9, 94], Operations: ['62+34=96', '96-2=94'] Exploring Operation: 9+94=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 9*94=846, Resulting Numbers: [846] 846,88 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[2, 34, 53], Operations: ['62-9=53'] Exploring Operation: 34+53=87, Resulting Numbers: [2, 87] Generated Node #0,2,0: 88:[2, 87] Operation: 34+53=87 Exploring Operation: 34/2=17, Resulting Numbers: [53, 17] Generated Node #0,2,1: 88:[53, 17] Operation: 34/2=17 Exploring Operation: 53-34=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 88:[2, 19] Operation: 53-34=19 Moving to Node #0,2,0 Current State: 88:[2, 87], Operations: ['62-9=53', '34+53=87'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[2, 19], Operations: ['62-9=53', '53-34=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[53, 17], Operations: ['62-9=53', '34/2=17'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,88 unequal: No Solution Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 9, 13, 89, 21 ]
49
[ "9*13=117", "89-21=68", "117-68=49" ]
Current State: 49:[9, 13, 89, 21], Operations: [] Exploring Operation: 9*13=117, Resulting Numbers: [89, 21, 117] Generated Node #2: [89, 21, 117] from Operation: 9*13=117 Current State: 49:[89, 21, 117], Operations: ['9*13=117'] Exploring Operation: 89-21=68, Resulting Numbers: [117, 68] Generated Node #3: [117, 68] from Operation: 89-21=68 Current State: 49:[117, 68], Operations: ['9*13=117', '89-21=68'] Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[9, 13, 89, 21], Operations: [] Exploring Operation: 21-9=12, Resulting Numbers: [13, 89, 12] Generated Node #0,0: 49:[13, 89, 12] Operation: 21-9=12 Exploring Operation: 89-9=80, Resulting Numbers: [13, 21, 80] Generated Node #0,1: 49:[13, 21, 80] Operation: 89-9=80 Exploring Operation: 21-13=8, Resulting Numbers: [9, 89, 8] Generated Node #0,2: 49:[9, 89, 8] Operation: 21-13=8 Exploring Operation: 89-21=68, Resulting Numbers: [9, 13, 68] Generated Node #0,3: 49:[9, 13, 68] Operation: 89-21=68 Exploring Operation: 89-13=76, Resulting Numbers: [9, 21, 76] Generated Node #0,4: 49:[9, 21, 76] Operation: 89-13=76 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[9, 13, 68], Operations: ['89-21=68'] Exploring Operation: 9+68=77, Resulting Numbers: [13, 77] Generated Node #0,3,0: 49:[13, 77] Operation: 9+68=77 Exploring Operation: 9+13=22, Resulting Numbers: [68, 22] Generated Node #0,3,1: 49:[68, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [68, 4] Generated Node #0,3,2: 49:[68, 4] Operation: 13-9=4 Exploring Operation: 68-13=55, Resulting Numbers: [9, 55] Generated Node #0,3,3: 49:[9, 55] Operation: 68-13=55 Exploring Operation: 68-9=59, Resulting Numbers: [13, 59] Generated Node #0,3,4: 49:[13, 59] Operation: 68-9=59 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[9, 55], Operations: ['89-21=68', '68-13=55'] Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,49 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 49:[13, 59], Operations: ['89-21=68', '68-9=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,49 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[68, 4], Operations: ['89-21=68', '13-9=4'] Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,49 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[13, 77], Operations: ['89-21=68', '9+68=77'] Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[68, 22], Operations: ['89-21=68', '9+13=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[9, 89, 8], Operations: ['21-13=8'] Exploring Operation: 89-8=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 49:[9, 81] Operation: 89-8=81 Exploring Operation: 9-8=1, Resulting Numbers: [89, 1] Generated Node #0,2,1: 49:[89, 1] Operation: 9-8=1 Exploring Operation: 9+8=17, Resulting Numbers: [89, 17] Generated Node #0,2,2: 49:[89, 17] Operation: 9+8=17 Exploring Operation: 9+89=98, Resulting Numbers: [8, 98] Generated Node #0,2,3: 49:[8, 98] Operation: 9+89=98 Exploring Operation: 89-9=80, Resulting Numbers: [8, 80] Generated Node #0,2,4: 49:[8, 80] Operation: 89-9=80 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 49:[8, 80], Operations: ['21-13=8', '89-9=80'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,49 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[9, 81], Operations: ['21-13=8', '89-8=81'] Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,49 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[89, 1], Operations: ['21-13=8', '9-8=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[89, 17], Operations: ['21-13=8', '9+8=17'] Exploring Operation: 89+17=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 89*17=1513, Resulting Numbers: [1513] 1513,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[8, 98], Operations: ['21-13=8', '9+89=98'] Exploring Operation: 8*98=784, Resulting Numbers: [784] 784,49 unequal: No Solution Exploring Operation: 8+98=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[9, 21, 76], Operations: ['89-13=76'] Exploring Operation: 76-9=67, Resulting Numbers: [21, 67] Generated Node #0,4,0: 49:[21, 67] Operation: 76-9=67 Exploring Operation: 21-9=12, Resulting Numbers: [76, 12] Generated Node #0,4,1: 49:[76, 12] Operation: 21-9=12 Exploring Operation: 9+21=30, Resulting Numbers: [76, 30] Generated Node #0,4,2: 49:[76, 30] Operation: 9+21=30 Exploring Operation: 76-21=55, Resulting Numbers: [9, 55] Generated Node #0,4,3: 49:[9, 55] Operation: 76-21=55 Exploring Operation: 9+76=85, Resulting Numbers: [21, 85] Generated Node #0,4,4: 49:[21, 85] Operation: 9+76=85 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[9, 55], Operations: ['89-13=76', '76-21=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,49 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[21, 67], Operations: ['89-13=76', '76-9=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,49 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[76, 12], Operations: ['89-13=76', '21-9=12'] Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,49 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[76, 30], Operations: ['89-13=76', '9+21=30'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[21, 85], Operations: ['89-13=76', '9+76=85'] Exploring Operation: 21+85=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 21*85=1785, Resulting Numbers: [1785] 1785,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[13, 89, 12], Operations: ['21-9=12'] Exploring Operation: 13+89=102, Resulting Numbers: [12, 102] Generated Node #0,0,0: 49:[12, 102] Operation: 13+89=102 Exploring Operation: 89-12=77, Resulting Numbers: [13, 77] Generated Node #0,0,1: 49:[13, 77] Operation: 89-12=77 Exploring Operation: 13+12=25, Resulting Numbers: [89, 25] Generated Node #0,0,2: 49:[89, 25] Operation: 13+12=25 Exploring Operation: 13-12=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 49:[89, 1] Operation: 13-12=1 Exploring Operation: 89-13=76, Resulting Numbers: [12, 76] Generated Node #0,0,4: 49:[12, 76] Operation: 89-13=76 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[12, 76], Operations: ['21-9=12', '89-13=76'] Exploring Operation: 12*76=912, Resulting Numbers: [912] 912,49 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[13, 77], Operations: ['21-9=12', '89-12=77'] Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,49 unequal: No Solution Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[89, 1], Operations: ['21-9=12', '13-12=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[12, 102], Operations: ['21-9=12', '13+89=102'] Exploring Operation: 12+102=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 12*102=1224, Resulting Numbers: [1224] 1224,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[89, 25], Operations: ['21-9=12', '13+12=25'] Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,49 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[13, 21, 80], Operations: ['89-9=80'] Exploring Operation: 13+80=93, Resulting Numbers: [21, 93] Generated Node #0,1,0: 49:[21, 93] Operation: 13+80=93 Exploring Operation: 80-21=59, Resulting Numbers: [13, 59] Generated Node #0,1,1: 49:[13, 59] Operation: 80-21=59 Exploring Operation: 80-13=67, Resulting Numbers: [21, 67] Generated Node #0,1,2: 49:[21, 67] Operation: 80-13=67 Exploring Operation: 21-13=8, Resulting Numbers: [80, 8] Generated Node #0,1,3: 49:[80, 8] Operation: 21-13=8 Exploring Operation: 13+21=34, Resulting Numbers: [80, 34] Generated Node #0,1,4: 49:[80, 34] Operation: 13+21=34 Moving to Node #0,1,1 Current State: 49:[13, 59], Operations: ['89-9=80', '80-21=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[80, 8], Operations: ['89-9=80', '21-13=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[21, 67], Operations: ['89-9=80', '80-13=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[80, 34], Operations: ['89-9=80', '13+21=34'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,49 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[21, 93], Operations: ['89-9=80', '13+80=93'] Exploring Operation: 21*93=1953, Resulting Numbers: [1953] 1953,49 unequal: No Solution Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,49 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
[ 5, 30, 80, 46 ]
59
[ "30-5=25", "80-46=34", "25+34=59" ]
Current State: 59:[5, 30, 80, 46], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [80, 46, 25] Generated Node #2: [80, 46, 25] from Operation: 30-5=25 Current State: 59:[80, 46, 25], Operations: ['30-5=25'] Exploring Operation: 80-46=34, Resulting Numbers: [25, 34] Generated Node #3: [25, 34] from Operation: 80-46=34 Current State: 59:[25, 34], Operations: ['30-5=25', '80-46=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[5, 30, 80, 46], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [80, 46, 25] Generated Node #0,0: 59:[80, 46, 25] Operation: 30-5=25 Exploring Operation: 5+46=51, Resulting Numbers: [30, 80, 51] Generated Node #0,1: 59:[30, 80, 51] Operation: 5+46=51 Exploring Operation: 80-5=75, Resulting Numbers: [30, 46, 75] Generated Node #0,2: 59:[30, 46, 75] Operation: 80-5=75 Exploring Operation: 5+30=35, Resulting Numbers: [80, 46, 35] Generated Node #0,3: 59:[80, 46, 35] Operation: 5+30=35 Moving to Node #0,1 Current State: 59:[30, 80, 51], Operations: ['5+46=51'] Exploring Operation: 51-30=21, Resulting Numbers: [80, 21] Generated Node #0,1,0: 59:[80, 21] Operation: 51-30=21 Exploring Operation: 30+51=81, Resulting Numbers: [80, 81] Generated Node #0,1,1: 59:[80, 81] Operation: 30+51=81 Exploring Operation: 80-30=50, Resulting Numbers: [51, 50] Generated Node #0,1,2: 59:[51, 50] Operation: 80-30=50 Exploring Operation: 30+80=110, Resulting Numbers: [51, 110] Generated Node #0,1,3: 59:[51, 110] Operation: 30+80=110 Moving to Node #0,3 Current State: 59:[80, 46, 35], Operations: ['5+30=35'] Exploring Operation: 80-46=34, Resulting Numbers: [35, 34] Generated Node #0,3,0: 59:[35, 34] Operation: 80-46=34 Exploring Operation: 80-35=45, Resulting Numbers: [46, 45] Generated Node #0,3,1: 59:[46, 45] Operation: 80-35=45 Exploring Operation: 46+35=81, Resulting Numbers: [80, 81] Generated Node #0,3,2: 59:[80, 81] Operation: 46+35=81 Exploring Operation: 80+35=115, Resulting Numbers: [46, 115] Generated Node #0,3,3: 59:[46, 115] Operation: 80+35=115 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[46, 45], Operations: ['5+30=35', '80-35=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,59 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[80, 81], Operations: ['5+30=35', '46+35=81'] Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,59 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[35, 34], Operations: ['5+30=35', '80-46=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[46, 115], Operations: ['5+30=35', '80+35=115'] Exploring Operation: 115-46=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 46*115=5290, Resulting Numbers: [5290] 5290,59 unequal: No Solution Exploring Operation: 46+115=161, Resulting Numbers: [161] 161,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[30, 46, 75], Operations: ['80-5=75'] Exploring Operation: 30+75=105, Resulting Numbers: [46, 105] Generated Node #0,2,0: 59:[46, 105] Operation: 30+75=105 Exploring Operation: 30+46=76, Resulting Numbers: [75, 76] Generated Node #0,2,1: 59:[75, 76] Operation: 30+46=76 Exploring Operation: 75-30=45, Resulting Numbers: [46, 45] Generated Node #0,2,2: 59:[46, 45] Operation: 75-30=45 Exploring Operation: 46-30=16, Resulting Numbers: [75, 16] Generated Node #0,2,3: 59:[75, 16] Operation: 46-30=16 Moving to Node #0,0 Current State: 59:[80, 46, 25], Operations: ['30-5=25'] Exploring Operation: 80-46=34, Resulting Numbers: [25, 34] Generated Node #0,0,0: 59:[25, 34] Operation: 80-46=34 Exploring Operation: 80-25=55, Resulting Numbers: [46, 55] Generated Node #0,0,1: 59:[46, 55] Operation: 80-25=55 Exploring Operation: 80+25=105, Resulting Numbers: [46, 105] Generated Node #0,0,2: 59:[46, 105] Operation: 80+25=105 Exploring Operation: 46+25=71, Resulting Numbers: [80, 71] Generated Node #0,0,3: 59:[80, 71] Operation: 46+25=71 Moving to Node #0,1,2 Current State: 59:[51, 50], Operations: ['5+46=51', '80-30=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,59 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[46, 55], Operations: ['30-5=25', '80-25=55'] Exploring Operation: 46*55=2530, Resulting Numbers: [2530] 2530,59 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[46, 45], Operations: ['80-5=75', '75-30=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,59 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[75, 76], Operations: ['80-5=75', '30+46=76'] Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[80, 71], Operations: ['30-5=25', '46+25=71'] Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,59 unequal: No Solution Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[80, 81], Operations: ['5+46=51', '30+51=81'] Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,59 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[46, 105], Operations: ['80-5=75', '30+75=105'] Exploring Operation: 46+105=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 105-46=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[5, 30, 80, 46], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [30, 46, 75] Generated Node #0,2: 59:[30, 46, 75] Operation: 80-5=75 Moving to Node #0,2 Current State: 59:[30, 46, 75], Operations: ['80-5=75'] Exploring Operation: 30+75=105, Resulting Numbers: [46, 105] Generated Node #0,2,0: 59:[46, 105] Operation: 30+75=105 Moving to Node #0,2,0 Current State: 59:[46, 105], Operations: ['80-5=75', '30+75=105'] Exploring Operation: 105-46=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.951389
hs_4
mult_heuristic
[ 30, 11, 67, 44 ]
42
[ "30-11=19", "67-44=23", "19+23=42" ]
Current State: 42:[30, 11, 67, 44], Operations: [] Exploring Operation: 30-11=19, Resulting Numbers: [67, 44, 19] Generated Node #2: [67, 44, 19] from Operation: 30-11=19 Current State: 42:[67, 44, 19], Operations: ['30-11=19'] Exploring Operation: 67-44=23, Resulting Numbers: [19, 23] Generated Node #3: [19, 23] from Operation: 67-44=23 Current State: 42:[19, 23], Operations: ['30-11=19', '67-44=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[30, 11, 67, 44], Operations: [] Exploring Operation: 30+11=41, Resulting Numbers: [67, 44, 41] Generated Node #0,0: 42:[67, 44, 41] Operation: 30+11=41 Exploring Operation: 67-11=56, Resulting Numbers: [30, 44, 56] Generated Node #0,1: 42:[30, 44, 56] Operation: 67-11=56 Exploring Operation: 67-30=37, Resulting Numbers: [11, 44, 37] Generated Node #0,2: 42:[11, 44, 37] Operation: 67-30=37 Exploring Operation: 67-44=23, Resulting Numbers: [30, 11, 23] Generated Node #0,3: 42:[30, 11, 23] Operation: 67-44=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[11, 44, 37], Operations: ['67-30=37'] Exploring Operation: 11+37=48, Resulting Numbers: [44, 48] Generated Node #0,2,0: 42:[44, 48] Operation: 11+37=48 Exploring Operation: 37-11=26, Resulting Numbers: [44, 26] Generated Node #0,2,1: 42:[44, 26] Operation: 37-11=26 Exploring Operation: 44/11=4, Resulting Numbers: [37, 4] Generated Node #0,2,2: 42:[37, 4] Operation: 44/11=4 Exploring Operation: 44-37=7, Resulting Numbers: [11, 7] Generated Node #0,2,3: 42:[11, 7] Operation: 44-37=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[11, 7], Operations: ['67-30=37', '44-37=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,42 unequal: No Solution No 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: 42:[37, 4], Operations: ['67-30=37', '44/11=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,42 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,42 unequal: No Solution No 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: 42:[44, 26], Operations: ['67-30=37', '37-11=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,42 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,42 unequal: No Solution No 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: 42:[44, 48], Operations: ['67-30=37', '11+37=48'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,42 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,42 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: 42:[30, 11, 23], Operations: ['67-44=23'] Exploring Operation: 23-11=12, Resulting Numbers: [30, 12] Generated Node #0,3,0: 42:[30, 12] Operation: 23-11=12 Exploring Operation: 30-11=19, Resulting Numbers: [23, 19] Generated Node #0,3,1: 42:[23, 19] Operation: 30-11=19 Exploring Operation: 30+11=41, Resulting Numbers: [23, 41] Generated Node #0,3,2: 42:[23, 41] Operation: 30+11=41 Exploring Operation: 30-23=7, Resulting Numbers: [11, 7] Generated Node #0,3,3: 42:[11, 7] Operation: 30-23=7 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[23, 41], Operations: ['67-44=23', '30+11=41'] Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,42 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,42 unequal: No Solution No 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: 42:[11, 7], Operations: ['67-44=23', '30-23=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,42 unequal: No Solution No 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: 42:[23, 19], Operations: ['67-44=23', '30-11=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,42 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[30, 11, 67, 44], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [30, 11, 23] Generated Node #0,3: 42:[30, 11, 23] Operation: 67-44=23 Moving to Node #0,3 Current State: 42:[30, 11, 23], Operations: ['67-44=23'] Exploring Operation: 30-11=19, Resulting Numbers: [23, 19] Generated Node #0,3,1: 42:[23, 19] Operation: 30-11=19 Moving to Node #0,3,1 Current State: 42:[23, 19], Operations: ['67-44=23', '30-11=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 29, 6, 24, 64 ]
64
[ "29-6=23", "24-23=1", "64*1=64" ]
Current State: 64:[29, 6, 24, 64], Operations: [] Exploring Operation: 29-6=23, Resulting Numbers: [24, 64, 23] Generated Node #2: [24, 64, 23] from Operation: 29-6=23 Current State: 64:[24, 64, 23], Operations: ['29-6=23'] Exploring Operation: 24-23=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 24-23=1 Current State: 64:[64, 1], Operations: ['29-6=23', '24-23=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[29, 6, 24, 64], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [6, 64, 5] Generated Node #0,0: 64:[6, 64, 5] Operation: 29-24=5 Exploring Operation: 24/6=4, Resulting Numbers: [29, 64, 4] Generated Node #0,1: 64:[29, 64, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[6, 64, 5], Operations: ['29-24=5'] Exploring Operation: 6*5=30, Resulting Numbers: [64, 30] Generated Node #0,0,0: 64:[64, 30] Operation: 6*5=30 Exploring Operation: 6-5=1, Resulting Numbers: [64, 1] Generated Node #0,0,1: 64:[64, 1] Operation: 6-5=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[64, 1], Operations: ['29-24=5', '6-5=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[29, 6, 24, 64], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [6, 64, 5] Generated Node #0,0: 64:[6, 64, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 64:[6, 64, 5], Operations: ['29-24=5'] Exploring Operation: 6-5=1, Resulting Numbers: [64, 1] Generated Node #0,0,1: 64:[64, 1] Operation: 6-5=1 Moving to Node #0,0,1 Current State: 64:[64, 1], Operations: ['29-24=5', '6-5=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 74, 15, 84, 4 ]
20
[ "74+15=89", "89-84=5", "4*5=20" ]
Current State: 20:[74, 15, 84, 4], Operations: [] Exploring Operation: 74+15=89, Resulting Numbers: [84, 4, 89] Generated Node #2: [84, 4, 89] from Operation: 74+15=89 Current State: 20:[84, 4, 89], Operations: ['74+15=89'] Exploring Operation: 89-84=5, Resulting Numbers: [4, 5] Generated Node #3: [4, 5] from Operation: 89-84=5 Current State: 20:[4, 5], Operations: ['74+15=89', '89-84=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[74, 15, 84, 4], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [74, 15, 21] Generated Node #0,0: 20:[74, 15, 21] Operation: 84/4=21 Exploring Operation: 74-15=59, Resulting Numbers: [84, 4, 59] Generated Node #0,1: 20:[84, 4, 59] Operation: 74-15=59 Exploring Operation: 84-74=10, Resulting Numbers: [15, 4, 10] Generated Node #0,2: 20:[15, 4, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[15, 4, 10], Operations: ['84-74=10'] Exploring Operation: 15+4=19, Resulting Numbers: [10, 19] Generated Node #0,2,0: 20:[10, 19] Operation: 15+4=19 Exploring Operation: 15-4=11, Resulting Numbers: [10, 11] Generated Node #0,2,1: 20:[10, 11] Operation: 15-4=11 Exploring Operation: 15-10=5, Resulting Numbers: [4, 5] Generated Node #0,2,2: 20:[4, 5] Operation: 15-10=5 Moving to Node #0,2,2 Current State: 20:[4, 5], Operations: ['84-74=10', '15-10=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[74, 15, 84, 4], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [15, 4, 10] Generated Node #0,2: 20:[15, 4, 10] Operation: 84-74=10 Moving to Node #0,2 Current State: 20:[15, 4, 10], Operations: ['84-74=10'] Exploring Operation: 15-10=5, Resulting Numbers: [4, 5] Generated Node #0,2,2: 20:[4, 5] Operation: 15-10=5 Moving to Node #0,2,2 Current State: 20:[4, 5], Operations: ['84-74=10', '15-10=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 26, 3, 16, 77 ]
29
[ "26-16=10", "77+10=87", "87/3=29" ]
Current State: 29:[26, 3, 16, 77], Operations: [] Exploring Operation: 26-16=10, Resulting Numbers: [3, 77, 10] Generated Node #2: [3, 77, 10] from Operation: 26-16=10 Current State: 29:[3, 77, 10], Operations: ['26-16=10'] Exploring Operation: 77+10=87, Resulting Numbers: [3, 87] Generated Node #3: [3, 87] from Operation: 77+10=87 Current State: 29:[3, 87], Operations: ['26-16=10', '77+10=87'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[26, 3, 16, 77], Operations: [] Exploring Operation: 3+16=19, Resulting Numbers: [26, 77, 19] Generated Node #0,0: 29:[26, 77, 19] Operation: 3+16=19 Exploring Operation: 77-26=51, Resulting Numbers: [3, 16, 51] Generated Node #0,1: 29:[3, 16, 51] Operation: 77-26=51 Exploring Operation: 26+3=29, Resulting Numbers: [16, 77, 29] Generated Node #0,2: 29:[16, 77, 29] Operation: 26+3=29 Exploring Operation: 77-3=74, Resulting Numbers: [26, 16, 74] Generated Node #0,3: 29:[26, 16, 74] Operation: 77-3=74 Moving to Node #0,0 Current State: 29:[26, 77, 19], Operations: ['3+16=19'] Exploring Operation: 77-19=58, Resulting Numbers: [26, 58] Generated Node #0,0,0: 29:[26, 58] Operation: 77-19=58 Exploring Operation: 26-19=7, Resulting Numbers: [77, 7] Generated Node #0,0,1: 29:[77, 7] Operation: 26-19=7 Exploring Operation: 26+19=45, Resulting Numbers: [77, 45] Generated Node #0,0,2: 29:[77, 45] Operation: 26+19=45 Exploring Operation: 77-26=51, Resulting Numbers: [19, 51] Generated Node #0,0,3: 29:[19, 51] Operation: 77-26=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[26, 58], Operations: ['3+16=19', '77-19=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,29 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,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:[19, 51], Operations: ['3+16=19', '77-26=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,29 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,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:[77, 45], Operations: ['3+16=19', '26+19=45'] Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,29 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[77, 7], Operations: ['3+16=19', '26-19=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,29 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,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:[16, 77, 29], Operations: ['26+3=29'] Exploring Operation: 16+77=93, Resulting Numbers: [29, 93] Generated Node #0,2,0: 29:[29, 93] Operation: 16+77=93 Exploring Operation: 77-29=48, Resulting Numbers: [16, 48] Generated Node #0,2,1: 29:[16, 48] Operation: 77-29=48 Exploring Operation: 16+29=45, Resulting Numbers: [77, 45] Generated Node #0,2,2: 29:[77, 45] Operation: 16+29=45 Exploring Operation: 77-16=61, Resulting Numbers: [29, 61] Generated Node #0,2,3: 29:[29, 61] Operation: 77-16=61 Moving to Node #0,1 Current State: 29:[3, 16, 51], Operations: ['77-26=51'] Exploring Operation: 51-3=48, Resulting Numbers: [16, 48] Generated Node #0,1,0: 29:[16, 48] Operation: 51-3=48 Exploring Operation: 51/3=17, Resulting Numbers: [16, 17] Generated Node #0,1,1: 29:[16, 17] Operation: 51/3=17 Exploring Operation: 3+16=19, Resulting Numbers: [51, 19] Generated Node #0,1,2: 29:[51, 19] Operation: 3+16=19 Exploring Operation: 51-16=35, Resulting Numbers: [3, 35] Generated Node #0,1,3: 29:[3, 35] Operation: 51-16=35 Moving to Node #0,3 Current State: 29:[26, 16, 74], Operations: ['77-3=74'] Exploring Operation: 26-16=10, Resulting Numbers: [74, 10] Generated Node #0,3,0: 29:[74, 10] Operation: 26-16=10 Exploring Operation: 74-26=48, Resulting Numbers: [16, 48] Generated Node #0,3,1: 29:[16, 48] Operation: 74-26=48 Exploring Operation: 26+16=42, Resulting Numbers: [74, 42] Generated Node #0,3,2: 29:[74, 42] Operation: 26+16=42 Exploring Operation: 74-16=58, Resulting Numbers: [26, 58] Generated Node #0,3,3: 29:[26, 58] Operation: 74-16=58 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[16, 48], Operations: ['77-3=74', '74-26=48'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,29 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[26, 58], Operations: ['77-3=74', '74-16=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,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,3,2 Current State: 29:[74, 42], Operations: ['77-3=74', '26+16=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,29 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,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,3,0 Current State: 29:[74, 10], Operations: ['77-3=74', '26-16=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 29:[16, 17], Operations: ['77-26=51', '51/3=17'] Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,29 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[16, 48], Operations: ['77-26=51', '51-3=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[51, 19], Operations: ['77-26=51', '3+16=19'] Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,29 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[16, 48], Operations: ['26+3=29', '77-29=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,29 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[29, 61], Operations: ['26+3=29', '77-16=61'] Exploring Operation: 29+61=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 29*61=1769, Resulting Numbers: [1769] 1769,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[3, 35], Operations: ['77-26=51', '51-16=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[77, 45], Operations: ['26+3=29', '16+29=45'] Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,29 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[29, 93], Operations: ['26+3=29', '16+77=93'] Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,29 unequal: No Solution Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,29 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 52, 5, 35, 12 ]
57
[ "52+12=64", "35/5=7", "64-7=57" ]
Current State: 57:[52, 5, 35, 12], Operations: [] Exploring Operation: 52+12=64, Resulting Numbers: [5, 35, 64] Generated Node #2: [5, 35, 64] from Operation: 52+12=64 Current State: 57:[5, 35, 64], Operations: ['52+12=64'] Exploring Operation: 35/5=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 35/5=7 Current State: 57:[64, 7], Operations: ['52+12=64', '35/5=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[52, 5, 35, 12], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [52, 5, 23] Generated Node #0,0: 57:[52, 5, 23] Operation: 35-12=23 Exploring Operation: 52-35=17, Resulting Numbers: [5, 12, 17] Generated Node #0,1: 57:[5, 12, 17] Operation: 52-35=17 Exploring Operation: 35/5=7, Resulting Numbers: [52, 12, 7] Generated Node #0,2: 57:[52, 12, 7] Operation: 35/5=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[52, 5, 23], Operations: ['35-12=23'] Exploring Operation: 52+5=57, Resulting Numbers: [23, 57] Generated Node #0,0,0: 57:[23, 57] Operation: 52+5=57 Exploring Operation: 23-5=18, Resulting Numbers: [52, 18] Generated Node #0,0,1: 57:[52, 18] Operation: 23-5=18 Exploring Operation: 52-23=29, Resulting Numbers: [5, 29] Generated Node #0,0,2: 57:[5, 29] Operation: 52-23=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[23, 57], Operations: ['35-12=23', '52+5=57'] Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,57 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,57 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,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:[52, 18], Operations: ['35-12=23', '23-5=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,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,2 Current State: 57:[5, 29], Operations: ['35-12=23', '52-23=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,57 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,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:[5, 12, 17], Operations: ['52-35=17'] Exploring Operation: 5+12=17, Resulting Numbers: [17, 17] Generated Node #0,1,0: 57:[17, 17] Operation: 5+12=17 Exploring Operation: 5*12=60, Resulting Numbers: [17, 60] Generated Node #0,1,1: 57:[17, 60] Operation: 5*12=60 Exploring Operation: 17-12=5, Resulting Numbers: [5, 5] Generated Node #0,1,2: 57:[5, 5] Operation: 17-12=5 Moving to Node #0,1,0 Current State: 57:[17, 17], Operations: ['52-35=17', '5+12=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[5, 5], Operations: ['52-35=17', '17-12=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[17, 60], Operations: ['52-35=17', '5*12=60'] Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,57 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[52, 12, 7], Operations: ['35/5=7'] Exploring Operation: 12-7=5, Resulting Numbers: [52, 5] Generated Node #0,2,0: 57:[52, 5] Operation: 12-7=5 Exploring Operation: 12+7=19, Resulting Numbers: [52, 19] Generated Node #0,2,1: 57:[52, 19] Operation: 12+7=19 Exploring Operation: 52+7=59, Resulting Numbers: [12, 59] Generated Node #0,2,2: 57:[12, 59] Operation: 52+7=59 Moving to Node #0,2,1 Current State: 57:[52, 19], Operations: ['35/5=7', '12+7=19'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[52, 5], Operations: ['35/5=7', '12-7=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[52, 5, 35, 12], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [52, 12, 7] Generated Node #0,2: 57:[52, 12, 7] Operation: 35/5=7 Moving to Node #0,2 Current State: 57:[52, 12, 7], Operations: ['35/5=7'] Exploring Operation: 12-7=5, Resulting Numbers: [52, 5] Generated Node #0,2,0: 57:[52, 5] Operation: 12-7=5 Moving to Node #0,2,0 Current State: 57:[52, 5], Operations: ['35/5=7', '12-7=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
sum_heuristic
[ 63, 6, 9, 7 ]
51
[ "9-7=2", "6*2=12", "63-12=51" ]
Current State: 51:[63, 6, 9, 7], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [63, 6, 2] Generated Node #2: [63, 6, 2] from Operation: 9-7=2 Current State: 51:[63, 6, 2], Operations: ['9-7=2'] Exploring Operation: 6*2=12, Resulting Numbers: [63, 12] Generated Node #3: [63, 12] from Operation: 6*2=12 Current State: 51:[63, 12], Operations: ['9-7=2', '6*2=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[63, 6, 9, 7], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [6, 9, 9] Generated Node #0,0: 51:[6, 9, 9] Operation: 63/7=9 Exploring Operation: 63/9=7, Resulting Numbers: [6, 7, 7] Generated Node #0,1: 51:[6, 7, 7] Operation: 63/9=7 Exploring Operation: 63-7=56, Resulting Numbers: [6, 9, 56] Generated Node #0,2: 51:[6, 9, 56] Operation: 63-7=56 Exploring Operation: 63-9=54, Resulting Numbers: [6, 7, 54] Generated Node #0,3: 51:[6, 7, 54] Operation: 63-9=54 Moving to Node #0,3 Current State: 51:[6, 7, 54], Operations: ['63-9=54'] Exploring Operation: 54-7=47, Resulting Numbers: [6, 47] Generated Node #0,3,0: 51:[6, 47] Operation: 54-7=47 Exploring Operation: 6+7=13, Resulting Numbers: [54, 13] Generated Node #0,3,1: 51:[54, 13] Operation: 6+7=13 Exploring Operation: 7-6=1, Resulting Numbers: [54, 1] Generated Node #0,3,2: 51:[54, 1] Operation: 7-6=1 Exploring Operation: 54-6=48, Resulting Numbers: [7, 48] Generated Node #0,3,3: 51:[7, 48] Operation: 54-6=48 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[54, 1], Operations: ['63-9=54', '7-6=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[6, 47], Operations: ['63-9=54', '54-7=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[54, 13], Operations: ['63-9=54', '6+7=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,51 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[7, 48], Operations: ['63-9=54', '54-6=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,51 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: 51:[6, 7, 7], Operations: ['63/9=7'] Exploring Operation: 7/7=1, Resulting Numbers: [6, 1] Generated Node #0,1,0: 51:[6, 1] Operation: 7/7=1 Exploring Operation: 7-6=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 51:[7, 1] Operation: 7-6=1 Exploring Operation: 7*7=49, Resulting Numbers: [6, 49] Generated Node #0,1,2: 51:[6, 49] Operation: 7*7=49 Exploring Operation: 7-6=1, Resulting Numbers: [7, 1] Generated Node #0,1,3: 51:[7, 1] Operation: 7-6=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[6, 1], Operations: ['63/9=7', '7/7=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,51 unequal: No Solution No 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: 51:[6, 49], Operations: ['63/9=7', '7*7=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,51 unequal: No Solution No 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: 51:[7, 1], Operations: ['63/9=7', '7-6=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,51 unequal: No Solution No 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: 51:[7, 1], Operations: ['63/9=7', '7-6=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,51 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: 51:[6, 9, 56], Operations: ['63-7=56'] Exploring Operation: 56-9=47, Resulting Numbers: [6, 47] Generated Node #0,2,0: 51:[6, 47] Operation: 56-9=47 Exploring Operation: 6+9=15, Resulting Numbers: [56, 15] Generated Node #0,2,1: 51:[56, 15] Operation: 6+9=15 Exploring Operation: 56-6=50, Resulting Numbers: [9, 50] Generated Node #0,2,2: 51:[9, 50] Operation: 56-6=50 Exploring Operation: 9-6=3, Resulting Numbers: [56, 3] Generated Node #0,2,3: 51:[56, 3] Operation: 9-6=3 Moving to Node #0,0 Current State: 51:[6, 9, 9], Operations: ['63/7=9'] Exploring Operation: 9-6=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 51:[9, 3] Operation: 9-6=3 Exploring Operation: 9/9=1, Resulting Numbers: [6, 1] Generated Node #0,0,1: 51:[6, 1] Operation: 9/9=1 Exploring Operation: 9-6=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 51:[9, 3] Operation: 9-6=3 Exploring Operation: 9+9=18, Resulting Numbers: [6, 18] Generated Node #0,0,3: 51:[6, 18] Operation: 9+9=18 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[6, 18], Operations: ['63/7=9', '9+9=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,51 unequal: No Solution No 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: 51:[6, 1], Operations: ['63/7=9', '9/9=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,51 unequal: No Solution No 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: 51:[9, 3], Operations: ['63/7=9', '9-6=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,51 unequal: No Solution No 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: 51:[9, 3], Operations: ['63/7=9', '9-6=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 51:[56, 3], Operations: ['63-7=56', '9-6=3'] Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[56, 15], Operations: ['63-7=56', '6+9=15'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,51 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[6, 47], Operations: ['63-7=56', '56-9=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[9, 50], Operations: ['63-7=56', '56-6=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,51 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 58, 53, 57, 47 ]
99
[ "58-53=5", "57+47=104", "104-5=99" ]
Current State: 99:[58, 53, 57, 47], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [57, 47, 5] Generated Node #2: [57, 47, 5] from Operation: 58-53=5 Current State: 99:[57, 47, 5], Operations: ['58-53=5'] Exploring Operation: 57+47=104, Resulting Numbers: [5, 104] Generated Node #3: [5, 104] from Operation: 57+47=104 Current State: 99:[5, 104], Operations: ['58-53=5', '57+47=104'] Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[58, 53, 57, 47], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [58, 47, 4] Generated Node #0,0: 99:[58, 47, 4] Operation: 57-53=4 Exploring Operation: 58-57=1, Resulting Numbers: [53, 47, 1] Generated Node #0,1: 99:[53, 47, 1] Operation: 58-57=1 Exploring Operation: 58-47=11, Resulting Numbers: [53, 57, 11] Generated Node #0,2: 99:[53, 57, 11] Operation: 58-47=11 Exploring Operation: 58-53=5, Resulting Numbers: [57, 47, 5] Generated Node #0,3: 99:[57, 47, 5] Operation: 58-53=5 Moving to Node #0,1 Current State: 99:[53, 47, 1], Operations: ['58-57=1'] Exploring Operation: 47-1=46, Resulting Numbers: [53, 46] Generated Node #0,1,0: 99:[53, 46] Operation: 47-1=46 Exploring Operation: 53+47=100, Resulting Numbers: [1, 100] Generated Node #0,1,1: 99:[1, 100] Operation: 53+47=100 Exploring Operation: 53-47=6, Resulting Numbers: [1, 6] Generated Node #0,1,2: 99:[1, 6] Operation: 53-47=6 Exploring Operation: 53-1=52, Resulting Numbers: [47, 52] Generated Node #0,1,3: 99:[47, 52] Operation: 53-1=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[1, 100], Operations: ['58-57=1', '53+47=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[58, 53, 57, 47], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [53, 47, 1] Generated Node #0,1: 99:[53, 47, 1] Operation: 58-57=1 Moving to Node #0,1 Current State: 99:[53, 47, 1], Operations: ['58-57=1'] Exploring Operation: 53+47=100, Resulting Numbers: [1, 100] Generated Node #0,1,1: 99:[1, 100] Operation: 53+47=100 Moving to Node #0,1,1 Current State: 99:[1, 100], Operations: ['58-57=1', '53+47=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 2, 32, 91, 71 ]
50
[ "32-2=30", "91-71=20", "30+20=50" ]
Current State: 50:[2, 32, 91, 71], Operations: [] Exploring Operation: 32-2=30, Resulting Numbers: [91, 71, 30] Generated Node #2: [91, 71, 30] from Operation: 32-2=30 Current State: 50:[91, 71, 30], Operations: ['32-2=30'] Exploring Operation: 91-71=20, Resulting Numbers: [30, 20] Generated Node #3: [30, 20] from Operation: 91-71=20 Current State: 50:[30, 20], Operations: ['32-2=30', '91-71=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[2, 32, 91, 71], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [2, 91, 39] Generated Node #0,0: 50:[2, 91, 39] Operation: 71-32=39 Exploring Operation: 91-32=59, Resulting Numbers: [2, 71, 59] Generated Node #0,1: 50:[2, 71, 59] Operation: 91-32=59 Exploring Operation: 91-71=20, Resulting Numbers: [2, 32, 20] Generated Node #0,2: 50:[2, 32, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[2, 32, 20], Operations: ['91-71=20'] Exploring Operation: 20/2=10, Resulting Numbers: [32, 10] Generated Node #0,2,0: 50:[32, 10] Operation: 20/2=10 Exploring Operation: 32-20=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 50:[2, 12] Operation: 32-20=12 Exploring Operation: 32+20=52, Resulting Numbers: [2, 52] Generated Node #0,2,2: 50:[2, 52] Operation: 32+20=52 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[2, 12], Operations: ['91-71=20', '32-20=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[2, 52], Operations: ['91-71=20', '32+20=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[2, 32, 91, 71], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [2, 32, 20] Generated Node #0,2: 50:[2, 32, 20] Operation: 91-71=20 Moving to Node #0,2 Current State: 50:[2, 32, 20], Operations: ['91-71=20'] Exploring Operation: 32+20=52, Resulting Numbers: [2, 52] Generated Node #0,2,2: 50:[2, 52] Operation: 32+20=52 Moving to Node #0,2,2 Current State: 50:[2, 52], Operations: ['91-71=20', '32+20=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 43, 13, 41, 16 ]
97
[ "43*13=559", "41*16=656", "656-559=97" ]
Current State: 97:[43, 13, 41, 16], Operations: [] Exploring Operation: 43*13=559, Resulting Numbers: [41, 16, 559] Generated Node #2: [41, 16, 559] from Operation: 43*13=559 Current State: 97:[41, 16, 559], Operations: ['43*13=559'] Exploring Operation: 41*16=656, Resulting Numbers: [559, 656] Generated Node #3: [559, 656] from Operation: 41*16=656 Current State: 97:[559, 656], Operations: ['43*13=559', '41*16=656'] Exploring Operation: 656-559=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[43, 13, 41, 16], Operations: [] Exploring Operation: 13+16=29, Resulting Numbers: [43, 41, 29] Generated Node #0,0: 97:[43, 41, 29] Operation: 13+16=29 Exploring Operation: 43+16=59, Resulting Numbers: [13, 41, 59] Generated Node #0,1: 97:[13, 41, 59] Operation: 43+16=59 Exploring Operation: 13+41=54, Resulting Numbers: [43, 16, 54] Generated Node #0,2: 97:[43, 16, 54] Operation: 13+41=54 Exploring Operation: 43+41=84, Resulting Numbers: [13, 16, 84] Generated Node #0,3: 97:[13, 16, 84] Operation: 43+41=84 Exploring Operation: 43+13=56, Resulting Numbers: [41, 16, 56] Generated Node #0,4: 97:[41, 16, 56] Operation: 43+13=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[43, 41, 29], Operations: ['13+16=29'] Exploring Operation: 41-29=12, Resulting Numbers: [43, 12] Generated Node #0,0,0: 97:[43, 12] Operation: 41-29=12 Exploring Operation: 43+41=84, Resulting Numbers: [29, 84] Generated Node #0,0,1: 97:[29, 84] Operation: 43+41=84 Exploring Operation: 43-29=14, Resulting Numbers: [41, 14] Generated Node #0,0,2: 97:[41, 14] Operation: 43-29=14 Exploring Operation: 43+29=72, Resulting Numbers: [41, 72] Generated Node #0,0,3: 97:[41, 72] Operation: 43+29=72 Exploring Operation: 41+29=70, Resulting Numbers: [43, 70] Generated Node #0,0,4: 97:[43, 70] Operation: 41+29=70 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[29, 84], Operations: ['13+16=29', '43+41=84'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 29+84=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 29*84=2436, Resulting Numbers: [2436] 2436,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[41, 72], Operations: ['13+16=29', '43+29=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 97:[43, 70], Operations: ['13+16=29', '41+29=70'] Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 43+70=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 43*70=3010, Resulting Numbers: [3010] 3010,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[43, 12], Operations: ['13+16=29', '41-29=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[41, 14], Operations: ['13+16=29', '43-29=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[13, 41, 59], Operations: ['43+16=59'] Exploring Operation: 41+59=100, Resulting Numbers: [13, 100] Generated Node #0,1,0: 97:[13, 100] Operation: 41+59=100 Exploring Operation: 13+59=72, Resulting Numbers: [41, 72] Generated Node #0,1,1: 97:[41, 72] Operation: 13+59=72 Exploring Operation: 13+41=54, Resulting Numbers: [59, 54] Generated Node #0,1,2: 97:[59, 54] Operation: 13+41=54 Exploring Operation: 41-13=28, Resulting Numbers: [59, 28] Generated Node #0,1,3: 97:[59, 28] Operation: 41-13=28 Exploring Operation: 59-13=46, Resulting Numbers: [41, 46] Generated Node #0,1,4: 97:[41, 46] Operation: 59-13=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[41, 72], Operations: ['43+16=59', '13+59=72'] Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,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,2 Current State: 97:[59, 54], Operations: ['43+16=59', '13+41=54'] Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 59*54=3186, Resulting Numbers: [3186] 3186,97 unequal: No Solution Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,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:[13, 100], Operations: ['43+16=59', '41+59=100'] Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 13+100=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 13*100=1300, Resulting Numbers: [1300] 1300,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,3 Current State: 97:[59, 28], Operations: ['43+16=59', '41-13=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,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,4 Current State: 97:[41, 46], Operations: ['43+16=59', '59-13=46'] Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,97 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[43, 16, 54], Operations: ['13+41=54'] Exploring Operation: 43+16=59, Resulting Numbers: [54, 59] Generated Node #0,2,0: 97:[54, 59] Operation: 43+16=59 Exploring Operation: 43-16=27, Resulting Numbers: [54, 27] Generated Node #0,2,1: 97:[54, 27] Operation: 43-16=27 Exploring Operation: 54-16=38, Resulting Numbers: [43, 38] Generated Node #0,2,2: 97:[43, 38] Operation: 54-16=38 Exploring Operation: 16+54=70, Resulting Numbers: [43, 70] Generated Node #0,2,3: 97:[43, 70] Operation: 16+54=70 Exploring Operation: 43+54=97, Resulting Numbers: [16, 97] Generated Node #0,2,4: 97:[16, 97] Operation: 43+54=97 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[54, 59], Operations: ['13+41=54', '43+16=59'] Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,97 unequal: No Solution Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,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,2,3 Current State: 97:[43, 70], Operations: ['13+41=54', '16+54=70'] Exploring Operation: 43+70=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 43*70=3010, Resulting Numbers: [3010] 3010,97 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,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,2,4 Current State: 97:[16, 97], Operations: ['13+41=54', '43+54=97'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,97 unequal: No Solution Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,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,2,1 Current State: 97:[54, 27], Operations: ['13+41=54', '43-16=27'] Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,97 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,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,2,2 Current State: 97:[43, 38], Operations: ['13+41=54', '54-16=38'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,97 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[13, 16, 84], Operations: ['43+41=84'] Exploring Operation: 84-13=71, Resulting Numbers: [16, 71] Generated Node #0,3,0: 97:[16, 71] Operation: 84-13=71 Exploring Operation: 13+16=29, Resulting Numbers: [84, 29] Generated Node #0,3,1: 97:[84, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [84, 3] Generated Node #0,3,2: 97:[84, 3] Operation: 16-13=3 Exploring Operation: 13+84=97, Resulting Numbers: [16, 97] Generated Node #0,3,3: 97:[16, 97] Operation: 13+84=97 Exploring Operation: 16+84=100, Resulting Numbers: [13, 100] Generated Node #0,3,4: 97:[13, 100] Operation: 16+84=100 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[84, 29], Operations: ['43+41=84', '13+16=29'] Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,97 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,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,3,3 Current State: 97:[16, 97], Operations: ['43+41=84', '13+84=97'] Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,97 unequal: No Solution Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,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,3,4 Current State: 97:[13, 100], Operations: ['43+41=84', '16+84=100'] Exploring Operation: 13+100=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 13*100=1300, Resulting Numbers: [1300] 1300,97 unequal: No Solution Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,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,3,0 Current State: 97:[16, 71], Operations: ['43+41=84', '84-13=71'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 16+71=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 16*71=1136, Resulting Numbers: [1136] 1136,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,3,2 Current State: 97:[84, 3], Operations: ['43+41=84', '16-13=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,97 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[41, 16, 56], Operations: ['43+13=56'] Exploring Operation: 41+56=97, Resulting Numbers: [16, 97] Generated Node #0,4,0: 97:[16, 97] Operation: 41+56=97 Exploring Operation: 16+56=72, Resulting Numbers: [41, 72] Generated Node #0,4,1: 97:[41, 72] Operation: 16+56=72 Exploring Operation: 41+16=57, Resulting Numbers: [56, 57] Generated Node #0,4,2: 97:[56, 57] Operation: 41+16=57 Exploring Operation: 41-16=25, Resulting Numbers: [56, 25] Generated Node #0,4,3: 97:[56, 25] Operation: 41-16=25 Exploring Operation: 56-16=40, Resulting Numbers: [41, 40] Generated Node #0,4,4: 97:[41, 40] Operation: 56-16=40 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 97:[16, 97], Operations: ['43+13=56', '41+56=97'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,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,4,1 Current State: 97:[41, 72], Operations: ['43+13=56', '16+56=72'] Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,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,4,2 Current State: 97:[56, 57], Operations: ['43+13=56', '41+16=57'] Exploring Operation: 56+57=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 56*57=3192, Resulting Numbers: [3192] 3192,97 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,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,4,3 Current State: 97:[56, 25], Operations: ['43+13=56', '41-16=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,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,4,4 Current State: 97:[41, 40], Operations: ['43+13=56', '56-16=40'] Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,97 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,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_5
sum_heuristic
[ 1, 50, 41, 69 ]
78
[ "1*50=50", "69-41=28", "50+28=78" ]
Current State: 78:[1, 50, 41, 69], Operations: [] Exploring Operation: 1*50=50, Resulting Numbers: [41, 69, 50] Generated Node #2: [41, 69, 50] from Operation: 1*50=50 Current State: 78:[41, 69, 50], Operations: ['1*50=50'] Exploring Operation: 69-41=28, Resulting Numbers: [50, 28] Generated Node #3: [50, 28] from Operation: 69-41=28 Current State: 78:[50, 28], Operations: ['1*50=50', '69-41=28'] Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[1, 50, 41, 69], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [1, 69, 9] Generated Node #0,0: 78:[1, 69, 9] Operation: 50-41=9 Exploring Operation: 69-41=28, Resulting Numbers: [1, 50, 28] Generated Node #0,1: 78:[1, 50, 28] Operation: 69-41=28 Exploring Operation: 50-1=49, Resulting Numbers: [41, 69, 49] Generated Node #0,2: 78:[41, 69, 49] Operation: 50-1=49 Exploring Operation: 69-50=19, Resulting Numbers: [1, 41, 19] Generated Node #0,3: 78:[1, 41, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[1, 41, 19], Operations: ['69-50=19'] Exploring Operation: 19-1=18, Resulting Numbers: [41, 18] Generated Node #0,3,0: 78:[41, 18] Operation: 19-1=18 Exploring Operation: 41-19=22, Resulting Numbers: [1, 22] Generated Node #0,3,1: 78:[1, 22] Operation: 41-19=22 Exploring Operation: 1*41=41, Resulting Numbers: [19, 41] Generated Node #0,3,2: 78:[19, 41] Operation: 1*41=41 Exploring Operation: 41-1=40, Resulting Numbers: [19, 40] Generated Node #0,3,3: 78:[19, 40] Operation: 41-1=40 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[1, 22], Operations: ['69-50=19', '41-19=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 78:[41, 18], Operations: ['69-50=19', '19-1=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[19, 40], Operations: ['69-50=19', '41-1=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[19, 41], Operations: ['69-50=19', '1*41=41'] Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[1, 69, 9], Operations: ['50-41=9'] Exploring Operation: 1*69=69, Resulting Numbers: [9, 69] Generated Node #0,0,0: 78:[9, 69] Operation: 1*69=69 Exploring Operation: 1+69=70, Resulting Numbers: [9, 70] Generated Node #0,0,1: 78:[9, 70] Operation: 1+69=70 Exploring Operation: 9-1=8, Resulting Numbers: [69, 8] Generated Node #0,0,2: 78:[69, 8] Operation: 9-1=8 Exploring Operation: 69+9=78, Resulting Numbers: [1, 78] Generated Node #0,0,3: 78:[1, 78] Operation: 69+9=78 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[1, 78], Operations: ['50-41=9', '69+9=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[1, 50, 41, 69], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [1, 69, 9] Generated Node #0,0: 78:[1, 69, 9] Operation: 50-41=9 Moving to Node #0,0 Current State: 78:[1, 69, 9], Operations: ['50-41=9'] Exploring Operation: 69+9=78, Resulting Numbers: [1, 78] Generated Node #0,0,3: 78:[1, 78] Operation: 69+9=78 Moving to Node #0,0,3 Current State: 78:[1, 78], Operations: ['50-41=9', '69+9=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 14, 5, 55, 1 ]
29
[ "5+1=6", "14*6=84", "84-55=29" ]
Current State: 29:[14, 5, 55, 1], Operations: [] Exploring Operation: 5+1=6, Resulting Numbers: [14, 55, 6] Generated Node #2: [14, 55, 6] from Operation: 5+1=6 Current State: 29:[14, 55, 6], Operations: ['5+1=6'] Exploring Operation: 14*6=84, Resulting Numbers: [55, 84] Generated Node #3: [55, 84] from Operation: 14*6=84 Current State: 29:[55, 84], Operations: ['5+1=6', '14*6=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[14, 5, 55, 1], Operations: [] Exploring Operation: 14+5=19, Resulting Numbers: [55, 1, 19] Generated Node #0,0: 29:[55, 1, 19] Operation: 14+5=19 Exploring Operation: 55/5=11, Resulting Numbers: [14, 1, 11] Generated Node #0,1: 29:[14, 1, 11] Operation: 55/5=11 Moving to Node #0,1 Current State: 29:[14, 1, 11], Operations: ['55/5=11'] Exploring Operation: 14+11=25, Resulting Numbers: [1, 25] Generated Node #0,1,0: 29:[1, 25] Operation: 14+11=25 Exploring Operation: 14+1=15, Resulting Numbers: [11, 15] Generated Node #0,1,1: 29:[11, 15] Operation: 14+1=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[1, 25], Operations: ['55/5=11', '14+11=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,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:[11, 15], Operations: ['55/5=11', '14+1=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,29 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: 29:[55, 1, 19], Operations: ['14+5=19'] Exploring Operation: 55-1=54, Resulting Numbers: [19, 54] Generated Node #0,0,0: 29:[19, 54] Operation: 55-1=54 Exploring Operation: 55-19=36, Resulting Numbers: [1, 36] Generated Node #0,0,1: 29:[1, 36] Operation: 55-19=36 Moving to Node #0,0,0 Current State: 29:[19, 54], Operations: ['14+5=19', '55-1=54'] Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[1, 36], Operations: ['14+5=19', '55-19=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 73, 10, 43 ]
11
[ "76-73=3", "43-10=33", "33/3=11" ]
Current State: 11:[76, 73, 10, 43], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [10, 43, 3] Generated Node #2: [10, 43, 3] from Operation: 76-73=3 Current State: 11:[10, 43, 3], Operations: ['76-73=3'] Exploring Operation: 43-10=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 43-10=33 Current State: 11:[3, 33], Operations: ['76-73=3', '43-10=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[76, 73, 10, 43], Operations: [] Exploring Operation: 73-43=30, Resulting Numbers: [76, 10, 30] Generated Node #0,0: 11:[76, 10, 30] Operation: 73-43=30 Exploring Operation: 76-73=3, Resulting Numbers: [10, 43, 3] Generated Node #0,1: 11:[10, 43, 3] Operation: 76-73=3 Exploring Operation: 76-10=66, Resulting Numbers: [73, 43, 66] Generated Node #0,2: 11:[73, 43, 66] Operation: 76-10=66 Exploring Operation: 73-10=63, Resulting Numbers: [76, 43, 63] Generated Node #0,3: 11:[76, 43, 63] Operation: 73-10=63 Exploring Operation: 76-43=33, Resulting Numbers: [73, 10, 33] Generated Node #0,4: 11:[73, 10, 33] Operation: 76-43=33 Moving to Node #0,1 Current State: 11:[10, 43, 3], Operations: ['76-73=3'] Exploring Operation: 43-3=40, Resulting Numbers: [10, 40] Generated Node #0,1,0: 11:[10, 40] Operation: 43-3=40 Exploring Operation: 10+3=13, Resulting Numbers: [43, 13] Generated Node #0,1,1: 11:[43, 13] Operation: 10+3=13 Exploring Operation: 43+3=46, Resulting Numbers: [10, 46] Generated Node #0,1,2: 11:[10, 46] Operation: 43+3=46 Exploring Operation: 10-3=7, Resulting Numbers: [43, 7] Generated Node #0,1,3: 11:[43, 7] Operation: 10-3=7 Exploring Operation: 43-10=33, Resulting Numbers: [3, 33] Generated Node #0,1,4: 11:[3, 33] Operation: 43-10=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[10, 40], Operations: ['76-73=3', '43-3=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[3, 33], Operations: ['76-73=3', '43-10=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[76, 73, 10, 43], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [10, 43, 3] Generated Node #0,1: 11:[10, 43, 3] Operation: 76-73=3 Moving to Node #0,1 Current State: 11:[10, 43, 3], Operations: ['76-73=3'] Exploring Operation: 43-10=33, Resulting Numbers: [3, 33] Generated Node #0,1,4: 11:[3, 33] Operation: 43-10=33 Moving to Node #0,1,4 Current State: 11:[3, 33], Operations: ['76-73=3', '43-10=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 44, 29, 60, 38 ]
32
[ "44*29=1276", "1276-60=1216", "1216/38=32" ]
Current State: 32:[44, 29, 60, 38], Operations: [] Exploring Operation: 44*29=1276, Resulting Numbers: [60, 38, 1276] Generated Node #2: [60, 38, 1276] from Operation: 44*29=1276 Current State: 32:[60, 38, 1276], Operations: ['44*29=1276'] Exploring Operation: 1276-60=1216, Resulting Numbers: [38, 1216] Generated Node #3: [38, 1216] from Operation: 1276-60=1216 Current State: 32:[38, 1216], Operations: ['44*29=1276', '1276-60=1216'] Exploring Operation: 1216/38=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[44, 29, 60, 38], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [60, 38, 15] Generated Node #0,0: 32:[60, 38, 15] Operation: 44-29=15 Exploring Operation: 44-38=6, Resulting Numbers: [29, 60, 6] Generated Node #0,1: 32:[29, 60, 6] Operation: 44-38=6 Exploring Operation: 60-44=16, Resulting Numbers: [29, 38, 16] Generated Node #0,2: 32:[29, 38, 16] Operation: 60-44=16 Exploring Operation: 60-29=31, Resulting Numbers: [44, 38, 31] Generated Node #0,3: 32:[44, 38, 31] Operation: 60-29=31 Exploring Operation: 60-38=22, Resulting Numbers: [44, 29, 22] Generated Node #0,4: 32:[44, 29, 22] Operation: 60-38=22 Moving to Node #0,2 Current State: 32:[29, 38, 16], Operations: ['60-44=16'] Exploring Operation: 38-29=9, Resulting Numbers: [16, 9] Generated Node #0,2,0: 32:[16, 9] Operation: 38-29=9 Exploring Operation: 29-16=13, Resulting Numbers: [38, 13] Generated Node #0,2,1: 32:[38, 13] Operation: 29-16=13 Exploring Operation: 38-16=22, Resulting Numbers: [29, 22] Generated Node #0,2,2: 32:[29, 22] Operation: 38-16=22 Exploring Operation: 29+16=45, Resulting Numbers: [38, 45] Generated Node #0,2,3: 32:[38, 45] Operation: 29+16=45 Exploring Operation: 38+16=54, Resulting Numbers: [29, 54] Generated Node #0,2,4: 32:[29, 54] Operation: 38+16=54 Moving to Node #0,3 Current State: 32:[44, 38, 31], Operations: ['60-29=31'] Exploring Operation: 38+31=69, Resulting Numbers: [44, 69] Generated Node #0,3,0: 32:[44, 69] Operation: 38+31=69 Exploring Operation: 44+31=75, Resulting Numbers: [38, 75] Generated Node #0,3,1: 32:[38, 75] Operation: 44+31=75 Exploring Operation: 44-31=13, Resulting Numbers: [38, 13] Generated Node #0,3,2: 32:[38, 13] Operation: 44-31=13 Exploring Operation: 38-31=7, Resulting Numbers: [44, 7] Generated Node #0,3,3: 32:[44, 7] Operation: 38-31=7 Exploring Operation: 44-38=6, Resulting Numbers: [31, 6] Generated Node #0,3,4: 32:[31, 6] Operation: 44-38=6 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 32:[31, 6], Operations: ['60-29=31', '44-38=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[38, 13], Operations: ['60-29=31', '44-31=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[44, 7], Operations: ['60-29=31', '38-31=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[44, 69], Operations: ['60-29=31', '38+31=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,32 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[38, 75], Operations: ['60-29=31', '44+31=75'] Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,32 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,32 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: 32:[44, 29, 22], Operations: ['60-38=22'] Exploring Operation: 44-29=15, Resulting Numbers: [22, 15] Generated Node #0,4,0: 32:[22, 15] Operation: 44-29=15 Exploring Operation: 44-22=22, Resulting Numbers: [29, 22] Generated Node #0,4,1: 32:[29, 22] Operation: 44-22=22 Exploring Operation: 29-22=7, Resulting Numbers: [44, 7] Generated Node #0,4,2: 32:[44, 7] Operation: 29-22=7 Exploring Operation: 29+22=51, Resulting Numbers: [44, 51] Generated Node #0,4,3: 32:[44, 51] Operation: 29+22=51 Exploring Operation: 44/22=2, Resulting Numbers: [29, 2] Generated Node #0,4,4: 32:[29, 2] Operation: 44/22=2 Moving to Node #0,1 Current State: 32:[29, 60, 6], Operations: ['44-38=6'] Exploring Operation: 60/6=10, Resulting Numbers: [29, 10] Generated Node #0,1,0: 32:[29, 10] Operation: 60/6=10 Exploring Operation: 60-29=31, Resulting Numbers: [6, 31] Generated Node #0,1,1: 32:[6, 31] Operation: 60-29=31 Exploring Operation: 29+6=35, Resulting Numbers: [60, 35] Generated Node #0,1,2: 32:[60, 35] Operation: 29+6=35 Exploring Operation: 60-6=54, Resulting Numbers: [29, 54] Generated Node #0,1,3: 32:[29, 54] Operation: 60-6=54 Exploring Operation: 29-6=23, Resulting Numbers: [60, 23] Generated Node #0,1,4: 32:[60, 23] Operation: 29-6=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[6, 31], Operations: ['44-38=6', '60-29=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,32 unequal: No Solution No 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: 32:[29, 10], Operations: ['44-38=6', '60/6=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,32 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,32 unequal: No Solution No 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: 32:[29, 54], Operations: ['44-38=6', '60-6=54'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,32 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,32 unequal: No Solution No 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: 32:[60, 35], Operations: ['44-38=6', '29+6=35'] Exploring Operation: 60*35=2100, Resulting Numbers: [2100] 2100,32 unequal: No Solution Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,32 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,32 unequal: No Solution No 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: 32:[60, 23], Operations: ['44-38=6', '29-6=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,32 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,32 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: 32:[60, 38, 15], Operations: ['44-29=15'] Exploring Operation: 38-15=23, Resulting Numbers: [60, 23] Generated Node #0,0,0: 32:[60, 23] Operation: 38-15=23 Exploring Operation: 60/15=4, Resulting Numbers: [38, 4] Generated Node #0,0,1: 32:[38, 4] Operation: 60/15=4 Exploring Operation: 60-15=45, Resulting Numbers: [38, 45] Generated Node #0,0,2: 32:[38, 45] Operation: 60-15=45 Exploring Operation: 60+15=75, Resulting Numbers: [38, 75] Generated Node #0,0,3: 32:[38, 75] Operation: 60+15=75 Exploring Operation: 60-38=22, Resulting Numbers: [15, 22] Generated Node #0,0,4: 32:[15, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[38, 4], Operations: ['44-29=15', '60/15=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,32 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,32 unequal: No Solution No 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: 32:[15, 22], Operations: ['44-29=15', '60-38=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,32 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,32 unequal: No Solution No 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: 32:[38, 45], Operations: ['44-29=15', '60-15=45'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,32 unequal: No Solution Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,32 unequal: No Solution No 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: 32:[60, 23], Operations: ['44-29=15', '38-15=23'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,32 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,32 unequal: No Solution No 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: 32:[38, 75], Operations: ['44-29=15', '60+15=75'] Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,32 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,32 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 32:[16, 9], Operations: ['60-44=16', '38-29=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[29, 2], Operations: ['60-38=22', '44/22=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[22, 15], Operations: ['60-38=22', '44-29=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[29, 22], Operations: ['60-44=16', '38-16=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[38, 13], Operations: ['60-44=16', '29-16=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,32 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[29, 22], Operations: ['60-38=22', '44-22=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,32 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[44, 7], Operations: ['60-38=22', '29-22=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,32 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[38, 45], Operations: ['60-44=16', '29+16=45'] Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,32 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,32 unequal: No Solution Moving to Node #0,2,4 Current State: 32:[29, 54], Operations: ['60-44=16', '38+16=54'] Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,32 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,32 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[44, 51], Operations: ['60-38=22', '29+22=51'] Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,32 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 68, 2, 5 ]
32
[ "5-3=2", "68/2=34", "34-2=32" ]
Current State: 32:[3, 68, 2, 5], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [68, 2, 2] Generated Node #2: [68, 2, 2] from Operation: 5-3=2 Current State: 32:[68, 2, 2], Operations: ['5-3=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,32 equal: Goal Reached Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[3, 68, 2, 5], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [3, 5, 34] Generated Node #0,0: 32:[3, 5, 34] Operation: 68/2=34 Moving to Node #0,0 Current State: 32:[3, 5, 34], Operations: ['68/2=34'] Exploring Operation: 3+5=8, Resulting Numbers: [34, 8] Generated Node #0,0,0: 32:[34, 8] Operation: 3+5=8 Moving to Node #0,0,0 Current State: 32:[34, 8], Operations: ['68/2=34', '3+5=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,32 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 18, 28, 42, 44 ]
39
[ "44-18=26", "42*26=1092", "1092/28=39" ]
Current State: 39:[18, 28, 42, 44], Operations: [] Exploring Operation: 44-18=26, Resulting Numbers: [28, 42, 26] Generated Node #2: [28, 42, 26] from Operation: 44-18=26 Current State: 39:[28, 42, 26], Operations: ['44-18=26'] Exploring Operation: 42*26=1092, Resulting Numbers: [28, 1092] Generated Node #3: [28, 1092] from Operation: 42*26=1092 Current State: 39:[28, 1092], Operations: ['44-18=26', '42*26=1092'] Exploring Operation: 1092/28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[18, 28, 42, 44], Operations: [] Exploring Operation: 28-18=10, Resulting Numbers: [42, 44, 10] Generated Node #0,0: 39:[42, 44, 10] Operation: 28-18=10 Moving to Node #0,0 Current State: 39:[42, 44, 10], Operations: ['28-18=10'] Exploring Operation: 44-42=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 39:[10, 2] Operation: 44-42=2 Moving to Node #0,0,0 Current State: 39:[10, 2], Operations: ['28-18=10', '44-42=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 78, 98, 47, 37 ]
64
[ "98-78=20", "47+37=84", "84-20=64" ]
Current State: 64:[78, 98, 47, 37], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [47, 37, 20] Generated Node #2: [47, 37, 20] from Operation: 98-78=20 Current State: 64:[47, 37, 20], Operations: ['98-78=20'] Exploring Operation: 47+37=84, Resulting Numbers: [20, 84] Generated Node #3: [20, 84] from Operation: 47+37=84 Current State: 64:[20, 84], Operations: ['98-78=20', '47+37=84'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[78, 98, 47, 37], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [47, 37, 20] Generated Node #0,0: 64:[47, 37, 20] Operation: 98-78=20 Exploring Operation: 78-47=31, Resulting Numbers: [98, 37, 31] Generated Node #0,1: 64:[98, 37, 31] Operation: 78-47=31 Exploring Operation: 98-37=61, Resulting Numbers: [78, 47, 61] Generated Node #0,2: 64:[78, 47, 61] Operation: 98-37=61 Exploring Operation: 98-47=51, Resulting Numbers: [78, 37, 51] Generated Node #0,3: 64:[78, 37, 51] Operation: 98-47=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[47, 37, 20], Operations: ['98-78=20'] Exploring Operation: 47+20=67, Resulting Numbers: [37, 67] Generated Node #0,0,0: 64:[37, 67] Operation: 47+20=67 Exploring Operation: 37-20=17, Resulting Numbers: [47, 17] Generated Node #0,0,1: 64:[47, 17] Operation: 37-20=17 Exploring Operation: 47-37=10, Resulting Numbers: [20, 10] Generated Node #0,0,2: 64:[20, 10] Operation: 47-37=10 Exploring Operation: 47-20=27, Resulting Numbers: [37, 27] Generated Node #0,0,3: 64:[37, 27] Operation: 47-20=27 Moving to Node #0,0,2 Current State: 64:[20, 10], Operations: ['98-78=20', '47-37=10'] Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,64 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[37, 67], Operations: ['98-78=20', '47+20=67'] Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,64 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[37, 27], Operations: ['98-78=20', '47-20=27'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[78, 98, 47, 37], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [47, 37, 20] Generated Node #0,0: 64:[47, 37, 20] Operation: 98-78=20 Moving to Node #0,0 Current State: 64:[47, 37, 20], Operations: ['98-78=20'] Exploring Operation: 47-20=27, Resulting Numbers: [37, 27] Generated Node #0,0,3: 64:[37, 27] Operation: 47-20=27 Moving to Node #0,0,3 Current State: 64:[37, 27], Operations: ['98-78=20', '47-20=27'] Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 45, 7, 69, 39 ]
68
[ "45-7=38", "69-39=30", "38+30=68" ]
Current State: 68:[45, 7, 69, 39], Operations: [] Exploring Operation: 45-7=38, Resulting Numbers: [69, 39, 38] Generated Node #2: [69, 39, 38] from Operation: 45-7=38 Current State: 68:[69, 39, 38], Operations: ['45-7=38'] Exploring Operation: 69-39=30, Resulting Numbers: [38, 30] Generated Node #3: [38, 30] from Operation: 69-39=30 Current State: 68:[38, 30], Operations: ['45-7=38', '69-39=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[45, 7, 69, 39], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [45, 69, 32] Generated Node #0,0: 68:[45, 69, 32] Operation: 39-7=32 Exploring Operation: 45-7=38, Resulting Numbers: [69, 39, 38] Generated Node #0,1: 68:[69, 39, 38] Operation: 45-7=38 Exploring Operation: 69-45=24, Resulting Numbers: [7, 39, 24] Generated Node #0,2: 68:[7, 39, 24] Operation: 69-45=24 Exploring Operation: 45-39=6, Resulting Numbers: [7, 69, 6] Generated Node #0,3: 68:[7, 69, 6] Operation: 45-39=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[7, 69, 6], Operations: ['45-39=6'] Exploring Operation: 7+6=13, Resulting Numbers: [69, 13] Generated Node #0,3,0: 68:[69, 13] Operation: 7+6=13 Exploring Operation: 69-7=62, Resulting Numbers: [6, 62] Generated Node #0,3,1: 68:[6, 62] Operation: 69-7=62 Exploring Operation: 7-6=1, Resulting Numbers: [69, 1] Generated Node #0,3,2: 68:[69, 1] Operation: 7-6=1 Exploring Operation: 69-6=63, Resulting Numbers: [7, 63] Generated Node #0,3,3: 68:[7, 63] Operation: 69-6=63 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[69, 1], Operations: ['45-39=6', '7-6=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[45, 7, 69, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [7, 69, 6] Generated Node #0,3: 68:[7, 69, 6] Operation: 45-39=6 Moving to Node #0,3 Current State: 68:[7, 69, 6], Operations: ['45-39=6'] Exploring Operation: 7-6=1, Resulting Numbers: [69, 1] Generated Node #0,3,2: 68:[69, 1] Operation: 7-6=1 Moving to Node #0,3,2 Current State: 68:[69, 1], Operations: ['45-39=6', '7-6=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 33, 44, 72, 15 ]
46
[ "44-33=11", "72-15=57", "57-11=46" ]
Current State: 46:[33, 44, 72, 15], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [72, 15, 11] Generated Node #2: [72, 15, 11] from Operation: 44-33=11 Current State: 46:[72, 15, 11], Operations: ['44-33=11'] Exploring Operation: 72-15=57, Resulting Numbers: [11, 57] Generated Node #3: [11, 57] from Operation: 72-15=57 Current State: 46:[11, 57], Operations: ['44-33=11', '72-15=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[33, 44, 72, 15], Operations: [] Exploring Operation: 72-44=28, Resulting Numbers: [33, 15, 28] Generated Node #0,0: 46:[33, 15, 28] Operation: 72-44=28 Exploring Operation: 72-15=57, Resulting Numbers: [33, 44, 57] Generated Node #0,1: 46:[33, 44, 57] Operation: 72-15=57 Exploring Operation: 72-33=39, Resulting Numbers: [44, 15, 39] Generated Node #0,2: 46:[44, 15, 39] Operation: 72-33=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[44, 15, 39], Operations: ['72-33=39'] Exploring Operation: 15+39=54, Resulting Numbers: [44, 54] Generated Node #0,2,0: 46:[44, 54] Operation: 15+39=54 Exploring Operation: 44-39=5, Resulting Numbers: [15, 5] Generated Node #0,2,1: 46:[15, 5] Operation: 44-39=5 Exploring Operation: 39-15=24, Resulting Numbers: [44, 24] Generated Node #0,2,2: 46:[44, 24] Operation: 39-15=24 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[44, 24], Operations: ['72-33=39', '39-15=24'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[44, 54], Operations: ['72-33=39', '15+39=54'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,46 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[15, 5], Operations: ['72-33=39', '44-39=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[33, 15, 28], Operations: ['72-44=28'] Exploring Operation: 33+15=48, Resulting Numbers: [28, 48] Generated Node #0,0,0: 46:[28, 48] Operation: 33+15=48 Exploring Operation: 33-28=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 46:[15, 5] Operation: 33-28=5 Exploring Operation: 33-15=18, Resulting Numbers: [28, 18] Generated Node #0,0,2: 46:[28, 18] Operation: 33-15=18 Moving to Node #0,0,0 Current State: 46:[28, 48], Operations: ['72-44=28', '33+15=48'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,46 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[28, 18], Operations: ['72-44=28', '33-15=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[33, 44, 72, 15], Operations: [] Exploring Operation: 72-44=28, Resulting Numbers: [33, 15, 28] Generated Node #0,0: 46:[33, 15, 28] Operation: 72-44=28 Moving to Node #0,0 Current State: 46:[33, 15, 28], Operations: ['72-44=28'] Exploring Operation: 33-15=18, Resulting Numbers: [28, 18] Generated Node #0,0,2: 46:[28, 18] Operation: 33-15=18 Moving to Node #0,0,2 Current State: 46:[28, 18], Operations: ['72-44=28', '33-15=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 34, 6, 43, 91 ]
76
[ "34-6=28", "91-43=48", "28+48=76" ]
Current State: 76:[34, 6, 43, 91], Operations: [] Exploring Operation: 34-6=28, Resulting Numbers: [43, 91, 28] Generated Node #2: [43, 91, 28] from Operation: 34-6=28 Current State: 76:[43, 91, 28], Operations: ['34-6=28'] Exploring Operation: 91-43=48, Resulting Numbers: [28, 48] Generated Node #3: [28, 48] from Operation: 91-43=48 Current State: 76:[28, 48], Operations: ['34-6=28', '91-43=48'] Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[34, 6, 43, 91], Operations: [] Exploring Operation: 91-6=85, Resulting Numbers: [34, 43, 85] Generated Node #0,0: 76:[34, 43, 85] Operation: 91-6=85 Exploring Operation: 34+6=40, Resulting Numbers: [43, 91, 40] Generated Node #0,1: 76:[43, 91, 40] Operation: 34+6=40 Exploring Operation: 91-43=48, Resulting Numbers: [34, 6, 48] Generated Node #0,2: 76:[34, 6, 48] Operation: 91-43=48 Exploring Operation: 34+43=77, Resulting Numbers: [6, 91, 77] Generated Node #0,3: 76:[6, 91, 77] Operation: 34+43=77 Exploring Operation: 43-6=37, Resulting Numbers: [34, 91, 37] Generated Node #0,4: 76:[34, 91, 37] Operation: 43-6=37 Moving to Node #0,2 Current State: 76:[34, 6, 48], Operations: ['91-43=48'] Exploring Operation: 48/6=8, Resulting Numbers: [34, 8] Generated Node #0,2,0: 76:[34, 8] Operation: 48/6=8 Exploring Operation: 48-34=14, Resulting Numbers: [6, 14] Generated Node #0,2,1: 76:[6, 14] Operation: 48-34=14 Exploring Operation: 34+48=82, Resulting Numbers: [6, 82] Generated Node #0,2,2: 76:[6, 82] Operation: 34+48=82 Exploring Operation: 48-6=42, Resulting Numbers: [34, 42] Generated Node #0,2,3: 76:[34, 42] Operation: 48-6=42 Exploring Operation: 34+6=40, Resulting Numbers: [48, 40] Generated Node #0,2,4: 76:[48, 40] Operation: 34+6=40 Moving to Node #0,3 Current State: 76:[6, 91, 77], Operations: ['34+43=77'] Exploring Operation: 6+91=97, Resulting Numbers: [77, 97] Generated Node #0,3,0: 76:[77, 97] Operation: 6+91=97 Exploring Operation: 91-6=85, Resulting Numbers: [77, 85] Generated Node #0,3,1: 76:[77, 85] Operation: 91-6=85 Exploring Operation: 77-6=71, Resulting Numbers: [91, 71] Generated Node #0,3,2: 76:[91, 71] Operation: 77-6=71 Exploring Operation: 6+77=83, Resulting Numbers: [91, 83] Generated Node #0,3,3: 76:[91, 83] Operation: 6+77=83 Exploring Operation: 91-77=14, Resulting Numbers: [6, 14] Generated Node #0,3,4: 76:[6, 14] Operation: 91-77=14 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 76:[6, 14], Operations: ['34+43=77', '91-77=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,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,3,1 Current State: 76:[77, 85], Operations: ['34+43=77', '91-6=85'] Exploring Operation: 77*85=6545, Resulting Numbers: [6545] 6545,76 unequal: No Solution Exploring Operation: 77+85=162, Resulting Numbers: [162] 162,76 unequal: No Solution Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,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,3,2 Current State: 76:[91, 71], Operations: ['34+43=77', '77-6=71'] Exploring Operation: 91*71=6461, Resulting Numbers: [6461] 6461,76 unequal: No Solution Exploring Operation: 91+71=162, Resulting Numbers: [162] 162,76 unequal: No Solution Exploring Operation: 91-71=20, Resulting Numbers: [20] 20,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,3,0 Current State: 76:[77, 97], Operations: ['34+43=77', '6+91=97'] Exploring Operation: 77+97=174, Resulting Numbers: [174] 174,76 unequal: No Solution Exploring Operation: 77*97=7469, Resulting Numbers: [7469] 7469,76 unequal: No Solution Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,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,3,3 Current State: 76:[91, 83], Operations: ['34+43=77', '6+77=83'] Exploring Operation: 91+83=174, Resulting Numbers: [174] 174,76 unequal: No Solution Exploring Operation: 91-83=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 91*83=7553, Resulting Numbers: [7553] 7553,76 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: 76:[34, 43, 85], Operations: ['91-6=85'] Exploring Operation: 34+43=77, Resulting Numbers: [85, 77] Generated Node #0,0,0: 76:[85, 77] Operation: 34+43=77 Exploring Operation: 85-43=42, Resulting Numbers: [34, 42] Generated Node #0,0,1: 76:[34, 42] Operation: 85-43=42 Exploring Operation: 85-34=51, Resulting Numbers: [43, 51] Generated Node #0,0,2: 76:[43, 51] Operation: 85-34=51 Exploring Operation: 34+85=119, Resulting Numbers: [43, 119] Generated Node #0,0,3: 76:[43, 119] Operation: 34+85=119 Exploring Operation: 43-34=9, Resulting Numbers: [85, 9] Generated Node #0,0,4: 76:[85, 9] Operation: 43-34=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[34, 42], Operations: ['91-6=85', '85-43=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[34, 6, 43, 91], Operations: [] Exploring Operation: 91-6=85, Resulting Numbers: [34, 43, 85] Generated Node #0,0: 76:[34, 43, 85] Operation: 91-6=85 Moving to Node #0,0 Current State: 76:[34, 43, 85], Operations: ['91-6=85'] Exploring Operation: 85-43=42, Resulting Numbers: [34, 42] Generated Node #0,0,1: 76:[34, 42] Operation: 85-43=42 Moving to Node #0,0,1 Current State: 76:[34, 42], Operations: ['91-6=85', '85-43=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 29, 13, 58, 31 ]
16
[ "58/29=2", "31-13=18", "18-2=16" ]
Current State: 16:[29, 13, 58, 31], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [13, 31, 2] Generated Node #2: [13, 31, 2] from Operation: 58/29=2 Current State: 16:[13, 31, 2], Operations: ['58/29=2'] Exploring Operation: 31-13=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 31-13=18 Current State: 16:[2, 18], Operations: ['58/29=2', '31-13=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[29, 13, 58, 31], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [29, 13, 27] Generated Node #0,0: 16:[29, 13, 27] Operation: 58-31=27 Exploring Operation: 58/29=2, Resulting Numbers: [13, 31, 2] Generated Node #0,1: 16:[13, 31, 2] Operation: 58/29=2 Moving to Node #0,1 Current State: 16:[13, 31, 2], Operations: ['58/29=2'] Exploring Operation: 13+2=15, Resulting Numbers: [31, 15] Generated Node #0,1,0: 16:[31, 15] Operation: 13+2=15 Exploring Operation: 31-13=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 16:[2, 18] Operation: 31-13=18 Moving to Node #0,0 Current State: 16:[29, 13, 27], Operations: ['58-31=27'] Exploring Operation: 29-27=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 16:[13, 2] Operation: 29-27=2 Exploring Operation: 29-13=16, Resulting Numbers: [27, 16] Generated Node #0,0,1: 16:[27, 16] Operation: 29-13=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[13, 2], Operations: ['58-31=27', '29-27=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[27, 16], Operations: ['58-31=27', '29-13=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 16:[2, 18], Operations: ['58/29=2', '31-13=18'] 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:[29, 13, 58, 31], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [13, 31, 2] Generated Node #0,1: 16:[13, 31, 2] Operation: 58/29=2 Moving to Node #0,1 Current State: 16:[13, 31, 2], Operations: ['58/29=2'] Exploring Operation: 31-13=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 16:[2, 18] Operation: 31-13=18 Moving to Node #0,1,1 Current State: 16:[2, 18], Operations: ['58/29=2', '31-13=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 43, 27, 57, 5 ]
46
[ "43-27=16", "57+5=62", "62-16=46" ]
Current State: 46:[43, 27, 57, 5], Operations: [] Exploring Operation: 43-27=16, Resulting Numbers: [57, 5, 16] Generated Node #2: [57, 5, 16] from Operation: 43-27=16 Current State: 46:[57, 5, 16], Operations: ['43-27=16'] Exploring Operation: 57+5=62, Resulting Numbers: [16, 62] Generated Node #3: [16, 62] from Operation: 57+5=62 Current State: 46:[16, 62], Operations: ['43-27=16', '57+5=62'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[43, 27, 57, 5], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [43, 5, 30] Generated Node #0,0: 46:[43, 5, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[43, 5, 30], Operations: ['57-27=30'] Exploring Operation: 30-5=25, Resulting Numbers: [43, 25] Generated Node #0,0,0: 46:[43, 25] Operation: 30-5=25 Moving to Node #0,0,0 Current State: 46:[43, 25], Operations: ['57-27=30', '30-5=25'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,46 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
[ 42, 34, 63, 41 ]
69
[ "41-34=7", "42/7=6", "63+6=69" ]
Current State: 69:[42, 34, 63, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [42, 63, 7] Generated Node #2: [42, 63, 7] from Operation: 41-34=7 Current State: 69:[42, 63, 7], Operations: ['41-34=7'] Exploring Operation: 42/7=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 42/7=6 Current State: 69:[63, 6], Operations: ['41-34=7', '42/7=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[42, 34, 63, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [42, 63, 7] Generated Node #0,0: 69:[42, 63, 7] Operation: 41-34=7 Exploring Operation: 42-34=8, Resulting Numbers: [63, 41, 8] Generated Node #0,1: 69:[63, 41, 8] Operation: 42-34=8 Exploring Operation: 42+34=76, Resulting Numbers: [63, 41, 76] Generated Node #0,2: 69:[63, 41, 76] Operation: 42+34=76 Exploring Operation: 63-42=21, Resulting Numbers: [34, 41, 21] Generated Node #0,3: 69:[34, 41, 21] Operation: 63-42=21 Exploring Operation: 42-41=1, Resulting Numbers: [34, 63, 1] Generated Node #0,4: 69:[34, 63, 1] Operation: 42-41=1 Moving to Node #0,4 Current State: 69:[34, 63, 1], Operations: ['42-41=1'] Exploring Operation: 34-1=33, Resulting Numbers: [63, 33] Generated Node #0,4,0: 69:[63, 33] Operation: 34-1=33 Exploring Operation: 34*1=34, Resulting Numbers: [63, 34] Generated Node #0,4,1: 69:[63, 34] Operation: 34*1=34 Exploring Operation: 34/1=34, Resulting Numbers: [63, 34] Generated Node #0,4,2: 69:[63, 34] Operation: 34/1=34 Exploring Operation: 63+1=64, Resulting Numbers: [34, 64] Generated Node #0,4,3: 69:[34, 64] Operation: 63+1=64 Exploring Operation: 63-34=29, Resulting Numbers: [1, 29] Generated Node #0,4,4: 69:[1, 29] Operation: 63-34=29 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 69:[1, 29], Operations: ['42-41=1', '63-34=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 69:[63, 33], Operations: ['42-41=1', '34-1=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 69:[34, 64], Operations: ['42-41=1', '63+1=64'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,69 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 69:[63, 34], Operations: ['42-41=1', '34*1=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,69 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 69:[63, 34], Operations: ['42-41=1', '34/1=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,69 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 69:[63, 41, 8], Operations: ['42-34=8'] Exploring Operation: 63-8=55, Resulting Numbers: [41, 55] Generated Node #0,1,0: 69:[41, 55] Operation: 63-8=55 Exploring Operation: 63+8=71, Resulting Numbers: [41, 71] Generated Node #0,1,1: 69:[41, 71] Operation: 63+8=71 Exploring Operation: 41-8=33, Resulting Numbers: [63, 33] Generated Node #0,1,2: 69:[63, 33] Operation: 41-8=33 Exploring Operation: 63-41=22, Resulting Numbers: [8, 22] Generated Node #0,1,3: 69:[8, 22] Operation: 63-41=22 Exploring Operation: 41+8=49, Resulting Numbers: [63, 49] Generated Node #0,1,4: 69:[63, 49] Operation: 41+8=49 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[8, 22], Operations: ['42-34=8', '63-41=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,69 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,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:[63, 33], Operations: ['42-34=8', '41-8=33'] Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,69 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,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,1 Current State: 69:[41, 71], Operations: ['42-34=8', '63+8=71'] Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,69 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,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,4 Current State: 69:[63, 49], Operations: ['42-34=8', '41+8=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,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:[41, 55], Operations: ['42-34=8', '63-8=55'] Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,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:[42, 63, 7], Operations: ['41-34=7'] Exploring Operation: 63/7=9, Resulting Numbers: [42, 9] Generated Node #0,0,0: 69:[42, 9] Operation: 63/7=9 Exploring Operation: 42/7=6, Resulting Numbers: [63, 6] Generated Node #0,0,1: 69:[63, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [63, 35] Generated Node #0,0,2: 69:[63, 35] Operation: 42-7=35 Exploring Operation: 63-42=21, Resulting Numbers: [7, 21] Generated Node #0,0,3: 69:[7, 21] Operation: 63-42=21 Exploring Operation: 63+7=70, Resulting Numbers: [42, 70] Generated Node #0,0,4: 69:[42, 70] Operation: 63+7=70 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[7, 21], Operations: ['41-34=7', '63-42=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,69 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[63, 6], Operations: ['41-34=7', '42/7=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[42, 34, 63, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [42, 63, 7] Generated Node #0,0: 69:[42, 63, 7] Operation: 41-34=7 Moving to Node #0,0 Current State: 69:[42, 63, 7], Operations: ['41-34=7'] Exploring Operation: 42/7=6, Resulting Numbers: [63, 6] Generated Node #0,0,1: 69:[63, 6] Operation: 42/7=6 Moving to Node #0,0,1 Current State: 69:[63, 6], Operations: ['41-34=7', '42/7=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 34, 11, 39, 8 ]
48
[ "34+11=45", "45-39=6", "8*6=48" ]
Current State: 48:[34, 11, 39, 8], Operations: [] Exploring Operation: 34+11=45, Resulting Numbers: [39, 8, 45] Generated Node #2: [39, 8, 45] from Operation: 34+11=45 Current State: 48:[39, 8, 45], Operations: ['34+11=45'] Exploring Operation: 45-39=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 45-39=6 Current State: 48:[8, 6], Operations: ['34+11=45', '45-39=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[34, 11, 39, 8], Operations: [] Exploring Operation: 34-11=23, Resulting Numbers: [39, 8, 23] Generated Node #0,0: 48:[39, 8, 23] Operation: 34-11=23 Exploring Operation: 39-34=5, Resulting Numbers: [11, 8, 5] Generated Node #0,1: 48:[11, 8, 5] Operation: 39-34=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[11, 8, 5], Operations: ['39-34=5'] Exploring Operation: 11+5=16, Resulting Numbers: [8, 16] Generated Node #0,1,0: 48:[8, 16] Operation: 11+5=16 Exploring Operation: 11-5=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 48:[8, 6] Operation: 11-5=6 Moving to Node #0,1,0 Current State: 48:[8, 16], Operations: ['39-34=5', '11+5=16'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[8, 6], Operations: ['39-34=5', '11-5=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[34, 11, 39, 8], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [11, 8, 5] Generated Node #0,1: 48:[11, 8, 5] Operation: 39-34=5 Moving to Node #0,1 Current State: 48:[11, 8, 5], Operations: ['39-34=5'] Exploring Operation: 11-5=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 48:[8, 6] Operation: 11-5=6 Moving to Node #0,1,1 Current State: 48:[8, 6], Operations: ['39-34=5', '11-5=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 9, 66, 91, 3 ]
80
[ "66-9=57", "3*57=171", "171-91=80" ]
Current State: 80:[9, 66, 91, 3], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [91, 3, 57] Generated Node #2: [91, 3, 57] from Operation: 66-9=57 Current State: 80:[91, 3, 57], Operations: ['66-9=57'] Exploring Operation: 3*57=171, Resulting Numbers: [91, 171] Generated Node #3: [91, 171] from Operation: 3*57=171 Current State: 80:[91, 171], Operations: ['66-9=57', '3*57=171'] Exploring Operation: 171-91=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[9, 66, 91, 3], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [9, 3, 25] Generated Node #0,0: 80:[9, 3, 25] Operation: 91-66=25 Exploring Operation: 9+66=75, Resulting Numbers: [91, 3, 75] Generated Node #0,1: 80:[91, 3, 75] Operation: 9+66=75 Exploring Operation: 66/3=22, Resulting Numbers: [9, 91, 22] Generated Node #0,2: 80:[9, 91, 22] Operation: 66/3=22 Moving to Node #0,0 Current State: 80:[9, 3, 25], Operations: ['91-66=25'] Exploring Operation: 25-3=22, Resulting Numbers: [9, 22] Generated Node #0,0,0: 80:[9, 22] Operation: 25-3=22 Exploring Operation: 25-9=16, Resulting Numbers: [3, 16] Generated Node #0,0,1: 80:[3, 16] Operation: 25-9=16 Exploring Operation: 9-3=6, Resulting Numbers: [25, 6] Generated Node #0,0,2: 80:[25, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[3, 16], Operations: ['91-66=25', '25-9=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[9, 22], Operations: ['91-66=25', '25-3=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,80 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,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:[25, 6], Operations: ['91-66=25', '9-3=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,80 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[9, 91, 22], Operations: ['66/3=22'] Exploring Operation: 22-9=13, Resulting Numbers: [91, 13] Generated Node #0,2,0: 80:[91, 13] Operation: 22-9=13 Exploring Operation: 91-9=82, Resulting Numbers: [22, 82] Generated Node #0,2,1: 80:[22, 82] Operation: 91-9=82 Exploring Operation: 91-22=69, Resulting Numbers: [9, 69] Generated Node #0,2,2: 80:[9, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[22, 82], Operations: ['66/3=22', '91-9=82'] Exploring Operation: 22*82=1804, Resulting Numbers: [1804] 1804,80 unequal: No Solution Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,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:[9, 69], Operations: ['66/3=22', '91-22=69'] Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,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,0 Current State: 80:[91, 13], Operations: ['66/3=22', '22-9=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,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:[91, 3, 75], Operations: ['9+66=75'] Exploring Operation: 91-75=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 80:[3, 16] Operation: 91-75=16 Exploring Operation: 91-3=88, Resulting Numbers: [75, 88] Generated Node #0,1,1: 80:[75, 88] Operation: 91-3=88 Exploring Operation: 3+75=78, Resulting Numbers: [91, 78] Generated Node #0,1,2: 80:[91, 78] Operation: 3+75=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[3, 16], Operations: ['9+66=75', '91-75=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[75, 88], Operations: ['9+66=75', '91-3=88'] Exploring Operation: 75*88=6600, Resulting Numbers: [6600] 6600,80 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 75+88=163, Resulting Numbers: [163] 163,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[91, 78], Operations: ['9+66=75', '3+75=78'] Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,80 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 72, 6, 13, 19 ]
71
[ "6+13=19", "19/19=1", "72-1=71" ]
Current State: 71:[72, 6, 13, 19], Operations: [] Exploring Operation: 6+13=19, Resulting Numbers: [72, 19, 19] Generated Node #2: [72, 19, 19] from Operation: 6+13=19 Current State: 71:[72, 19, 19], Operations: ['6+13=19'] Exploring Operation: 19/19=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 19/19=1 Current State: 71:[72, 1], Operations: ['6+13=19', '19/19=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[72, 6, 13, 19], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [72, 19, 78] Generated Node #0,0: 71:[72, 19, 78] Operation: 6*13=78 Moving to Node #0,0 Current State: 71:[72, 19, 78], Operations: ['6*13=78'] Exploring Operation: 78-19=59, Resulting Numbers: [72, 59] Generated Node #0,0,0: 71:[72, 59] Operation: 78-19=59 Moving to Node #0,0,0 Current State: 71:[72, 59], Operations: ['6*13=78', '78-19=59'] Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 81, 5, 46, 8 ]
48
[ "81+5=86", "46-8=38", "86-38=48" ]
Current State: 48:[81, 5, 46, 8], Operations: [] Exploring Operation: 81+5=86, Resulting Numbers: [46, 8, 86] Generated Node #2: [46, 8, 86] from Operation: 81+5=86 Current State: 48:[46, 8, 86], Operations: ['81+5=86'] Exploring Operation: 46-8=38, Resulting Numbers: [86, 38] Generated Node #3: [86, 38] from Operation: 46-8=38 Current State: 48:[86, 38], Operations: ['81+5=86', '46-8=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[81, 5, 46, 8], Operations: [] Exploring Operation: 81-8=73, Resulting Numbers: [5, 46, 73] Generated Node #0,0: 48:[5, 46, 73] Operation: 81-8=73 Exploring Operation: 8-5=3, Resulting Numbers: [81, 46, 3] Generated Node #0,1: 48:[81, 46, 3] Operation: 8-5=3 Exploring Operation: 81-46=35, Resulting Numbers: [5, 8, 35] Generated Node #0,2: 48:[5, 8, 35] Operation: 81-46=35 Exploring Operation: 5+46=51, Resulting Numbers: [81, 8, 51] Generated Node #0,3: 48:[81, 8, 51] Operation: 5+46=51 Exploring Operation: 81-5=76, Resulting Numbers: [46, 8, 76] Generated Node #0,4: 48:[46, 8, 76] Operation: 81-5=76 Moving to Node #0,2 Current State: 48:[5, 8, 35], Operations: ['81-46=35'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 48:[8, 7] Operation: 35/5=7 Exploring Operation: 35-8=27, Resulting Numbers: [5, 27] Generated Node #0,2,1: 48:[5, 27] Operation: 35-8=27 Exploring Operation: 8+35=43, Resulting Numbers: [5, 43] Generated Node #0,2,2: 48:[5, 43] Operation: 8+35=43 Exploring Operation: 5+35=40, Resulting Numbers: [8, 40] Generated Node #0,2,3: 48:[8, 40] Operation: 5+35=40 Exploring Operation: 35-5=30, Resulting Numbers: [8, 30] Generated Node #0,2,4: 48:[8, 30] Operation: 35-5=30 Moving to Node #0,0 Current State: 48:[5, 46, 73], Operations: ['81-8=73'] Exploring Operation: 73-5=68, Resulting Numbers: [46, 68] Generated Node #0,0,0: 48:[46, 68] Operation: 73-5=68 Exploring Operation: 46-5=41, Resulting Numbers: [73, 41] Generated Node #0,0,1: 48:[73, 41] Operation: 46-5=41 Exploring Operation: 5+73=78, Resulting Numbers: [46, 78] Generated Node #0,0,2: 48:[46, 78] Operation: 5+73=78 Exploring Operation: 73-46=27, Resulting Numbers: [5, 27] Generated Node #0,0,3: 48:[5, 27] Operation: 73-46=27 Exploring Operation: 5+46=51, Resulting Numbers: [73, 51] Generated Node #0,0,4: 48:[73, 51] Operation: 5+46=51 Moving to Node #0,4 Current State: 48:[46, 8, 76], Operations: ['81-5=76'] Exploring Operation: 46+8=54, Resulting Numbers: [76, 54] Generated Node #0,4,0: 48:[76, 54] Operation: 46+8=54 Exploring Operation: 46-8=38, Resulting Numbers: [76, 38] Generated Node #0,4,1: 48:[76, 38] Operation: 46-8=38 Exploring Operation: 76-46=30, Resulting Numbers: [8, 30] Generated Node #0,4,2: 48:[8, 30] Operation: 76-46=30 Exploring Operation: 76-8=68, Resulting Numbers: [46, 68] Generated Node #0,4,3: 48:[46, 68] Operation: 76-8=68 Exploring Operation: 8+76=84, Resulting Numbers: [46, 84] Generated Node #0,4,4: 48:[46, 84] Operation: 8+76=84 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 48:[8, 30], Operations: ['81-5=76', '76-46=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,48 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,48 unequal: No Solution No 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: 48:[46, 68], Operations: ['81-5=76', '76-8=68'] Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,48 unequal: No Solution No 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: 48:[76, 54], Operations: ['81-5=76', '46+8=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,48 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,48 unequal: No Solution No 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: 48:[76, 38], Operations: ['81-5=76', '46-8=38'] Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,48 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,48 unequal: No Solution No 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: 48:[46, 84], Operations: ['81-5=76', '8+76=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,48 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,48 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: 48:[81, 46, 3], Operations: ['8-5=3'] Exploring Operation: 81-3=78, Resulting Numbers: [46, 78] Generated Node #0,1,0: 48:[46, 78] Operation: 81-3=78 Exploring Operation: 46+3=49, Resulting Numbers: [81, 49] Generated Node #0,1,1: 48:[81, 49] Operation: 46+3=49 Exploring Operation: 81+3=84, Resulting Numbers: [46, 84] Generated Node #0,1,2: 48:[46, 84] Operation: 81+3=84 Exploring Operation: 81-46=35, Resulting Numbers: [3, 35] Generated Node #0,1,3: 48:[3, 35] Operation: 81-46=35 Exploring Operation: 81/3=27, Resulting Numbers: [46, 27] Generated Node #0,1,4: 48:[46, 27] Operation: 81/3=27 Moving to Node #0,3 Current State: 48:[81, 8, 51], Operations: ['5+46=51'] Exploring Operation: 81-51=30, Resulting Numbers: [8, 30] Generated Node #0,3,0: 48:[8, 30] Operation: 81-51=30 Exploring Operation: 81-8=73, Resulting Numbers: [51, 73] Generated Node #0,3,1: 48:[51, 73] Operation: 81-8=73 Exploring Operation: 8+51=59, Resulting Numbers: [81, 59] Generated Node #0,3,2: 48:[81, 59] Operation: 8+51=59 Exploring Operation: 81+8=89, Resulting Numbers: [51, 89] Generated Node #0,3,3: 48:[51, 89] Operation: 81+8=89 Exploring Operation: 51-8=43, Resulting Numbers: [81, 43] Generated Node #0,3,4: 48:[81, 43] Operation: 51-8=43 Moving to Node #0,2,0 Current State: 48:[8, 7], Operations: ['81-46=35', '35/5=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[5, 27], Operations: ['81-8=73', '73-46=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[5, 27], Operations: ['81-46=35', '35-8=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[46, 27], Operations: ['8-5=3', '81/3=27'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,48 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[5, 43], Operations: ['81-46=35', '8+35=43'] Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,48 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[81, 5, 46, 8], Operations: [] Exploring Operation: 81-46=35, Resulting Numbers: [5, 8, 35] Generated Node #0,2: 48:[5, 8, 35] Operation: 81-46=35 Moving to Node #0,2 Current State: 48:[5, 8, 35], Operations: ['81-46=35'] Exploring Operation: 8+35=43, Resulting Numbers: [5, 43] Generated Node #0,2,2: 48:[5, 43] Operation: 8+35=43 Moving to Node #0,2,2 Current State: 48:[5, 43], Operations: ['81-46=35', '8+35=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 80, 83, 3, 74 ]
86
[ "80+83=163", "3+74=77", "163-77=86" ]
Current State: 86:[80, 83, 3, 74], Operations: [] Exploring Operation: 80+83=163, Resulting Numbers: [3, 74, 163] Generated Node #2: [3, 74, 163] from Operation: 80+83=163 Current State: 86:[3, 74, 163], Operations: ['80+83=163'] Exploring Operation: 3+74=77, Resulting Numbers: [163, 77] Generated Node #3: [163, 77] from Operation: 3+74=77 Current State: 86:[163, 77], Operations: ['80+83=163', '3+74=77'] Exploring Operation: 163-77=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 83, 3, 74], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [80, 3, 9] Generated Node #0,0: 86:[80, 3, 9] Operation: 83-74=9 Exploring Operation: 80-74=6, Resulting Numbers: [83, 3, 6] Generated Node #0,1: 86:[83, 3, 6] Operation: 80-74=6 Exploring Operation: 83-80=3, Resulting Numbers: [3, 74, 3] Generated Node #0,2: 86:[3, 74, 3] Operation: 83-80=3 Moving to Node #0,1 Current State: 86:[83, 3, 6], Operations: ['80-74=6'] Exploring Operation: 6/3=2, Resulting Numbers: [83, 2] Generated Node #0,1,0: 86:[83, 2] Operation: 6/3=2 Exploring Operation: 83+6=89, Resulting Numbers: [3, 89] Generated Node #0,1,1: 86:[3, 89] Operation: 83+6=89 Exploring Operation: 83+3=86, Resulting Numbers: [6, 86] Generated Node #0,1,2: 86:[6, 86] Operation: 83+3=86 Moving to Node #0,0 Current State: 86:[80, 3, 9], Operations: ['83-74=9'] Exploring Operation: 9/3=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 86:[80, 3] Operation: 9/3=3 Exploring Operation: 80+9=89, Resulting Numbers: [3, 89] Generated Node #0,0,1: 86:[3, 89] Operation: 80+9=89 Exploring Operation: 80+3=83, Resulting Numbers: [9, 83] Generated Node #0,0,2: 86:[9, 83] Operation: 80+3=83 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[3, 89], Operations: ['83-74=9', '80+9=89'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 83, 3, 74], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [80, 3, 9] Generated Node #0,0: 86:[80, 3, 9] Operation: 83-74=9 Moving to Node #0,0 Current State: 86:[80, 3, 9], Operations: ['83-74=9'] Exploring Operation: 80+9=89, Resulting Numbers: [3, 89] Generated Node #0,0,1: 86:[3, 89] Operation: 80+9=89 Moving to Node #0,0,1 Current State: 86:[3, 89], Operations: ['83-74=9', '80+9=89'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 24, 82, 85, 11 ]
97
[ "24*11=264", "82+85=167", "264-167=97" ]
Current State: 97:[24, 82, 85, 11], Operations: [] Exploring Operation: 24*11=264, Resulting Numbers: [82, 85, 264] Generated Node #2: [82, 85, 264] from Operation: 24*11=264 Current State: 97:[82, 85, 264], Operations: ['24*11=264'] Exploring Operation: 82+85=167, Resulting Numbers: [264, 167] Generated Node #3: [264, 167] from Operation: 82+85=167 Current State: 97:[264, 167], Operations: ['24*11=264', '82+85=167'] Exploring Operation: 264-167=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[24, 82, 85, 11], Operations: [] Exploring Operation: 82+11=93, Resulting Numbers: [24, 85, 93] Generated Node #0,0: 97:[24, 85, 93] Operation: 82+11=93 Exploring Operation: 24+11=35, Resulting Numbers: [82, 85, 35] Generated Node #0,1: 97:[82, 85, 35] Operation: 24+11=35 Exploring Operation: 85+11=96, Resulting Numbers: [24, 82, 96] Generated Node #0,2: 97:[24, 82, 96] Operation: 85+11=96 Exploring Operation: 24+82=106, Resulting Numbers: [85, 11, 106] Generated Node #0,3: 97:[85, 11, 106] Operation: 24+82=106 Moving to Node #0,0 Current State: 97:[24, 85, 93], Operations: ['82+11=93'] Exploring Operation: 93-24=69, Resulting Numbers: [85, 69] Generated Node #0,0,0: 97:[85, 69] Operation: 93-24=69 Exploring Operation: 24+93=117, Resulting Numbers: [85, 117] Generated Node #0,0,1: 97:[85, 117] Operation: 24+93=117 Exploring Operation: 24+85=109, Resulting Numbers: [93, 109] Generated Node #0,0,2: 97:[93, 109] Operation: 24+85=109 Exploring Operation: 85-24=61, Resulting Numbers: [93, 61] Generated Node #0,0,3: 97:[93, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[93, 109], Operations: ['82+11=93', '24+85=109'] Exploring Operation: 109-93=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 93*109=10137, Resulting Numbers: [10137] 10137,97 unequal: No Solution Exploring Operation: 93+109=202, Resulting Numbers: [202] 202,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[85, 117], Operations: ['82+11=93', '24+93=117'] Exploring Operation: 85*117=9945, Resulting Numbers: [9945] 9945,97 unequal: No Solution Exploring Operation: 85+117=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[85, 69], Operations: ['82+11=93', '93-24=69'] Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,97 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[93, 61], Operations: ['82+11=93', '85-24=61'] Exploring Operation: 93*61=5673, Resulting Numbers: [5673] 5673,97 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 93+61=154, Resulting Numbers: [154] 154,97 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: 97:[24, 82, 96], Operations: ['85+11=96'] Exploring Operation: 96-24=72, Resulting Numbers: [82, 72] Generated Node #0,2,0: 97:[82, 72] Operation: 96-24=72 Exploring Operation: 24+82=106, Resulting Numbers: [96, 106] Generated Node #0,2,1: 97:[96, 106] Operation: 24+82=106 Exploring Operation: 24+96=120, Resulting Numbers: [82, 120] Generated Node #0,2,2: 97:[82, 120] Operation: 24+96=120 Exploring Operation: 82-24=58, Resulting Numbers: [96, 58] Generated Node #0,2,3: 97:[96, 58] Operation: 82-24=58 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[96, 106], Operations: ['85+11=96', '24+82=106'] Exploring Operation: 96+106=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 96*106=10176, Resulting Numbers: [10176] 10176,97 unequal: No Solution Exploring Operation: 106-96=10, Resulting Numbers: [10] 10,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,2,2 Current State: 97:[82, 120], Operations: ['85+11=96', '24+96=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 82*120=9840, Resulting Numbers: [9840] 9840,97 unequal: No Solution Exploring Operation: 82+120=202, Resulting Numbers: [202] 202,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,2,0 Current State: 97:[82, 72], Operations: ['85+11=96', '96-24=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,97 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,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,2,3 Current State: 97:[96, 58], Operations: ['85+11=96', '82-24=58'] Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,97 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: 97:[82, 85, 35], Operations: ['24+11=35'] Exploring Operation: 82-35=47, Resulting Numbers: [85, 47] Generated Node #0,1,0: 97:[85, 47] Operation: 82-35=47 Exploring Operation: 85+35=120, Resulting Numbers: [82, 120] Generated Node #0,1,1: 97:[82, 120] Operation: 85+35=120 Exploring Operation: 85-35=50, Resulting Numbers: [82, 50] Generated Node #0,1,2: 97:[82, 50] Operation: 85-35=50 Exploring Operation: 82+35=117, Resulting Numbers: [85, 117] Generated Node #0,1,3: 97:[85, 117] Operation: 82+35=117 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[85, 117], Operations: ['24+11=35', '82+35=117'] Exploring Operation: 85*117=9945, Resulting Numbers: [9945] 9945,97 unequal: No Solution Exploring Operation: 85+117=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,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,1 Current State: 97:[82, 120], Operations: ['24+11=35', '85+35=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 82+120=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 82*120=9840, Resulting Numbers: [9840] 9840,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,0 Current State: 97:[85, 47], Operations: ['24+11=35', '82-35=47'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,97 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,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,2 Current State: 97:[82, 50], Operations: ['24+11=35', '85-35=50'] Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,97 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,97 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: 97:[85, 11, 106], Operations: ['24+82=106'] Exploring Operation: 85+11=96, Resulting Numbers: [106, 96] Generated Node #0,3,0: 97:[106, 96] Operation: 85+11=96 Exploring Operation: 106-11=95, Resulting Numbers: [85, 95] Generated Node #0,3,1: 97:[85, 95] Operation: 106-11=95 Exploring Operation: 85-11=74, Resulting Numbers: [106, 74] Generated Node #0,3,2: 97:[106, 74] Operation: 85-11=74 Exploring Operation: 11+106=117, Resulting Numbers: [85, 117] Generated Node #0,3,3: 97:[85, 117] Operation: 11+106=117 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[106, 96], Operations: ['24+82=106', '85+11=96'] Exploring Operation: 106*96=10176, Resulting Numbers: [10176] 10176,97 unequal: No Solution Exploring Operation: 106+96=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 106-96=10, Resulting Numbers: [10] 10,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,3,1 Current State: 97:[85, 95], Operations: ['24+82=106', '106-11=95'] Exploring Operation: 85*95=8075, Resulting Numbers: [8075] 8075,97 unequal: No Solution Exploring Operation: 85+95=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,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,3,2 Current State: 97:[106, 74], Operations: ['24+82=106', '85-11=74'] Exploring Operation: 106*74=7844, Resulting Numbers: [7844] 7844,97 unequal: No Solution Exploring Operation: 106+74=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 106-74=32, Resulting Numbers: [32] 32,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,3,3 Current State: 97:[85, 117], Operations: ['24+82=106', '11+106=117'] Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 85+117=202, Resulting Numbers: [202] 202,97 unequal: No Solution Exploring Operation: 85*117=9945, Resulting Numbers: [9945] 9945,97 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
[ 78, 75, 75, 26 ]
98
[ "78-75=3", "75+26=101", "101-3=98" ]
Current State: 98:[78, 75, 75, 26], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [26, 3] Generated Node #2: [26, 3] from Operation: 78-75=3 Current State: 98:[26, 3], Operations: ['78-75=3'] Exploring Operation: 75+26=101, Resulting Numbers: [3, 101] Generated Node #3: [3, 101] from Operation: 75+26=101 Current State: 98:[3, 101], Operations: ['78-75=3', '75+26=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[78, 75, 75, 26], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [75, 26, 3] Generated Node #0,0: 98:[75, 26, 3] Operation: 78-75=3 Exploring Operation: 75/75=1, Resulting Numbers: [78, 26, 1] Generated Node #0,1: 98:[78, 26, 1] Operation: 75/75=1 Exploring Operation: 75-75=0, Resulting Numbers: [78, 26, 0] Generated Node #0,2: 98:[78, 26, 0] Operation: 75-75=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[78, 26, 1], Operations: ['75/75=1'] Exploring Operation: 78+26=104, Resulting Numbers: [1, 104] Generated Node #0,1,0: 98:[1, 104] Operation: 78+26=104 Exploring Operation: 78/26=3, Resulting Numbers: [1, 3] Generated Node #0,1,1: 98:[1, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [1, 52] Generated Node #0,1,2: 98:[1, 52] Operation: 78-26=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[1, 3], Operations: ['75/75=1', '78/26=3'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,98 unequal: No Solution No 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: 98:[1, 52], Operations: ['75/75=1', '78-26=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,98 unequal: No Solution No 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: 98:[1, 104], Operations: ['75/75=1', '78+26=104'] Exploring Operation: 1*104=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 104-1=103, Resulting Numbers: [103] 103,98 unequal: No Solution Exploring Operation: 104/1=104, Resulting Numbers: [104] 104,98 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: 98:[78, 26, 0], Operations: ['75-75=0'] Exploring Operation: 78+26=104, Resulting Numbers: [0, 104] Generated Node #0,2,0: 98:[0, 104] Operation: 78+26=104 Exploring Operation: 78/26=3, Resulting Numbers: [0, 3] Generated Node #0,2,1: 98:[0, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [0, 52] Generated Node #0,2,2: 98:[0, 52] Operation: 78-26=52 Moving to Node #0,2,1 Current State: 98:[0, 3], Operations: ['75-75=0', '78/26=3'] Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[0, 52], Operations: ['75-75=0', '78-26=52'] Exploring Operation: 52-0=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 0*52=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 0+52=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[0, 104], Operations: ['75-75=0', '78+26=104'] Exploring Operation: 0*104=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 104-0=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 0+104=104, Resulting Numbers: [104] 104,98 unequal: No Solution No 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: 98:[75, 26, 3], Operations: ['78-75=3'] Exploring Operation: 75-26=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 98:[3, 49] Operation: 75-26=49 Exploring Operation: 75+26=101, Resulting Numbers: [3, 101] Generated Node #0,0,1: 98:[3, 101] Operation: 75+26=101 Exploring Operation: 75/3=25, Resulting Numbers: [26, 25] Generated Node #0,0,2: 98:[26, 25] Operation: 75/3=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[3, 49], Operations: ['78-75=3', '75-26=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,98 unequal: No Solution No 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: 98:[3, 101], Operations: ['78-75=3', '75+26=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[78, 75, 75, 26], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [75, 26, 3] Generated Node #0,0: 98:[75, 26, 3] Operation: 78-75=3 Moving to Node #0,0 Current State: 98:[75, 26, 3], Operations: ['78-75=3'] Exploring Operation: 75+26=101, Resulting Numbers: [3, 101] Generated Node #0,0,1: 98:[3, 101] Operation: 75+26=101 Moving to Node #0,0,1 Current State: 98:[3, 101], Operations: ['78-75=3', '75+26=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_3
mult_heuristic
[ 3, 81, 12, 45 ]
22
[ "81-12=69", "69/3=23", "45-23=22" ]
Current State: 22:[3, 81, 12, 45], Operations: [] Exploring Operation: 81-12=69, Resulting Numbers: [3, 45, 69] Generated Node #2: [3, 45, 69] from Operation: 81-12=69 Current State: 22:[3, 45, 69], Operations: ['81-12=69'] Exploring Operation: 69/3=23, Resulting Numbers: [45, 23] Generated Node #3: [45, 23] from Operation: 69/3=23 Current State: 22:[45, 23], Operations: ['81-12=69', '69/3=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 81, 12, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [3, 12, 36] Generated Node #0,0: 22:[3, 12, 36] Operation: 81-45=36 Exploring Operation: 45/3=15, Resulting Numbers: [81, 12, 15] Generated Node #0,1: 22:[81, 12, 15] Operation: 45/3=15 Exploring Operation: 81-12=69, Resulting Numbers: [3, 45, 69] Generated Node #0,2: 22:[3, 45, 69] Operation: 81-12=69 Exploring Operation: 45-12=33, Resulting Numbers: [3, 81, 33] Generated Node #0,3: 22:[3, 81, 33] Operation: 45-12=33 Exploring Operation: 81/3=27, Resulting Numbers: [12, 45, 27] Generated Node #0,4: 22:[12, 45, 27] Operation: 81/3=27 Moving to Node #0,0 Current State: 22:[3, 12, 36], Operations: ['81-45=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 22:[12, 12] Operation: 36/3=12 Exploring Operation: 36-12=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 22:[3, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 22:[3, 3] Operation: 36/12=3 Exploring Operation: 36-3=33, Resulting Numbers: [12, 33] Generated Node #0,0,3: 22:[12, 33] Operation: 36-3=33 Exploring Operation: 12-3=9, Resulting Numbers: [36, 9] Generated Node #0,0,4: 22:[36, 9] Operation: 12-3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[12, 12], Operations: ['81-45=36', '36/3=12'] Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,22 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,22 unequal: No Solution No 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: 22:[3, 3], Operations: ['81-45=36', '36/12=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,22 unequal: No Solution No 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: 22:[3, 24], Operations: ['81-45=36', '36-12=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,22 unequal: No Solution No 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: 22:[12, 33], Operations: ['81-45=36', '36-3=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,22 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,22 unequal: No Solution No 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: 22:[36, 9], Operations: ['81-45=36', '12-3=9'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,22 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,22 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: 22:[12, 45, 27], Operations: ['81/3=27'] Exploring Operation: 27-12=15, Resulting Numbers: [45, 15] Generated Node #0,4,0: 22:[45, 15] Operation: 27-12=15 Exploring Operation: 45-27=18, Resulting Numbers: [12, 18] Generated Node #0,4,1: 22:[12, 18] Operation: 45-27=18 Exploring Operation: 12+27=39, Resulting Numbers: [45, 39] Generated Node #0,4,2: 22:[45, 39] Operation: 12+27=39 Exploring Operation: 12+45=57, Resulting Numbers: [27, 57] Generated Node #0,4,3: 22:[27, 57] Operation: 12+45=57 Exploring Operation: 45-12=33, Resulting Numbers: [27, 33] Generated Node #0,4,4: 22:[27, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[12, 18], Operations: ['81/3=27', '45-27=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,22 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,22 unequal: No Solution No 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: 22:[27, 33], Operations: ['81/3=27', '45-12=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,22 unequal: No Solution No 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: 22:[45, 15], Operations: ['81/3=27', '27-12=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,22 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,22 unequal: No Solution No 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: 22:[45, 39], Operations: ['81/3=27', '12+27=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,22 unequal: No Solution No 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: 22:[27, 57], Operations: ['81/3=27', '12+45=57'] Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,22 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,22 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: 22:[81, 12, 15], Operations: ['45/3=15'] Exploring Operation: 81-12=69, Resulting Numbers: [15, 69] Generated Node #0,1,0: 22:[15, 69] Operation: 81-12=69 Exploring Operation: 15-12=3, Resulting Numbers: [81, 3] Generated Node #0,1,1: 22:[81, 3] Operation: 15-12=3 Exploring Operation: 81-15=66, Resulting Numbers: [12, 66] Generated Node #0,1,2: 22:[12, 66] Operation: 81-15=66 Exploring Operation: 12+15=27, Resulting Numbers: [81, 27] Generated Node #0,1,3: 22:[81, 27] Operation: 12+15=27 Exploring Operation: 81+12=93, Resulting Numbers: [15, 93] Generated Node #0,1,4: 22:[15, 93] Operation: 81+12=93 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[12, 66], Operations: ['45/3=15', '81-15=66'] Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,22 unequal: No Solution No 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: 22:[15, 69], Operations: ['45/3=15', '81-12=69'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 15+69=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 15*69=1035, Resulting Numbers: [1035] 1035,22 unequal: No Solution No 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: 22:[81, 3], Operations: ['45/3=15', '15-12=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,22 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,22 unequal: No Solution No 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: 22:[81, 27], Operations: ['45/3=15', '12+15=27'] Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,22 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,22 unequal: No Solution No 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: 22:[15, 93], Operations: ['45/3=15', '81+12=93'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,22 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,22 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: 22:[3, 45, 69], Operations: ['81-12=69'] Exploring Operation: 45-3=42, Resulting Numbers: [69, 42] Generated Node #0,2,0: 22:[69, 42] Operation: 45-3=42 Exploring Operation: 69/3=23, Resulting Numbers: [45, 23] Generated Node #0,2,1: 22:[45, 23] Operation: 69/3=23 Exploring Operation: 45/3=15, Resulting Numbers: [69, 15] Generated Node #0,2,2: 22:[69, 15] Operation: 45/3=15 Exploring Operation: 69-45=24, Resulting Numbers: [3, 24] Generated Node #0,2,3: 22:[3, 24] Operation: 69-45=24 Exploring Operation: 69-3=66, Resulting Numbers: [45, 66] Generated Node #0,2,4: 22:[45, 66] Operation: 69-3=66 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[3, 24], Operations: ['81-12=69', '69-45=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,22 unequal: No Solution No 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: 22:[45, 23], Operations: ['81-12=69', '69/3=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[3, 81, 12, 45], Operations: [] Exploring Operation: 81-12=69, Resulting Numbers: [3, 45, 69] Generated Node #0,2: 22:[3, 45, 69] Operation: 81-12=69 Moving to Node #0,2 Current State: 22:[3, 45, 69], Operations: ['81-12=69'] Exploring Operation: 69/3=23, Resulting Numbers: [45, 23] Generated Node #0,2,1: 22:[45, 23] Operation: 69/3=23 Moving to Node #0,2,1 Current State: 22:[45, 23], Operations: ['81-12=69', '69/3=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.925347
hs_5
sum_heuristic
[ 18, 2, 43, 24 ]
47
[ "18+2=20", "43+24=67", "67-20=47" ]
Current State: 47:[18, 2, 43, 24], Operations: [] Exploring Operation: 18+2=20, Resulting Numbers: [43, 24, 20] Generated Node #2: [43, 24, 20] from Operation: 18+2=20 Current State: 47:[43, 24, 20], Operations: ['18+2=20'] Exploring Operation: 43+24=67, Resulting Numbers: [20, 67] Generated Node #3: [20, 67] from Operation: 43+24=67 Current State: 47:[20, 67], Operations: ['18+2=20', '43+24=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[18, 2, 43, 24], Operations: [] Exploring Operation: 18+2=20, Resulting Numbers: [43, 24, 20] Generated Node #0,0: 47:[43, 24, 20] Operation: 18+2=20 Exploring Operation: 18*2=36, Resulting Numbers: [43, 24, 36] Generated Node #0,1: 47:[43, 24, 36] Operation: 18*2=36 Exploring Operation: 2*24=48, Resulting Numbers: [18, 43, 48] Generated Node #0,2: 47:[18, 43, 48] Operation: 2*24=48 Moving to Node #0,2 Current State: 47:[18, 43, 48], Operations: ['2*24=48'] Exploring Operation: 18+43=61, Resulting Numbers: [48, 61] Generated Node #0,2,0: 47:[48, 61] Operation: 18+43=61 Exploring Operation: 48-18=30, Resulting Numbers: [43, 30] Generated Node #0,2,1: 47:[43, 30] Operation: 48-18=30 Exploring Operation: 43-18=25, Resulting Numbers: [48, 25] Generated Node #0,2,2: 47:[48, 25] Operation: 43-18=25 Moving to Node #0,1 Current State: 47:[43, 24, 36], Operations: ['18*2=36'] Exploring Operation: 24+36=60, Resulting Numbers: [43, 60] Generated Node #0,1,0: 47:[43, 60] Operation: 24+36=60 Exploring Operation: 43-24=19, Resulting Numbers: [36, 19] Generated Node #0,1,1: 47:[36, 19] Operation: 43-24=19 Exploring Operation: 43+24=67, Resulting Numbers: [36, 67] Generated Node #0,1,2: 47:[36, 67] Operation: 43+24=67 Moving to Node #0,0 Current State: 47:[43, 24, 20], Operations: ['18+2=20'] Exploring Operation: 43+20=63, Resulting Numbers: [24, 63] Generated Node #0,0,0: 47:[24, 63] Operation: 43+20=63 Exploring Operation: 24+20=44, Resulting Numbers: [43, 44] Generated Node #0,0,1: 47:[43, 44] Operation: 24+20=44 Exploring Operation: 43+24=67, Resulting Numbers: [20, 67] Generated Node #0,0,2: 47:[20, 67] Operation: 43+24=67 Moving to Node #0,0,1 Current State: 47:[43, 44], Operations: ['18+2=20', '24+20=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,47 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[48, 61], Operations: ['2*24=48', '18+43=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,47 unequal: No Solution 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 Moving to Node #0,1,0 Current State: 47:[43, 60], Operations: ['18*2=36', '24+36=60'] Exploring Operation: 43+60=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 43*60=2580, Resulting Numbers: [2580] 2580,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[43, 30], Operations: ['2*24=48', '48-18=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,47 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[48, 25], Operations: ['2*24=48', '43-18=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,47 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[36, 67], Operations: ['18*2=36', '43+24=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,47 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[36, 19], Operations: ['18*2=36', '43-24=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,47 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[24, 63], Operations: ['18+2=20', '43+20=63'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[20, 67], Operations: ['18+2=20', '43+24=67'] Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,47 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[18, 2, 43, 24], Operations: [] Exploring Operation: 18+2=20, Resulting Numbers: [43, 24, 20] Generated Node #0,0: 47:[43, 24, 20] Operation: 18+2=20 Moving to Node #0,0 Current State: 47:[43, 24, 20], Operations: ['18+2=20'] Exploring Operation: 43+24=67, Resulting Numbers: [20, 67] Generated Node #0,0,2: 47:[20, 67] Operation: 43+24=67 Moving to Node #0,0,2 Current State: 47:[20, 67], Operations: ['18+2=20', '43+24=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.962674
hs_3
mult_heuristic
[ 80, 92, 84, 40 ]
82
[ "84-80=4", "40/4=10", "92-10=82" ]
Current State: 82:[80, 92, 84, 40], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [92, 40, 4] Generated Node #2: [92, 40, 4] from Operation: 84-80=4 Current State: 82:[92, 40, 4], Operations: ['84-80=4'] Exploring Operation: 40/4=10, Resulting Numbers: [92, 10] Generated Node #3: [92, 10] from Operation: 40/4=10 Current State: 82:[92, 10], Operations: ['84-80=4', '40/4=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[80, 92, 84, 40], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [92, 84, 2] Generated Node #0,0: 82:[92, 84, 2] Operation: 80/40=2 Exploring Operation: 92-80=12, Resulting Numbers: [84, 40, 12] Generated Node #0,1: 82:[84, 40, 12] Operation: 92-80=12 Exploring Operation: 84-80=4, Resulting Numbers: [92, 40, 4] Generated Node #0,2: 82:[92, 40, 4] Operation: 84-80=4 Exploring Operation: 92-84=8, Resulting Numbers: [80, 40, 8] Generated Node #0,3: 82:[80, 40, 8] Operation: 92-84=8 Exploring Operation: 80-40=40, Resulting Numbers: [92, 84, 40] Generated Node #0,4: 82:[92, 84, 40] Operation: 80-40=40 Moving to Node #0,3 Current State: 82:[80, 40, 8], Operations: ['92-84=8'] Exploring Operation: 80/40=2, Resulting Numbers: [8, 2] Generated Node #0,3,0: 82:[8, 2] Operation: 80/40=2 Exploring Operation: 40/8=5, Resulting Numbers: [80, 5] Generated Node #0,3,1: 82:[80, 5] Operation: 40/8=5 Exploring Operation: 80/8=10, Resulting Numbers: [40, 10] Generated Node #0,3,2: 82:[40, 10] Operation: 80/8=10 Exploring Operation: 80-40=40, Resulting Numbers: [8, 40] Generated Node #0,3,3: 82:[8, 40] Operation: 80-40=40 Exploring Operation: 80+8=88, Resulting Numbers: [40, 88] Generated Node #0,3,4: 82:[40, 88] Operation: 80+8=88 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[80, 5], Operations: ['92-84=8', '40/8=5'] Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,82 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[8, 2], Operations: ['92-84=8', '80/40=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[8, 40], Operations: ['92-84=8', '80-40=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,82 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[40, 88], Operations: ['92-84=8', '80+8=88'] Exploring Operation: 40*88=3520, Resulting Numbers: [3520] 3520,82 unequal: No Solution Exploring Operation: 40+88=128, Resulting Numbers: [128] 128,82 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[40, 10], Operations: ['92-84=8', '80/8=10'] Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,82 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,82 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: 82:[92, 84, 2], Operations: ['80/40=2'] Exploring Operation: 84/2=42, Resulting Numbers: [92, 42] Generated Node #0,0,0: 82:[92, 42] Operation: 84/2=42 Exploring Operation: 92-84=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 82:[2, 8] Operation: 92-84=8 Exploring Operation: 92-2=90, Resulting Numbers: [84, 90] Generated Node #0,0,2: 82:[84, 90] Operation: 92-2=90 Exploring Operation: 84-2=82, Resulting Numbers: [92, 82] Generated Node #0,0,3: 82:[92, 82] Operation: 84-2=82 Exploring Operation: 92/2=46, Resulting Numbers: [84, 46] Generated Node #0,0,4: 82:[84, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[2, 8], Operations: ['80/40=2', '92-84=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[84, 46], Operations: ['80/40=2', '92/2=46'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 84*46=3864, Resulting Numbers: [3864] 3864,82 unequal: No Solution Exploring Operation: 84+46=130, Resulting Numbers: [130] 130,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[84, 90], Operations: ['80/40=2', '92-2=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 84+90=174, Resulting Numbers: [174] 174,82 unequal: No Solution Exploring Operation: 84*90=7560, Resulting Numbers: [7560] 7560,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[92, 82], Operations: ['80/40=2', '84-2=82'] Exploring Operation: 92+82=174, Resulting Numbers: [174] 174,82 unequal: No Solution Exploring Operation: 92*82=7544, Resulting Numbers: [7544] 7544,82 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[92, 42], Operations: ['80/40=2', '84/2=42'] Exploring Operation: 92*42=3864, Resulting Numbers: [3864] 3864,82 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 92+42=134, Resulting Numbers: [134] 134,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[84, 40, 12], Operations: ['92-80=12'] Exploring Operation: 84-12=72, Resulting Numbers: [40, 72] Generated Node #0,1,0: 82:[40, 72] Operation: 84-12=72 Exploring Operation: 84/12=7, Resulting Numbers: [40, 7] Generated Node #0,1,1: 82:[40, 7] Operation: 84/12=7 Exploring Operation: 84+12=96, Resulting Numbers: [40, 96] Generated Node #0,1,2: 82:[40, 96] Operation: 84+12=96 Exploring Operation: 84-40=44, Resulting Numbers: [12, 44] Generated Node #0,1,3: 82:[12, 44] Operation: 84-40=44 Exploring Operation: 40+12=52, Resulting Numbers: [84, 52] Generated Node #0,1,4: 82:[84, 52] Operation: 40+12=52 Moving to Node #0,2 Current State: 82:[92, 40, 4], Operations: ['84-80=4'] Exploring Operation: 40+4=44, Resulting Numbers: [92, 44] Generated Node #0,2,0: 82:[92, 44] Operation: 40+4=44 Exploring Operation: 92-40=52, Resulting Numbers: [4, 52] Generated Node #0,2,1: 82:[4, 52] Operation: 92-40=52 Exploring Operation: 92+4=96, Resulting Numbers: [40, 96] Generated Node #0,2,2: 82:[40, 96] Operation: 92+4=96 Exploring Operation: 40-4=36, Resulting Numbers: [92, 36] Generated Node #0,2,3: 82:[92, 36] Operation: 40-4=36 Exploring Operation: 92-4=88, Resulting Numbers: [40, 88] Generated Node #0,2,4: 82:[40, 88] Operation: 92-4=88 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[40, 88], Operations: ['84-80=4', '92-4=88'] Exploring Operation: 40*88=3520, Resulting Numbers: [3520] 3520,82 unequal: No Solution Exploring Operation: 40+88=128, Resulting Numbers: [128] 128,82 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[92, 44], Operations: ['84-80=4', '40+4=44'] Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,82 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[4, 52], Operations: ['84-80=4', '92-40=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,82 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[40, 96], Operations: ['84-80=4', '92+4=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,82 unequal: No Solution Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[92, 36], Operations: ['84-80=4', '40-4=36'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,82 unequal: No Solution Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,82 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: 82:[92, 84, 40], Operations: ['80-40=40'] Exploring Operation: 92-84=8, Resulting Numbers: [40, 8] Generated Node #0,4,0: 82:[40, 8] Operation: 92-84=8 Exploring Operation: 84+40=124, Resulting Numbers: [92, 124] Generated Node #0,4,1: 82:[92, 124] Operation: 84+40=124 Exploring Operation: 92+40=132, Resulting Numbers: [84, 132] Generated Node #0,4,2: 82:[84, 132] Operation: 92+40=132 Exploring Operation: 92-40=52, Resulting Numbers: [84, 52] Generated Node #0,4,3: 82:[84, 52] Operation: 92-40=52 Exploring Operation: 84-40=44, Resulting Numbers: [92, 44] Generated Node #0,4,4: 82:[92, 44] Operation: 84-40=44 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[40, 8], Operations: ['80-40=40', '92-84=8'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,82 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[84, 52], Operations: ['80-40=40', '92-40=52'] Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,82 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[92, 44], Operations: ['80-40=40', '84-40=44'] Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,82 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[92, 124], Operations: ['80-40=40', '84+40=124'] Exploring Operation: 92+124=216, Resulting Numbers: [216] 216,82 unequal: No Solution Exploring Operation: 124-92=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 92*124=11408, Resulting Numbers: [11408] 11408,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[84, 132], Operations: ['80-40=40', '92+40=132'] Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 84*132=11088, Resulting Numbers: [11088] 11088,82 unequal: No Solution Exploring Operation: 84+132=216, Resulting Numbers: [216] 216,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 82:[40, 7], Operations: ['92-80=12', '84/12=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,82 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[40, 72], Operations: ['92-80=12', '84-12=72'] Exploring Operation: 40+72=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 40*72=2880, Resulting Numbers: [2880] 2880,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[12, 44], Operations: ['92-80=12', '84-40=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,82 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[84, 52], Operations: ['92-80=12', '40+12=52'] Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[40, 96], Operations: ['92-80=12', '84+12=96'] Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,82 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,82 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 67, 43, 6 ]
50
[ "59+43=102", "102/6=17", "67-17=50" ]
Current State: 50:[59, 67, 43, 6], Operations: [] Exploring Operation: 59+43=102, Resulting Numbers: [67, 6, 102] Generated Node #2: [67, 6, 102] from Operation: 59+43=102 Current State: 50:[67, 6, 102], Operations: ['59+43=102'] Exploring Operation: 102/6=17, Resulting Numbers: [67, 17] Generated Node #3: [67, 17] from Operation: 102/6=17 Current State: 50:[67, 17], Operations: ['59+43=102', '102/6=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[59, 67, 43, 6], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [67, 6, 16] Generated Node #0,0: 50:[67, 6, 16] Operation: 59-43=16 Exploring Operation: 67-59=8, Resulting Numbers: [43, 6, 8] Generated Node #0,1: 50:[43, 6, 8] Operation: 67-59=8 Exploring Operation: 67-6=61, Resulting Numbers: [59, 43, 61] Generated Node #0,2: 50:[59, 43, 61] Operation: 67-6=61 Exploring Operation: 59-6=53, Resulting Numbers: [67, 43, 53] Generated Node #0,3: 50:[67, 43, 53] Operation: 59-6=53 Exploring Operation: 67-43=24, Resulting Numbers: [59, 6, 24] Generated Node #0,4: 50:[59, 6, 24] Operation: 67-43=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[43, 6, 8], Operations: ['67-59=8'] Exploring Operation: 43+8=51, Resulting Numbers: [6, 51] Generated Node #0,1,0: 50:[6, 51] Operation: 43+8=51 Exploring Operation: 43+6=49, Resulting Numbers: [8, 49] Generated Node #0,1,1: 50:[8, 49] Operation: 43+6=49 Exploring Operation: 8-6=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 50:[43, 2] Operation: 8-6=2 Exploring Operation: 6*8=48, Resulting Numbers: [43, 48] Generated Node #0,1,3: 50:[43, 48] Operation: 6*8=48 Exploring Operation: 43-8=35, Resulting Numbers: [6, 35] Generated Node #0,1,4: 50:[6, 35] Operation: 43-8=35 Moving to Node #0,1,0 Current State: 50:[6, 51], Operations: ['67-59=8', '43+8=51'] Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,50 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[8, 49], Operations: ['67-59=8', '43+6=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,50 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[43, 2], Operations: ['67-59=8', '8-6=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[43, 48], Operations: ['67-59=8', '6*8=48'] Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,50 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,1,4 Current State: 50:[6, 35], Operations: ['67-59=8', '43-8=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,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,4 Current State: 50:[59, 6, 24], Operations: ['67-43=24'] Exploring Operation: 6+24=30, Resulting Numbers: [59, 30] Generated Node #0,4,0: 50:[59, 30] Operation: 6+24=30 Exploring Operation: 59+6=65, Resulting Numbers: [24, 65] Generated Node #0,4,1: 50:[24, 65] Operation: 59+6=65 Exploring Operation: 59-24=35, Resulting Numbers: [6, 35] Generated Node #0,4,2: 50:[6, 35] Operation: 59-24=35 Exploring Operation: 24/6=4, Resulting Numbers: [59, 4] Generated Node #0,4,3: 50:[59, 4] Operation: 24/6=4 Exploring Operation: 59-6=53, Resulting Numbers: [24, 53] Generated Node #0,4,4: 50:[24, 53] Operation: 59-6=53 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 50:[24, 53], Operations: ['67-43=24', '59-6=53'] Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 50:[59, 4], Operations: ['67-43=24', '24/6=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,50 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 50:[6, 35], Operations: ['67-43=24', '59-24=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,50 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 50:[59, 30], Operations: ['67-43=24', '6+24=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,50 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 50:[24, 65], Operations: ['67-43=24', '59+6=65'] Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,50 unequal: No Solution Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,50 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: 50:[67, 6, 16], Operations: ['59-43=16'] Exploring Operation: 6+16=22, Resulting Numbers: [67, 22] Generated Node #0,0,0: 50:[67, 22] Operation: 6+16=22 Exploring Operation: 16-6=10, Resulting Numbers: [67, 10] Generated Node #0,0,1: 50:[67, 10] Operation: 16-6=10 Exploring Operation: 67+6=73, Resulting Numbers: [16, 73] Generated Node #0,0,2: 50:[16, 73] Operation: 67+6=73 Exploring Operation: 67-6=61, Resulting Numbers: [16, 61] Generated Node #0,0,3: 50:[16, 61] Operation: 67-6=61 Exploring Operation: 67-16=51, Resulting Numbers: [6, 51] Generated Node #0,0,4: 50:[6, 51] Operation: 67-16=51 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 50:[6, 51], Operations: ['59-43=16', '67-16=51'] Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,50 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[67, 10], Operations: ['59-43=16', '16-6=10'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 50:[16, 61], Operations: ['59-43=16', '67-6=61'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 16+61=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 16*61=976, Resulting Numbers: [976] 976,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[67, 22], Operations: ['59-43=16', '6+16=22'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 67+22=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 67*22=1474, Resulting Numbers: [1474] 1474,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 50:[16, 73], Operations: ['59-43=16', '67+6=73'] Exploring Operation: 16*73=1168, Resulting Numbers: [1168] 1168,50 unequal: No Solution Exploring Operation: 16+73=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,50 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: 50:[59, 43, 61], Operations: ['67-6=61'] Exploring Operation: 59+43=102, Resulting Numbers: [61, 102] Generated Node #0,2,0: 50:[61, 102] Operation: 59+43=102 Exploring Operation: 61-43=18, Resulting Numbers: [59, 18] Generated Node #0,2,1: 50:[59, 18] Operation: 61-43=18 Exploring Operation: 43+61=104, Resulting Numbers: [59, 104] Generated Node #0,2,2: 50:[59, 104] Operation: 43+61=104 Exploring Operation: 59-43=16, Resulting Numbers: [61, 16] Generated Node #0,2,3: 50:[61, 16] Operation: 59-43=16 Exploring Operation: 61-59=2, Resulting Numbers: [43, 2] Generated Node #0,2,4: 50:[43, 2] Operation: 61-59=2 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 50:[43, 2], Operations: ['67-6=61', '61-59=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[59, 18], Operations: ['67-6=61', '61-43=18'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[61, 16], Operations: ['67-6=61', '59-43=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[61, 102], Operations: ['67-6=61', '59+43=102'] Exploring Operation: 102-61=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 61*102=6222, Resulting Numbers: [6222] 6222,50 unequal: No Solution Exploring Operation: 61+102=163, Resulting Numbers: [163] 163,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[59, 104], Operations: ['67-6=61', '43+61=104'] Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 59+104=163, Resulting Numbers: [163] 163,50 unequal: No Solution Exploring Operation: 59*104=6136, Resulting Numbers: [6136] 6136,50 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: 50:[67, 43, 53], Operations: ['59-6=53'] Exploring Operation: 43+53=96, Resulting Numbers: [67, 96] Generated Node #0,3,0: 50:[67, 96] Operation: 43+53=96 Exploring Operation: 67-53=14, Resulting Numbers: [43, 14] Generated Node #0,3,1: 50:[43, 14] Operation: 67-53=14 Exploring Operation: 67-43=24, Resulting Numbers: [53, 24] Generated Node #0,3,2: 50:[53, 24] Operation: 67-43=24 Exploring Operation: 53-43=10, Resulting Numbers: [67, 10] Generated Node #0,3,3: 50:[67, 10] Operation: 53-43=10 Exploring Operation: 67+43=110, Resulting Numbers: [53, 110] Generated Node #0,3,4: 50:[53, 110] Operation: 67+43=110 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 50:[53, 24], Operations: ['59-6=53', '67-43=24'] Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,50 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 50:[43, 14], Operations: ['59-6=53', '67-53=14'] Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,50 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[67, 10], Operations: ['59-6=53', '53-43=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,50 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[67, 96], Operations: ['59-6=53', '43+53=96'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 67*96=6432, Resulting Numbers: [6432] 6432,50 unequal: No Solution Exploring Operation: 67+96=163, Resulting Numbers: [163] 163,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 50:[53, 110], Operations: ['59-6=53', '67+43=110'] Exploring Operation: 53*110=5830, Resulting Numbers: [5830] 5830,50 unequal: No Solution Exploring Operation: 110-53=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 53+110=163, Resulting Numbers: [163] 163,50 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
[ 1, 91, 7, 60 ]
39
[ "1+91=92", "60-7=53", "92-53=39" ]
Current State: 39:[1, 91, 7, 60], Operations: [] Exploring Operation: 1+91=92, Resulting Numbers: [7, 60, 92] Generated Node #2: [7, 60, 92] from Operation: 1+91=92 Current State: 39:[7, 60, 92], Operations: ['1+91=92'] Exploring Operation: 60-7=53, Resulting Numbers: [92, 53] Generated Node #3: [92, 53] from Operation: 60-7=53 Current State: 39:[92, 53], Operations: ['1+91=92', '60-7=53'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[1, 91, 7, 60], Operations: [] Exploring Operation: 91-7=84, Resulting Numbers: [1, 60, 84] Generated Node #0,0: 39:[1, 60, 84] Operation: 91-7=84 Exploring Operation: 91/7=13, Resulting Numbers: [1, 60, 13] Generated Node #0,1: 39:[1, 60, 13] Operation: 91/7=13 Exploring Operation: 91-60=31, Resulting Numbers: [1, 7, 31] Generated Node #0,2: 39:[1, 7, 31] Operation: 91-60=31 Moving to Node #0,2 Current State: 39:[1, 7, 31], Operations: ['91-60=31'] Exploring Operation: 7+31=38, Resulting Numbers: [1, 38] Generated Node #0,2,0: 39:[1, 38] Operation: 7+31=38 Exploring Operation: 7-1=6, Resulting Numbers: [31, 6] Generated Node #0,2,1: 39:[31, 6] Operation: 7-1=6 Exploring Operation: 1+31=32, Resulting Numbers: [7, 32] Generated Node #0,2,2: 39:[7, 32] Operation: 1+31=32 Moving to Node #0,1 Current State: 39:[1, 60, 13], Operations: ['91/7=13'] Exploring Operation: 1*60=60, Resulting Numbers: [13, 60] Generated Node #0,1,0: 39:[13, 60] Operation: 1*60=60 Exploring Operation: 60-13=47, Resulting Numbers: [1, 47] Generated Node #0,1,1: 39:[1, 47] Operation: 60-13=47 Exploring Operation: 60-1=59, Resulting Numbers: [13, 59] Generated Node #0,1,2: 39:[13, 59] Operation: 60-1=59 Moving to Node #0,0 Current State: 39:[1, 60, 84], Operations: ['91-7=84'] Exploring Operation: 60-1=59, Resulting Numbers: [84, 59] Generated Node #0,0,0: 39:[84, 59] Operation: 60-1=59 Exploring Operation: 84-1=83, Resulting Numbers: [60, 83] Generated Node #0,0,1: 39:[60, 83] Operation: 84-1=83 Exploring Operation: 84-60=24, Resulting Numbers: [1, 24] Generated Node #0,0,2: 39:[1, 24] Operation: 84-60=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[1, 24], Operations: ['91-7=84', '84-60=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[84, 59], Operations: ['91-7=84', '60-1=59'] Exploring Operation: 84*59=4956, Resulting Numbers: [4956] 4956,39 unequal: No Solution Exploring Operation: 84+59=143, Resulting Numbers: [143] 143,39 unequal: No Solution Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[60, 83], Operations: ['91-7=84', '84-1=83'] Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,39 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,39 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 39:[1, 38], Operations: ['91-60=31', '7+31=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[1, 91, 7, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [1, 7, 31] Generated Node #0,2: 39:[1, 7, 31] Operation: 91-60=31 Moving to Node #0,2 Current State: 39:[1, 7, 31], Operations: ['91-60=31'] Exploring Operation: 7+31=38, Resulting Numbers: [1, 38] Generated Node #0,2,0: 39:[1, 38] Operation: 7+31=38 Moving to Node #0,2,0 Current State: 39:[1, 38], Operations: ['91-60=31', '7+31=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 57, 36, 87, 35 ]
41
[ "57+36=93", "87-35=52", "93-52=41" ]
Current State: 41:[57, 36, 87, 35], Operations: [] Exploring Operation: 57+36=93, Resulting Numbers: [87, 35, 93] Generated Node #2: [87, 35, 93] from Operation: 57+36=93 Current State: 41:[87, 35, 93], Operations: ['57+36=93'] Exploring Operation: 87-35=52, Resulting Numbers: [93, 52] Generated Node #3: [93, 52] from Operation: 87-35=52 Current State: 41:[93, 52], Operations: ['57+36=93', '87-35=52'] Exploring Operation: 93-52=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[57, 36, 87, 35], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [57, 35, 51] Generated Node #0,0: 41:[57, 35, 51] Operation: 87-36=51 Exploring Operation: 87-57=30, Resulting Numbers: [36, 35, 30] Generated Node #0,1: 41:[36, 35, 30] Operation: 87-57=30 Moving to Node #0,1 Current State: 41:[36, 35, 30], Operations: ['87-57=30'] Exploring Operation: 35+30=65, Resulting Numbers: [36, 65] Generated Node #0,1,0: 41:[36, 65] Operation: 35+30=65 Exploring Operation: 36+30=66, Resulting Numbers: [35, 66] Generated Node #0,1,1: 41:[35, 66] Operation: 36+30=66 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[36, 65], Operations: ['87-57=30', '35+30=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[35, 66], Operations: ['87-57=30', '36+30=66'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,41 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: 41:[57, 35, 51], Operations: ['87-36=51'] Exploring Operation: 57-51=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 41:[35, 6] Operation: 57-51=6 Exploring Operation: 57-35=22, Resulting Numbers: [51, 22] Generated Node #0,0,1: 41:[51, 22] Operation: 57-35=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[51, 22], Operations: ['87-36=51', '57-35=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[35, 6], Operations: ['87-36=51', '57-51=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[57, 36, 87, 35], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [57, 35, 51] Generated Node #0,0: 41:[57, 35, 51] Operation: 87-36=51 Moving to Node #0,0 Current State: 41:[57, 35, 51], Operations: ['87-36=51'] Exploring Operation: 57-51=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 41:[35, 6] Operation: 57-51=6 Moving to Node #0,0,0 Current State: 41:[35, 6], Operations: ['87-36=51', '57-51=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 58, 62, 84, 66 ]
14
[ "62-58=4", "84-66=18", "18-4=14" ]
Current State: 14:[58, 62, 84, 66], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [84, 66, 4] Generated Node #2: [84, 66, 4] from Operation: 62-58=4 Current State: 14:[84, 66, 4], Operations: ['62-58=4'] Exploring Operation: 84-66=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 84-66=18 Current State: 14:[4, 18], Operations: ['62-58=4', '84-66=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[58, 62, 84, 66], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [58, 66, 22] Generated Node #0,0: 14:[58, 66, 22] Operation: 84-62=22 Exploring Operation: 84-66=18, Resulting Numbers: [58, 62, 18] Generated Node #0,1: 14:[58, 62, 18] Operation: 84-66=18 Exploring Operation: 84-58=26, Resulting Numbers: [62, 66, 26] Generated Node #0,2: 14:[62, 66, 26] Operation: 84-58=26 Moving to Node #0,1 Current State: 14:[58, 62, 18], Operations: ['84-66=18'] Exploring Operation: 62-18=44, Resulting Numbers: [58, 44] Generated Node #0,1,0: 14:[58, 44] Operation: 62-18=44 Exploring Operation: 62-58=4, Resulting Numbers: [18, 4] Generated Node #0,1,1: 14:[18, 4] Operation: 62-58=4 Exploring Operation: 58-18=40, Resulting Numbers: [62, 40] Generated Node #0,1,2: 14:[62, 40] Operation: 58-18=40 Moving to Node #0,0 Current State: 14:[58, 66, 22], Operations: ['84-62=22'] Exploring Operation: 66/22=3, Resulting Numbers: [58, 3] Generated Node #0,0,0: 14:[58, 3] Operation: 66/22=3 Exploring Operation: 66-58=8, Resulting Numbers: [22, 8] Generated Node #0,0,1: 14:[22, 8] Operation: 66-58=8 Exploring Operation: 58-22=36, Resulting Numbers: [66, 36] Generated Node #0,0,2: 14:[66, 36] Operation: 58-22=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[22, 8], Operations: ['84-62=22', '66-58=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[58, 62, 84, 66], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [58, 66, 22] Generated Node #0,0: 14:[58, 66, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 14:[58, 66, 22], Operations: ['84-62=22'] Exploring Operation: 66-58=8, Resulting Numbers: [22, 8] Generated Node #0,0,1: 14:[22, 8] Operation: 66-58=8 Moving to Node #0,0,1 Current State: 14:[22, 8], Operations: ['84-62=22', '66-58=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 79, 35, 62, 50 ]
32
[ "79-35=44", "62-50=12", "44-12=32" ]
Current State: 32:[79, 35, 62, 50], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [62, 50, 44] Generated Node #2: [62, 50, 44] from Operation: 79-35=44 Current State: 32:[62, 50, 44], Operations: ['79-35=44'] Exploring Operation: 62-50=12, Resulting Numbers: [44, 12] Generated Node #3: [44, 12] from Operation: 62-50=12 Current State: 32:[44, 12], Operations: ['79-35=44', '62-50=12'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[79, 35, 62, 50], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [79, 35, 12] Generated Node #0,0: 32:[79, 35, 12] Operation: 62-50=12 Exploring Operation: 79-50=29, Resulting Numbers: [35, 62, 29] Generated Node #0,1: 32:[35, 62, 29] Operation: 79-50=29 Exploring Operation: 79-35=44, Resulting Numbers: [62, 50, 44] Generated Node #0,2: 32:[62, 50, 44] Operation: 79-35=44 Exploring Operation: 79-62=17, Resulting Numbers: [35, 50, 17] Generated Node #0,3: 32:[35, 50, 17] Operation: 79-62=17 Moving to Node #0,3 Current State: 32:[35, 50, 17], Operations: ['79-62=17'] Exploring Operation: 50-35=15, Resulting Numbers: [17, 15] Generated Node #0,3,0: 32:[17, 15] Operation: 50-35=15 Exploring Operation: 50-17=33, Resulting Numbers: [35, 33] Generated Node #0,3,1: 32:[35, 33] Operation: 50-17=33 Exploring Operation: 35-17=18, Resulting Numbers: [50, 18] Generated Node #0,3,2: 32:[50, 18] Operation: 35-17=18 Exploring Operation: 35+17=52, Resulting Numbers: [50, 52] Generated Node #0,3,3: 32:[50, 52] Operation: 35+17=52 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[17, 15], Operations: ['79-62=17', '50-35=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[79, 35, 62, 50], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [35, 50, 17] Generated Node #0,3: 32:[35, 50, 17] Operation: 79-62=17 Moving to Node #0,3 Current State: 32:[35, 50, 17], Operations: ['79-62=17'] Exploring Operation: 50-35=15, Resulting Numbers: [17, 15] Generated Node #0,3,0: 32:[17, 15] Operation: 50-35=15 Moving to Node #0,3,0 Current State: 32:[17, 15], Operations: ['79-62=17', '50-35=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 70, 62, 71, 98 ]
95
[ "62+71=133", "70*133=9310", "9310/98=95" ]
Current State: 95:[70, 62, 71, 98], Operations: [] Exploring Operation: 62+71=133, Resulting Numbers: [70, 98, 133] Generated Node #2: [70, 98, 133] from Operation: 62+71=133 Current State: 95:[70, 98, 133], Operations: ['62+71=133'] Exploring Operation: 70*133=9310, Resulting Numbers: [98, 9310] Generated Node #3: [98, 9310] from Operation: 70*133=9310 Current State: 95:[98, 9310], Operations: ['62+71=133', '70*133=9310'] Exploring Operation: 9310/98=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[70, 62, 71, 98], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [70, 98, 9] Generated Node #0,0: 95:[70, 98, 9] Operation: 71-62=9 Exploring Operation: 98-70=28, Resulting Numbers: [62, 71, 28] Generated Node #0,1: 95:[62, 71, 28] Operation: 98-70=28 Exploring Operation: 71-70=1, Resulting Numbers: [62, 98, 1] Generated Node #0,2: 95:[62, 98, 1] Operation: 71-70=1 Exploring Operation: 70+62=132, Resulting Numbers: [71, 98, 132] Generated Node #0,3: 95:[71, 98, 132] Operation: 70+62=132 Exploring Operation: 70-62=8, Resulting Numbers: [71, 98, 8] Generated Node #0,4: 95:[71, 98, 8] Operation: 70-62=8 Moving to Node #0,4 Current State: 95:[71, 98, 8], Operations: ['70-62=8'] Exploring Operation: 98-71=27, Resulting Numbers: [8, 27] Generated Node #0,4,0: 95:[8, 27] Operation: 98-71=27 Exploring Operation: 71-8=63, Resulting Numbers: [98, 63] Generated Node #0,4,1: 95:[98, 63] Operation: 71-8=63 Exploring Operation: 98+8=106, Resulting Numbers: [71, 106] Generated Node #0,4,2: 95:[71, 106] Operation: 98+8=106 Exploring Operation: 71+8=79, Resulting Numbers: [98, 79] Generated Node #0,4,3: 95:[98, 79] Operation: 71+8=79 Exploring Operation: 98-8=90, Resulting Numbers: [71, 90] Generated Node #0,4,4: 95:[71, 90] Operation: 98-8=90 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 95:[8, 27], Operations: ['70-62=8', '98-71=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,95 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 95:[98, 79], Operations: ['70-62=8', '71+8=79'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,95 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 95:[71, 90], Operations: ['70-62=8', '98-8=90'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,95 unequal: No Solution Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[98, 63], Operations: ['70-62=8', '71-8=63'] Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,95 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 95:[71, 106], Operations: ['70-62=8', '98+8=106'] Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,95 unequal: No Solution Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,95 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: 95:[70, 98, 9], Operations: ['71-62=9'] Exploring Operation: 70-9=61, Resulting Numbers: [98, 61] Generated Node #0,0,0: 95:[98, 61] Operation: 70-9=61 Exploring Operation: 98+9=107, Resulting Numbers: [70, 107] Generated Node #0,0,1: 95:[70, 107] Operation: 98+9=107 Exploring Operation: 98-70=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 95:[9, 28] Operation: 98-70=28 Exploring Operation: 70+9=79, Resulting Numbers: [98, 79] Generated Node #0,0,3: 95:[98, 79] Operation: 70+9=79 Exploring Operation: 98-9=89, Resulting Numbers: [70, 89] Generated Node #0,0,4: 95:[70, 89] Operation: 98-9=89 Moving to Node #0,2 Current State: 95:[62, 98, 1], Operations: ['71-70=1'] Exploring Operation: 62+1=63, Resulting Numbers: [98, 63] Generated Node #0,2,0: 95:[98, 63] Operation: 62+1=63 Exploring Operation: 98-1=97, Resulting Numbers: [62, 97] Generated Node #0,2,1: 95:[62, 97] Operation: 98-1=97 Exploring Operation: 62/1=62, Resulting Numbers: [98, 62] Generated Node #0,2,2: 95:[98, 62] Operation: 62/1=62 Exploring Operation: 98-62=36, Resulting Numbers: [1, 36] Generated Node #0,2,3: 95:[1, 36] Operation: 98-62=36 Exploring Operation: 62*1=62, Resulting Numbers: [98, 62] Generated Node #0,2,4: 95:[98, 62] Operation: 62*1=62 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[1, 36], Operations: ['71-70=1', '98-62=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[98, 63], Operations: ['71-70=1', '62+1=63'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,95 unequal: No Solution Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[62, 97], Operations: ['71-70=1', '98-1=97'] Exploring Operation: 62+97=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 62*97=6014, Resulting Numbers: [6014] 6014,95 unequal: No Solution Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[98, 62], Operations: ['71-70=1', '62/1=62'] Exploring Operation: 98+62=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 98*62=6076, Resulting Numbers: [6076] 6076,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[98, 62], Operations: ['71-70=1', '62*1=62'] Exploring Operation: 98*62=6076, Resulting Numbers: [6076] 6076,95 unequal: No Solution Exploring Operation: 98+62=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,95 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: 95:[71, 98, 132], Operations: ['70+62=132'] Exploring Operation: 132-98=34, Resulting Numbers: [71, 34] Generated Node #0,3,0: 95:[71, 34] Operation: 132-98=34 Exploring Operation: 71+132=203, Resulting Numbers: [98, 203] Generated Node #0,3,1: 95:[98, 203] Operation: 71+132=203 Exploring Operation: 132-71=61, Resulting Numbers: [98, 61] Generated Node #0,3,2: 95:[98, 61] Operation: 132-71=61 Exploring Operation: 71+98=169, Resulting Numbers: [132, 169] Generated Node #0,3,3: 95:[132, 169] Operation: 71+98=169 Exploring Operation: 98-71=27, Resulting Numbers: [132, 27] Generated Node #0,3,4: 95:[132, 27] Operation: 98-71=27 Moving to Node #0,1 Current State: 95:[62, 71, 28], Operations: ['98-70=28'] Exploring Operation: 62-28=34, Resulting Numbers: [71, 34] Generated Node #0,1,0: 95:[71, 34] Operation: 62-28=34 Exploring Operation: 62+71=133, Resulting Numbers: [28, 133] Generated Node #0,1,1: 95:[28, 133] Operation: 62+71=133 Exploring Operation: 71+28=99, Resulting Numbers: [62, 99] Generated Node #0,1,2: 95:[62, 99] Operation: 71+28=99 Exploring Operation: 62+28=90, Resulting Numbers: [71, 90] Generated Node #0,1,3: 95:[71, 90] Operation: 62+28=90 Exploring Operation: 71-62=9, Resulting Numbers: [28, 9] Generated Node #0,1,4: 95:[28, 9] Operation: 71-62=9 Moving to Node #0,0,2 Current State: 95:[9, 28], Operations: ['71-62=9', '98-70=28'] Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[28, 9], Operations: ['98-70=28', '71-62=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[98, 79], Operations: ['71-62=9', '70+9=79'] Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,95 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[71, 90], Operations: ['98-70=28', '62+28=90'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,95 unequal: No Solution Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[70, 89], Operations: ['71-62=9', '98-9=89'] Exploring Operation: 70*89=6230, Resulting Numbers: [6230] 6230,95 unequal: No Solution Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 70+89=159, Resulting Numbers: [159] 159,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[98, 61], Operations: ['70+62=132', '132-71=61'] Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 98+61=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 98*61=5978, Resulting Numbers: [5978] 5978,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[62, 99], Operations: ['98-70=28', '71+28=99'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 62+99=161, Resulting Numbers: [161] 161,95 unequal: No Solution Exploring Operation: 62*99=6138, Resulting Numbers: [6138] 6138,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[70, 107], Operations: ['71-62=9', '98+9=107'] Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 70*107=7490, Resulting Numbers: [7490] 7490,95 unequal: No Solution Exploring Operation: 70+107=177, Resulting Numbers: [177] 177,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[98, 61], Operations: ['71-62=9', '70-9=61'] Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 98*61=5978, Resulting Numbers: [5978] 5978,95 unequal: No Solution Exploring Operation: 98+61=159, Resulting Numbers: [159] 159,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[71, 34], Operations: ['70+62=132', '132-98=34'] Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,95 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[71, 34], Operations: ['98-70=28', '62-28=34'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,95 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[132, 27], Operations: ['70+62=132', '98-71=27'] Exploring Operation: 132+27=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 132*27=3564, Resulting Numbers: [3564] 3564,95 unequal: No Solution Exploring Operation: 132-27=105, Resulting Numbers: [105] 105,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[28, 133], Operations: ['98-70=28', '62+71=133'] Exploring Operation: 133-28=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 28*133=3724, Resulting Numbers: [3724] 3724,95 unequal: No Solution Exploring Operation: 28+133=161, Resulting Numbers: [161] 161,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[132, 169], Operations: ['70+62=132', '71+98=169'] Exploring Operation: 169-132=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 132+169=301, Resulting Numbers: [301] 301,95 unequal: No Solution Exploring Operation: 132*169=22308, Resulting Numbers: [22308] 22308,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[98, 203], Operations: ['70+62=132', '71+132=203'] Exploring Operation: 203-98=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 98*203=19894, Resulting Numbers: [19894] 19894,95 unequal: No Solution Exploring Operation: 98+203=301, Resulting Numbers: [301] 301,95 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 62, 5, 57 ]
99
[ "99+62=161", "5+57=62", "161-62=99" ]
Current State: 99:[99, 62, 5, 57], Operations: [] Exploring Operation: 99+62=161, Resulting Numbers: [5, 57, 161] Generated Node #2: [5, 57, 161] from Operation: 99+62=161 Current State: 99:[5, 57, 161], Operations: ['99+62=161'] Exploring Operation: 5+57=62, Resulting Numbers: [161, 62] Generated Node #3: [161, 62] from Operation: 5+57=62 Current State: 99:[161, 62], Operations: ['99+62=161', '5+57=62'] Exploring Operation: 161-62=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[99, 62, 5, 57], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [99, 5, 5] Generated Node #0,0: 99:[99, 5, 5] Operation: 62-57=5 Moving to Node #0,0 Current State: 99:[99, 5, 5], Operations: ['62-57=5'] Exploring Operation: 5+5=10, Resulting Numbers: [99, 10] Generated Node #0,0,0: 99:[99, 10] Operation: 5+5=10 Moving to Node #0,0,0 Current State: 99:[99, 10], Operations: ['62-57=5', '5+5=10'] Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 28, 89, 47, 85 ]
79
[ "28+89=117", "85-47=38", "117-38=79" ]
Current State: 79:[28, 89, 47, 85], Operations: [] Exploring Operation: 28+89=117, Resulting Numbers: [47, 85, 117] Generated Node #2: [47, 85, 117] from Operation: 28+89=117 Current State: 79:[47, 85, 117], Operations: ['28+89=117'] Exploring Operation: 85-47=38, Resulting Numbers: [117, 38] Generated Node #3: [117, 38] from Operation: 85-47=38 Current State: 79:[117, 38], Operations: ['28+89=117', '85-47=38'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[28, 89, 47, 85], Operations: [] Exploring Operation: 28+47=75, Resulting Numbers: [89, 85, 75] Generated Node #0,0: 79:[89, 85, 75] Operation: 28+47=75 Moving to Node #0,0 Current State: 79:[89, 85, 75], Operations: ['28+47=75'] Exploring Operation: 89-75=14, Resulting Numbers: [85, 14] Generated Node #0,0,0: 79:[85, 14] Operation: 89-75=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[85, 14], Operations: ['28+47=75', '89-75=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,79 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
[ 24, 86, 61, 8 ]
97
[ "24*61=1464", "1464/8=183", "183-86=97" ]
Current State: 97:[24, 86, 61, 8], Operations: [] Exploring Operation: 24*61=1464, Resulting Numbers: [86, 8, 1464] Generated Node #2: [86, 8, 1464] from Operation: 24*61=1464 Current State: 97:[86, 8, 1464], Operations: ['24*61=1464'] Exploring Operation: 1464/8=183, Resulting Numbers: [86, 183] Generated Node #3: [86, 183] from Operation: 1464/8=183 Current State: 97:[86, 183], Operations: ['24*61=1464', '1464/8=183'] Exploring Operation: 183-86=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[24, 86, 61, 8], Operations: [] Exploring Operation: 24+8=32, Resulting Numbers: [86, 61, 32] Generated Node #0,0: 97:[86, 61, 32] Operation: 24+8=32 Exploring Operation: 24+61=85, Resulting Numbers: [86, 8, 85] Generated Node #0,1: 97:[86, 8, 85] Operation: 24+61=85 Exploring Operation: 24-8=16, Resulting Numbers: [86, 61, 16] Generated Node #0,2: 97:[86, 61, 16] Operation: 24-8=16 Exploring Operation: 61+8=69, Resulting Numbers: [24, 86, 69] Generated Node #0,3: 97:[24, 86, 69] Operation: 61+8=69 Exploring Operation: 86+8=94, Resulting Numbers: [24, 61, 94] Generated Node #0,4: 97:[24, 61, 94] Operation: 86+8=94 Moving to Node #0,0 Current State: 97:[86, 61, 32], Operations: ['24+8=32'] Exploring Operation: 86+32=118, Resulting Numbers: [61, 118] Generated Node #0,0,0: 97:[61, 118] Operation: 86+32=118 Exploring Operation: 86+61=147, Resulting Numbers: [32, 147] Generated Node #0,0,1: 97:[32, 147] Operation: 86+61=147 Exploring Operation: 61-32=29, Resulting Numbers: [86, 29] Generated Node #0,0,2: 97:[86, 29] Operation: 61-32=29 Exploring Operation: 86-32=54, Resulting Numbers: [61, 54] Generated Node #0,0,3: 97:[61, 54] Operation: 86-32=54 Exploring Operation: 61+32=93, Resulting Numbers: [86, 93] Generated Node #0,0,4: 97:[86, 93] Operation: 61+32=93 Moving to Node #0,3 Current State: 97:[24, 86, 69], Operations: ['61+8=69'] Exploring Operation: 86+69=155, Resulting Numbers: [24, 155] Generated Node #0,3,0: 97:[24, 155] Operation: 86+69=155 Exploring Operation: 24+86=110, Resulting Numbers: [69, 110] Generated Node #0,3,1: 97:[69, 110] Operation: 24+86=110 Exploring Operation: 24+69=93, Resulting Numbers: [86, 93] Generated Node #0,3,2: 97:[86, 93] Operation: 24+69=93 Exploring Operation: 86-24=62, Resulting Numbers: [69, 62] Generated Node #0,3,3: 97:[69, 62] Operation: 86-24=62 Exploring Operation: 69-24=45, Resulting Numbers: [86, 45] Generated Node #0,3,4: 97:[86, 45] Operation: 69-24=45 Moving to Node #0,1 Current State: 97:[86, 8, 85], Operations: ['24+61=85'] Exploring Operation: 86+8=94, Resulting Numbers: [85, 94] Generated Node #0,1,0: 97:[85, 94] Operation: 86+8=94 Exploring Operation: 86-8=78, Resulting Numbers: [85, 78] Generated Node #0,1,1: 97:[85, 78] Operation: 86-8=78 Exploring Operation: 85-8=77, Resulting Numbers: [86, 77] Generated Node #0,1,2: 97:[86, 77] Operation: 85-8=77 Exploring Operation: 86+85=171, Resulting Numbers: [8, 171] Generated Node #0,1,3: 97:[8, 171] Operation: 86+85=171 Exploring Operation: 8+85=93, Resulting Numbers: [86, 93] Generated Node #0,1,4: 97:[86, 93] Operation: 8+85=93 Moving to Node #0,4 Current State: 97:[24, 61, 94], Operations: ['86+8=94'] Exploring Operation: 61-24=37, Resulting Numbers: [94, 37] Generated Node #0,4,0: 97:[94, 37] Operation: 61-24=37 Exploring Operation: 24+61=85, Resulting Numbers: [94, 85] Generated Node #0,4,1: 97:[94, 85] Operation: 24+61=85 Exploring Operation: 94-24=70, Resulting Numbers: [61, 70] Generated Node #0,4,2: 97:[61, 70] Operation: 94-24=70 Exploring Operation: 61+94=155, Resulting Numbers: [24, 155] Generated Node #0,4,3: 97:[24, 155] Operation: 61+94=155 Exploring Operation: 24+94=118, Resulting Numbers: [61, 118] Generated Node #0,4,4: 97:[61, 118] Operation: 24+94=118 Moving to Node #0,2 Current State: 97:[86, 61, 16], Operations: ['24-8=16'] Exploring Operation: 86-16=70, Resulting Numbers: [61, 70] Generated Node #0,2,0: 97:[61, 70] Operation: 86-16=70 Exploring Operation: 61-16=45, Resulting Numbers: [86, 45] Generated Node #0,2,1: 97:[86, 45] Operation: 61-16=45 Exploring Operation: 86+16=102, Resulting Numbers: [61, 102] Generated Node #0,2,2: 97:[61, 102] Operation: 86+16=102 Exploring Operation: 61+16=77, Resulting Numbers: [86, 77] Generated Node #0,2,3: 97:[86, 77] Operation: 61+16=77 Exploring Operation: 86+61=147, Resulting Numbers: [16, 147] Generated Node #0,2,4: 97:[16, 147] Operation: 86+61=147 Moving to Node #0,0,4 Current State: 97:[86, 93], Operations: ['24+8=32', '61+32=93'] Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 86*93=7998, Resulting Numbers: [7998] 7998,97 unequal: No Solution Exploring Operation: 86+93=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[86, 93], Operations: ['61+8=69', '24+69=93'] Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 86*93=7998, Resulting Numbers: [7998] 7998,97 unequal: No Solution Exploring Operation: 86+93=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[86, 93], Operations: ['24+61=85', '8+85=93'] Exploring Operation: 86+93=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 86*93=7998, Resulting Numbers: [7998] 7998,97 unequal: No Solution Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[85, 94], Operations: ['24+61=85', '86+8=94'] Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,97 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[94, 85], Operations: ['86+8=94', '24+61=85'] Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,97 unequal: No Solution Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[86, 77], Operations: ['24+61=85', '85-8=77'] Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 86+77=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 86*77=6622, Resulting Numbers: [6622] 6622,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[85, 78], Operations: ['24+61=85', '86-8=78'] Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,97 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[86, 77], Operations: ['24-8=16', '61+16=77'] Exploring Operation: 86*77=6622, Resulting Numbers: [6622] 6622,97 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 86+77=163, Resulting Numbers: [163] 163,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[69, 110], Operations: ['61+8=69', '24+86=110'] Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,97 unequal: No Solution Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[61, 102], Operations: ['24-8=16', '86+16=102'] Exploring Operation: 61*102=6222, Resulting Numbers: [6222] 6222,97 unequal: No Solution Exploring Operation: 61+102=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 102-61=41, Resulting Numbers: [41] 41,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[61, 118], Operations: ['24+8=32', '86+32=118'] Exploring Operation: 118-61=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 61+118=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 61*118=7198, Resulting Numbers: [7198] 7198,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[61, 118], Operations: ['86+8=94', '24+94=118'] Exploring Operation: 61+118=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 118-61=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 61*118=7198, Resulting Numbers: [7198] 7198,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[86, 45], Operations: ['24-8=16', '61-16=45'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,97 unequal: No Solution Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[94, 37], Operations: ['86+8=94', '61-24=37'] Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,97 unequal: No Solution Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[61, 70], Operations: ['86+8=94', '94-24=70'] Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,97 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[61, 70], Operations: ['24-8=16', '86-16=70'] Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,97 unequal: No Solution Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[86, 45], Operations: ['61+8=69', '69-24=45'] Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,97 unequal: No Solution Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[69, 62], Operations: ['61+8=69', '86-24=62'] Exploring Operation: 69+62=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 69-62=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 69*62=4278, Resulting Numbers: [4278] 4278,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[86, 29], Operations: ['24+8=32', '61-32=29'] Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,97 unequal: No Solution Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[61, 54], Operations: ['24+8=32', '86-32=54'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 61*54=3294, Resulting Numbers: [3294] 3294,97 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[32, 147], Operations: ['24+8=32', '86+61=147'] Exploring Operation: 32*147=4704, Resulting Numbers: [4704] 4704,97 unequal: No Solution Exploring Operation: 147-32=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 32+147=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[24, 155], Operations: ['86+8=94', '61+94=155'] Exploring Operation: 155-24=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 24+155=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 24*155=3720, Resulting Numbers: [3720] 3720,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[24, 155], Operations: ['61+8=69', '86+69=155'] Exploring Operation: 155-24=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 24+155=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 24*155=3720, Resulting Numbers: [3720] 3720,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[16, 147], Operations: ['24-8=16', '86+61=147'] Exploring Operation: 16+147=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 147-16=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 16*147=2352, Resulting Numbers: [2352] 2352,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[8, 171], Operations: ['24+61=85', '86+85=171'] Exploring Operation: 171-8=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 8+171=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 8*171=1368, Resulting Numbers: [1368] 1368,97 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 12, 3, 6, 17 ]
15
[ "12/3=4", "17-6=11", "4+11=15" ]
Current State: 15:[12, 3, 6, 17], Operations: [] Exploring Operation: 12/3=4, Resulting Numbers: [6, 17, 4] Generated Node #2: [6, 17, 4] from Operation: 12/3=4 Current State: 15:[6, 17, 4], Operations: ['12/3=4'] Exploring Operation: 17-6=11, Resulting Numbers: [4, 11] Generated Node #3: [4, 11] from Operation: 17-6=11 Current State: 15:[4, 11], Operations: ['12/3=4', '17-6=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[12, 3, 6, 17], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [3, 6, 5] Generated Node #0,0: 15:[3, 6, 5] Operation: 17-12=5 Exploring Operation: 12+3=15, Resulting Numbers: [6, 17, 15] Generated Node #0,1: 15:[6, 17, 15] Operation: 12+3=15 Exploring Operation: 12-6=6, Resulting Numbers: [3, 17, 6] Generated Node #0,2: 15:[3, 17, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [3, 17, 2] Generated Node #0,3: 15:[3, 17, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[3, 6, 5], Operations: ['17-12=5'] Exploring Operation: 5-3=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 15:[6, 2] Operation: 5-3=2 Exploring Operation: 6-3=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 15:[5, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 15:[5, 2] Operation: 6/3=2 Exploring Operation: 3*5=15, Resulting Numbers: [6, 15] Generated Node #0,0,3: 15:[6, 15] Operation: 3*5=15 Moving to Node #0,0,1 Current State: 15:[5, 3], Operations: ['17-12=5', '6-3=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[12, 3, 6, 17], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [3, 6, 5] Generated Node #0,0: 15:[3, 6, 5] Operation: 17-12=5 Moving to Node #0,0 Current State: 15:[3, 6, 5], Operations: ['17-12=5'] Exploring Operation: 6-3=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 15:[5, 3] Operation: 6-3=3 Moving to Node #0,0,1 Current State: 15:[5, 3], Operations: ['17-12=5', '6-3=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 6, 75, 63, 90 ]
92
[ "75-63=12", "12/6=2", "90+2=92" ]
Current State: 92:[6, 75, 63, 90], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [6, 90, 12] Generated Node #2: [6, 90, 12] from Operation: 75-63=12 Current State: 92:[6, 90, 12], Operations: ['75-63=12'] Exploring Operation: 12/6=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 12/6=2 Current State: 92:[90, 2], Operations: ['75-63=12', '12/6=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[6, 75, 63, 90], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [6, 63, 15] Generated Node #0,0: 92:[6, 63, 15] Operation: 90-75=15 Exploring Operation: 75-63=12, Resulting Numbers: [6, 90, 12] Generated Node #0,1: 92:[6, 90, 12] Operation: 75-63=12 Exploring Operation: 90-63=27, Resulting Numbers: [6, 75, 27] Generated Node #0,2: 92:[6, 75, 27] Operation: 90-63=27 Exploring Operation: 6+75=81, Resulting Numbers: [63, 90, 81] Generated Node #0,3: 92:[63, 90, 81] Operation: 6+75=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[6, 90, 12], Operations: ['75-63=12'] Exploring Operation: 12-6=6, Resulting Numbers: [90, 6] Generated Node #0,1,0: 92:[90, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [90, 2] Generated Node #0,1,1: 92:[90, 2] Operation: 12/6=2 Exploring Operation: 6+12=18, Resulting Numbers: [90, 18] Generated Node #0,1,2: 92:[90, 18] Operation: 6+12=18 Exploring Operation: 6+90=96, Resulting Numbers: [12, 96] Generated Node #0,1,3: 92:[12, 96] Operation: 6+90=96 Moving to Node #0,1,1 Current State: 92:[90, 2], Operations: ['75-63=12', '12/6=2'] Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[6, 75, 63, 90], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [6, 90, 12] Generated Node #0,1: 92:[6, 90, 12] Operation: 75-63=12 Moving to Node #0,1 Current State: 92:[6, 90, 12], Operations: ['75-63=12'] Exploring Operation: 12/6=2, Resulting Numbers: [90, 2] Generated Node #0,1,1: 92:[90, 2] Operation: 12/6=2 Moving to Node #0,1,1 Current State: 92:[90, 2], Operations: ['75-63=12', '12/6=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 51, 43, 4, 29 ]
33
[ "51-43=8", "29-4=25", "8+25=33" ]
Current State: 33:[51, 43, 4, 29], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [4, 29, 8] Generated Node #2: [4, 29, 8] from Operation: 51-43=8 Current State: 33:[4, 29, 8], Operations: ['51-43=8'] Exploring Operation: 29-4=25, Resulting Numbers: [8, 25] Generated Node #3: [8, 25] from Operation: 29-4=25 Current State: 33:[8, 25], Operations: ['51-43=8', '29-4=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[51, 43, 4, 29], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [4, 29, 8] Generated Node #0,0: 33:[4, 29, 8] Operation: 51-43=8 Exploring Operation: 51-29=22, Resulting Numbers: [43, 4, 22] Generated Node #0,1: 33:[43, 4, 22] Operation: 51-29=22 Moving to Node #0,0 Current State: 33:[4, 29, 8], Operations: ['51-43=8'] Exploring Operation: 4+8=12, Resulting Numbers: [29, 12] Generated Node #0,0,0: 33:[29, 12] Operation: 4+8=12 Exploring Operation: 4+29=33, Resulting Numbers: [8, 33] Generated Node #0,0,1: 33:[8, 33] Operation: 4+29=33 Moving to Node #0,1 Current State: 33:[43, 4, 22], Operations: ['51-29=22'] Exploring Operation: 43-22=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 33:[4, 21] Operation: 43-22=21 Exploring Operation: 43-4=39, Resulting Numbers: [22, 39] Generated Node #0,1,1: 33:[22, 39] Operation: 43-4=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[4, 21], Operations: ['51-29=22', '43-22=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[22, 39], Operations: ['51-29=22', '43-4=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 33:[8, 33], Operations: ['51-43=8', '4+29=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[29, 12], Operations: ['51-43=8', '4+8=12'] Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,33 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 11, 2, 43, 30 ]
94
[ "43-11=32", "2*32=64", "30+64=94" ]
Current State: 94:[11, 2, 43, 30], Operations: [] Exploring Operation: 43-11=32, Resulting Numbers: [2, 30, 32] Generated Node #2: [2, 30, 32] from Operation: 43-11=32 Current State: 94:[2, 30, 32], Operations: ['43-11=32'] Exploring Operation: 2*32=64, Resulting Numbers: [30, 64] Generated Node #3: [30, 64] from Operation: 2*32=64 Current State: 94:[30, 64], Operations: ['43-11=32', '2*32=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 2, 43, 30], Operations: [] Exploring Operation: 11+30=41, Resulting Numbers: [2, 43, 41] Generated Node #0,0: 94:[2, 43, 41] Operation: 11+30=41 Exploring Operation: 43-30=13, Resulting Numbers: [11, 2, 13] Generated Node #0,1: 94:[11, 2, 13] Operation: 43-30=13 Exploring Operation: 30-11=19, Resulting Numbers: [2, 43, 19] Generated Node #0,2: 94:[2, 43, 19] Operation: 30-11=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[2, 43, 41], Operations: ['11+30=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43, 43] Generated Node #0,0,0: 94:[43, 43] Operation: 2+41=43 Exploring Operation: 43-41=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 94:[2, 2] Operation: 43-41=2 Exploring Operation: 2+43=45, Resulting Numbers: [41, 45] Generated Node #0,0,2: 94:[41, 45] Operation: 2+43=45 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[2, 2], Operations: ['11+30=41', '43-41=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,94 unequal: No Solution No 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: 94:[43, 43], Operations: ['11+30=41', '2+41=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,94 unequal: No Solution No 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: 94:[41, 45], Operations: ['11+30=41', '2+43=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,94 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: 94:[11, 2, 13], Operations: ['43-30=13'] Exploring Operation: 11-2=9, Resulting Numbers: [13, 9] Generated Node #0,1,0: 94:[13, 9] Operation: 11-2=9 Exploring Operation: 13-2=11, Resulting Numbers: [11, 11] Generated Node #0,1,1: 94:[11, 11] Operation: 13-2=11 Exploring Operation: 13-11=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 94:[2, 2] Operation: 13-11=2 Moving to Node #0,1,2 Current State: 94:[2, 2], Operations: ['43-30=13', '13-11=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[13, 9], Operations: ['43-30=13', '11-2=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[11, 11], Operations: ['43-30=13', '13-2=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[2, 43, 19], Operations: ['30-11=19'] Exploring Operation: 2+43=45, Resulting Numbers: [19, 45] Generated Node #0,2,0: 94:[19, 45] Operation: 2+43=45 Exploring Operation: 43+19=62, Resulting Numbers: [2, 62] Generated Node #0,2,1: 94:[2, 62] Operation: 43+19=62 Exploring Operation: 2*19=38, Resulting Numbers: [43, 38] Generated Node #0,2,2: 94:[43, 38] Operation: 2*19=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[43, 38], Operations: ['30-11=19', '2*19=38'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,94 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,94 unequal: No Solution No 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: 94:[2, 62], Operations: ['30-11=19', '43+19=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,94 unequal: No Solution No 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: 94:[19, 45], Operations: ['30-11=19', '2+43=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,94 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 31, 45, 98, 3 ]
82
[ "98-31=67", "45/3=15", "67+15=82" ]
Current State: 82:[31, 45, 98, 3], Operations: [] Exploring Operation: 98-31=67, Resulting Numbers: [45, 3, 67] Generated Node #2: [45, 3, 67] from Operation: 98-31=67 Current State: 82:[45, 3, 67], Operations: ['98-31=67'] Exploring Operation: 45/3=15, Resulting Numbers: [67, 15] Generated Node #3: [67, 15] from Operation: 45/3=15 Current State: 82:[67, 15], Operations: ['98-31=67', '45/3=15'] Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[31, 45, 98, 3], Operations: [] Exploring Operation: 98-31=67, Resulting Numbers: [45, 3, 67] Generated Node #0,0: 82:[45, 3, 67] Operation: 98-31=67 Exploring Operation: 98-45=53, Resulting Numbers: [31, 3, 53] Generated Node #0,1: 82:[31, 3, 53] Operation: 98-45=53 Exploring Operation: 31+45=76, Resulting Numbers: [98, 3, 76] Generated Node #0,2: 82:[98, 3, 76] Operation: 31+45=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[45, 3, 67], Operations: ['98-31=67'] Exploring Operation: 45-3=42, Resulting Numbers: [67, 42] Generated Node #0,0,0: 82:[67, 42] Operation: 45-3=42 Exploring Operation: 67-45=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 82:[3, 22] Operation: 67-45=22 Exploring Operation: 3+67=70, Resulting Numbers: [45, 70] Generated Node #0,0,2: 82:[45, 70] Operation: 3+67=70 Moving to Node #0,0,0 Current State: 82:[67, 42], Operations: ['98-31=67', '45-3=42'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,82 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[45, 70], Operations: ['98-31=67', '3+67=70'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,82 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[3, 22], Operations: ['98-31=67', '67-45=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[31, 3, 53], Operations: ['98-45=53'] Exploring Operation: 31+53=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 82:[3, 84] Operation: 31+53=84 Exploring Operation: 31+3=34, Resulting Numbers: [53, 34] Generated Node #0,1,1: 82:[53, 34] Operation: 31+3=34 Exploring Operation: 53-3=50, Resulting Numbers: [31, 50] Generated Node #0,1,2: 82:[31, 50] Operation: 53-3=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[3, 84], Operations: ['98-45=53', '31+53=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[53, 34], Operations: ['98-45=53', '31+3=34'] Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,82 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[31, 50], Operations: ['98-45=53', '53-3=50'] Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[98, 3, 76], Operations: ['31+45=76'] Exploring Operation: 98-76=22, Resulting Numbers: [3, 22] Generated Node #0,2,0: 82:[3, 22] Operation: 98-76=22 Exploring Operation: 3+76=79, Resulting Numbers: [98, 79] Generated Node #0,2,1: 82:[98, 79] Operation: 3+76=79 Exploring Operation: 98-3=95, Resulting Numbers: [76, 95] Generated Node #0,2,2: 82:[76, 95] Operation: 98-3=95 Moving to Node #0,2,1 Current State: 82:[98, 79], Operations: ['31+45=76', '3+76=79'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,82 unequal: No Solution Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[76, 95], Operations: ['31+45=76', '98-3=95'] Exploring Operation: 76+95=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 95-76=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 76*95=7220, Resulting Numbers: [7220] 7220,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[3, 22], Operations: ['31+45=76', '98-76=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,82 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
[ 49, 80, 19, 17 ]
67
[ "80-49=31", "19+17=36", "31+36=67" ]
Current State: 67:[49, 80, 19, 17], Operations: [] Exploring Operation: 80-49=31, Resulting Numbers: [19, 17, 31] Generated Node #2: [19, 17, 31] from Operation: 80-49=31 Current State: 67:[19, 17, 31], Operations: ['80-49=31'] Exploring Operation: 19+17=36, Resulting Numbers: [31, 36] Generated Node #3: [31, 36] from Operation: 19+17=36 Current State: 67:[31, 36], Operations: ['80-49=31', '19+17=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[49, 80, 19, 17], Operations: [] Exploring Operation: 49+19=68, Resulting Numbers: [80, 17, 68] Generated Node #0,0: 67:[80, 17, 68] Operation: 49+19=68 Exploring Operation: 19+17=36, Resulting Numbers: [49, 80, 36] Generated Node #0,1: 67:[49, 80, 36] Operation: 19+17=36 Exploring Operation: 80-17=63, Resulting Numbers: [49, 19, 63] Generated Node #0,2: 67:[49, 19, 63] Operation: 80-17=63 Exploring Operation: 49+17=66, Resulting Numbers: [80, 19, 66] Generated Node #0,3: 67:[80, 19, 66] Operation: 49+17=66 Moving to Node #0,1 Current State: 67:[49, 80, 36], Operations: ['19+17=36'] Exploring Operation: 49+36=85, Resulting Numbers: [80, 85] Generated Node #0,1,0: 67:[80, 85] Operation: 49+36=85 Exploring Operation: 80-49=31, Resulting Numbers: [36, 31] Generated Node #0,1,1: 67:[36, 31] Operation: 80-49=31 Exploring Operation: 49-36=13, Resulting Numbers: [80, 13] Generated Node #0,1,2: 67:[80, 13] Operation: 49-36=13 Exploring Operation: 80-36=44, Resulting Numbers: [49, 44] Generated Node #0,1,3: 67:[49, 44] Operation: 80-36=44 Moving to Node #0,3 Current State: 67:[80, 19, 66], Operations: ['49+17=66'] Exploring Operation: 66-19=47, Resulting Numbers: [80, 47] Generated Node #0,3,0: 67:[80, 47] Operation: 66-19=47 Exploring Operation: 80-19=61, Resulting Numbers: [66, 61] Generated Node #0,3,1: 67:[66, 61] Operation: 80-19=61 Exploring Operation: 80+19=99, Resulting Numbers: [66, 99] Generated Node #0,3,2: 67:[66, 99] Operation: 80+19=99 Exploring Operation: 19+66=85, Resulting Numbers: [80, 85] Generated Node #0,3,3: 67:[80, 85] Operation: 19+66=85 Moving to Node #0,0 Current State: 67:[80, 17, 68], Operations: ['49+19=68'] Exploring Operation: 68-17=51, Resulting Numbers: [80, 51] Generated Node #0,0,0: 67:[80, 51] Operation: 68-17=51 Exploring Operation: 80+17=97, Resulting Numbers: [68, 97] Generated Node #0,0,1: 67:[68, 97] Operation: 80+17=97 Exploring Operation: 17+68=85, Resulting Numbers: [80, 85] Generated Node #0,0,2: 67:[80, 85] Operation: 17+68=85 Exploring Operation: 80-17=63, Resulting Numbers: [68, 63] Generated Node #0,0,3: 67:[68, 63] Operation: 80-17=63 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[68, 63], Operations: ['49+19=68', '80-17=63'] Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,67 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 68*63=4284, Resulting Numbers: [4284] 4284,67 unequal: No Solution No 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: 67:[80, 51], Operations: ['49+19=68', '68-17=51'] Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,67 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,67 unequal: No Solution No 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: 67:[68, 97], Operations: ['49+19=68', '80+17=97'] Exploring Operation: 68+97=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 97-68=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 68*97=6596, Resulting Numbers: [6596] 6596,67 unequal: No Solution No 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: 67:[80, 85], Operations: ['49+19=68', '17+68=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,67 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,67 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: 67:[49, 19, 63], Operations: ['80-17=63'] Exploring Operation: 49+19=68, Resulting Numbers: [63, 68] Generated Node #0,2,0: 67:[63, 68] Operation: 49+19=68 Exploring Operation: 49-19=30, Resulting Numbers: [63, 30] Generated Node #0,2,1: 67:[63, 30] Operation: 49-19=30 Exploring Operation: 63-19=44, Resulting Numbers: [49, 44] Generated Node #0,2,2: 67:[49, 44] Operation: 63-19=44 Exploring Operation: 19+63=82, Resulting Numbers: [49, 82] Generated Node #0,2,3: 67:[49, 82] Operation: 19+63=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[63, 68], Operations: ['80-17=63', '49+19=68'] Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,67 unequal: No Solution Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,67 unequal: No Solution No 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: 67:[49, 82], Operations: ['80-17=63', '19+63=82'] Exploring Operation: 49+82=131, Resulting Numbers: [131] 131,67 unequal: No Solution Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 49*82=4018, Resulting Numbers: [4018] 4018,67 unequal: No Solution No 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: 67:[63, 30], Operations: ['80-17=63', '49-19=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,67 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,67 unequal: No Solution No 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: 67:[49, 44], Operations: ['80-17=63', '63-19=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,67 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 67:[66, 61], Operations: ['49+17=66', '80-19=61'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[80, 85], Operations: ['49+17=66', '19+66=85'] Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[80, 85], Operations: ['19+17=36', '49+36=85'] Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,67 unequal: No Solution Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[80, 47], Operations: ['49+17=66', '66-19=47'] Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,67 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[66, 99], Operations: ['49+17=66', '80+19=99'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[49, 44], Operations: ['19+17=36', '80-36=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[80, 13], Operations: ['19+17=36', '49-36=13'] Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,67 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[49, 80, 19, 17], Operations: [] Exploring Operation: 19+17=36, Resulting Numbers: [49, 80, 36] Generated Node #0,1: 67:[49, 80, 36] Operation: 19+17=36 Moving to Node #0,1 Current State: 67:[49, 80, 36], Operations: ['19+17=36'] Exploring Operation: 49-36=13, Resulting Numbers: [80, 13] Generated Node #0,1,2: 67:[80, 13] Operation: 49-36=13 Moving to Node #0,1,2 Current State: 67:[80, 13], Operations: ['19+17=36', '49-36=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 83, 24, 71, 32 ]
44
[ "83-24=59", "71+32=103", "103-59=44" ]
Current State: 44:[83, 24, 71, 32], Operations: [] Exploring Operation: 83-24=59, Resulting Numbers: [71, 32, 59] Generated Node #2: [71, 32, 59] from Operation: 83-24=59 Current State: 44:[71, 32, 59], Operations: ['83-24=59'] Exploring Operation: 71+32=103, Resulting Numbers: [59, 103] Generated Node #3: [59, 103] from Operation: 71+32=103 Current State: 44:[59, 103], Operations: ['83-24=59', '71+32=103'] Exploring Operation: 103-59=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[83, 24, 71, 32], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [83, 24, 39] Generated Node #0,0: 44:[83, 24, 39] Operation: 71-32=39 Exploring Operation: 83-32=51, Resulting Numbers: [24, 71, 51] Generated Node #0,1: 44:[24, 71, 51] Operation: 83-32=51 Exploring Operation: 83-71=12, Resulting Numbers: [24, 32, 12] Generated Node #0,2: 44:[24, 32, 12] Operation: 83-71=12 Moving to Node #0,2 Current State: 44:[24, 32, 12], Operations: ['83-71=12'] Exploring Operation: 32+12=44, Resulting Numbers: [24, 44] Generated Node #0,2,0: 44:[24, 44] Operation: 32+12=44 Exploring Operation: 32-12=20, Resulting Numbers: [24, 20] Generated Node #0,2,1: 44:[24, 20] Operation: 32-12=20 Exploring Operation: 32-24=8, Resulting Numbers: [12, 8] Generated Node #0,2,2: 44:[12, 8] Operation: 32-24=8 Moving to Node #0,1 Current State: 44:[24, 71, 51], Operations: ['83-32=51'] Exploring Operation: 51-24=27, Resulting Numbers: [71, 27] Generated Node #0,1,0: 44:[71, 27] Operation: 51-24=27 Exploring Operation: 71-24=47, Resulting Numbers: [51, 47] Generated Node #0,1,1: 44:[51, 47] Operation: 71-24=47 Exploring Operation: 71-51=20, Resulting Numbers: [24, 20] Generated Node #0,1,2: 44:[24, 20] Operation: 71-51=20 Moving to Node #0,0 Current State: 44:[83, 24, 39], Operations: ['71-32=39'] Exploring Operation: 39-24=15, Resulting Numbers: [83, 15] Generated Node #0,0,0: 44:[83, 15] Operation: 39-24=15 Exploring Operation: 83-24=59, Resulting Numbers: [39, 59] Generated Node #0,0,1: 44:[39, 59] Operation: 83-24=59 Exploring Operation: 83-39=44, Resulting Numbers: [24, 44] Generated Node #0,0,2: 44:[24, 44] Operation: 83-39=44 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[24, 44], Operations: ['71-32=39', '83-39=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,44 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,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,1 Current State: 44:[39, 59], Operations: ['71-32=39', '83-24=59'] Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,44 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[83, 15], Operations: ['71-32=39', '39-24=15'] Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 44:[24, 44], Operations: ['83-71=12', '32+12=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[12, 8], Operations: ['83-71=12', '32-24=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[24, 20], Operations: ['83-71=12', '32-12=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[83, 24, 71, 32], Operations: [] Exploring Operation: 83-71=12, Resulting Numbers: [24, 32, 12] Generated Node #0,2: 44:[24, 32, 12] Operation: 83-71=12 Moving to Node #0,2 Current State: 44:[24, 32, 12], Operations: ['83-71=12'] Exploring Operation: 32-12=20, Resulting Numbers: [24, 20] Generated Node #0,2,1: 44:[24, 20] Operation: 32-12=20 Moving to Node #0,2,1 Current State: 44:[24, 20], Operations: ['83-71=12', '32-12=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.972222
hs_3
mult_heuristic
[ 14, 18, 83, 9 ]
65
[ "14+83=97", "18*9=162", "162-97=65" ]
Current State: 65:[14, 18, 83, 9], Operations: [] Exploring Operation: 14+83=97, Resulting Numbers: [18, 9, 97] Generated Node #2: [18, 9, 97] from Operation: 14+83=97 Current State: 65:[18, 9, 97], Operations: ['14+83=97'] Exploring Operation: 18*9=162, Resulting Numbers: [97, 162] Generated Node #3: [97, 162] from Operation: 18*9=162 Current State: 65:[97, 162], Operations: ['14+83=97', '18*9=162'] Exploring Operation: 162-97=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[14, 18, 83, 9], Operations: [] Exploring Operation: 83-18=65, Resulting Numbers: [14, 9, 65] Generated Node #0,0: 65:[14, 9, 65] Operation: 83-18=65 Exploring Operation: 18/9=2, Resulting Numbers: [14, 83, 2] Generated Node #0,1: 65:[14, 83, 2] Operation: 18/9=2 Exploring Operation: 83-14=69, Resulting Numbers: [18, 9, 69] Generated Node #0,2: 65:[18, 9, 69] Operation: 83-14=69 Exploring Operation: 83-9=74, Resulting Numbers: [14, 18, 74] Generated Node #0,3: 65:[14, 18, 74] Operation: 83-9=74 Moving to Node #0,0 Current State: 65:[14, 9, 65], Operations: ['83-18=65'] Exploring Operation: 14+9=23, Resulting Numbers: [65, 23] Generated Node #0,0,0: 65:[65, 23] Operation: 14+9=23 Exploring Operation: 14-9=5, Resulting Numbers: [65, 5] Generated Node #0,0,1: 65:[65, 5] Operation: 14-9=5 Exploring Operation: 9+65=74, Resulting Numbers: [14, 74] Generated Node #0,0,2: 65:[14, 74] Operation: 9+65=74 Exploring Operation: 65-9=56, Resulting Numbers: [14, 56] Generated Node #0,0,3: 65:[14, 56] Operation: 65-9=56 Moving to Node #0,2 Current State: 65:[18, 9, 69], Operations: ['83-14=69'] Exploring Operation: 18-9=9, Resulting Numbers: [69, 9] Generated Node #0,2,0: 65:[69, 9] Operation: 18-9=9 Exploring Operation: 69-9=60, Resulting Numbers: [18, 60] Generated Node #0,2,1: 65:[18, 60] Operation: 69-9=60 Exploring Operation: 18/9=2, Resulting Numbers: [69, 2] Generated Node #0,2,2: 65:[69, 2] Operation: 18/9=2 Exploring Operation: 18+9=27, Resulting Numbers: [69, 27] Generated Node #0,2,3: 65:[69, 27] Operation: 18+9=27 Moving to Node #0,3 Current State: 65:[14, 18, 74], Operations: ['83-9=74'] Exploring Operation: 18-14=4, Resulting Numbers: [74, 4] Generated Node #0,3,0: 65:[74, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [74, 32] Generated Node #0,3,1: 65:[74, 32] Operation: 14+18=32 Exploring Operation: 74-14=60, Resulting Numbers: [18, 60] Generated Node #0,3,2: 65:[18, 60] Operation: 74-14=60 Exploring Operation: 74-18=56, Resulting Numbers: [14, 56] Generated Node #0,3,3: 65:[14, 56] Operation: 74-18=56 Moving to Node #0,1 Current State: 65:[14, 83, 2], Operations: ['18/9=2'] Exploring Operation: 14/2=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 65:[83, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 65:[83, 12] Operation: 14-2=12 Exploring Operation: 83-14=69, Resulting Numbers: [2, 69] Generated Node #0,1,2: 65:[2, 69] Operation: 83-14=69 Exploring Operation: 83-2=81, Resulting Numbers: [14, 81] Generated Node #0,1,3: 65:[14, 81] Operation: 83-2=81 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[2, 69], Operations: ['18/9=2', '83-14=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[14, 81], Operations: ['18/9=2', '83-2=81'] Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,65 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[83, 12], Operations: ['18/9=2', '14-2=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[83, 7], Operations: ['18/9=2', '14/2=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,65 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 65:[65, 5], Operations: ['83-18=65', '14-9=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,65 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[69, 2], Operations: ['83-14=69', '18/9=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[69, 9], Operations: ['83-14=69', '18-9=9'] Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,65 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[18, 60], Operations: ['83-14=69', '69-9=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,65 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[14, 74], Operations: ['83-18=65', '9+65=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[18, 60], Operations: ['83-9=74', '74-14=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[74, 4], Operations: ['83-9=74', '18-14=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[65, 23], Operations: ['83-18=65', '14+9=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,65 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[14, 56], Operations: ['83-9=74', '74-18=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,65 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[14, 56], Operations: ['83-18=65', '65-9=56'] Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[69, 27], Operations: ['83-14=69', '18+9=27'] Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,65 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[74, 32], Operations: ['83-9=74', '14+18=32'] Exploring Operation: 74+32=106, Resulting Numbers: [106] 106,65 unequal: No Solution Exploring Operation: 74*32=2368, Resulting Numbers: [2368] 2368,65 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,65 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 89, 53, 49, 3 ]
16
[ "89-53=36", "49+3=52", "52-36=16" ]
Current State: 16:[89, 53, 49, 3], Operations: [] Exploring Operation: 89-53=36, Resulting Numbers: [49, 3, 36] Generated Node #2: [49, 3, 36] from Operation: 89-53=36 Current State: 16:[49, 3, 36], Operations: ['89-53=36'] Exploring Operation: 49+3=52, Resulting Numbers: [36, 52] Generated Node #3: [36, 52] from Operation: 49+3=52 Current State: 16:[36, 52], Operations: ['89-53=36', '49+3=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[89, 53, 49, 3], Operations: [] Exploring Operation: 89-53=36, Resulting Numbers: [49, 3, 36] Generated Node #0,0: 16:[49, 3, 36] Operation: 89-53=36 Exploring Operation: 89-49=40, Resulting Numbers: [53, 3, 40] Generated Node #0,1: 16:[53, 3, 40] Operation: 89-49=40 Moving to Node #0,0 Current State: 16:[49, 3, 36], Operations: ['89-53=36'] Exploring Operation: 49-36=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 16:[3, 13] Operation: 49-36=13 Exploring Operation: 36/3=12, Resulting Numbers: [49, 12] Generated Node #0,0,1: 16:[49, 12] Operation: 36/3=12 Moving to Node #0,1 Current State: 16:[53, 3, 40], Operations: ['89-49=40'] Exploring Operation: 53-40=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 16:[3, 13] Operation: 53-40=13 Exploring Operation: 53-3=50, Resulting Numbers: [40, 50] Generated Node #0,1,1: 16:[40, 50] Operation: 53-3=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[3, 13], Operations: ['89-49=40', '53-40=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[89, 53, 49, 3], Operations: [] Exploring Operation: 89-49=40, Resulting Numbers: [53, 3, 40] Generated Node #0,1: 16:[53, 3, 40] Operation: 89-49=40 Moving to Node #0,1 Current State: 16:[53, 3, 40], Operations: ['89-49=40'] Exploring Operation: 53-40=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 16:[3, 13] Operation: 53-40=13 Moving to Node #0,1,0 Current State: 16:[3, 13], Operations: ['89-49=40', '53-40=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 56, 56, 69, 61 ]
61
[ "56-56=0", "69*0=0", "61+0=61" ]
Current State: 61:[56, 56, 69, 61], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [69, 61, 0] Generated Node #2: [69, 61, 0] from Operation: 56-56=0 Current State: 61:[69, 61, 0], Operations: ['56-56=0'] Exploring Operation: 69*0=0, Resulting Numbers: [61, 0] Generated Node #3: [61, 0] from Operation: 69*0=0 Current State: 61:[61, 0], Operations: ['56-56=0', '69*0=0'] Exploring Operation: 61+0=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[56, 56, 69, 61], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [56, 61, 13] Generated Node #0,0: 61:[56, 61, 13] Operation: 69-56=13 Exploring Operation: 69-61=8, Resulting Numbers: [56, 56, 8] Generated Node #0,1: 61:[56, 56, 8] Operation: 69-61=8 Exploring Operation: 56/56=1, Resulting Numbers: [69, 61, 1] Generated Node #0,2: 61:[69, 61, 1] Operation: 56/56=1 Exploring Operation: 56+56=112, Resulting Numbers: [69, 61, 112] Generated Node #0,3: 61:[69, 61, 112] Operation: 56+56=112 Exploring Operation: 69-56=13, Resulting Numbers: [56, 61, 13] Generated Node #0,4: 61:[56, 61, 13] Operation: 69-56=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[56, 61, 13], Operations: ['69-56=13'] Exploring Operation: 61-13=48, Resulting Numbers: [56, 48] Generated Node #0,0,0: 61:[56, 48] Operation: 61-13=48 Exploring Operation: 61+13=74, Resulting Numbers: [56, 74] Generated Node #0,0,1: 61:[56, 74] Operation: 61+13=74 Exploring Operation: 56+61=117, Resulting Numbers: [13, 117] Generated Node #0,0,2: 61:[13, 117] Operation: 56+61=117 Exploring Operation: 56-13=43, Resulting Numbers: [61, 43] Generated Node #0,0,3: 61:[61, 43] Operation: 56-13=43 Exploring Operation: 56+13=69, Resulting Numbers: [61, 69] Generated Node #0,0,4: 61:[61, 69] Operation: 56+13=69 Moving to Node #0,0,4 Current State: 61:[61, 69], Operations: ['69-56=13', '56+13=69'] Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[56, 74], Operations: ['69-56=13', '61+13=74'] Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,61 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[56, 48], Operations: ['69-56=13', '61-13=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,61 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[61, 43], Operations: ['69-56=13', '56-13=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,61 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[13, 117], Operations: ['69-56=13', '56+61=117'] Exploring Operation: 117/13=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 13*117=1521, Resulting Numbers: [1521] 1521,61 unequal: No Solution Exploring Operation: 117-13=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 13+117=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[56, 61, 13], Operations: ['69-56=13'] Exploring Operation: 56-13=43, Resulting Numbers: [61, 43] Generated Node #0,4,0: 61:[61, 43] Operation: 56-13=43 Exploring Operation: 56+13=69, Resulting Numbers: [61, 69] Generated Node #0,4,1: 61:[61, 69] Operation: 56+13=69 Exploring Operation: 56+61=117, Resulting Numbers: [13, 117] Generated Node #0,4,2: 61:[13, 117] Operation: 56+61=117 Exploring Operation: 61+13=74, Resulting Numbers: [56, 74] Generated Node #0,4,3: 61:[56, 74] Operation: 61+13=74 Exploring Operation: 61-13=48, Resulting Numbers: [56, 48] Generated Node #0,4,4: 61:[56, 48] Operation: 61-13=48 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 61:[61, 69], Operations: ['69-56=13', '56+13=69'] Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 61:[61, 43], Operations: ['69-56=13', '56-13=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,61 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 61:[56, 74], Operations: ['69-56=13', '61+13=74'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,61 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 61:[56, 48], Operations: ['69-56=13', '61-13=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,61 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 61:[13, 117], Operations: ['69-56=13', '56+61=117'] Exploring Operation: 13*117=1521, Resulting Numbers: [1521] 1521,61 unequal: No Solution Exploring Operation: 13+117=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 117-13=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 117/13=9, Resulting Numbers: [9] 9,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[69, 61, 112], Operations: ['56+56=112'] Exploring Operation: 69+61=130, Resulting Numbers: [112, 130] Generated Node #0,3,0: 61:[112, 130] Operation: 69+61=130 Exploring Operation: 112-69=43, Resulting Numbers: [61, 43] Generated Node #0,3,1: 61:[61, 43] Operation: 112-69=43 Exploring Operation: 69+112=181, Resulting Numbers: [61, 181] Generated Node #0,3,2: 61:[61, 181] Operation: 69+112=181 Exploring Operation: 69-61=8, Resulting Numbers: [112, 8] Generated Node #0,3,3: 61:[112, 8] Operation: 69-61=8 Exploring Operation: 112-61=51, Resulting Numbers: [69, 51] Generated Node #0,3,4: 61:[69, 51] Operation: 112-61=51 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[61, 43], Operations: ['56+56=112', '112-69=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 61:[69, 51], Operations: ['56+56=112', '112-61=51'] Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[112, 8], Operations: ['56+56=112', '69-61=8'] Exploring Operation: 112-8=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 112+8=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 112*8=896, Resulting Numbers: [896] 896,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[112, 130], Operations: ['56+56=112', '69+61=130'] Exploring Operation: 130-112=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 112+130=242, Resulting Numbers: [242] 242,61 unequal: No Solution Exploring Operation: 112*130=14560, Resulting Numbers: [14560] 14560,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[61, 181], Operations: ['56+56=112', '69+112=181'] Exploring Operation: 61+181=242, Resulting Numbers: [242] 242,61 unequal: No Solution Exploring Operation: 61*181=11041, Resulting Numbers: [11041] 11041,61 unequal: No Solution Exploring Operation: 181-61=120, Resulting Numbers: [120] 120,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[56, 56, 8], Operations: ['69-61=8'] Exploring Operation: 56+8=64, Resulting Numbers: [56, 64] Generated Node #0,1,0: 61:[56, 64] Operation: 56+8=64 Exploring Operation: 56-8=48, Resulting Numbers: [56, 48] Generated Node #0,1,1: 61:[56, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [56, 7] Generated Node #0,1,2: 61:[56, 7] Operation: 56/8=7 Exploring Operation: 56+8=64, Resulting Numbers: [56, 64] Generated Node #0,1,3: 61:[56, 64] Operation: 56+8=64 Exploring Operation: 56-8=48, Resulting Numbers: [56, 48] Generated Node #0,1,4: 61:[56, 48] Operation: 56-8=48 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[56, 64], Operations: ['69-61=8', '56+8=64'] Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,61 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 61:[56, 64], Operations: ['69-61=8', '56+8=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,61 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[56, 48], Operations: ['69-61=8', '56-8=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,61 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 61:[56, 48], Operations: ['69-61=8', '56-8=48'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[56, 7], Operations: ['69-61=8', '56/8=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[69, 61, 1], Operations: ['56/56=1'] Exploring Operation: 69*1=69, Resulting Numbers: [61, 69] Generated Node #0,2,0: 61:[61, 69] Operation: 69*1=69 Exploring Operation: 69-1=68, Resulting Numbers: [61, 68] Generated Node #0,2,1: 61:[61, 68] Operation: 69-1=68 Exploring Operation: 61*1=61, Resulting Numbers: [69, 61] Generated Node #0,2,2: 61:[69, 61] Operation: 61*1=61 Exploring Operation: 61/1=61, Resulting Numbers: [69, 61] Generated Node #0,2,3: 61:[69, 61] Operation: 61/1=61 Exploring Operation: 69/1=69, Resulting Numbers: [61, 69] Generated Node #0,2,4: 61:[61, 69] Operation: 69/1=69 Moving to Node #0,2,1 Current State: 61:[61, 68], Operations: ['56/56=1', '69-1=68'] Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,61 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[69, 61], Operations: ['56/56=1', '61*1=61'] Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[61, 69], Operations: ['56/56=1', '69/1=69'] Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[61, 69], Operations: ['56/56=1', '69*1=69'] Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[69, 61], Operations: ['56/56=1', '61/1=61'] Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,61 unequal: No Solution Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,61 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
[ 93, 84, 48, 87 ]
48
[ "93-84=9", "87-48=39", "9+39=48" ]
Current State: 48:[93, 84, 48, 87], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [48, 87, 9] Generated Node #2: [48, 87, 9] from Operation: 93-84=9 Current State: 48:[48, 87, 9], Operations: ['93-84=9'] Exploring Operation: 87-48=39, Resulting Numbers: [9, 39] Generated Node #3: [9, 39] from Operation: 87-48=39 Current State: 48:[9, 39], Operations: ['93-84=9', '87-48=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[93, 84, 48, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [93, 48, 3] Generated Node #0,0: 48:[93, 48, 3] Operation: 87-84=3 Exploring Operation: 93-84=9, Resulting Numbers: [48, 87, 9] Generated Node #0,1: 48:[48, 87, 9] Operation: 93-84=9 Exploring Operation: 93-87=6, Resulting Numbers: [84, 48, 6] Generated Node #0,2: 48:[84, 48, 6] Operation: 93-87=6 Exploring Operation: 93-48=45, Resulting Numbers: [84, 87, 45] Generated Node #0,3: 48:[84, 87, 45] Operation: 93-48=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[84, 48, 6], Operations: ['93-87=6'] Exploring Operation: 84/6=14, Resulting Numbers: [48, 14] Generated Node #0,2,0: 48:[48, 14] Operation: 84/6=14 Exploring Operation: 84-48=36, Resulting Numbers: [6, 36] Generated Node #0,2,1: 48:[6, 36] Operation: 84-48=36 Exploring Operation: 84-6=78, Resulting Numbers: [48, 78] Generated Node #0,2,2: 48:[48, 78] Operation: 84-6=78 Exploring Operation: 48/6=8, Resulting Numbers: [84, 8] Generated Node #0,2,3: 48:[84, 8] Operation: 48/6=8 Moving to Node #0,2,0 Current State: 48:[48, 14], Operations: ['93-87=6', '84/6=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[6, 36], Operations: ['93-87=6', '84-48=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,48 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[48, 78], Operations: ['93-87=6', '84-6=78'] Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 48+78=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 48*78=3744, Resulting Numbers: [3744] 3744,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[84, 8], Operations: ['93-87=6', '48/6=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,48 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,48 unequal: No Solution No 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: 48:[48, 87, 9], Operations: ['93-84=9'] Exploring Operation: 87-9=78, Resulting Numbers: [48, 78] Generated Node #0,1,0: 48:[48, 78] Operation: 87-9=78 Exploring Operation: 48-9=39, Resulting Numbers: [87, 39] Generated Node #0,1,1: 48:[87, 39] Operation: 48-9=39 Exploring Operation: 87-48=39, Resulting Numbers: [9, 39] Generated Node #0,1,2: 48:[9, 39] Operation: 87-48=39 Exploring Operation: 48+9=57, Resulting Numbers: [87, 57] Generated Node #0,1,3: 48:[87, 57] Operation: 48+9=57 Moving to Node #0,1,2 Current State: 48:[9, 39], Operations: ['93-84=9', '87-48=39'] Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,48 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[93, 84, 48, 87], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [48, 87, 9] Generated Node #0,1: 48:[48, 87, 9] Operation: 93-84=9 Moving to Node #0,1 Current State: 48:[48, 87, 9], Operations: ['93-84=9'] Exploring Operation: 87-48=39, Resulting Numbers: [9, 39] Generated Node #0,1,2: 48:[9, 39] Operation: 87-48=39 Moving to Node #0,1,2 Current State: 48:[9, 39], Operations: ['93-84=9', '87-48=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 58, 27, 22, 59 ]
68
[ "58-27=31", "59-22=37", "31+37=68" ]
Current State: 68:[58, 27, 22, 59], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [22, 59, 31] Generated Node #2: [22, 59, 31] from Operation: 58-27=31 Current State: 68:[22, 59, 31], Operations: ['58-27=31'] Exploring Operation: 59-22=37, Resulting Numbers: [31, 37] Generated Node #3: [31, 37] from Operation: 59-22=37 Current State: 68:[31, 37], Operations: ['58-27=31', '59-22=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[58, 27, 22, 59], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [22, 59, 31] Generated Node #0,0: 68:[22, 59, 31] Operation: 58-27=31 Exploring Operation: 59-58=1, Resulting Numbers: [27, 22, 1] Generated Node #0,1: 68:[27, 22, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[27, 22, 1], Operations: ['59-58=1'] Exploring Operation: 27-22=5, Resulting Numbers: [1, 5] Generated Node #0,1,0: 68:[1, 5] Operation: 27-22=5 Exploring Operation: 27+1=28, Resulting Numbers: [22, 28] Generated Node #0,1,1: 68:[22, 28] Operation: 27+1=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[1, 5], Operations: ['59-58=1', '27-22=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,68 unequal: No Solution No 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: 68:[22, 28], Operations: ['59-58=1', '27+1=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,68 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: 68:[22, 59, 31], Operations: ['58-27=31'] Exploring Operation: 59-31=28, Resulting Numbers: [22, 28] Generated Node #0,0,0: 68:[22, 28] Operation: 59-31=28 Exploring Operation: 59-22=37, Resulting Numbers: [31, 37] Generated Node #0,0,1: 68:[31, 37] Operation: 59-22=37 Moving to Node #0,0,1 Current State: 68:[31, 37], Operations: ['58-27=31', '59-22=37'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[58, 27, 22, 59], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [22, 59, 31] Generated Node #0,0: 68:[22, 59, 31] Operation: 58-27=31 Moving to Node #0,0 Current State: 68:[22, 59, 31], Operations: ['58-27=31'] Exploring Operation: 59-22=37, Resulting Numbers: [31, 37] Generated Node #0,0,1: 68:[31, 37] Operation: 59-22=37 Moving to Node #0,0,1 Current State: 68:[31, 37], Operations: ['58-27=31', '59-22=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 17, 91, 75, 65 ]
66
[ "91-17=74", "75+65=140", "140-74=66" ]
Current State: 66:[17, 91, 75, 65], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [75, 65, 74] Generated Node #2: [75, 65, 74] from Operation: 91-17=74 Current State: 66:[75, 65, 74], Operations: ['91-17=74'] Exploring Operation: 75+65=140, Resulting Numbers: [74, 140] Generated Node #3: [74, 140] from Operation: 75+65=140 Current State: 66:[74, 140], Operations: ['91-17=74', '75+65=140'] Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[17, 91, 75, 65], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [75, 65, 74] Generated Node #0,0: 66:[75, 65, 74] Operation: 91-17=74 Exploring Operation: 75-17=58, Resulting Numbers: [91, 65, 58] Generated Node #0,1: 66:[91, 65, 58] Operation: 75-17=58 Exploring Operation: 75-65=10, Resulting Numbers: [17, 91, 10] Generated Node #0,2: 66:[17, 91, 10] Operation: 75-65=10 Exploring Operation: 91-75=16, Resulting Numbers: [17, 65, 16] Generated Node #0,3: 66:[17, 65, 16] Operation: 91-75=16 Exploring Operation: 91-65=26, Resulting Numbers: [17, 75, 26] Generated Node #0,4: 66:[17, 75, 26] Operation: 91-65=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[17, 65, 16], Operations: ['91-75=16'] Exploring Operation: 65-17=48, Resulting Numbers: [16, 48] Generated Node #0,3,0: 66:[16, 48] Operation: 65-17=48 Exploring Operation: 17+16=33, Resulting Numbers: [65, 33] Generated Node #0,3,1: 66:[65, 33] Operation: 17+16=33 Exploring Operation: 65+16=81, Resulting Numbers: [17, 81] Generated Node #0,3,2: 66:[17, 81] Operation: 65+16=81 Exploring Operation: 17+65=82, Resulting Numbers: [16, 82] Generated Node #0,3,3: 66:[16, 82] Operation: 17+65=82 Exploring Operation: 17-16=1, Resulting Numbers: [65, 1] Generated Node #0,3,4: 66:[65, 1] Operation: 17-16=1 Moving to Node #0,3,1 Current State: 66:[65, 33], Operations: ['91-75=16', '17+16=33'] Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,66 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[65, 1], Operations: ['91-75=16', '17-16=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[17, 91, 75, 65], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [17, 65, 16] Generated Node #0,3: 66:[17, 65, 16] Operation: 91-75=16 Moving to Node #0,3 Current State: 66:[17, 65, 16], Operations: ['91-75=16'] Exploring Operation: 17-16=1, Resulting Numbers: [65, 1] Generated Node #0,3,4: 66:[65, 1] Operation: 17-16=1 Moving to Node #0,3,4 Current State: 66:[65, 1], Operations: ['91-75=16', '17-16=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 26, 45, 90, 20 ]
39
[ "26+45=71", "90+20=110", "110-71=39" ]
Current State: 39:[26, 45, 90, 20], Operations: [] Exploring Operation: 26+45=71, Resulting Numbers: [90, 20, 71] Generated Node #2: [90, 20, 71] from Operation: 26+45=71 Current State: 39:[90, 20, 71], Operations: ['26+45=71'] Exploring Operation: 90+20=110, Resulting Numbers: [71, 110] Generated Node #3: [71, 110] from Operation: 90+20=110 Current State: 39:[71, 110], Operations: ['26+45=71', '90+20=110'] Exploring Operation: 110-71=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[26, 45, 90, 20], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [26, 20, 2] Generated Node #0,0: 39:[26, 20, 2] Operation: 90/45=2 Exploring Operation: 90-26=64, Resulting Numbers: [45, 20, 64] Generated Node #0,1: 39:[45, 20, 64] Operation: 90-26=64 Exploring Operation: 90-45=45, Resulting Numbers: [26, 20, 45] Generated Node #0,2: 39:[26, 20, 45] Operation: 90-45=45 Moving to Node #0,0 Current State: 39:[26, 20, 2], Operations: ['90/45=2'] Exploring Operation: 26/2=13, Resulting Numbers: [20, 13] Generated Node #0,0,0: 39:[20, 13] Operation: 26/2=13 Exploring Operation: 26+20=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 39:[2, 46] Operation: 26+20=46 Exploring Operation: 26-20=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 39:[2, 6] Operation: 26-20=6 Moving to Node #0,2 Current State: 39:[26, 20, 45], Operations: ['90-45=45'] Exploring Operation: 45-26=19, Resulting Numbers: [20, 19] Generated Node #0,2,0: 39:[20, 19] Operation: 45-26=19 Exploring Operation: 26+20=46, Resulting Numbers: [45, 46] Generated Node #0,2,1: 39:[45, 46] Operation: 26+20=46 Exploring Operation: 26-20=6, Resulting Numbers: [45, 6] Generated Node #0,2,2: 39:[45, 6] Operation: 26-20=6 Moving to Node #0,1 Current State: 39:[45, 20, 64], Operations: ['90-26=64'] Exploring Operation: 64-20=44, Resulting Numbers: [45, 44] Generated Node #0,1,0: 39:[45, 44] Operation: 64-20=44 Exploring Operation: 64-45=19, Resulting Numbers: [20, 19] Generated Node #0,1,1: 39:[20, 19] Operation: 64-45=19 Exploring Operation: 45-20=25, Resulting Numbers: [64, 25] Generated Node #0,1,2: 39:[64, 25] Operation: 45-20=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[45, 44], Operations: ['90-26=64', '64-20=44'] Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,39 unequal: No Solution Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,39 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[20, 19], Operations: ['90-26=64', '64-45=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,39 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[26, 45, 90, 20], Operations: [] Exploring Operation: 90-26=64, Resulting Numbers: [45, 20, 64] Generated Node #0,1: 39:[45, 20, 64] Operation: 90-26=64 Moving to Node #0,1 Current State: 39:[45, 20, 64], Operations: ['90-26=64'] Exploring Operation: 64-45=19, Resulting Numbers: [20, 19] Generated Node #0,1,1: 39:[20, 19] Operation: 64-45=19 Moving to Node #0,1,1 Current State: 39:[20, 19], Operations: ['90-26=64', '64-45=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 15, 87, 57, 92 ]
47
[ "15+87=102", "57+92=149", "149-102=47" ]
Current State: 47:[15, 87, 57, 92], Operations: [] Exploring Operation: 15+87=102, Resulting Numbers: [57, 92, 102] Generated Node #2: [57, 92, 102] from Operation: 15+87=102 Current State: 47:[57, 92, 102], Operations: ['15+87=102'] Exploring Operation: 57+92=149, Resulting Numbers: [102, 149] Generated Node #3: [102, 149] from Operation: 57+92=149 Current State: 47:[102, 149], Operations: ['15+87=102', '57+92=149'] Exploring Operation: 149-102=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[15, 87, 57, 92], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [15, 87, 35] Generated Node #0,0: 47:[15, 87, 35] Operation: 92-57=35 Exploring Operation: 92-15=77, Resulting Numbers: [87, 57, 77] Generated Node #0,1: 47:[87, 57, 77] Operation: 92-15=77 Exploring Operation: 87-15=72, Resulting Numbers: [57, 92, 72] Generated Node #0,2: 47:[57, 92, 72] Operation: 87-15=72 Exploring Operation: 92-87=5, Resulting Numbers: [15, 57, 5] Generated Node #0,3: 47:[15, 57, 5] Operation: 92-87=5 Exploring Operation: 57-15=42, Resulting Numbers: [87, 92, 42] Generated Node #0,4: 47:[87, 92, 42] Operation: 57-15=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[87, 57, 77], Operations: ['92-15=77'] Exploring Operation: 87+77=164, Resulting Numbers: [57, 164] Generated Node #0,1,0: 47:[57, 164] Operation: 87+77=164 Exploring Operation: 87+57=144, Resulting Numbers: [77, 144] Generated Node #0,1,1: 47:[77, 144] Operation: 87+57=144 Exploring Operation: 87-57=30, Resulting Numbers: [77, 30] Generated Node #0,1,2: 47:[77, 30] Operation: 87-57=30 Exploring Operation: 87-77=10, Resulting Numbers: [57, 10] Generated Node #0,1,3: 47:[57, 10] Operation: 87-77=10 Exploring Operation: 77-57=20, Resulting Numbers: [87, 20] Generated Node #0,1,4: 47:[87, 20] Operation: 77-57=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[77, 30], Operations: ['92-15=77', '87-57=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[15, 87, 57, 92], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [87, 57, 77] Generated Node #0,1: 47:[87, 57, 77] Operation: 92-15=77 Moving to Node #0,1 Current State: 47:[87, 57, 77], Operations: ['92-15=77'] Exploring Operation: 87-57=30, Resulting Numbers: [77, 30] Generated Node #0,1,2: 47:[77, 30] Operation: 87-57=30 Moving to Node #0,1,2 Current State: 47:[77, 30], Operations: ['92-15=77', '87-57=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 11, 47, 38, 16 ]
80
[ "11+47=58", "38-16=22", "58+22=80" ]
Current State: 80:[11, 47, 38, 16], Operations: [] Exploring Operation: 11+47=58, Resulting Numbers: [38, 16, 58] Generated Node #2: [38, 16, 58] from Operation: 11+47=58 Current State: 80:[38, 16, 58], Operations: ['11+47=58'] Exploring Operation: 38-16=22, Resulting Numbers: [58, 22] Generated Node #3: [58, 22] from Operation: 38-16=22 Current State: 80:[58, 22], Operations: ['11+47=58', '38-16=22'] Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[11, 47, 38, 16], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [11, 16, 9] Generated Node #0,0: 80:[11, 16, 9] Operation: 47-38=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[11, 16, 9], Operations: ['47-38=9'] Exploring Operation: 11+9=20, Resulting Numbers: [16, 20] Generated Node #0,0,0: 80:[16, 20] Operation: 11+9=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[16, 20], Operations: ['47-38=9', '11+9=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,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_1
sum_heuristic
[ 92, 64, 46, 14 ]
80
[ "92/46=2", "64+14=78", "2+78=80" ]
Current State: 80:[92, 64, 46, 14], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [64, 14, 2] Generated Node #2: [64, 14, 2] from Operation: 92/46=2 Current State: 80:[64, 14, 2], Operations: ['92/46=2'] Exploring Operation: 64+14=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 64+14=78 Current State: 80:[2, 78], Operations: ['92/46=2', '64+14=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[92, 64, 46, 14], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [46, 14, 28] Generated Node #0,0: 80:[46, 14, 28] Operation: 92-64=28 Exploring Operation: 64-46=18, Resulting Numbers: [92, 14, 18] Generated Node #0,1: 80:[92, 14, 18] Operation: 64-46=18 Exploring Operation: 92/46=2, Resulting Numbers: [64, 14, 2] Generated Node #0,2: 80:[64, 14, 2] Operation: 92/46=2 Moving to Node #0,0 Current State: 80:[46, 14, 28], Operations: ['92-64=28'] Exploring Operation: 46-28=18, Resulting Numbers: [14, 18] Generated Node #0,0,0: 80:[14, 18] Operation: 46-28=18 Exploring Operation: 46+28=74, Resulting Numbers: [14, 74] Generated Node #0,0,1: 80:[14, 74] Operation: 46+28=74 Exploring Operation: 28/14=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 80:[46, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[14, 18], Operations: ['92-64=28', '46-28=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,80 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,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:[46, 2], Operations: ['92-64=28', '28/14=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[14, 74], Operations: ['92-64=28', '46+28=74'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,80 unequal: No Solution Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,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:[92, 14, 18], Operations: ['64-46=18'] Exploring Operation: 18-14=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 80:[92, 4] Operation: 18-14=4 Exploring Operation: 92-18=74, Resulting Numbers: [14, 74] Generated Node #0,1,1: 80:[14, 74] Operation: 92-18=74 Exploring Operation: 92-14=78, Resulting Numbers: [18, 78] Generated Node #0,1,2: 80:[18, 78] Operation: 92-14=78 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[18, 78], Operations: ['64-46=18', '92-14=78'] Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,80 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[14, 74], Operations: ['64-46=18', '92-18=74'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,80 unequal: No Solution Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[92, 4], Operations: ['64-46=18', '18-14=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[64, 14, 2], Operations: ['92/46=2'] Exploring Operation: 64+14=78, Resulting Numbers: [2, 78] Generated Node #0,2,0: 80:[2, 78] Operation: 64+14=78 Exploring Operation: 64/2=32, Resulting Numbers: [14, 32] Generated Node #0,2,1: 80:[14, 32] Operation: 64/2=32 Exploring Operation: 64-14=50, Resulting Numbers: [2, 50] Generated Node #0,2,2: 80:[2, 50] Operation: 64-14=50 Moving to Node #0,2,0 Current State: 80:[2, 78], Operations: ['92/46=2', '64+14=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[92, 64, 46, 14], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [64, 14, 2] Generated Node #0,2: 80:[64, 14, 2] Operation: 92/46=2 Moving to Node #0,2 Current State: 80:[64, 14, 2], Operations: ['92/46=2'] Exploring Operation: 64+14=78, Resulting Numbers: [2, 78] Generated Node #0,2,0: 80:[2, 78] Operation: 64+14=78 Moving to Node #0,2,0 Current State: 80:[2, 78], Operations: ['92/46=2', '64+14=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 55, 61, 23, 16 ]
13
[ "61-55=6", "23-16=7", "6+7=13" ]
Current State: 13:[55, 61, 23, 16], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [23, 16, 6] Generated Node #2: [23, 16, 6] from Operation: 61-55=6 Current State: 13:[23, 16, 6], Operations: ['61-55=6'] Exploring Operation: 23-16=7, Resulting Numbers: [6, 7] Generated Node #3: [6, 7] from Operation: 23-16=7 Current State: 13:[6, 7], Operations: ['61-55=6', '23-16=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[55, 61, 23, 16], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [23, 16, 6] Generated Node #0,0: 13:[23, 16, 6] Operation: 61-55=6 Exploring Operation: 55-23=32, Resulting Numbers: [61, 16, 32] Generated Node #0,1: 13:[61, 16, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[23, 16, 6], Operations: ['61-55=6'] Exploring Operation: 23-6=17, Resulting Numbers: [16, 17] Generated Node #0,0,0: 13:[16, 17] Operation: 23-6=17 Exploring Operation: 23-16=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 13:[6, 7] Operation: 23-16=7 Moving to Node #0,0,0 Current State: 13:[16, 17], Operations: ['61-55=6', '23-6=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[6, 7], Operations: ['61-55=6', '23-16=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[55, 61, 23, 16], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [23, 16, 6] Generated Node #0,0: 13:[23, 16, 6] Operation: 61-55=6 Moving to Node #0,0 Current State: 13:[23, 16, 6], Operations: ['61-55=6'] Exploring Operation: 23-16=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 13:[6, 7] Operation: 23-16=7 Moving to Node #0,0,1 Current State: 13:[6, 7], Operations: ['61-55=6', '23-16=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 38, 60, 85, 17 ]
30
[ "38+60=98", "85-17=68", "98-68=30" ]
Current State: 30:[38, 60, 85, 17], Operations: [] Exploring Operation: 38+60=98, Resulting Numbers: [85, 17, 98] Generated Node #2: [85, 17, 98] from Operation: 38+60=98 Current State: 30:[85, 17, 98], Operations: ['38+60=98'] Exploring Operation: 85-17=68, Resulting Numbers: [98, 68] Generated Node #3: [98, 68] from Operation: 85-17=68 Current State: 30:[98, 68], Operations: ['38+60=98', '85-17=68'] Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[38, 60, 85, 17], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [38, 60, 5] Generated Node #0,0: 30:[38, 60, 5] Operation: 85/17=5 Exploring Operation: 85-60=25, Resulting Numbers: [38, 17, 25] Generated Node #0,1: 30:[38, 17, 25] Operation: 85-60=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[38, 17, 25], Operations: ['85-60=25'] Exploring Operation: 38-25=13, Resulting Numbers: [17, 13] Generated Node #0,1,0: 30:[17, 13] Operation: 38-25=13 Exploring Operation: 25-17=8, Resulting Numbers: [38, 8] Generated Node #0,1,1: 30:[38, 8] Operation: 25-17=8 Moving to Node #0,1,0 Current State: 30:[17, 13], Operations: ['85-60=25', '38-25=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[38, 60, 85, 17], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [38, 17, 25] Generated Node #0,1: 30:[38, 17, 25] Operation: 85-60=25 Moving to Node #0,1 Current State: 30:[38, 17, 25], Operations: ['85-60=25'] Exploring Operation: 38-25=13, Resulting Numbers: [17, 13] Generated Node #0,1,0: 30:[17, 13] Operation: 38-25=13 Moving to Node #0,1,0 Current State: 30:[17, 13], Operations: ['85-60=25', '38-25=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic