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
[ 49, 99, 2, 95 ]
76
[ "95-49=46", "46/2=23", "99-23=76" ]
Current State: 76:[49, 99, 2, 95], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [99, 2, 46] Generated Node #2: [99, 2, 46] from Operation: 95-49=46 Current State: 76:[99, 2, 46], Operations: ['95-49=46'] Exploring Operation: 46/2=23, Resulting Numbers: [99, 23] Generated Node #3: [99, 23] from Operation: 46/2=23 Current State: 76:[99, 23], Operations: ['95-49=46', '46/2=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[49, 99, 2, 95], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [49, 2, 4] Generated Node #0,0: 76:[49, 2, 4] Operation: 99-95=4 Exploring Operation: 95-49=46, Resulting Numbers: [99, 2, 46] Generated Node #0,1: 76:[99, 2, 46] Operation: 95-49=46 Exploring Operation: 99-49=50, Resulting Numbers: [2, 95, 50] Generated Node #0,2: 76:[2, 95, 50] Operation: 99-49=50 Exploring Operation: 49-2=47, Resulting Numbers: [99, 95, 47] Generated Node #0,3: 76:[99, 95, 47] Operation: 49-2=47 Moving to Node #0,0 Current State: 76:[49, 2, 4], Operations: ['99-95=4'] Exploring Operation: 49-4=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 76:[2, 45] Operation: 49-4=45 Exploring Operation: 4/2=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 76:[49, 2] Operation: 4/2=2 Exploring Operation: 49-2=47, Resulting Numbers: [4, 47] Generated Node #0,0,2: 76:[4, 47] Operation: 49-2=47 Exploring Operation: 4-2=2, Resulting Numbers: [49, 2] Generated Node #0,0,3: 76:[49, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 45], Operations: ['99-95=4', '49-4=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[4, 47], Operations: ['99-95=4', '49-2=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,76 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[49, 2], Operations: ['99-95=4', '4/2=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[49, 2], Operations: ['99-95=4', '4-2=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,76 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: 76:[2, 95, 50], Operations: ['99-49=50'] Exploring Operation: 95-2=93, Resulting Numbers: [50, 93] Generated Node #0,2,0: 76:[50, 93] Operation: 95-2=93 Exploring Operation: 50-2=48, Resulting Numbers: [95, 48] Generated Node #0,2,1: 76:[95, 48] Operation: 50-2=48 Exploring Operation: 95-50=45, Resulting Numbers: [2, 45] Generated Node #0,2,2: 76:[2, 45] Operation: 95-50=45 Exploring Operation: 50/2=25, Resulting Numbers: [95, 25] Generated Node #0,2,3: 76:[95, 25] Operation: 50/2=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[2, 45], Operations: ['99-49=50', '95-50=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[95, 25], Operations: ['99-49=50', '50/2=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,76 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[50, 93], Operations: ['99-49=50', '95-2=93'] Exploring Operation: 50*93=4650, Resulting Numbers: [4650] 4650,76 unequal: No Solution Exploring Operation: 50+93=143, Resulting Numbers: [143] 143,76 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[95, 48], Operations: ['99-49=50', '50-2=48'] Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 95*48=4560, Resulting Numbers: [4560] 4560,76 unequal: No Solution Exploring Operation: 95+48=143, Resulting Numbers: [143] 143,76 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: 76:[99, 2, 46], Operations: ['95-49=46'] Exploring Operation: 46/2=23, Resulting Numbers: [99, 23] Generated Node #0,1,0: 76:[99, 23] Operation: 46/2=23 Exploring Operation: 99-46=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 76:[2, 53] Operation: 99-46=53 Exploring Operation: 99-2=97, Resulting Numbers: [46, 97] Generated Node #0,1,2: 76:[46, 97] Operation: 99-2=97 Exploring Operation: 46-2=44, Resulting Numbers: [99, 44] Generated Node #0,1,3: 76:[99, 44] Operation: 46-2=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[2, 53], Operations: ['95-49=46', '99-46=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,76 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,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,1,0 Current State: 76:[99, 23], Operations: ['95-49=46', '46/2=23'] Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,76 unequal: No Solution Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[49, 99, 2, 95], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [99, 2, 46] Generated Node #0,1: 76:[99, 2, 46] Operation: 95-49=46 Moving to Node #0,1 Current State: 76:[99, 2, 46], Operations: ['95-49=46'] Exploring Operation: 46/2=23, Resulting Numbers: [99, 23] Generated Node #0,1,0: 76:[99, 23] Operation: 46/2=23 Moving to Node #0,1,0 Current State: 76:[99, 23], Operations: ['95-49=46', '46/2=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 83, 89, 2, 37 ]
20
[ "89+37=126", "126/2=63", "83-63=20" ]
Current State: 20:[83, 89, 2, 37], Operations: [] Exploring Operation: 89+37=126, Resulting Numbers: [83, 2, 126] Generated Node #2: [83, 2, 126] from Operation: 89+37=126 Current State: 20:[83, 2, 126], Operations: ['89+37=126'] Exploring Operation: 126/2=63, Resulting Numbers: [83, 63] Generated Node #3: [83, 63] from Operation: 126/2=63 Current State: 20:[83, 63], Operations: ['89+37=126', '126/2=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[83, 89, 2, 37], Operations: [] Exploring Operation: 89-37=52, Resulting Numbers: [83, 2, 52] Generated Node #0,0: 20:[83, 2, 52] Operation: 89-37=52 Exploring Operation: 89-83=6, Resulting Numbers: [2, 37, 6] Generated Node #0,1: 20:[2, 37, 6] Operation: 89-83=6 Exploring Operation: 83-37=46, Resulting Numbers: [89, 2, 46] Generated Node #0,2: 20:[89, 2, 46] Operation: 83-37=46 Exploring Operation: 83-2=81, Resulting Numbers: [89, 37, 81] Generated Node #0,3: 20:[89, 37, 81] Operation: 83-2=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[2, 37, 6], Operations: ['89-83=6'] Exploring Operation: 6/2=3, Resulting Numbers: [37, 3] Generated Node #0,1,0: 20:[37, 3] Operation: 6/2=3 Exploring Operation: 37-6=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 20:[2, 31] Operation: 37-6=31 Exploring Operation: 6-2=4, Resulting Numbers: [37, 4] Generated Node #0,1,2: 20:[37, 4] Operation: 6-2=4 Exploring Operation: 37-2=35, Resulting Numbers: [6, 35] Generated Node #0,1,3: 20:[6, 35] Operation: 37-2=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[2, 31], Operations: ['89-83=6', '37-6=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,20 unequal: No Solution No 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: 20:[6, 35], Operations: ['89-83=6', '37-2=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,20 unequal: No Solution No 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: 20:[37, 4], Operations: ['89-83=6', '6-2=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,20 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,20 unequal: No Solution No 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: 20:[37, 3], Operations: ['89-83=6', '6/2=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,20 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,20 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: 20:[83, 2, 52], Operations: ['89-37=52'] Exploring Operation: 83-52=31, Resulting Numbers: [2, 31] Generated Node #0,0,0: 20:[2, 31] Operation: 83-52=31 Exploring Operation: 83-2=81, Resulting Numbers: [52, 81] Generated Node #0,0,1: 20:[52, 81] Operation: 83-2=81 Exploring Operation: 52-2=50, Resulting Numbers: [83, 50] Generated Node #0,0,2: 20:[83, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [83, 26] Generated Node #0,0,3: 20:[83, 26] Operation: 52/2=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[2, 31], Operations: ['89-37=52', '83-52=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,20 unequal: No Solution No 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: 20:[83, 26], Operations: ['89-37=52', '52/2=26'] Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,20 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,20 unequal: No Solution No 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: 20:[52, 81], Operations: ['89-37=52', '83-2=81'] Exploring Operation: 52+81=133, Resulting Numbers: [133] 133,20 unequal: No Solution Exploring Operation: 52*81=4212, Resulting Numbers: [4212] 4212,20 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,20 unequal: No Solution No 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: 20:[83, 50], Operations: ['89-37=52', '52-2=50'] Exploring Operation: 83+50=133, Resulting Numbers: [133] 133,20 unequal: No Solution Exploring Operation: 83*50=4150, Resulting Numbers: [4150] 4150,20 unequal: No Solution Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,20 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: 20:[89, 2, 46], Operations: ['83-37=46'] Exploring Operation: 89-46=43, Resulting Numbers: [2, 43] Generated Node #0,2,0: 20:[2, 43] Operation: 89-46=43 Exploring Operation: 46-2=44, Resulting Numbers: [89, 44] Generated Node #0,2,1: 20:[89, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [89, 23] Generated Node #0,2,2: 20:[89, 23] Operation: 46/2=23 Exploring Operation: 89-2=87, Resulting Numbers: [46, 87] Generated Node #0,2,3: 20:[46, 87] Operation: 89-2=87 Moving to Node #0,2,0 Current State: 20:[2, 43], Operations: ['83-37=46', '89-46=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[89, 23], Operations: ['83-37=46', '46/2=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,20 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[46, 87], Operations: ['83-37=46', '89-2=87'] Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 46*87=4002, Resulting Numbers: [4002] 4002,20 unequal: No Solution Exploring Operation: 46+87=133, Resulting Numbers: [133] 133,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[89, 44], Operations: ['83-37=46', '46-2=44'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,20 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,20 unequal: No Solution No 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: 20:[89, 37, 81], Operations: ['83-2=81'] Exploring Operation: 89-37=52, Resulting Numbers: [81, 52] Generated Node #0,3,0: 20:[81, 52] Operation: 89-37=52 Exploring Operation: 89+37=126, Resulting Numbers: [81, 126] Generated Node #0,3,1: 20:[81, 126] Operation: 89+37=126 Exploring Operation: 89-81=8, Resulting Numbers: [37, 8] Generated Node #0,3,2: 20:[37, 8] Operation: 89-81=8 Exploring Operation: 81-37=44, Resulting Numbers: [89, 44] Generated Node #0,3,3: 20:[89, 44] Operation: 81-37=44 Moving to Node #0,3,2 Current State: 20:[37, 8], Operations: ['83-2=81', '89-81=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,20 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[89, 44], Operations: ['83-2=81', '81-37=44'] Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,20 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[81, 52], Operations: ['83-2=81', '89-37=52'] Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,20 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[81, 126], Operations: ['83-2=81', '89+37=126'] Exploring Operation: 126-81=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 81+126=207, Resulting Numbers: [207] 207,20 unequal: No Solution Exploring Operation: 81*126=10206, Resulting Numbers: [10206] 10206,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 83, 2, 79, 67 ]
73
[ "83+2=85", "79-67=12", "85-12=73" ]
Current State: 73:[83, 2, 79, 67], Operations: [] Exploring Operation: 83+2=85, Resulting Numbers: [79, 67, 85] Generated Node #2: [79, 67, 85] from Operation: 83+2=85 Current State: 73:[79, 67, 85], Operations: ['83+2=85'] Exploring Operation: 79-67=12, Resulting Numbers: [85, 12] Generated Node #3: [85, 12] from Operation: 79-67=12 Current State: 73:[85, 12], Operations: ['83+2=85', '79-67=12'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[83, 2, 79, 67], Operations: [] Exploring Operation: 2+67=69, Resulting Numbers: [83, 79, 69] Generated Node #0,0: 73:[83, 79, 69] Operation: 2+67=69 Exploring Operation: 79-2=77, Resulting Numbers: [83, 67, 77] Generated Node #0,1: 73:[83, 67, 77] Operation: 79-2=77 Exploring Operation: 83-2=81, Resulting Numbers: [79, 67, 81] Generated Node #0,2: 73:[79, 67, 81] Operation: 83-2=81 Moving to Node #0,0 Current State: 73:[83, 79, 69], Operations: ['2+67=69'] Exploring Operation: 83-69=14, Resulting Numbers: [79, 14] Generated Node #0,0,0: 73:[79, 14] Operation: 83-69=14 Exploring Operation: 83-79=4, Resulting Numbers: [69, 4] Generated Node #0,0,1: 73:[69, 4] Operation: 83-79=4 Exploring Operation: 79-69=10, Resulting Numbers: [83, 10] Generated Node #0,0,2: 73:[83, 10] Operation: 79-69=10 Moving to Node #0,1 Current State: 73:[83, 67, 77], Operations: ['79-2=77'] Exploring Operation: 77-67=10, Resulting Numbers: [83, 10] Generated Node #0,1,0: 73:[83, 10] Operation: 77-67=10 Exploring Operation: 83-67=16, Resulting Numbers: [77, 16] Generated Node #0,1,1: 73:[77, 16] Operation: 83-67=16 Exploring Operation: 83-77=6, Resulting Numbers: [67, 6] Generated Node #0,1,2: 73:[67, 6] Operation: 83-77=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[77, 16], Operations: ['79-2=77', '83-67=16'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,73 unequal: No Solution Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[83, 10], Operations: ['79-2=77', '77-67=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[83, 2, 79, 67], Operations: [] Exploring Operation: 79-2=77, Resulting Numbers: [83, 67, 77] Generated Node #0,1: 73:[83, 67, 77] Operation: 79-2=77 Moving to Node #0,1 Current State: 73:[83, 67, 77], Operations: ['79-2=77'] Exploring Operation: 77-67=10, Resulting Numbers: [83, 10] Generated Node #0,1,0: 73:[83, 10] Operation: 77-67=10 Moving to Node #0,1,0 Current State: 73:[83, 10], Operations: ['79-2=77', '77-67=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 26, 28, 95, 86 ]
99
[ "26+86=112", "112/28=4", "95+4=99" ]
Current State: 99:[26, 28, 95, 86], Operations: [] Exploring Operation: 26+86=112, Resulting Numbers: [28, 95, 112] Generated Node #2: [28, 95, 112] from Operation: 26+86=112 Current State: 99:[28, 95, 112], Operations: ['26+86=112'] Exploring Operation: 112/28=4, Resulting Numbers: [95, 4] Generated Node #3: [95, 4] from Operation: 112/28=4 Current State: 99:[95, 4], Operations: ['26+86=112', '112/28=4'] Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[26, 28, 95, 86], Operations: [] Exploring Operation: 28+86=114, Resulting Numbers: [26, 95, 114] Generated Node #0,0: 99:[26, 95, 114] Operation: 28+86=114 Exploring Operation: 28-26=2, Resulting Numbers: [95, 86, 2] Generated Node #0,1: 99:[95, 86, 2] Operation: 28-26=2 Exploring Operation: 95-86=9, Resulting Numbers: [26, 28, 9] Generated Node #0,2: 99:[26, 28, 9] Operation: 95-86=9 Exploring Operation: 26+86=112, Resulting Numbers: [28, 95, 112] Generated Node #0,3: 99:[28, 95, 112] Operation: 26+86=112 Moving to Node #0,2 Current State: 99:[26, 28, 9], Operations: ['95-86=9'] Exploring Operation: 26+9=35, Resulting Numbers: [28, 35] Generated Node #0,2,0: 99:[28, 35] Operation: 26+9=35 Exploring Operation: 26-9=17, Resulting Numbers: [28, 17] Generated Node #0,2,1: 99:[28, 17] Operation: 26-9=17 Exploring Operation: 28+9=37, Resulting Numbers: [26, 37] Generated Node #0,2,2: 99:[26, 37] Operation: 28+9=37 Exploring Operation: 28-26=2, Resulting Numbers: [9, 2] Generated Node #0,2,3: 99:[9, 2] Operation: 28-26=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[9, 2], Operations: ['95-86=9', '28-26=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[28, 35], Operations: ['95-86=9', '26+9=35'] Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,99 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[28, 17], Operations: ['95-86=9', '26-9=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,99 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[26, 37], Operations: ['95-86=9', '28+9=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,99 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,99 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: 99:[95, 86, 2], Operations: ['28-26=2'] Exploring Operation: 95+2=97, Resulting Numbers: [86, 97] Generated Node #0,1,0: 99:[86, 97] Operation: 95+2=97 Exploring Operation: 86+2=88, Resulting Numbers: [95, 88] Generated Node #0,1,1: 99:[95, 88] Operation: 86+2=88 Exploring Operation: 86/2=43, Resulting Numbers: [95, 43] Generated Node #0,1,2: 99:[95, 43] Operation: 86/2=43 Exploring Operation: 95-86=9, Resulting Numbers: [2, 9] Generated Node #0,1,3: 99:[2, 9] Operation: 95-86=9 Moving to Node #0,3 Current State: 99:[28, 95, 112], Operations: ['26+86=112'] Exploring Operation: 112/28=4, Resulting Numbers: [95, 4] Generated Node #0,3,0: 99:[95, 4] Operation: 112/28=4 Exploring Operation: 28+95=123, Resulting Numbers: [112, 123] Generated Node #0,3,1: 99:[112, 123] Operation: 28+95=123 Exploring Operation: 112-28=84, Resulting Numbers: [95, 84] Generated Node #0,3,2: 99:[95, 84] Operation: 112-28=84 Exploring Operation: 112-95=17, Resulting Numbers: [28, 17] Generated Node #0,3,3: 99:[28, 17] Operation: 112-95=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[95, 4], Operations: ['26+86=112', '112/28=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,99 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,99 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[26, 28, 95, 86], Operations: [] Exploring Operation: 26+86=112, Resulting Numbers: [28, 95, 112] Generated Node #0,3: 99:[28, 95, 112] Operation: 26+86=112 Moving to Node #0,3 Current State: 99:[28, 95, 112], Operations: ['26+86=112'] Exploring Operation: 112/28=4, Resulting Numbers: [95, 4] Generated Node #0,3,0: 99:[95, 4] Operation: 112/28=4 Moving to Node #0,3,0 Current State: 99:[95, 4], Operations: ['26+86=112', '112/28=4'] Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 72, 78, 54, 59 ]
48
[ "72-59=13", "78/13=6", "54-6=48" ]
Current State: 48:[72, 78, 54, 59], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [78, 54, 13] Generated Node #2: [78, 54, 13] from Operation: 72-59=13 Current State: 48:[78, 54, 13], Operations: ['72-59=13'] Exploring Operation: 78/13=6, Resulting Numbers: [54, 6] Generated Node #3: [54, 6] from Operation: 78/13=6 Current State: 48:[54, 6], Operations: ['72-59=13', '78/13=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[72, 78, 54, 59], Operations: [] Exploring Operation: 78-72=6, Resulting Numbers: [54, 59, 6] Generated Node #0,0: 48:[54, 59, 6] Operation: 78-72=6 Exploring Operation: 78-54=24, Resulting Numbers: [72, 59, 24] Generated Node #0,1: 48:[72, 59, 24] Operation: 78-54=24 Exploring Operation: 72-59=13, Resulting Numbers: [78, 54, 13] Generated Node #0,2: 48:[78, 54, 13] Operation: 72-59=13 Exploring Operation: 78-59=19, Resulting Numbers: [72, 54, 19] Generated Node #0,3: 48:[72, 54, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[54, 59, 6], Operations: ['78-72=6'] Exploring Operation: 59-54=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 48:[6, 5] Operation: 59-54=5 Exploring Operation: 59-6=53, Resulting Numbers: [54, 53] Generated Node #0,0,1: 48:[54, 53] Operation: 59-6=53 Exploring Operation: 54-6=48, Resulting Numbers: [59, 48] Generated Node #0,0,2: 48:[59, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,0,3: 48:[59, 9] Operation: 54/6=9 Moving to Node #0,0,0 Current State: 48:[6, 5], Operations: ['78-72=6', '59-54=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[59, 48], Operations: ['78-72=6', '54-6=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[54, 53], Operations: ['78-72=6', '59-6=53'] Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[59, 9], Operations: ['78-72=6', '54/6=9'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,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,3 Current State: 48:[72, 54, 19], Operations: ['78-59=19'] Exploring Operation: 72-54=18, Resulting Numbers: [19, 18] Generated Node #0,3,0: 48:[19, 18] Operation: 72-54=18 Exploring Operation: 72+19=91, Resulting Numbers: [54, 91] Generated Node #0,3,1: 48:[54, 91] Operation: 72+19=91 Exploring Operation: 54-19=35, Resulting Numbers: [72, 35] Generated Node #0,3,2: 48:[72, 35] Operation: 54-19=35 Exploring Operation: 72-19=53, Resulting Numbers: [54, 53] Generated Node #0,3,3: 48:[54, 53] Operation: 72-19=53 Moving to Node #0,3,0 Current State: 48:[19, 18], Operations: ['78-59=19', '72-54=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,48 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[54, 53], Operations: ['78-59=19', '72-19=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,48 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[72, 35], Operations: ['78-59=19', '54-19=35'] Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,48 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[54, 91], Operations: ['78-59=19', '72+19=91'] Exploring Operation: 54*91=4914, Resulting Numbers: [4914] 4914,48 unequal: No Solution Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,48 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,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:[72, 59, 24], Operations: ['78-54=24'] Exploring Operation: 72-59=13, Resulting Numbers: [24, 13] Generated Node #0,1,0: 48:[24, 13] Operation: 72-59=13 Exploring Operation: 72/24=3, Resulting Numbers: [59, 3] Generated Node #0,1,1: 48:[59, 3] Operation: 72/24=3 Exploring Operation: 59-24=35, Resulting Numbers: [72, 35] Generated Node #0,1,2: 48:[72, 35] Operation: 59-24=35 Exploring Operation: 72-24=48, Resulting Numbers: [59, 48] Generated Node #0,1,3: 48:[59, 48] Operation: 72-24=48 Moving to Node #0,1,0 Current State: 48:[24, 13], Operations: ['78-54=24', '72-59=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,48 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[59, 48], Operations: ['78-54=24', '72-24=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[59, 3], Operations: ['78-54=24', '72/24=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[72, 35], Operations: ['78-54=24', '59-24=35'] Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,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,2 Current State: 48:[78, 54, 13], Operations: ['72-59=13'] Exploring Operation: 78-13=65, Resulting Numbers: [54, 65] Generated Node #0,2,0: 48:[54, 65] Operation: 78-13=65 Exploring Operation: 78-54=24, Resulting Numbers: [13, 24] Generated Node #0,2,1: 48:[13, 24] Operation: 78-54=24 Exploring Operation: 78/13=6, Resulting Numbers: [54, 6] Generated Node #0,2,2: 48:[54, 6] Operation: 78/13=6 Exploring Operation: 54-13=41, Resulting Numbers: [78, 41] Generated Node #0,2,3: 48:[78, 41] Operation: 54-13=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[13, 24], Operations: ['72-59=13', '78-54=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,48 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[54, 6], Operations: ['72-59=13', '78/13=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[72, 78, 54, 59], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [78, 54, 13] Generated Node #0,2: 48:[78, 54, 13] Operation: 72-59=13 Moving to Node #0,2 Current State: 48:[78, 54, 13], Operations: ['72-59=13'] Exploring Operation: 78/13=6, Resulting Numbers: [54, 6] Generated Node #0,2,2: 48:[54, 6] Operation: 78/13=6 Moving to Node #0,2,2 Current State: 48:[54, 6], Operations: ['72-59=13', '78/13=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.943576
hs_4
mult_heuristic
[ 11, 21, 28, 79 ]
19
[ "11+21=32", "79-28=51", "51-32=19" ]
Current State: 19:[11, 21, 28, 79], Operations: [] Exploring Operation: 11+21=32, Resulting Numbers: [28, 79, 32] Generated Node #2: [28, 79, 32] from Operation: 11+21=32 Current State: 19:[28, 79, 32], Operations: ['11+21=32'] Exploring Operation: 79-28=51, Resulting Numbers: [32, 51] Generated Node #3: [32, 51] from Operation: 79-28=51 Current State: 19:[32, 51], Operations: ['11+21=32', '79-28=51'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[11, 21, 28, 79], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [11, 28, 58] Generated Node #0,0: 19:[11, 28, 58] Operation: 79-21=58 Exploring Operation: 28-11=17, Resulting Numbers: [21, 79, 17] Generated Node #0,1: 19:[21, 79, 17] Operation: 28-11=17 Exploring Operation: 79-28=51, Resulting Numbers: [11, 21, 51] Generated Node #0,2: 19:[11, 21, 51] Operation: 79-28=51 Exploring Operation: 79-11=68, Resulting Numbers: [21, 28, 68] Generated Node #0,3: 19:[21, 28, 68] Operation: 79-11=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[11, 21, 51], Operations: ['79-28=51'] Exploring Operation: 51-11=40, Resulting Numbers: [21, 40] Generated Node #0,2,0: 19:[21, 40] Operation: 51-11=40 Exploring Operation: 21-11=10, Resulting Numbers: [51, 10] Generated Node #0,2,1: 19:[51, 10] Operation: 21-11=10 Exploring Operation: 11+21=32, Resulting Numbers: [51, 32] Generated Node #0,2,2: 19:[51, 32] Operation: 11+21=32 Exploring Operation: 51-21=30, Resulting Numbers: [11, 30] Generated Node #0,2,3: 19:[11, 30] Operation: 51-21=30 Moving to Node #0,2,3 Current State: 19:[11, 30], Operations: ['79-28=51', '51-21=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,19 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[11, 21, 28, 79], Operations: [] Exploring Operation: 79-28=51, Resulting Numbers: [11, 21, 51] Generated Node #0,2: 19:[11, 21, 51] Operation: 79-28=51 Moving to Node #0,2 Current State: 19:[11, 21, 51], Operations: ['79-28=51'] Exploring Operation: 51-21=30, Resulting Numbers: [11, 30] Generated Node #0,2,3: 19:[11, 30] Operation: 51-21=30 Moving to Node #0,2,3 Current State: 19:[11, 30], Operations: ['79-28=51', '51-21=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 2, 34, 23, 44 ]
38
[ "34/2=17", "44-23=21", "17+21=38" ]
Current State: 38:[2, 34, 23, 44], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [23, 44, 17] Generated Node #2: [23, 44, 17] from Operation: 34/2=17 Current State: 38:[23, 44, 17], Operations: ['34/2=17'] Exploring Operation: 44-23=21, Resulting Numbers: [17, 21] Generated Node #3: [17, 21] from Operation: 44-23=21 Current State: 38:[17, 21], Operations: ['34/2=17', '44-23=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[2, 34, 23, 44], Operations: [] Exploring Operation: 44/2=22, Resulting Numbers: [34, 23, 22] Generated Node #0,0: 38:[34, 23, 22] Operation: 44/2=22 Exploring Operation: 44-23=21, Resulting Numbers: [2, 34, 21] Generated Node #0,1: 38:[2, 34, 21] Operation: 44-23=21 Exploring Operation: 2+34=36, Resulting Numbers: [23, 44, 36] Generated Node #0,2: 38:[23, 44, 36] Operation: 2+34=36 Moving to Node #0,1 Current State: 38:[2, 34, 21], Operations: ['44-23=21'] Exploring Operation: 34/2=17, Resulting Numbers: [21, 17] Generated Node #0,1,0: 38:[21, 17] Operation: 34/2=17 Exploring Operation: 21-2=19, Resulting Numbers: [34, 19] Generated Node #0,1,1: 38:[34, 19] Operation: 21-2=19 Exploring Operation: 2+34=36, Resulting Numbers: [21, 36] Generated Node #0,1,2: 38:[21, 36] Operation: 2+34=36 Moving to Node #0,0 Current State: 38:[34, 23, 22], Operations: ['44/2=22'] Exploring Operation: 34-22=12, Resulting Numbers: [23, 12] Generated Node #0,0,0: 38:[23, 12] Operation: 34-22=12 Exploring Operation: 34-23=11, Resulting Numbers: [22, 11] Generated Node #0,0,1: 38:[22, 11] Operation: 34-23=11 Exploring Operation: 23-22=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 38:[34, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[34, 1], Operations: ['44/2=22', '23-22=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[23, 12], Operations: ['44/2=22', '34-22=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,38 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[22, 11], Operations: ['44/2=22', '34-23=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,38 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: 38:[23, 44, 36], Operations: ['2+34=36'] Exploring Operation: 36-23=13, Resulting Numbers: [44, 13] Generated Node #0,2,0: 38:[44, 13] Operation: 36-23=13 Exploring Operation: 44-36=8, Resulting Numbers: [23, 8] Generated Node #0,2,1: 38:[23, 8] Operation: 44-36=8 Exploring Operation: 44-23=21, Resulting Numbers: [36, 21] Generated Node #0,2,2: 38:[36, 21] Operation: 44-23=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[36, 21], Operations: ['2+34=36', '44-23=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[23, 8], Operations: ['2+34=36', '44-36=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,38 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[44, 13], Operations: ['2+34=36', '36-23=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 38:[21, 17], Operations: ['44-23=21', '34/2=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,38 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[2, 34, 23, 44], Operations: [] Exploring Operation: 44-23=21, Resulting Numbers: [2, 34, 21] Generated Node #0,1: 38:[2, 34, 21] Operation: 44-23=21 Moving to Node #0,1 Current State: 38:[2, 34, 21], Operations: ['44-23=21'] Exploring Operation: 34/2=17, Resulting Numbers: [21, 17] Generated Node #0,1,0: 38:[21, 17] Operation: 34/2=17 Moving to Node #0,1,0 Current State: 38:[21, 17], Operations: ['44-23=21', '34/2=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 65, 69, 2, 61 ]
53
[ "69-65=4", "2*4=8", "61-8=53" ]
Current State: 53:[65, 69, 2, 61], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [2, 61, 4] Generated Node #2: [2, 61, 4] from Operation: 69-65=4 Current State: 53:[2, 61, 4], Operations: ['69-65=4'] Exploring Operation: 2*4=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 2*4=8 Current State: 53:[61, 8], Operations: ['69-65=4', '2*4=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[65, 69, 2, 61], Operations: [] Exploring Operation: 65-2=63, Resulting Numbers: [69, 61, 63] Generated Node #0,0: 53:[69, 61, 63] Operation: 65-2=63 Exploring Operation: 69-2=67, Resulting Numbers: [65, 61, 67] Generated Node #0,1: 53:[65, 61, 67] Operation: 69-2=67 Moving to Node #0,0 Current State: 53:[69, 61, 63], Operations: ['65-2=63'] Exploring Operation: 69-61=8, Resulting Numbers: [63, 8] Generated Node #0,0,0: 53:[63, 8] Operation: 69-61=8 Exploring Operation: 69-63=6, Resulting Numbers: [61, 6] Generated Node #0,0,1: 53:[61, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[63, 8], Operations: ['65-2=63', '69-61=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,53 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[61, 6], Operations: ['65-2=63', '69-63=6'] Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,53 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: 53:[65, 61, 67], Operations: ['69-2=67'] Exploring Operation: 67-61=6, Resulting Numbers: [65, 6] Generated Node #0,1,0: 53:[65, 6] Operation: 67-61=6 Exploring Operation: 67-65=2, Resulting Numbers: [61, 2] Generated Node #0,1,1: 53:[61, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[65, 6], Operations: ['69-2=67', '67-61=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[61, 2], Operations: ['69-2=67', '67-65=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 54, 49, 54, 16 ]
65
[ "54+49=103", "54-16=38", "103-38=65" ]
Current State: 65:[54, 49, 54, 16], Operations: [] Exploring Operation: 54+49=103, Resulting Numbers: [16, 103] Generated Node #2: [16, 103] from Operation: 54+49=103 Current State: 65:[16, 103], Operations: ['54+49=103'] Exploring Operation: 54-16=38, Resulting Numbers: [103, 38] Generated Node #3: [103, 38] from Operation: 54-16=38 Current State: 65:[103, 38], Operations: ['54+49=103', '54-16=38'] Exploring Operation: 103-38=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 49, 54, 16], Operations: [] Exploring Operation: 49+16=65, Resulting Numbers: [54, 54, 65] Generated Node #0,0: 65:[54, 54, 65] Operation: 49+16=65 Exploring Operation: 54-49=5, Resulting Numbers: [54, 16, 5] Generated Node #0,1: 65:[54, 16, 5] Operation: 54-49=5 Exploring Operation: 54-49=5, Resulting Numbers: [54, 16, 5] Generated Node #0,2: 65:[54, 16, 5] Operation: 54-49=5 Exploring Operation: 54/54=1, Resulting Numbers: [49, 16, 1] Generated Node #0,3: 65:[49, 16, 1] Operation: 54/54=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[54, 16, 5], Operations: ['54-49=5'] Exploring Operation: 54-5=49, Resulting Numbers: [16, 49] Generated Node #0,1,0: 65:[16, 49] Operation: 54-5=49 Exploring Operation: 54+5=59, Resulting Numbers: [16, 59] Generated Node #0,1,1: 65:[16, 59] Operation: 54+5=59 Exploring Operation: 16-5=11, Resulting Numbers: [54, 11] Generated Node #0,1,2: 65:[54, 11] Operation: 16-5=11 Exploring Operation: 54+16=70, Resulting Numbers: [5, 70] Generated Node #0,1,3: 65:[5, 70] Operation: 54+16=70 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[5, 70], Operations: ['54-49=5', '54+16=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,65 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[54, 49, 54, 16], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [54, 16, 5] Generated Node #0,1: 65:[54, 16, 5] Operation: 54-49=5 Moving to Node #0,1 Current State: 65:[54, 16, 5], Operations: ['54-49=5'] Exploring Operation: 54+16=70, Resulting Numbers: [5, 70] Generated Node #0,1,3: 65:[5, 70] Operation: 54+16=70 Moving to Node #0,1,3 Current State: 65:[5, 70], Operations: ['54-49=5', '54+16=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 8, 32, 5, 96 ]
64
[ "8-5=3", "96/3=32", "32+32=64" ]
Current State: 64:[8, 32, 5, 96], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [32, 96, 3] Generated Node #2: [32, 96, 3] from Operation: 8-5=3 Current State: 64:[32, 96, 3], Operations: ['8-5=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32, 32] Generated Node #3: [32, 32] from Operation: 96/3=32 Current State: 64:[32, 32], Operations: ['8-5=3', '96/3=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 32, 5, 96], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [8, 5, 3] Generated Node #0,0: 64:[8, 5, 3] Operation: 96/32=3 Exploring Operation: 96-8=88, Resulting Numbers: [32, 5, 88] Generated Node #0,1: 64:[32, 5, 88] Operation: 96-8=88 Exploring Operation: 96-32=64, Resulting Numbers: [8, 5, 64] Generated Node #0,2: 64:[8, 5, 64] Operation: 96-32=64 Exploring Operation: 96/8=12, Resulting Numbers: [32, 5, 12] Generated Node #0,3: 64:[32, 5, 12] Operation: 96/8=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[8, 5, 64], Operations: ['96-32=64'] Exploring Operation: 8-5=3, Resulting Numbers: [64, 3] Generated Node #0,2,0: 64:[64, 3] Operation: 8-5=3 Exploring Operation: 8+5=13, Resulting Numbers: [64, 13] Generated Node #0,2,1: 64:[64, 13] Operation: 8+5=13 Exploring Operation: 5+64=69, Resulting Numbers: [8, 69] Generated Node #0,2,2: 64:[8, 69] Operation: 5+64=69 Exploring Operation: 64/8=8, Resulting Numbers: [5, 8] Generated Node #0,2,3: 64:[5, 8] Operation: 64/8=8 Moving to Node #0,2,0 Current State: 64:[64, 3], Operations: ['96-32=64', '8-5=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[5, 8], Operations: ['96-32=64', '64/8=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[64, 13], Operations: ['96-32=64', '8+5=13'] Exploring Operation: 64+13=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 64*13=832, Resulting Numbers: [832] 832,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[8, 69], Operations: ['96-32=64', '5+64=69'] Exploring Operation: 8*69=552, Resulting Numbers: [552] 552,64 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[8, 5, 3], Operations: ['96/32=3'] Exploring Operation: 5*3=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 64:[8, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 64:[8, 8] Operation: 5+3=8 Exploring Operation: 8-5=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 64:[3, 3] Operation: 8-5=3 Exploring Operation: 5-3=2, Resulting Numbers: [8, 2] Generated Node #0,0,3: 64:[8, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[8, 8], Operations: ['96/32=3', '5+3=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[8, 32, 5, 96], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [8, 5, 3] Generated Node #0,0: 64:[8, 5, 3] Operation: 96/32=3 Moving to Node #0,0 Current State: 64:[8, 5, 3], Operations: ['96/32=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 64:[8, 8] Operation: 5+3=8 Moving to Node #0,0,1 Current State: 64:[8, 8], Operations: ['96/32=3', '5+3=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 4, 69, 12, 29 ]
37
[ "12/4=3", "69-29=40", "40-3=37" ]
Current State: 37:[4, 69, 12, 29], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [69, 29, 3] Generated Node #2: [69, 29, 3] from Operation: 12/4=3 Current State: 37:[69, 29, 3], Operations: ['12/4=3'] Exploring Operation: 69-29=40, Resulting Numbers: [3, 40] Generated Node #3: [3, 40] from Operation: 69-29=40 Current State: 37:[3, 40], Operations: ['12/4=3', '69-29=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[4, 69, 12, 29], Operations: [] Exploring Operation: 4+12=16, Resulting Numbers: [69, 29, 16] Generated Node #0,0: 37:[69, 29, 16] Operation: 4+12=16 Exploring Operation: 69-4=65, Resulting Numbers: [12, 29, 65] Generated Node #0,1: 37:[12, 29, 65] Operation: 69-4=65 Exploring Operation: 4*12=48, Resulting Numbers: [69, 29, 48] Generated Node #0,2: 37:[69, 29, 48] Operation: 4*12=48 Exploring Operation: 4+29=33, Resulting Numbers: [69, 12, 33] Generated Node #0,3: 37:[69, 12, 33] Operation: 4+29=33 Moving to Node #0,2 Current State: 37:[69, 29, 48], Operations: ['4*12=48'] Exploring Operation: 69-29=40, Resulting Numbers: [48, 40] Generated Node #0,2,0: 37:[48, 40] Operation: 69-29=40 Exploring Operation: 48-29=19, Resulting Numbers: [69, 19] Generated Node #0,2,1: 37:[69, 19] Operation: 48-29=19 Exploring Operation: 69-48=21, Resulting Numbers: [29, 21] Generated Node #0,2,2: 37:[29, 21] Operation: 69-48=21 Exploring Operation: 69+29=98, Resulting Numbers: [48, 98] Generated Node #0,2,3: 37:[48, 98] Operation: 69+29=98 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[48, 40], Operations: ['4*12=48', '69-29=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,37 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[29, 21], Operations: ['4*12=48', '69-48=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,37 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[69, 19], Operations: ['4*12=48', '48-29=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[48, 98], Operations: ['4*12=48', '69+29=98'] Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 48*98=4704, Resulting Numbers: [4704] 4704,37 unequal: No Solution Exploring Operation: 48+98=146, Resulting Numbers: [146] 146,37 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: 37:[12, 29, 65], Operations: ['69-4=65'] Exploring Operation: 65-12=53, Resulting Numbers: [29, 53] Generated Node #0,1,0: 37:[29, 53] Operation: 65-12=53 Exploring Operation: 65-29=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 37:[12, 36] Operation: 65-29=36 Exploring Operation: 29-12=17, Resulting Numbers: [65, 17] Generated Node #0,1,2: 37:[65, 17] Operation: 29-12=17 Exploring Operation: 12+29=41, Resulting Numbers: [65, 41] Generated Node #0,1,3: 37:[65, 41] Operation: 12+29=41 Moving to Node #0,0 Current State: 37:[69, 29, 16], Operations: ['4+12=16'] Exploring Operation: 69+16=85, Resulting Numbers: [29, 85] Generated Node #0,0,0: 37:[29, 85] Operation: 69+16=85 Exploring Operation: 69-29=40, Resulting Numbers: [16, 40] Generated Node #0,0,1: 37:[16, 40] Operation: 69-29=40 Exploring Operation: 29+16=45, Resulting Numbers: [69, 45] Generated Node #0,0,2: 37:[69, 45] Operation: 29+16=45 Exploring Operation: 69-16=53, Resulting Numbers: [29, 53] Generated Node #0,0,3: 37:[29, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[16, 40], Operations: ['4+12=16', '69-29=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[29, 53], Operations: ['4+12=16', '69-16=53'] Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,37 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[69, 45], Operations: ['4+12=16', '29+16=45'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[29, 85], Operations: ['4+12=16', '69+16=85'] Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,37 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,37 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: 37:[69, 12, 33], Operations: ['4+29=33'] Exploring Operation: 12+33=45, Resulting Numbers: [69, 45] Generated Node #0,3,0: 37:[69, 45] Operation: 12+33=45 Exploring Operation: 69+12=81, Resulting Numbers: [33, 81] Generated Node #0,3,1: 37:[33, 81] Operation: 69+12=81 Exploring Operation: 69-33=36, Resulting Numbers: [12, 36] Generated Node #0,3,2: 37:[12, 36] Operation: 69-33=36 Exploring Operation: 69-12=57, Resulting Numbers: [33, 57] Generated Node #0,3,3: 37:[33, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[33, 57], Operations: ['4+29=33', '69-12=57'] Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,37 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[12, 36], Operations: ['4+29=33', '69-33=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,37 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[69, 45], Operations: ['4+29=33', '12+33=45'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[33, 81], Operations: ['4+29=33', '69+12=81'] Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,37 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 37:[29, 53], Operations: ['69-4=65', '65-12=53'] Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,37 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[12, 36], Operations: ['69-4=65', '65-29=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,37 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[65, 41], Operations: ['69-4=65', '12+29=41'] Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[65, 17], Operations: ['69-4=65', '29-12=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,37 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 88, 9, 66, 92 ]
61
[ "88+9=97", "66+92=158", "158-97=61" ]
Current State: 61:[88, 9, 66, 92], Operations: [] Exploring Operation: 88+9=97, Resulting Numbers: [66, 92, 97] Generated Node #2: [66, 92, 97] from Operation: 88+9=97 Current State: 61:[66, 92, 97], Operations: ['88+9=97'] Exploring Operation: 66+92=158, Resulting Numbers: [97, 158] Generated Node #3: [97, 158] from Operation: 66+92=158 Current State: 61:[97, 158], Operations: ['88+9=97', '66+92=158'] Exploring Operation: 158-97=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[88, 9, 66, 92], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [88, 66, 83] Generated Node #0,0: 61:[88, 66, 83] Operation: 92-9=83 Exploring Operation: 88-9=79, Resulting Numbers: [66, 92, 79] Generated Node #0,1: 61:[66, 92, 79] Operation: 88-9=79 Exploring Operation: 66-9=57, Resulting Numbers: [88, 92, 57] Generated Node #0,2: 61:[88, 92, 57] Operation: 66-9=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[88, 66, 83], Operations: ['92-9=83'] Exploring Operation: 83-66=17, Resulting Numbers: [88, 17] Generated Node #0,0,0: 61:[88, 17] Operation: 83-66=17 Exploring Operation: 88-83=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 61:[66, 5] Operation: 88-83=5 Exploring Operation: 88-66=22, Resulting Numbers: [83, 22] Generated Node #0,0,2: 61:[83, 22] Operation: 88-66=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[66, 5], Operations: ['92-9=83', '88-83=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,61 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,61 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[88, 9, 66, 92], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [88, 66, 83] Generated Node #0,0: 61:[88, 66, 83] Operation: 92-9=83 Moving to Node #0,0 Current State: 61:[88, 66, 83], Operations: ['92-9=83'] Exploring Operation: 88-83=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 61:[66, 5] Operation: 88-83=5 Moving to Node #0,0,1 Current State: 61:[66, 5], Operations: ['92-9=83', '88-83=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 4, 32, 15, 47 ]
21
[ "32-15=17", "4*17=68", "68-47=21" ]
Current State: 21:[4, 32, 15, 47], Operations: [] Exploring Operation: 32-15=17, Resulting Numbers: [4, 47, 17] Generated Node #2: [4, 47, 17] from Operation: 32-15=17 Current State: 21:[4, 47, 17], Operations: ['32-15=17'] Exploring Operation: 4*17=68, Resulting Numbers: [47, 68] Generated Node #3: [47, 68] from Operation: 4*17=68 Current State: 21:[47, 68], Operations: ['32-15=17', '4*17=68'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[4, 32, 15, 47], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [4, 15, 15] Generated Node #0,0: 21:[4, 15, 15] Operation: 47-32=15 Exploring Operation: 47-15=32, Resulting Numbers: [4, 32, 32] Generated Node #0,1: 21:[4, 32, 32] Operation: 47-15=32 Exploring Operation: 32/4=8, Resulting Numbers: [15, 47, 8] Generated Node #0,2: 21:[15, 47, 8] Operation: 32/4=8 Exploring Operation: 32-15=17, Resulting Numbers: [4, 47, 17] Generated Node #0,3: 21:[4, 47, 17] Operation: 32-15=17 Moving to Node #0,0 Current State: 21:[4, 15, 15], Operations: ['47-32=15'] Exploring Operation: 15/15=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 21:[4, 1] Operation: 15/15=1 Exploring Operation: 4+15=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 21:[15, 19] Operation: 4+15=19 Exploring Operation: 4+15=19, Resulting Numbers: [15, 19] Generated Node #0,0,2: 21:[15, 19] Operation: 4+15=19 Exploring Operation: 15-15=0, Resulting Numbers: [4, 0] Generated Node #0,0,3: 21:[4, 0] Operation: 15-15=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[4, 1], Operations: ['47-32=15', '15/15=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,21 unequal: No Solution No 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: 21:[4, 0], Operations: ['47-32=15', '15-15=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,21 unequal: No Solution No 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: 21:[15, 19], Operations: ['47-32=15', '4+15=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,21 unequal: No Solution No 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: 21:[15, 19], Operations: ['47-32=15', '4+15=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,21 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: 21:[4, 32, 32], Operations: ['47-15=32'] Exploring Operation: 32/32=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 21:[4, 1] Operation: 32/32=1 Exploring Operation: 32-32=0, Resulting Numbers: [4, 0] Generated Node #0,1,1: 21:[4, 0] Operation: 32-32=0 Exploring Operation: 32/4=8, Resulting Numbers: [32, 8] Generated Node #0,1,2: 21:[32, 8] Operation: 32/4=8 Exploring Operation: 32/4=8, Resulting Numbers: [32, 8] Generated Node #0,1,3: 21:[32, 8] Operation: 32/4=8 Moving to Node #0,3 Current State: 21:[4, 47, 17], Operations: ['32-15=17'] Exploring Operation: 47-4=43, Resulting Numbers: [17, 43] Generated Node #0,3,0: 21:[17, 43] Operation: 47-4=43 Exploring Operation: 47-17=30, Resulting Numbers: [4, 30] Generated Node #0,3,1: 21:[4, 30] Operation: 47-17=30 Exploring Operation: 17-4=13, Resulting Numbers: [47, 13] Generated Node #0,3,2: 21:[47, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [47, 21] Generated Node #0,3,3: 21:[47, 21] Operation: 4+17=21 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[4, 30], Operations: ['32-15=17', '47-17=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,21 unequal: No Solution No 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: 21:[17, 43], Operations: ['32-15=17', '47-4=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,21 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,21 unequal: No Solution No 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: 21:[47, 21], Operations: ['32-15=17', '4+17=21'] Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,21 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,21 unequal: No Solution No 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: 21:[47, 13], Operations: ['32-15=17', '17-4=13'] Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,21 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,21 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: 21:[15, 47, 8], Operations: ['32/4=8'] Exploring Operation: 15+8=23, Resulting Numbers: [47, 23] Generated Node #0,2,0: 21:[47, 23] Operation: 15+8=23 Exploring Operation: 47-8=39, Resulting Numbers: [15, 39] Generated Node #0,2,1: 21:[15, 39] Operation: 47-8=39 Exploring Operation: 15-8=7, Resulting Numbers: [47, 7] Generated Node #0,2,2: 21:[47, 7] Operation: 15-8=7 Exploring Operation: 47-15=32, Resulting Numbers: [8, 32] Generated Node #0,2,3: 21:[8, 32] Operation: 47-15=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[8, 32], Operations: ['32/4=8', '47-15=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,21 unequal: No Solution No 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: 21:[15, 39], Operations: ['32/4=8', '47-8=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,21 unequal: No Solution No 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: 21:[47, 7], Operations: ['32/4=8', '15-8=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,21 unequal: No Solution No 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: 21:[47, 23], Operations: ['32/4=8', '15+8=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 21:[4, 1], Operations: ['47-15=32', '32/32=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[4, 0], Operations: ['47-15=32', '32-32=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[32, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,21 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[32, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,21 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,21 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 68, 55, 27 ]
43
[ "57+68=125", "55+27=82", "125-82=43" ]
Current State: 43:[57, 68, 55, 27], Operations: [] Exploring Operation: 57+68=125, Resulting Numbers: [55, 27, 125] Generated Node #2: [55, 27, 125] from Operation: 57+68=125 Current State: 43:[55, 27, 125], Operations: ['57+68=125'] Exploring Operation: 55+27=82, Resulting Numbers: [125, 82] Generated Node #3: [125, 82] from Operation: 55+27=82 Current State: 43:[125, 82], Operations: ['57+68=125', '55+27=82'] Exploring Operation: 125-82=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[57, 68, 55, 27], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [68, 55, 30] Generated Node #0,0: 43:[68, 55, 30] Operation: 57-27=30 Exploring Operation: 68-55=13, Resulting Numbers: [57, 27, 13] Generated Node #0,1: 43:[57, 27, 13] Operation: 68-55=13 Exploring Operation: 68-57=11, Resulting Numbers: [55, 27, 11] Generated Node #0,2: 43:[55, 27, 11] Operation: 68-57=11 Exploring Operation: 68-27=41, Resulting Numbers: [57, 55, 41] Generated Node #0,3: 43:[57, 55, 41] Operation: 68-27=41 Exploring Operation: 55-27=28, Resulting Numbers: [57, 68, 28] Generated Node #0,4: 43:[57, 68, 28] Operation: 55-27=28 Moving to Node #0,3 Current State: 43:[57, 55, 41], Operations: ['68-27=41'] Exploring Operation: 57+41=98, Resulting Numbers: [55, 98] Generated Node #0,3,0: 43:[55, 98] Operation: 57+41=98 Exploring Operation: 55-41=14, Resulting Numbers: [57, 14] Generated Node #0,3,1: 43:[57, 14] Operation: 55-41=14 Exploring Operation: 55+41=96, Resulting Numbers: [57, 96] Generated Node #0,3,2: 43:[57, 96] Operation: 55+41=96 Exploring Operation: 57-55=2, Resulting Numbers: [41, 2] Generated Node #0,3,3: 43:[41, 2] Operation: 57-55=2 Exploring Operation: 57-41=16, Resulting Numbers: [55, 16] Generated Node #0,3,4: 43:[55, 16] Operation: 57-41=16 Moving to Node #0,0 Current State: 43:[68, 55, 30], Operations: ['57-27=30'] Exploring Operation: 55+30=85, Resulting Numbers: [68, 85] Generated Node #0,0,0: 43:[68, 85] Operation: 55+30=85 Exploring Operation: 68-55=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 43:[30, 13] Operation: 68-55=13 Exploring Operation: 68-30=38, Resulting Numbers: [55, 38] Generated Node #0,0,2: 43:[55, 38] Operation: 68-30=38 Exploring Operation: 55-30=25, Resulting Numbers: [68, 25] Generated Node #0,0,3: 43:[68, 25] Operation: 55-30=25 Exploring Operation: 68+30=98, Resulting Numbers: [55, 98] Generated Node #0,0,4: 43:[55, 98] Operation: 68+30=98 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[55, 38], Operations: ['57-27=30', '68-30=38'] Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,43 unequal: No Solution Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[30, 13], Operations: ['57-27=30', '68-55=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[57, 68, 55, 27], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [68, 55, 30] Generated Node #0,0: 43:[68, 55, 30] Operation: 57-27=30 Moving to Node #0,0 Current State: 43:[68, 55, 30], Operations: ['57-27=30'] Exploring Operation: 68-55=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 43:[30, 13] Operation: 68-55=13 Moving to Node #0,0,1 Current State: 43:[30, 13], Operations: ['57-27=30', '68-55=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 44, 51, 36, 84 ]
41
[ "51-44=7", "84-36=48", "48-7=41" ]
Current State: 41:[44, 51, 36, 84], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [36, 84, 7] Generated Node #2: [36, 84, 7] from Operation: 51-44=7 Current State: 41:[36, 84, 7], Operations: ['51-44=7'] Exploring Operation: 84-36=48, Resulting Numbers: [7, 48] Generated Node #3: [7, 48] from Operation: 84-36=48 Current State: 41:[7, 48], Operations: ['51-44=7', '84-36=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[44, 51, 36, 84], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [44, 84, 15] Generated Node #0,0: 41:[44, 84, 15] Operation: 51-36=15 Exploring Operation: 51-44=7, Resulting Numbers: [36, 84, 7] Generated Node #0,1: 41:[36, 84, 7] Operation: 51-44=7 Exploring Operation: 84-51=33, Resulting Numbers: [44, 36, 33] Generated Node #0,2: 41:[44, 36, 33] Operation: 84-51=33 Exploring Operation: 84-44=40, Resulting Numbers: [51, 36, 40] Generated Node #0,3: 41:[51, 36, 40] Operation: 84-44=40 Exploring Operation: 84-36=48, Resulting Numbers: [44, 51, 48] Generated Node #0,4: 41:[44, 51, 48] Operation: 84-36=48 Moving to Node #0,2 Current State: 41:[44, 36, 33], Operations: ['84-51=33'] Exploring Operation: 44+33=77, Resulting Numbers: [36, 77] Generated Node #0,2,0: 41:[36, 77] Operation: 44+33=77 Exploring Operation: 44-36=8, Resulting Numbers: [33, 8] Generated Node #0,2,1: 41:[33, 8] Operation: 44-36=8 Exploring Operation: 36+33=69, Resulting Numbers: [44, 69] Generated Node #0,2,2: 41:[44, 69] Operation: 36+33=69 Exploring Operation: 44-33=11, Resulting Numbers: [36, 11] Generated Node #0,2,3: 41:[36, 11] Operation: 44-33=11 Exploring Operation: 36-33=3, Resulting Numbers: [44, 3] Generated Node #0,2,4: 41:[44, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[44, 69], Operations: ['84-51=33', '36+33=69'] Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,41 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,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,2,3 Current State: 41:[36, 11], Operations: ['84-51=33', '44-33=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,41 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,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,2,0 Current State: 41:[36, 77], Operations: ['84-51=33', '44+33=77'] Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[44, 51, 36, 84], Operations: [] Exploring Operation: 84-51=33, Resulting Numbers: [44, 36, 33] Generated Node #0,2: 41:[44, 36, 33] Operation: 84-51=33 Moving to Node #0,2 Current State: 41:[44, 36, 33], Operations: ['84-51=33'] Exploring Operation: 44+33=77, Resulting Numbers: [36, 77] Generated Node #0,2,0: 41:[36, 77] Operation: 44+33=77 Moving to Node #0,2,0 Current State: 41:[36, 77], Operations: ['84-51=33', '44+33=77'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 92, 12, 86, 90 ]
89
[ "90-86=4", "12/4=3", "92-3=89" ]
Current State: 89:[92, 12, 86, 90], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [92, 12, 4] Generated Node #2: [92, 12, 4] from Operation: 90-86=4 Current State: 89:[92, 12, 4], Operations: ['90-86=4'] Exploring Operation: 12/4=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 12/4=3 Current State: 89:[92, 3], Operations: ['90-86=4', '12/4=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[92, 12, 86, 90], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [86, 90, 80] Generated Node #0,0: 89:[86, 90, 80] Operation: 92-12=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[86, 90, 80], Operations: ['92-12=80'] Exploring Operation: 86+80=166, Resulting Numbers: [90, 166] Generated Node #0,0,0: 89:[90, 166] Operation: 86+80=166 Moving to Node #0,0,0 Current State: 89:[90, 166], Operations: ['92-12=80', '86+80=166'] Exploring Operation: 166-90=76, Resulting Numbers: [76] 76,89 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
[ 38, 56, 59, 70 ]
83
[ "38+56=94", "70-59=11", "94-11=83" ]
Current State: 83:[38, 56, 59, 70], Operations: [] Exploring Operation: 38+56=94, Resulting Numbers: [59, 70, 94] Generated Node #2: [59, 70, 94] from Operation: 38+56=94 Current State: 83:[59, 70, 94], Operations: ['38+56=94'] Exploring Operation: 70-59=11, Resulting Numbers: [94, 11] Generated Node #3: [94, 11] from Operation: 70-59=11 Current State: 83:[94, 11], Operations: ['38+56=94', '70-59=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[38, 56, 59, 70], Operations: [] Exploring Operation: 38+59=97, Resulting Numbers: [56, 70, 97] Generated Node #0,0: 83:[56, 70, 97] Operation: 38+59=97 Exploring Operation: 38+56=94, Resulting Numbers: [59, 70, 94] Generated Node #0,1: 83:[59, 70, 94] Operation: 38+56=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[59, 70, 94], Operations: ['38+56=94'] Exploring Operation: 59+70=129, Resulting Numbers: [94, 129] Generated Node #0,1,0: 83:[94, 129] Operation: 59+70=129 Exploring Operation: 94-59=35, Resulting Numbers: [70, 35] Generated Node #0,1,1: 83:[70, 35] Operation: 94-59=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[94, 129], Operations: ['38+56=94', '59+70=129'] Exploring Operation: 94+129=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 129-94=35, Resulting Numbers: [35] 35,83 unequal: No Solution No 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: 83:[70, 35], Operations: ['38+56=94', '94-59=35'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,83 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: 83:[56, 70, 97], Operations: ['38+59=97'] Exploring Operation: 97-56=41, Resulting Numbers: [70, 41] Generated Node #0,0,0: 83:[70, 41] Operation: 97-56=41 Exploring Operation: 56+70=126, Resulting Numbers: [97, 126] Generated Node #0,0,1: 83:[97, 126] Operation: 56+70=126 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[70, 41], Operations: ['38+59=97', '97-56=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,83 unequal: No Solution No 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: 83:[97, 126], Operations: ['38+59=97', '56+70=126'] Exploring Operation: 97+126=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 126-97=29, Resulting Numbers: [29] 29,83 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
[ 38, 79, 6, 52 ]
87
[ "79-38=41", "52-6=46", "41+46=87" ]
Current State: 87:[38, 79, 6, 52], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [6, 52, 41] Generated Node #2: [6, 52, 41] from Operation: 79-38=41 Current State: 87:[6, 52, 41], Operations: ['79-38=41'] Exploring Operation: 52-6=46, Resulting Numbers: [41, 46] Generated Node #3: [41, 46] from Operation: 52-6=46 Current State: 87:[41, 46], Operations: ['79-38=41', '52-6=46'] Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[38, 79, 6, 52], Operations: [] Exploring Operation: 38+52=90, Resulting Numbers: [79, 6, 90] Generated Node #0,0: 87:[79, 6, 90] Operation: 38+52=90 Moving to Node #0,0 Current State: 87:[79, 6, 90], Operations: ['38+52=90'] Exploring Operation: 79+6=85, Resulting Numbers: [90, 85] Generated Node #0,0,0: 87:[90, 85] Operation: 79+6=85 Moving to Node #0,0,0 Current State: 87:[90, 85], Operations: ['38+52=90', '79+6=85'] Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 80, 37, 27, 71 ]
76
[ "37+71=108", "108/27=4", "80-4=76" ]
Current State: 76:[80, 37, 27, 71], Operations: [] Exploring Operation: 37+71=108, Resulting Numbers: [80, 27, 108] Generated Node #2: [80, 27, 108] from Operation: 37+71=108 Current State: 76:[80, 27, 108], Operations: ['37+71=108'] Exploring Operation: 108/27=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 108/27=4 Current State: 76:[80, 4], Operations: ['37+71=108', '108/27=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[80, 37, 27, 71], Operations: [] Exploring Operation: 71-27=44, Resulting Numbers: [80, 37, 44] Generated Node #0,0: 76:[80, 37, 44] Operation: 71-27=44 Exploring Operation: 71-37=34, Resulting Numbers: [80, 27, 34] Generated Node #0,1: 76:[80, 27, 34] Operation: 71-37=34 Exploring Operation: 80-71=9, Resulting Numbers: [37, 27, 9] Generated Node #0,2: 76:[37, 27, 9] Operation: 80-71=9 Exploring Operation: 37-27=10, Resulting Numbers: [80, 71, 10] Generated Node #0,3: 76:[80, 71, 10] Operation: 37-27=10 Moving to Node #0,0 Current State: 76:[80, 37, 44], Operations: ['71-27=44'] Exploring Operation: 37+44=81, Resulting Numbers: [80, 81] Generated Node #0,0,0: 76:[80, 81] Operation: 37+44=81 Exploring Operation: 44-37=7, Resulting Numbers: [80, 7] Generated Node #0,0,1: 76:[80, 7] Operation: 44-37=7 Exploring Operation: 80-44=36, Resulting Numbers: [37, 36] Generated Node #0,0,2: 76:[37, 36] Operation: 80-44=36 Exploring Operation: 80-37=43, Resulting Numbers: [44, 43] Generated Node #0,0,3: 76:[44, 43] Operation: 80-37=43 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[37, 36], Operations: ['71-27=44', '80-44=36'] Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,76 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[80, 7], Operations: ['71-27=44', '44-37=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[80, 81], Operations: ['71-27=44', '37+44=81'] Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,76 unequal: No Solution Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[44, 43], Operations: ['71-27=44', '80-37=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,76 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,76 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: 76:[37, 27, 9], Operations: ['80-71=9'] Exploring Operation: 27/9=3, Resulting Numbers: [37, 3] Generated Node #0,2,0: 76:[37, 3] Operation: 27/9=3 Exploring Operation: 27+9=36, Resulting Numbers: [37, 36] Generated Node #0,2,1: 76:[37, 36] Operation: 27+9=36 Exploring Operation: 27-9=18, Resulting Numbers: [37, 18] Generated Node #0,2,2: 76:[37, 18] Operation: 27-9=18 Exploring Operation: 37-27=10, Resulting Numbers: [9, 10] Generated Node #0,2,3: 76:[9, 10] Operation: 37-27=10 Moving to Node #0,3 Current State: 76:[80, 71, 10], Operations: ['37-27=10'] Exploring Operation: 71+10=81, Resulting Numbers: [80, 81] Generated Node #0,3,0: 76:[80, 81] Operation: 71+10=81 Exploring Operation: 80-10=70, Resulting Numbers: [71, 70] Generated Node #0,3,1: 76:[71, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [71, 8] Generated Node #0,3,2: 76:[71, 8] Operation: 80/10=8 Exploring Operation: 80-71=9, Resulting Numbers: [10, 9] Generated Node #0,3,3: 76:[10, 9] Operation: 80-71=9 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[80, 81], Operations: ['37-27=10', '71+10=81'] Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,76 unequal: No Solution Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,76 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,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:[71, 8], Operations: ['37-27=10', '80/10=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,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:[71, 70], Operations: ['37-27=10', '80-10=70'] Exploring Operation: 71-70=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 71*70=4970, Resulting Numbers: [4970] 4970,76 unequal: No Solution Exploring Operation: 71+70=141, Resulting Numbers: [141] 141,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:[10, 9], Operations: ['37-27=10', '80-71=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,76 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: 76:[80, 27, 34], Operations: ['71-37=34'] Exploring Operation: 34-27=7, Resulting Numbers: [80, 7] Generated Node #0,1,0: 76:[80, 7] Operation: 34-27=7 Exploring Operation: 27+34=61, Resulting Numbers: [80, 61] Generated Node #0,1,1: 76:[80, 61] Operation: 27+34=61 Exploring Operation: 80-34=46, Resulting Numbers: [27, 46] Generated Node #0,1,2: 76:[27, 46] Operation: 80-34=46 Exploring Operation: 80-27=53, Resulting Numbers: [34, 53] Generated Node #0,1,3: 76:[34, 53] Operation: 80-27=53 Moving to Node #0,2,0 Current State: 76:[37, 3], Operations: ['80-71=9', '27/9=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,76 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[37, 18], Operations: ['80-71=9', '27-9=18'] Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,76 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[37, 36], Operations: ['80-71=9', '27+9=36'] Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,76 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[80, 7], Operations: ['71-37=34', '34-27=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[9, 10], Operations: ['80-71=9', '37-27=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[27, 46], Operations: ['71-37=34', '80-34=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[80, 61], Operations: ['71-37=34', '27+34=61'] Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[34, 53], Operations: ['71-37=34', '80-27=53'] Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,76 unequal: No Solution Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 3, 97, 6 ]
78
[ "6-3=3", "57/3=19", "97-19=78" ]
Current State: 78:[57, 3, 97, 6], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [57, 97, 3] Generated Node #2: [57, 97, 3] from Operation: 6-3=3 Current State: 78:[57, 97, 3], Operations: ['6-3=3'] Exploring Operation: 57/3=19, Resulting Numbers: [97, 19] Generated Node #3: [97, 19] from Operation: 57/3=19 Current State: 78:[97, 19], Operations: ['6-3=3', '57/3=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[57, 3, 97, 6], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [97, 6, 19] Generated Node #0,0: 78:[97, 6, 19] Operation: 57/3=19 Exploring Operation: 57-6=51, Resulting Numbers: [3, 97, 51] Generated Node #0,1: 78:[3, 97, 51] Operation: 57-6=51 Exploring Operation: 97-6=91, Resulting Numbers: [57, 3, 91] Generated Node #0,2: 78:[57, 3, 91] Operation: 97-6=91 Exploring Operation: 97-57=40, Resulting Numbers: [3, 6, 40] Generated Node #0,3: 78:[3, 6, 40] Operation: 97-57=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[3, 6, 40], Operations: ['97-57=40'] Exploring Operation: 6-3=3, Resulting Numbers: [40, 3] Generated Node #0,3,0: 78:[40, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [40, 9] Generated Node #0,3,1: 78:[40, 9] Operation: 3+6=9 Exploring Operation: 40-3=37, Resulting Numbers: [6, 37] Generated Node #0,3,2: 78:[6, 37] Operation: 40-3=37 Exploring Operation: 6/3=2, Resulting Numbers: [40, 2] Generated Node #0,3,3: 78:[40, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 78:[40, 3], Operations: ['97-57=40', '6-3=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,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:[40, 2], Operations: ['97-57=40', '6/3=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,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:[6, 37], Operations: ['97-57=40', '40-3=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,78 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[40, 9], Operations: ['97-57=40', '3+6=9'] Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,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:[97, 6, 19], Operations: ['57/3=19'] Exploring Operation: 6+19=25, Resulting Numbers: [97, 25] Generated Node #0,0,0: 78:[97, 25] Operation: 6+19=25 Exploring Operation: 19-6=13, Resulting Numbers: [97, 13] Generated Node #0,0,1: 78:[97, 13] Operation: 19-6=13 Exploring Operation: 97-19=78, Resulting Numbers: [6, 78] Generated Node #0,0,2: 78:[6, 78] Operation: 97-19=78 Exploring Operation: 97-6=91, Resulting Numbers: [19, 91] Generated Node #0,0,3: 78:[19, 91] Operation: 97-6=91 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[6, 78], Operations: ['57/3=19', '97-19=78'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,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,0,1 Current State: 78:[97, 13], Operations: ['57/3=19', '19-6=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,78 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 97*13=1261, Resulting Numbers: [1261] 1261,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,0,3 Current State: 78:[19, 91], Operations: ['57/3=19', '97-6=91'] Exploring Operation: 19*91=1729, Resulting Numbers: [1729] 1729,78 unequal: No Solution Exploring Operation: 19+91=110, Resulting Numbers: [110] 110,78 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,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,0,0 Current State: 78:[97, 25], Operations: ['57/3=19', '6+19=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[3, 97, 51], Operations: ['57-6=51'] Exploring Operation: 51/3=17, Resulting Numbers: [97, 17] Generated Node #0,1,0: 78:[97, 17] Operation: 51/3=17 Exploring Operation: 97-3=94, Resulting Numbers: [51, 94] Generated Node #0,1,1: 78:[51, 94] Operation: 97-3=94 Exploring Operation: 51-3=48, Resulting Numbers: [97, 48] Generated Node #0,1,2: 78:[97, 48] Operation: 51-3=48 Exploring Operation: 97-51=46, Resulting Numbers: [3, 46] Generated Node #0,1,3: 78:[3, 46] Operation: 97-51=46 Moving to Node #0,1,3 Current State: 78:[3, 46], Operations: ['57-6=51', '97-51=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,78 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[97, 17], Operations: ['57-6=51', '51/3=17'] Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,78 unequal: No Solution Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,78 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[97, 48], Operations: ['57-6=51', '51-3=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,78 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[51, 94], Operations: ['57-6=51', '97-3=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,78 unequal: No Solution Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[57, 3, 91], Operations: ['97-6=91'] Exploring Operation: 91-57=34, Resulting Numbers: [3, 34] Generated Node #0,2,0: 78:[3, 34] Operation: 91-57=34 Exploring Operation: 57/3=19, Resulting Numbers: [91, 19] Generated Node #0,2,1: 78:[91, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [91, 54] Generated Node #0,2,2: 78:[91, 54] Operation: 57-3=54 Exploring Operation: 91-3=88, Resulting Numbers: [57, 88] Generated Node #0,2,3: 78:[57, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[3, 34], Operations: ['97-6=91', '91-57=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,78 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[91, 19], Operations: ['97-6=91', '57/3=19'] Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,78 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[91, 54], Operations: ['97-6=91', '57-3=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,78 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[57, 88], Operations: ['97-6=91', '91-3=88'] Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,78 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 66, 23, 32, 30 ]
26
[ "66+30=96", "96/32=3", "23+3=26" ]
Current State: 26:[66, 23, 32, 30], Operations: [] Exploring Operation: 66+30=96, Resulting Numbers: [23, 32, 96] Generated Node #2: [23, 32, 96] from Operation: 66+30=96 Current State: 26:[23, 32, 96], Operations: ['66+30=96'] Exploring Operation: 96/32=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 96/32=3 Current State: 26:[23, 3], Operations: ['66+30=96', '96/32=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[66, 23, 32, 30], Operations: [] Exploring Operation: 66-32=34, Resulting Numbers: [23, 30, 34] Generated Node #0,0: 26:[23, 30, 34] Operation: 66-32=34 Exploring Operation: 32-30=2, Resulting Numbers: [66, 23, 2] Generated Node #0,1: 26:[66, 23, 2] Operation: 32-30=2 Exploring Operation: 66-23=43, Resulting Numbers: [32, 30, 43] Generated Node #0,2: 26:[32, 30, 43] Operation: 66-23=43 Exploring Operation: 66-30=36, Resulting Numbers: [23, 32, 36] Generated Node #0,3: 26:[23, 32, 36] Operation: 66-30=36 Moving to Node #0,0 Current State: 26:[23, 30, 34], Operations: ['66-32=34'] Exploring Operation: 34-23=11, Resulting Numbers: [30, 11] Generated Node #0,0,0: 26:[30, 11] Operation: 34-23=11 Exploring Operation: 23+30=53, Resulting Numbers: [34, 53] Generated Node #0,0,1: 26:[34, 53] Operation: 23+30=53 Exploring Operation: 30-23=7, Resulting Numbers: [34, 7] Generated Node #0,0,2: 26:[34, 7] Operation: 30-23=7 Exploring Operation: 34-30=4, Resulting Numbers: [23, 4] Generated Node #0,0,3: 26:[23, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[23, 4], Operations: ['66-32=34', '34-30=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[30, 11], Operations: ['66-32=34', '34-23=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,26 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[34, 7], Operations: ['66-32=34', '30-23=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,26 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[34, 53], Operations: ['66-32=34', '23+30=53'] Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,26 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: 26:[23, 32, 36], Operations: ['66-30=36'] Exploring Operation: 36-23=13, Resulting Numbers: [32, 13] Generated Node #0,3,0: 26:[32, 13] Operation: 36-23=13 Exploring Operation: 32-23=9, Resulting Numbers: [36, 9] Generated Node #0,3,1: 26:[36, 9] Operation: 32-23=9 Exploring Operation: 36-32=4, Resulting Numbers: [23, 4] Generated Node #0,3,2: 26:[23, 4] Operation: 36-32=4 Exploring Operation: 23+32=55, Resulting Numbers: [36, 55] Generated Node #0,3,3: 26:[36, 55] Operation: 23+32=55 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[23, 4], Operations: ['66-30=36', '36-32=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[32, 13], Operations: ['66-30=36', '36-23=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[36, 9], Operations: ['66-30=36', '32-23=9'] Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,26 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[36, 55], Operations: ['66-30=36', '23+32=55'] Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,26 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,26 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 26:[32, 30, 43], Operations: ['66-23=43'] Exploring Operation: 32+30=62, Resulting Numbers: [43, 62] Generated Node #0,2,0: 26:[43, 62] Operation: 32+30=62 Exploring Operation: 43-30=13, Resulting Numbers: [32, 13] Generated Node #0,2,1: 26:[32, 13] Operation: 43-30=13 Exploring Operation: 43-32=11, Resulting Numbers: [30, 11] Generated Node #0,2,2: 26:[30, 11] Operation: 43-32=11 Exploring Operation: 32-30=2, Resulting Numbers: [43, 2] Generated Node #0,2,3: 26:[43, 2] Operation: 32-30=2 Moving to Node #0,1 Current State: 26:[66, 23, 2], Operations: ['32-30=2'] Exploring Operation: 66-23=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 26:[2, 43] Operation: 66-23=43 Exploring Operation: 66/2=33, Resulting Numbers: [23, 33] Generated Node #0,1,1: 26:[23, 33] Operation: 66/2=33 Exploring Operation: 23+2=25, Resulting Numbers: [66, 25] Generated Node #0,1,2: 26:[66, 25] Operation: 23+2=25 Exploring Operation: 66-2=64, Resulting Numbers: [23, 64] Generated Node #0,1,3: 26:[23, 64] Operation: 66-2=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[23, 33], Operations: ['32-30=2', '66/2=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,26 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[2, 43], Operations: ['32-30=2', '66-23=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,26 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[66, 25], Operations: ['32-30=2', '23+2=25'] Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,26 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,26 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[23, 64], Operations: ['32-30=2', '66-2=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,26 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 26:[32, 13], Operations: ['66-23=43', '43-30=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,26 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[30, 11], Operations: ['66-23=43', '43-32=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[43, 2], Operations: ['66-23=43', '32-30=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[43, 62], Operations: ['66-23=43', '32+30=62'] Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,26 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 68, 97, 67 ]
94
[ "68+67=135", "135/45=3", "97-3=94" ]
Current State: 94:[45, 68, 97, 67], Operations: [] Exploring Operation: 68+67=135, Resulting Numbers: [45, 97, 135] Generated Node #2: [45, 97, 135] from Operation: 68+67=135 Current State: 94:[45, 97, 135], Operations: ['68+67=135'] Exploring Operation: 135/45=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 135/45=3 Current State: 94:[97, 3], Operations: ['68+67=135', '135/45=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[45, 68, 97, 67], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [45, 67, 29] Generated Node #0,0: 94:[45, 67, 29] Operation: 97-68=29 Exploring Operation: 68-67=1, Resulting Numbers: [45, 97, 1] Generated Node #0,1: 94:[45, 97, 1] Operation: 68-67=1 Moving to Node #0,1 Current State: 94:[45, 97, 1], Operations: ['68-67=1'] Exploring Operation: 97-1=96, Resulting Numbers: [45, 96] Generated Node #0,1,0: 94:[45, 96] Operation: 97-1=96 Exploring Operation: 45+1=46, Resulting Numbers: [97, 46] Generated Node #0,1,1: 94:[97, 46] Operation: 45+1=46 Moving to Node #0,0 Current State: 94:[45, 67, 29], Operations: ['97-68=29'] Exploring Operation: 67-29=38, Resulting Numbers: [45, 38] Generated Node #0,0,0: 94:[45, 38] Operation: 67-29=38 Exploring Operation: 67+29=96, Resulting Numbers: [45, 96] Generated Node #0,0,1: 94:[45, 96] Operation: 67+29=96 Moving to Node #0,1,0 Current State: 94:[45, 96], Operations: ['68-67=1', '97-1=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,94 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[45, 96], Operations: ['97-68=29', '67+29=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,94 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[97, 46], Operations: ['68-67=1', '45+1=46'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 97+46=143, Resulting Numbers: [143] 143,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[45, 38], Operations: ['97-68=29', '67-29=38'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 19, 25, 36, 55 ]
49
[ "25-19=6", "36/6=6", "55-6=49" ]
Current State: 49:[19, 25, 36, 55], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [36, 55, 6] Generated Node #2: [36, 55, 6] from Operation: 25-19=6 Current State: 49:[36, 55, 6], Operations: ['25-19=6'] Exploring Operation: 36/6=6, Resulting Numbers: [55, 6] Generated Node #3: [55, 6] from Operation: 36/6=6 Current State: 49:[55, 6], Operations: ['25-19=6', '36/6=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[19, 25, 36, 55], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [36, 55, 6] Generated Node #0,0: 49:[36, 55, 6] Operation: 25-19=6 Exploring Operation: 25+36=61, Resulting Numbers: [19, 55, 61] Generated Node #0,1: 49:[19, 55, 61] Operation: 25+36=61 Exploring Operation: 36-25=11, Resulting Numbers: [19, 55, 11] Generated Node #0,2: 49:[19, 55, 11] Operation: 36-25=11 Exploring Operation: 19+25=44, Resulting Numbers: [36, 55, 44] Generated Node #0,3: 49:[36, 55, 44] Operation: 19+25=44 Exploring Operation: 19+36=55, Resulting Numbers: [25, 55, 55] Generated Node #0,4: 49:[25, 55, 55] Operation: 19+36=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[36, 55, 6], Operations: ['25-19=6'] Exploring Operation: 36/6=6, Resulting Numbers: [55, 6] Generated Node #0,0,0: 49:[55, 6] Operation: 36/6=6 Exploring Operation: 55-36=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 49:[6, 19] Operation: 55-36=19 Exploring Operation: 36-6=30, Resulting Numbers: [55, 30] Generated Node #0,0,2: 49:[55, 30] Operation: 36-6=30 Exploring Operation: 55-6=49, Resulting Numbers: [36, 49] Generated Node #0,0,3: 49:[36, 49] Operation: 55-6=49 Exploring Operation: 36+6=42, Resulting Numbers: [55, 42] Generated Node #0,0,4: 49:[55, 42] Operation: 36+6=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[55, 6], Operations: ['25-19=6', '36/6=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,49 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[19, 25, 36, 55], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [36, 55, 6] Generated Node #0,0: 49:[36, 55, 6] Operation: 25-19=6 Moving to Node #0,0 Current State: 49:[36, 55, 6], Operations: ['25-19=6'] Exploring Operation: 36/6=6, Resulting Numbers: [55, 6] Generated Node #0,0,0: 49:[55, 6] Operation: 36/6=6 Moving to Node #0,0,0 Current State: 49:[55, 6], Operations: ['25-19=6', '36/6=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 7, 28, 13, 3 ]
38
[ "28-13=15", "3*15=45", "45-7=38" ]
Current State: 38:[7, 28, 13, 3], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [7, 3, 15] Generated Node #2: [7, 3, 15] from Operation: 28-13=15 Current State: 38:[7, 3, 15], Operations: ['28-13=15'] Exploring Operation: 3*15=45, Resulting Numbers: [7, 45] Generated Node #3: [7, 45] from Operation: 3*15=45 Current State: 38:[7, 45], Operations: ['28-13=15', '3*15=45'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[7, 28, 13, 3], Operations: [] Exploring Operation: 28+13=41, Resulting Numbers: [7, 3, 41] Generated Node #0,0: 38:[7, 3, 41] Operation: 28+13=41 Exploring Operation: 28/7=4, Resulting Numbers: [13, 3, 4] Generated Node #0,1: 38:[13, 3, 4] Operation: 28/7=4 Exploring Operation: 7+28=35, Resulting Numbers: [13, 3, 35] Generated Node #0,2: 38:[13, 3, 35] Operation: 7+28=35 Exploring Operation: 28-7=21, Resulting Numbers: [13, 3, 21] Generated Node #0,3: 38:[13, 3, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[7, 3, 41], Operations: ['28+13=41'] Exploring Operation: 41-3=38, Resulting Numbers: [7, 38] Generated Node #0,0,0: 38:[7, 38] Operation: 41-3=38 Exploring Operation: 7*3=21, Resulting Numbers: [41, 21] Generated Node #0,0,1: 38:[41, 21] Operation: 7*3=21 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,0,2: 38:[41, 4] Operation: 7-3=4 Exploring Operation: 41-7=34, Resulting Numbers: [3, 34] Generated Node #0,0,3: 38:[3, 34] Operation: 41-7=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[7, 38], Operations: ['28+13=41', '41-3=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,38 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[41, 21], Operations: ['28+13=41', '7*3=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[41, 4], Operations: ['28+13=41', '7-3=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,38 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[3, 34], Operations: ['28+13=41', '41-7=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,38 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[13, 3, 4], Operations: ['28/7=4'] Exploring Operation: 13+4=17, Resulting Numbers: [3, 17] Generated Node #0,1,0: 38:[3, 17] Operation: 13+4=17 Exploring Operation: 13+3=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 38:[4, 16] Operation: 13+3=16 Exploring Operation: 4-3=1, Resulting Numbers: [13, 1] Generated Node #0,1,2: 38:[13, 1] Operation: 4-3=1 Exploring Operation: 13*3=39, Resulting Numbers: [4, 39] Generated Node #0,1,3: 38:[4, 39] Operation: 13*3=39 Moving to Node #0,1,0 Current State: 38:[3, 17], Operations: ['28/7=4', '13+4=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[4, 39], Operations: ['28/7=4', '13*3=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,38 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[4, 16], Operations: ['28/7=4', '13+3=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[13, 1], Operations: ['28/7=4', '4-3=1'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[13, 3, 21], Operations: ['28-7=21'] Exploring Operation: 13+3=16, Resulting Numbers: [21, 16] Generated Node #0,3,0: 38:[21, 16] Operation: 13+3=16 Exploring Operation: 13+21=34, Resulting Numbers: [3, 34] Generated Node #0,3,1: 38:[3, 34] Operation: 13+21=34 Exploring Operation: 13*3=39, Resulting Numbers: [21, 39] Generated Node #0,3,2: 38:[21, 39] Operation: 13*3=39 Exploring Operation: 21-13=8, Resulting Numbers: [3, 8] Generated Node #0,3,3: 38:[3, 8] Operation: 21-13=8 Moving to Node #0,3,2 Current State: 38:[21, 39], Operations: ['28-7=21', '13*3=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[3, 34], Operations: ['28-7=21', '13+21=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,38 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[21, 16], Operations: ['28-7=21', '13+3=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,38 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[3, 8], Operations: ['28-7=21', '21-13=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[13, 3, 35], Operations: ['7+28=35'] Exploring Operation: 13+3=16, Resulting Numbers: [35, 16] Generated Node #0,2,0: 38:[35, 16] Operation: 13+3=16 Exploring Operation: 3+35=38, Resulting Numbers: [13, 38] Generated Node #0,2,1: 38:[13, 38] Operation: 3+35=38 Exploring Operation: 35-13=22, Resulting Numbers: [3, 22] Generated Node #0,2,2: 38:[3, 22] Operation: 35-13=22 Exploring Operation: 13*3=39, Resulting Numbers: [35, 39] Generated Node #0,2,3: 38:[35, 39] Operation: 13*3=39 Moving to Node #0,2,2 Current State: 38:[3, 22], Operations: ['7+28=35', '35-13=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[35, 39], Operations: ['7+28=35', '13*3=39'] Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,38 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[13, 38], Operations: ['7+28=35', '3+35=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[35, 16], Operations: ['7+28=35', '13+3=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,38 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 48, 55, 2, 5 ]
96
[ "48+55=103", "2+5=7", "103-7=96" ]
Current State: 96:[48, 55, 2, 5], Operations: [] Exploring Operation: 48+55=103, Resulting Numbers: [2, 5, 103] Generated Node #2: [2, 5, 103] from Operation: 48+55=103 Current State: 96:[2, 5, 103], Operations: ['48+55=103'] Exploring Operation: 2+5=7, Resulting Numbers: [103, 7] Generated Node #3: [103, 7] from Operation: 2+5=7 Current State: 96:[103, 7], Operations: ['48+55=103', '2+5=7'] Exploring Operation: 103-7=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 55, 2, 5], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [2, 5, 7] Generated Node #0,0: 96:[2, 5, 7] Operation: 55-48=7 Exploring Operation: 55/5=11, Resulting Numbers: [48, 2, 11] Generated Node #0,1: 96:[48, 2, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [48, 2, 50] Generated Node #0,2: 96:[48, 2, 50] Operation: 55-5=50 Exploring Operation: 55-2=53, Resulting Numbers: [48, 5, 53] Generated Node #0,3: 96:[48, 5, 53] Operation: 55-2=53 Exploring Operation: 5-2=3, Resulting Numbers: [48, 55, 3] Generated Node #0,4: 96:[48, 55, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[48, 2, 11], Operations: ['55/5=11'] Exploring Operation: 48/2=24, Resulting Numbers: [11, 24] Generated Node #0,1,0: 96:[11, 24] Operation: 48/2=24 Exploring Operation: 2*11=22, Resulting Numbers: [48, 22] Generated Node #0,1,1: 96:[48, 22] Operation: 2*11=22 Exploring Operation: 48*2=96, Resulting Numbers: [11, 96] Generated Node #0,1,2: 96:[11, 96] Operation: 48*2=96 Exploring Operation: 2+11=13, Resulting Numbers: [48, 13] Generated Node #0,1,3: 96:[48, 13] Operation: 2+11=13 Exploring Operation: 11-2=9, Resulting Numbers: [48, 9] Generated Node #0,1,4: 96:[48, 9] Operation: 11-2=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[11, 24], Operations: ['55/5=11', '48/2=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,96 unequal: No Solution No 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: 96:[11, 96], Operations: ['55/5=11', '48*2=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,96 unequal: No Solution Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,96 unequal: No Solution No 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: 96:[48, 13], Operations: ['55/5=11', '2+11=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,96 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,96 unequal: No Solution No 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: 96:[48, 9], Operations: ['55/5=11', '11-2=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,96 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,96 unequal: No Solution No 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: 96:[48, 22], Operations: ['55/5=11', '2*11=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,96 unequal: No Solution Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,96 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: 96:[2, 5, 7], Operations: ['55-48=7'] Exploring Operation: 5-2=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 96:[7, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [7, 7] Generated Node #0,0,1: 96:[7, 7] Operation: 2+5=7 Exploring Operation: 2+7=9, Resulting Numbers: [5, 9] Generated Node #0,0,2: 96:[5, 9] Operation: 2+7=9 Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #0,0,3: 96:[2, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [2, 2] Generated Node #0,0,4: 96:[2, 2] Operation: 7-5=2 Moving to Node #0,0,3 Current State: 96:[2, 12], Operations: ['55-48=7', '5+7=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[2, 2], Operations: ['55-48=7', '7-5=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[7, 3], Operations: ['55-48=7', '5-2=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[7, 7], Operations: ['55-48=7', '2+5=7'] Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[5, 9], Operations: ['55-48=7', '2+7=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[48, 2, 50], Operations: ['55-5=50'] Exploring Operation: 50/2=25, Resulting Numbers: [48, 25] Generated Node #0,2,0: 96:[48, 25] Operation: 50/2=25 Exploring Operation: 48/2=24, Resulting Numbers: [50, 24] Generated Node #0,2,1: 96:[50, 24] Operation: 48/2=24 Exploring Operation: 50-2=48, Resulting Numbers: [48, 48] Generated Node #0,2,2: 96:[48, 48] Operation: 50-2=48 Exploring Operation: 50-48=2, Resulting Numbers: [2, 2] Generated Node #0,2,3: 96:[2, 2] Operation: 50-48=2 Exploring Operation: 48*2=96, Resulting Numbers: [50, 96] Generated Node #0,2,4: 96:[50, 96] Operation: 48*2=96 Moving to Node #0,2,2 Current State: 96:[48, 48], Operations: ['55-5=50', '50-2=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,96 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[48, 55, 2, 5], Operations: [] Exploring Operation: 55-5=50, Resulting Numbers: [48, 2, 50] Generated Node #0,2: 96:[48, 2, 50] Operation: 55-5=50 Moving to Node #0,2 Current State: 96:[48, 2, 50], Operations: ['55-5=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48, 48] Generated Node #0,2,2: 96:[48, 48] Operation: 50-2=48 Moving to Node #0,2,2 Current State: 96:[48, 48], Operations: ['55-5=50', '50-2=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 38, 64, 19, 27 ]
72
[ "64-38=26", "19+27=46", "26+46=72" ]
Current State: 72:[38, 64, 19, 27], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [19, 27, 26] Generated Node #2: [19, 27, 26] from Operation: 64-38=26 Current State: 72:[19, 27, 26], Operations: ['64-38=26'] Exploring Operation: 19+27=46, Resulting Numbers: [26, 46] Generated Node #3: [26, 46] from Operation: 19+27=46 Current State: 72:[26, 46], Operations: ['64-38=26', '19+27=46'] Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[38, 64, 19, 27], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [38, 64, 8] Generated Node #0,0: 72:[38, 64, 8] Operation: 27-19=8 Exploring Operation: 64-27=37, Resulting Numbers: [38, 19, 37] Generated Node #0,1: 72:[38, 19, 37] Operation: 64-27=37 Exploring Operation: 64-38=26, Resulting Numbers: [19, 27, 26] Generated Node #0,2: 72:[19, 27, 26] Operation: 64-38=26 Exploring Operation: 38-27=11, Resulting Numbers: [64, 19, 11] Generated Node #0,3: 72:[64, 19, 11] Operation: 38-27=11 Moving to Node #0,1 Current State: 72:[38, 19, 37], Operations: ['64-27=37'] Exploring Operation: 38-19=19, Resulting Numbers: [37, 19] Generated Node #0,1,0: 72:[37, 19] Operation: 38-19=19 Exploring Operation: 37-19=18, Resulting Numbers: [38, 18] Generated Node #0,1,1: 72:[38, 18] Operation: 37-19=18 Exploring Operation: 38/19=2, Resulting Numbers: [37, 2] Generated Node #0,1,2: 72:[37, 2] Operation: 38/19=2 Exploring Operation: 38-37=1, Resulting Numbers: [19, 1] Generated Node #0,1,3: 72:[19, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[37, 2], Operations: ['64-27=37', '38/19=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,72 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[37, 19], Operations: ['64-27=37', '38-19=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[38, 18], Operations: ['64-27=37', '37-19=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,72 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[19, 1], Operations: ['64-27=37', '38-37=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 72:[19, 27, 26], Operations: ['64-38=26'] Exploring Operation: 26-19=7, Resulting Numbers: [27, 7] Generated Node #0,2,0: 72:[27, 7] Operation: 26-19=7 Exploring Operation: 19+27=46, Resulting Numbers: [26, 46] Generated Node #0,2,1: 72:[26, 46] Operation: 19+27=46 Exploring Operation: 27-19=8, Resulting Numbers: [26, 8] Generated Node #0,2,2: 72:[26, 8] Operation: 27-19=8 Exploring Operation: 27-26=1, Resulting Numbers: [19, 1] Generated Node #0,2,3: 72:[19, 1] Operation: 27-26=1 Moving to Node #0,3 Current State: 72:[64, 19, 11], Operations: ['38-27=11'] Exploring Operation: 64-19=45, Resulting Numbers: [11, 45] Generated Node #0,3,0: 72:[11, 45] Operation: 64-19=45 Exploring Operation: 64+19=83, Resulting Numbers: [11, 83] Generated Node #0,3,1: 72:[11, 83] Operation: 64+19=83 Exploring Operation: 64+11=75, Resulting Numbers: [19, 75] Generated Node #0,3,2: 72:[19, 75] Operation: 64+11=75 Exploring Operation: 19-11=8, Resulting Numbers: [64, 8] Generated Node #0,3,3: 72:[64, 8] Operation: 19-11=8 Moving to Node #0,0 Current State: 72:[38, 64, 8], Operations: ['27-19=8'] Exploring Operation: 64-38=26, Resulting Numbers: [8, 26] Generated Node #0,0,0: 72:[8, 26] Operation: 64-38=26 Exploring Operation: 64/8=8, Resulting Numbers: [38, 8] Generated Node #0,0,1: 72:[38, 8] Operation: 64/8=8 Exploring Operation: 38-8=30, Resulting Numbers: [64, 30] Generated Node #0,0,2: 72:[64, 30] Operation: 38-8=30 Exploring Operation: 64+8=72, Resulting Numbers: [38, 72] Generated Node #0,0,3: 72:[38, 72] Operation: 64+8=72 Moving to Node #0,2,2 Current State: 72:[26, 8], Operations: ['64-38=26', '27-19=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,72 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[19, 1], Operations: ['64-38=26', '27-26=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[38, 8], Operations: ['27-19=8', '64/8=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[38, 72], Operations: ['27-19=8', '64+8=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,72 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[8, 26], Operations: ['27-19=8', '64-38=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,72 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[27, 7], Operations: ['64-38=26', '26-19=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,72 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[19, 75], Operations: ['38-27=11', '64+11=75'] Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,72 unequal: No Solution Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[64, 8], Operations: ['38-27=11', '19-11=8'] Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 64*8=512, Resulting Numbers: [512] 512,72 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[38, 64, 19, 27], Operations: [] Exploring Operation: 38-27=11, Resulting Numbers: [64, 19, 11] Generated Node #0,3: 72:[64, 19, 11] Operation: 38-27=11 Moving to Node #0,3 Current State: 72:[64, 19, 11], Operations: ['38-27=11'] Exploring Operation: 19-11=8, Resulting Numbers: [64, 8] Generated Node #0,3,3: 72:[64, 8] Operation: 19-11=8 Moving to Node #0,3,3 Current State: 72:[64, 8], Operations: ['38-27=11', '19-11=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 50, 1, 42, 71 ]
63
[ "50*1=50", "42+71=113", "113-50=63" ]
Current State: 63:[50, 1, 42, 71], Operations: [] Exploring Operation: 50*1=50, Resulting Numbers: [42, 71, 50] Generated Node #2: [42, 71, 50] from Operation: 50*1=50 Current State: 63:[42, 71, 50], Operations: ['50*1=50'] Exploring Operation: 42+71=113, Resulting Numbers: [50, 113] Generated Node #3: [50, 113] from Operation: 42+71=113 Current State: 63:[50, 113], Operations: ['50*1=50', '42+71=113'] Exploring Operation: 113-50=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[50, 1, 42, 71], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [1, 42, 21] Generated Node #0,0: 63:[1, 42, 21] Operation: 71-50=21 Exploring Operation: 50+1=51, Resulting Numbers: [42, 71, 51] Generated Node #0,1: 63:[42, 71, 51] Operation: 50+1=51 Exploring Operation: 50+42=92, Resulting Numbers: [1, 71, 92] Generated Node #0,2: 63:[1, 71, 92] Operation: 50+42=92 Exploring Operation: 71-42=29, Resulting Numbers: [50, 1, 29] Generated Node #0,3: 63:[50, 1, 29] Operation: 71-42=29 Exploring Operation: 50-42=8, Resulting Numbers: [1, 71, 8] Generated Node #0,4: 63:[1, 71, 8] Operation: 50-42=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[1, 71, 8], Operations: ['50-42=8'] Exploring Operation: 8-1=7, Resulting Numbers: [71, 7] Generated Node #0,4,0: 63:[71, 7] Operation: 8-1=7 Exploring Operation: 71-8=63, Resulting Numbers: [1, 63] Generated Node #0,4,1: 63:[1, 63] Operation: 71-8=63 Exploring Operation: 1+8=9, Resulting Numbers: [71, 9] Generated Node #0,4,2: 63:[71, 9] Operation: 1+8=9 Exploring Operation: 71-1=70, Resulting Numbers: [8, 70] Generated Node #0,4,3: 63:[8, 70] Operation: 71-1=70 Exploring Operation: 1*71=71, Resulting Numbers: [8, 71] Generated Node #0,4,4: 63:[8, 71] Operation: 1*71=71 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 63:[1, 63], Operations: ['50-42=8', '71-8=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[50, 1, 42, 71], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [1, 71, 8] Generated Node #0,4: 63:[1, 71, 8] Operation: 50-42=8 Moving to Node #0,4 Current State: 63:[1, 71, 8], Operations: ['50-42=8'] Exploring Operation: 71-8=63, Resulting Numbers: [1, 63] Generated Node #0,4,1: 63:[1, 63] Operation: 71-8=63 Moving to Node #0,4,1 Current State: 63:[1, 63], Operations: ['50-42=8', '71-8=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 1, 86, 88, 27 ]
25
[ "1*86=86", "88-27=61", "86-61=25" ]
Current State: 25:[1, 86, 88, 27], Operations: [] Exploring Operation: 1*86=86, Resulting Numbers: [88, 27, 86] Generated Node #2: [88, 27, 86] from Operation: 1*86=86 Current State: 25:[88, 27, 86], Operations: ['1*86=86'] Exploring Operation: 88-27=61, Resulting Numbers: [86, 61] Generated Node #3: [86, 61] from Operation: 88-27=61 Current State: 25:[86, 61], Operations: ['1*86=86', '88-27=61'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[1, 86, 88, 27], Operations: [] Exploring Operation: 86-1=85, Resulting Numbers: [88, 27, 85] Generated Node #0,0: 25:[88, 27, 85] Operation: 86-1=85 Exploring Operation: 88-86=2, Resulting Numbers: [1, 27, 2] Generated Node #0,1: 25:[1, 27, 2] Operation: 88-86=2 Exploring Operation: 86-27=59, Resulting Numbers: [1, 88, 59] Generated Node #0,2: 25:[1, 88, 59] Operation: 86-27=59 Exploring Operation: 88-27=61, Resulting Numbers: [1, 86, 61] Generated Node #0,3: 25:[1, 86, 61] Operation: 88-27=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[1, 27, 2], Operations: ['88-86=2'] Exploring Operation: 1+2=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 25:[27, 3] Operation: 1+2=3 Exploring Operation: 27-2=25, Resulting Numbers: [1, 25] Generated Node #0,1,1: 25:[1, 25] Operation: 27-2=25 Exploring Operation: 27-1=26, Resulting Numbers: [2, 26] Generated Node #0,1,2: 25:[2, 26] Operation: 27-1=26 Exploring Operation: 1*27=27, Resulting Numbers: [2, 27] Generated Node #0,1,3: 25:[2, 27] Operation: 1*27=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[27, 3], Operations: ['88-86=2', '1+2=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[1, 25], Operations: ['88-86=2', '27-2=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[1, 86, 88, 27], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [1, 27, 2] Generated Node #0,1: 25:[1, 27, 2] Operation: 88-86=2 Moving to Node #0,1 Current State: 25:[1, 27, 2], Operations: ['88-86=2'] Exploring Operation: 27-2=25, Resulting Numbers: [1, 25] Generated Node #0,1,1: 25:[1, 25] Operation: 27-2=25 Moving to Node #0,1,1 Current State: 25:[1, 25], Operations: ['88-86=2', '27-2=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 66, 4, 94, 25 ]
32
[ "94-66=28", "28/4=7", "25+7=32" ]
Current State: 32:[66, 4, 94, 25], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [4, 25, 28] Generated Node #2: [4, 25, 28] from Operation: 94-66=28 Current State: 32:[4, 25, 28], Operations: ['94-66=28'] Exploring Operation: 28/4=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 28/4=7 Current State: 32:[25, 7], Operations: ['94-66=28', '28/4=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[66, 4, 94, 25], Operations: [] Exploring Operation: 94-4=90, Resulting Numbers: [66, 25, 90] Generated Node #0,0: 32:[66, 25, 90] Operation: 94-4=90 Exploring Operation: 94-66=28, Resulting Numbers: [4, 25, 28] Generated Node #0,1: 32:[4, 25, 28] Operation: 94-66=28 Exploring Operation: 66-25=41, Resulting Numbers: [4, 94, 41] Generated Node #0,2: 32:[4, 94, 41] Operation: 66-25=41 Exploring Operation: 94-25=69, Resulting Numbers: [66, 4, 69] Generated Node #0,3: 32:[66, 4, 69] Operation: 94-25=69 Exploring Operation: 66-4=62, Resulting Numbers: [94, 25, 62] Generated Node #0,4: 32:[94, 25, 62] Operation: 66-4=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[4, 25, 28], Operations: ['94-66=28'] Exploring Operation: 4+28=32, Resulting Numbers: [25, 32] Generated Node #0,1,0: 32:[25, 32] Operation: 4+28=32 Exploring Operation: 4+25=29, Resulting Numbers: [28, 29] Generated Node #0,1,1: 32:[28, 29] Operation: 4+25=29 Exploring Operation: 28/4=7, Resulting Numbers: [25, 7] Generated Node #0,1,2: 32:[25, 7] Operation: 28/4=7 Exploring Operation: 25-4=21, Resulting Numbers: [28, 21] Generated Node #0,1,3: 32:[28, 21] Operation: 25-4=21 Exploring Operation: 28-25=3, Resulting Numbers: [4, 3] Generated Node #0,1,4: 32:[4, 3] Operation: 28-25=3 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[4, 3], Operations: ['94-66=28', '28-25=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,32 unequal: No Solution No 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: 32:[25, 32], Operations: ['94-66=28', '4+28=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,32 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,32 unequal: No Solution No 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: 32:[28, 29], Operations: ['94-66=28', '4+25=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,32 unequal: No Solution No 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: 32:[25, 7], Operations: ['94-66=28', '28/4=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,32 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[66, 4, 94, 25], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [4, 25, 28] Generated Node #0,1: 32:[4, 25, 28] Operation: 94-66=28 Moving to Node #0,1 Current State: 32:[4, 25, 28], Operations: ['94-66=28'] Exploring Operation: 28/4=7, Resulting Numbers: [25, 7] Generated Node #0,1,2: 32:[25, 7] Operation: 28/4=7 Moving to Node #0,1,2 Current State: 32:[25, 7], Operations: ['94-66=28', '28/4=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 68, 33, 40, 98 ]
93
[ "68-33=35", "98-40=58", "35+58=93" ]
Current State: 93:[68, 33, 40, 98], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [40, 98, 35] Generated Node #2: [40, 98, 35] from Operation: 68-33=35 Current State: 93:[40, 98, 35], Operations: ['68-33=35'] Exploring Operation: 98-40=58, Resulting Numbers: [35, 58] Generated Node #3: [35, 58] from Operation: 98-40=58 Current State: 93:[35, 58], Operations: ['68-33=35', '98-40=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[68, 33, 40, 98], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [40, 98, 35] Generated Node #0,0: 93:[40, 98, 35] Operation: 68-33=35 Exploring Operation: 98-68=30, Resulting Numbers: [33, 40, 30] Generated Node #0,1: 93:[33, 40, 30] Operation: 98-68=30 Exploring Operation: 68-40=28, Resulting Numbers: [33, 98, 28] Generated Node #0,2: 93:[33, 98, 28] Operation: 68-40=28 Exploring Operation: 68+33=101, Resulting Numbers: [40, 98, 101] Generated Node #0,3: 93:[40, 98, 101] Operation: 68+33=101 Moving to Node #0,2 Current State: 93:[33, 98, 28], Operations: ['68-40=28'] Exploring Operation: 33+28=61, Resulting Numbers: [98, 61] Generated Node #0,2,0: 93:[98, 61] Operation: 33+28=61 Exploring Operation: 98-33=65, Resulting Numbers: [28, 65] Generated Node #0,2,1: 93:[28, 65] Operation: 98-33=65 Exploring Operation: 33-28=5, Resulting Numbers: [98, 5] Generated Node #0,2,2: 93:[98, 5] Operation: 33-28=5 Exploring Operation: 98-28=70, Resulting Numbers: [33, 70] Generated Node #0,2,3: 93:[33, 70] Operation: 98-28=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[98, 5], Operations: ['68-40=28', '33-28=5'] Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,93 unequal: No Solution Exploring Operation: 98+5=103, Resulting Numbers: [103] 103,93 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[68, 33, 40, 98], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [33, 98, 28] Generated Node #0,2: 93:[33, 98, 28] Operation: 68-40=28 Moving to Node #0,2 Current State: 93:[33, 98, 28], Operations: ['68-40=28'] Exploring Operation: 33-28=5, Resulting Numbers: [98, 5] Generated Node #0,2,2: 93:[98, 5] Operation: 33-28=5 Moving to Node #0,2,2 Current State: 93:[98, 5], Operations: ['68-40=28', '33-28=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 56, 25, 7, 96 ]
72
[ "56-25=31", "7+96=103", "103-31=72" ]
Current State: 72:[56, 25, 7, 96], Operations: [] Exploring Operation: 56-25=31, Resulting Numbers: [7, 96, 31] Generated Node #2: [7, 96, 31] from Operation: 56-25=31 Current State: 72:[7, 96, 31], Operations: ['56-25=31'] Exploring Operation: 7+96=103, Resulting Numbers: [31, 103] Generated Node #3: [31, 103] from Operation: 7+96=103 Current State: 72:[31, 103], Operations: ['56-25=31', '7+96=103'] Exploring Operation: 103-31=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[56, 25, 7, 96], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [56, 7, 71] Generated Node #0,0: 72:[56, 7, 71] Operation: 96-25=71 Exploring Operation: 96-56=40, Resulting Numbers: [25, 7, 40] Generated Node #0,1: 72:[25, 7, 40] Operation: 96-56=40 Moving to Node #0,1 Current State: 72:[25, 7, 40], Operations: ['96-56=40'] Exploring Operation: 25-7=18, Resulting Numbers: [40, 18] Generated Node #0,1,0: 72:[40, 18] Operation: 25-7=18 Exploring Operation: 40-25=15, Resulting Numbers: [7, 15] Generated Node #0,1,1: 72:[7, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[40, 18], Operations: ['96-56=40', '25-7=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[7, 15], Operations: ['96-56=40', '40-25=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,72 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: 72:[56, 7, 71], Operations: ['96-25=71'] Exploring Operation: 56/7=8, Resulting Numbers: [71, 8] Generated Node #0,0,0: 72:[71, 8] Operation: 56/7=8 Exploring Operation: 71-56=15, Resulting Numbers: [7, 15] Generated Node #0,0,1: 72:[7, 15] Operation: 71-56=15 Moving to Node #0,0,0 Current State: 72:[71, 8], Operations: ['96-25=71', '56/7=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 15], Operations: ['96-25=71', '71-56=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 28, 39, 8, 4 ]
46
[ "8-4=4", "28/4=7", "39+7=46" ]
Current State: 46:[28, 39, 8, 4], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [28, 39, 4] Generated Node #2: [28, 39, 4] from Operation: 8-4=4 Current State: 46:[28, 39, 4], Operations: ['8-4=4'] Exploring Operation: 28/4=7, Resulting Numbers: [39, 7] Generated Node #3: [39, 7] from Operation: 28/4=7 Current State: 46:[39, 7], Operations: ['8-4=4', '28/4=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[28, 39, 8, 4], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [39, 4, 20] Generated Node #0,0: 46:[39, 4, 20] Operation: 28-8=20 Exploring Operation: 39+8=47, Resulting Numbers: [28, 4, 47] Generated Node #0,1: 46:[28, 4, 47] Operation: 39+8=47 Exploring Operation: 28-4=24, Resulting Numbers: [39, 8, 24] Generated Node #0,2: 46:[39, 8, 24] Operation: 28-4=24 Exploring Operation: 8/4=2, Resulting Numbers: [28, 39, 2] Generated Node #0,3: 46:[28, 39, 2] Operation: 8/4=2 Moving to Node #0,1 Current State: 46:[28, 4, 47], Operations: ['39+8=47'] Exploring Operation: 47-4=43, Resulting Numbers: [28, 43] Generated Node #0,1,0: 46:[28, 43] Operation: 47-4=43 Exploring Operation: 28-4=24, Resulting Numbers: [47, 24] Generated Node #0,1,1: 46:[47, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [47, 7] Generated Node #0,1,2: 46:[47, 7] Operation: 28/4=7 Exploring Operation: 47-28=19, Resulting Numbers: [4, 19] Generated Node #0,1,3: 46:[4, 19] Operation: 47-28=19 Moving to Node #0,3 Current State: 46:[28, 39, 2], Operations: ['8/4=2'] Exploring Operation: 39-28=11, Resulting Numbers: [2, 11] Generated Node #0,3,0: 46:[2, 11] Operation: 39-28=11 Exploring Operation: 28-2=26, Resulting Numbers: [39, 26] Generated Node #0,3,1: 46:[39, 26] Operation: 28-2=26 Exploring Operation: 39+2=41, Resulting Numbers: [28, 41] Generated Node #0,3,2: 46:[28, 41] Operation: 39+2=41 Exploring Operation: 28+2=30, Resulting Numbers: [39, 30] Generated Node #0,3,3: 46:[39, 30] Operation: 28+2=30 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[2, 11], Operations: ['8/4=2', '39-28=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[39, 26], Operations: ['8/4=2', '28-2=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,46 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[28, 41], Operations: ['8/4=2', '39+2=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,46 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[39, 30], Operations: ['8/4=2', '28+2=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,46 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,46 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: 46:[39, 4, 20], Operations: ['28-8=20'] Exploring Operation: 39+4=43, Resulting Numbers: [20, 43] Generated Node #0,0,0: 46:[20, 43] Operation: 39+4=43 Exploring Operation: 20/4=5, Resulting Numbers: [39, 5] Generated Node #0,0,1: 46:[39, 5] Operation: 20/4=5 Exploring Operation: 39-20=19, Resulting Numbers: [4, 19] Generated Node #0,0,2: 46:[4, 19] Operation: 39-20=19 Exploring Operation: 4+20=24, Resulting Numbers: [39, 24] Generated Node #0,0,3: 46:[39, 24] Operation: 4+20=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[20, 43], Operations: ['28-8=20', '39+4=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,46 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[4, 19], Operations: ['28-8=20', '39-20=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[39, 24], Operations: ['28-8=20', '4+20=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[39, 5], Operations: ['28-8=20', '20/4=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,46 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,46 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: 46:[39, 8, 24], Operations: ['28-4=24'] Exploring Operation: 39-8=31, Resulting Numbers: [24, 31] Generated Node #0,2,0: 46:[24, 31] Operation: 39-8=31 Exploring Operation: 39-24=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 46:[8, 15] Operation: 39-24=15 Exploring Operation: 24/8=3, Resulting Numbers: [39, 3] Generated Node #0,2,2: 46:[39, 3] Operation: 24/8=3 Exploring Operation: 39+8=47, Resulting Numbers: [24, 47] Generated Node #0,2,3: 46:[24, 47] Operation: 39+8=47 Moving to Node #0,1,1 Current State: 46:[47, 24], Operations: ['39+8=47', '28-4=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,46 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[24, 47], Operations: ['28-4=24', '39+8=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,46 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[4, 19], Operations: ['39+8=47', '47-28=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[47, 7], Operations: ['39+8=47', '28/4=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,46 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[39, 3], Operations: ['28-4=24', '24/8=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[28, 43], Operations: ['39+8=47', '47-4=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[24, 31], Operations: ['28-4=24', '39-8=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,46 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[8, 15], Operations: ['28-4=24', '39-24=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,46 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 10, 34, 51, 39 ]
43
[ "51+39=90", "90/10=9", "34+9=43" ]
Current State: 43:[10, 34, 51, 39], Operations: [] Exploring Operation: 51+39=90, Resulting Numbers: [10, 34, 90] Generated Node #2: [10, 34, 90] from Operation: 51+39=90 Current State: 43:[10, 34, 90], Operations: ['51+39=90'] Exploring Operation: 90/10=9, Resulting Numbers: [34, 9] Generated Node #3: [34, 9] from Operation: 90/10=9 Current State: 43:[34, 9], Operations: ['51+39=90', '90/10=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[10, 34, 51, 39], Operations: [] Exploring Operation: 34-10=24, Resulting Numbers: [51, 39, 24] Generated Node #0,0: 43:[51, 39, 24] Operation: 34-10=24 Exploring Operation: 10+34=44, Resulting Numbers: [51, 39, 44] Generated Node #0,1: 43:[51, 39, 44] Operation: 10+34=44 Exploring Operation: 51-10=41, Resulting Numbers: [34, 39, 41] Generated Node #0,2: 43:[34, 39, 41] Operation: 51-10=41 Exploring Operation: 10+39=49, Resulting Numbers: [34, 51, 49] Generated Node #0,3: 43:[34, 51, 49] Operation: 10+39=49 Moving to Node #0,1 Current State: 43:[51, 39, 44], Operations: ['10+34=44'] Exploring Operation: 51+39=90, Resulting Numbers: [44, 90] Generated Node #0,1,0: 43:[44, 90] Operation: 51+39=90 Exploring Operation: 44-39=5, Resulting Numbers: [51, 5] Generated Node #0,1,1: 43:[51, 5] Operation: 44-39=5 Exploring Operation: 51-44=7, Resulting Numbers: [39, 7] Generated Node #0,1,2: 43:[39, 7] Operation: 51-44=7 Exploring Operation: 51-39=12, Resulting Numbers: [44, 12] Generated Node #0,1,3: 43:[44, 12] Operation: 51-39=12 Moving to Node #0,2 Current State: 43:[34, 39, 41], Operations: ['51-10=41'] Exploring Operation: 41-34=7, Resulting Numbers: [39, 7] Generated Node #0,2,0: 43:[39, 7] Operation: 41-34=7 Exploring Operation: 34+41=75, Resulting Numbers: [39, 75] Generated Node #0,2,1: 43:[39, 75] Operation: 34+41=75 Exploring Operation: 39-34=5, Resulting Numbers: [41, 5] Generated Node #0,2,2: 43:[41, 5] Operation: 39-34=5 Exploring Operation: 34+39=73, Resulting Numbers: [41, 73] Generated Node #0,2,3: 43:[41, 73] Operation: 34+39=73 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[41, 73], Operations: ['51-10=41', '34+39=73'] Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,43 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[39, 75], Operations: ['51-10=41', '34+41=75'] Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,43 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[39, 7], Operations: ['51-10=41', '41-34=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[41, 5], Operations: ['51-10=41', '39-34=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,43 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,43 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: 43:[34, 51, 49], Operations: ['10+39=49'] Exploring Operation: 34+49=83, Resulting Numbers: [51, 83] Generated Node #0,3,0: 43:[51, 83] Operation: 34+49=83 Exploring Operation: 49-34=15, Resulting Numbers: [51, 15] Generated Node #0,3,1: 43:[51, 15] Operation: 49-34=15 Exploring Operation: 51-34=17, Resulting Numbers: [49, 17] Generated Node #0,3,2: 43:[49, 17] Operation: 51-34=17 Exploring Operation: 34+51=85, Resulting Numbers: [49, 85] Generated Node #0,3,3: 43:[49, 85] Operation: 34+51=85 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[49, 17], Operations: ['10+39=49', '51-34=17'] Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,43 unequal: No Solution Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[51, 15], Operations: ['10+39=49', '49-34=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[51, 83], Operations: ['10+39=49', '34+49=83'] Exploring Operation: 51*83=4233, Resulting Numbers: [4233] 4233,43 unequal: No Solution Exploring Operation: 51+83=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[49, 85], Operations: ['10+39=49', '34+51=85'] Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 49+85=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 49*85=4165, Resulting Numbers: [4165] 4165,43 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: 43:[51, 39, 24], Operations: ['34-10=24'] Exploring Operation: 51-24=27, Resulting Numbers: [39, 27] Generated Node #0,0,0: 43:[39, 27] Operation: 51-24=27 Exploring Operation: 51+24=75, Resulting Numbers: [39, 75] Generated Node #0,0,1: 43:[39, 75] Operation: 51+24=75 Exploring Operation: 39+24=63, Resulting Numbers: [51, 63] Generated Node #0,0,2: 43:[51, 63] Operation: 39+24=63 Exploring Operation: 39-24=15, Resulting Numbers: [51, 15] Generated Node #0,0,3: 43:[51, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[39, 27], Operations: ['34-10=24', '51-24=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,43 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[51, 63], Operations: ['34-10=24', '39+24=63'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[39, 75], Operations: ['34-10=24', '51+24=75'] Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,43 unequal: No Solution Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[51, 15], Operations: ['34-10=24', '39-24=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 43:[44, 12], Operations: ['10+34=44', '51-39=12'] Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,43 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[39, 7], Operations: ['10+34=44', '51-44=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,43 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[51, 5], Operations: ['10+34=44', '44-39=5'] Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,43 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[44, 90], Operations: ['10+34=44', '51+39=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,43 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 63, 15, 2, 34 ]
59
[ "63-34=29", "15*2=30", "29+30=59" ]
Current State: 59:[63, 15, 2, 34], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [15, 2, 29] Generated Node #2: [15, 2, 29] from Operation: 63-34=29 Current State: 59:[15, 2, 29], Operations: ['63-34=29'] Exploring Operation: 15*2=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 15*2=30 Current State: 59:[29, 30], Operations: ['63-34=29', '15*2=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 15, 2, 34], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [63, 34, 30] Generated Node #0,0: 59:[63, 34, 30] Operation: 15*2=30 Exploring Operation: 63-2=61, Resulting Numbers: [15, 34, 61] Generated Node #0,1: 59:[15, 34, 61] Operation: 63-2=61 Exploring Operation: 15+2=17, Resulting Numbers: [63, 34, 17] Generated Node #0,2: 59:[63, 34, 17] Operation: 15+2=17 Exploring Operation: 2*34=68, Resulting Numbers: [63, 15, 68] Generated Node #0,3: 59:[63, 15, 68] Operation: 2*34=68 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[63, 15, 68], Operations: ['2*34=68'] Exploring Operation: 68-15=53, Resulting Numbers: [63, 53] Generated Node #0,3,0: 59:[63, 53] Operation: 68-15=53 Exploring Operation: 63-15=48, Resulting Numbers: [68, 48] Generated Node #0,3,1: 59:[68, 48] Operation: 63-15=48 Exploring Operation: 15+68=83, Resulting Numbers: [63, 83] Generated Node #0,3,2: 59:[63, 83] Operation: 15+68=83 Exploring Operation: 63+15=78, Resulting Numbers: [68, 78] Generated Node #0,3,3: 59:[68, 78] Operation: 63+15=78 Moving to Node #0,3,0 Current State: 59:[63, 53], Operations: ['2*34=68', '68-15=53'] Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,59 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[68, 48], Operations: ['2*34=68', '63-15=48'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[68, 78], Operations: ['2*34=68', '63+15=78'] Exploring Operation: 68+78=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 68*78=5304, Resulting Numbers: [5304] 5304,59 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[63, 83], Operations: ['2*34=68', '15+68=83'] Exploring Operation: 63+83=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 63*83=5229, Resulting Numbers: [5229] 5229,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[63, 34, 30], Operations: ['15*2=30'] Exploring Operation: 63-30=33, Resulting Numbers: [34, 33] Generated Node #0,0,0: 59:[34, 33] Operation: 63-30=33 Exploring Operation: 34+30=64, Resulting Numbers: [63, 64] Generated Node #0,0,1: 59:[63, 64] Operation: 34+30=64 Exploring Operation: 63+30=93, Resulting Numbers: [34, 93] Generated Node #0,0,2: 59:[34, 93] Operation: 63+30=93 Exploring Operation: 63-34=29, Resulting Numbers: [30, 29] Generated Node #0,0,3: 59:[30, 29] Operation: 63-34=29 Moving to Node #0,0,1 Current State: 59:[63, 64], Operations: ['15*2=30', '34+30=64'] Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,59 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[34, 33], Operations: ['15*2=30', '63-30=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[30, 29], Operations: ['15*2=30', '63-34=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[63, 15, 2, 34], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [63, 34, 30] Generated Node #0,0: 59:[63, 34, 30] Operation: 15*2=30 Moving to Node #0,0 Current State: 59:[63, 34, 30], Operations: ['15*2=30'] Exploring Operation: 63-34=29, Resulting Numbers: [30, 29] Generated Node #0,0,3: 59:[30, 29] Operation: 63-34=29 Moving to Node #0,0,3 Current State: 59:[30, 29], Operations: ['15*2=30', '63-34=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 70, 12, 98, 60 ]
49
[ "70-12=58", "60-58=2", "98/2=49" ]
Current State: 49:[70, 12, 98, 60], Operations: [] Exploring Operation: 70-12=58, Resulting Numbers: [98, 60, 58] Generated Node #2: [98, 60, 58] from Operation: 70-12=58 Current State: 49:[98, 60, 58], Operations: ['70-12=58'] Exploring Operation: 60-58=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 60-58=2 Current State: 49:[98, 2], Operations: ['70-12=58', '60-58=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[70, 12, 98, 60], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [12, 60, 28] Generated Node #0,0: 49:[12, 60, 28] Operation: 98-70=28 Exploring Operation: 70-12=58, Resulting Numbers: [98, 60, 58] Generated Node #0,1: 49:[98, 60, 58] Operation: 70-12=58 Exploring Operation: 98-60=38, Resulting Numbers: [70, 12, 38] Generated Node #0,2: 49:[70, 12, 38] Operation: 98-60=38 Exploring Operation: 98-12=86, Resulting Numbers: [70, 60, 86] Generated Node #0,3: 49:[70, 60, 86] Operation: 98-12=86 Exploring Operation: 70-60=10, Resulting Numbers: [12, 98, 10] Generated Node #0,4: 49:[12, 98, 10] Operation: 70-60=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[12, 60, 28], Operations: ['98-70=28'] Exploring Operation: 12+28=40, Resulting Numbers: [60, 40] Generated Node #0,0,0: 49:[60, 40] Operation: 12+28=40 Exploring Operation: 60-12=48, Resulting Numbers: [28, 48] Generated Node #0,0,1: 49:[28, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [28, 5] Generated Node #0,0,2: 49:[28, 5] Operation: 60/12=5 Exploring Operation: 60-28=32, Resulting Numbers: [12, 32] Generated Node #0,0,3: 49:[12, 32] Operation: 60-28=32 Exploring Operation: 28-12=16, Resulting Numbers: [60, 16] Generated Node #0,0,4: 49:[60, 16] Operation: 28-12=16 Moving to Node #0,0,0 Current State: 49:[60, 40], Operations: ['98-70=28', '12+28=40'] Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 60*40=2400, Resulting Numbers: [2400] 2400,49 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[60, 16], Operations: ['98-70=28', '28-12=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,49 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[28, 48], Operations: ['98-70=28', '60-12=48'] Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,49 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[12, 32], Operations: ['98-70=28', '60-28=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,49 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[28, 5], Operations: ['98-70=28', '60/12=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[70, 12, 38], Operations: ['98-60=38'] Exploring Operation: 38-12=26, Resulting Numbers: [70, 26] Generated Node #0,2,0: 49:[70, 26] Operation: 38-12=26 Exploring Operation: 70+12=82, Resulting Numbers: [38, 82] Generated Node #0,2,1: 49:[38, 82] Operation: 70+12=82 Exploring Operation: 70-12=58, Resulting Numbers: [38, 58] Generated Node #0,2,2: 49:[38, 58] Operation: 70-12=58 Exploring Operation: 12+38=50, Resulting Numbers: [70, 50] Generated Node #0,2,3: 49:[70, 50] Operation: 12+38=50 Exploring Operation: 70-38=32, Resulting Numbers: [12, 32] Generated Node #0,2,4: 49:[12, 32] Operation: 70-38=32 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[38, 58], Operations: ['98-60=38', '70-12=58'] Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,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:[70, 50], Operations: ['98-60=38', '12+38=50'] Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,49 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,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,4 Current State: 49:[12, 32], Operations: ['98-60=38', '70-38=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,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:[70, 26], Operations: ['98-60=38', '38-12=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,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:[38, 82], Operations: ['98-60=38', '70+12=82'] Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,49 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,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:[12, 98, 10], Operations: ['70-60=10'] Exploring Operation: 98-10=88, Resulting Numbers: [12, 88] Generated Node #0,4,0: 49:[12, 88] Operation: 98-10=88 Exploring Operation: 12+10=22, Resulting Numbers: [98, 22] Generated Node #0,4,1: 49:[98, 22] Operation: 12+10=22 Exploring Operation: 12+98=110, Resulting Numbers: [10, 110] Generated Node #0,4,2: 49:[10, 110] Operation: 12+98=110 Exploring Operation: 12-10=2, Resulting Numbers: [98, 2] Generated Node #0,4,3: 49:[98, 2] Operation: 12-10=2 Exploring Operation: 98-12=86, Resulting Numbers: [10, 86] Generated Node #0,4,4: 49:[10, 86] Operation: 98-12=86 Moving to Node #0,4,4 Current State: 49:[10, 86], Operations: ['70-60=10', '98-12=86'] Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,49 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[12, 88], Operations: ['70-60=10', '98-10=88'] Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[98, 2], Operations: ['70-60=10', '12-10=2'] Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,49 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[70, 12, 98, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [12, 98, 10] Generated Node #0,4: 49:[12, 98, 10] Operation: 70-60=10 Moving to Node #0,4 Current State: 49:[12, 98, 10], Operations: ['70-60=10'] Exploring Operation: 12-10=2, Resulting Numbers: [98, 2] Generated Node #0,4,3: 49:[98, 2] Operation: 12-10=2 Moving to Node #0,4,3 Current State: 49:[98, 2], Operations: ['70-60=10', '12-10=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
mult_heuristic
[ 44, 40, 43, 53 ]
74
[ "44+40=84", "53-43=10", "84-10=74" ]
Current State: 74:[44, 40, 43, 53], Operations: [] Exploring Operation: 44+40=84, Resulting Numbers: [43, 53, 84] Generated Node #2: [43, 53, 84] from Operation: 44+40=84 Current State: 74:[43, 53, 84], Operations: ['44+40=84'] Exploring Operation: 53-43=10, Resulting Numbers: [84, 10] Generated Node #3: [84, 10] from Operation: 53-43=10 Current State: 74:[84, 10], Operations: ['44+40=84', '53-43=10'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[44, 40, 43, 53], Operations: [] Exploring Operation: 53-44=9, Resulting Numbers: [40, 43, 9] Generated Node #0,0: 74:[40, 43, 9] Operation: 53-44=9 Exploring Operation: 53-43=10, Resulting Numbers: [44, 40, 10] Generated Node #0,1: 74:[44, 40, 10] Operation: 53-43=10 Moving to Node #0,0 Current State: 74:[40, 43, 9], Operations: ['53-44=9'] Exploring Operation: 43-9=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 74:[40, 34] Operation: 43-9=34 Exploring Operation: 43-40=3, Resulting Numbers: [9, 3] Generated Node #0,0,1: 74:[9, 3] Operation: 43-40=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[40, 34], Operations: ['53-44=9', '43-9=34'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[44, 40, 43, 53], Operations: [] Exploring Operation: 53-44=9, Resulting Numbers: [40, 43, 9] Generated Node #0,0: 74:[40, 43, 9] Operation: 53-44=9 Moving to Node #0,0 Current State: 74:[40, 43, 9], Operations: ['53-44=9'] Exploring Operation: 43-9=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 74:[40, 34] Operation: 43-9=34 Moving to Node #0,0,0 Current State: 74:[40, 34], Operations: ['53-44=9', '43-9=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 60, 13, 11, 4 ]
36
[ "13+11=24", "4*24=96", "96-60=36" ]
Current State: 36:[60, 13, 11, 4], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [60, 4, 24] Generated Node #2: [60, 4, 24] from Operation: 13+11=24 Current State: 36:[60, 4, 24], Operations: ['13+11=24'] Exploring Operation: 4*24=96, Resulting Numbers: [60, 96] Generated Node #3: [60, 96] from Operation: 4*24=96 Current State: 36:[60, 96], Operations: ['13+11=24', '4*24=96'] Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[60, 13, 11, 4], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [11, 4, 47] Generated Node #0,0: 36:[11, 4, 47] Operation: 60-13=47 Exploring Operation: 60/4=15, Resulting Numbers: [13, 11, 15] Generated Node #0,1: 36:[13, 11, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[13, 11, 15], Operations: ['60/4=15'] Exploring Operation: 15-13=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 36:[11, 2] Operation: 15-13=2 Exploring Operation: 15-11=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 36:[13, 4] Operation: 15-11=4 Moving to Node #0,1,0 Current State: 36:[11, 2], Operations: ['60/4=15', '15-13=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[13, 4], Operations: ['60/4=15', '15-11=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[11, 4, 47], Operations: ['60-13=47'] Exploring Operation: 47-11=36, Resulting Numbers: [4, 36] Generated Node #0,0,0: 36:[4, 36] Operation: 47-11=36 Exploring Operation: 47-4=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 36:[11, 43] Operation: 47-4=43 Moving to Node #0,0,0 Current State: 36:[4, 36], Operations: ['60-13=47', '47-11=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[11, 43], Operations: ['60-13=47', '47-4=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,36 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
[ 98, 96, 97, 94 ]
95
[ "98+94=192", "192/96=2", "97-2=95" ]
Current State: 95:[98, 96, 97, 94], Operations: [] Exploring Operation: 98+94=192, Resulting Numbers: [96, 97, 192] Generated Node #2: [96, 97, 192] from Operation: 98+94=192 Current State: 95:[96, 97, 192], Operations: ['98+94=192'] Exploring Operation: 192/96=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 192/96=2 Current State: 95:[97, 2], Operations: ['98+94=192', '192/96=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[98, 96, 97, 94], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [96, 97, 4] Generated Node #0,0: 95:[96, 97, 4] Operation: 98-94=4 Exploring Operation: 98-97=1, Resulting Numbers: [96, 94, 1] Generated Node #0,1: 95:[96, 94, 1] Operation: 98-97=1 Exploring Operation: 98-96=2, Resulting Numbers: [97, 94, 2] Generated Node #0,2: 95:[97, 94, 2] Operation: 98-96=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[96, 97, 4], Operations: ['98-94=4'] Exploring Operation: 96-4=92, Resulting Numbers: [97, 92] Generated Node #0,0,0: 95:[97, 92] Operation: 96-4=92 Exploring Operation: 97-96=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 95:[4, 1] Operation: 97-96=1 Exploring Operation: 97-4=93, Resulting Numbers: [96, 93] Generated Node #0,0,2: 95:[96, 93] Operation: 97-4=93 Moving to Node #0,0,2 Current State: 95:[96, 93], Operations: ['98-94=4', '97-4=93'] Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,95 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[97, 92], Operations: ['98-94=4', '96-4=92'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 97*92=8924, Resulting Numbers: [8924] 8924,95 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[4, 1], Operations: ['98-94=4', '97-96=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[96, 94, 1], Operations: ['98-97=1'] Exploring Operation: 96*1=96, Resulting Numbers: [94, 96] Generated Node #0,1,0: 95:[94, 96] Operation: 96*1=96 Exploring Operation: 96-1=95, Resulting Numbers: [94, 95] Generated Node #0,1,1: 95:[94, 95] Operation: 96-1=95 Exploring Operation: 94+1=95, Resulting Numbers: [96, 95] Generated Node #0,1,2: 95:[96, 95] Operation: 94+1=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[94, 95], Operations: ['98-97=1', '96-1=95'] Exploring Operation: 94*95=8930, Resulting Numbers: [8930] 8930,95 unequal: No Solution Exploring Operation: 94+95=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,95 unequal: No Solution No 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: 95:[96, 95], Operations: ['98-97=1', '94+1=95'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,95 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,95 unequal: No Solution No 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: 95:[94, 96], Operations: ['98-97=1', '96*1=96'] Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,95 unequal: No Solution Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[97, 94, 2], Operations: ['98-96=2'] Exploring Operation: 97-94=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 95:[2, 3] Operation: 97-94=3 Exploring Operation: 94+2=96, Resulting Numbers: [97, 96] Generated Node #0,2,1: 95:[97, 96] Operation: 94+2=96 Exploring Operation: 97-2=95, Resulting Numbers: [94, 95] Generated Node #0,2,2: 95:[94, 95] Operation: 97-2=95 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[94, 95], Operations: ['98-96=2', '97-2=95'] Exploring Operation: 94*95=8930, Resulting Numbers: [8930] 8930,95 unequal: No Solution Exploring Operation: 94+95=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,95 unequal: No Solution No 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: 95:[97, 96], Operations: ['98-96=2', '94+2=96'] Exploring Operation: 97-96=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 97*96=9312, Resulting Numbers: [9312] 9312,95 unequal: No Solution Exploring Operation: 97+96=193, Resulting Numbers: [193] 193,95 unequal: No Solution No 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: 95:[2, 3], Operations: ['98-96=2', '97-94=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 70, 88, 90, 15 ]
100
[ "90-88=2", "15*2=30", "70+30=100" ]
Current State: 100:[70, 88, 90, 15], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [70, 15, 2] Generated Node #2: [70, 15, 2] from Operation: 90-88=2 Current State: 100:[70, 15, 2], Operations: ['90-88=2'] Exploring Operation: 15*2=30, Resulting Numbers: [70, 30] Generated Node #3: [70, 30] from Operation: 15*2=30 Current State: 100:[70, 30], Operations: ['90-88=2', '15*2=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[70, 88, 90, 15], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [90, 15, 18] Generated Node #0,0: 100:[90, 15, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 100:[90, 15, 18], Operations: ['88-70=18'] Exploring Operation: 90/15=6, Resulting Numbers: [18, 6] Generated Node #0,0,0: 100:[18, 6] Operation: 90/15=6 Moving to Node #0,0,0 Current State: 100:[18, 6], Operations: ['88-70=18', '90/15=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 63, 8, 90, 43 ]
78
[ "63-8=55", "90+43=133", "133-55=78" ]
Current State: 78:[63, 8, 90, 43], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [90, 43, 55] Generated Node #2: [90, 43, 55] from Operation: 63-8=55 Current State: 78:[90, 43, 55], Operations: ['63-8=55'] Exploring Operation: 90+43=133, Resulting Numbers: [55, 133] Generated Node #3: [55, 133] from Operation: 90+43=133 Current State: 78:[55, 133], Operations: ['63-8=55', '90+43=133'] Exploring Operation: 133-55=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[63, 8, 90, 43], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [63, 8, 47] Generated Node #0,0: 78:[63, 8, 47] Operation: 90-43=47 Exploring Operation: 63+8=71, Resulting Numbers: [90, 43, 71] Generated Node #0,1: 78:[90, 43, 71] Operation: 63+8=71 Exploring Operation: 90-63=27, Resulting Numbers: [8, 43, 27] Generated Node #0,2: 78:[8, 43, 27] Operation: 90-63=27 Exploring Operation: 63-43=20, Resulting Numbers: [8, 90, 20] Generated Node #0,3: 78:[8, 90, 20] Operation: 63-43=20 Exploring Operation: 90-8=82, Resulting Numbers: [63, 43, 82] Generated Node #0,4: 78:[63, 43, 82] Operation: 90-8=82 Moving to Node #0,2 Current State: 78:[8, 43, 27], Operations: ['90-63=27'] Exploring Operation: 43-27=16, Resulting Numbers: [8, 16] Generated Node #0,2,0: 78:[8, 16] Operation: 43-27=16 Exploring Operation: 27-8=19, Resulting Numbers: [43, 19] Generated Node #0,2,1: 78:[43, 19] Operation: 27-8=19 Exploring Operation: 43+27=70, Resulting Numbers: [8, 70] Generated Node #0,2,2: 78:[8, 70] Operation: 43+27=70 Exploring Operation: 8+27=35, Resulting Numbers: [43, 35] Generated Node #0,2,3: 78:[43, 35] Operation: 8+27=35 Exploring Operation: 43-8=35, Resulting Numbers: [27, 35] Generated Node #0,2,4: 78:[27, 35] Operation: 43-8=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[8, 16], Operations: ['90-63=27', '43-27=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,78 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 78:[27, 35], Operations: ['90-63=27', '43-8=35'] Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,78 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[43, 35], Operations: ['90-63=27', '8+27=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,78 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[63, 8, 90, 43], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [8, 43, 27] Generated Node #0,2: 78:[8, 43, 27] Operation: 90-63=27 Moving to Node #0,2 Current State: 78:[8, 43, 27], Operations: ['90-63=27'] Exploring Operation: 8+27=35, Resulting Numbers: [43, 35] Generated Node #0,2,3: 78:[43, 35] Operation: 8+27=35 Moving to Node #0,2,3 Current State: 78:[43, 35], Operations: ['90-63=27', '8+27=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 5, 28, 88, 6 ]
16
[ "5+28=33", "88*6=528", "528/33=16" ]
Current State: 16:[5, 28, 88, 6], Operations: [] Exploring Operation: 5+28=33, Resulting Numbers: [88, 6, 33] Generated Node #2: [88, 6, 33] from Operation: 5+28=33 Current State: 16:[88, 6, 33], Operations: ['5+28=33'] Exploring Operation: 88*6=528, Resulting Numbers: [33, 528] Generated Node #3: [33, 528] from Operation: 88*6=528 Current State: 16:[33, 528], Operations: ['5+28=33', '88*6=528'] Exploring Operation: 528/33=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 28, 88, 6], Operations: [] Exploring Operation: 28-5=23, Resulting Numbers: [88, 6, 23] Generated Node #0,0: 16:[88, 6, 23] Operation: 28-5=23 Exploring Operation: 88-28=60, Resulting Numbers: [5, 6, 60] Generated Node #0,1: 16:[5, 6, 60] Operation: 88-28=60 Exploring Operation: 88-5=83, Resulting Numbers: [28, 6, 83] Generated Node #0,2: 16:[28, 6, 83] Operation: 88-5=83 Exploring Operation: 28-6=22, Resulting Numbers: [5, 88, 22] Generated Node #0,3: 16:[5, 88, 22] Operation: 28-6=22 Exploring Operation: 88-6=82, Resulting Numbers: [5, 28, 82] Generated Node #0,4: 16:[5, 28, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[5, 6, 60], Operations: ['88-28=60'] Exploring Operation: 60/6=10, Resulting Numbers: [5, 10] Generated Node #0,1,0: 16:[5, 10] Operation: 60/6=10 Exploring Operation: 60/5=12, Resulting Numbers: [6, 12] Generated Node #0,1,1: 16:[6, 12] Operation: 60/5=12 Exploring Operation: 60-6=54, Resulting Numbers: [5, 54] Generated Node #0,1,2: 16:[5, 54] Operation: 60-6=54 Exploring Operation: 6-5=1, Resulting Numbers: [60, 1] Generated Node #0,1,3: 16:[60, 1] Operation: 6-5=1 Exploring Operation: 60-5=55, Resulting Numbers: [6, 55] Generated Node #0,1,4: 16:[6, 55] Operation: 60-5=55 Moving to Node #0,1,0 Current State: 16:[5, 10], Operations: ['88-28=60', '60/6=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[6, 12], Operations: ['88-28=60', '60/5=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[5, 54], Operations: ['88-28=60', '60-6=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,16 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[6, 55], Operations: ['88-28=60', '60-5=55'] Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[60, 1], Operations: ['88-28=60', '6-5=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,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,3 Current State: 16:[5, 88, 22], Operations: ['28-6=22'] Exploring Operation: 88/22=4, Resulting Numbers: [5, 4] Generated Node #0,3,0: 16:[5, 4] Operation: 88/22=4 Exploring Operation: 88-5=83, Resulting Numbers: [22, 83] Generated Node #0,3,1: 16:[22, 83] Operation: 88-5=83 Exploring Operation: 88-22=66, Resulting Numbers: [5, 66] Generated Node #0,3,2: 16:[5, 66] Operation: 88-22=66 Exploring Operation: 5+88=93, Resulting Numbers: [22, 93] Generated Node #0,3,3: 16:[22, 93] Operation: 5+88=93 Exploring Operation: 22-5=17, Resulting Numbers: [88, 17] Generated Node #0,3,4: 16:[88, 17] Operation: 22-5=17 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[5, 4], Operations: ['28-6=22', '88/22=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[5, 66], Operations: ['28-6=22', '88-22=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[22, 83], Operations: ['28-6=22', '88-5=83'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 22+83=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 22*83=1826, Resulting Numbers: [1826] 1826,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 16:[88, 17], Operations: ['28-6=22', '22-5=17'] Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,16 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[22, 93], Operations: ['28-6=22', '5+88=93'] Exploring Operation: 22+93=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 22*93=2046, Resulting Numbers: [2046] 2046,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[5, 28, 82], Operations: ['88-6=82'] Exploring Operation: 5+28=33, Resulting Numbers: [82, 33] Generated Node #0,4,0: 16:[82, 33] Operation: 5+28=33 Exploring Operation: 5+82=87, Resulting Numbers: [28, 87] Generated Node #0,4,1: 16:[28, 87] Operation: 5+82=87 Exploring Operation: 82-5=77, Resulting Numbers: [28, 77] Generated Node #0,4,2: 16:[28, 77] Operation: 82-5=77 Exploring Operation: 28-5=23, Resulting Numbers: [82, 23] Generated Node #0,4,3: 16:[82, 23] Operation: 28-5=23 Exploring Operation: 82-28=54, Resulting Numbers: [5, 54] Generated Node #0,4,4: 16:[5, 54] Operation: 82-28=54 Moving to Node #0,4,4 Current State: 16:[5, 54], Operations: ['88-6=82', '82-28=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,16 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[82, 23], Operations: ['88-6=82', '28-5=23'] Exploring Operation: 82+23=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 82*23=1886, Resulting Numbers: [1886] 1886,16 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[28, 77], Operations: ['88-6=82', '82-5=77'] Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[82, 33], Operations: ['88-6=82', '5+28=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[28, 87], Operations: ['88-6=82', '5+82=87'] Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,16 unequal: No Solution Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,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 Current State: 16:[88, 6, 23], Operations: ['28-5=23'] Exploring Operation: 88-6=82, Resulting Numbers: [23, 82] Generated Node #0,0,0: 16:[23, 82] Operation: 88-6=82 Exploring Operation: 23-6=17, Resulting Numbers: [88, 17] Generated Node #0,0,1: 16:[88, 17] Operation: 23-6=17 Exploring Operation: 88+6=94, Resulting Numbers: [23, 94] Generated Node #0,0,2: 16:[23, 94] Operation: 88+6=94 Exploring Operation: 6+23=29, Resulting Numbers: [88, 29] Generated Node #0,0,3: 16:[88, 29] Operation: 6+23=29 Exploring Operation: 88-23=65, Resulting Numbers: [6, 65] Generated Node #0,0,4: 16:[6, 65] Operation: 88-23=65 Moving to Node #0,0,4 Current State: 16:[6, 65], Operations: ['28-5=23', '88-23=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,16 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[88, 17], Operations: ['28-5=23', '23-6=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,16 unequal: No Solution Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[23, 82], Operations: ['28-5=23', '88-6=82'] Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,16 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[23, 94], Operations: ['28-5=23', '88+6=94'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 23*94=2162, Resulting Numbers: [2162] 2162,16 unequal: No Solution Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[88, 29], Operations: ['28-5=23', '6+23=29'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,16 unequal: No Solution Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,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,2 Current State: 16:[28, 6, 83], Operations: ['88-5=83'] Exploring Operation: 28-6=22, Resulting Numbers: [83, 22] Generated Node #0,2,0: 16:[83, 22] Operation: 28-6=22 Exploring Operation: 6+83=89, Resulting Numbers: [28, 89] Generated Node #0,2,1: 16:[28, 89] Operation: 6+83=89 Exploring Operation: 83-6=77, Resulting Numbers: [28, 77] Generated Node #0,2,2: 16:[28, 77] Operation: 83-6=77 Exploring Operation: 28+6=34, Resulting Numbers: [83, 34] Generated Node #0,2,3: 16:[83, 34] Operation: 28+6=34 Exploring Operation: 83-28=55, Resulting Numbers: [6, 55] Generated Node #0,2,4: 16:[6, 55] Operation: 83-28=55 Moving to Node #0,2,4 Current State: 16:[6, 55], Operations: ['88-5=83', '83-28=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[28, 77], Operations: ['88-5=83', '83-6=77'] Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[83, 22], Operations: ['88-5=83', '28-6=22'] Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[28, 89], Operations: ['88-5=83', '6+83=89'] Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 28*89=2492, Resulting Numbers: [2492] 2492,16 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[83, 34], Operations: ['88-5=83', '28+6=34'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,16 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 86, 47, 17, 17 ]
99
[ "86+47=133", "17+17=34", "133-34=99" ]
Current State: 99:[86, 47, 17, 17], Operations: [] Exploring Operation: 86+47=133, Resulting Numbers: [17, 17, 133] Generated Node #2: [17, 17, 133] from Operation: 86+47=133 Current State: 99:[17, 17, 133], Operations: ['86+47=133'] Exploring Operation: 17+17=34, Resulting Numbers: [133, 34] Generated Node #3: [133, 34] from Operation: 17+17=34 Current State: 99:[133, 34], Operations: ['86+47=133', '17+17=34'] Exploring Operation: 133-34=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 47, 17, 17], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [86, 17, 30] Generated Node #0,0: 99:[86, 17, 30] Operation: 47-17=30 Exploring Operation: 86-47=39, Resulting Numbers: [17, 17, 39] Generated Node #0,1: 99:[17, 17, 39] Operation: 86-47=39 Exploring Operation: 47-17=30, Resulting Numbers: [86, 17, 30] Generated Node #0,2: 99:[86, 17, 30] Operation: 47-17=30 Moving to Node #0,1 Current State: 99:[17, 17, 39], Operations: ['86-47=39'] Exploring Operation: 17+17=34, Resulting Numbers: [39, 34] Generated Node #0,1,0: 99:[39, 34] Operation: 17+17=34 Exploring Operation: 17-17=0, Resulting Numbers: [39, 0] Generated Node #0,1,1: 99:[39, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [39, 1] Generated Node #0,1,2: 99:[39, 1] Operation: 17/17=1 Moving to Node #0,0 Current State: 99:[86, 17, 30], Operations: ['47-17=30'] Exploring Operation: 86+30=116, Resulting Numbers: [17, 116] Generated Node #0,0,0: 99:[17, 116] Operation: 86+30=116 Exploring Operation: 30-17=13, Resulting Numbers: [86, 13] Generated Node #0,0,1: 99:[86, 13] Operation: 30-17=13 Exploring Operation: 86+17=103, Resulting Numbers: [30, 103] Generated Node #0,0,2: 99:[30, 103] Operation: 86+17=103 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[30, 103], Operations: ['47-17=30', '86+17=103'] Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 30*103=3090, Resulting Numbers: [3090] 3090,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[86, 13], Operations: ['47-17=30', '30-17=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[86, 47, 17, 17], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [86, 17, 30] Generated Node #0,0: 99:[86, 17, 30] Operation: 47-17=30 Moving to Node #0,0 Current State: 99:[86, 17, 30], Operations: ['47-17=30'] Exploring Operation: 30-17=13, Resulting Numbers: [86, 13] Generated Node #0,0,1: 99:[86, 13] Operation: 30-17=13 Moving to Node #0,0,1 Current State: 99:[86, 13], Operations: ['47-17=30', '30-17=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 5, 50, 1, 29 ]
17
[ "50-5=45", "29-1=28", "45-28=17" ]
Current State: 17:[5, 50, 1, 29], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [1, 29, 45] Generated Node #2: [1, 29, 45] from Operation: 50-5=45 Current State: 17:[1, 29, 45], Operations: ['50-5=45'] Exploring Operation: 29-1=28, Resulting Numbers: [45, 28] Generated Node #3: [45, 28] from Operation: 29-1=28 Current State: 17:[45, 28], Operations: ['50-5=45', '29-1=28'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[5, 50, 1, 29], Operations: [] Exploring Operation: 50-29=21, Resulting Numbers: [5, 1, 21] Generated Node #0,0: 17:[5, 1, 21] Operation: 50-29=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[5, 1, 21], Operations: ['50-29=21'] Exploring Operation: 5+1=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 17:[21, 6] Operation: 5+1=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[21, 6], Operations: ['50-29=21', '5+1=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,17 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
[ 63, 65, 1, 48 ]
48
[ "65-63=2", "2-1=1", "48*1=48" ]
Current State: 48:[63, 65, 1, 48], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [1, 48, 2] Generated Node #2: [1, 48, 2] from Operation: 65-63=2 Current State: 48:[1, 48, 2], Operations: ['65-63=2'] Exploring Operation: 2-1=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 2-1=1 Current State: 48:[48, 1], Operations: ['65-63=2', '2-1=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[63, 65, 1, 48], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [65, 1, 15] Generated Node #0,0: 48:[65, 1, 15] Operation: 63-48=15 Exploring Operation: 65-48=17, Resulting Numbers: [63, 1, 17] Generated Node #0,1: 48:[63, 1, 17] Operation: 65-48=17 Exploring Operation: 65-63=2, Resulting Numbers: [1, 48, 2] Generated Node #0,2: 48:[1, 48, 2] Operation: 65-63=2 Moving to Node #0,2 Current State: 48:[1, 48, 2], Operations: ['65-63=2'] Exploring Operation: 1*48=48, Resulting Numbers: [2, 48] Generated Node #0,2,0: 48:[2, 48] Operation: 1*48=48 Exploring Operation: 1+2=3, Resulting Numbers: [48, 3] Generated Node #0,2,1: 48:[48, 3] Operation: 1+2=3 Exploring Operation: 48/1=48, Resulting Numbers: [2, 48] Generated Node #0,2,2: 48:[2, 48] Operation: 48/1=48 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[2, 48], Operations: ['65-63=2', '1*48=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,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,2,1 Current State: 48:[48, 3], Operations: ['65-63=2', '1+2=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,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,2,2 Current State: 48:[2, 48], Operations: ['65-63=2', '48/1=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,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:[63, 1, 17], Operations: ['65-48=17'] Exploring Operation: 17-1=16, Resulting Numbers: [63, 16] Generated Node #0,1,0: 48:[63, 16] Operation: 17-1=16 Exploring Operation: 63-17=46, Resulting Numbers: [1, 46] Generated Node #0,1,1: 48:[1, 46] Operation: 63-17=46 Exploring Operation: 63-1=62, Resulting Numbers: [17, 62] Generated Node #0,1,2: 48:[17, 62] Operation: 63-1=62 Moving to Node #0,0 Current State: 48:[65, 1, 15], Operations: ['63-48=15'] Exploring Operation: 65-1=64, Resulting Numbers: [15, 64] Generated Node #0,0,0: 48:[15, 64] Operation: 65-1=64 Exploring Operation: 1+15=16, Resulting Numbers: [65, 16] Generated Node #0,0,1: 48:[65, 16] Operation: 1+15=16 Exploring Operation: 65-15=50, Resulting Numbers: [1, 50] Generated Node #0,0,2: 48:[1, 50] Operation: 65-15=50 Moving to Node #0,1,1 Current State: 48:[1, 46], Operations: ['65-48=17', '63-17=46'] Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[1, 50], Operations: ['63-48=15', '65-15=50'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[17, 62], Operations: ['65-48=17', '63-1=62'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[63, 16], Operations: ['65-48=17', '17-1=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[65, 16], Operations: ['63-48=15', '1+15=16'] Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,48 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[15, 64], Operations: ['63-48=15', '65-1=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,48 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 45, 50, 37, 50 ]
82
[ "45+50=95", "50-37=13", "95-13=82" ]
Current State: 82:[45, 50, 37, 50], Operations: [] Exploring Operation: 45+50=95, Resulting Numbers: [37, 95] Generated Node #2: [37, 95] from Operation: 45+50=95 Current State: 82:[37, 95], Operations: ['45+50=95'] Exploring Operation: 50-37=13, Resulting Numbers: [95, 13] Generated Node #3: [95, 13] from Operation: 50-37=13 Current State: 82:[95, 13], Operations: ['45+50=95', '50-37=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[45, 50, 37, 50], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [45, 37, 1] Generated Node #0,0: 82:[45, 37, 1] Operation: 50/50=1 Exploring Operation: 50-45=5, Resulting Numbers: [37, 50, 5] Generated Node #0,1: 82:[37, 50, 5] Operation: 50-45=5 Exploring Operation: 50-45=5, Resulting Numbers: [50, 37, 5] Generated Node #0,2: 82:[50, 37, 5] Operation: 50-45=5 Exploring Operation: 45+37=82, Resulting Numbers: [50, 50, 82] Generated Node #0,3: 82:[50, 50, 82] Operation: 45+37=82 Exploring Operation: 50-50=0, Resulting Numbers: [45, 37, 0] Generated Node #0,4: 82:[45, 37, 0] Operation: 50-50=0 Moving to Node #0,0 Current State: 82:[45, 37, 1], Operations: ['50/50=1'] Exploring Operation: 45+37=82, Resulting Numbers: [1, 82] Generated Node #0,0,0: 82:[1, 82] Operation: 45+37=82 Exploring Operation: 45-1=44, Resulting Numbers: [37, 44] Generated Node #0,0,1: 82:[37, 44] Operation: 45-1=44 Exploring Operation: 45*1=45, Resulting Numbers: [37, 45] Generated Node #0,0,2: 82:[37, 45] Operation: 45*1=45 Exploring Operation: 45-37=8, Resulting Numbers: [1, 8] Generated Node #0,0,3: 82:[1, 8] Operation: 45-37=8 Exploring Operation: 37+1=38, Resulting Numbers: [45, 38] Generated Node #0,0,4: 82:[45, 38] Operation: 37+1=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[1, 82], Operations: ['50/50=1', '45+37=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[45, 50, 37, 50], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [45, 37, 1] Generated Node #0,0: 82:[45, 37, 1] Operation: 50/50=1 Moving to Node #0,0 Current State: 82:[45, 37, 1], Operations: ['50/50=1'] Exploring Operation: 45+37=82, Resulting Numbers: [1, 82] Generated Node #0,0,0: 82:[1, 82] Operation: 45+37=82 Moving to Node #0,0,0 Current State: 82:[1, 82], Operations: ['50/50=1', '45+37=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 85, 37, 1, 34 ]
82
[ "85-37=48", "1*34=34", "48+34=82" ]
Current State: 82:[85, 37, 1, 34], Operations: [] Exploring Operation: 85-37=48, Resulting Numbers: [1, 34, 48] Generated Node #2: [1, 34, 48] from Operation: 85-37=48 Current State: 82:[1, 34, 48], Operations: ['85-37=48'] Exploring Operation: 1*34=34, Resulting Numbers: [48, 34] Generated Node #3: [48, 34] from Operation: 1*34=34 Current State: 82:[48, 34], Operations: ['85-37=48', '1*34=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[85, 37, 1, 34], Operations: [] Exploring Operation: 85-1=84, Resulting Numbers: [37, 34, 84] Generated Node #0,0: 82:[37, 34, 84] Operation: 85-1=84 Exploring Operation: 37-34=3, Resulting Numbers: [85, 1, 3] Generated Node #0,1: 82:[85, 1, 3] Operation: 37-34=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[85, 1, 3], Operations: ['37-34=3'] Exploring Operation: 85-1=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 82:[3, 84] Operation: 85-1=84 Exploring Operation: 85-3=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 85-3=82 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['37-34=3', '85-3=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[85, 37, 1, 34], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [85, 1, 3] Generated Node #0,1: 82:[85, 1, 3] Operation: 37-34=3 Moving to Node #0,1 Current State: 82:[85, 1, 3], Operations: ['37-34=3'] Exploring Operation: 85-3=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 85-3=82 Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['37-34=3', '85-3=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 34, 59, 48, 94 ]
48
[ "34+59=93", "94-93=1", "48*1=48" ]
Current State: 48:[34, 59, 48, 94], Operations: [] Exploring Operation: 34+59=93, Resulting Numbers: [48, 94, 93] Generated Node #2: [48, 94, 93] from Operation: 34+59=93 Current State: 48:[48, 94, 93], Operations: ['34+59=93'] Exploring Operation: 94-93=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 94-93=1 Current State: 48:[48, 1], Operations: ['34+59=93', '94-93=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[34, 59, 48, 94], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [59, 48, 60] Generated Node #0,0: 48:[59, 48, 60] Operation: 94-34=60 Exploring Operation: 94-59=35, Resulting Numbers: [34, 48, 35] Generated Node #0,1: 48:[34, 48, 35] Operation: 94-59=35 Exploring Operation: 94-48=46, Resulting Numbers: [34, 59, 46] Generated Node #0,2: 48:[34, 59, 46] Operation: 94-48=46 Moving to Node #0,1 Current State: 48:[34, 48, 35], Operations: ['94-59=35'] Exploring Operation: 48-34=14, Resulting Numbers: [35, 14] Generated Node #0,1,0: 48:[35, 14] Operation: 48-34=14 Exploring Operation: 35-34=1, Resulting Numbers: [48, 1] Generated Node #0,1,1: 48:[48, 1] Operation: 35-34=1 Exploring Operation: 48-35=13, Resulting Numbers: [34, 13] Generated Node #0,1,2: 48:[34, 13] Operation: 48-35=13 Moving to Node #0,0 Current State: 48:[59, 48, 60], Operations: ['94-34=60'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 60-59=1 Exploring Operation: 60-48=12, Resulting Numbers: [59, 12] Generated Node #0,0,1: 48:[59, 12] Operation: 60-48=12 Exploring Operation: 59-48=11, Resulting Numbers: [60, 11] Generated Node #0,0,2: 48:[60, 11] Operation: 59-48=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['94-34=60', '60-59=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[34, 59, 48, 94], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [59, 48, 60] Generated Node #0,0: 48:[59, 48, 60] Operation: 94-34=60 Moving to Node #0,0 Current State: 48:[59, 48, 60], Operations: ['94-34=60'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['94-34=60', '60-59=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 32, 6, 30, 80 ]
13
[ "32-30=2", "80-2=78", "78/6=13" ]
Current State: 13:[32, 6, 30, 80], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [6, 80, 2] Generated Node #2: [6, 80, 2] from Operation: 32-30=2 Current State: 13:[6, 80, 2], Operations: ['32-30=2'] Exploring Operation: 80-2=78, Resulting Numbers: [6, 78] Generated Node #3: [6, 78] from Operation: 80-2=78 Current State: 13:[6, 78], Operations: ['32-30=2', '80-2=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[32, 6, 30, 80], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [6, 30, 48] Generated Node #0,0: 13:[6, 30, 48] Operation: 80-32=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[6, 30, 48], Operations: ['80-32=48'] Exploring Operation: 48-30=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 13:[6, 18] Operation: 48-30=18 Moving to Node #0,0,0 Current State: 13:[6, 18], Operations: ['80-32=48', '48-30=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 74, 91, 65, 30 ]
32
[ "91*30=2730", "2730/65=42", "74-42=32" ]
Current State: 32:[74, 91, 65, 30], Operations: [] Exploring Operation: 91*30=2730, Resulting Numbers: [74, 65, 2730] Generated Node #2: [74, 65, 2730] from Operation: 91*30=2730 Current State: 32:[74, 65, 2730], Operations: ['91*30=2730'] Exploring Operation: 2730/65=42, Resulting Numbers: [74, 42] Generated Node #3: [74, 42] from Operation: 2730/65=42 Current State: 32:[74, 42], Operations: ['91*30=2730', '2730/65=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[74, 91, 65, 30], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [65, 30, 17] Generated Node #0,0: 32:[65, 30, 17] Operation: 91-74=17 Moving to Node #0,0 Current State: 32:[65, 30, 17], Operations: ['91-74=17'] Exploring Operation: 65-30=35, Resulting Numbers: [17, 35] Generated Node #0,0,0: 32:[17, 35] Operation: 65-30=35 Moving to Node #0,0,0 Current State: 32:[17, 35], Operations: ['91-74=17', '65-30=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,32 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 14, 80, 99, 11 ]
47
[ "14-11=3", "99/3=33", "80-33=47" ]
Current State: 47:[14, 80, 99, 11], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [80, 99, 3] Generated Node #2: [80, 99, 3] from Operation: 14-11=3 Current State: 47:[80, 99, 3], Operations: ['14-11=3'] Exploring Operation: 99/3=33, Resulting Numbers: [80, 33] Generated Node #3: [80, 33] from Operation: 99/3=33 Current State: 47:[80, 33], Operations: ['14-11=3', '99/3=33'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[14, 80, 99, 11], Operations: [] Exploring Operation: 80-14=66, Resulting Numbers: [99, 11, 66] Generated Node #0,0: 47:[99, 11, 66] Operation: 80-14=66 Exploring Operation: 99/11=9, Resulting Numbers: [14, 80, 9] Generated Node #0,1: 47:[14, 80, 9] Operation: 99/11=9 Exploring Operation: 99-80=19, Resulting Numbers: [14, 11, 19] Generated Node #0,2: 47:[14, 11, 19] Operation: 99-80=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[14, 11, 19], Operations: ['99-80=19'] Exploring Operation: 11+19=30, Resulting Numbers: [14, 30] Generated Node #0,2,0: 47:[14, 30] Operation: 11+19=30 Exploring Operation: 14+11=25, Resulting Numbers: [19, 25] Generated Node #0,2,1: 47:[19, 25] Operation: 14+11=25 Exploring Operation: 14+19=33, Resulting Numbers: [11, 33] Generated Node #0,2,2: 47:[11, 33] Operation: 14+19=33 Moving to Node #0,2,0 Current State: 47:[14, 30], Operations: ['99-80=19', '11+19=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,47 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[19, 25], Operations: ['99-80=19', '14+11=25'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[11, 33], Operations: ['99-80=19', '14+19=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[14, 80, 9], Operations: ['99/11=9'] Exploring Operation: 14+9=23, Resulting Numbers: [80, 23] Generated Node #0,1,0: 47:[80, 23] Operation: 14+9=23 Exploring Operation: 80-14=66, Resulting Numbers: [9, 66] Generated Node #0,1,1: 47:[9, 66] Operation: 80-14=66 Exploring Operation: 80-9=71, Resulting Numbers: [14, 71] Generated Node #0,1,2: 47:[14, 71] Operation: 80-9=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[80, 23], Operations: ['99/11=9', '14+9=23'] Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,47 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[9, 66], Operations: ['99/11=9', '80-14=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[14, 71], Operations: ['99/11=9', '80-9=71'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 14*71=994, Resulting Numbers: [994] 994,47 unequal: No Solution Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[99, 11, 66], Operations: ['80-14=66'] Exploring Operation: 99-66=33, Resulting Numbers: [11, 33] Generated Node #0,0,0: 47:[11, 33] Operation: 99-66=33 Exploring Operation: 99-11=88, Resulting Numbers: [66, 88] Generated Node #0,0,1: 47:[66, 88] Operation: 99-11=88 Exploring Operation: 99/11=9, Resulting Numbers: [66, 9] Generated Node #0,0,2: 47:[66, 9] Operation: 99/11=9 Moving to Node #0,0,0 Current State: 47:[11, 33], Operations: ['80-14=66', '99-66=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[66, 9], Operations: ['80-14=66', '99/11=9'] Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[66, 88], Operations: ['80-14=66', '99-11=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,47 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
[ 36, 5, 32, 23 ]
95
[ "36-32=4", "23-4=19", "5*19=95" ]
Current State: 95:[36, 5, 32, 23], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [5, 23, 4] Generated Node #2: [5, 23, 4] from Operation: 36-32=4 Current State: 95:[5, 23, 4], Operations: ['36-32=4'] Exploring Operation: 23-4=19, Resulting Numbers: [5, 19] Generated Node #3: [5, 19] from Operation: 23-4=19 Current State: 95:[5, 19], Operations: ['36-32=4', '23-4=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[36, 5, 32, 23], Operations: [] Exploring Operation: 36-23=13, Resulting Numbers: [5, 32, 13] Generated Node #0,0: 95:[5, 32, 13] Operation: 36-23=13 Exploring Operation: 36-5=31, Resulting Numbers: [32, 23, 31] Generated Node #0,1: 95:[32, 23, 31] Operation: 36-5=31 Exploring Operation: 36-32=4, Resulting Numbers: [5, 23, 4] Generated Node #0,2: 95:[5, 23, 4] Operation: 36-32=4 Exploring Operation: 32-23=9, Resulting Numbers: [36, 5, 9] Generated Node #0,3: 95:[36, 5, 9] Operation: 32-23=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[5, 23, 4], Operations: ['36-32=4'] Exploring Operation: 5*4=20, Resulting Numbers: [23, 20] Generated Node #0,2,0: 95:[23, 20] Operation: 5*4=20 Exploring Operation: 23*4=92, Resulting Numbers: [5, 92] Generated Node #0,2,1: 95:[5, 92] Operation: 23*4=92 Exploring Operation: 23-5=18, Resulting Numbers: [4, 18] Generated Node #0,2,2: 95:[4, 18] Operation: 23-5=18 Exploring Operation: 23-4=19, Resulting Numbers: [5, 19] Generated Node #0,2,3: 95:[5, 19] Operation: 23-4=19 Moving to Node #0,2,3 Current State: 95:[5, 19], Operations: ['36-32=4', '23-4=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[36, 5, 32, 23], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [5, 23, 4] Generated Node #0,2: 95:[5, 23, 4] Operation: 36-32=4 Moving to Node #0,2 Current State: 95:[5, 23, 4], Operations: ['36-32=4'] Exploring Operation: 23-4=19, Resulting Numbers: [5, 19] Generated Node #0,2,3: 95:[5, 19] Operation: 23-4=19 Moving to Node #0,2,3 Current State: 95:[5, 19], Operations: ['36-32=4', '23-4=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 72, 94, 33, 28 ]
70
[ "94-28=66", "66/33=2", "72-2=70" ]
Current State: 70:[72, 94, 33, 28], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [72, 33, 66] Generated Node #2: [72, 33, 66] from Operation: 94-28=66 Current State: 70:[72, 33, 66], Operations: ['94-28=66'] Exploring Operation: 66/33=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 66/33=2 Current State: 70:[72, 2], Operations: ['94-28=66', '66/33=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[72, 94, 33, 28], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [33, 28, 22] Generated Node #0,0: 70:[33, 28, 22] Operation: 94-72=22 Exploring Operation: 94-33=61, Resulting Numbers: [72, 28, 61] Generated Node #0,1: 70:[72, 28, 61] Operation: 94-33=61 Exploring Operation: 94-28=66, Resulting Numbers: [72, 33, 66] Generated Node #0,2: 70:[72, 33, 66] Operation: 94-28=66 Moving to Node #0,2 Current State: 70:[72, 33, 66], Operations: ['94-28=66'] Exploring Operation: 72-66=6, Resulting Numbers: [33, 6] Generated Node #0,2,0: 70:[33, 6] Operation: 72-66=6 Exploring Operation: 66/33=2, Resulting Numbers: [72, 2] Generated Node #0,2,1: 70:[72, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [72, 33] Generated Node #0,2,2: 70:[72, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[72, 2], Operations: ['94-28=66', '66/33=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[72, 94, 33, 28], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [72, 33, 66] Generated Node #0,2: 70:[72, 33, 66] Operation: 94-28=66 Moving to Node #0,2 Current State: 70:[72, 33, 66], Operations: ['94-28=66'] Exploring Operation: 66/33=2, Resulting Numbers: [72, 2] Generated Node #0,2,1: 70:[72, 2] Operation: 66/33=2 Moving to Node #0,2,1 Current State: 70:[72, 2], Operations: ['94-28=66', '66/33=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 25, 76, 61 ]
85
[ "75+25=100", "76-61=15", "100-15=85" ]
Current State: 85:[75, 25, 76, 61], Operations: [] Exploring Operation: 75+25=100, Resulting Numbers: [76, 61, 100] Generated Node #2: [76, 61, 100] from Operation: 75+25=100 Current State: 85:[76, 61, 100], Operations: ['75+25=100'] Exploring Operation: 76-61=15, Resulting Numbers: [100, 15] Generated Node #3: [100, 15] from Operation: 76-61=15 Current State: 85:[100, 15], Operations: ['75+25=100', '76-61=15'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[75, 25, 76, 61], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [25, 76, 14] Generated Node #0,0: 85:[25, 76, 14] Operation: 75-61=14 Exploring Operation: 76-61=15, Resulting Numbers: [75, 25, 15] Generated Node #0,1: 85:[75, 25, 15] Operation: 76-61=15 Exploring Operation: 25+61=86, Resulting Numbers: [75, 76, 86] Generated Node #0,2: 85:[75, 76, 86] Operation: 25+61=86 Moving to Node #0,0 Current State: 85:[25, 76, 14], Operations: ['75-61=14'] Exploring Operation: 25-14=11, Resulting Numbers: [76, 11] Generated Node #0,0,0: 85:[76, 11] Operation: 25-14=11 Exploring Operation: 76+14=90, Resulting Numbers: [25, 90] Generated Node #0,0,1: 85:[25, 90] Operation: 76+14=90 Exploring Operation: 25+76=101, Resulting Numbers: [14, 101] Generated Node #0,0,2: 85:[14, 101] Operation: 25+76=101 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[25, 90], Operations: ['75-61=14', '76+14=90'] Exploring Operation: 25+90=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 25*90=2250, Resulting Numbers: [2250] 2250,85 unequal: No Solution No 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: 85:[76, 11], Operations: ['75-61=14', '25-14=11'] Exploring Operation: 76*11=836, Resulting Numbers: [836] 836,85 unequal: No Solution Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,85 unequal: No Solution No 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: 85:[14, 101], Operations: ['75-61=14', '25+76=101'] Exploring Operation: 101-14=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 14+101=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 14*101=1414, Resulting Numbers: [1414] 1414,85 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: 85:[75, 25, 15], Operations: ['76-61=15'] Exploring Operation: 75/25=3, Resulting Numbers: [15, 3] Generated Node #0,1,0: 85:[15, 3] Operation: 75/25=3 Exploring Operation: 75/15=5, Resulting Numbers: [25, 5] Generated Node #0,1,1: 85:[25, 5] Operation: 75/15=5 Exploring Operation: 75+15=90, Resulting Numbers: [25, 90] Generated Node #0,1,2: 85:[25, 90] Operation: 75+15=90 Moving to Node #0,2 Current State: 85:[75, 76, 86], Operations: ['25+61=86'] Exploring Operation: 86-76=10, Resulting Numbers: [75, 10] Generated Node #0,2,0: 85:[75, 10] Operation: 86-76=10 Exploring Operation: 86-75=11, Resulting Numbers: [76, 11] Generated Node #0,2,1: 85:[76, 11] Operation: 86-75=11 Exploring Operation: 76-75=1, Resulting Numbers: [86, 1] Generated Node #0,2,2: 85:[86, 1] Operation: 76-75=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[86, 1], Operations: ['25+61=86', '76-75=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[75, 25, 76, 61], Operations: [] Exploring Operation: 25+61=86, Resulting Numbers: [75, 76, 86] Generated Node #0,2: 85:[75, 76, 86] Operation: 25+61=86 Moving to Node #0,2 Current State: 85:[75, 76, 86], Operations: ['25+61=86'] Exploring Operation: 76-75=1, Resulting Numbers: [86, 1] Generated Node #0,2,2: 85:[86, 1] Operation: 76-75=1 Moving to Node #0,2,2 Current State: 85:[86, 1], Operations: ['25+61=86', '76-75=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 77, 22, 38, 76 ]
66
[ "22*38=836", "836/76=11", "77-11=66" ]
Current State: 66:[77, 22, 38, 76], Operations: [] Exploring Operation: 22*38=836, Resulting Numbers: [77, 76, 836] Generated Node #2: [77, 76, 836] from Operation: 22*38=836 Current State: 66:[77, 76, 836], Operations: ['22*38=836'] Exploring Operation: 836/76=11, Resulting Numbers: [77, 11] Generated Node #3: [77, 11] from Operation: 836/76=11 Current State: 66:[77, 11], Operations: ['22*38=836', '836/76=11'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[77, 22, 38, 76], Operations: [] Exploring Operation: 77-76=1, Resulting Numbers: [22, 38, 1] Generated Node #0,0: 66:[22, 38, 1] Operation: 77-76=1 Exploring Operation: 76/38=2, Resulting Numbers: [77, 22, 2] Generated Node #0,1: 66:[77, 22, 2] Operation: 76/38=2 Exploring Operation: 77-38=39, Resulting Numbers: [22, 76, 39] Generated Node #0,2: 66:[22, 76, 39] Operation: 77-38=39 Exploring Operation: 76-38=38, Resulting Numbers: [77, 22, 38] Generated Node #0,3: 66:[77, 22, 38] Operation: 76-38=38 Moving to Node #0,0 Current State: 66:[22, 38, 1], Operations: ['77-76=1'] Exploring Operation: 22/1=22, Resulting Numbers: [38, 22] Generated Node #0,0,0: 66:[38, 22] Operation: 22/1=22 Exploring Operation: 22*1=22, Resulting Numbers: [38, 22] Generated Node #0,0,1: 66:[38, 22] Operation: 22*1=22 Exploring Operation: 38*1=38, Resulting Numbers: [22, 38] Generated Node #0,0,2: 66:[22, 38] Operation: 38*1=38 Exploring Operation: 38-1=37, Resulting Numbers: [22, 37] Generated Node #0,0,3: 66:[22, 37] Operation: 38-1=37 Moving to Node #0,1 Current State: 66:[77, 22, 2], Operations: ['76/38=2'] Exploring Operation: 77-2=75, Resulting Numbers: [22, 75] Generated Node #0,1,0: 66:[22, 75] Operation: 77-2=75 Exploring Operation: 22/2=11, Resulting Numbers: [77, 11] Generated Node #0,1,1: 66:[77, 11] Operation: 22/2=11 Exploring Operation: 77-22=55, Resulting Numbers: [2, 55] Generated Node #0,1,2: 66:[2, 55] Operation: 77-22=55 Exploring Operation: 77+2=79, Resulting Numbers: [22, 79] Generated Node #0,1,3: 66:[22, 79] Operation: 77+2=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[22, 75], Operations: ['76/38=2', '77-2=75'] Exploring Operation: 22+75=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 22*75=1650, Resulting Numbers: [1650] 1650,66 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,66 unequal: No Solution No 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: 66:[77, 11], Operations: ['76/38=2', '22/2=11'] Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,66 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[77, 22, 38, 76], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [77, 22, 2] Generated Node #0,1: 66:[77, 22, 2] Operation: 76/38=2 Moving to Node #0,1 Current State: 66:[77, 22, 2], Operations: ['76/38=2'] Exploring Operation: 22/2=11, Resulting Numbers: [77, 11] Generated Node #0,1,1: 66:[77, 11] Operation: 22/2=11 Moving to Node #0,1,1 Current State: 66:[77, 11], Operations: ['76/38=2', '22/2=11'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 48, 8, 84, 39 ]
25
[ "48/8=6", "84/6=14", "39-14=25" ]
Current State: 25:[48, 8, 84, 39], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [84, 39, 6] Generated Node #2: [84, 39, 6] from Operation: 48/8=6 Current State: 25:[84, 39, 6], Operations: ['48/8=6'] Exploring Operation: 84/6=14, Resulting Numbers: [39, 14] Generated Node #3: [39, 14] from Operation: 84/6=14 Current State: 25:[39, 14], Operations: ['48/8=6', '84/6=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[48, 8, 84, 39], Operations: [] Exploring Operation: 84-39=45, Resulting Numbers: [48, 8, 45] Generated Node #0,0: 25:[48, 8, 45] Operation: 84-39=45 Exploring Operation: 84-48=36, Resulting Numbers: [8, 39, 36] Generated Node #0,1: 25:[8, 39, 36] Operation: 84-48=36 Exploring Operation: 48-39=9, Resulting Numbers: [8, 84, 9] Generated Node #0,2: 25:[8, 84, 9] Operation: 48-39=9 Moving to Node #0,1 Current State: 25:[8, 39, 36], Operations: ['84-48=36'] Exploring Operation: 39-36=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 25:[8, 3] Operation: 39-36=3 Exploring Operation: 36-8=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 25:[39, 28] Operation: 36-8=28 Exploring Operation: 39-8=31, Resulting Numbers: [36, 31] Generated Node #0,1,2: 25:[36, 31] Operation: 39-8=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[8, 3], Operations: ['84-48=36', '39-36=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[39, 28], Operations: ['84-48=36', '36-8=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,25 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[36, 31], Operations: ['84-48=36', '39-8=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,25 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,25 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: 25:[48, 8, 45], Operations: ['84-39=45'] Exploring Operation: 48-45=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 25:[8, 3] Operation: 48-45=3 Exploring Operation: 48/8=6, Resulting Numbers: [45, 6] Generated Node #0,0,1: 25:[45, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [45, 40] Generated Node #0,0,2: 25:[45, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[8, 3], Operations: ['84-39=45', '48-45=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[45, 6], Operations: ['84-39=45', '48/8=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,25 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[45, 40], Operations: ['84-39=45', '48-8=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,25 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: 25:[8, 84, 9], Operations: ['48-39=9'] Exploring Operation: 84-8=76, Resulting Numbers: [9, 76] Generated Node #0,2,0: 25:[9, 76] Operation: 84-8=76 Exploring Operation: 84-9=75, Resulting Numbers: [8, 75] Generated Node #0,2,1: 25:[8, 75] Operation: 84-9=75 Exploring Operation: 9-8=1, Resulting Numbers: [84, 1] Generated Node #0,2,2: 25:[84, 1] Operation: 9-8=1 Moving to Node #0,2,1 Current State: 25:[8, 75], Operations: ['48-39=9', '84-9=75'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 8*75=600, Resulting Numbers: [600] 600,25 unequal: No Solution Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[9, 76], Operations: ['48-39=9', '84-8=76'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[84, 1], Operations: ['48-39=9', '9-8=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,25 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 64, 68, 66, 82 ]
73
[ "64+82=146", "68-66=2", "146/2=73" ]
Current State: 73:[64, 68, 66, 82], Operations: [] Exploring Operation: 64+82=146, Resulting Numbers: [68, 66, 146] Generated Node #2: [68, 66, 146] from Operation: 64+82=146 Current State: 73:[68, 66, 146], Operations: ['64+82=146'] Exploring Operation: 68-66=2, Resulting Numbers: [146, 2] Generated Node #3: [146, 2] from Operation: 68-66=2 Current State: 73:[146, 2], Operations: ['64+82=146', '68-66=2'] Exploring Operation: 146/2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[64, 68, 66, 82], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [64, 66, 14] Generated Node #0,0: 73:[64, 66, 14] Operation: 82-68=14 Exploring Operation: 82-66=16, Resulting Numbers: [64, 68, 16] Generated Node #0,1: 73:[64, 68, 16] Operation: 82-66=16 Exploring Operation: 64+66=130, Resulting Numbers: [68, 82, 130] Generated Node #0,2: 73:[68, 82, 130] Operation: 64+66=130 Exploring Operation: 64+68=132, Resulting Numbers: [66, 82, 132] Generated Node #0,3: 73:[66, 82, 132] Operation: 64+68=132 Exploring Operation: 82-64=18, Resulting Numbers: [68, 66, 18] Generated Node #0,4: 73:[68, 66, 18] Operation: 82-64=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[68, 66, 18], Operations: ['82-64=18'] Exploring Operation: 68-18=50, Resulting Numbers: [66, 50] Generated Node #0,4,0: 73:[66, 50] Operation: 68-18=50 Exploring Operation: 66-18=48, Resulting Numbers: [68, 48] Generated Node #0,4,1: 73:[68, 48] Operation: 66-18=48 Exploring Operation: 68+18=86, Resulting Numbers: [66, 86] Generated Node #0,4,2: 73:[66, 86] Operation: 68+18=86 Exploring Operation: 66+18=84, Resulting Numbers: [68, 84] Generated Node #0,4,3: 73:[68, 84] Operation: 66+18=84 Exploring Operation: 68+66=134, Resulting Numbers: [18, 134] Generated Node #0,4,4: 73:[18, 134] Operation: 68+66=134 Moving to Node #0,4,3 Current State: 73:[68, 84], Operations: ['82-64=18', '66+18=84'] Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 68*84=5712, Resulting Numbers: [5712] 5712,73 unequal: No Solution Exploring Operation: 68+84=152, Resulting Numbers: [152] 152,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[66, 86], Operations: ['82-64=18', '68+18=86'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,73 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[66, 50], Operations: ['82-64=18', '68-18=50'] Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,73 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[68, 48], Operations: ['82-64=18', '66-18=48'] Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,73 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[18, 134], Operations: ['82-64=18', '68+66=134'] Exploring Operation: 134-18=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 18+134=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 18*134=2412, Resulting Numbers: [2412] 2412,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[64, 68, 16], Operations: ['82-66=16'] Exploring Operation: 64-16=48, Resulting Numbers: [68, 48] Generated Node #0,1,0: 73:[68, 48] Operation: 64-16=48 Exploring Operation: 64+16=80, Resulting Numbers: [68, 80] Generated Node #0,1,1: 73:[68, 80] Operation: 64+16=80 Exploring Operation: 68-16=52, Resulting Numbers: [64, 52] Generated Node #0,1,2: 73:[64, 52] Operation: 68-16=52 Exploring Operation: 68+16=84, Resulting Numbers: [64, 84] Generated Node #0,1,3: 73:[64, 84] Operation: 68+16=84 Exploring Operation: 64/16=4, Resulting Numbers: [68, 4] Generated Node #0,1,4: 73:[68, 4] Operation: 64/16=4 Moving to Node #0,1,1 Current State: 73:[68, 80], Operations: ['82-66=16', '64+16=80'] Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,73 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[64, 84], Operations: ['82-66=16', '68+16=84'] Exploring Operation: 64+84=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 64*84=5376, Resulting Numbers: [5376] 5376,73 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[68, 48], Operations: ['82-66=16', '64-16=48'] Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[64, 52], Operations: ['82-66=16', '68-16=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[68, 4], Operations: ['82-66=16', '64/16=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,73 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,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,2 Current State: 73:[68, 82, 130], Operations: ['64+66=130'] Exploring Operation: 68+130=198, Resulting Numbers: [82, 198] Generated Node #0,2,0: 73:[82, 198] Operation: 68+130=198 Exploring Operation: 130-68=62, Resulting Numbers: [82, 62] Generated Node #0,2,1: 73:[82, 62] Operation: 130-68=62 Exploring Operation: 68+82=150, Resulting Numbers: [130, 150] Generated Node #0,2,2: 73:[130, 150] Operation: 68+82=150 Exploring Operation: 82-68=14, Resulting Numbers: [130, 14] Generated Node #0,2,3: 73:[130, 14] Operation: 82-68=14 Exploring Operation: 130-82=48, Resulting Numbers: [68, 48] Generated Node #0,2,4: 73:[68, 48] Operation: 130-82=48 Moving to Node #0,2,1 Current State: 73:[82, 62], Operations: ['64+66=130', '130-68=62'] Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[68, 48], Operations: ['64+66=130', '130-82=48'] Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,73 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[130, 14], Operations: ['64+66=130', '82-68=14'] Exploring Operation: 130-14=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 130+14=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 130*14=1820, Resulting Numbers: [1820] 1820,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[82, 198], Operations: ['64+66=130', '68+130=198'] Exploring Operation: 198-82=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 82*198=16236, Resulting Numbers: [16236] 16236,73 unequal: No Solution Exploring Operation: 82+198=280, Resulting Numbers: [280] 280,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[130, 150], Operations: ['64+66=130', '68+82=150'] Exploring Operation: 150-130=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 130+150=280, Resulting Numbers: [280] 280,73 unequal: No Solution Exploring Operation: 130*150=19500, Resulting Numbers: [19500] 19500,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,0 Current State: 73:[64, 66, 14], Operations: ['82-68=14'] Exploring Operation: 64+14=78, Resulting Numbers: [66, 78] Generated Node #0,0,0: 73:[66, 78] Operation: 64+14=78 Exploring Operation: 66-14=52, Resulting Numbers: [64, 52] Generated Node #0,0,1: 73:[64, 52] Operation: 66-14=52 Exploring Operation: 64+66=130, Resulting Numbers: [14, 130] Generated Node #0,0,2: 73:[14, 130] Operation: 64+66=130 Exploring Operation: 64-14=50, Resulting Numbers: [66, 50] Generated Node #0,0,3: 73:[66, 50] Operation: 64-14=50 Exploring Operation: 66+14=80, Resulting Numbers: [64, 80] Generated Node #0,0,4: 73:[64, 80] Operation: 66+14=80 Moving to Node #0,0,0 Current State: 73:[66, 78], Operations: ['82-68=14', '64+14=78'] Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,73 unequal: No Solution Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[64, 80], Operations: ['82-68=14', '66+14=80'] Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,73 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[64, 52], Operations: ['82-68=14', '66-14=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[66, 50], Operations: ['82-68=14', '64-14=50'] Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,73 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[14, 130], Operations: ['82-68=14', '64+66=130'] Exploring Operation: 14+130=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 130-14=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 14*130=1820, Resulting Numbers: [1820] 1820,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[66, 82, 132], Operations: ['64+68=132'] Exploring Operation: 132/66=2, Resulting Numbers: [82, 2] Generated Node #0,3,0: 73:[82, 2] Operation: 132/66=2 Exploring Operation: 132-66=66, Resulting Numbers: [82, 66] Generated Node #0,3,1: 73:[82, 66] Operation: 132-66=66 Exploring Operation: 66+82=148, Resulting Numbers: [132, 148] Generated Node #0,3,2: 73:[132, 148] Operation: 66+82=148 Exploring Operation: 132-82=50, Resulting Numbers: [66, 50] Generated Node #0,3,3: 73:[66, 50] Operation: 132-82=50 Exploring Operation: 82-66=16, Resulting Numbers: [132, 16] Generated Node #0,3,4: 73:[132, 16] Operation: 82-66=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[82, 66], Operations: ['64+68=132', '132-66=66'] Exploring Operation: 82*66=5412, Resulting Numbers: [5412] 5412,73 unequal: No Solution Exploring Operation: 82+66=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,73 unequal: No Solution No 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: 73:[66, 50], Operations: ['64+68=132', '132-82=50'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,73 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,73 unequal: No Solution No 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: 73:[82, 2], Operations: ['64+68=132', '132/66=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,73 unequal: No Solution No 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: 73:[132, 16], Operations: ['64+68=132', '82-66=16'] Exploring Operation: 132+16=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 132*16=2112, Resulting Numbers: [2112] 2112,73 unequal: No Solution Exploring Operation: 132-16=116, Resulting Numbers: [116] 116,73 unequal: No Solution No 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: 73:[132, 148], Operations: ['64+68=132', '66+82=148'] Exploring Operation: 148-132=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 132*148=19536, Resulting Numbers: [19536] 19536,73 unequal: No Solution Exploring Operation: 132+148=280, Resulting Numbers: [280] 280,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 68, 67, 90 ]
47
[ "2+68=70", "90-67=23", "70-23=47" ]
Current State: 47:[2, 68, 67, 90], Operations: [] Exploring Operation: 2+68=70, Resulting Numbers: [67, 90, 70] Generated Node #2: [67, 90, 70] from Operation: 2+68=70 Current State: 47:[67, 90, 70], Operations: ['2+68=70'] Exploring Operation: 90-67=23, Resulting Numbers: [70, 23] Generated Node #3: [70, 23] from Operation: 90-67=23 Current State: 47:[70, 23], Operations: ['2+68=70', '90-67=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[2, 68, 67, 90], Operations: [] Exploring Operation: 68-2=66, Resulting Numbers: [67, 90, 66] Generated Node #0,0: 47:[67, 90, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [67, 90, 34] Generated Node #0,1: 47:[67, 90, 34] Operation: 68/2=34 Exploring Operation: 90/2=45, Resulting Numbers: [68, 67, 45] Generated Node #0,2: 47:[68, 67, 45] Operation: 90/2=45 Exploring Operation: 67-2=65, Resulting Numbers: [68, 90, 65] Generated Node #0,3: 47:[68, 90, 65] Operation: 67-2=65 Moving to Node #0,2 Current State: 47:[68, 67, 45], Operations: ['90/2=45'] Exploring Operation: 67-45=22, Resulting Numbers: [68, 22] Generated Node #0,2,0: 47:[68, 22] Operation: 67-45=22 Exploring Operation: 68-67=1, Resulting Numbers: [45, 1] Generated Node #0,2,1: 47:[45, 1] Operation: 68-67=1 Exploring Operation: 68-45=23, Resulting Numbers: [67, 23] Generated Node #0,2,2: 47:[67, 23] Operation: 68-45=23 Exploring Operation: 68+45=113, Resulting Numbers: [67, 113] Generated Node #0,2,3: 47:[67, 113] Operation: 68+45=113 Moving to Node #0,1 Current State: 47:[67, 90, 34], Operations: ['68/2=34'] Exploring Operation: 90-67=23, Resulting Numbers: [34, 23] Generated Node #0,1,0: 47:[34, 23] Operation: 90-67=23 Exploring Operation: 90-34=56, Resulting Numbers: [67, 56] Generated Node #0,1,1: 47:[67, 56] Operation: 90-34=56 Exploring Operation: 67+34=101, Resulting Numbers: [90, 101] Generated Node #0,1,2: 47:[90, 101] Operation: 67+34=101 Exploring Operation: 67-34=33, Resulting Numbers: [90, 33] Generated Node #0,1,3: 47:[90, 33] Operation: 67-34=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[67, 56], Operations: ['68/2=34', '90-34=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,47 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[34, 23], Operations: ['68/2=34', '90-67=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[90, 33], Operations: ['68/2=34', '67-34=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,47 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[90, 101], Operations: ['68/2=34', '67+34=101'] Exploring Operation: 101-90=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 90*101=9090, Resulting Numbers: [9090] 9090,47 unequal: No Solution Exploring Operation: 90+101=191, Resulting Numbers: [191] 191,47 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: 47:[68, 90, 65], Operations: ['67-2=65'] Exploring Operation: 90-68=22, Resulting Numbers: [65, 22] Generated Node #0,3,0: 47:[65, 22] Operation: 90-68=22 Exploring Operation: 68+90=158, Resulting Numbers: [65, 158] Generated Node #0,3,1: 47:[65, 158] Operation: 68+90=158 Exploring Operation: 68-65=3, Resulting Numbers: [90, 3] Generated Node #0,3,2: 47:[90, 3] Operation: 68-65=3 Exploring Operation: 90-65=25, Resulting Numbers: [68, 25] Generated Node #0,3,3: 47:[68, 25] Operation: 90-65=25 Moving to Node #0,0 Current State: 47:[67, 90, 66], Operations: ['68-2=66'] Exploring Operation: 90-67=23, Resulting Numbers: [66, 23] Generated Node #0,0,0: 47:[66, 23] Operation: 90-67=23 Exploring Operation: 67-66=1, Resulting Numbers: [90, 1] Generated Node #0,0,1: 47:[90, 1] Operation: 67-66=1 Exploring Operation: 90-66=24, Resulting Numbers: [67, 24] Generated Node #0,0,2: 47:[67, 24] Operation: 90-66=24 Exploring Operation: 67+90=157, Resulting Numbers: [66, 157] Generated Node #0,0,3: 47:[66, 157] Operation: 67+90=157 Moving to Node #0,3,0 Current State: 47:[65, 22], Operations: ['67-2=65', '90-68=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[68, 25], Operations: ['67-2=65', '90-65=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[66, 23], Operations: ['68-2=66', '90-67=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,47 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[67, 24], Operations: ['68-2=66', '90-66=24'] Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,47 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[67, 23], Operations: ['90/2=45', '68-45=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,47 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[68, 22], Operations: ['90/2=45', '67-45=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,47 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[45, 1], Operations: ['90/2=45', '68-67=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[67, 113], Operations: ['90/2=45', '68+45=113'] Exploring Operation: 113-67=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 67+113=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 67*113=7571, Resulting Numbers: [7571] 7571,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[90, 3], Operations: ['67-2=65', '68-65=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[90, 1], Operations: ['68-2=66', '67-66=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[65, 158], Operations: ['67-2=65', '68+90=158'] Exploring Operation: 65+158=223, Resulting Numbers: [223] 223,47 unequal: No Solution Exploring Operation: 65*158=10270, Resulting Numbers: [10270] 10270,47 unequal: No Solution Exploring Operation: 158-65=93, Resulting Numbers: [93] 93,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[66, 157], Operations: ['68-2=66', '67+90=157'] Exploring Operation: 157-66=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 66+157=223, Resulting Numbers: [223] 223,47 unequal: No Solution Exploring Operation: 66*157=10362, Resulting Numbers: [10362] 10362,47 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 38, 93, 76, 84 ]
47
[ "93-38=55", "84-76=8", "55-8=47" ]
Current State: 47:[38, 93, 76, 84], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [76, 84, 55] Generated Node #2: [76, 84, 55] from Operation: 93-38=55 Current State: 47:[76, 84, 55], Operations: ['93-38=55'] Exploring Operation: 84-76=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 84-76=8 Current State: 47:[55, 8], Operations: ['93-38=55', '84-76=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[38, 93, 76, 84], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [76, 84, 55] Generated Node #0,0: 47:[76, 84, 55] Operation: 93-38=55 Moving to Node #0,0 Current State: 47:[76, 84, 55], Operations: ['93-38=55'] Exploring Operation: 84-76=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 47:[55, 8] Operation: 84-76=8 Moving to Node #0,0,0 Current State: 47:[55, 8], Operations: ['93-38=55', '84-76=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[38, 93, 76, 84], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [76, 84, 55] Generated Node #0,0: 47:[76, 84, 55] Operation: 93-38=55 Moving to Node #0,0 Current State: 47:[76, 84, 55], Operations: ['93-38=55'] Exploring Operation: 84-76=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 47:[55, 8] Operation: 84-76=8 Moving to Node #0,0,0 Current State: 47:[55, 8], Operations: ['93-38=55', '84-76=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 49, 77, 21, 10 ]
39
[ "77-49=28", "21-10=11", "28+11=39" ]
Current State: 39:[49, 77, 21, 10], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [21, 10, 28] Generated Node #2: [21, 10, 28] from Operation: 77-49=28 Current State: 39:[21, 10, 28], Operations: ['77-49=28'] Exploring Operation: 21-10=11, Resulting Numbers: [28, 11] Generated Node #3: [28, 11] from Operation: 21-10=11 Current State: 39:[28, 11], Operations: ['77-49=28', '21-10=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[49, 77, 21, 10], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [77, 21, 39] Generated Node #0,0: 39:[77, 21, 39] Operation: 49-10=39 Exploring Operation: 77-21=56, Resulting Numbers: [49, 10, 56] Generated Node #0,1: 39:[49, 10, 56] Operation: 77-21=56 Exploring Operation: 21-10=11, Resulting Numbers: [49, 77, 11] Generated Node #0,2: 39:[49, 77, 11] Operation: 21-10=11 Exploring Operation: 77-10=67, Resulting Numbers: [49, 21, 67] Generated Node #0,3: 39:[49, 21, 67] Operation: 77-10=67 Exploring Operation: 77-49=28, Resulting Numbers: [21, 10, 28] Generated Node #0,4: 39:[21, 10, 28] Operation: 77-49=28 Moving to Node #0,4 Current State: 39:[21, 10, 28], Operations: ['77-49=28'] Exploring Operation: 28-10=18, Resulting Numbers: [21, 18] Generated Node #0,4,0: 39:[21, 18] Operation: 28-10=18 Exploring Operation: 10+28=38, Resulting Numbers: [21, 38] Generated Node #0,4,1: 39:[21, 38] Operation: 10+28=38 Exploring Operation: 21-10=11, Resulting Numbers: [28, 11] Generated Node #0,4,2: 39:[28, 11] Operation: 21-10=11 Exploring Operation: 28-21=7, Resulting Numbers: [10, 7] Generated Node #0,4,3: 39:[10, 7] Operation: 28-21=7 Exploring Operation: 21+28=49, Resulting Numbers: [10, 49] Generated Node #0,4,4: 39:[10, 49] Operation: 21+28=49 Moving to Node #0,1 Current State: 39:[49, 10, 56], Operations: ['77-21=56'] Exploring Operation: 56-10=46, Resulting Numbers: [49, 46] Generated Node #0,1,0: 39:[49, 46] Operation: 56-10=46 Exploring Operation: 49-10=39, Resulting Numbers: [56, 39] Generated Node #0,1,1: 39:[56, 39] Operation: 49-10=39 Exploring Operation: 56-49=7, Resulting Numbers: [10, 7] Generated Node #0,1,2: 39:[10, 7] Operation: 56-49=7 Exploring Operation: 49+10=59, Resulting Numbers: [56, 59] Generated Node #0,1,3: 39:[56, 59] Operation: 49+10=59 Exploring Operation: 10+56=66, Resulting Numbers: [49, 66] Generated Node #0,1,4: 39:[49, 66] Operation: 10+56=66 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[10, 7], Operations: ['77-21=56', '56-49=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,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,0 Current State: 39:[49, 46], Operations: ['77-21=56', '56-10=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,39 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,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:[56, 39], Operations: ['77-21=56', '49-10=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,39 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,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,3 Current State: 39:[56, 59], Operations: ['77-21=56', '49+10=59'] Exploring Operation: 56*59=3304, Resulting Numbers: [3304] 3304,39 unequal: No Solution Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,39 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,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,4 Current State: 39:[49, 66], Operations: ['77-21=56', '10+56=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,39 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,39 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: 39:[77, 21, 39], Operations: ['49-10=39'] Exploring Operation: 77+21=98, Resulting Numbers: [39, 98] Generated Node #0,0,0: 39:[39, 98] Operation: 77+21=98 Exploring Operation: 21+39=60, Resulting Numbers: [77, 60] Generated Node #0,0,1: 39:[77, 60] Operation: 21+39=60 Exploring Operation: 39-21=18, Resulting Numbers: [77, 18] Generated Node #0,0,2: 39:[77, 18] Operation: 39-21=18 Exploring Operation: 77-21=56, Resulting Numbers: [39, 56] Generated Node #0,0,3: 39:[39, 56] Operation: 77-21=56 Exploring Operation: 77-39=38, Resulting Numbers: [21, 38] Generated Node #0,0,4: 39:[21, 38] Operation: 77-39=38 Moving to Node #0,3 Current State: 39:[49, 21, 67], Operations: ['77-10=67'] Exploring Operation: 67-49=18, Resulting Numbers: [21, 18] Generated Node #0,3,0: 39:[21, 18] Operation: 67-49=18 Exploring Operation: 67-21=46, Resulting Numbers: [49, 46] Generated Node #0,3,1: 39:[49, 46] Operation: 67-21=46 Exploring Operation: 49-21=28, Resulting Numbers: [67, 28] Generated Node #0,3,2: 39:[67, 28] Operation: 49-21=28 Exploring Operation: 49+21=70, Resulting Numbers: [67, 70] Generated Node #0,3,3: 39:[67, 70] Operation: 49+21=70 Exploring Operation: 21+67=88, Resulting Numbers: [49, 88] Generated Node #0,3,4: 39:[49, 88] Operation: 21+67=88 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[21, 18], Operations: ['77-10=67', '67-49=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[49, 77, 21, 10], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [49, 21, 67] Generated Node #0,3: 39:[49, 21, 67] Operation: 77-10=67 Moving to Node #0,3 Current State: 39:[49, 21, 67], Operations: ['77-10=67'] Exploring Operation: 67-49=18, Resulting Numbers: [21, 18] Generated Node #0,3,0: 39:[21, 18] Operation: 67-49=18 Moving to Node #0,3,0 Current State: 39:[21, 18], Operations: ['77-10=67', '67-49=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 34, 3, 35, 56 ]
14
[ "34-3=31", "35-31=4", "56/4=14" ]
Current State: 14:[34, 3, 35, 56], Operations: [] Exploring Operation: 34-3=31, Resulting Numbers: [35, 56, 31] Generated Node #2: [35, 56, 31] from Operation: 34-3=31 Current State: 14:[35, 56, 31], Operations: ['34-3=31'] Exploring Operation: 35-31=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 35-31=4 Current State: 14:[56, 4], Operations: ['34-3=31', '35-31=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[34, 3, 35, 56], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [34, 3, 21] Generated Node #0,0: 14:[34, 3, 21] Operation: 56-35=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[34, 3, 21], Operations: ['56-35=21'] Exploring Operation: 34-21=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 14:[3, 13] Operation: 34-21=13 Moving to Node #0,0,0 Current State: 14:[3, 13], Operations: ['56-35=21', '34-21=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 91, 51, 2 ]
46
[ "4+91=95", "51-2=49", "95-49=46" ]
Current State: 46:[4, 91, 51, 2], Operations: [] Exploring Operation: 4+91=95, Resulting Numbers: [51, 2, 95] Generated Node #2: [51, 2, 95] from Operation: 4+91=95 Current State: 46:[51, 2, 95], Operations: ['4+91=95'] Exploring Operation: 51-2=49, Resulting Numbers: [95, 49] Generated Node #3: [95, 49] from Operation: 51-2=49 Current State: 46:[95, 49], Operations: ['4+91=95', '51-2=49'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[4, 91, 51, 2], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [91, 51, 2] Generated Node #0,0: 46:[91, 51, 2] Operation: 4-2=2 Exploring Operation: 51-4=47, Resulting Numbers: [91, 2, 47] Generated Node #0,1: 46:[91, 2, 47] Operation: 51-4=47 Exploring Operation: 91-4=87, Resulting Numbers: [51, 2, 87] Generated Node #0,2: 46:[51, 2, 87] Operation: 91-4=87 Exploring Operation: 91-51=40, Resulting Numbers: [4, 2, 40] Generated Node #0,3: 46:[4, 2, 40] Operation: 91-51=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[4, 2, 40], Operations: ['91-51=40'] Exploring Operation: 40/2=20, Resulting Numbers: [4, 20] Generated Node #0,3,0: 46:[4, 20] Operation: 40/2=20 Exploring Operation: 4+40=44, Resulting Numbers: [2, 44] Generated Node #0,3,1: 46:[2, 44] Operation: 4+40=44 Exploring Operation: 4/2=2, Resulting Numbers: [40, 2] Generated Node #0,3,2: 46:[40, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [40, 2] Generated Node #0,3,3: 46:[40, 2] Operation: 4-2=2 Moving to Node #0,3,1 Current State: 46:[2, 44], Operations: ['91-51=40', '4+40=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[4, 91, 51, 2], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [4, 2, 40] Generated Node #0,3: 46:[4, 2, 40] Operation: 91-51=40 Moving to Node #0,3 Current State: 46:[4, 2, 40], Operations: ['91-51=40'] Exploring Operation: 4+40=44, Resulting Numbers: [2, 44] Generated Node #0,3,1: 46:[2, 44] Operation: 4+40=44 Moving to Node #0,3,1 Current State: 46:[2, 44], Operations: ['91-51=40', '4+40=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 51, 82, 36, 73 ]
47
[ "82-73=9", "36/9=4", "51-4=47" ]
Current State: 47:[51, 82, 36, 73], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [51, 36, 9] Generated Node #2: [51, 36, 9] from Operation: 82-73=9 Current State: 47:[51, 36, 9], Operations: ['82-73=9'] Exploring Operation: 36/9=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 36/9=4 Current State: 47:[51, 4], Operations: ['82-73=9', '36/9=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[51, 82, 36, 73], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [51, 82, 37] Generated Node #0,0: 47:[51, 82, 37] Operation: 73-36=37 Exploring Operation: 82-36=46, Resulting Numbers: [51, 73, 46] Generated Node #0,1: 47:[51, 73, 46] Operation: 82-36=46 Moving to Node #0,1 Current State: 47:[51, 73, 46], Operations: ['82-36=46'] Exploring Operation: 73-51=22, Resulting Numbers: [46, 22] Generated Node #0,1,0: 47:[46, 22] Operation: 73-51=22 Exploring Operation: 73-46=27, Resulting Numbers: [51, 27] Generated Node #0,1,1: 47:[51, 27] Operation: 73-46=27 Moving to Node #0,0 Current State: 47:[51, 82, 37], Operations: ['73-36=37'] Exploring Operation: 82-51=31, Resulting Numbers: [37, 31] Generated Node #0,0,0: 47:[37, 31] Operation: 82-51=31 Exploring Operation: 82-37=45, Resulting Numbers: [51, 45] Generated Node #0,0,1: 47:[51, 45] Operation: 82-37=45 Moving to Node #0,0,1 Current State: 47:[51, 45], Operations: ['73-36=37', '82-37=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[51, 27], Operations: ['82-36=46', '73-46=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[46, 22], Operations: ['82-36=46', '73-51=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[37, 31], Operations: ['73-36=37', '82-51=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 86, 11, 3, 56 ]
31
[ "86-11=75", "75/3=25", "56-25=31" ]
Current State: 31:[86, 11, 3, 56], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [3, 56, 75] Generated Node #2: [3, 56, 75] from Operation: 86-11=75 Current State: 31:[3, 56, 75], Operations: ['86-11=75'] Exploring Operation: 75/3=25, Resulting Numbers: [56, 25] Generated Node #3: [56, 25] from Operation: 75/3=25 Current State: 31:[56, 25], Operations: ['86-11=75', '75/3=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[86, 11, 3, 56], Operations: [] Exploring Operation: 11*3=33, Resulting Numbers: [86, 56, 33] Generated Node #0,0: 31:[86, 56, 33] Operation: 11*3=33 Exploring Operation: 86-11=75, Resulting Numbers: [3, 56, 75] Generated Node #0,1: 31:[3, 56, 75] Operation: 86-11=75 Exploring Operation: 86-56=30, Resulting Numbers: [11, 3, 30] Generated Node #0,2: 31:[11, 3, 30] Operation: 86-56=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[11, 3, 30], Operations: ['86-56=30'] Exploring Operation: 11+3=14, Resulting Numbers: [30, 14] Generated Node #0,2,0: 31:[30, 14] Operation: 11+3=14 Exploring Operation: 3+30=33, Resulting Numbers: [11, 33] Generated Node #0,2,1: 31:[11, 33] Operation: 3+30=33 Exploring Operation: 11*3=33, Resulting Numbers: [30, 33] Generated Node #0,2,2: 31:[30, 33] Operation: 11*3=33 Moving to Node #0,2,2 Current State: 31:[30, 33], Operations: ['86-56=30', '11*3=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,31 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[30, 14], Operations: ['86-56=30', '11+3=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[11, 33], Operations: ['86-56=30', '3+30=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[86, 56, 33], Operations: ['11*3=33'] Exploring Operation: 56-33=23, Resulting Numbers: [86, 23] Generated Node #0,0,0: 31:[86, 23] Operation: 56-33=23 Exploring Operation: 86-56=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 31:[33, 30] Operation: 86-56=30 Exploring Operation: 86-33=53, Resulting Numbers: [56, 53] Generated Node #0,0,2: 31:[56, 53] Operation: 86-33=53 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[33, 30], Operations: ['11*3=33', '86-56=30'] Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,31 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,31 unequal: No Solution No 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: 31:[56, 53], Operations: ['11*3=33', '86-33=53'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,31 unequal: No Solution Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,31 unequal: No Solution No 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: 31:[86, 23], Operations: ['11*3=33', '56-33=23'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,31 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: 31:[3, 56, 75], Operations: ['86-11=75'] Exploring Operation: 75-56=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 31:[3, 19] Operation: 75-56=19 Exploring Operation: 56-3=53, Resulting Numbers: [75, 53] Generated Node #0,1,1: 31:[75, 53] Operation: 56-3=53 Exploring Operation: 75/3=25, Resulting Numbers: [56, 25] Generated Node #0,1,2: 31:[56, 25] Operation: 75/3=25 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[56, 25], Operations: ['86-11=75', '75/3=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[86, 11, 3, 56], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [3, 56, 75] Generated Node #0,1: 31:[3, 56, 75] Operation: 86-11=75 Moving to Node #0,1 Current State: 31:[3, 56, 75], Operations: ['86-11=75'] Exploring Operation: 75/3=25, Resulting Numbers: [56, 25] Generated Node #0,1,2: 31:[56, 25] Operation: 75/3=25 Moving to Node #0,1,2 Current State: 31:[56, 25], Operations: ['86-11=75', '75/3=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 78, 28, 70, 45 ]
60
[ "28*45=1260", "1260/70=18", "78-18=60" ]
Current State: 60:[78, 28, 70, 45], Operations: [] Exploring Operation: 28*45=1260, Resulting Numbers: [78, 70, 1260] Generated Node #2: [78, 70, 1260] from Operation: 28*45=1260 Current State: 60:[78, 70, 1260], Operations: ['28*45=1260'] Exploring Operation: 1260/70=18, Resulting Numbers: [78, 18] Generated Node #3: [78, 18] from Operation: 1260/70=18 Current State: 60:[78, 18], Operations: ['28*45=1260', '1260/70=18'] Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[78, 28, 70, 45], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [28, 70, 33] Generated Node #0,0: 60:[28, 70, 33] Operation: 78-45=33 Exploring Operation: 78-70=8, Resulting Numbers: [28, 45, 8] Generated Node #0,1: 60:[28, 45, 8] Operation: 78-70=8 Moving to Node #0,0 Current State: 60:[28, 70, 33], Operations: ['78-45=33'] Exploring Operation: 33-28=5, Resulting Numbers: [70, 5] Generated Node #0,0,0: 60:[70, 5] Operation: 33-28=5 Exploring Operation: 70-33=37, Resulting Numbers: [28, 37] Generated Node #0,0,1: 60:[28, 37] Operation: 70-33=37 Moving to Node #0,1 Current State: 60:[28, 45, 8], Operations: ['78-70=8'] Exploring Operation: 45+8=53, Resulting Numbers: [28, 53] Generated Node #0,1,0: 60:[28, 53] Operation: 45+8=53 Exploring Operation: 45-28=17, Resulting Numbers: [8, 17] Generated Node #0,1,1: 60:[8, 17] Operation: 45-28=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[8, 17], Operations: ['78-70=8', '45-28=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[28, 53], Operations: ['78-70=8', '45+8=53'] Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,60 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: 60:[28, 37], Operations: ['78-45=33', '70-33=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[70, 5], Operations: ['78-45=33', '33-28=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,60 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 79, 6, 2 ]
94
[ "79-63=16", "6*16=96", "96-2=94" ]
Current State: 94:[63, 79, 6, 2], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [6, 2, 16] Generated Node #2: [6, 2, 16] from Operation: 79-63=16 Current State: 94:[6, 2, 16], Operations: ['79-63=16'] Exploring Operation: 6*16=96, Resulting Numbers: [2, 96] Generated Node #3: [2, 96] from Operation: 6*16=96 Current State: 94:[2, 96], Operations: ['79-63=16', '6*16=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[63, 79, 6, 2], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [6, 2, 16] Generated Node #0,0: 94:[6, 2, 16] Operation: 79-63=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[6, 2, 16], Operations: ['79-63=16'] Exploring Operation: 6*16=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 6*16=96 Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['79-63=16', '6*16=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[63, 79, 6, 2], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [6, 2, 16] Generated Node #0,0: 94:[6, 2, 16] Operation: 79-63=16 Moving to Node #0,0 Current State: 94:[6, 2, 16], Operations: ['79-63=16'] Exploring Operation: 6*16=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 6*16=96 Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['79-63=16', '6*16=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 29, 2, 55 ]
61
[ "70/2=35", "55-29=26", "35+26=61" ]
Current State: 61:[70, 29, 2, 55], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [29, 55, 35] Generated Node #2: [29, 55, 35] from Operation: 70/2=35 Current State: 61:[29, 55, 35], Operations: ['70/2=35'] Exploring Operation: 55-29=26, Resulting Numbers: [35, 26] Generated Node #3: [35, 26] from Operation: 55-29=26 Current State: 61:[35, 26], Operations: ['70/2=35', '55-29=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[70, 29, 2, 55], Operations: [] Exploring Operation: 29+2=31, Resulting Numbers: [70, 55, 31] Generated Node #0,0: 61:[70, 55, 31] Operation: 29+2=31 Exploring Operation: 2+55=57, Resulting Numbers: [70, 29, 57] Generated Node #0,1: 61:[70, 29, 57] Operation: 2+55=57 Exploring Operation: 29*2=58, Resulting Numbers: [70, 55, 58] Generated Node #0,2: 61:[70, 55, 58] Operation: 29*2=58 Exploring Operation: 70-2=68, Resulting Numbers: [29, 55, 68] Generated Node #0,3: 61:[29, 55, 68] Operation: 70-2=68 Moving to Node #0,2 Current State: 61:[70, 55, 58], Operations: ['29*2=58'] Exploring Operation: 70-58=12, Resulting Numbers: [55, 12] Generated Node #0,2,0: 61:[55, 12] Operation: 70-58=12 Exploring Operation: 55+58=113, Resulting Numbers: [70, 113] Generated Node #0,2,1: 61:[70, 113] Operation: 55+58=113 Exploring Operation: 70-55=15, Resulting Numbers: [58, 15] Generated Node #0,2,2: 61:[58, 15] Operation: 70-55=15 Exploring Operation: 70+55=125, Resulting Numbers: [58, 125] Generated Node #0,2,3: 61:[58, 125] Operation: 70+55=125 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[58, 15], Operations: ['29*2=58', '70-55=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,61 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,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,0 Current State: 61:[55, 12], Operations: ['29*2=58', '70-58=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,61 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,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:[70, 113], Operations: ['29*2=58', '55+58=113'] Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,61 unequal: No Solution Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,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,3 Current State: 61:[58, 125], Operations: ['29*2=58', '70+55=125'] Exploring Operation: 58+125=183, Resulting Numbers: [183] 183,61 unequal: No Solution Exploring Operation: 58*125=7250, Resulting Numbers: [7250] 7250,61 unequal: No Solution Exploring Operation: 125-58=67, Resulting Numbers: [67] 67,61 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: 61:[70, 29, 57], Operations: ['2+55=57'] Exploring Operation: 70+29=99, Resulting Numbers: [57, 99] Generated Node #0,1,0: 61:[57, 99] Operation: 70+29=99 Exploring Operation: 29+57=86, Resulting Numbers: [70, 86] Generated Node #0,1,1: 61:[70, 86] Operation: 29+57=86 Exploring Operation: 70-29=41, Resulting Numbers: [57, 41] Generated Node #0,1,2: 61:[57, 41] Operation: 70-29=41 Exploring Operation: 57-29=28, Resulting Numbers: [70, 28] Generated Node #0,1,3: 61:[70, 28] Operation: 57-29=28 Moving to Node #0,0 Current State: 61:[70, 55, 31], Operations: ['29+2=31'] Exploring Operation: 70+31=101, Resulting Numbers: [55, 101] Generated Node #0,0,0: 61:[55, 101] Operation: 70+31=101 Exploring Operation: 55-31=24, Resulting Numbers: [70, 24] Generated Node #0,0,1: 61:[70, 24] Operation: 55-31=24 Exploring Operation: 55+31=86, Resulting Numbers: [70, 86] Generated Node #0,0,2: 61:[70, 86] Operation: 55+31=86 Exploring Operation: 70-31=39, Resulting Numbers: [55, 39] Generated Node #0,0,3: 61:[55, 39] Operation: 70-31=39 Moving to Node #0,3 Current State: 61:[29, 55, 68], Operations: ['70-2=68'] Exploring Operation: 29+55=84, Resulting Numbers: [68, 84] Generated Node #0,3,0: 61:[68, 84] Operation: 29+55=84 Exploring Operation: 68-29=39, Resulting Numbers: [55, 39] Generated Node #0,3,1: 61:[55, 39] Operation: 68-29=39 Exploring Operation: 55-29=26, Resulting Numbers: [68, 26] Generated Node #0,3,2: 61:[68, 26] Operation: 55-29=26 Exploring Operation: 29+68=97, Resulting Numbers: [55, 97] Generated Node #0,3,3: 61:[55, 97] Operation: 29+68=97 Moving to Node #0,1,2 Current State: 61:[57, 41], Operations: ['2+55=57', '70-29=41'] Exploring Operation: 57+41=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 57*41=2337, Resulting Numbers: [2337] 2337,61 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[55, 39], Operations: ['29+2=31', '70-31=39'] Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[55, 39], Operations: ['70-2=68', '68-29=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[68, 84], Operations: ['70-2=68', '29+55=84'] Exploring Operation: 68*84=5712, Resulting Numbers: [5712] 5712,61 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 68+84=152, Resulting Numbers: [152] 152,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[70, 86], Operations: ['29+2=31', '55+31=86'] Exploring Operation: 70+86=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 70*86=6020, Resulting Numbers: [6020] 6020,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[70, 86], Operations: ['2+55=57', '29+57=86'] Exploring Operation: 70+86=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 70*86=6020, Resulting Numbers: [6020] 6020,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[57, 99], Operations: ['2+55=57', '70+29=99'] Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[55, 97], Operations: ['70-2=68', '29+68=97'] Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 55+97=152, Resulting Numbers: [152] 152,61 unequal: No Solution Exploring Operation: 55*97=5335, Resulting Numbers: [5335] 5335,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[68, 26], Operations: ['70-2=68', '55-29=26'] Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,61 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[70, 28], Operations: ['2+55=57', '57-29=28'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,61 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[70, 24], Operations: ['29+2=31', '55-31=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[55, 101], Operations: ['29+2=31', '70+31=101'] Exploring Operation: 101-55=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 55*101=5555, Resulting Numbers: [5555] 5555,61 unequal: No Solution Exploring Operation: 55+101=156, Resulting Numbers: [156] 156,61 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 9, 99, 87 ]
70
[ "9/3=3", "87/3=29", "99-29=70" ]
Current State: 70:[3, 9, 99, 87], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [99, 87, 3] Generated Node #2: [99, 87, 3] from Operation: 9/3=3 Current State: 70:[99, 87, 3], Operations: ['9/3=3'] Exploring Operation: 87/3=29, Resulting Numbers: [99, 29] Generated Node #3: [99, 29] from Operation: 87/3=29 Current State: 70:[99, 29], Operations: ['9/3=3', '87/3=29'] Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 9, 99, 87], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [3, 87, 11] Generated Node #0,0: 70:[3, 87, 11] Operation: 99/9=11 Exploring Operation: 99-87=12, Resulting Numbers: [3, 9, 12] Generated Node #0,1: 70:[3, 9, 12] Operation: 99-87=12 Moving to Node #0,1 Current State: 70:[3, 9, 12], Operations: ['99-87=12'] Exploring Operation: 3+12=15, Resulting Numbers: [9, 15] Generated Node #0,1,0: 70:[9, 15] Operation: 3+12=15 Exploring Operation: 3*12=36, Resulting Numbers: [9, 36] Generated Node #0,1,1: 70:[9, 36] Operation: 3*12=36 Moving to Node #0,0 Current State: 70:[3, 87, 11], Operations: ['99/9=11'] Exploring Operation: 87-11=76, Resulting Numbers: [3, 76] Generated Node #0,0,0: 70:[3, 76] Operation: 87-11=76 Exploring Operation: 87/3=29, Resulting Numbers: [11, 29] Generated Node #0,0,1: 70:[11, 29] Operation: 87/3=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[3, 76], Operations: ['99/9=11', '87-11=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,70 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,70 unequal: No Solution No 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: 70:[11, 29], Operations: ['99/9=11', '87/3=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 70:[9, 15], Operations: ['99-87=12', '3+12=15'] Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[9, 36], Operations: ['99-87=12', '3*12=36'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 42, 4, 64, 16 ]
58
[ "4*64=256", "256/16=16", "42+16=58" ]
Current State: 58:[42, 4, 64, 16], Operations: [] Exploring Operation: 4*64=256, Resulting Numbers: [42, 16, 256] Generated Node #2: [42, 16, 256] from Operation: 4*64=256 Current State: 58:[42, 16, 256], Operations: ['4*64=256'] Exploring Operation: 256/16=16, Resulting Numbers: [42, 16] Generated Node #3: [42, 16] from Operation: 256/16=16 Current State: 58:[42, 16], Operations: ['4*64=256', '256/16=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[42, 4, 64, 16], Operations: [] Exploring Operation: 16/4=4, Resulting Numbers: [42, 64, 4] Generated Node #0,0: 58:[42, 64, 4] Operation: 16/4=4 Exploring Operation: 42+16=58, Resulting Numbers: [4, 64, 58] Generated Node #0,1: 58:[4, 64, 58] Operation: 42+16=58 Exploring Operation: 64/16=4, Resulting Numbers: [42, 4, 4] Generated Node #0,2: 58:[42, 4, 4] Operation: 64/16=4 Exploring Operation: 42-16=26, Resulting Numbers: [4, 64, 26] Generated Node #0,3: 58:[4, 64, 26] Operation: 42-16=26 Moving to Node #0,1 Current State: 58:[4, 64, 58], Operations: ['42+16=58'] Exploring Operation: 4+58=62, Resulting Numbers: [64, 62] Generated Node #0,1,0: 58:[64, 62] Operation: 4+58=62 Exploring Operation: 64-58=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 58:[4, 6] Operation: 64-58=6 Exploring Operation: 4+64=68, Resulting Numbers: [58, 68] Generated Node #0,1,2: 58:[58, 68] Operation: 4+64=68 Exploring Operation: 64-4=60, Resulting Numbers: [58, 60] Generated Node #0,1,3: 58:[58, 60] Operation: 64-4=60 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[58, 60], Operations: ['42+16=58', '64-4=60'] Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,58 unequal: No Solution Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[4, 6], Operations: ['42+16=58', '64-58=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[64, 62], Operations: ['42+16=58', '4+58=62'] Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,58 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,58 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[58, 68], Operations: ['42+16=58', '4+64=68'] Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,58 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,58 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: 58:[4, 64, 26], Operations: ['42-16=26'] Exploring Operation: 64-4=60, Resulting Numbers: [26, 60] Generated Node #0,3,0: 58:[26, 60] Operation: 64-4=60 Exploring Operation: 4+64=68, Resulting Numbers: [26, 68] Generated Node #0,3,1: 58:[26, 68] Operation: 4+64=68 Exploring Operation: 4+26=30, Resulting Numbers: [64, 30] Generated Node #0,3,2: 58:[64, 30] Operation: 4+26=30 Exploring Operation: 64-26=38, Resulting Numbers: [4, 38] Generated Node #0,3,3: 58:[4, 38] Operation: 64-26=38 Moving to Node #0,2 Current State: 58:[42, 4, 4], Operations: ['64/16=4'] Exploring Operation: 42-4=38, Resulting Numbers: [4, 38] Generated Node #0,2,0: 58:[4, 38] Operation: 42-4=38 Exploring Operation: 42-4=38, Resulting Numbers: [4, 38] Generated Node #0,2,1: 58:[4, 38] Operation: 42-4=38 Exploring Operation: 42+4=46, Resulting Numbers: [4, 46] Generated Node #0,2,2: 58:[4, 46] Operation: 42+4=46 Exploring Operation: 42+4=46, Resulting Numbers: [4, 46] Generated Node #0,2,3: 58:[4, 46] Operation: 42+4=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[4, 38], Operations: ['64/16=4', '42-4=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,58 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,58 unequal: No Solution No 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: 58:[4, 38], Operations: ['64/16=4', '42-4=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[4, 46], Operations: ['64/16=4', '42+4=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[4, 46], Operations: ['64/16=4', '42+4=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,58 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,58 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: 58:[42, 64, 4], Operations: ['16/4=4'] Exploring Operation: 64-42=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 58:[4, 22] Operation: 64-42=22 Exploring Operation: 64-4=60, Resulting Numbers: [42, 60] Generated Node #0,0,1: 58:[42, 60] Operation: 64-4=60 Exploring Operation: 42-4=38, Resulting Numbers: [64, 38] Generated Node #0,0,2: 58:[64, 38] Operation: 42-4=38 Exploring Operation: 42+4=46, Resulting Numbers: [64, 46] Generated Node #0,0,3: 58:[64, 46] Operation: 42+4=46 Moving to Node #0,3,0 Current State: 58:[26, 60], Operations: ['42-16=26', '64-4=60'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,58 unequal: No Solution Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[64, 30], Operations: ['42-16=26', '4+26=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[4, 22], Operations: ['16/4=4', '64-42=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[4, 38], Operations: ['42-16=26', '64-26=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,58 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[26, 68], Operations: ['42-16=26', '4+64=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,58 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[42, 60], Operations: ['16/4=4', '64-4=60'] Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,58 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[64, 38], Operations: ['16/4=4', '42-4=38'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[64, 46], Operations: ['16/4=4', '42+4=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,58 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,58 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 55, 93, 58, 16 ]
36
[ "93-55=38", "58+16=74", "74-38=36" ]
Current State: 36:[55, 93, 58, 16], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [58, 16, 38] Generated Node #2: [58, 16, 38] from Operation: 93-55=38 Current State: 36:[58, 16, 38], Operations: ['93-55=38'] Exploring Operation: 58+16=74, Resulting Numbers: [38, 74] Generated Node #3: [38, 74] from Operation: 58+16=74 Current State: 36:[38, 74], Operations: ['93-55=38', '58+16=74'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[55, 93, 58, 16], Operations: [] Exploring Operation: 93-58=35, Resulting Numbers: [55, 16, 35] Generated Node #0,0: 36:[55, 16, 35] Operation: 93-58=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[55, 16, 35], Operations: ['93-58=35'] Exploring Operation: 55-16=39, Resulting Numbers: [35, 39] Generated Node #0,0,0: 36:[35, 39] Operation: 55-16=39 Moving to Node #0,0,0 Current State: 36:[35, 39], Operations: ['93-58=35', '55-16=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 49, 73, 2 ]
75
[ "97+49=146", "73-2=71", "146-71=75" ]
Current State: 75:[97, 49, 73, 2], Operations: [] Exploring Operation: 97+49=146, Resulting Numbers: [73, 2, 146] Generated Node #2: [73, 2, 146] from Operation: 97+49=146 Current State: 75:[73, 2, 146], Operations: ['97+49=146'] Exploring Operation: 73-2=71, Resulting Numbers: [146, 71] Generated Node #3: [146, 71] from Operation: 73-2=71 Current State: 75:[146, 71], Operations: ['97+49=146', '73-2=71'] Exploring Operation: 146-71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[97, 49, 73, 2], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [97, 2, 24] Generated Node #0,0: 75:[97, 2, 24] Operation: 73-49=24 Exploring Operation: 97-49=48, Resulting Numbers: [73, 2, 48] Generated Node #0,1: 75:[73, 2, 48] Operation: 97-49=48 Moving to Node #0,0 Current State: 75:[97, 2, 24], Operations: ['73-49=24'] Exploring Operation: 97-2=95, Resulting Numbers: [24, 95] Generated Node #0,0,0: 75:[24, 95] Operation: 97-2=95 Exploring Operation: 97-24=73, Resulting Numbers: [2, 73] Generated Node #0,0,1: 75:[2, 73] Operation: 97-24=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[2, 73], Operations: ['73-49=24', '97-24=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[97, 49, 73, 2], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [97, 2, 24] Generated Node #0,0: 75:[97, 2, 24] Operation: 73-49=24 Moving to Node #0,0 Current State: 75:[97, 2, 24], Operations: ['73-49=24'] Exploring Operation: 97-24=73, Resulting Numbers: [2, 73] Generated Node #0,0,1: 75:[2, 73] Operation: 97-24=73 Moving to Node #0,0,1 Current State: 75:[2, 73], Operations: ['73-49=24', '97-24=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 66, 60, 70, 12 ]
91
[ "66+12=78", "70*78=5460", "5460/60=91" ]
Current State: 91:[66, 60, 70, 12], Operations: [] Exploring Operation: 66+12=78, Resulting Numbers: [60, 70, 78] Generated Node #2: [60, 70, 78] from Operation: 66+12=78 Current State: 91:[60, 70, 78], Operations: ['66+12=78'] Exploring Operation: 70*78=5460, Resulting Numbers: [60, 5460] Generated Node #3: [60, 5460] from Operation: 70*78=5460 Current State: 91:[60, 5460], Operations: ['66+12=78', '70*78=5460'] Exploring Operation: 5460/60=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[66, 60, 70, 12], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [60, 12, 4] Generated Node #0,0: 91:[60, 12, 4] Operation: 70-66=4 Exploring Operation: 70-60=10, Resulting Numbers: [66, 12, 10] Generated Node #0,1: 91:[66, 12, 10] Operation: 70-60=10 Exploring Operation: 66-60=6, Resulting Numbers: [70, 12, 6] Generated Node #0,2: 91:[70, 12, 6] Operation: 66-60=6 Moving to Node #0,2 Current State: 91:[70, 12, 6], Operations: ['66-60=6'] Exploring Operation: 70+12=82, Resulting Numbers: [6, 82] Generated Node #0,2,0: 91:[6, 82] Operation: 70+12=82 Exploring Operation: 70+6=76, Resulting Numbers: [12, 76] Generated Node #0,2,1: 91:[12, 76] Operation: 70+6=76 Exploring Operation: 12-6=6, Resulting Numbers: [70, 6] Generated Node #0,2,2: 91:[70, 6] Operation: 12-6=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[6, 82], Operations: ['66-60=6', '70+12=82'] Exploring Operation: 6*82=492, Resulting Numbers: [492] 492,91 unequal: No Solution Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,91 unequal: No Solution No 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: 91:[12, 76], Operations: ['66-60=6', '70+6=76'] Exploring Operation: 12*76=912, Resulting Numbers: [912] 912,91 unequal: No Solution Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,91 unequal: No Solution No 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: 91:[70, 6], Operations: ['66-60=6', '12-6=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,91 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,91 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: 91:[66, 12, 10], Operations: ['70-60=10'] Exploring Operation: 66+10=76, Resulting Numbers: [12, 76] Generated Node #0,1,0: 91:[12, 76] Operation: 66+10=76 Exploring Operation: 12-10=2, Resulting Numbers: [66, 2] Generated Node #0,1,1: 91:[66, 2] Operation: 12-10=2 Exploring Operation: 66+12=78, Resulting Numbers: [10, 78] Generated Node #0,1,2: 91:[10, 78] Operation: 66+12=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[12, 76], Operations: ['70-60=10', '66+10=76'] Exploring Operation: 12*76=912, Resulting Numbers: [912] 912,91 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,91 unequal: No Solution No 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: 91:[10, 78], Operations: ['70-60=10', '66+12=78'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,91 unequal: No Solution No 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: 91:[66, 2], Operations: ['70-60=10', '12-10=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,91 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: 91:[60, 12, 4], Operations: ['70-66=4'] Exploring Operation: 60+12=72, Resulting Numbers: [4, 72] Generated Node #0,0,0: 91:[4, 72] Operation: 60+12=72 Exploring Operation: 60/4=15, Resulting Numbers: [12, 15] Generated Node #0,0,1: 91:[12, 15] Operation: 60/4=15 Exploring Operation: 60/12=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 91:[4, 5] Operation: 60/12=5 Moving to Node #0,0,1 Current State: 91:[12, 15], Operations: ['70-66=4', '60/4=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,91 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[4, 5], Operations: ['70-66=4', '60/12=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[4, 72], Operations: ['70-66=4', '60+12=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,91 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 14, 81, 80 ]
81
[ "80-80=0", "14*0=0", "81+0=81" ]
Current State: 81:[80, 14, 81, 80], Operations: [] Exploring Operation: 80-80=0, Resulting Numbers: [14, 81, 0] Generated Node #2: [14, 81, 0] from Operation: 80-80=0 Current State: 81:[14, 81, 0], Operations: ['80-80=0'] Exploring Operation: 14*0=0, Resulting Numbers: [81, 0] Generated Node #3: [81, 0] from Operation: 14*0=0 Current State: 81:[81, 0], Operations: ['80-80=0', '14*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[80, 14, 81, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [14, 80, 1] Generated Node #0,0: 81:[14, 80, 1] Operation: 81-80=1 Exploring Operation: 80/80=1, Resulting Numbers: [14, 81, 1] Generated Node #0,1: 81:[14, 81, 1] Operation: 80/80=1 Moving to Node #0,1 Current State: 81:[14, 81, 1], Operations: ['80/80=1'] Exploring Operation: 14-1=13, Resulting Numbers: [81, 13] Generated Node #0,1,0: 81:[81, 13] Operation: 14-1=13 Exploring Operation: 14*1=14, Resulting Numbers: [81, 14] Generated Node #0,1,1: 81:[81, 14] Operation: 14*1=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[81, 13], Operations: ['80/80=1', '14-1=13'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[81, 14], Operations: ['80/80=1', '14*1=14'] Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 81:[14, 80, 1], Operations: ['81-80=1'] Exploring Operation: 14-1=13, Resulting Numbers: [80, 13] Generated Node #0,0,0: 81:[80, 13] Operation: 14-1=13 Exploring Operation: 80+1=81, Resulting Numbers: [14, 81] Generated Node #0,0,1: 81:[14, 81] Operation: 80+1=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[80, 13], Operations: ['81-80=1', '14-1=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,81 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,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,1 Current State: 81:[14, 81], Operations: ['81-80=1', '80+1=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,81 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
[ 23, 35, 84, 81 ]
34
[ "84-81=3", "23*3=69", "69-35=34" ]
Current State: 34:[23, 35, 84, 81], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [23, 35, 3] Generated Node #2: [23, 35, 3] from Operation: 84-81=3 Current State: 34:[23, 35, 3], Operations: ['84-81=3'] Exploring Operation: 23*3=69, Resulting Numbers: [35, 69] Generated Node #3: [35, 69] from Operation: 23*3=69 Current State: 34:[35, 69], Operations: ['84-81=3', '23*3=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[23, 35, 84, 81], Operations: [] Exploring Operation: 84-23=61, Resulting Numbers: [35, 81, 61] Generated Node #0,0: 34:[35, 81, 61] Operation: 84-23=61 Exploring Operation: 81-35=46, Resulting Numbers: [23, 84, 46] Generated Node #0,1: 34:[23, 84, 46] Operation: 81-35=46 Exploring Operation: 84-35=49, Resulting Numbers: [23, 81, 49] Generated Node #0,2: 34:[23, 81, 49] Operation: 84-35=49 Exploring Operation: 81-23=58, Resulting Numbers: [35, 84, 58] Generated Node #0,3: 34:[35, 84, 58] Operation: 81-23=58 Exploring Operation: 84-81=3, Resulting Numbers: [23, 35, 3] Generated Node #0,4: 34:[23, 35, 3] Operation: 84-81=3 Moving to Node #0,4 Current State: 34:[23, 35, 3], Operations: ['84-81=3'] Exploring Operation: 23-3=20, Resulting Numbers: [35, 20] Generated Node #0,4,0: 34:[35, 20] Operation: 23-3=20 Exploring Operation: 35+3=38, Resulting Numbers: [23, 38] Generated Node #0,4,1: 34:[23, 38] Operation: 35+3=38 Exploring Operation: 35-23=12, Resulting Numbers: [3, 12] Generated Node #0,4,2: 34:[3, 12] Operation: 35-23=12 Exploring Operation: 23+3=26, Resulting Numbers: [35, 26] Generated Node #0,4,3: 34:[35, 26] Operation: 23+3=26 Exploring Operation: 35-3=32, Resulting Numbers: [23, 32] Generated Node #0,4,4: 34:[23, 32] Operation: 35-3=32 Moving to Node #0,2 Current State: 34:[23, 81, 49], Operations: ['84-35=49'] Exploring Operation: 81-23=58, Resulting Numbers: [49, 58] Generated Node #0,2,0: 34:[49, 58] Operation: 81-23=58 Exploring Operation: 49-23=26, Resulting Numbers: [81, 26] Generated Node #0,2,1: 34:[81, 26] Operation: 49-23=26 Exploring Operation: 23+81=104, Resulting Numbers: [49, 104] Generated Node #0,2,2: 34:[49, 104] Operation: 23+81=104 Exploring Operation: 23+49=72, Resulting Numbers: [81, 72] Generated Node #0,2,3: 34:[81, 72] Operation: 23+49=72 Exploring Operation: 81-49=32, Resulting Numbers: [23, 32] Generated Node #0,2,4: 34:[23, 32] Operation: 81-49=32 Moving to Node #0,1 Current State: 34:[23, 84, 46], Operations: ['81-35=46'] Exploring Operation: 84-46=38, Resulting Numbers: [23, 38] Generated Node #0,1,0: 34:[23, 38] Operation: 84-46=38 Exploring Operation: 46/23=2, Resulting Numbers: [84, 2] Generated Node #0,1,1: 34:[84, 2] Operation: 46/23=2 Exploring Operation: 46-23=23, Resulting Numbers: [84, 23] Generated Node #0,1,2: 34:[84, 23] Operation: 46-23=23 Exploring Operation: 23+84=107, Resulting Numbers: [46, 107] Generated Node #0,1,3: 34:[46, 107] Operation: 23+84=107 Exploring Operation: 84-23=61, Resulting Numbers: [46, 61] Generated Node #0,1,4: 34:[46, 61] Operation: 84-23=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[23, 38], Operations: ['81-35=46', '84-46=38'] Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,34 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 34:[46, 61], Operations: ['81-35=46', '84-23=61'] Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,34 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[84, 2], Operations: ['81-35=46', '46/23=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,34 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,34 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[84, 23], Operations: ['81-35=46', '46-23=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[46, 107], Operations: ['81-35=46', '23+84=107'] Exploring Operation: 46*107=4922, Resulting Numbers: [4922] 4922,34 unequal: No Solution Exploring Operation: 107-46=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 46+107=153, Resulting Numbers: [153] 153,34 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: 34:[35, 81, 61], Operations: ['84-23=61'] Exploring Operation: 81-61=20, Resulting Numbers: [35, 20] Generated Node #0,0,0: 34:[35, 20] Operation: 81-61=20 Exploring Operation: 35+61=96, Resulting Numbers: [81, 96] Generated Node #0,0,1: 34:[81, 96] Operation: 35+61=96 Exploring Operation: 81-35=46, Resulting Numbers: [61, 46] Generated Node #0,0,2: 34:[61, 46] Operation: 81-35=46 Exploring Operation: 61-35=26, Resulting Numbers: [81, 26] Generated Node #0,0,3: 34:[81, 26] Operation: 61-35=26 Exploring Operation: 35+81=116, Resulting Numbers: [61, 116] Generated Node #0,0,4: 34:[61, 116] Operation: 35+81=116 Moving to Node #0,3 Current State: 34:[35, 84, 58], Operations: ['81-23=58'] Exploring Operation: 35+84=119, Resulting Numbers: [58, 119] Generated Node #0,3,0: 34:[58, 119] Operation: 35+84=119 Exploring Operation: 35+58=93, Resulting Numbers: [84, 93] Generated Node #0,3,1: 34:[84, 93] Operation: 35+58=93 Exploring Operation: 84-58=26, Resulting Numbers: [35, 26] Generated Node #0,3,2: 34:[35, 26] Operation: 84-58=26 Exploring Operation: 84-35=49, Resulting Numbers: [58, 49] Generated Node #0,3,3: 34:[58, 49] Operation: 84-35=49 Exploring Operation: 58-35=23, Resulting Numbers: [84, 23] Generated Node #0,3,4: 34:[84, 23] Operation: 58-35=23 Moving to Node #0,4,0 Current State: 34:[35, 20], Operations: ['84-81=3', '23-3=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,34 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[35, 20], Operations: ['84-23=61', '81-61=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,34 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[3, 12], Operations: ['84-81=3', '35-23=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[23, 32], Operations: ['84-81=3', '35-3=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[23, 32], Operations: ['84-35=49', '81-49=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,34 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[35, 26], Operations: ['84-81=3', '23+3=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[35, 26], Operations: ['81-23=58', '84-58=26'] Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,34 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[23, 38], Operations: ['84-81=3', '35+3=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[49, 58], Operations: ['84-35=49', '81-23=58'] Exploring Operation: 49*58=2842, Resulting Numbers: [2842] 2842,34 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[61, 46], Operations: ['84-23=61', '81-35=46'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 61*46=2806, Resulting Numbers: [2806] 2806,34 unequal: No Solution Exploring Operation: 61+46=107, Resulting Numbers: [107] 107,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[58, 49], Operations: ['81-23=58', '84-35=49'] Exploring Operation: 58+49=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 58*49=2842, Resulting Numbers: [2842] 2842,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[81, 26], Operations: ['84-23=61', '61-35=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[81, 26], Operations: ['84-35=49', '49-23=26'] Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,34 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[84, 23], Operations: ['81-23=58', '58-35=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,34 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[49, 104], Operations: ['84-35=49', '23+81=104'] Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 49*104=5096, Resulting Numbers: [5096] 5096,34 unequal: No Solution Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[81, 72], Operations: ['84-35=49', '23+49=72'] Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,34 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,34 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[58, 119], Operations: ['81-23=58', '35+84=119'] Exploring Operation: 119-58=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 58+119=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 58*119=6902, Resulting Numbers: [6902] 6902,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[61, 116], Operations: ['84-23=61', '35+81=116'] Exploring Operation: 61*116=7076, Resulting Numbers: [7076] 7076,34 unequal: No Solution Exploring Operation: 61+116=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 116-61=55, Resulting Numbers: [55] 55,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[84, 93], Operations: ['81-23=58', '35+58=93'] Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[81, 96], Operations: ['84-23=61', '35+61=96'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 81*96=7776, Resulting Numbers: [7776] 7776,34 unequal: No Solution Exploring Operation: 81+96=177, Resulting Numbers: [177] 177,34 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 72, 14, 21, 46 ]
62
[ "72*21=1512", "1512/14=108", "108-46=62" ]
Current State: 62:[72, 14, 21, 46], Operations: [] Exploring Operation: 72*21=1512, Resulting Numbers: [14, 46, 1512] Generated Node #2: [14, 46, 1512] from Operation: 72*21=1512 Current State: 62:[14, 46, 1512], Operations: ['72*21=1512'] Exploring Operation: 1512/14=108, Resulting Numbers: [46, 108] Generated Node #3: [46, 108] from Operation: 1512/14=108 Current State: 62:[46, 108], Operations: ['72*21=1512', '1512/14=108'] Exploring Operation: 108-46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[72, 14, 21, 46], Operations: [] Exploring Operation: 21+46=67, Resulting Numbers: [72, 14, 67] Generated Node #0,0: 62:[72, 14, 67] Operation: 21+46=67 Exploring Operation: 46-14=32, Resulting Numbers: [72, 21, 32] Generated Node #0,1: 62:[72, 21, 32] Operation: 46-14=32 Exploring Operation: 46-21=25, Resulting Numbers: [72, 14, 25] Generated Node #0,2: 62:[72, 14, 25] Operation: 46-21=25 Exploring Operation: 72-46=26, Resulting Numbers: [14, 21, 26] Generated Node #0,3: 62:[14, 21, 26] Operation: 72-46=26 Exploring Operation: 14+46=60, Resulting Numbers: [72, 21, 60] Generated Node #0,4: 62:[72, 21, 60] Operation: 14+46=60 Moving to Node #0,1 Current State: 62:[72, 21, 32], Operations: ['46-14=32'] Exploring Operation: 32-21=11, Resulting Numbers: [72, 11] Generated Node #0,1,0: 62:[72, 11] Operation: 32-21=11 Exploring Operation: 72-21=51, Resulting Numbers: [32, 51] Generated Node #0,1,1: 62:[32, 51] Operation: 72-21=51 Exploring Operation: 21+32=53, Resulting Numbers: [72, 53] Generated Node #0,1,2: 62:[72, 53] Operation: 21+32=53 Exploring Operation: 72+21=93, Resulting Numbers: [32, 93] Generated Node #0,1,3: 62:[32, 93] Operation: 72+21=93 Exploring Operation: 72-32=40, Resulting Numbers: [21, 40] Generated Node #0,1,4: 62:[21, 40] Operation: 72-32=40 Moving to Node #0,4 Current State: 62:[72, 21, 60], Operations: ['14+46=60'] Exploring Operation: 21+60=81, Resulting Numbers: [72, 81] Generated Node #0,4,0: 62:[72, 81] Operation: 21+60=81 Exploring Operation: 72-60=12, Resulting Numbers: [21, 12] Generated Node #0,4,1: 62:[21, 12] Operation: 72-60=12 Exploring Operation: 72-21=51, Resulting Numbers: [60, 51] Generated Node #0,4,2: 62:[60, 51] Operation: 72-21=51 Exploring Operation: 60-21=39, Resulting Numbers: [72, 39] Generated Node #0,4,3: 62:[72, 39] Operation: 60-21=39 Exploring Operation: 72+21=93, Resulting Numbers: [60, 93] Generated Node #0,4,4: 62:[60, 93] Operation: 72+21=93 Moving to Node #0,0 Current State: 62:[72, 14, 67], Operations: ['21+46=67'] Exploring Operation: 72-67=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 62:[14, 5] Operation: 72-67=5 Exploring Operation: 72+14=86, Resulting Numbers: [67, 86] Generated Node #0,0,1: 62:[67, 86] Operation: 72+14=86 Exploring Operation: 67-14=53, Resulting Numbers: [72, 53] Generated Node #0,0,2: 62:[72, 53] Operation: 67-14=53 Exploring Operation: 72-14=58, Resulting Numbers: [67, 58] Generated Node #0,0,3: 62:[67, 58] Operation: 72-14=58 Exploring Operation: 14+67=81, Resulting Numbers: [72, 81] Generated Node #0,0,4: 62:[72, 81] Operation: 14+67=81 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[67, 58], Operations: ['21+46=67', '72-14=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,62 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,62 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,62 unequal: No Solution No 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: 62:[14, 5], Operations: ['21+46=67', '72-67=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,62 unequal: No Solution No 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: 62:[72, 53], Operations: ['21+46=67', '67-14=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,62 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,62 unequal: No Solution No 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: 62:[67, 86], Operations: ['21+46=67', '72+14=86'] Exploring Operation: 67*86=5762, Resulting Numbers: [5762] 5762,62 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 67+86=153, Resulting Numbers: [153] 153,62 unequal: No Solution No 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: 62:[72, 81], Operations: ['21+46=67', '14+67=81'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,62 unequal: No Solution Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,62 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: 62:[14, 21, 26], Operations: ['72-46=26'] Exploring Operation: 26-14=12, Resulting Numbers: [21, 12] Generated Node #0,3,0: 62:[21, 12] Operation: 26-14=12 Exploring Operation: 26-21=5, Resulting Numbers: [14, 5] Generated Node #0,3,1: 62:[14, 5] Operation: 26-21=5 Exploring Operation: 21-14=7, Resulting Numbers: [26, 7] Generated Node #0,3,2: 62:[26, 7] Operation: 21-14=7 Exploring Operation: 14+26=40, Resulting Numbers: [21, 40] Generated Node #0,3,3: 62:[21, 40] Operation: 14+26=40 Exploring Operation: 14+21=35, Resulting Numbers: [26, 35] Generated Node #0,3,4: 62:[26, 35] Operation: 14+21=35 Moving to Node #0,2 Current State: 62:[72, 14, 25], Operations: ['46-21=25'] Exploring Operation: 72-14=58, Resulting Numbers: [25, 58] Generated Node #0,2,0: 62:[25, 58] Operation: 72-14=58 Exploring Operation: 72+14=86, Resulting Numbers: [25, 86] Generated Node #0,2,1: 62:[25, 86] Operation: 72+14=86 Exploring Operation: 14+25=39, Resulting Numbers: [72, 39] Generated Node #0,2,2: 62:[72, 39] Operation: 14+25=39 Exploring Operation: 25-14=11, Resulting Numbers: [72, 11] Generated Node #0,2,3: 62:[72, 11] Operation: 25-14=11 Exploring Operation: 72-25=47, Resulting Numbers: [14, 47] Generated Node #0,2,4: 62:[14, 47] Operation: 72-25=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[25, 58], Operations: ['46-21=25', '72-14=58'] Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,62 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,62 unequal: No Solution No 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: 62:[72, 39], Operations: ['46-21=25', '14+25=39'] Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,62 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,62 unequal: No Solution No 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: 62:[72, 11], Operations: ['46-21=25', '25-14=11'] Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,62 unequal: No Solution Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,62 unequal: No Solution No 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: 62:[14, 47], Operations: ['46-21=25', '72-25=47'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,62 unequal: No Solution No 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: 62:[25, 86], Operations: ['46-21=25', '72+14=86'] Exploring Operation: 25*86=2150, Resulting Numbers: [2150] 2150,62 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 25+86=111, Resulting Numbers: [111] 111,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 62:[26, 35], Operations: ['72-46=26', '14+21=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,62 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[26, 7], Operations: ['72-46=26', '21-14=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[32, 51], Operations: ['46-14=32', '72-21=51'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[60, 51], Operations: ['14+46=60', '72-21=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,62 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[14, 5], Operations: ['72-46=26', '26-21=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[72, 39], Operations: ['14+46=60', '60-21=39'] Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[72, 53], Operations: ['46-14=32', '21+32=53'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,62 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[72, 11], Operations: ['46-14=32', '32-21=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,62 unequal: No Solution Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[21, 40], Operations: ['72-46=26', '14+26=40'] Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,62 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[21, 40], Operations: ['46-14=32', '72-32=40'] Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,62 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[21, 12], Operations: ['72-46=26', '26-14=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[21, 12], Operations: ['14+46=60', '72-60=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,62 unequal: No Solution Moving to Node #0,4,0 Current State: 62:[72, 81], Operations: ['14+46=60', '21+60=81'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,62 unequal: No Solution Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[32, 93], Operations: ['46-14=32', '72+21=93'] Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,62 unequal: No Solution Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[60, 93], Operations: ['14+46=60', '72+21=93'] Exploring Operation: 60+93=153, Resulting Numbers: [153] 153,62 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 60*93=5580, Resulting Numbers: [5580] 5580,62 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 76, 79, 3, 84 ]
85
[ "79-76=3", "3/3=1", "84+1=85" ]
Current State: 85:[76, 79, 3, 84], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [3, 84, 3] Generated Node #2: [3, 84, 3] from Operation: 79-76=3 Current State: 85:[3, 84, 3], Operations: ['79-76=3'] Exploring Operation: 3/3=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 3/3=1 Current State: 85:[84, 1], Operations: ['79-76=3', '3/3=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[76, 79, 3, 84], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [76, 3, 5] Generated Node #0,0: 85:[76, 3, 5] Operation: 84-79=5 Exploring Operation: 76+3=79, Resulting Numbers: [79, 84, 79] Generated Node #0,1: 85:[79, 84, 79] Operation: 76+3=79 Exploring Operation: 84-76=8, Resulting Numbers: [79, 3, 8] Generated Node #0,2: 85:[79, 3, 8] Operation: 84-76=8 Exploring Operation: 79-76=3, Resulting Numbers: [3, 84, 3] Generated Node #0,3: 85:[3, 84, 3] Operation: 79-76=3 Moving to Node #0,3 Current State: 85:[3, 84, 3], Operations: ['79-76=3'] Exploring Operation: 84+3=87, Resulting Numbers: [3, 87] Generated Node #0,3,0: 85:[3, 87] Operation: 84+3=87 Exploring Operation: 3*3=9, Resulting Numbers: [84, 9] Generated Node #0,3,1: 85:[84, 9] Operation: 3*3=9 Exploring Operation: 3+84=87, Resulting Numbers: [3, 87] Generated Node #0,3,2: 85:[3, 87] Operation: 3+84=87 Exploring Operation: 3+3=6, Resulting Numbers: [84, 6] Generated Node #0,3,3: 85:[84, 6] Operation: 3+3=6 Moving to Node #0,2 Current State: 85:[79, 3, 8], Operations: ['84-76=8'] Exploring Operation: 79+8=87, Resulting Numbers: [3, 87] Generated Node #0,2,0: 85:[3, 87] Operation: 79+8=87 Exploring Operation: 79+3=82, Resulting Numbers: [8, 82] Generated Node #0,2,1: 85:[8, 82] Operation: 79+3=82 Exploring Operation: 8-3=5, Resulting Numbers: [79, 5] Generated Node #0,2,2: 85:[79, 5] Operation: 8-3=5 Exploring Operation: 79-3=76, Resulting Numbers: [8, 76] Generated Node #0,2,3: 85:[8, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[3, 87], Operations: ['84-76=8', '79+8=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,85 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,85 unequal: No Solution No 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: 85:[8, 82], Operations: ['84-76=8', '79+3=82'] Exploring Operation: 8*82=656, Resulting Numbers: [656] 656,85 unequal: No Solution Exploring Operation: 8+82=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,85 unequal: No Solution No 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: 85:[79, 5], Operations: ['84-76=8', '8-3=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,85 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,85 unequal: No Solution No 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: 85:[8, 76], Operations: ['84-76=8', '79-3=76'] Exploring Operation: 8*76=608, Resulting Numbers: [608] 608,85 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 8+76=84, Resulting Numbers: [84] 84,85 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: 85:[76, 3, 5], Operations: ['84-79=5'] Exploring Operation: 76+5=81, Resulting Numbers: [3, 81] Generated Node #0,0,0: 85:[3, 81] Operation: 76+5=81 Exploring Operation: 3*5=15, Resulting Numbers: [76, 15] Generated Node #0,0,1: 85:[76, 15] Operation: 3*5=15 Exploring Operation: 76-3=73, Resulting Numbers: [5, 73] Generated Node #0,0,2: 85:[5, 73] Operation: 76-3=73 Exploring Operation: 76+3=79, Resulting Numbers: [5, 79] Generated Node #0,0,3: 85:[5, 79] Operation: 76+3=79 Moving to Node #0,1 Current State: 85:[79, 84, 79], Operations: ['76+3=79'] Exploring Operation: 79-79=0, Resulting Numbers: [84, 0] Generated Node #0,1,0: 85:[84, 0] Operation: 79-79=0 Exploring Operation: 79/79=1, Resulting Numbers: [84, 1] Generated Node #0,1,1: 85:[84, 1] Operation: 79/79=1 Exploring Operation: 84-79=5, Resulting Numbers: [79, 5] Generated Node #0,1,2: 85:[79, 5] Operation: 84-79=5 Exploring Operation: 84-79=5, Resulting Numbers: [79, 5] Generated Node #0,1,3: 85:[79, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[84, 1], Operations: ['76+3=79', '79/79=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[76, 79, 3, 84], Operations: [] Exploring Operation: 76+3=79, Resulting Numbers: [79, 84, 79] Generated Node #0,1: 85:[79, 84, 79] Operation: 76+3=79 Moving to Node #0,1 Current State: 85:[79, 84, 79], Operations: ['76+3=79'] Exploring Operation: 79/79=1, Resulting Numbers: [84, 1] Generated Node #0,1,1: 85:[84, 1] Operation: 79/79=1 Moving to Node #0,1,1 Current State: 85:[84, 1], Operations: ['76+3=79', '79/79=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 25, 32, 93, 9 ]
37
[ "25*32=800", "93*9=837", "837-800=37" ]
Current State: 37:[25, 32, 93, 9], Operations: [] Exploring Operation: 25*32=800, Resulting Numbers: [93, 9, 800] Generated Node #2: [93, 9, 800] from Operation: 25*32=800 Current State: 37:[93, 9, 800], Operations: ['25*32=800'] Exploring Operation: 93*9=837, Resulting Numbers: [800, 837] Generated Node #3: [800, 837] from Operation: 93*9=837 Current State: 37:[800, 837], Operations: ['25*32=800', '93*9=837'] Exploring Operation: 837-800=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[25, 32, 93, 9], Operations: [] Exploring Operation: 25+9=34, Resulting Numbers: [32, 93, 34] Generated Node #0,0: 37:[32, 93, 34] Operation: 25+9=34 Exploring Operation: 93-32=61, Resulting Numbers: [25, 9, 61] Generated Node #0,1: 37:[25, 9, 61] Operation: 93-32=61 Exploring Operation: 93-25=68, Resulting Numbers: [32, 9, 68] Generated Node #0,2: 37:[32, 9, 68] Operation: 93-25=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[32, 93, 34], Operations: ['25+9=34'] Exploring Operation: 93-34=59, Resulting Numbers: [32, 59] Generated Node #0,0,0: 37:[32, 59] Operation: 93-34=59 Exploring Operation: 32+34=66, Resulting Numbers: [93, 66] Generated Node #0,0,1: 37:[93, 66] Operation: 32+34=66 Exploring Operation: 93-32=61, Resulting Numbers: [34, 61] Generated Node #0,0,2: 37:[34, 61] Operation: 93-32=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[32, 59], Operations: ['25+9=34', '93-34=59'] Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 32*59=1888, Resulting Numbers: [1888] 1888,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[34, 61], Operations: ['25+9=34', '93-32=61'] Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[93, 66], Operations: ['25+9=34', '32+34=66'] Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,37 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[25, 9, 61], Operations: ['93-32=61'] Exploring Operation: 61-9=52, Resulting Numbers: [25, 52] Generated Node #0,1,0: 37:[25, 52] Operation: 61-9=52 Exploring Operation: 25+9=34, Resulting Numbers: [61, 34] Generated Node #0,1,1: 37:[61, 34] Operation: 25+9=34 Exploring Operation: 61-25=36, Resulting Numbers: [9, 36] Generated Node #0,1,2: 37:[9, 36] Operation: 61-25=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[25, 52], Operations: ['93-32=61', '61-9=52'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[61, 34], Operations: ['93-32=61', '25+9=34'] Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,37 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[9, 36], Operations: ['93-32=61', '61-25=36'] Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[32, 9, 68], Operations: ['93-25=68'] Exploring Operation: 68-32=36, Resulting Numbers: [9, 36] Generated Node #0,2,0: 37:[9, 36] Operation: 68-32=36 Exploring Operation: 68-9=59, Resulting Numbers: [32, 59] Generated Node #0,2,1: 37:[32, 59] Operation: 68-9=59 Exploring Operation: 32+9=41, Resulting Numbers: [68, 41] Generated Node #0,2,2: 37:[68, 41] Operation: 32+9=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[32, 59], Operations: ['93-25=68', '68-9=59'] Exploring Operation: 32*59=1888, Resulting Numbers: [1888] 1888,37 unequal: No Solution Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[9, 36], Operations: ['93-25=68', '68-32=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[68, 41], Operations: ['93-25=68', '32+9=41'] Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,37 unequal: No Solution Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,37 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 59, 77, 6, 79 ]
85
[ "77+79=156", "156/6=26", "59+26=85" ]
Current State: 85:[59, 77, 6, 79], Operations: [] Exploring Operation: 77+79=156, Resulting Numbers: [59, 6, 156] Generated Node #2: [59, 6, 156] from Operation: 77+79=156 Current State: 85:[59, 6, 156], Operations: ['77+79=156'] Exploring Operation: 156/6=26, Resulting Numbers: [59, 26] Generated Node #3: [59, 26] from Operation: 156/6=26 Current State: 85:[59, 26], Operations: ['77+79=156', '156/6=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[59, 77, 6, 79], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [6, 79, 18] Generated Node #0,0: 85:[6, 79, 18] Operation: 77-59=18 Exploring Operation: 59+6=65, Resulting Numbers: [77, 79, 65] Generated Node #0,1: 85:[77, 79, 65] Operation: 59+6=65 Exploring Operation: 79-59=20, Resulting Numbers: [77, 6, 20] Generated Node #0,2: 85:[77, 6, 20] Operation: 79-59=20 Exploring Operation: 79-77=2, Resulting Numbers: [59, 6, 2] Generated Node #0,3: 85:[59, 6, 2] Operation: 79-77=2 Moving to Node #0,0 Current State: 85:[6, 79, 18], Operations: ['77-59=18'] Exploring Operation: 18/6=3, Resulting Numbers: [79, 3] Generated Node #0,0,0: 85:[79, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [79, 12] Generated Node #0,0,1: 85:[79, 12] Operation: 18-6=12 Exploring Operation: 79-6=73, Resulting Numbers: [18, 73] Generated Node #0,0,2: 85:[18, 73] Operation: 79-6=73 Exploring Operation: 6+79=85, Resulting Numbers: [18, 85] Generated Node #0,0,3: 85:[18, 85] Operation: 6+79=85 Moving to Node #0,2 Current State: 85:[77, 6, 20], Operations: ['79-59=20'] Exploring Operation: 77+20=97, Resulting Numbers: [6, 97] Generated Node #0,2,0: 85:[6, 97] Operation: 77+20=97 Exploring Operation: 77-6=71, Resulting Numbers: [20, 71] Generated Node #0,2,1: 85:[20, 71] Operation: 77-6=71 Exploring Operation: 20-6=14, Resulting Numbers: [77, 14] Generated Node #0,2,2: 85:[77, 14] Operation: 20-6=14 Exploring Operation: 77+6=83, Resulting Numbers: [20, 83] Generated Node #0,2,3: 85:[20, 83] Operation: 77+6=83 Moving to Node #0,3 Current State: 85:[59, 6, 2], Operations: ['79-77=2'] Exploring Operation: 59+6=65, Resulting Numbers: [2, 65] Generated Node #0,3,0: 85:[2, 65] Operation: 59+6=65 Exploring Operation: 59+2=61, Resulting Numbers: [6, 61] Generated Node #0,3,1: 85:[6, 61] Operation: 59+2=61 Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #0,3,2: 85:[59, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [59, 4] Generated Node #0,3,3: 85:[59, 4] Operation: 6-2=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[2, 65], Operations: ['79-77=2', '59+6=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,85 unequal: No Solution No 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: 85:[6, 61], Operations: ['79-77=2', '59+2=61'] Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,85 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,85 unequal: No Solution No 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: 85:[59, 4], Operations: ['79-77=2', '6-2=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,85 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,85 unequal: No Solution No 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: 85:[59, 3], Operations: ['79-77=2', '6/2=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,85 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,85 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: 85:[77, 79, 65], Operations: ['59+6=65'] Exploring Operation: 77-65=12, Resulting Numbers: [79, 12] Generated Node #0,1,0: 85:[79, 12] Operation: 77-65=12 Exploring Operation: 79-77=2, Resulting Numbers: [65, 2] Generated Node #0,1,1: 85:[65, 2] Operation: 79-77=2 Exploring Operation: 77+65=142, Resulting Numbers: [79, 142] Generated Node #0,1,2: 85:[79, 142] Operation: 77+65=142 Exploring Operation: 79-65=14, Resulting Numbers: [77, 14] Generated Node #0,1,3: 85:[77, 14] Operation: 79-65=14 Moving to Node #0,0,3 Current State: 85:[18, 85], Operations: ['77-59=18', '6+79=85'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,85 unequal: No Solution Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[20, 83], Operations: ['79-59=20', '77+6=83'] Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,85 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,85 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[79, 3], Operations: ['77-59=18', '18/6=3'] Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,85 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,85 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[79, 12], Operations: ['77-59=18', '18-6=12'] Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,85 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[77, 14], Operations: ['79-59=20', '20-6=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,85 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[77, 14], Operations: ['59+6=65', '79-65=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[79, 12], Operations: ['59+6=65', '77-65=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[6, 97], Operations: ['79-59=20', '77+20=97'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,85 unequal: No Solution Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[18, 73], Operations: ['77-59=18', '79-6=73'] Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,85 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[20, 71], Operations: ['79-59=20', '77-6=71'] Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[65, 2], Operations: ['59+6=65', '79-77=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[79, 142], Operations: ['59+6=65', '77+65=142'] Exploring Operation: 79*142=11218, Resulting Numbers: [11218] 11218,85 unequal: No Solution Exploring Operation: 142-79=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 79+142=221, Resulting Numbers: [221] 221,85 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 2, 86, 12 ]
45
[ "86-20=66", "66/2=33", "12+33=45" ]
Current State: 45:[20, 2, 86, 12], Operations: [] Exploring Operation: 86-20=66, Resulting Numbers: [2, 12, 66] Generated Node #2: [2, 12, 66] from Operation: 86-20=66 Current State: 45:[2, 12, 66], Operations: ['86-20=66'] Exploring Operation: 66/2=33, Resulting Numbers: [12, 33] Generated Node #3: [12, 33] from Operation: 66/2=33 Current State: 45:[12, 33], Operations: ['86-20=66', '66/2=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[20, 2, 86, 12], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [20, 12, 43] Generated Node #0,0: 45:[20, 12, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[20, 12, 43], Operations: ['86/2=43'] Exploring Operation: 20-12=8, Resulting Numbers: [43, 8] Generated Node #0,0,0: 45:[43, 8] Operation: 20-12=8 Moving to Node #0,0,0 Current State: 45:[43, 8], Operations: ['86/2=43', '20-12=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,45 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
[ 91, 27, 72, 5 ]
36
[ "91+5=96", "27*96=2592", "2592/72=36" ]
Current State: 36:[91, 27, 72, 5], Operations: [] Exploring Operation: 91+5=96, Resulting Numbers: [27, 72, 96] Generated Node #2: [27, 72, 96] from Operation: 91+5=96 Current State: 36:[27, 72, 96], Operations: ['91+5=96'] Exploring Operation: 27*96=2592, Resulting Numbers: [72, 2592] Generated Node #3: [72, 2592] from Operation: 27*96=2592 Current State: 36:[72, 2592], Operations: ['91+5=96', '27*96=2592'] Exploring Operation: 2592/72=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[91, 27, 72, 5], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [27, 5, 19] Generated Node #0,0: 36:[27, 5, 19] Operation: 91-72=19 Exploring Operation: 91-27=64, Resulting Numbers: [72, 5, 64] Generated Node #0,1: 36:[72, 5, 64] Operation: 91-27=64 Exploring Operation: 72-27=45, Resulting Numbers: [91, 5, 45] Generated Node #0,2: 36:[91, 5, 45] Operation: 72-27=45 Moving to Node #0,0 Current State: 36:[27, 5, 19], Operations: ['91-72=19'] Exploring Operation: 27-19=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 36:[5, 8] Operation: 27-19=8 Exploring Operation: 27-5=22, Resulting Numbers: [19, 22] Generated Node #0,0,1: 36:[19, 22] Operation: 27-5=22 Exploring Operation: 27+5=32, Resulting Numbers: [19, 32] Generated Node #0,0,2: 36:[19, 32] Operation: 27+5=32 Moving to Node #0,1 Current State: 36:[72, 5, 64], Operations: ['91-27=64'] Exploring Operation: 72-5=67, Resulting Numbers: [64, 67] Generated Node #0,1,0: 36:[64, 67] Operation: 72-5=67 Exploring Operation: 72-64=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 36:[5, 8] Operation: 72-64=8 Exploring Operation: 64-5=59, Resulting Numbers: [72, 59] Generated Node #0,1,2: 36:[72, 59] Operation: 64-5=59 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[5, 8], Operations: ['91-27=64', '72-64=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,36 unequal: No Solution No 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: 36:[64, 67], Operations: ['91-27=64', '72-5=67'] Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,36 unequal: No Solution Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,36 unequal: No Solution No 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: 36:[72, 59], Operations: ['91-27=64', '64-5=59'] Exploring Operation: 72*59=4248, Resulting Numbers: [4248] 4248,36 unequal: No Solution Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 72+59=131, Resulting Numbers: [131] 131,36 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: 36:[91, 5, 45], Operations: ['72-27=45'] Exploring Operation: 45/5=9, Resulting Numbers: [91, 9] Generated Node #0,2,0: 36:[91, 9] Operation: 45/5=9 Exploring Operation: 91-45=46, Resulting Numbers: [5, 46] Generated Node #0,2,1: 36:[5, 46] Operation: 91-45=46 Exploring Operation: 91-5=86, Resulting Numbers: [45, 86] Generated Node #0,2,2: 36:[45, 86] Operation: 91-5=86 Moving to Node #0,0,0 Current State: 36:[5, 8], Operations: ['91-72=19', '27-19=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[19, 32], Operations: ['91-72=19', '27+5=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,36 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[19, 22], Operations: ['91-72=19', '27-5=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,36 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,36 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[5, 46], Operations: ['72-27=45', '91-45=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,36 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,36 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[91, 9], Operations: ['72-27=45', '45/5=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[45, 86], Operations: ['72-27=45', '91-5=86'] Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,36 unequal: No Solution Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,36 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,36 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 84, 21, 16 ]
73
[ "84/21=4", "16*4=64", "9+64=73" ]
Current State: 73:[9, 84, 21, 16], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [9, 16, 4] Generated Node #2: [9, 16, 4] from Operation: 84/21=4 Current State: 73:[9, 16, 4], Operations: ['84/21=4'] Exploring Operation: 16*4=64, Resulting Numbers: [9, 64] Generated Node #3: [9, 64] from Operation: 16*4=64 Current State: 73:[9, 64], Operations: ['84/21=4', '16*4=64'] Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[9, 84, 21, 16], Operations: [] Exploring Operation: 84-9=75, Resulting Numbers: [21, 16, 75] Generated Node #0,0: 73:[21, 16, 75] Operation: 84-9=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[21, 16, 75], Operations: ['84-9=75'] Exploring Operation: 21+16=37, Resulting Numbers: [75, 37] Generated Node #0,0,0: 73:[75, 37] Operation: 21+16=37 Moving to Node #0,0,0 Current State: 73:[75, 37], Operations: ['84-9=75', '21+16=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 47, 79, 46 ]
42
[ "47-38=9", "79-46=33", "9+33=42" ]
Current State: 42:[38, 47, 79, 46], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [79, 46, 9] Generated Node #2: [79, 46, 9] from Operation: 47-38=9 Current State: 42:[79, 46, 9], Operations: ['47-38=9'] Exploring Operation: 79-46=33, Resulting Numbers: [9, 33] Generated Node #3: [9, 33] from Operation: 79-46=33 Current State: 42:[9, 33], Operations: ['47-38=9', '79-46=33'] Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[38, 47, 79, 46], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [38, 47, 33] Generated Node #0,0: 42:[38, 47, 33] Operation: 79-46=33 Exploring Operation: 79-38=41, Resulting Numbers: [47, 46, 41] Generated Node #0,1: 42:[47, 46, 41] Operation: 79-38=41 Exploring Operation: 79-47=32, Resulting Numbers: [38, 46, 32] Generated Node #0,2: 42:[38, 46, 32] Operation: 79-47=32 Exploring Operation: 47-46=1, Resulting Numbers: [38, 79, 1] Generated Node #0,3: 42:[38, 79, 1] Operation: 47-46=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[47, 46, 41], Operations: ['79-38=41'] Exploring Operation: 47-46=1, Resulting Numbers: [41, 1] Generated Node #0,1,0: 42:[41, 1] Operation: 47-46=1 Exploring Operation: 46-41=5, Resulting Numbers: [47, 5] Generated Node #0,1,1: 42:[47, 5] Operation: 46-41=5 Exploring Operation: 47-41=6, Resulting Numbers: [46, 6] Generated Node #0,1,2: 42:[46, 6] Operation: 47-41=6 Exploring Operation: 47+41=88, Resulting Numbers: [46, 88] Generated Node #0,1,3: 42:[46, 88] Operation: 47+41=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[41, 1], Operations: ['79-38=41', '47-46=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[38, 47, 79, 46], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [47, 46, 41] Generated Node #0,1: 42:[47, 46, 41] Operation: 79-38=41 Moving to Node #0,1 Current State: 42:[47, 46, 41], Operations: ['79-38=41'] Exploring Operation: 47-46=1, Resulting Numbers: [41, 1] Generated Node #0,1,0: 42:[41, 1] Operation: 47-46=1 Moving to Node #0,1,0 Current State: 42:[41, 1], Operations: ['79-38=41', '47-46=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 65, 36, 90, 42 ]
40
[ "90*42=3780", "3780/36=105", "105-65=40" ]
Current State: 40:[65, 36, 90, 42], Operations: [] Exploring Operation: 90*42=3780, Resulting Numbers: [65, 36, 3780] Generated Node #2: [65, 36, 3780] from Operation: 90*42=3780 Current State: 40:[65, 36, 3780], Operations: ['90*42=3780'] Exploring Operation: 3780/36=105, Resulting Numbers: [65, 105] Generated Node #3: [65, 105] from Operation: 3780/36=105 Current State: 40:[65, 105], Operations: ['90*42=3780', '3780/36=105'] Exploring Operation: 105-65=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[65, 36, 90, 42], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [65, 42, 54] Generated Node #0,0: 40:[65, 42, 54] Operation: 90-36=54 Exploring Operation: 65-42=23, Resulting Numbers: [36, 90, 23] Generated Node #0,1: 40:[36, 90, 23] Operation: 65-42=23 Exploring Operation: 90-65=25, Resulting Numbers: [36, 42, 25] Generated Node #0,2: 40:[36, 42, 25] Operation: 90-65=25 Exploring Operation: 90-42=48, Resulting Numbers: [65, 36, 48] Generated Node #0,3: 40:[65, 36, 48] Operation: 90-42=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[36, 42, 25], Operations: ['90-65=25'] Exploring Operation: 36+25=61, Resulting Numbers: [42, 61] Generated Node #0,2,0: 40:[42, 61] Operation: 36+25=61 Exploring Operation: 42-36=6, Resulting Numbers: [25, 6] Generated Node #0,2,1: 40:[25, 6] Operation: 42-36=6 Exploring Operation: 36-25=11, Resulting Numbers: [42, 11] Generated Node #0,2,2: 40:[42, 11] Operation: 36-25=11 Exploring Operation: 42-25=17, Resulting Numbers: [36, 17] Generated Node #0,2,3: 40:[36, 17] Operation: 42-25=17 Moving to Node #0,2,2 Current State: 40:[42, 11], Operations: ['90-65=25', '36-25=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,40 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[25, 6], Operations: ['90-65=25', '42-36=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,40 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[36, 17], Operations: ['90-65=25', '42-25=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,40 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[42, 61], Operations: ['90-65=25', '36+25=61'] Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,40 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,40 unequal: No Solution No 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: 40:[65, 36, 48], Operations: ['90-42=48'] Exploring Operation: 65+36=101, Resulting Numbers: [48, 101] Generated Node #0,3,0: 40:[48, 101] Operation: 65+36=101 Exploring Operation: 48-36=12, Resulting Numbers: [65, 12] Generated Node #0,3,1: 40:[65, 12] Operation: 48-36=12 Exploring Operation: 65-48=17, Resulting Numbers: [36, 17] Generated Node #0,3,2: 40:[36, 17] Operation: 65-48=17 Exploring Operation: 65-36=29, Resulting Numbers: [48, 29] Generated Node #0,3,3: 40:[48, 29] Operation: 65-36=29 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[36, 17], Operations: ['90-42=48', '65-48=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,40 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[48, 29], Operations: ['90-42=48', '65-36=29'] Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,40 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[65, 12], Operations: ['90-42=48', '48-36=12'] Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,40 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[48, 101], Operations: ['90-42=48', '65+36=101'] Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,40 unequal: No Solution Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[65, 42, 54], Operations: ['90-36=54'] Exploring Operation: 65+42=107, Resulting Numbers: [54, 107] Generated Node #0,0,0: 40:[54, 107] Operation: 65+42=107 Exploring Operation: 65-42=23, Resulting Numbers: [54, 23] Generated Node #0,0,1: 40:[54, 23] Operation: 65-42=23 Exploring Operation: 65-54=11, Resulting Numbers: [42, 11] Generated Node #0,0,2: 40:[42, 11] Operation: 65-54=11 Exploring Operation: 54-42=12, Resulting Numbers: [65, 12] Generated Node #0,0,3: 40:[65, 12] Operation: 54-42=12 Moving to Node #0,0,2 Current State: 40:[42, 11], Operations: ['90-36=54', '65-54=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,40 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[54, 23], Operations: ['90-36=54', '65-42=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,40 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[65, 12], Operations: ['90-36=54', '54-42=12'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,40 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[54, 107], Operations: ['90-36=54', '65+42=107'] Exploring Operation: 107-54=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 54*107=5778, Resulting Numbers: [5778] 5778,40 unequal: No Solution Exploring Operation: 54+107=161, Resulting Numbers: [161] 161,40 unequal: No Solution No 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: 40:[36, 90, 23], Operations: ['65-42=23'] Exploring Operation: 90-36=54, Resulting Numbers: [23, 54] Generated Node #0,1,0: 40:[23, 54] Operation: 90-36=54 Exploring Operation: 90-23=67, Resulting Numbers: [36, 67] Generated Node #0,1,1: 40:[36, 67] Operation: 90-23=67 Exploring Operation: 36+23=59, Resulting Numbers: [90, 59] Generated Node #0,1,2: 40:[90, 59] Operation: 36+23=59 Exploring Operation: 36-23=13, Resulting Numbers: [90, 13] Generated Node #0,1,3: 40:[90, 13] Operation: 36-23=13 Moving to Node #0,1,0 Current State: 40:[23, 54], Operations: ['65-42=23', '90-36=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[36, 67], Operations: ['65-42=23', '90-23=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[90, 13], Operations: ['65-42=23', '36-23=13'] Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,40 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[90, 59], Operations: ['65-42=23', '36+23=59'] Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,40 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 93, 2, 60, 19 ]
47
[ "93-60=33", "2*33=66", "66-19=47" ]
Current State: 47:[93, 2, 60, 19], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [2, 19, 33] Generated Node #2: [2, 19, 33] from Operation: 93-60=33 Current State: 47:[2, 19, 33], Operations: ['93-60=33'] Exploring Operation: 2*33=66, Resulting Numbers: [19, 66] Generated Node #3: [19, 66] from Operation: 2*33=66 Current State: 47:[19, 66], Operations: ['93-60=33', '2*33=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[93, 2, 60, 19], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [93, 60, 38] Generated Node #0,0: 47:[93, 60, 38] Operation: 2*19=38 Moving to Node #0,0 Current State: 47:[93, 60, 38], Operations: ['2*19=38'] Exploring Operation: 93-38=55, Resulting Numbers: [60, 55] Generated Node #0,0,0: 47:[60, 55] Operation: 93-38=55 Moving to Node #0,0,0 Current State: 47:[60, 55], Operations: ['2*19=38', '93-38=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,47 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 78, 60, 30, 30 ]
78
[ "78+60=138", "30+30=60", "138-60=78" ]
Current State: 78:[78, 60, 30, 30], Operations: [] Exploring Operation: 78+60=138, Resulting Numbers: [30, 30, 138] Generated Node #2: [30, 30, 138] from Operation: 78+60=138 Current State: 78:[30, 30, 138], Operations: ['78+60=138'] Exploring Operation: 30+30=60, Resulting Numbers: [138, 60] Generated Node #3: [138, 60] from Operation: 30+30=60 Current State: 78:[138, 60], Operations: ['78+60=138', '30+30=60'] Exploring Operation: 138-60=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[78, 60, 30, 30], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [78, 30, 2] Generated Node #0,0: 78:[78, 30, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[78, 30, 2], Operations: ['60/30=2'] Exploring Operation: 30-2=28, Resulting Numbers: [78, 28] Generated Node #0,0,0: 78:[78, 28] Operation: 30-2=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[78, 28], Operations: ['60/30=2', '30-2=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 14, 52, 58 ]
40
[ "56+14=70", "52+58=110", "110-70=40" ]
Current State: 40:[56, 14, 52, 58], Operations: [] Exploring Operation: 56+14=70, Resulting Numbers: [52, 58, 70] Generated Node #2: [52, 58, 70] from Operation: 56+14=70 Current State: 40:[52, 58, 70], Operations: ['56+14=70'] Exploring Operation: 52+58=110, Resulting Numbers: [70, 110] Generated Node #3: [70, 110] from Operation: 52+58=110 Current State: 40:[70, 110], Operations: ['56+14=70', '52+58=110'] Exploring Operation: 110-70=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[56, 14, 52, 58], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [52, 58, 4] Generated Node #0,0: 40:[52, 58, 4] Operation: 56/14=4 Exploring Operation: 58-56=2, Resulting Numbers: [14, 52, 2] Generated Node #0,1: 40:[14, 52, 2] Operation: 58-56=2 Exploring Operation: 56-52=4, Resulting Numbers: [14, 58, 4] Generated Node #0,2: 40:[14, 58, 4] Operation: 56-52=4 Exploring Operation: 58-52=6, Resulting Numbers: [56, 14, 6] Generated Node #0,3: 40:[56, 14, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[14, 52, 2], Operations: ['58-56=2'] Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 40:[2, 38] Operation: 52-14=38 Exploring Operation: 14-2=12, Resulting Numbers: [52, 12] Generated Node #0,1,1: 40:[52, 12] Operation: 14-2=12 Exploring Operation: 52/2=26, Resulting Numbers: [14, 26] Generated Node #0,1,2: 40:[14, 26] Operation: 52/2=26 Exploring Operation: 14/2=7, Resulting Numbers: [52, 7] Generated Node #0,1,3: 40:[52, 7] Operation: 14/2=7 Moving to Node #0,1,0 Current State: 40:[2, 38], Operations: ['58-56=2', '52-14=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[56, 14, 52, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [14, 52, 2] Generated Node #0,1: 40:[14, 52, 2] Operation: 58-56=2 Moving to Node #0,1 Current State: 40:[14, 52, 2], Operations: ['58-56=2'] Exploring Operation: 52-14=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 40:[2, 38] Operation: 52-14=38 Moving to Node #0,1,0 Current State: 40:[2, 38], Operations: ['58-56=2', '52-14=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 18, 59, 32, 5 ]
83
[ "18+59=77", "32*5=160", "160-77=83" ]
Current State: 83:[18, 59, 32, 5], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [32, 5, 77] Generated Node #2: [32, 5, 77] from Operation: 18+59=77 Current State: 83:[32, 5, 77], Operations: ['18+59=77'] Exploring Operation: 32*5=160, Resulting Numbers: [77, 160] Generated Node #3: [77, 160] from Operation: 32*5=160 Current State: 83:[77, 160], Operations: ['18+59=77', '32*5=160'] Exploring Operation: 160-77=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[18, 59, 32, 5], Operations: [] Exploring Operation: 18*5=90, Resulting Numbers: [59, 32, 90] Generated Node #0,0: 83:[59, 32, 90] Operation: 18*5=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[59, 32, 90], Operations: ['18*5=90'] Exploring Operation: 59+32=91, Resulting Numbers: [90, 91] Generated Node #0,0,0: 83:[90, 91] Operation: 59+32=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[90, 91], Operations: ['18*5=90', '59+32=91'] Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,83 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
[ 6, 86, 76, 56 ]
100
[ "86-6=80", "76-56=20", "80+20=100" ]
Current State: 100:[6, 86, 76, 56], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [76, 56, 80] Generated Node #2: [76, 56, 80] from Operation: 86-6=80 Current State: 100:[76, 56, 80], Operations: ['86-6=80'] Exploring Operation: 76-56=20, Resulting Numbers: [80, 20] Generated Node #3: [80, 20] from Operation: 76-56=20 Current State: 100:[80, 20], Operations: ['86-6=80', '76-56=20'] Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 86, 76, 56], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [6, 56, 10] Generated Node #0,0: 100:[6, 56, 10] Operation: 86-76=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[6, 56, 10], Operations: ['86-76=10'] Exploring Operation: 56-6=50, Resulting Numbers: [10, 50] Generated Node #0,0,0: 100:[10, 50] Operation: 56-6=50 Moving to Node #0,0,0 Current State: 100:[10, 50], Operations: ['86-76=10', '56-6=50'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,100 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
[ 28, 12, 4, 70 ]
60
[ "28+12=40", "40/4=10", "70-10=60" ]
Current State: 60:[28, 12, 4, 70], Operations: [] Exploring Operation: 28+12=40, Resulting Numbers: [4, 70, 40] Generated Node #2: [4, 70, 40] from Operation: 28+12=40 Current State: 60:[4, 70, 40], Operations: ['28+12=40'] Exploring Operation: 40/4=10, Resulting Numbers: [70, 10] Generated Node #3: [70, 10] from Operation: 40/4=10 Current State: 60:[70, 10], Operations: ['28+12=40', '40/4=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[28, 12, 4, 70], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [12, 70, 7] Generated Node #0,0: 60:[12, 70, 7] Operation: 28/4=7 Exploring Operation: 28-12=16, Resulting Numbers: [4, 70, 16] Generated Node #0,1: 60:[4, 70, 16] Operation: 28-12=16 Exploring Operation: 70-12=58, Resulting Numbers: [28, 4, 58] Generated Node #0,2: 60:[28, 4, 58] Operation: 70-12=58 Exploring Operation: 70-4=66, Resulting Numbers: [28, 12, 66] Generated Node #0,3: 60:[28, 12, 66] Operation: 70-4=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[28, 4, 58], Operations: ['70-12=58'] Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,2,0: 60:[4, 30] Operation: 58-28=30 Exploring Operation: 28+4=32, Resulting Numbers: [58, 32] Generated Node #0,2,1: 60:[58, 32] Operation: 28+4=32 Exploring Operation: 28/4=7, Resulting Numbers: [58, 7] Generated Node #0,2,2: 60:[58, 7] Operation: 28/4=7 Exploring Operation: 4+58=62, Resulting Numbers: [28, 62] Generated Node #0,2,3: 60:[28, 62] Operation: 4+58=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[4, 30], Operations: ['70-12=58', '58-28=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[58, 7], Operations: ['70-12=58', '28/4=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,60 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[58, 32], Operations: ['70-12=58', '28+4=32'] Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,60 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[28, 62], Operations: ['70-12=58', '4+58=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,60 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[28, 12, 66], Operations: ['70-4=66'] Exploring Operation: 66-28=38, Resulting Numbers: [12, 38] Generated Node #0,3,0: 60:[12, 38] Operation: 66-28=38 Exploring Operation: 28-12=16, Resulting Numbers: [66, 16] Generated Node #0,3,1: 60:[66, 16] Operation: 28-12=16 Exploring Operation: 28+12=40, Resulting Numbers: [66, 40] Generated Node #0,3,2: 60:[66, 40] Operation: 28+12=40 Exploring Operation: 66-12=54, Resulting Numbers: [28, 54] Generated Node #0,3,3: 60:[28, 54] Operation: 66-12=54 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[66, 16], Operations: ['70-4=66', '28-12=16'] Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,60 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[12, 38], Operations: ['70-4=66', '66-28=38'] Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,60 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 60:[28, 54], Operations: ['70-4=66', '66-12=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[66, 40], Operations: ['70-4=66', '28+12=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,60 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[12, 70, 7], Operations: ['28/4=7'] Exploring Operation: 70-7=63, Resulting Numbers: [12, 63] Generated Node #0,0,0: 60:[12, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 60:[12, 10] Operation: 70/7=10 Exploring Operation: 70-12=58, Resulting Numbers: [7, 58] Generated Node #0,0,2: 60:[7, 58] Operation: 70-12=58 Exploring Operation: 12-7=5, Resulting Numbers: [70, 5] Generated Node #0,0,3: 60:[70, 5] Operation: 12-7=5 Moving to Node #0,0,1 Current State: 60:[12, 10], Operations: ['28/4=7', '70/7=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[7, 58], Operations: ['28/4=7', '70-12=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,60 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[12, 63], Operations: ['28/4=7', '70-7=63'] Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,60 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[70, 5], Operations: ['28/4=7', '12-7=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,60 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[4, 70, 16], Operations: ['28-12=16'] Exploring Operation: 16-4=12, Resulting Numbers: [70, 12] Generated Node #0,1,0: 60:[70, 12] Operation: 16-4=12 Exploring Operation: 70-16=54, Resulting Numbers: [4, 54] Generated Node #0,1,1: 60:[4, 54] Operation: 70-16=54 Exploring Operation: 70-4=66, Resulting Numbers: [16, 66] Generated Node #0,1,2: 60:[16, 66] Operation: 70-4=66 Exploring Operation: 4+16=20, Resulting Numbers: [70, 20] Generated Node #0,1,3: 60:[70, 20] Operation: 4+16=20 Moving to Node #0,1,1 Current State: 60:[4, 54], Operations: ['28-12=16', '70-16=54'] Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,60 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[16, 66], Operations: ['28-12=16', '70-4=66'] Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,60 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[70, 20], Operations: ['28-12=16', '4+16=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,60 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[70, 12], Operations: ['28-12=16', '16-4=12'] Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,60 unequal: No Solution Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 92, 88, 80, 90 ]
18
[ "92+88=180", "90-80=10", "180/10=18" ]
Current State: 18:[92, 88, 80, 90], Operations: [] Exploring Operation: 92+88=180, Resulting Numbers: [80, 90, 180] Generated Node #2: [80, 90, 180] from Operation: 92+88=180 Current State: 18:[80, 90, 180], Operations: ['92+88=180'] Exploring Operation: 90-80=10, Resulting Numbers: [180, 10] Generated Node #3: [180, 10] from Operation: 90-80=10 Current State: 18:[180, 10], Operations: ['92+88=180', '90-80=10'] Exploring Operation: 180/10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[92, 88, 80, 90], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [92, 80, 2] Generated Node #0,0: 18:[92, 80, 2] Operation: 90-88=2 Exploring Operation: 92-88=4, Resulting Numbers: [80, 90, 4] Generated Node #0,1: 18:[80, 90, 4] Operation: 92-88=4 Exploring Operation: 92-90=2, Resulting Numbers: [88, 80, 2] Generated Node #0,2: 18:[88, 80, 2] Operation: 92-90=2 Exploring Operation: 90-80=10, Resulting Numbers: [92, 88, 10] Generated Node #0,3: 18:[92, 88, 10] Operation: 90-80=10 Exploring Operation: 92-80=12, Resulting Numbers: [88, 90, 12] Generated Node #0,4: 18:[88, 90, 12] Operation: 92-80=12 Moving to Node #0,2 Current State: 18:[88, 80, 2], Operations: ['92-90=2'] Exploring Operation: 88-80=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 18:[2, 8] Operation: 88-80=8 Exploring Operation: 88-2=86, Resulting Numbers: [80, 86] Generated Node #0,2,1: 18:[80, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [80, 44] Generated Node #0,2,2: 18:[80, 44] Operation: 88/2=44 Exploring Operation: 80/2=40, Resulting Numbers: [88, 40] Generated Node #0,2,3: 18:[88, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [88, 78] Generated Node #0,2,4: 18:[88, 78] Operation: 80-2=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[2, 8], Operations: ['92-90=2', '88-80=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[80, 44], Operations: ['92-90=2', '88/2=44'] Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 80*44=3520, Resulting Numbers: [3520] 3520,18 unequal: No Solution Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[88, 40], Operations: ['92-90=2', '80/2=40'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[80, 86], Operations: ['92-90=2', '88-2=86'] Exploring Operation: 80+86=166, Resulting Numbers: [166] 166,18 unequal: No Solution Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 80*86=6880, Resulting Numbers: [6880] 6880,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[88, 78], Operations: ['92-90=2', '80-2=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,18 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,18 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: 18:[80, 90, 4], Operations: ['92-88=4'] Exploring Operation: 80-4=76, Resulting Numbers: [90, 76] Generated Node #0,1,0: 18:[90, 76] Operation: 80-4=76 Exploring Operation: 90-4=86, Resulting Numbers: [80, 86] Generated Node #0,1,1: 18:[80, 86] Operation: 90-4=86 Exploring Operation: 80/4=20, Resulting Numbers: [90, 20] Generated Node #0,1,2: 18:[90, 20] Operation: 80/4=20 Exploring Operation: 90-80=10, Resulting Numbers: [4, 10] Generated Node #0,1,3: 18:[4, 10] Operation: 90-80=10 Exploring Operation: 80+4=84, Resulting Numbers: [90, 84] Generated Node #0,1,4: 18:[90, 84] Operation: 80+4=84 Moving to Node #0,0 Current State: 18:[92, 80, 2], Operations: ['90-88=2'] Exploring Operation: 92-80=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 18:[2, 12] Operation: 92-80=12 Exploring Operation: 80-2=78, Resulting Numbers: [92, 78] Generated Node #0,0,1: 18:[92, 78] Operation: 80-2=78 Exploring Operation: 92/2=46, Resulting Numbers: [80, 46] Generated Node #0,0,2: 18:[80, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [80, 90] Generated Node #0,0,3: 18:[80, 90] Operation: 92-2=90 Exploring Operation: 80/2=40, Resulting Numbers: [92, 40] Generated Node #0,0,4: 18:[92, 40] Operation: 80/2=40 Moving to Node #0,3 Current State: 18:[92, 88, 10], Operations: ['90-80=10'] Exploring Operation: 88+10=98, Resulting Numbers: [92, 98] Generated Node #0,3,0: 18:[92, 98] Operation: 88+10=98 Exploring Operation: 92+10=102, Resulting Numbers: [88, 102] Generated Node #0,3,1: 18:[88, 102] Operation: 92+10=102 Exploring Operation: 92-10=82, Resulting Numbers: [88, 82] Generated Node #0,3,2: 18:[88, 82] Operation: 92-10=82 Exploring Operation: 88-10=78, Resulting Numbers: [92, 78] Generated Node #0,3,3: 18:[92, 78] Operation: 88-10=78 Exploring Operation: 92-88=4, Resulting Numbers: [10, 4] Generated Node #0,3,4: 18:[10, 4] Operation: 92-88=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[10, 4], Operations: ['90-80=10', '92-88=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[88, 82], Operations: ['90-80=10', '92-10=82'] Exploring Operation: 88*82=7216, Resulting Numbers: [7216] 7216,18 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[92, 78], Operations: ['90-80=10', '88-10=78'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,18 unequal: No Solution Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[92, 98], Operations: ['90-80=10', '88+10=98'] Exploring Operation: 92*98=9016, Resulting Numbers: [9016] 9016,18 unequal: No Solution Exploring Operation: 92+98=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[88, 102], Operations: ['90-80=10', '92+10=102'] Exploring Operation: 102-88=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 88+102=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 88*102=8976, Resulting Numbers: [8976] 8976,18 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: 18:[88, 90, 12], Operations: ['92-80=12'] Exploring Operation: 90-12=78, Resulting Numbers: [88, 78] Generated Node #0,4,0: 18:[88, 78] Operation: 90-12=78 Exploring Operation: 90+12=102, Resulting Numbers: [88, 102] Generated Node #0,4,1: 18:[88, 102] Operation: 90+12=102 Exploring Operation: 90-88=2, Resulting Numbers: [12, 2] Generated Node #0,4,2: 18:[12, 2] Operation: 90-88=2 Exploring Operation: 88-12=76, Resulting Numbers: [90, 76] Generated Node #0,4,3: 18:[90, 76] Operation: 88-12=76 Exploring Operation: 88+12=100, Resulting Numbers: [90, 100] Generated Node #0,4,4: 18:[90, 100] Operation: 88+12=100 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[12, 2], Operations: ['92-80=12', '90-88=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[88, 78], Operations: ['92-80=12', '90-12=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,18 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[90, 76], Operations: ['92-80=12', '88-12=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,18 unequal: No Solution Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[88, 102], Operations: ['92-80=12', '90+12=102'] Exploring Operation: 88+102=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 102-88=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 88*102=8976, Resulting Numbers: [8976] 8976,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[90, 100], Operations: ['92-80=12', '88+12=100'] Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,18 unequal: No Solution Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 18:[4, 10], Operations: ['92-88=4', '90-80=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[2, 12], Operations: ['90-88=2', '92-80=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[90, 20], Operations: ['92-88=4', '80/4=20'] Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[80, 46], Operations: ['90-88=2', '92/2=46'] Exploring Operation: 80+46=126, Resulting Numbers: [126] 126,18 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 80*46=3680, Resulting Numbers: [3680] 3680,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[92, 40], Operations: ['90-88=2', '80/2=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,18 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[90, 76], Operations: ['92-88=4', '80-4=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,18 unequal: No Solution Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[80, 86], Operations: ['92-88=4', '90-4=86'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 80*86=6880, Resulting Numbers: [6880] 6880,18 unequal: No Solution Exploring Operation: 80+86=166, Resulting Numbers: [166] 166,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[92, 78], Operations: ['90-88=2', '80-2=78'] Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,18 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[80, 90], Operations: ['90-88=2', '92-2=90'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,18 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[90, 84], Operations: ['92-88=4', '80+4=84'] Exploring Operation: 90+84=174, Resulting Numbers: [174] 174,18 unequal: No Solution Exploring Operation: 90*84=7560, Resulting Numbers: [7560] 7560,18 unequal: No Solution Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 1, 34, 15, 6 ]
85
[ "1*34=34", "15*34=510", "510/6=85" ]
Current State: 85:[1, 34, 15, 6], Operations: [] Exploring Operation: 1*34=34, Resulting Numbers: [15, 6, 34] Generated Node #2: [15, 6, 34] from Operation: 1*34=34 Current State: 85:[15, 6, 34], Operations: ['1*34=34'] Exploring Operation: 15*34=510, Resulting Numbers: [6, 510] Generated Node #3: [6, 510] from Operation: 15*34=510 Current State: 85:[6, 510], Operations: ['1*34=34', '15*34=510'] Exploring Operation: 510/6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[1, 34, 15, 6], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [1, 6, 19] Generated Node #0,0: 85:[1, 6, 19] Operation: 34-15=19 Moving to Node #0,0 Current State: 85:[1, 6, 19], Operations: ['34-15=19'] Exploring Operation: 6-1=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 85:[19, 5] Operation: 6-1=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[19, 5], Operations: ['34-15=19', '6-1=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 41, 63, 97, 58 ]
51
[ "41+63=104", "97+58=155", "155-104=51" ]
Current State: 51:[41, 63, 97, 58], Operations: [] Exploring Operation: 41+63=104, Resulting Numbers: [97, 58, 104] Generated Node #2: [97, 58, 104] from Operation: 41+63=104 Current State: 51:[97, 58, 104], Operations: ['41+63=104'] Exploring Operation: 97+58=155, Resulting Numbers: [104, 155] Generated Node #3: [104, 155] from Operation: 97+58=155 Current State: 51:[104, 155], Operations: ['41+63=104', '97+58=155'] Exploring Operation: 155-104=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[41, 63, 97, 58], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [97, 58, 22] Generated Node #0,0: 51:[97, 58, 22] Operation: 63-41=22 Exploring Operation: 97-63=34, Resulting Numbers: [41, 58, 34] Generated Node #0,1: 51:[41, 58, 34] Operation: 97-63=34 Exploring Operation: 97-58=39, Resulting Numbers: [41, 63, 39] Generated Node #0,2: 51:[41, 63, 39] Operation: 97-58=39 Exploring Operation: 97-41=56, Resulting Numbers: [63, 58, 56] Generated Node #0,3: 51:[63, 58, 56] Operation: 97-41=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[63, 58, 56], Operations: ['97-41=56'] Exploring Operation: 58-56=2, Resulting Numbers: [63, 2] Generated Node #0,3,0: 51:[63, 2] Operation: 58-56=2 Exploring Operation: 63-56=7, Resulting Numbers: [58, 7] Generated Node #0,3,1: 51:[58, 7] Operation: 63-56=7 Exploring Operation: 63-58=5, Resulting Numbers: [56, 5] Generated Node #0,3,2: 51:[56, 5] Operation: 63-58=5 Exploring Operation: 63+58=121, Resulting Numbers: [56, 121] Generated Node #0,3,3: 51:[56, 121] Operation: 63+58=121 Moving to Node #0,3,2 Current State: 51:[56, 5], Operations: ['97-41=56', '63-58=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[41, 63, 97, 58], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [63, 58, 56] Generated Node #0,3: 51:[63, 58, 56] Operation: 97-41=56 Moving to Node #0,3 Current State: 51:[63, 58, 56], Operations: ['97-41=56'] Exploring Operation: 63-58=5, Resulting Numbers: [56, 5] Generated Node #0,3,2: 51:[56, 5] Operation: 63-58=5 Moving to Node #0,3,2 Current State: 51:[56, 5], Operations: ['97-41=56', '63-58=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 3, 10, 40, 50 ]
48
[ "3+40=43", "50/10=5", "43+5=48" ]
Current State: 48:[3, 10, 40, 50], Operations: [] Exploring Operation: 3+40=43, Resulting Numbers: [10, 50, 43] Generated Node #2: [10, 50, 43] from Operation: 3+40=43 Current State: 48:[10, 50, 43], Operations: ['3+40=43'] Exploring Operation: 50/10=5, Resulting Numbers: [43, 5] Generated Node #3: [43, 5] from Operation: 50/10=5 Current State: 48:[43, 5], Operations: ['3+40=43', '50/10=5'] Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[3, 10, 40, 50], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [3, 50, 4] Generated Node #0,0: 48:[3, 50, 4] Operation: 40/10=4 Exploring Operation: 10+40=50, Resulting Numbers: [3, 50, 50] Generated Node #0,1: 48:[3, 50, 50] Operation: 10+40=50 Moving to Node #0,0 Current State: 48:[3, 50, 4], Operations: ['40/10=4'] Exploring Operation: 3*4=12, Resulting Numbers: [50, 12] Generated Node #0,0,0: 48:[50, 12] Operation: 3*4=12 Exploring Operation: 50-3=47, Resulting Numbers: [4, 47] Generated Node #0,0,1: 48:[4, 47] Operation: 50-3=47 Moving to Node #0,1 Current State: 48:[3, 50, 50], Operations: ['10+40=50'] Exploring Operation: 50/50=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 48:[3, 1] Operation: 50/50=1 Exploring Operation: 50-50=0, Resulting Numbers: [3, 0] Generated Node #0,1,1: 48:[3, 0] Operation: 50-50=0 Moving to Node #0,0,1 Current State: 48:[4, 47], Operations: ['40/10=4', '50-3=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[3, 1], Operations: ['10+40=50', '50/50=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[50, 12], Operations: ['40/10=4', '3*4=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[3, 0], Operations: ['10+40=50', '50-50=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 61, 60, 39, 73 ]
34
[ "61-60=1", "73-39=34", "1*34=34" ]
Current State: 34:[61, 60, 39, 73], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [39, 73, 1] Generated Node #2: [39, 73, 1] from Operation: 61-60=1 Current State: 34:[39, 73, 1], Operations: ['61-60=1'] Exploring Operation: 73-39=34, Resulting Numbers: [1, 34] Generated Node #3: [1, 34] from Operation: 73-39=34 Current State: 34:[1, 34], Operations: ['61-60=1', '73-39=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[61, 60, 39, 73], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [61, 60, 34] Generated Node #0,0: 34:[61, 60, 34] Operation: 73-39=34 Exploring Operation: 61-39=22, Resulting Numbers: [60, 73, 22] Generated Node #0,1: 34:[60, 73, 22] Operation: 61-39=22 Exploring Operation: 61-60=1, Resulting Numbers: [39, 73, 1] Generated Node #0,2: 34:[39, 73, 1] Operation: 61-60=1 Exploring Operation: 73-60=13, Resulting Numbers: [61, 39, 13] Generated Node #0,3: 34:[61, 39, 13] Operation: 73-60=13 Exploring Operation: 73-61=12, Resulting Numbers: [60, 39, 12] Generated Node #0,4: 34:[60, 39, 12] Operation: 73-61=12 Moving to Node #0,3 Current State: 34:[61, 39, 13], Operations: ['73-60=13'] Exploring Operation: 61-13=48, Resulting Numbers: [39, 48] Generated Node #0,3,0: 34:[39, 48] Operation: 61-13=48 Exploring Operation: 39/13=3, Resulting Numbers: [61, 3] Generated Node #0,3,1: 34:[61, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [61, 26] Generated Node #0,3,2: 34:[61, 26] Operation: 39-13=26 Exploring Operation: 61-39=22, Resulting Numbers: [13, 22] Generated Node #0,3,3: 34:[13, 22] Operation: 61-39=22 Exploring Operation: 61+13=74, Resulting Numbers: [39, 74] Generated Node #0,3,4: 34:[39, 74] Operation: 61+13=74 Moving to Node #0,4 Current State: 34:[60, 39, 12], Operations: ['73-61=12'] Exploring Operation: 60-12=48, Resulting Numbers: [39, 48] Generated Node #0,4,0: 34:[39, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [39, 5] Generated Node #0,4,1: 34:[39, 5] Operation: 60/12=5 Exploring Operation: 60-39=21, Resulting Numbers: [12, 21] Generated Node #0,4,2: 34:[12, 21] Operation: 60-39=21 Exploring Operation: 60+12=72, Resulting Numbers: [39, 72] Generated Node #0,4,3: 34:[39, 72] Operation: 60+12=72 Exploring Operation: 39-12=27, Resulting Numbers: [60, 27] Generated Node #0,4,4: 34:[60, 27] Operation: 39-12=27 Moving to Node #0,2 Current State: 34:[39, 73, 1], Operations: ['61-60=1'] Exploring Operation: 39-1=38, Resulting Numbers: [73, 38] Generated Node #0,2,0: 34:[73, 38] Operation: 39-1=38 Exploring Operation: 39*1=39, Resulting Numbers: [73, 39] Generated Node #0,2,1: 34:[73, 39] Operation: 39*1=39 Exploring Operation: 73-39=34, Resulting Numbers: [1, 34] Generated Node #0,2,2: 34:[1, 34] Operation: 73-39=34 Exploring Operation: 39/1=39, Resulting Numbers: [73, 39] Generated Node #0,2,3: 34:[73, 39] Operation: 39/1=39 Exploring Operation: 73-1=72, Resulting Numbers: [39, 72] Generated Node #0,2,4: 34:[39, 72] Operation: 73-1=72 Moving to Node #0,0 Current State: 34:[61, 60, 34], Operations: ['73-39=34'] Exploring Operation: 60-34=26, Resulting Numbers: [61, 26] Generated Node #0,0,0: 34:[61, 26] Operation: 60-34=26 Exploring Operation: 61-34=27, Resulting Numbers: [60, 27] Generated Node #0,0,1: 34:[60, 27] Operation: 61-34=27 Exploring Operation: 61-60=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 34:[34, 1] Operation: 61-60=1 Exploring Operation: 61+34=95, Resulting Numbers: [60, 95] Generated Node #0,0,3: 34:[60, 95] Operation: 61+34=95 Exploring Operation: 61+60=121, Resulting Numbers: [34, 121] Generated Node #0,0,4: 34:[34, 121] Operation: 61+60=121 Moving to Node #0,1 Current State: 34:[60, 73, 22], Operations: ['61-39=22'] Exploring Operation: 73+22=95, Resulting Numbers: [60, 95] Generated Node #0,1,0: 34:[60, 95] Operation: 73+22=95 Exploring Operation: 73-22=51, Resulting Numbers: [60, 51] Generated Node #0,1,1: 34:[60, 51] Operation: 73-22=51 Exploring Operation: 60+22=82, Resulting Numbers: [73, 82] Generated Node #0,1,2: 34:[73, 82] Operation: 60+22=82 Exploring Operation: 73-60=13, Resulting Numbers: [22, 13] Generated Node #0,1,3: 34:[22, 13] Operation: 73-60=13 Exploring Operation: 60-22=38, Resulting Numbers: [73, 38] Generated Node #0,1,4: 34:[73, 38] Operation: 60-22=38 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[22, 13], Operations: ['61-39=22', '73-60=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[60, 51], Operations: ['61-39=22', '73-22=51'] Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,34 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 34:[73, 38], Operations: ['61-39=22', '60-22=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,34 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,34 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[60, 95], Operations: ['61-39=22', '73+22=95'] Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,34 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[73, 82], Operations: ['61-39=22', '60+22=82'] Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,34 unequal: No Solution Exploring Operation: 73*82=5986, Resulting Numbers: [5986] 5986,34 unequal: No Solution Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,34 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: 34:[1, 34], Operations: ['61-60=1', '73-39=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[61, 60, 39, 73], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [39, 73, 1] Generated Node #0,2: 34:[39, 73, 1] Operation: 61-60=1 Moving to Node #0,2 Current State: 34:[39, 73, 1], Operations: ['61-60=1'] Exploring Operation: 73-39=34, Resulting Numbers: [1, 34] Generated Node #0,2,2: 34:[1, 34] Operation: 73-39=34 Moving to Node #0,2,2 Current State: 34:[1, 34], Operations: ['61-60=1', '73-39=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 29, 38, 12, 24 ]
27
[ "38-29=9", "12+24=36", "36-9=27" ]
Current State: 27:[29, 38, 12, 24], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [12, 24, 9] Generated Node #2: [12, 24, 9] from Operation: 38-29=9 Current State: 27:[12, 24, 9], Operations: ['38-29=9'] Exploring Operation: 12+24=36, Resulting Numbers: [9, 36] Generated Node #3: [9, 36] from Operation: 12+24=36 Current State: 27:[9, 36], Operations: ['38-29=9', '12+24=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 38, 12, 24], Operations: [] Exploring Operation: 38-24=14, Resulting Numbers: [29, 12, 14] Generated Node #0,0: 27:[29, 12, 14] Operation: 38-24=14 Exploring Operation: 38-12=26, Resulting Numbers: [29, 24, 26] Generated Node #0,1: 27:[29, 24, 26] Operation: 38-12=26 Exploring Operation: 38-29=9, Resulting Numbers: [12, 24, 9] Generated Node #0,2: 27:[12, 24, 9] Operation: 38-29=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[29, 24, 26], Operations: ['38-12=26'] Exploring Operation: 26-24=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 27:[29, 2] Operation: 26-24=2 Exploring Operation: 29-24=5, Resulting Numbers: [26, 5] Generated Node #0,1,1: 27:[26, 5] Operation: 29-24=5 Exploring Operation: 29-26=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 27:[24, 3] Operation: 29-26=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[29, 2], Operations: ['38-12=26', '26-24=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[29, 38, 12, 24], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [29, 24, 26] Generated Node #0,1: 27:[29, 24, 26] Operation: 38-12=26 Moving to Node #0,1 Current State: 27:[29, 24, 26], Operations: ['38-12=26'] Exploring Operation: 26-24=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 27:[29, 2] Operation: 26-24=2 Moving to Node #0,1,0 Current State: 27:[29, 2], Operations: ['38-12=26', '26-24=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 85, 43, 32, 99 ]
89
[ "85-43=42", "32+99=131", "131-42=89" ]
Current State: 89:[85, 43, 32, 99], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [32, 99, 42] Generated Node #2: [32, 99, 42] from Operation: 85-43=42 Current State: 89:[32, 99, 42], Operations: ['85-43=42'] Exploring Operation: 32+99=131, Resulting Numbers: [42, 131] Generated Node #3: [42, 131] from Operation: 32+99=131 Current State: 89:[42, 131], Operations: ['85-43=42', '32+99=131'] Exploring Operation: 131-42=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 43, 32, 99], Operations: [] Exploring Operation: 99-32=67, Resulting Numbers: [85, 43, 67] Generated Node #0,0: 89:[85, 43, 67] Operation: 99-32=67 Exploring Operation: 43+32=75, Resulting Numbers: [85, 99, 75] Generated Node #0,1: 89:[85, 99, 75] Operation: 43+32=75 Moving to Node #0,1 Current State: 89:[85, 99, 75], Operations: ['43+32=75'] Exploring Operation: 99-75=24, Resulting Numbers: [85, 24] Generated Node #0,1,0: 89:[85, 24] Operation: 99-75=24 Exploring Operation: 85+75=160, Resulting Numbers: [99, 160] Generated Node #0,1,1: 89:[99, 160] Operation: 85+75=160 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[85, 24], Operations: ['43+32=75', '99-75=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[99, 160], Operations: ['43+32=75', '85+75=160'] Exploring Operation: 160-99=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 99+160=259, Resulting Numbers: [259] 259,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[85, 43, 67], Operations: ['99-32=67'] Exploring Operation: 43+67=110, Resulting Numbers: [85, 110] Generated Node #0,0,0: 89:[85, 110] Operation: 43+67=110 Exploring Operation: 85+43=128, Resulting Numbers: [67, 128] Generated Node #0,0,1: 89:[67, 128] Operation: 85+43=128 Moving to Node #0,0,0 Current State: 89:[85, 110], Operations: ['99-32=67', '43+67=110'] Exploring Operation: 85+110=195, Resulting Numbers: [195] 195,89 unequal: No Solution Exploring Operation: 110-85=25, Resulting Numbers: [25] 25,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[67, 128], Operations: ['99-32=67', '85+43=128'] Exploring Operation: 67+128=195, Resulting Numbers: [195] 195,89 unequal: No Solution Exploring Operation: 128-67=61, Resulting Numbers: [61] 61,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 40, 26, 10, 74 ]
70
[ "40-26=14", "10+74=84", "84-14=70" ]
Current State: 70:[40, 26, 10, 74], Operations: [] Exploring Operation: 40-26=14, Resulting Numbers: [10, 74, 14] Generated Node #2: [10, 74, 14] from Operation: 40-26=14 Current State: 70:[10, 74, 14], Operations: ['40-26=14'] Exploring Operation: 10+74=84, Resulting Numbers: [14, 84] Generated Node #3: [14, 84] from Operation: 10+74=84 Current State: 70:[14, 84], Operations: ['40-26=14', '10+74=84'] Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[40, 26, 10, 74], Operations: [] Exploring Operation: 40+26=66, Resulting Numbers: [10, 74, 66] Generated Node #0,0: 70:[10, 74, 66] Operation: 40+26=66 Exploring Operation: 40-26=14, Resulting Numbers: [10, 74, 14] Generated Node #0,1: 70:[10, 74, 14] Operation: 40-26=14 Moving to Node #0,1 Current State: 70:[10, 74, 14], Operations: ['40-26=14'] Exploring Operation: 14-10=4, Resulting Numbers: [74, 4] Generated Node #0,1,0: 70:[74, 4] Operation: 14-10=4 Exploring Operation: 74-10=64, Resulting Numbers: [14, 64] Generated Node #0,1,1: 70:[14, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 70:[10, 74, 66], Operations: ['40+26=66'] Exploring Operation: 74-66=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 70:[10, 8] Operation: 74-66=8 Exploring Operation: 74-10=64, Resulting Numbers: [66, 64] Generated Node #0,0,1: 70:[66, 64] Operation: 74-10=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[10, 8], Operations: ['40+26=66', '74-66=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,70 unequal: No Solution No 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: 70:[66, 64], Operations: ['40+26=66', '74-10=64'] Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,70 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 70:[74, 4], Operations: ['40-26=14', '14-10=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[40, 26, 10, 74], Operations: [] Exploring Operation: 40-26=14, Resulting Numbers: [10, 74, 14] Generated Node #0,1: 70:[10, 74, 14] Operation: 40-26=14 Moving to Node #0,1 Current State: 70:[10, 74, 14], Operations: ['40-26=14'] Exploring Operation: 14-10=4, Resulting Numbers: [74, 4] Generated Node #0,1,0: 70:[74, 4] Operation: 14-10=4 Moving to Node #0,1,0 Current State: 70:[74, 4], Operations: ['40-26=14', '14-10=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 21, 11, 86, 99 ]
46
[ "21*11=231", "86+99=185", "231-185=46" ]
Current State: 46:[21, 11, 86, 99], Operations: [] Exploring Operation: 21*11=231, Resulting Numbers: [86, 99, 231] Generated Node #2: [86, 99, 231] from Operation: 21*11=231 Current State: 46:[86, 99, 231], Operations: ['21*11=231'] Exploring Operation: 86+99=185, Resulting Numbers: [231, 185] Generated Node #3: [231, 185] from Operation: 86+99=185 Current State: 46:[231, 185], Operations: ['21*11=231', '86+99=185'] Exploring Operation: 231-185=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[21, 11, 86, 99], Operations: [] Exploring Operation: 86-21=65, Resulting Numbers: [11, 99, 65] Generated Node #0,0: 46:[11, 99, 65] Operation: 86-21=65 Exploring Operation: 99-21=78, Resulting Numbers: [11, 86, 78] Generated Node #0,1: 46:[11, 86, 78] Operation: 99-21=78 Exploring Operation: 99-86=13, Resulting Numbers: [21, 11, 13] Generated Node #0,2: 46:[21, 11, 13] Operation: 99-86=13 Exploring Operation: 99/11=9, Resulting Numbers: [21, 86, 9] Generated Node #0,3: 46:[21, 86, 9] Operation: 99/11=9 Moving to Node #0,2 Current State: 46:[21, 11, 13], Operations: ['99-86=13'] Exploring Operation: 21-13=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 46:[11, 8] Operation: 21-13=8 Exploring Operation: 13-11=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 46:[21, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [21, 24] Generated Node #0,2,2: 46:[21, 24] Operation: 11+13=24 Exploring Operation: 21-11=10, Resulting Numbers: [13, 10] Generated Node #0,2,3: 46:[13, 10] Operation: 21-11=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[21, 2], Operations: ['99-86=13', '13-11=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[21, 24], Operations: ['99-86=13', '11+13=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,46 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[11, 8], Operations: ['99-86=13', '21-13=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[13, 10], Operations: ['99-86=13', '21-11=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,46 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,46 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: 46:[21, 86, 9], Operations: ['99/11=9'] Exploring Operation: 86-21=65, Resulting Numbers: [9, 65] Generated Node #0,3,0: 46:[9, 65] Operation: 86-21=65 Exploring Operation: 86-9=77, Resulting Numbers: [21, 77] Generated Node #0,3,1: 46:[21, 77] Operation: 86-9=77 Exploring Operation: 21+9=30, Resulting Numbers: [86, 30] Generated Node #0,3,2: 46:[86, 30] Operation: 21+9=30 Exploring Operation: 21-9=12, Resulting Numbers: [86, 12] Generated Node #0,3,3: 46:[86, 12] Operation: 21-9=12 Moving to Node #0,1 Current State: 46:[11, 86, 78], Operations: ['99-21=78'] Exploring Operation: 86-11=75, Resulting Numbers: [78, 75] Generated Node #0,1,0: 46:[78, 75] Operation: 86-11=75 Exploring Operation: 11+86=97, Resulting Numbers: [78, 97] Generated Node #0,1,1: 46:[78, 97] Operation: 11+86=97 Exploring Operation: 78-11=67, Resulting Numbers: [86, 67] Generated Node #0,1,2: 46:[86, 67] Operation: 78-11=67 Exploring Operation: 86-78=8, Resulting Numbers: [11, 8] Generated Node #0,1,3: 46:[11, 8] Operation: 86-78=8 Moving to Node #0,0 Current State: 46:[11, 99, 65], Operations: ['86-21=65'] Exploring Operation: 65-11=54, Resulting Numbers: [99, 54] Generated Node #0,0,0: 46:[99, 54] Operation: 65-11=54 Exploring Operation: 99/11=9, Resulting Numbers: [65, 9] Generated Node #0,0,1: 46:[65, 9] Operation: 99/11=9 Exploring Operation: 99-11=88, Resulting Numbers: [65, 88] Generated Node #0,0,2: 46:[65, 88] Operation: 99-11=88 Exploring Operation: 99-65=34, Resulting Numbers: [11, 34] Generated Node #0,0,3: 46:[11, 34] Operation: 99-65=34 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[11, 34], Operations: ['86-21=65', '99-65=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,46 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[65, 9], Operations: ['86-21=65', '99/11=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[99, 54], Operations: ['86-21=65', '65-11=54'] Exploring Operation: 99+54=153, Resulting Numbers: [153] 153,46 unequal: No Solution Exploring Operation: 99*54=5346, Resulting Numbers: [5346] 5346,46 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[65, 88], Operations: ['86-21=65', '99-11=88'] Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,46 unequal: No Solution Exploring Operation: 65*88=5720, Resulting Numbers: [5720] 5720,46 unequal: No Solution Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 46:[11, 8], Operations: ['99-21=78', '86-78=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[9, 65], Operations: ['99/11=9', '86-21=65'] Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,46 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[21, 77], Operations: ['99/11=9', '86-9=77'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,46 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[86, 30], Operations: ['99/11=9', '21+9=30'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,46 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[86, 12], Operations: ['99/11=9', '21-9=12'] Exploring Operation: 86*12=1032, Resulting Numbers: [1032] 1032,46 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 86+12=98, Resulting Numbers: [98] 98,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[78, 75], Operations: ['99-21=78', '86-11=75'] Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,46 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,46 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[86, 67], Operations: ['99-21=78', '78-11=67'] Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,46 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[78, 97], Operations: ['99-21=78', '11+86=97'] Exploring Operation: 78*97=7566, Resulting Numbers: [7566] 7566,46 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 78+97=175, Resulting Numbers: [175] 175,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 49, 36, 47 ]
96
[ "37-36=1", "49+47=96", "1*96=96" ]
Current State: 96:[37, 49, 36, 47], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [49, 47, 1] Generated Node #2: [49, 47, 1] from Operation: 37-36=1 Current State: 96:[49, 47, 1], Operations: ['37-36=1'] Exploring Operation: 49+47=96, Resulting Numbers: [1, 96] Generated Node #3: [1, 96] from Operation: 49+47=96 Current State: 96:[1, 96], Operations: ['37-36=1', '49+47=96'] Exploring Operation: 1*96=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[37, 49, 36, 47], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [49, 36, 10] Generated Node #0,0: 96:[49, 36, 10] Operation: 47-37=10 Exploring Operation: 49-37=12, Resulting Numbers: [36, 47, 12] Generated Node #0,1: 96:[36, 47, 12] Operation: 49-37=12 Exploring Operation: 37-36=1, Resulting Numbers: [49, 47, 1] Generated Node #0,2: 96:[49, 47, 1] Operation: 37-36=1 Exploring Operation: 47-36=11, Resulting Numbers: [37, 49, 11] Generated Node #0,3: 96:[37, 49, 11] Operation: 47-36=11 Exploring Operation: 49-36=13, Resulting Numbers: [37, 47, 13] Generated Node #0,4: 96:[37, 47, 13] Operation: 49-36=13 Moving to Node #0,2 Current State: 96:[49, 47, 1], Operations: ['37-36=1'] Exploring Operation: 49+47=96, Resulting Numbers: [1, 96] Generated Node #0,2,0: 96:[1, 96] Operation: 49+47=96 Exploring Operation: 47+1=48, Resulting Numbers: [49, 48] Generated Node #0,2,1: 96:[49, 48] Operation: 47+1=48 Exploring Operation: 49-47=2, Resulting Numbers: [1, 2] Generated Node #0,2,2: 96:[1, 2] Operation: 49-47=2 Exploring Operation: 49-1=48, Resulting Numbers: [47, 48] Generated Node #0,2,3: 96:[47, 48] Operation: 49-1=48 Exploring Operation: 49*1=49, Resulting Numbers: [47, 49] Generated Node #0,2,4: 96:[47, 49] Operation: 49*1=49 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[1, 96], Operations: ['37-36=1', '49+47=96'] Exploring Operation: 1+96=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[37, 49, 36, 47], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [49, 47, 1] Generated Node #0,2: 96:[49, 47, 1] Operation: 37-36=1 Moving to Node #0,2 Current State: 96:[49, 47, 1], Operations: ['37-36=1'] Exploring Operation: 49+47=96, Resulting Numbers: [1, 96] Generated Node #0,2,0: 96:[1, 96] Operation: 49+47=96 Moving to Node #0,2,0 Current State: 96:[1, 96], Operations: ['37-36=1', '49+47=96'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 21, 37, 4, 5 ]
78
[ "21+37=58", "4*5=20", "58+20=78" ]
Current State: 78:[21, 37, 4, 5], Operations: [] Exploring Operation: 21+37=58, Resulting Numbers: [4, 5, 58] Generated Node #2: [4, 5, 58] from Operation: 21+37=58 Current State: 78:[4, 5, 58], Operations: ['21+37=58'] Exploring Operation: 4*5=20, Resulting Numbers: [58, 20] Generated Node #3: [58, 20] from Operation: 4*5=20 Current State: 78:[58, 20], Operations: ['21+37=58', '4*5=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[21, 37, 4, 5], Operations: [] Exploring Operation: 21+4=25, Resulting Numbers: [37, 5, 25] Generated Node #0,0: 78:[37, 5, 25] Operation: 21+4=25 Exploring Operation: 21-5=16, Resulting Numbers: [37, 4, 16] Generated Node #0,1: 78:[37, 4, 16] Operation: 21-5=16 Exploring Operation: 37-21=16, Resulting Numbers: [4, 5, 16] Generated Node #0,2: 78:[4, 5, 16] Operation: 37-21=16 Exploring Operation: 21+5=26, Resulting Numbers: [37, 4, 26] Generated Node #0,3: 78:[37, 4, 26] Operation: 21+5=26 Moving to Node #0,3 Current State: 78:[37, 4, 26], Operations: ['21+5=26'] Exploring Operation: 37+4=41, Resulting Numbers: [26, 41] Generated Node #0,3,0: 78:[26, 41] Operation: 37+4=41 Exploring Operation: 37-4=33, Resulting Numbers: [26, 33] Generated Node #0,3,1: 78:[26, 33] Operation: 37-4=33 Exploring Operation: 4+26=30, Resulting Numbers: [37, 30] Generated Node #0,3,2: 78:[37, 30] Operation: 4+26=30 Exploring Operation: 37-26=11, Resulting Numbers: [4, 11] Generated Node #0,3,3: 78:[4, 11] Operation: 37-26=11 Moving to Node #0,0 Current State: 78:[37, 5, 25], Operations: ['21+4=25'] Exploring Operation: 25/5=5, Resulting Numbers: [37, 5] Generated Node #0,0,0: 78:[37, 5] Operation: 25/5=5 Exploring Operation: 37-25=12, Resulting Numbers: [5, 12] Generated Node #0,0,1: 78:[5, 12] Operation: 37-25=12 Exploring Operation: 5+25=30, Resulting Numbers: [37, 30] Generated Node #0,0,2: 78:[37, 30] Operation: 5+25=30 Exploring Operation: 37+5=42, Resulting Numbers: [25, 42] Generated Node #0,0,3: 78:[25, 42] Operation: 37+5=42 Moving to Node #0,2 Current State: 78:[4, 5, 16], Operations: ['37-21=16'] Exploring Operation: 16-5=11, Resulting Numbers: [4, 11] Generated Node #0,2,0: 78:[4, 11] Operation: 16-5=11 Exploring Operation: 5*16=80, Resulting Numbers: [4, 80] Generated Node #0,2,1: 78:[4, 80] Operation: 5*16=80 Exploring Operation: 16/4=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 78:[5, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [5, 12] Generated Node #0,2,3: 78:[5, 12] Operation: 16-4=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[5, 4], Operations: ['37-21=16', '16/4=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[5, 12], Operations: ['37-21=16', '16-4=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[4, 11], Operations: ['37-21=16', '16-5=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[4, 80], Operations: ['37-21=16', '5*16=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,78 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: 78:[37, 4, 16], Operations: ['21-5=16'] Exploring Operation: 16/4=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 78:[37, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [37, 12] Generated Node #0,1,1: 78:[37, 12] Operation: 16-4=12 Exploring Operation: 37-16=21, Resulting Numbers: [4, 21] Generated Node #0,1,2: 78:[4, 21] Operation: 37-16=21 Exploring Operation: 37+4=41, Resulting Numbers: [16, 41] Generated Node #0,1,3: 78:[16, 41] Operation: 37+4=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[37, 4], Operations: ['21-5=16', '16/4=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,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,1,1 Current State: 78:[37, 12], Operations: ['21-5=16', '16-4=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,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,1,3 Current State: 78:[16, 41], Operations: ['21-5=16', '37+4=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,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,1,2 Current State: 78:[4, 21], Operations: ['21-5=16', '37-16=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 78:[26, 41], Operations: ['21+5=26', '37+4=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,78 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[5, 12], Operations: ['21+4=25', '37-25=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[37, 5], Operations: ['21+4=25', '25/5=5'] Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[4, 11], Operations: ['21+5=26', '37-26=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[25, 42], Operations: ['21+4=25', '37+5=42'] Exploring Operation: 25*42=1050, Resulting Numbers: [1050] 1050,78 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[26, 33], Operations: ['21+5=26', '37-4=33'] Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,78 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[37, 30], Operations: ['21+4=25', '5+25=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,78 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[37, 30], Operations: ['21+5=26', '4+26=30'] Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,78 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 22, 10, 81, 87 ]
14
[ "22-10=12", "81+87=168", "168/12=14" ]
Current State: 14:[22, 10, 81, 87], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [81, 87, 12] Generated Node #2: [81, 87, 12] from Operation: 22-10=12 Current State: 14:[81, 87, 12], Operations: ['22-10=12'] Exploring Operation: 81+87=168, Resulting Numbers: [12, 168] Generated Node #3: [12, 168] from Operation: 81+87=168 Current State: 14:[12, 168], Operations: ['22-10=12', '81+87=168'] Exploring Operation: 168/12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[22, 10, 81, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [22, 10, 6] Generated Node #0,0: 14:[22, 10, 6] Operation: 87-81=6 Exploring Operation: 87-22=65, Resulting Numbers: [10, 81, 65] Generated Node #0,1: 14:[10, 81, 65] Operation: 87-22=65 Exploring Operation: 81-22=59, Resulting Numbers: [10, 87, 59] Generated Node #0,2: 14:[10, 87, 59] Operation: 81-22=59 Moving to Node #0,0 Current State: 14:[22, 10, 6], Operations: ['87-81=6'] Exploring Operation: 10+6=16, Resulting Numbers: [22, 16] Generated Node #0,0,0: 14:[22, 16] Operation: 10+6=16 Exploring Operation: 22-6=16, Resulting Numbers: [10, 16] Generated Node #0,0,1: 14:[10, 16] Operation: 22-6=16 Exploring Operation: 22-10=12, Resulting Numbers: [6, 12] Generated Node #0,0,2: 14:[6, 12] Operation: 22-10=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[6, 12], Operations: ['87-81=6', '22-10=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[10, 16], Operations: ['87-81=6', '22-6=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,14 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[22, 16], Operations: ['87-81=6', '10+6=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,14 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 14:[10, 81, 65], Operations: ['87-22=65'] Exploring Operation: 81-10=71, Resulting Numbers: [65, 71] Generated Node #0,1,0: 14:[65, 71] Operation: 81-10=71 Exploring Operation: 81-65=16, Resulting Numbers: [10, 16] Generated Node #0,1,1: 14:[10, 16] Operation: 81-65=16 Exploring Operation: 65-10=55, Resulting Numbers: [81, 55] Generated Node #0,1,2: 14:[81, 55] Operation: 65-10=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[10, 16], Operations: ['87-22=65', '81-65=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,14 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[65, 71], Operations: ['87-22=65', '81-10=71'] Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,14 unequal: No Solution Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,14 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[81, 55], Operations: ['87-22=65', '65-10=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,14 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,14 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: 14:[10, 87, 59], Operations: ['81-22=59'] Exploring Operation: 59-10=49, Resulting Numbers: [87, 49] Generated Node #0,2,0: 14:[87, 49] Operation: 59-10=49 Exploring Operation: 87-59=28, Resulting Numbers: [10, 28] Generated Node #0,2,1: 14:[10, 28] Operation: 87-59=28 Exploring Operation: 87-10=77, Resulting Numbers: [59, 77] Generated Node #0,2,2: 14:[59, 77] Operation: 87-10=77 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[10, 28], Operations: ['81-22=59', '87-59=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[87, 49], Operations: ['81-22=59', '59-10=49'] Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,14 unequal: No Solution Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[59, 77], Operations: ['81-22=59', '87-10=77'] Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,14 unequal: No Solution Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,14 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic