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
[ 46, 26, 26, 60 ]
29
[ "46-26=20", "60/20=3", "26+3=29" ]
Current State: 29:[46, 26, 26, 60], Operations: [] Exploring Operation: 46-26=20, Resulting Numbers: [60, 20] Generated Node #2: [60, 20] from Operation: 46-26=20 Current State: 29:[60, 20], Operations: ['46-26=20'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,29 equal: Goal Reached Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[46, 26, 26, 60], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [26, 26, 14] Generated Node #0,0: 29:[26, 26, 14] Operation: 60-46=14 Moving to Node #0,0 Current State: 29:[26, 26, 14], Operations: ['60-46=14'] Exploring Operation: 26+14=40, Resulting Numbers: [26, 40] Generated Node #0,0,0: 29:[26, 40] Operation: 26+14=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[26, 40], Operations: ['60-46=14', '26+14=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,29 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
[ 3, 56, 64, 83 ]
73
[ "83-56=27", "27/3=9", "64+9=73" ]
Current State: 73:[3, 56, 64, 83], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [3, 64, 27] Generated Node #2: [3, 64, 27] from Operation: 83-56=27 Current State: 73:[3, 64, 27], Operations: ['83-56=27'] Exploring Operation: 27/3=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 27/3=9 Current State: 73:[64, 9], Operations: ['83-56=27', '27/3=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 56, 64, 83], Operations: [] Exploring Operation: 64-3=61, Resulting Numbers: [56, 83, 61] Generated Node #0,0: 73:[56, 83, 61] Operation: 64-3=61 Exploring Operation: 3+56=59, Resulting Numbers: [64, 83, 59] Generated Node #0,1: 73:[64, 83, 59] Operation: 3+56=59 Exploring Operation: 3+64=67, Resulting Numbers: [56, 83, 67] Generated Node #0,2: 73:[56, 83, 67] Operation: 3+64=67 Exploring Operation: 83-3=80, Resulting Numbers: [56, 64, 80] Generated Node #0,3: 73:[56, 64, 80] Operation: 83-3=80 Exploring Operation: 56-3=53, Resulting Numbers: [64, 83, 53] Generated Node #0,4: 73:[64, 83, 53] Operation: 56-3=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[64, 83, 59], Operations: ['3+56=59'] Exploring Operation: 64+59=123, Resulting Numbers: [83, 123] Generated Node #0,1,0: 73:[83, 123] Operation: 64+59=123 Exploring Operation: 64-59=5, Resulting Numbers: [83, 5] Generated Node #0,1,1: 73:[83, 5] Operation: 64-59=5 Exploring Operation: 83-64=19, Resulting Numbers: [59, 19] Generated Node #0,1,2: 73:[59, 19] Operation: 83-64=19 Exploring Operation: 83+59=142, Resulting Numbers: [64, 142] Generated Node #0,1,3: 73:[64, 142] Operation: 83+59=142 Exploring Operation: 83-59=24, Resulting Numbers: [64, 24] Generated Node #0,1,4: 73:[64, 24] Operation: 83-59=24 Moving to Node #0,1,4 Current State: 73:[64, 24], Operations: ['3+56=59', '83-59=24'] Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,73 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[83, 123], Operations: ['3+56=59', '64+59=123'] Exploring Operation: 83*123=10209, Resulting Numbers: [10209] 10209,73 unequal: No Solution Exploring Operation: 83+123=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[59, 19], Operations: ['3+56=59', '83-64=19'] Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,73 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[83, 5], Operations: ['3+56=59', '64-59=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[64, 142], Operations: ['3+56=59', '83+59=142'] Exploring Operation: 64*142=9088, Resulting Numbers: [9088] 9088,73 unequal: No Solution Exploring Operation: 142-64=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 64+142=206, Resulting Numbers: [206] 206,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:[56, 83, 67], Operations: ['3+64=67'] Exploring Operation: 83-67=16, Resulting Numbers: [56, 16] Generated Node #0,2,0: 73:[56, 16] Operation: 83-67=16 Exploring Operation: 56+83=139, Resulting Numbers: [67, 139] Generated Node #0,2,1: 73:[67, 139] Operation: 56+83=139 Exploring Operation: 56+67=123, Resulting Numbers: [83, 123] Generated Node #0,2,2: 73:[83, 123] Operation: 56+67=123 Exploring Operation: 83-56=27, Resulting Numbers: [67, 27] Generated Node #0,2,3: 73:[67, 27] Operation: 83-56=27 Exploring Operation: 67-56=11, Resulting Numbers: [83, 11] Generated Node #0,2,4: 73:[83, 11] Operation: 67-56=11 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[67, 27], Operations: ['3+64=67', '83-56=27'] Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,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,2,2 Current State: 73:[83, 123], Operations: ['3+64=67', '56+67=123'] Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 83*123=10209, Resulting Numbers: [10209] 10209,73 unequal: No Solution Exploring Operation: 83+123=206, Resulting Numbers: [206] 206,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,2,1 Current State: 73:[67, 139], Operations: ['3+64=67', '56+83=139'] Exploring Operation: 67*139=9313, Resulting Numbers: [9313] 9313,73 unequal: No Solution Exploring Operation: 67+139=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 139-67=72, Resulting Numbers: [72] 72,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,2,4 Current State: 73:[83, 11], Operations: ['3+64=67', '67-56=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,73 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,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,2,0 Current State: 73:[56, 16], Operations: ['3+64=67', '83-67=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[56, 64, 80], Operations: ['83-3=80'] Exploring Operation: 64-56=8, Resulting Numbers: [80, 8] Generated Node #0,3,0: 73:[80, 8] Operation: 64-56=8 Exploring Operation: 56+80=136, Resulting Numbers: [64, 136] Generated Node #0,3,1: 73:[64, 136] Operation: 56+80=136 Exploring Operation: 56+64=120, Resulting Numbers: [80, 120] Generated Node #0,3,2: 73:[80, 120] Operation: 56+64=120 Exploring Operation: 80-64=16, Resulting Numbers: [56, 16] Generated Node #0,3,3: 73:[56, 16] Operation: 80-64=16 Exploring Operation: 80-56=24, Resulting Numbers: [64, 24] Generated Node #0,3,4: 73:[64, 24] Operation: 80-56=24 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[80, 120], Operations: ['83-3=80', '56+64=120'] Exploring Operation: 120-80=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 80+120=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 80*120=9600, Resulting Numbers: [9600] 9600,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:[64, 24], Operations: ['83-3=80', '80-56=24'] Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,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:[80, 8], Operations: ['83-3=80', '64-56=8'] Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,73 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,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,1 Current State: 73:[64, 136], Operations: ['83-3=80', '56+80=136'] Exploring Operation: 64*136=8704, Resulting Numbers: [8704] 8704,73 unequal: No Solution Exploring Operation: 64+136=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 136-64=72, Resulting Numbers: [72] 72,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:[56, 16], Operations: ['83-3=80', '80-64=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,73 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[56, 83, 61], Operations: ['64-3=61'] Exploring Operation: 83-61=22, Resulting Numbers: [56, 22] Generated Node #0,0,0: 73:[56, 22] Operation: 83-61=22 Exploring Operation: 56+83=139, Resulting Numbers: [61, 139] Generated Node #0,0,1: 73:[61, 139] Operation: 56+83=139 Exploring Operation: 61-56=5, Resulting Numbers: [83, 5] Generated Node #0,0,2: 73:[83, 5] Operation: 61-56=5 Exploring Operation: 83-56=27, Resulting Numbers: [61, 27] Generated Node #0,0,3: 73:[61, 27] Operation: 83-56=27 Exploring Operation: 56+61=117, Resulting Numbers: [83, 117] Generated Node #0,0,4: 73:[83, 117] Operation: 56+61=117 Moving to Node #0,0,4 Current State: 73:[83, 117], Operations: ['64-3=61', '56+61=117'] Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,73 unequal: No Solution Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[61, 27], Operations: ['64-3=61', '83-56=27'] Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,73 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[56, 22], Operations: ['64-3=61', '83-61=22'] Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,73 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[61, 139], Operations: ['64-3=61', '56+83=139'] Exploring Operation: 61*139=8479, Resulting Numbers: [8479] 8479,73 unequal: No Solution Exploring Operation: 61+139=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 139-61=78, Resulting Numbers: [78] 78,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[83, 5], Operations: ['64-3=61', '61-56=5'] Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,73 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[64, 83, 53], Operations: ['56-3=53'] Exploring Operation: 83-53=30, Resulting Numbers: [64, 30] Generated Node #0,4,0: 73:[64, 30] Operation: 83-53=30 Exploring Operation: 64+53=117, Resulting Numbers: [83, 117] Generated Node #0,4,1: 73:[83, 117] Operation: 64+53=117 Exploring Operation: 83-64=19, Resulting Numbers: [53, 19] Generated Node #0,4,2: 73:[53, 19] Operation: 83-64=19 Exploring Operation: 64-53=11, Resulting Numbers: [83, 11] Generated Node #0,4,3: 73:[83, 11] Operation: 64-53=11 Exploring Operation: 83+53=136, Resulting Numbers: [64, 136] Generated Node #0,4,4: 73:[64, 136] Operation: 83+53=136 Moving to Node #0,4,0 Current State: 73:[64, 30], Operations: ['56-3=53', '83-53=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,73 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[83, 117], Operations: ['56-3=53', '64+53=117'] Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,73 unequal: No Solution Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[83, 11], Operations: ['56-3=53', '64-53=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,73 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[64, 136], Operations: ['56-3=53', '83+53=136'] Exploring Operation: 64+136=200, Resulting Numbers: [200] 200,73 unequal: No Solution Exploring Operation: 64*136=8704, Resulting Numbers: [8704] 8704,73 unequal: No Solution Exploring Operation: 136-64=72, Resulting Numbers: [72] 72,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[53, 19], Operations: ['56-3=53', '83-64=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,73 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,73 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
[ 96, 75, 10, 5 ]
29
[ "96-75=21", "10*5=50", "50-21=29" ]
Current State: 29:[96, 75, 10, 5], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [10, 5, 21] Generated Node #2: [10, 5, 21] from Operation: 96-75=21 Current State: 29:[10, 5, 21], Operations: ['96-75=21'] Exploring Operation: 10*5=50, Resulting Numbers: [21, 50] Generated Node #3: [21, 50] from Operation: 10*5=50 Current State: 29:[21, 50], Operations: ['96-75=21', '10*5=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[96, 75, 10, 5], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [10, 5, 21] Generated Node #0,0: 29:[10, 5, 21] Operation: 96-75=21 Exploring Operation: 96-5=91, Resulting Numbers: [75, 10, 91] Generated Node #0,1: 29:[75, 10, 91] Operation: 96-5=91 Exploring Operation: 75/5=15, Resulting Numbers: [96, 10, 15] Generated Node #0,2: 29:[96, 10, 15] Operation: 75/5=15 Exploring Operation: 96-10=86, Resulting Numbers: [75, 5, 86] Generated Node #0,3: 29:[75, 5, 86] Operation: 96-10=86 Moving to Node #0,0 Current State: 29:[10, 5, 21], Operations: ['96-75=21'] Exploring Operation: 10+21=31, Resulting Numbers: [5, 31] Generated Node #0,0,0: 29:[5, 31] Operation: 10+21=31 Exploring Operation: 10+5=15, Resulting Numbers: [21, 15] Generated Node #0,0,1: 29:[21, 15] Operation: 10+5=15 Exploring Operation: 10*5=50, Resulting Numbers: [21, 50] Generated Node #0,0,2: 29:[21, 50] Operation: 10*5=50 Exploring Operation: 5+21=26, Resulting Numbers: [10, 26] Generated Node #0,0,3: 29:[10, 26] Operation: 5+21=26 Moving to Node #0,2 Current State: 29:[96, 10, 15], Operations: ['75/5=15'] Exploring Operation: 96-15=81, Resulting Numbers: [10, 81] Generated Node #0,2,0: 29:[10, 81] Operation: 96-15=81 Exploring Operation: 96+10=106, Resulting Numbers: [15, 106] Generated Node #0,2,1: 29:[15, 106] Operation: 96+10=106 Exploring Operation: 96-10=86, Resulting Numbers: [15, 86] Generated Node #0,2,2: 29:[15, 86] Operation: 96-10=86 Exploring Operation: 10+15=25, Resulting Numbers: [96, 25] Generated Node #0,2,3: 29:[96, 25] Operation: 10+15=25 Moving to Node #0,3 Current State: 29:[75, 5, 86], Operations: ['96-10=86'] Exploring Operation: 86-75=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 29:[5, 11] Operation: 86-75=11 Exploring Operation: 75-5=70, Resulting Numbers: [86, 70] Generated Node #0,3,1: 29:[86, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [86, 15] Generated Node #0,3,2: 29:[86, 15] Operation: 75/5=15 Exploring Operation: 86-5=81, Resulting Numbers: [75, 81] Generated Node #0,3,3: 29:[75, 81] Operation: 86-5=81 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[5, 11], Operations: ['96-10=86', '86-75=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,29 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[86, 15], Operations: ['96-10=86', '75/5=15'] Exploring Operation: 86*15=1290, Resulting Numbers: [1290] 1290,29 unequal: No Solution Exploring Operation: 86+15=101, Resulting Numbers: [101] 101,29 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[86, 70], Operations: ['96-10=86', '75-5=70'] Exploring Operation: 86+70=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 86*70=6020, Resulting Numbers: [6020] 6020,29 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[75, 81], Operations: ['96-10=86', '86-5=81'] Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 75*81=6075, Resulting Numbers: [6075] 6075,29 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: 29:[75, 10, 91], Operations: ['96-5=91'] Exploring Operation: 91-10=81, Resulting Numbers: [75, 81] Generated Node #0,1,0: 29:[75, 81] Operation: 91-10=81 Exploring Operation: 75-10=65, Resulting Numbers: [91, 65] Generated Node #0,1,1: 29:[91, 65] Operation: 75-10=65 Exploring Operation: 75+10=85, Resulting Numbers: [91, 85] Generated Node #0,1,2: 29:[91, 85] Operation: 75+10=85 Exploring Operation: 91-75=16, Resulting Numbers: [10, 16] Generated Node #0,1,3: 29:[10, 16] Operation: 91-75=16 Moving to Node #0,0,1 Current State: 29:[21, 15], Operations: ['96-75=21', '10+5=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,29 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[10, 26], Operations: ['96-75=21', '5+21=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,29 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[5, 31], Operations: ['96-75=21', '10+21=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,29 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[21, 50], Operations: ['96-75=21', '10*5=50'] Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,29 unequal: No Solution Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[96, 75, 10, 5], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [10, 5, 21] Generated Node #0,0: 29:[10, 5, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 29:[10, 5, 21], Operations: ['96-75=21'] Exploring Operation: 10*5=50, Resulting Numbers: [21, 50] Generated Node #0,0,2: 29:[21, 50] Operation: 10*5=50 Moving to Node #0,0,2 Current State: 29:[21, 50], Operations: ['96-75=21', '10*5=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 38, 40, 15, 19 ]
35
[ "38/19=2", "40/2=20", "15+20=35" ]
Current State: 35:[38, 40, 15, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [40, 15, 2] Generated Node #2: [40, 15, 2] from Operation: 38/19=2 Current State: 35:[40, 15, 2], Operations: ['38/19=2'] Exploring Operation: 40/2=20, Resulting Numbers: [15, 20] Generated Node #3: [15, 20] from Operation: 40/2=20 Current State: 35:[15, 20], Operations: ['38/19=2', '40/2=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[38, 40, 15, 19], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [38, 40, 4] Generated Node #0,0: 35:[38, 40, 4] Operation: 19-15=4 Exploring Operation: 15+19=34, Resulting Numbers: [38, 40, 34] Generated Node #0,1: 35:[38, 40, 34] Operation: 15+19=34 Moving to Node #0,0 Current State: 35:[38, 40, 4], Operations: ['19-15=4'] Exploring Operation: 40-4=36, Resulting Numbers: [38, 36] Generated Node #0,0,0: 35:[38, 36] Operation: 40-4=36 Exploring Operation: 40-38=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 35:[4, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[38, 36], Operations: ['19-15=4', '40-4=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[4, 2], Operations: ['19-15=4', '40-38=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 35:[38, 40, 34], Operations: ['15+19=34'] Exploring Operation: 40-34=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 35:[38, 6] Operation: 40-34=6 Exploring Operation: 40-38=2, Resulting Numbers: [34, 2] Generated Node #0,1,1: 35:[34, 2] Operation: 40-38=2 Moving to Node #0,1,0 Current State: 35:[38, 6], Operations: ['15+19=34', '40-34=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[34, 2], Operations: ['15+19=34', '40-38=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 82, 78, 95 ]
93
[ "82-6=76", "95-78=17", "76+17=93" ]
Current State: 93:[6, 82, 78, 95], Operations: [] Exploring Operation: 82-6=76, Resulting Numbers: [78, 95, 76] Generated Node #2: [78, 95, 76] from Operation: 82-6=76 Current State: 93:[78, 95, 76], Operations: ['82-6=76'] Exploring Operation: 95-78=17, Resulting Numbers: [76, 17] Generated Node #3: [76, 17] from Operation: 95-78=17 Current State: 93:[76, 17], Operations: ['82-6=76', '95-78=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[6, 82, 78, 95], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [6, 95, 4] Generated Node #0,0: 93:[6, 95, 4] Operation: 82-78=4 Exploring Operation: 6+78=84, Resulting Numbers: [82, 95, 84] Generated Node #0,1: 93:[82, 95, 84] Operation: 6+78=84 Exploring Operation: 6+82=88, Resulting Numbers: [78, 95, 88] Generated Node #0,2: 93:[78, 95, 88] Operation: 6+82=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[6, 95, 4], Operations: ['82-78=4'] Exploring Operation: 95-6=89, Resulting Numbers: [4, 89] Generated Node #0,0,0: 93:[4, 89] Operation: 95-6=89 Exploring Operation: 6-4=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 6-4=2 Exploring Operation: 95-4=91, Resulting Numbers: [6, 91] Generated Node #0,0,2: 93:[6, 91] Operation: 95-4=91 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['82-78=4', '6-4=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[6, 82, 78, 95], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [6, 95, 4] Generated Node #0,0: 93:[6, 95, 4] Operation: 82-78=4 Moving to Node #0,0 Current State: 93:[6, 95, 4], Operations: ['82-78=4'] Exploring Operation: 6-4=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 6-4=2 Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['82-78=4', '6-4=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 3, 91, 30, 39 ]
74
[ "39/3=13", "91-30=61", "13+61=74" ]
Current State: 74:[3, 91, 30, 39], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [91, 30, 13] Generated Node #2: [91, 30, 13] from Operation: 39/3=13 Current State: 74:[91, 30, 13], Operations: ['39/3=13'] Exploring Operation: 91-30=61, Resulting Numbers: [13, 61] Generated Node #3: [13, 61] from Operation: 91-30=61 Current State: 74:[13, 61], Operations: ['39/3=13', '91-30=61'] Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 91, 30, 39], Operations: [] Exploring Operation: 91-30=61, Resulting Numbers: [3, 39, 61] Generated Node #0,0: 74:[3, 39, 61] Operation: 91-30=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[3, 39, 61], Operations: ['91-30=61'] Exploring Operation: 3+61=64, Resulting Numbers: [39, 64] Generated Node #0,0,0: 74:[39, 64] Operation: 3+61=64 Moving to Node #0,0,0 Current State: 74:[39, 64], Operations: ['91-30=61', '3+61=64'] Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,74 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
[ 52, 47, 82, 7 ]
24
[ "52+47=99", "82-7=75", "99-75=24" ]
Current State: 24:[52, 47, 82, 7], Operations: [] Exploring Operation: 52+47=99, Resulting Numbers: [82, 7, 99] Generated Node #2: [82, 7, 99] from Operation: 52+47=99 Current State: 24:[82, 7, 99], Operations: ['52+47=99'] Exploring Operation: 82-7=75, Resulting Numbers: [99, 75] Generated Node #3: [99, 75] from Operation: 82-7=75 Current State: 24:[99, 75], Operations: ['52+47=99', '82-7=75'] Exploring Operation: 99-75=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[52, 47, 82, 7], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [47, 7, 30] Generated Node #0,0: 24:[47, 7, 30] Operation: 82-52=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[47, 7, 30], Operations: ['82-52=30'] Exploring Operation: 47-30=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 24:[7, 17] Operation: 47-30=17 Moving to Node #0,0,0 Current State: 24:[7, 17], Operations: ['82-52=30', '47-30=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[52, 47, 82, 7], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [47, 7, 30] Generated Node #0,0: 24:[47, 7, 30] Operation: 82-52=30 Moving to Node #0,0 Current State: 24:[47, 7, 30], Operations: ['82-52=30'] Exploring Operation: 47-30=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 24:[7, 17] Operation: 47-30=17 Moving to Node #0,0,0 Current State: 24:[7, 17], Operations: ['82-52=30', '47-30=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 26, 50, 13, 40 ]
92
[ "26/13=2", "50+40=90", "2+90=92" ]
Current State: 92:[26, 50, 13, 40], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [50, 40, 2] Generated Node #2: [50, 40, 2] from Operation: 26/13=2 Current State: 92:[50, 40, 2], Operations: ['26/13=2'] Exploring Operation: 50+40=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 50+40=90 Current State: 92:[2, 90], Operations: ['26/13=2', '50+40=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[26, 50, 13, 40], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [50, 40, 2] Generated Node #0,0: 92:[50, 40, 2] Operation: 26/13=2 Exploring Operation: 50+40=90, Resulting Numbers: [26, 13, 90] Generated Node #0,1: 92:[26, 13, 90] Operation: 50+40=90 Exploring Operation: 50-26=24, Resulting Numbers: [13, 40, 24] Generated Node #0,2: 92:[13, 40, 24] Operation: 50-26=24 Exploring Operation: 40-13=27, Resulting Numbers: [26, 50, 27] Generated Node #0,3: 92:[26, 50, 27] Operation: 40-13=27 Exploring Operation: 13+40=53, Resulting Numbers: [26, 50, 53] Generated Node #0,4: 92:[26, 50, 53] Operation: 13+40=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[50, 40, 2], Operations: ['26/13=2'] Exploring Operation: 50-2=48, Resulting Numbers: [40, 48] Generated Node #0,0,0: 92:[40, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [40, 25] Generated Node #0,0,1: 92:[40, 25] Operation: 50/2=25 Exploring Operation: 50-40=10, Resulting Numbers: [2, 10] Generated Node #0,0,2: 92:[2, 10] Operation: 50-40=10 Exploring Operation: 50+40=90, Resulting Numbers: [2, 90] Generated Node #0,0,3: 92:[2, 90] Operation: 50+40=90 Exploring Operation: 40/2=20, Resulting Numbers: [50, 20] Generated Node #0,0,4: 92:[50, 20] Operation: 40/2=20 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[2, 90], Operations: ['26/13=2', '50+40=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[26, 50, 13, 40], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [50, 40, 2] Generated Node #0,0: 92:[50, 40, 2] Operation: 26/13=2 Moving to Node #0,0 Current State: 92:[50, 40, 2], Operations: ['26/13=2'] Exploring Operation: 50+40=90, Resulting Numbers: [2, 90] Generated Node #0,0,3: 92:[2, 90] Operation: 50+40=90 Moving to Node #0,0,3 Current State: 92:[2, 90], Operations: ['26/13=2', '50+40=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 21, 4, 60, 63 ]
96
[ "60-21=39", "63-39=24", "4*24=96" ]
Current State: 96:[21, 4, 60, 63], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [4, 63, 39] Generated Node #2: [4, 63, 39] from Operation: 60-21=39 Current State: 96:[4, 63, 39], Operations: ['60-21=39'] Exploring Operation: 63-39=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 63-39=24 Current State: 96:[4, 24], Operations: ['60-21=39', '63-39=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[21, 4, 60, 63], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [4, 60, 3] Generated Node #0,0: 96:[4, 60, 3] Operation: 63/21=3 Exploring Operation: 63-60=3, Resulting Numbers: [21, 4, 3] Generated Node #0,1: 96:[21, 4, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[21, 4, 3], Operations: ['63-60=3'] Exploring Operation: 21+4=25, Resulting Numbers: [3, 25] Generated Node #0,1,0: 96:[3, 25] Operation: 21+4=25 Exploring Operation: 21+3=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 96:[4, 24] Operation: 21+3=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[4, 24], Operations: ['63-60=3', '21+3=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[21, 4, 60, 63], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [21, 4, 3] Generated Node #0,1: 96:[21, 4, 3] Operation: 63-60=3 Moving to Node #0,1 Current State: 96:[21, 4, 3], Operations: ['63-60=3'] Exploring Operation: 21+3=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 96:[4, 24] Operation: 21+3=24 Moving to Node #0,1,1 Current State: 96:[4, 24], Operations: ['63-60=3', '21+3=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 57, 29, 45, 51 ]
58
[ "57+45=102", "29*102=2958", "2958/51=58" ]
Current State: 58:[57, 29, 45, 51], Operations: [] Exploring Operation: 57+45=102, Resulting Numbers: [29, 51, 102] Generated Node #2: [29, 51, 102] from Operation: 57+45=102 Current State: 58:[29, 51, 102], Operations: ['57+45=102'] Exploring Operation: 29*102=2958, Resulting Numbers: [51, 2958] Generated Node #3: [51, 2958] from Operation: 29*102=2958 Current State: 58:[51, 2958], Operations: ['57+45=102', '29*102=2958'] Exploring Operation: 2958/51=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[57, 29, 45, 51], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [57, 51, 16] Generated Node #0,0: 58:[57, 51, 16] Operation: 45-29=16 Exploring Operation: 57-29=28, Resulting Numbers: [45, 51, 28] Generated Node #0,1: 58:[45, 51, 28] Operation: 57-29=28 Exploring Operation: 51-45=6, Resulting Numbers: [57, 29, 6] Generated Node #0,2: 58:[57, 29, 6] Operation: 51-45=6 Exploring Operation: 57-51=6, Resulting Numbers: [29, 45, 6] Generated Node #0,3: 58:[29, 45, 6] Operation: 57-51=6 Exploring Operation: 57-45=12, Resulting Numbers: [29, 51, 12] Generated Node #0,4: 58:[29, 51, 12] Operation: 57-45=12 Moving to Node #0,2 Current State: 58:[57, 29, 6], Operations: ['51-45=6'] Exploring Operation: 29+6=35, Resulting Numbers: [57, 35] Generated Node #0,2,0: 58:[57, 35] Operation: 29+6=35 Exploring Operation: 29-6=23, Resulting Numbers: [57, 23] Generated Node #0,2,1: 58:[57, 23] Operation: 29-6=23 Exploring Operation: 57-29=28, Resulting Numbers: [6, 28] Generated Node #0,2,2: 58:[6, 28] Operation: 57-29=28 Exploring Operation: 57+6=63, Resulting Numbers: [29, 63] Generated Node #0,2,3: 58:[29, 63] Operation: 57+6=63 Exploring Operation: 57-6=51, Resulting Numbers: [29, 51] Generated Node #0,2,4: 58:[29, 51] Operation: 57-6=51 Moving to Node #0,4 Current State: 58:[29, 51, 12], Operations: ['57-45=12'] Exploring Operation: 29-12=17, Resulting Numbers: [51, 17] Generated Node #0,4,0: 58:[51, 17] Operation: 29-12=17 Exploring Operation: 51+12=63, Resulting Numbers: [29, 63] Generated Node #0,4,1: 58:[29, 63] Operation: 51+12=63 Exploring Operation: 29+12=41, Resulting Numbers: [51, 41] Generated Node #0,4,2: 58:[51, 41] Operation: 29+12=41 Exploring Operation: 51-12=39, Resulting Numbers: [29, 39] Generated Node #0,4,3: 58:[29, 39] Operation: 51-12=39 Exploring Operation: 51-29=22, Resulting Numbers: [12, 22] Generated Node #0,4,4: 58:[12, 22] Operation: 51-29=22 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 58:[29, 63], Operations: ['57-45=12', '51+12=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,58 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 58:[29, 39], Operations: ['57-45=12', '51-12=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,58 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[12, 22], Operations: ['57-45=12', '51-29=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,58 unequal: No Solution Exploring Operation: 12+22=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,4,0 Current State: 58:[51, 17], Operations: ['57-45=12', '29-12=17'] Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,58 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 51-17=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,4,2 Current State: 58:[51, 41], Operations: ['57-45=12', '29+12=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,58 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,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:[29, 45, 6], Operations: ['57-51=6'] Exploring Operation: 29+6=35, Resulting Numbers: [45, 35] Generated Node #0,3,0: 58:[45, 35] Operation: 29+6=35 Exploring Operation: 29-6=23, Resulting Numbers: [45, 23] Generated Node #0,3,1: 58:[45, 23] Operation: 29-6=23 Exploring Operation: 45+6=51, Resulting Numbers: [29, 51] Generated Node #0,3,2: 58:[29, 51] Operation: 45+6=51 Exploring Operation: 45-6=39, Resulting Numbers: [29, 39] Generated Node #0,3,3: 58:[29, 39] Operation: 45-6=39 Exploring Operation: 45-29=16, Resulting Numbers: [6, 16] Generated Node #0,3,4: 58:[6, 16] Operation: 45-29=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[29, 51], Operations: ['57-51=6', '45+6=51'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[29, 39], Operations: ['57-51=6', '45-6=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[6, 16], Operations: ['57-51=6', '45-29=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,58 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[45, 35], Operations: ['57-51=6', '29+6=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[45, 23], Operations: ['57-51=6', '29-6=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,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:[57, 51, 16], Operations: ['45-29=16'] Exploring Operation: 57+16=73, Resulting Numbers: [51, 73] Generated Node #0,0,0: 58:[51, 73] Operation: 57+16=73 Exploring Operation: 57-16=41, Resulting Numbers: [51, 41] Generated Node #0,0,1: 58:[51, 41] Operation: 57-16=41 Exploring Operation: 51-16=35, Resulting Numbers: [57, 35] Generated Node #0,0,2: 58:[57, 35] Operation: 51-16=35 Exploring Operation: 57-51=6, Resulting Numbers: [16, 6] Generated Node #0,0,3: 58:[16, 6] Operation: 57-51=6 Exploring Operation: 51+16=67, Resulting Numbers: [57, 67] Generated Node #0,0,4: 58:[57, 67] Operation: 51+16=67 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[57, 35], Operations: ['45-29=16', '51-16=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 58:[57, 67], Operations: ['45-29=16', '51+16=67'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 57+67=124, Resulting Numbers: [124] 124,58 unequal: No Solution Exploring Operation: 57*67=3819, Resulting Numbers: [3819] 3819,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[16, 6], Operations: ['45-29=16', '57-51=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,58 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[51, 41], Operations: ['45-29=16', '57-16=41'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,58 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[51, 73], Operations: ['45-29=16', '57+16=73'] Exploring Operation: 51*73=3723, Resulting Numbers: [3723] 3723,58 unequal: No Solution Exploring Operation: 51+73=124, Resulting Numbers: [124] 124,58 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,58 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: 58:[45, 51, 28], Operations: ['57-29=28'] Exploring Operation: 45+28=73, Resulting Numbers: [51, 73] Generated Node #0,1,0: 58:[51, 73] Operation: 45+28=73 Exploring Operation: 51-45=6, Resulting Numbers: [28, 6] Generated Node #0,1,1: 58:[28, 6] Operation: 51-45=6 Exploring Operation: 51+28=79, Resulting Numbers: [45, 79] Generated Node #0,1,2: 58:[45, 79] Operation: 51+28=79 Exploring Operation: 51-28=23, Resulting Numbers: [45, 23] Generated Node #0,1,3: 58:[45, 23] Operation: 51-28=23 Exploring Operation: 45-28=17, Resulting Numbers: [51, 17] Generated Node #0,1,4: 58:[51, 17] Operation: 45-28=17 Moving to Node #0,2,2 Current State: 58:[6, 28], Operations: ['51-45=6', '57-29=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[28, 6], Operations: ['57-29=28', '51-45=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,58 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[29, 63], Operations: ['51-45=6', '57+6=63'] Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,58 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[57, 35], Operations: ['51-45=6', '29+6=35'] Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,58 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[29, 51], Operations: ['51-45=6', '57-6=51'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,58 unequal: No Solution Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[57, 23], Operations: ['51-45=6', '29-6=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,58 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[45, 23], Operations: ['57-29=28', '51-28=23'] Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,58 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[51, 17], Operations: ['57-29=28', '45-28=17'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,58 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[51, 73], Operations: ['57-29=28', '45+28=73'] Exploring Operation: 51*73=3723, Resulting Numbers: [3723] 3723,58 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 51+73=124, Resulting Numbers: [124] 124,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[45, 79], Operations: ['57-29=28', '51+28=79'] Exploring Operation: 45+79=124, Resulting Numbers: [124] 124,58 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 45*79=3555, Resulting Numbers: [3555] 3555,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 77, 66, 80, 28 ]
41
[ "77-66=11", "80-28=52", "52-11=41" ]
Current State: 41:[77, 66, 80, 28], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [80, 28, 11] Generated Node #2: [80, 28, 11] from Operation: 77-66=11 Current State: 41:[80, 28, 11], Operations: ['77-66=11'] Exploring Operation: 80-28=52, Resulting Numbers: [11, 52] Generated Node #3: [11, 52] from Operation: 80-28=52 Current State: 41:[11, 52], Operations: ['77-66=11', '80-28=52'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[77, 66, 80, 28], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [77, 66, 52] Generated Node #0,0: 41:[77, 66, 52] Operation: 80-28=52 Exploring Operation: 77-28=49, Resulting Numbers: [66, 80, 49] Generated Node #0,1: 41:[66, 80, 49] Operation: 77-28=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[77, 66, 52], Operations: ['80-28=52'] Exploring Operation: 77-66=11, Resulting Numbers: [52, 11] Generated Node #0,0,0: 41:[52, 11] Operation: 77-66=11 Exploring Operation: 77-52=25, Resulting Numbers: [66, 25] Generated Node #0,0,1: 41:[66, 25] Operation: 77-52=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[52, 11], Operations: ['80-28=52', '77-66=11'] Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[77, 66, 80, 28], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [77, 66, 52] Generated Node #0,0: 41:[77, 66, 52] Operation: 80-28=52 Moving to Node #0,0 Current State: 41:[77, 66, 52], Operations: ['80-28=52'] Exploring Operation: 77-66=11, Resulting Numbers: [52, 11] Generated Node #0,0,0: 41:[52, 11] Operation: 77-66=11 Moving to Node #0,0,0 Current State: 41:[52, 11], Operations: ['80-28=52', '77-66=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 74, 49, 15, 85 ]
95
[ "74-49=25", "85-15=70", "25+70=95" ]
Current State: 95:[74, 49, 15, 85], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [15, 85, 25] Generated Node #2: [15, 85, 25] from Operation: 74-49=25 Current State: 95:[15, 85, 25], Operations: ['74-49=25'] Exploring Operation: 85-15=70, Resulting Numbers: [25, 70] Generated Node #3: [25, 70] from Operation: 85-15=70 Current State: 95:[25, 70], Operations: ['74-49=25', '85-15=70'] Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[74, 49, 15, 85], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [15, 85, 25] Generated Node #0,0: 95:[15, 85, 25] Operation: 74-49=25 Moving to Node #0,0 Current State: 95:[15, 85, 25], Operations: ['74-49=25'] Exploring Operation: 15+85=100, Resulting Numbers: [25, 100] Generated Node #0,0,0: 95:[25, 100] Operation: 15+85=100 Moving to Node #0,0,0 Current State: 95:[25, 100], Operations: ['74-49=25', '15+85=100'] Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,95 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 89, 45, 50 ]
21
[ "89+45=134", "134-50=84", "84/4=21" ]
Current State: 21:[4, 89, 45, 50], Operations: [] Exploring Operation: 89+45=134, Resulting Numbers: [4, 50, 134] Generated Node #2: [4, 50, 134] from Operation: 89+45=134 Current State: 21:[4, 50, 134], Operations: ['89+45=134'] Exploring Operation: 134-50=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 134-50=84 Current State: 21:[4, 84], Operations: ['89+45=134', '134-50=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[4, 89, 45, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [4, 89, 5] Generated Node #0,0: 21:[4, 89, 5] Operation: 50-45=5 Exploring Operation: 89-50=39, Resulting Numbers: [4, 45, 39] Generated Node #0,1: 21:[4, 45, 39] Operation: 89-50=39 Exploring Operation: 89-45=44, Resulting Numbers: [4, 50, 44] Generated Node #0,2: 21:[4, 50, 44] Operation: 89-45=44 Moving to Node #0,1 Current State: 21:[4, 45, 39], Operations: ['89-50=39'] Exploring Operation: 39-4=35, Resulting Numbers: [45, 35] Generated Node #0,1,0: 21:[45, 35] Operation: 39-4=35 Exploring Operation: 45-4=41, Resulting Numbers: [39, 41] Generated Node #0,1,1: 21:[39, 41] Operation: 45-4=41 Exploring Operation: 45-39=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 21:[4, 6] Operation: 45-39=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[4, 6], Operations: ['89-50=39', '45-39=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,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,1,0 Current State: 21:[45, 35], Operations: ['89-50=39', '39-4=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,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,1,1 Current State: 21:[39, 41], Operations: ['89-50=39', '45-4=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,21 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,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:[4, 50, 44], Operations: ['89-45=44'] Exploring Operation: 50-44=6, Resulting Numbers: [4, 6] Generated Node #0,2,0: 21:[4, 6] Operation: 50-44=6 Exploring Operation: 44/4=11, Resulting Numbers: [50, 11] Generated Node #0,2,1: 21:[50, 11] Operation: 44/4=11 Exploring Operation: 50-4=46, Resulting Numbers: [44, 46] Generated Node #0,2,2: 21:[44, 46] Operation: 50-4=46 Moving to Node #0,0 Current State: 21:[4, 89, 5], Operations: ['50-45=5'] Exploring Operation: 89-5=84, Resulting Numbers: [4, 84] Generated Node #0,0,0: 21:[4, 84] Operation: 89-5=84 Exploring Operation: 4*5=20, Resulting Numbers: [89, 20] Generated Node #0,0,1: 21:[89, 20] Operation: 4*5=20 Exploring Operation: 89-4=85, Resulting Numbers: [5, 85] Generated Node #0,0,2: 21:[5, 85] Operation: 89-4=85 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[4, 84], Operations: ['50-45=5', '89-5=84'] Exploring Operation: 4+84=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[4, 89, 45, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [4, 89, 5] Generated Node #0,0: 21:[4, 89, 5] Operation: 50-45=5 Moving to Node #0,0 Current State: 21:[4, 89, 5], Operations: ['50-45=5'] Exploring Operation: 89-5=84, Resulting Numbers: [4, 84] Generated Node #0,0,0: 21:[4, 84] Operation: 89-5=84 Moving to Node #0,0,0 Current State: 21:[4, 84], Operations: ['50-45=5', '89-5=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 36, 35, 71, 45 ]
46
[ "36+35=71", "71/71=1", "45+1=46" ]
Current State: 46:[36, 35, 71, 45], Operations: [] Exploring Operation: 36+35=71, Resulting Numbers: [71, 45, 71] Generated Node #2: [71, 45, 71] from Operation: 36+35=71 Current State: 46:[71, 45, 71], Operations: ['36+35=71'] Exploring Operation: 71/71=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 71/71=1 Current State: 46:[45, 1], Operations: ['36+35=71', '71/71=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[36, 35, 71, 45], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [35, 45, 35] Generated Node #0,0: 46:[35, 45, 35] Operation: 71-36=35 Exploring Operation: 71-35=36, Resulting Numbers: [36, 45, 36] Generated Node #0,1: 46:[36, 45, 36] Operation: 71-35=36 Moving to Node #0,1 Current State: 46:[36, 45, 36], Operations: ['71-35=36'] Exploring Operation: 36-36=0, Resulting Numbers: [45, 0] Generated Node #0,1,0: 46:[45, 0] Operation: 36-36=0 Exploring Operation: 36/36=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 46:[45, 1] Operation: 36/36=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[45, 1], Operations: ['71-35=36', '36/36=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[36, 35, 71, 45], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [36, 45, 36] Generated Node #0,1: 46:[36, 45, 36] Operation: 71-35=36 Moving to Node #0,1 Current State: 46:[36, 45, 36], Operations: ['71-35=36'] Exploring Operation: 36/36=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 46:[45, 1] Operation: 36/36=1 Moving to Node #0,1,1 Current State: 46:[45, 1], Operations: ['71-35=36', '36/36=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 88, 28, 69, 31 ]
57
[ "88-69=19", "31-28=3", "19*3=57" ]
Current State: 57:[88, 28, 69, 31], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [28, 31, 19] Generated Node #2: [28, 31, 19] from Operation: 88-69=19 Current State: 57:[28, 31, 19], Operations: ['88-69=19'] Exploring Operation: 31-28=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 31-28=3 Current State: 57:[19, 3], Operations: ['88-69=19', '31-28=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[88, 28, 69, 31], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [28, 31, 19] Generated Node #0,0: 57:[28, 31, 19] Operation: 88-69=19 Moving to Node #0,0 Current State: 57:[28, 31, 19], Operations: ['88-69=19'] Exploring Operation: 31-28=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['88-69=19', '31-28=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[88, 28, 69, 31], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [28, 31, 19] Generated Node #0,0: 57:[28, 31, 19] Operation: 88-69=19 Moving to Node #0,0 Current State: 57:[28, 31, 19], Operations: ['88-69=19'] Exploring Operation: 31-28=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['88-69=19', '31-28=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 58, 71, 3, 34 ]
77
[ "58+71=129", "129/3=43", "34+43=77" ]
Current State: 77:[58, 71, 3, 34], Operations: [] Exploring Operation: 58+71=129, Resulting Numbers: [3, 34, 129] Generated Node #2: [3, 34, 129] from Operation: 58+71=129 Current State: 77:[3, 34, 129], Operations: ['58+71=129'] Exploring Operation: 129/3=43, Resulting Numbers: [34, 43] Generated Node #3: [34, 43] from Operation: 129/3=43 Current State: 77:[34, 43], Operations: ['58+71=129', '129/3=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[58, 71, 3, 34], Operations: [] Exploring Operation: 58-34=24, Resulting Numbers: [71, 3, 24] Generated Node #0,0: 77:[71, 3, 24] Operation: 58-34=24 Exploring Operation: 71-58=13, Resulting Numbers: [3, 34, 13] Generated Node #0,1: 77:[3, 34, 13] Operation: 71-58=13 Exploring Operation: 58+34=92, Resulting Numbers: [71, 3, 92] Generated Node #0,2: 77:[71, 3, 92] Operation: 58+34=92 Moving to Node #0,0 Current State: 77:[71, 3, 24], Operations: ['58-34=24'] Exploring Operation: 24/3=8, Resulting Numbers: [71, 8] Generated Node #0,0,0: 77:[71, 8] Operation: 24/3=8 Exploring Operation: 71+3=74, Resulting Numbers: [24, 74] Generated Node #0,0,1: 77:[24, 74] Operation: 71+3=74 Exploring Operation: 3*24=72, Resulting Numbers: [71, 72] Generated Node #0,0,2: 77:[71, 72] Operation: 3*24=72 Moving to Node #0,2 Current State: 77:[71, 3, 92], Operations: ['58+34=92'] Exploring Operation: 92-3=89, Resulting Numbers: [71, 89] Generated Node #0,2,0: 77:[71, 89] Operation: 92-3=89 Exploring Operation: 71+3=74, Resulting Numbers: [92, 74] Generated Node #0,2,1: 77:[92, 74] Operation: 71+3=74 Exploring Operation: 92-71=21, Resulting Numbers: [3, 21] Generated Node #0,2,2: 77:[3, 21] Operation: 92-71=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[3, 21], Operations: ['58+34=92', '92-71=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[71, 89], Operations: ['58+34=92', '92-3=89'] Exploring Operation: 71+89=160, Resulting Numbers: [160] 160,77 unequal: No Solution Exploring Operation: 71*89=6319, Resulting Numbers: [6319] 6319,77 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[92, 74], Operations: ['58+34=92', '71+3=74'] Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,77 unequal: No Solution Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,77 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: 77:[3, 34, 13], Operations: ['71-58=13'] Exploring Operation: 34-13=21, Resulting Numbers: [3, 21] Generated Node #0,1,0: 77:[3, 21] Operation: 34-13=21 Exploring Operation: 13-3=10, Resulting Numbers: [34, 10] Generated Node #0,1,1: 77:[34, 10] Operation: 13-3=10 Exploring Operation: 34-3=31, Resulting Numbers: [13, 31] Generated Node #0,1,2: 77:[13, 31] Operation: 34-3=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[3, 21], Operations: ['71-58=13', '34-13=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[13, 31], Operations: ['71-58=13', '34-3=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,77 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[34, 10], Operations: ['71-58=13', '13-3=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,77 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 77:[71, 8], Operations: ['58-34=24', '24/3=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[71, 72], Operations: ['58-34=24', '3*24=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,77 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,77 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[24, 74], Operations: ['58-34=24', '71+3=74'] Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,77 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 60, 72, 93 ]
75
[ "60-6=54", "93-72=21", "54+21=75" ]
Current State: 75:[6, 60, 72, 93], Operations: [] Exploring Operation: 60-6=54, Resulting Numbers: [72, 93, 54] Generated Node #2: [72, 93, 54] from Operation: 60-6=54 Current State: 75:[72, 93, 54], Operations: ['60-6=54'] Exploring Operation: 93-72=21, Resulting Numbers: [54, 21] Generated Node #3: [54, 21] from Operation: 93-72=21 Current State: 75:[54, 21], Operations: ['60-6=54', '93-72=21'] Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 60, 72, 93], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [6, 72, 33] Generated Node #0,0: 75:[6, 72, 33] Operation: 93-60=33 Moving to Node #0,0 Current State: 75:[6, 72, 33], Operations: ['93-60=33'] Exploring Operation: 33-6=27, Resulting Numbers: [72, 27] Generated Node #0,0,0: 75:[72, 27] Operation: 33-6=27 Moving to Node #0,0,0 Current State: 75:[72, 27], Operations: ['93-60=33', '33-6=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,75 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 26, 61, 79 ]
72
[ "30-26=4", "79-61=18", "4*18=72" ]
Current State: 72:[30, 26, 61, 79], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [61, 79, 4] Generated Node #2: [61, 79, 4] from Operation: 30-26=4 Current State: 72:[61, 79, 4], Operations: ['30-26=4'] Exploring Operation: 79-61=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 79-61=18 Current State: 72:[4, 18], Operations: ['30-26=4', '79-61=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[30, 26, 61, 79], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [61, 79, 4] Generated Node #0,0: 72:[61, 79, 4] Operation: 30-26=4 Exploring Operation: 79-30=49, Resulting Numbers: [26, 61, 49] Generated Node #0,1: 72:[26, 61, 49] Operation: 79-30=49 Exploring Operation: 61-26=35, Resulting Numbers: [30, 79, 35] Generated Node #0,2: 72:[30, 79, 35] Operation: 61-26=35 Exploring Operation: 61-30=31, Resulting Numbers: [26, 79, 31] Generated Node #0,3: 72:[26, 79, 31] Operation: 61-30=31 Exploring Operation: 79-61=18, Resulting Numbers: [30, 26, 18] Generated Node #0,4: 72:[30, 26, 18] Operation: 79-61=18 Moving to Node #0,4 Current State: 72:[30, 26, 18], Operations: ['79-61=18'] Exploring Operation: 26+18=44, Resulting Numbers: [30, 44] Generated Node #0,4,0: 72:[30, 44] Operation: 26+18=44 Exploring Operation: 30+18=48, Resulting Numbers: [26, 48] Generated Node #0,4,1: 72:[26, 48] Operation: 30+18=48 Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,4,2: 72:[18, 4] Operation: 30-26=4 Exploring Operation: 30-18=12, Resulting Numbers: [26, 12] Generated Node #0,4,3: 72:[26, 12] Operation: 30-18=12 Exploring Operation: 26-18=8, Resulting Numbers: [30, 8] Generated Node #0,4,4: 72:[30, 8] Operation: 26-18=8 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[18, 4], Operations: ['79-61=18', '30-26=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[30, 26, 61, 79], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [30, 26, 18] Generated Node #0,4: 72:[30, 26, 18] Operation: 79-61=18 Moving to Node #0,4 Current State: 72:[30, 26, 18], Operations: ['79-61=18'] Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,4,2: 72:[18, 4] Operation: 30-26=4 Moving to Node #0,4,2 Current State: 72:[18, 4], Operations: ['79-61=18', '30-26=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 77, 80, 20, 64 ]
73
[ "77+80=157", "20+64=84", "157-84=73" ]
Current State: 73:[77, 80, 20, 64], Operations: [] Exploring Operation: 77+80=157, Resulting Numbers: [20, 64, 157] Generated Node #2: [20, 64, 157] from Operation: 77+80=157 Current State: 73:[20, 64, 157], Operations: ['77+80=157'] Exploring Operation: 20+64=84, Resulting Numbers: [157, 84] Generated Node #3: [157, 84] from Operation: 20+64=84 Current State: 73:[157, 84], Operations: ['77+80=157', '20+64=84'] Exploring Operation: 157-84=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[77, 80, 20, 64], Operations: [] Exploring Operation: 20+64=84, Resulting Numbers: [77, 80, 84] Generated Node #0,0: 73:[77, 80, 84] Operation: 20+64=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[77, 80, 84], Operations: ['20+64=84'] Exploring Operation: 84-77=7, Resulting Numbers: [80, 7] Generated Node #0,0,0: 73:[80, 7] Operation: 84-77=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[80, 7], Operations: ['20+64=84', '84-77=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[77, 80, 20, 64], Operations: [] Exploring Operation: 20+64=84, Resulting Numbers: [77, 80, 84] Generated Node #0,0: 73:[77, 80, 84] Operation: 20+64=84 Moving to Node #0,0 Current State: 73:[77, 80, 84], Operations: ['20+64=84'] Exploring Operation: 84-77=7, Resulting Numbers: [80, 7] Generated Node #0,0,0: 73:[80, 7] Operation: 84-77=7 Moving to Node #0,0,0 Current State: 73:[80, 7], Operations: ['20+64=84', '84-77=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 39, 5, 30, 80 ]
17
[ "30+80=110", "110/5=22", "39-22=17" ]
Current State: 17:[39, 5, 30, 80], Operations: [] Exploring Operation: 30+80=110, Resulting Numbers: [39, 5, 110] Generated Node #2: [39, 5, 110] from Operation: 30+80=110 Current State: 17:[39, 5, 110], Operations: ['30+80=110'] Exploring Operation: 110/5=22, Resulting Numbers: [39, 22] Generated Node #3: [39, 22] from Operation: 110/5=22 Current State: 17:[39, 22], Operations: ['30+80=110', '110/5=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[39, 5, 30, 80], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [5, 30, 41] Generated Node #0,0: 17:[5, 30, 41] Operation: 80-39=41 Exploring Operation: 80-30=50, Resulting Numbers: [39, 5, 50] Generated Node #0,1: 17:[39, 5, 50] Operation: 80-30=50 Exploring Operation: 80/5=16, Resulting Numbers: [39, 30, 16] Generated Node #0,2: 17:[39, 30, 16] Operation: 80/5=16 Exploring Operation: 39-30=9, Resulting Numbers: [5, 80, 9] Generated Node #0,3: 17:[5, 80, 9] Operation: 39-30=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[39, 30, 16], Operations: ['80/5=16'] Exploring Operation: 39+16=55, Resulting Numbers: [30, 55] Generated Node #0,2,0: 17:[30, 55] Operation: 39+16=55 Exploring Operation: 30-16=14, Resulting Numbers: [39, 14] Generated Node #0,2,1: 17:[39, 14] Operation: 30-16=14 Exploring Operation: 39-30=9, Resulting Numbers: [16, 9] Generated Node #0,2,2: 17:[16, 9] Operation: 39-30=9 Exploring Operation: 39-16=23, Resulting Numbers: [30, 23] Generated Node #0,2,3: 17:[30, 23] Operation: 39-16=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[16, 9], Operations: ['80/5=16', '39-30=9'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,17 unequal: No Solution No 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: 17:[30, 23], Operations: ['80/5=16', '39-16=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,17 unequal: No Solution No 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: 17:[39, 14], Operations: ['80/5=16', '30-16=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,17 unequal: No Solution No 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: 17:[30, 55], Operations: ['80/5=16', '39+16=55'] Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[5, 30, 41], Operations: ['80-39=41'] Exploring Operation: 41-30=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 17:[5, 11] Operation: 41-30=11 Exploring Operation: 30/5=6, Resulting Numbers: [41, 6] Generated Node #0,0,1: 17:[41, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [41, 25] Generated Node #0,0,2: 17:[41, 25] Operation: 30-5=25 Exploring Operation: 41-5=36, Resulting Numbers: [30, 36] Generated Node #0,0,3: 17:[30, 36] Operation: 41-5=36 Moving to Node #0,0,0 Current State: 17:[5, 11], Operations: ['80-39=41', '41-30=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[30, 36], Operations: ['80-39=41', '41-5=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,17 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[41, 25], Operations: ['80-39=41', '30-5=25'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,17 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[41, 6], Operations: ['80-39=41', '30/5=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,17 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,17 unequal: No Solution No 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: 17:[39, 5, 50], Operations: ['80-30=50'] Exploring Operation: 39-5=34, Resulting Numbers: [50, 34] Generated Node #0,1,0: 17:[50, 34] Operation: 39-5=34 Exploring Operation: 50-39=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 17:[5, 11] Operation: 50-39=11 Exploring Operation: 50/5=10, Resulting Numbers: [39, 10] Generated Node #0,1,2: 17:[39, 10] Operation: 50/5=10 Exploring Operation: 50-5=45, Resulting Numbers: [39, 45] Generated Node #0,1,3: 17:[39, 45] Operation: 50-5=45 Moving to Node #0,1,1 Current State: 17:[5, 11], Operations: ['80-30=50', '50-39=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[39, 10], Operations: ['80-30=50', '50/5=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[39, 45], Operations: ['80-30=50', '50-5=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,17 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[50, 34], Operations: ['80-30=50', '39-5=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,17 unequal: No Solution No 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: 17:[5, 80, 9], Operations: ['39-30=9'] Exploring Operation: 80-9=71, Resulting Numbers: [5, 71] Generated Node #0,3,0: 17:[5, 71] Operation: 80-9=71 Exploring Operation: 80/5=16, Resulting Numbers: [9, 16] Generated Node #0,3,1: 17:[9, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [9, 75] Generated Node #0,3,2: 17:[9, 75] Operation: 80-5=75 Exploring Operation: 5+9=14, Resulting Numbers: [80, 14] Generated Node #0,3,3: 17:[80, 14] Operation: 5+9=14 Moving to Node #0,3,1 Current State: 17:[9, 16], Operations: ['39-30=9', '80/5=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[9, 75], Operations: ['39-30=9', '80-5=75'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[5, 71], Operations: ['39-30=9', '80-9=71'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,17 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[80, 14], Operations: ['39-30=9', '5+9=14'] Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,17 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,17 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
[ 79, 48, 92, 26 ]
46
[ "92-79=13", "26/13=2", "48-2=46" ]
Current State: 46:[79, 48, 92, 26], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [48, 26, 13] Generated Node #2: [48, 26, 13] from Operation: 92-79=13 Current State: 46:[48, 26, 13], Operations: ['92-79=13'] Exploring Operation: 26/13=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 26/13=2 Current State: 46:[48, 2], Operations: ['92-79=13', '26/13=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[79, 48, 92, 26], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [79, 26, 44] Generated Node #0,0: 46:[79, 26, 44] Operation: 92-48=44 Exploring Operation: 92-26=66, Resulting Numbers: [79, 48, 66] Generated Node #0,1: 46:[79, 48, 66] Operation: 92-26=66 Exploring Operation: 92-79=13, Resulting Numbers: [48, 26, 13] Generated Node #0,2: 46:[48, 26, 13] Operation: 92-79=13 Exploring Operation: 79-26=53, Resulting Numbers: [48, 92, 53] Generated Node #0,3: 46:[48, 92, 53] Operation: 79-26=53 Moving to Node #0,2 Current State: 46:[48, 26, 13], Operations: ['92-79=13'] Exploring Operation: 48-26=22, Resulting Numbers: [13, 22] Generated Node #0,2,0: 46:[13, 22] Operation: 48-26=22 Exploring Operation: 26/13=2, Resulting Numbers: [48, 2] Generated Node #0,2,1: 46:[48, 2] Operation: 26/13=2 Exploring Operation: 26+13=39, Resulting Numbers: [48, 39] Generated Node #0,2,2: 46:[48, 39] Operation: 26+13=39 Exploring Operation: 26-13=13, Resulting Numbers: [48, 13] Generated Node #0,2,3: 46:[48, 13] Operation: 26-13=13 Moving to Node #0,0 Current State: 46:[79, 26, 44], Operations: ['92-48=44'] Exploring Operation: 79-26=53, Resulting Numbers: [44, 53] Generated Node #0,0,0: 46:[44, 53] Operation: 79-26=53 Exploring Operation: 79-44=35, Resulting Numbers: [26, 35] Generated Node #0,0,1: 46:[26, 35] Operation: 79-44=35 Exploring Operation: 44-26=18, Resulting Numbers: [79, 18] Generated Node #0,0,2: 46:[79, 18] Operation: 44-26=18 Exploring Operation: 26+44=70, Resulting Numbers: [79, 70] Generated Node #0,0,3: 46:[79, 70] Operation: 26+44=70 Moving to Node #0,3 Current State: 46:[48, 92, 53], Operations: ['79-26=53'] Exploring Operation: 92-53=39, Resulting Numbers: [48, 39] Generated Node #0,3,0: 46:[48, 39] Operation: 92-53=39 Exploring Operation: 53-48=5, Resulting Numbers: [92, 5] Generated Node #0,3,1: 46:[92, 5] Operation: 53-48=5 Exploring Operation: 48+92=140, Resulting Numbers: [53, 140] Generated Node #0,3,2: 46:[53, 140] Operation: 48+92=140 Exploring Operation: 92-48=44, Resulting Numbers: [53, 44] Generated Node #0,3,3: 46:[53, 44] Operation: 92-48=44 Moving to Node #0,1 Current State: 46:[79, 48, 66], Operations: ['92-26=66'] Exploring Operation: 79+48=127, Resulting Numbers: [66, 127] Generated Node #0,1,0: 46:[66, 127] Operation: 79+48=127 Exploring Operation: 66-48=18, Resulting Numbers: [79, 18] Generated Node #0,1,1: 46:[79, 18] Operation: 66-48=18 Exploring Operation: 79-48=31, Resulting Numbers: [66, 31] Generated Node #0,1,2: 46:[66, 31] Operation: 79-48=31 Exploring Operation: 79-66=13, Resulting Numbers: [48, 13] Generated Node #0,1,3: 46:[48, 13] Operation: 79-66=13 Moving to Node #0,2,1 Current State: 46:[48, 2], Operations: ['92-79=13', '26/13=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[79, 48, 92, 26], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [48, 26, 13] Generated Node #0,2: 46:[48, 26, 13] Operation: 92-79=13 Moving to Node #0,2 Current State: 46:[48, 26, 13], Operations: ['92-79=13'] Exploring Operation: 26/13=2, Resulting Numbers: [48, 2] Generated Node #0,2,1: 46:[48, 2] Operation: 26/13=2 Moving to Node #0,2,1 Current State: 46:[48, 2], Operations: ['92-79=13', '26/13=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 18, 59, 47, 18 ]
48
[ "18+59=77", "47-18=29", "77-29=48" ]
Current State: 48:[18, 59, 47, 18], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [47, 77] Generated Node #2: [47, 77] from Operation: 18+59=77 Current State: 48:[47, 77], Operations: ['18+59=77'] Exploring Operation: 47-18=29, Resulting Numbers: [77, 29] Generated Node #3: [77, 29] from Operation: 47-18=29 Current State: 48:[77, 29], Operations: ['18+59=77', '47-18=29'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[18, 59, 47, 18], Operations: [] Exploring Operation: 59-18=41, Resulting Numbers: [47, 18, 41] Generated Node #0,0: 48:[47, 18, 41] Operation: 59-18=41 Exploring Operation: 59-47=12, Resulting Numbers: [18, 18, 12] Generated Node #0,1: 48:[18, 18, 12] Operation: 59-47=12 Moving to Node #0,1 Current State: 48:[18, 18, 12], Operations: ['59-47=12'] Exploring Operation: 18/18=1, Resulting Numbers: [12, 1] Generated Node #0,1,0: 48:[12, 1] Operation: 18/18=1 Exploring Operation: 18-18=0, Resulting Numbers: [12, 0] Generated Node #0,1,1: 48:[12, 0] Operation: 18-18=0 Moving to Node #0,0 Current State: 48:[47, 18, 41], Operations: ['59-18=41'] Exploring Operation: 47-41=6, Resulting Numbers: [18, 6] Generated Node #0,0,0: 48:[18, 6] Operation: 47-41=6 Exploring Operation: 41-18=23, Resulting Numbers: [47, 23] Generated Node #0,0,1: 48:[47, 23] Operation: 41-18=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[18, 6], Operations: ['59-18=41', '47-41=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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,0,1 Current State: 48:[47, 23], Operations: ['59-18=41', '41-18=23'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,48 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: 48:[12, 1], Operations: ['59-47=12', '18/18=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[12, 0], Operations: ['59-47=12', '18-18=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 3, 29, 11 ]
50
[ "54+29=83", "3*11=33", "83-33=50" ]
Current State: 50:[54, 3, 29, 11], Operations: [] Exploring Operation: 54+29=83, Resulting Numbers: [3, 11, 83] Generated Node #2: [3, 11, 83] from Operation: 54+29=83 Current State: 50:[3, 11, 83], Operations: ['54+29=83'] Exploring Operation: 3*11=33, Resulting Numbers: [83, 33] Generated Node #3: [83, 33] from Operation: 3*11=33 Current State: 50:[83, 33], Operations: ['54+29=83', '3*11=33'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[54, 3, 29, 11], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [54, 11, 26] Generated Node #0,0: 50:[54, 11, 26] Operation: 29-3=26 Exploring Operation: 54-3=51, Resulting Numbers: [29, 11, 51] Generated Node #0,1: 50:[29, 11, 51] Operation: 54-3=51 Exploring Operation: 54-29=25, Resulting Numbers: [3, 11, 25] Generated Node #0,2: 50:[3, 11, 25] Operation: 54-29=25 Moving to Node #0,2 Current State: 50:[3, 11, 25], Operations: ['54-29=25'] Exploring Operation: 3+25=28, Resulting Numbers: [11, 28] Generated Node #0,2,0: 50:[11, 28] Operation: 3+25=28 Exploring Operation: 11-3=8, Resulting Numbers: [25, 8] Generated Node #0,2,1: 50:[25, 8] Operation: 11-3=8 Exploring Operation: 3+11=14, Resulting Numbers: [25, 14] Generated Node #0,2,2: 50:[25, 14] Operation: 3+11=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[25, 8], Operations: ['54-29=25', '11-3=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,50 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[11, 28], Operations: ['54-29=25', '3+25=28'] Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,50 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[25, 14], Operations: ['54-29=25', '3+11=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,50 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,50 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: 50:[54, 11, 26], Operations: ['29-3=26'] Exploring Operation: 54-26=28, Resulting Numbers: [11, 28] Generated Node #0,0,0: 50:[11, 28] Operation: 54-26=28 Exploring Operation: 54-11=43, Resulting Numbers: [26, 43] Generated Node #0,0,1: 50:[26, 43] Operation: 54-11=43 Exploring Operation: 26-11=15, Resulting Numbers: [54, 15] Generated Node #0,0,2: 50:[54, 15] Operation: 26-11=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[11, 28], Operations: ['29-3=26', '54-26=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,50 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[26, 43], Operations: ['29-3=26', '54-11=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 26*43=1118, Resulting Numbers: [1118] 1118,50 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[54, 15], Operations: ['29-3=26', '26-11=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,50 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 50:[29, 11, 51], Operations: ['54-3=51'] Exploring Operation: 29+11=40, Resulting Numbers: [51, 40] Generated Node #0,1,0: 50:[51, 40] Operation: 29+11=40 Exploring Operation: 51-29=22, Resulting Numbers: [11, 22] Generated Node #0,1,1: 50:[11, 22] Operation: 51-29=22 Exploring Operation: 29-11=18, Resulting Numbers: [51, 18] Generated Node #0,1,2: 50:[51, 18] Operation: 29-11=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[11, 22], Operations: ['54-3=51', '51-29=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[51, 18], Operations: ['54-3=51', '29-11=18'] Exploring Operation: 51*18=918, Resulting Numbers: [918] 918,50 unequal: No Solution Exploring Operation: 51+18=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[51, 40], Operations: ['54-3=51', '29+11=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,50 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,50 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
[ 60, 60, 61, 27 ]
88
[ "60-60=0", "61+27=88", "0+88=88" ]
Current State: 88:[60, 60, 61, 27], Operations: [] Exploring Operation: 60-60=0, Resulting Numbers: [61, 27, 0] Generated Node #2: [61, 27, 0] from Operation: 60-60=0 Current State: 88:[61, 27, 0], Operations: ['60-60=0'] Exploring Operation: 61+27=88, Resulting Numbers: [0, 88] Generated Node #3: [0, 88] from Operation: 61+27=88 Current State: 88:[0, 88], Operations: ['60-60=0', '61+27=88'] Exploring Operation: 0+88=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[60, 60, 61, 27], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [60, 27, 1] Generated Node #0,0: 88:[60, 27, 1] Operation: 61-60=1 Exploring Operation: 60-60=0, Resulting Numbers: [61, 27, 0] Generated Node #0,1: 88:[61, 27, 0] Operation: 60-60=0 Exploring Operation: 60/60=1, Resulting Numbers: [61, 27, 1] Generated Node #0,2: 88:[61, 27, 1] Operation: 60/60=1 Exploring Operation: 61-60=1, Resulting Numbers: [60, 27, 1] Generated Node #0,3: 88:[60, 27, 1] Operation: 61-60=1 Exploring Operation: 61+27=88, Resulting Numbers: [60, 60, 88] Generated Node #0,4: 88:[60, 60, 88] Operation: 61+27=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[60, 27, 1], Operations: ['61-60=1'] Exploring Operation: 60-27=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 88:[1, 33] Operation: 60-27=33 Exploring Operation: 60-1=59, Resulting Numbers: [27, 59] Generated Node #0,0,1: 88:[27, 59] Operation: 60-1=59 Exploring Operation: 60*1=60, Resulting Numbers: [27, 60] Generated Node #0,0,2: 88:[27, 60] Operation: 60*1=60 Exploring Operation: 60+27=87, Resulting Numbers: [1, 87] Generated Node #0,0,3: 88:[1, 87] Operation: 60+27=87 Exploring Operation: 27-1=26, Resulting Numbers: [60, 26] Generated Node #0,0,4: 88:[60, 26] Operation: 27-1=26 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[1, 87], Operations: ['61-60=1', '60+27=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[60, 60, 61, 27], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [60, 27, 1] Generated Node #0,0: 88:[60, 27, 1] Operation: 61-60=1 Moving to Node #0,0 Current State: 88:[60, 27, 1], Operations: ['61-60=1'] Exploring Operation: 60+27=87, Resulting Numbers: [1, 87] Generated Node #0,0,3: 88:[1, 87] Operation: 60+27=87 Moving to Node #0,0,3 Current State: 88:[1, 87], Operations: ['61-60=1', '60+27=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 2, 91, 55, 79 ]
98
[ "2*55=110", "91-79=12", "110-12=98" ]
Current State: 98:[2, 91, 55, 79], Operations: [] Exploring Operation: 2*55=110, Resulting Numbers: [91, 79, 110] Generated Node #2: [91, 79, 110] from Operation: 2*55=110 Current State: 98:[91, 79, 110], Operations: ['2*55=110'] Exploring Operation: 91-79=12, Resulting Numbers: [110, 12] Generated Node #3: [110, 12] from Operation: 91-79=12 Current State: 98:[110, 12], Operations: ['2*55=110', '91-79=12'] Exploring Operation: 110-12=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[2, 91, 55, 79], Operations: [] Exploring Operation: 2+91=93, Resulting Numbers: [55, 79, 93] Generated Node #0,0: 98:[55, 79, 93] Operation: 2+91=93 Exploring Operation: 79-55=24, Resulting Numbers: [2, 91, 24] Generated Node #0,1: 98:[2, 91, 24] Operation: 79-55=24 Exploring Operation: 91-79=12, Resulting Numbers: [2, 55, 12] Generated Node #0,2: 98:[2, 55, 12] Operation: 91-79=12 Moving to Node #0,2 Current State: 98:[2, 55, 12], Operations: ['91-79=12'] Exploring Operation: 2+12=14, Resulting Numbers: [55, 14] Generated Node #0,2,0: 98:[55, 14] Operation: 2+12=14 Exploring Operation: 55-2=53, Resulting Numbers: [12, 53] Generated Node #0,2,1: 98:[12, 53] Operation: 55-2=53 Exploring Operation: 55-12=43, Resulting Numbers: [2, 43] Generated Node #0,2,2: 98:[2, 43] Operation: 55-12=43 Moving to Node #0,1 Current State: 98:[2, 91, 24], Operations: ['79-55=24'] Exploring Operation: 2+91=93, Resulting Numbers: [24, 93] Generated Node #0,1,0: 98:[24, 93] Operation: 2+91=93 Exploring Operation: 24/2=12, Resulting Numbers: [91, 12] Generated Node #0,1,1: 98:[91, 12] Operation: 24/2=12 Exploring Operation: 2*24=48, Resulting Numbers: [91, 48] Generated Node #0,1,2: 98:[91, 48] Operation: 2*24=48 Moving to Node #0,0 Current State: 98:[55, 79, 93], Operations: ['2+91=93'] Exploring Operation: 93-79=14, Resulting Numbers: [55, 14] Generated Node #0,0,0: 98:[55, 14] Operation: 93-79=14 Exploring Operation: 93-55=38, Resulting Numbers: [79, 38] Generated Node #0,0,1: 98:[79, 38] Operation: 93-55=38 Exploring Operation: 79-55=24, Resulting Numbers: [93, 24] Generated Node #0,0,2: 98:[93, 24] Operation: 79-55=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[55, 14], Operations: ['2+91=93', '93-79=14'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[93, 24], Operations: ['2+91=93', '79-55=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,98 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[79, 38], Operations: ['2+91=93', '93-55=38'] Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,98 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,98 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 98:[55, 14], Operations: ['91-79=12', '2+12=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,98 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[2, 43], Operations: ['91-79=12', '55-12=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[12, 53], Operations: ['91-79=12', '55-2=53'] Exploring Operation: 12*53=636, Resulting Numbers: [636] 636,98 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[91, 48], Operations: ['79-55=24', '2*24=48'] Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,98 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[91, 12], Operations: ['79-55=24', '24/2=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,98 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[24, 93], Operations: ['79-55=24', '2+91=93'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 24*93=2232, Resulting Numbers: [2232] 2232,98 unequal: No Solution Exploring Operation: 24+93=117, Resulting Numbers: [117] 117,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 32, 55, 57, 12 ]
40
[ "32-12=20", "57-55=2", "20*2=40" ]
Current State: 40:[32, 55, 57, 12], Operations: [] Exploring Operation: 32-12=20, Resulting Numbers: [55, 57, 20] Generated Node #2: [55, 57, 20] from Operation: 32-12=20 Current State: 40:[55, 57, 20], Operations: ['32-12=20'] Exploring Operation: 57-55=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 57-55=2 Current State: 40:[20, 2], Operations: ['32-12=20', '57-55=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[32, 55, 57, 12], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [32, 12, 2] Generated Node #0,0: 40:[32, 12, 2] Operation: 57-55=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[32, 12, 2], Operations: ['57-55=2'] Exploring Operation: 32-12=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 32-12=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['57-55=2', '32-12=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[32, 55, 57, 12], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [32, 12, 2] Generated Node #0,0: 40:[32, 12, 2] Operation: 57-55=2 Moving to Node #0,0 Current State: 40:[32, 12, 2], Operations: ['57-55=2'] Exploring Operation: 32-12=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 32-12=20 Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['57-55=2', '32-12=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 55, 21, 24, 16 ]
35
[ "21-16=5", "55/5=11", "24+11=35" ]
Current State: 35:[55, 21, 24, 16], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [55, 24, 5] Generated Node #2: [55, 24, 5] from Operation: 21-16=5 Current State: 35:[55, 24, 5], Operations: ['21-16=5'] Exploring Operation: 55/5=11, Resulting Numbers: [24, 11] Generated Node #3: [24, 11] from Operation: 55/5=11 Current State: 35:[24, 11], Operations: ['21-16=5', '55/5=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[55, 21, 24, 16], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [21, 16, 31] Generated Node #0,0: 35:[21, 16, 31] Operation: 55-24=31 Exploring Operation: 55-21=34, Resulting Numbers: [24, 16, 34] Generated Node #0,1: 35:[24, 16, 34] Operation: 55-21=34 Moving to Node #0,1 Current State: 35:[24, 16, 34], Operations: ['55-21=34'] Exploring Operation: 24-16=8, Resulting Numbers: [34, 8] Generated Node #0,1,0: 35:[34, 8] Operation: 24-16=8 Exploring Operation: 24+16=40, Resulting Numbers: [34, 40] Generated Node #0,1,1: 35:[34, 40] Operation: 24+16=40 Moving to Node #0,0 Current State: 35:[21, 16, 31], Operations: ['55-24=31'] Exploring Operation: 21+16=37, Resulting Numbers: [31, 37] Generated Node #0,0,0: 35:[31, 37] Operation: 21+16=37 Exploring Operation: 21-16=5, Resulting Numbers: [31, 5] Generated Node #0,0,1: 35:[31, 5] Operation: 21-16=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[31, 5], Operations: ['55-24=31', '21-16=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[31, 37], Operations: ['55-24=31', '21+16=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 35:[34, 8], Operations: ['55-21=34', '24-16=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[34, 40], Operations: ['55-21=34', '24+16=40'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,35 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 80, 91, 13, 9 ]
78
[ "80-9=71", "91/13=7", "71+7=78" ]
Current State: 78:[80, 91, 13, 9], Operations: [] Exploring Operation: 80-9=71, Resulting Numbers: [91, 13, 71] Generated Node #2: [91, 13, 71] from Operation: 80-9=71 Current State: 78:[91, 13, 71], Operations: ['80-9=71'] Exploring Operation: 91/13=7, Resulting Numbers: [71, 7] Generated Node #3: [71, 7] from Operation: 91/13=7 Current State: 78:[71, 7], Operations: ['80-9=71', '91/13=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[80, 91, 13, 9], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [13, 9, 11] Generated Node #0,0: 78:[13, 9, 11] Operation: 91-80=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[13, 9, 11], Operations: ['91-80=11'] Exploring Operation: 11-9=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 78:[13, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 78:[13, 2], Operations: ['91-80=11', '11-9=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,78 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
[ 7, 7, 64, 55 ]
58
[ "7*7=49", "64-55=9", "49+9=58" ]
Current State: 58:[7, 7, 64, 55], Operations: [] Exploring Operation: 7*7=49, Resulting Numbers: [64, 55, 49] Generated Node #2: [64, 55, 49] from Operation: 7*7=49 Current State: 58:[64, 55, 49], Operations: ['7*7=49'] Exploring Operation: 64-55=9, Resulting Numbers: [49, 9] Generated Node #3: [49, 9] from Operation: 64-55=9 Current State: 58:[49, 9], Operations: ['7*7=49', '64-55=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[7, 7, 64, 55], Operations: [] Exploring Operation: 64-7=57, Resulting Numbers: [7, 55, 57] Generated Node #0,0: 58:[7, 55, 57] Operation: 64-7=57 Exploring Operation: 64-7=57, Resulting Numbers: [7, 55, 57] Generated Node #0,1: 58:[7, 55, 57] Operation: 64-7=57 Exploring Operation: 7/7=1, Resulting Numbers: [64, 55, 1] Generated Node #0,2: 58:[64, 55, 1] Operation: 7/7=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[7, 55, 57], Operations: ['64-7=57'] Exploring Operation: 7+55=62, Resulting Numbers: [57, 62] Generated Node #0,0,0: 58:[57, 62] Operation: 7+55=62 Exploring Operation: 57-55=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 58:[7, 2] Operation: 57-55=2 Exploring Operation: 7+57=64, Resulting Numbers: [55, 64] Generated Node #0,0,2: 58:[55, 64] Operation: 7+57=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[57, 62], Operations: ['64-7=57', '7+55=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,58 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[7, 2], Operations: ['64-7=57', '57-55=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[55, 64], Operations: ['64-7=57', '7+57=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,58 unequal: No Solution Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[7, 55, 57], Operations: ['64-7=57'] Exploring Operation: 7+57=64, Resulting Numbers: [55, 64] Generated Node #0,1,0: 58:[55, 64] Operation: 7+57=64 Exploring Operation: 57-55=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 58:[7, 2] Operation: 57-55=2 Exploring Operation: 7+55=62, Resulting Numbers: [57, 62] Generated Node #0,1,2: 58:[57, 62] Operation: 7+55=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[7, 2], Operations: ['64-7=57', '57-55=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 58:[57, 62], Operations: ['64-7=57', '7+55=62'] Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,58 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[55, 64], Operations: ['64-7=57', '7+57=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,58 unequal: No Solution Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[64, 55, 1], Operations: ['7/7=1'] Exploring Operation: 64-1=63, Resulting Numbers: [55, 63] Generated Node #0,2,0: 58:[55, 63] Operation: 64-1=63 Exploring Operation: 55+1=56, Resulting Numbers: [64, 56] Generated Node #0,2,1: 58:[64, 56] Operation: 55+1=56 Exploring Operation: 64-55=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 58:[1, 9] Operation: 64-55=9 Moving to Node #0,2,0 Current State: 58:[55, 63], Operations: ['7/7=1', '64-1=63'] Exploring Operation: 55*63=3465, Resulting Numbers: [3465] 3465,58 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[64, 56], Operations: ['7/7=1', '55+1=56'] Exploring Operation: 64+56=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 64*56=3584, Resulting Numbers: [3584] 3584,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[1, 9], Operations: ['7/7=1', '64-55=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,58 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
[ 1, 66, 68, 98 ]
36
[ "1*66=66", "98-68=30", "66-30=36" ]
Current State: 36:[1, 66, 68, 98], Operations: [] Exploring Operation: 1*66=66, Resulting Numbers: [68, 98, 66] Generated Node #2: [68, 98, 66] from Operation: 1*66=66 Current State: 36:[68, 98, 66], Operations: ['1*66=66'] Exploring Operation: 98-68=30, Resulting Numbers: [66, 30] Generated Node #3: [66, 30] from Operation: 98-68=30 Current State: 36:[66, 30], Operations: ['1*66=66', '98-68=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 66, 68, 98], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [1, 68, 32] Generated Node #0,0: 36:[1, 68, 32] Operation: 98-66=32 Exploring Operation: 98-68=30, Resulting Numbers: [1, 66, 30] Generated Node #0,1: 36:[1, 66, 30] Operation: 98-68=30 Exploring Operation: 68-66=2, Resulting Numbers: [1, 98, 2] Generated Node #0,2: 36:[1, 98, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 36:[1, 68, 32], Operations: ['98-66=32'] Exploring Operation: 1+32=33, Resulting Numbers: [68, 33] Generated Node #0,0,0: 36:[68, 33] Operation: 1+32=33 Exploring Operation: 68-1=67, Resulting Numbers: [32, 67] Generated Node #0,0,1: 36:[32, 67] Operation: 68-1=67 Exploring Operation: 68-32=36, Resulting Numbers: [1, 36] Generated Node #0,0,2: 36:[1, 36] Operation: 68-32=36 Moving to Node #0,1 Current State: 36:[1, 66, 30], Operations: ['98-68=30'] Exploring Operation: 1+30=31, Resulting Numbers: [66, 31] Generated Node #0,1,0: 36:[66, 31] Operation: 1+30=31 Exploring Operation: 66-1=65, Resulting Numbers: [30, 65] Generated Node #0,1,1: 36:[30, 65] Operation: 66-1=65 Exploring Operation: 66-30=36, Resulting Numbers: [1, 36] Generated Node #0,1,2: 36:[1, 36] Operation: 66-30=36 Moving to Node #0,2 Current State: 36:[1, 98, 2], Operations: ['68-66=2'] Exploring Operation: 98-1=97, Resulting Numbers: [2, 97] Generated Node #0,2,0: 36:[2, 97] Operation: 98-1=97 Exploring Operation: 98-2=96, Resulting Numbers: [1, 96] Generated Node #0,2,1: 36:[1, 96] Operation: 98-2=96 Exploring Operation: 98/2=49, Resulting Numbers: [1, 49] Generated Node #0,2,2: 36:[1, 49] Operation: 98/2=49 Moving to Node #0,0,2 Current State: 36:[1, 36], Operations: ['98-66=32', '68-32=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[1, 66, 68, 98], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [1, 68, 32] Generated Node #0,0: 36:[1, 68, 32] Operation: 98-66=32 Moving to Node #0,0 Current State: 36:[1, 68, 32], Operations: ['98-66=32'] Exploring Operation: 68-32=36, Resulting Numbers: [1, 36] Generated Node #0,0,2: 36:[1, 36] Operation: 68-32=36 Moving to Node #0,0,2 Current State: 36:[1, 36], Operations: ['98-66=32', '68-32=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.984375
hs_3
mult_heuristic
[ 14, 47, 53, 87 ]
95
[ "14+47=61", "87-53=34", "61+34=95" ]
Current State: 95:[14, 47, 53, 87], Operations: [] Exploring Operation: 14+47=61, Resulting Numbers: [53, 87, 61] Generated Node #2: [53, 87, 61] from Operation: 14+47=61 Current State: 95:[53, 87, 61], Operations: ['14+47=61'] Exploring Operation: 87-53=34, Resulting Numbers: [61, 34] Generated Node #3: [61, 34] from Operation: 87-53=34 Current State: 95:[61, 34], Operations: ['14+47=61', '87-53=34'] Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[14, 47, 53, 87], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [14, 87, 6] Generated Node #0,0: 95:[14, 87, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 95:[14, 87, 6], Operations: ['53-47=6'] Exploring Operation: 14+87=101, Resulting Numbers: [6, 101] Generated Node #0,0,0: 95:[6, 101] Operation: 14+87=101 Moving to Node #0,0,0 Current State: 95:[6, 101], Operations: ['53-47=6', '14+87=101'] Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[14, 47, 53, 87], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [14, 87, 6] Generated Node #0,0: 95:[14, 87, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 95:[14, 87, 6], Operations: ['53-47=6'] Exploring Operation: 14+87=101, Resulting Numbers: [6, 101] Generated Node #0,0,0: 95:[6, 101] Operation: 14+87=101 Moving to Node #0,0,0 Current State: 95:[6, 101], Operations: ['53-47=6', '14+87=101'] Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 91, 61, 79, 84 ]
54
[ "91-79=12", "84/12=7", "61-7=54" ]
Current State: 54:[91, 61, 79, 84], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [61, 84, 12] Generated Node #2: [61, 84, 12] from Operation: 91-79=12 Current State: 54:[61, 84, 12], Operations: ['91-79=12'] Exploring Operation: 84/12=7, Resulting Numbers: [61, 7] Generated Node #3: [61, 7] from Operation: 84/12=7 Current State: 54:[61, 7], Operations: ['91-79=12', '84/12=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[91, 61, 79, 84], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [61, 79, 7] Generated Node #0,0: 54:[61, 79, 7] Operation: 91-84=7 Exploring Operation: 91-79=12, Resulting Numbers: [61, 84, 12] Generated Node #0,1: 54:[61, 84, 12] Operation: 91-79=12 Exploring Operation: 84-79=5, Resulting Numbers: [91, 61, 5] Generated Node #0,2: 54:[91, 61, 5] Operation: 84-79=5 Exploring Operation: 84-61=23, Resulting Numbers: [91, 79, 23] Generated Node #0,3: 54:[91, 79, 23] Operation: 84-61=23 Exploring Operation: 91-61=30, Resulting Numbers: [79, 84, 30] Generated Node #0,4: 54:[79, 84, 30] Operation: 91-61=30 Moving to Node #0,0 Current State: 54:[61, 79, 7], Operations: ['91-84=7'] Exploring Operation: 61+7=68, Resulting Numbers: [79, 68] Generated Node #0,0,0: 54:[79, 68] Operation: 61+7=68 Exploring Operation: 79-7=72, Resulting Numbers: [61, 72] Generated Node #0,0,1: 54:[61, 72] Operation: 79-7=72 Exploring Operation: 61-7=54, Resulting Numbers: [79, 54] Generated Node #0,0,2: 54:[79, 54] Operation: 61-7=54 Exploring Operation: 79+7=86, Resulting Numbers: [61, 86] Generated Node #0,0,3: 54:[61, 86] Operation: 79+7=86 Exploring Operation: 79-61=18, Resulting Numbers: [7, 18] Generated Node #0,0,4: 54:[7, 18] Operation: 79-61=18 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 54:[7, 18], Operations: ['91-84=7', '79-61=18'] Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,54 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[61, 72], Operations: ['91-84=7', '79-7=72'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 61*72=4392, Resulting Numbers: [4392] 4392,54 unequal: No Solution Exploring Operation: 61+72=133, Resulting Numbers: [133] 133,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[79, 54], Operations: ['91-84=7', '61-7=54'] Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,54 unequal: No Solution Exploring Operation: 79*54=4266, Resulting Numbers: [4266] 4266,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[79, 68], Operations: ['91-84=7', '61+7=68'] Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,54 unequal: No Solution Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,54 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[61, 86], Operations: ['91-84=7', '79+7=86'] Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,54 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,54 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: 54:[61, 84, 12], Operations: ['91-79=12'] Exploring Operation: 84-12=72, Resulting Numbers: [61, 72] Generated Node #0,1,0: 54:[61, 72] Operation: 84-12=72 Exploring Operation: 84-61=23, Resulting Numbers: [12, 23] Generated Node #0,1,1: 54:[12, 23] Operation: 84-61=23 Exploring Operation: 61+12=73, Resulting Numbers: [84, 73] Generated Node #0,1,2: 54:[84, 73] Operation: 61+12=73 Exploring Operation: 84/12=7, Resulting Numbers: [61, 7] Generated Node #0,1,3: 54:[61, 7] Operation: 84/12=7 Exploring Operation: 61-12=49, Resulting Numbers: [84, 49] Generated Node #0,1,4: 54:[84, 49] Operation: 61-12=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[12, 23], Operations: ['91-79=12', '84-61=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[61, 7], Operations: ['91-79=12', '84/12=7'] Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,54 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[91, 61, 79, 84], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [61, 84, 12] Generated Node #0,1: 54:[61, 84, 12] Operation: 91-79=12 Moving to Node #0,1 Current State: 54:[61, 84, 12], Operations: ['91-79=12'] Exploring Operation: 84/12=7, Resulting Numbers: [61, 7] Generated Node #0,1,3: 54:[61, 7] Operation: 84/12=7 Moving to Node #0,1,3 Current State: 54:[61, 7], Operations: ['91-79=12', '84/12=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 58, 26, 66, 71 ]
53
[ "58+26=84", "66+71=137", "137-84=53" ]
Current State: 53:[58, 26, 66, 71], Operations: [] Exploring Operation: 58+26=84, Resulting Numbers: [66, 71, 84] Generated Node #2: [66, 71, 84] from Operation: 58+26=84 Current State: 53:[66, 71, 84], Operations: ['58+26=84'] Exploring Operation: 66+71=137, Resulting Numbers: [84, 137] Generated Node #3: [84, 137] from Operation: 66+71=137 Current State: 53:[84, 137], Operations: ['58+26=84', '66+71=137'] Exploring Operation: 137-84=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[58, 26, 66, 71], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [58, 66, 45] Generated Node #0,0: 53:[58, 66, 45] Operation: 71-26=45 Exploring Operation: 58+26=84, Resulting Numbers: [66, 71, 84] Generated Node #0,1: 53:[66, 71, 84] Operation: 58+26=84 Exploring Operation: 58-26=32, Resulting Numbers: [66, 71, 32] Generated Node #0,2: 53:[66, 71, 32] Operation: 58-26=32 Exploring Operation: 66-26=40, Resulting Numbers: [58, 71, 40] Generated Node #0,3: 53:[58, 71, 40] Operation: 66-26=40 Moving to Node #0,0 Current State: 53:[58, 66, 45], Operations: ['71-26=45'] Exploring Operation: 58-45=13, Resulting Numbers: [66, 13] Generated Node #0,0,0: 53:[66, 13] Operation: 58-45=13 Exploring Operation: 66-45=21, Resulting Numbers: [58, 21] Generated Node #0,0,1: 53:[58, 21] Operation: 66-45=21 Exploring Operation: 66-58=8, Resulting Numbers: [45, 8] Generated Node #0,0,2: 53:[45, 8] Operation: 66-58=8 Exploring Operation: 58+45=103, Resulting Numbers: [66, 103] Generated Node #0,0,3: 53:[66, 103] Operation: 58+45=103 Moving to Node #0,3 Current State: 53:[58, 71, 40], Operations: ['66-26=40'] Exploring Operation: 58-40=18, Resulting Numbers: [71, 18] Generated Node #0,3,0: 53:[71, 18] Operation: 58-40=18 Exploring Operation: 71-58=13, Resulting Numbers: [40, 13] Generated Node #0,3,1: 53:[40, 13] Operation: 71-58=13 Exploring Operation: 58+40=98, Resulting Numbers: [71, 98] Generated Node #0,3,2: 53:[71, 98] Operation: 58+40=98 Exploring Operation: 71-40=31, Resulting Numbers: [58, 31] Generated Node #0,3,3: 53:[58, 31] Operation: 71-40=31 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[58, 31], Operations: ['66-26=40', '71-40=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,53 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,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,3,0 Current State: 53:[71, 18], Operations: ['66-26=40', '58-40=18'] Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,53 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[58, 26, 66, 71], Operations: [] Exploring Operation: 66-26=40, Resulting Numbers: [58, 71, 40] Generated Node #0,3: 53:[58, 71, 40] Operation: 66-26=40 Moving to Node #0,3 Current State: 53:[58, 71, 40], Operations: ['66-26=40'] Exploring Operation: 58-40=18, Resulting Numbers: [71, 18] Generated Node #0,3,0: 53:[71, 18] Operation: 58-40=18 Moving to Node #0,3,0 Current State: 53:[71, 18], Operations: ['66-26=40', '58-40=18'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 80, 46, 18, 34 ]
19
[ "80-46=34", "34/34=1", "18+1=19" ]
Current State: 19:[80, 46, 18, 34], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [18, 34, 34] Generated Node #2: [18, 34, 34] from Operation: 80-46=34 Current State: 19:[18, 34, 34], Operations: ['80-46=34'] Exploring Operation: 34/34=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 34/34=1 Current State: 19:[18, 1], Operations: ['80-46=34', '34/34=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[80, 46, 18, 34], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [80, 18, 12] Generated Node #0,0: 19:[80, 18, 12] Operation: 46-34=12 Exploring Operation: 80-34=46, Resulting Numbers: [46, 18, 46] Generated Node #0,1: 19:[46, 18, 46] Operation: 80-34=46 Exploring Operation: 80-46=34, Resulting Numbers: [18, 34, 34] Generated Node #0,2: 19:[18, 34, 34] Operation: 80-46=34 Exploring Operation: 80-18=62, Resulting Numbers: [46, 34, 62] Generated Node #0,3: 19:[46, 34, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[18, 34, 34], Operations: ['80-46=34'] Exploring Operation: 34-18=16, Resulting Numbers: [34, 16] Generated Node #0,2,0: 19:[34, 16] Operation: 34-18=16 Exploring Operation: 34-34=0, Resulting Numbers: [18, 0] Generated Node #0,2,1: 19:[18, 0] Operation: 34-34=0 Exploring Operation: 34-18=16, Resulting Numbers: [34, 16] Generated Node #0,2,2: 19:[34, 16] Operation: 34-18=16 Exploring Operation: 34/34=1, Resulting Numbers: [18, 1] Generated Node #0,2,3: 19:[18, 1] Operation: 34/34=1 Moving to Node #0,2,0 Current State: 19:[34, 16], Operations: ['80-46=34', '34-18=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,19 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[34, 16], Operations: ['80-46=34', '34-18=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,19 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[18, 1], Operations: ['80-46=34', '34/34=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[80, 46, 18, 34], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [18, 34, 34] Generated Node #0,2: 19:[18, 34, 34] Operation: 80-46=34 Moving to Node #0,2 Current State: 19:[18, 34, 34], Operations: ['80-46=34'] Exploring Operation: 34/34=1, Resulting Numbers: [18, 1] Generated Node #0,2,3: 19:[18, 1] Operation: 34/34=1 Moving to Node #0,2,3 Current State: 19:[18, 1], Operations: ['80-46=34', '34/34=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 10, 35, 16, 45 ]
24
[ "35+45=80", "80/10=8", "16+8=24" ]
Current State: 24:[10, 35, 16, 45], Operations: [] Exploring Operation: 35+45=80, Resulting Numbers: [10, 16, 80] Generated Node #2: [10, 16, 80] from Operation: 35+45=80 Current State: 24:[10, 16, 80], Operations: ['35+45=80'] Exploring Operation: 80/10=8, Resulting Numbers: [16, 8] Generated Node #3: [16, 8] from Operation: 80/10=8 Current State: 24:[16, 8], Operations: ['35+45=80', '80/10=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[10, 35, 16, 45], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [10, 16, 10] Generated Node #0,0: 24:[10, 16, 10] Operation: 45-35=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[10, 16, 10], Operations: ['45-35=10'] Exploring Operation: 16-10=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 24:[10, 6] Operation: 16-10=6 Moving to Node #0,0,0 Current State: 24:[10, 6], Operations: ['45-35=10', '16-10=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 45, 22, 5, 25 ]
30
[ "25-22=3", "5*3=15", "45-15=30" ]
Current State: 30:[45, 22, 5, 25], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [45, 5, 3] Generated Node #2: [45, 5, 3] from Operation: 25-22=3 Current State: 30:[45, 5, 3], Operations: ['25-22=3'] Exploring Operation: 5*3=15, Resulting Numbers: [45, 15] Generated Node #3: [45, 15] from Operation: 5*3=15 Current State: 30:[45, 15], Operations: ['25-22=3', '5*3=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[45, 22, 5, 25], Operations: [] Exploring Operation: 45-25=20, Resulting Numbers: [22, 5, 20] Generated Node #0,0: 30:[22, 5, 20] Operation: 45-25=20 Exploring Operation: 45-22=23, Resulting Numbers: [5, 25, 23] Generated Node #0,1: 30:[5, 25, 23] Operation: 45-22=23 Exploring Operation: 45/5=9, Resulting Numbers: [22, 25, 9] Generated Node #0,2: 30:[22, 25, 9] Operation: 45/5=9 Moving to Node #0,0 Current State: 30:[22, 5, 20], Operations: ['45-25=20'] Exploring Operation: 22-20=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 30:[5, 2] Operation: 22-20=2 Exploring Operation: 22-5=17, Resulting Numbers: [20, 17] Generated Node #0,0,1: 30:[20, 17] Operation: 22-5=17 Exploring Operation: 20-5=15, Resulting Numbers: [22, 15] Generated Node #0,0,2: 30:[22, 15] Operation: 20-5=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[5, 2], Operations: ['45-25=20', '22-20=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[20, 17], Operations: ['45-25=20', '22-5=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,30 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[22, 15], Operations: ['45-25=20', '20-5=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,30 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,30 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: 30:[5, 25, 23], Operations: ['45-22=23'] Exploring Operation: 25-23=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 30:[5, 2] Operation: 25-23=2 Exploring Operation: 25/5=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 30:[23, 5] Operation: 25/5=5 Exploring Operation: 5+25=30, Resulting Numbers: [23, 30] Generated Node #0,1,2: 30:[23, 30] Operation: 5+25=30 Moving to Node #0,2 Current State: 30:[22, 25, 9], Operations: ['45/5=9'] Exploring Operation: 22-9=13, Resulting Numbers: [25, 13] Generated Node #0,2,0: 30:[25, 13] Operation: 22-9=13 Exploring Operation: 25-22=3, Resulting Numbers: [9, 3] Generated Node #0,2,1: 30:[9, 3] Operation: 25-22=3 Exploring Operation: 22+9=31, Resulting Numbers: [25, 31] Generated Node #0,2,2: 30:[25, 31] Operation: 22+9=31 Moving to Node #0,1,0 Current State: 30:[5, 2], Operations: ['45-22=23', '25-23=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[9, 3], Operations: ['45/5=9', '25-22=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[25, 31], Operations: ['45/5=9', '22+9=31'] Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,30 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[23, 30], Operations: ['45-22=23', '5+25=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,30 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[23, 5], Operations: ['45-22=23', '25/5=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,30 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[25, 13], Operations: ['45/5=9', '22-9=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,30 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 75, 19, 13 ]
22
[ "6*13=78", "75-19=56", "78-56=22" ]
Current State: 22:[6, 75, 19, 13], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [75, 19, 78] Generated Node #2: [75, 19, 78] from Operation: 6*13=78 Current State: 22:[75, 19, 78], Operations: ['6*13=78'] Exploring Operation: 75-19=56, Resulting Numbers: [78, 56] Generated Node #3: [78, 56] from Operation: 75-19=56 Current State: 22:[78, 56], Operations: ['6*13=78', '75-19=56'] Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[6, 75, 19, 13], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [6, 13, 56] Generated Node #0,0: 22:[6, 13, 56] Operation: 75-19=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[6, 13, 56], Operations: ['75-19=56'] Exploring Operation: 56-13=43, Resulting Numbers: [6, 43] Generated Node #0,0,0: 22:[6, 43] Operation: 56-13=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[6, 43], Operations: ['75-19=56', '56-13=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,22 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, 24, 9, 53 ]
83
[ "63-24=39", "53-9=44", "39+44=83" ]
Current State: 83:[63, 24, 9, 53], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [9, 53, 39] Generated Node #2: [9, 53, 39] from Operation: 63-24=39 Current State: 83:[9, 53, 39], Operations: ['63-24=39'] Exploring Operation: 53-9=44, Resulting Numbers: [39, 44] Generated Node #3: [39, 44] from Operation: 53-9=44 Current State: 83:[39, 44], Operations: ['63-24=39', '53-9=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[63, 24, 9, 53], Operations: [] Exploring Operation: 63+9=72, Resulting Numbers: [24, 53, 72] Generated Node #0,0: 83:[24, 53, 72] Operation: 63+9=72 Exploring Operation: 24+9=33, Resulting Numbers: [63, 53, 33] Generated Node #0,1: 83:[63, 53, 33] Operation: 24+9=33 Exploring Operation: 9+53=62, Resulting Numbers: [63, 24, 62] Generated Node #0,2: 83:[63, 24, 62] Operation: 9+53=62 Exploring Operation: 24+53=77, Resulting Numbers: [63, 9, 77] Generated Node #0,3: 83:[63, 9, 77] Operation: 24+53=77 Moving to Node #0,0 Current State: 83:[24, 53, 72], Operations: ['63+9=72'] Exploring Operation: 24+72=96, Resulting Numbers: [53, 96] Generated Node #0,0,0: 83:[53, 96] Operation: 24+72=96 Exploring Operation: 72-24=48, Resulting Numbers: [53, 48] Generated Node #0,0,1: 83:[53, 48] Operation: 72-24=48 Exploring Operation: 24+53=77, Resulting Numbers: [72, 77] Generated Node #0,0,2: 83:[72, 77] Operation: 24+53=77 Exploring Operation: 53-24=29, Resulting Numbers: [72, 29] Generated Node #0,0,3: 83:[72, 29] Operation: 53-24=29 Moving to Node #0,2 Current State: 83:[63, 24, 62], Operations: ['9+53=62'] Exploring Operation: 24+62=86, Resulting Numbers: [63, 86] Generated Node #0,2,0: 83:[63, 86] Operation: 24+62=86 Exploring Operation: 63-24=39, Resulting Numbers: [62, 39] Generated Node #0,2,1: 83:[62, 39] Operation: 63-24=39 Exploring Operation: 63+24=87, Resulting Numbers: [62, 87] Generated Node #0,2,2: 83:[62, 87] Operation: 63+24=87 Exploring Operation: 62-24=38, Resulting Numbers: [63, 38] Generated Node #0,2,3: 83:[63, 38] Operation: 62-24=38 Moving to Node #0,1 Current State: 83:[63, 53, 33], Operations: ['24+9=33'] Exploring Operation: 63+33=96, Resulting Numbers: [53, 96] Generated Node #0,1,0: 83:[53, 96] Operation: 63+33=96 Exploring Operation: 63+53=116, Resulting Numbers: [33, 116] Generated Node #0,1,1: 83:[33, 116] Operation: 63+53=116 Exploring Operation: 53+33=86, Resulting Numbers: [63, 86] Generated Node #0,1,2: 83:[63, 86] Operation: 53+33=86 Exploring Operation: 63-33=30, Resulting Numbers: [53, 30] Generated Node #0,1,3: 83:[53, 30] Operation: 63-33=30 Moving to Node #0,3 Current State: 83:[63, 9, 77], Operations: ['24+53=77'] Exploring Operation: 63-9=54, Resulting Numbers: [77, 54] Generated Node #0,3,0: 83:[77, 54] Operation: 63-9=54 Exploring Operation: 9+77=86, Resulting Numbers: [63, 86] Generated Node #0,3,1: 83:[63, 86] Operation: 9+77=86 Exploring Operation: 77-9=68, Resulting Numbers: [63, 68] Generated Node #0,3,2: 83:[63, 68] Operation: 77-9=68 Exploring Operation: 63+9=72, Resulting Numbers: [77, 72] Generated Node #0,3,3: 83:[77, 72] Operation: 63+9=72 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[77, 72], Operations: ['24+53=77', '63+9=72'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,83 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[63, 86], Operations: ['24+53=77', '9+77=86'] Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,83 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[77, 54], Operations: ['24+53=77', '63-9=54'] Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,83 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[63, 68], Operations: ['24+53=77', '77-9=68'] Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 83:[72, 77], Operations: ['63+9=72', '24+53=77'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 72*77=5544, Resulting Numbers: [5544] 5544,83 unequal: No Solution Exploring Operation: 72+77=149, Resulting Numbers: [149] 149,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[63, 86], Operations: ['9+53=62', '24+62=86'] Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[63, 86], Operations: ['24+9=33', '53+33=86'] Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,83 unequal: No Solution Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[62, 87], Operations: ['9+53=62', '63+24=87'] Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 62+87=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 62*87=5394, Resulting Numbers: [5394] 5394,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[53, 96], Operations: ['63+9=72', '24+72=96'] Exploring Operation: 53*96=5088, Resulting Numbers: [5088] 5088,83 unequal: No Solution Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 53+96=149, Resulting Numbers: [149] 149,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[53, 96], Operations: ['24+9=33', '63+33=96'] Exploring Operation: 53*96=5088, Resulting Numbers: [5088] 5088,83 unequal: No Solution Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 53+96=149, Resulting Numbers: [149] 149,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[62, 39], Operations: ['9+53=62', '63-24=39'] Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,83 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[53, 48], Operations: ['63+9=72', '72-24=48'] Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,83 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[72, 29], Operations: ['63+9=72', '53-24=29'] Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,83 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[63, 38], Operations: ['9+53=62', '62-24=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[53, 30], Operations: ['24+9=33', '63-33=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,83 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[63, 24, 9, 53], Operations: [] Exploring Operation: 24+9=33, Resulting Numbers: [63, 53, 33] Generated Node #0,1: 83:[63, 53, 33] Operation: 24+9=33 Moving to Node #0,1 Current State: 83:[63, 53, 33], Operations: ['24+9=33'] Exploring Operation: 63-33=30, Resulting Numbers: [53, 30] Generated Node #0,1,3: 83:[53, 30] Operation: 63-33=30 Moving to Node #0,1,3 Current State: 83:[53, 30], Operations: ['24+9=33', '63-33=30'] Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 40, 25, 42, 30 ]
85
[ "42-40=2", "30*2=60", "25+60=85" ]
Current State: 85:[40, 25, 42, 30], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [25, 30, 2] Generated Node #2: [25, 30, 2] from Operation: 42-40=2 Current State: 85:[25, 30, 2], Operations: ['42-40=2'] Exploring Operation: 30*2=60, Resulting Numbers: [25, 60] Generated Node #3: [25, 60] from Operation: 30*2=60 Current State: 85:[25, 60], Operations: ['42-40=2', '30*2=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[40, 25, 42, 30], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [40, 30, 17] Generated Node #0,0: 85:[40, 30, 17] Operation: 42-25=17 Exploring Operation: 42-30=12, Resulting Numbers: [40, 25, 12] Generated Node #0,1: 85:[40, 25, 12] Operation: 42-30=12 Exploring Operation: 40+42=82, Resulting Numbers: [25, 30, 82] Generated Node #0,2: 85:[25, 30, 82] Operation: 40+42=82 Exploring Operation: 42-40=2, Resulting Numbers: [25, 30, 2] Generated Node #0,3: 85:[25, 30, 2] Operation: 42-40=2 Exploring Operation: 40-30=10, Resulting Numbers: [25, 42, 10] Generated Node #0,4: 85:[25, 42, 10] Operation: 40-30=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[25, 30, 82], Operations: ['40+42=82'] Exploring Operation: 30-25=5, Resulting Numbers: [82, 5] Generated Node #0,2,0: 85:[82, 5] Operation: 30-25=5 Exploring Operation: 25+82=107, Resulting Numbers: [30, 107] Generated Node #0,2,1: 85:[30, 107] Operation: 25+82=107 Exploring Operation: 30+82=112, Resulting Numbers: [25, 112] Generated Node #0,2,2: 85:[25, 112] Operation: 30+82=112 Exploring Operation: 82-25=57, Resulting Numbers: [30, 57] Generated Node #0,2,3: 85:[30, 57] Operation: 82-25=57 Exploring Operation: 25+30=55, Resulting Numbers: [82, 55] Generated Node #0,2,4: 85:[82, 55] Operation: 25+30=55 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[82, 5], Operations: ['40+42=82', '30-25=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,85 unequal: No Solution No 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: 85:[82, 55], Operations: ['40+42=82', '25+30=55'] Exploring Operation: 82+55=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 82*55=4510, Resulting Numbers: [4510] 4510,85 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,85 unequal: No Solution No 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: 85:[30, 107], Operations: ['40+42=82', '25+82=107'] Exploring Operation: 30+107=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 30*107=3210, Resulting Numbers: [3210] 3210,85 unequal: No Solution Exploring Operation: 107-30=77, Resulting Numbers: [77] 77,85 unequal: No Solution No 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: 85:[25, 112], Operations: ['40+42=82', '30+82=112'] Exploring Operation: 25+112=137, Resulting Numbers: [137] 137,85 unequal: No Solution Exploring Operation: 25*112=2800, Resulting Numbers: [2800] 2800,85 unequal: No Solution Exploring Operation: 112-25=87, Resulting Numbers: [87] 87,85 unequal: No Solution No 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: 85:[30, 57], Operations: ['40+42=82', '82-25=57'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 30+57=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 30*57=1710, Resulting Numbers: [1710] 1710,85 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: 85:[25, 30, 2], Operations: ['42-40=2'] Exploring Operation: 25-2=23, Resulting Numbers: [30, 23] Generated Node #0,3,0: 85:[30, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [30, 27] Generated Node #0,3,1: 85:[30, 27] Operation: 25+2=27 Exploring Operation: 30-2=28, Resulting Numbers: [25, 28] Generated Node #0,3,2: 85:[25, 28] Operation: 30-2=28 Exploring Operation: 30-25=5, Resulting Numbers: [2, 5] Generated Node #0,3,3: 85:[2, 5] Operation: 30-25=5 Exploring Operation: 30/2=15, Resulting Numbers: [25, 15] Generated Node #0,3,4: 85:[25, 15] Operation: 30/2=15 Moving to Node #0,3,3 Current State: 85:[2, 5], Operations: ['42-40=2', '30-25=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[25, 15], Operations: ['42-40=2', '30/2=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,85 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[30, 23], Operations: ['42-40=2', '25-2=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[25, 28], Operations: ['42-40=2', '30-2=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[30, 27], Operations: ['42-40=2', '25+2=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,85 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,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 Current State: 85:[40, 30, 17], Operations: ['42-25=17'] Exploring Operation: 40-30=10, Resulting Numbers: [17, 10] Generated Node #0,0,0: 85:[17, 10] Operation: 40-30=10 Exploring Operation: 40+30=70, Resulting Numbers: [17, 70] Generated Node #0,0,1: 85:[17, 70] Operation: 40+30=70 Exploring Operation: 40-17=23, Resulting Numbers: [30, 23] Generated Node #0,0,2: 85:[30, 23] Operation: 40-17=23 Exploring Operation: 30-17=13, Resulting Numbers: [40, 13] Generated Node #0,0,3: 85:[40, 13] Operation: 30-17=13 Exploring Operation: 40+17=57, Resulting Numbers: [30, 57] Generated Node #0,0,4: 85:[30, 57] Operation: 40+17=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[17, 10], Operations: ['42-25=17', '40-30=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,85 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,85 unequal: No Solution No 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: 85:[17, 70], Operations: ['42-25=17', '40+30=70'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,85 unequal: No Solution No 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: 85:[30, 23], Operations: ['42-25=17', '40-17=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,85 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,85 unequal: No Solution No 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: 85:[40, 13], Operations: ['42-25=17', '30-17=13'] Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,85 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 85:[30, 57], Operations: ['42-25=17', '40+17=57'] Exploring Operation: 30+57=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 30*57=1710, Resulting Numbers: [1710] 1710,85 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,85 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: 85:[40, 25, 12], Operations: ['42-30=12'] Exploring Operation: 40+25=65, Resulting Numbers: [12, 65] Generated Node #0,1,0: 85:[12, 65] Operation: 40+25=65 Exploring Operation: 40+12=52, Resulting Numbers: [25, 52] Generated Node #0,1,1: 85:[25, 52] Operation: 40+12=52 Exploring Operation: 40-12=28, Resulting Numbers: [25, 28] Generated Node #0,1,2: 85:[25, 28] Operation: 40-12=28 Exploring Operation: 40-25=15, Resulting Numbers: [12, 15] Generated Node #0,1,3: 85:[12, 15] Operation: 40-25=15 Exploring Operation: 25-12=13, Resulting Numbers: [40, 13] Generated Node #0,1,4: 85:[40, 13] Operation: 25-12=13 Moving to Node #0,1,3 Current State: 85:[12, 15], Operations: ['42-30=12', '40-25=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,85 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[25, 28], Operations: ['42-30=12', '40-12=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,85 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[12, 65], Operations: ['42-30=12', '40+25=65'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,85 unequal: No Solution Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[40, 13], Operations: ['42-30=12', '25-12=13'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[25, 52], Operations: ['42-30=12', '40+12=52'] Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,85 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,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,4 Current State: 85:[25, 42, 10], Operations: ['40-30=10'] Exploring Operation: 25-10=15, Resulting Numbers: [42, 15] Generated Node #0,4,0: 85:[42, 15] Operation: 25-10=15 Exploring Operation: 42+10=52, Resulting Numbers: [25, 52] Generated Node #0,4,1: 85:[25, 52] Operation: 42+10=52 Exploring Operation: 42-10=32, Resulting Numbers: [25, 32] Generated Node #0,4,2: 85:[25, 32] Operation: 42-10=32 Exploring Operation: 42-25=17, Resulting Numbers: [10, 17] Generated Node #0,4,3: 85:[10, 17] Operation: 42-25=17 Exploring Operation: 25+42=67, Resulting Numbers: [10, 67] Generated Node #0,4,4: 85:[10, 67] Operation: 25+42=67 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 85:[10, 17], Operations: ['40-30=10', '42-25=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 85:[25, 32], Operations: ['40-30=10', '42-10=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,85 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 85:[10, 67], Operations: ['40-30=10', '25+42=67'] Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,85 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 85:[42, 15], Operations: ['40-30=10', '25-10=15'] Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,85 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 85:[25, 52], Operations: ['40-30=10', '42+10=52'] Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,85 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,85 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
[ 3, 61, 37, 75 ]
54
[ "61-3=58", "37+75=112", "112-58=54" ]
Current State: 54:[3, 61, 37, 75], Operations: [] Exploring Operation: 61-3=58, Resulting Numbers: [37, 75, 58] Generated Node #2: [37, 75, 58] from Operation: 61-3=58 Current State: 54:[37, 75, 58], Operations: ['61-3=58'] Exploring Operation: 37+75=112, Resulting Numbers: [58, 112] Generated Node #3: [58, 112] from Operation: 37+75=112 Current State: 54:[58, 112], Operations: ['61-3=58', '37+75=112'] Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[3, 61, 37, 75], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [3, 37, 14] Generated Node #0,0: 54:[3, 37, 14] Operation: 75-61=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[3, 37, 14], Operations: ['75-61=14'] Exploring Operation: 37+14=51, Resulting Numbers: [3, 51] Generated Node #0,0,0: 54:[3, 51] Operation: 37+14=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[3, 51], Operations: ['75-61=14', '37+14=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[3, 61, 37, 75], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [3, 37, 14] Generated Node #0,0: 54:[3, 37, 14] Operation: 75-61=14 Moving to Node #0,0 Current State: 54:[3, 37, 14], Operations: ['75-61=14'] Exploring Operation: 37+14=51, Resulting Numbers: [3, 51] Generated Node #0,0,0: 54:[3, 51] Operation: 37+14=51 Moving to Node #0,0,0 Current State: 54:[3, 51], Operations: ['75-61=14', '37+14=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 44, 18, 2, 11 ]
91
[ "44+11=55", "18*2=36", "55+36=91" ]
Current State: 91:[44, 18, 2, 11], Operations: [] Exploring Operation: 44+11=55, Resulting Numbers: [18, 2, 55] Generated Node #2: [18, 2, 55] from Operation: 44+11=55 Current State: 91:[18, 2, 55], Operations: ['44+11=55'] Exploring Operation: 18*2=36, Resulting Numbers: [55, 36] Generated Node #3: [55, 36] from Operation: 18*2=36 Current State: 91:[55, 36], Operations: ['44+11=55', '18*2=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[44, 18, 2, 11], Operations: [] Exploring Operation: 44*2=88, Resulting Numbers: [18, 11, 88] Generated Node #0,0: 91:[18, 11, 88] Operation: 44*2=88 Exploring Operation: 44/11=4, Resulting Numbers: [18, 2, 4] Generated Node #0,1: 91:[18, 2, 4] Operation: 44/11=4 Exploring Operation: 44-18=26, Resulting Numbers: [2, 11, 26] Generated Node #0,2: 91:[2, 11, 26] Operation: 44-18=26 Exploring Operation: 44/2=22, Resulting Numbers: [18, 11, 22] Generated Node #0,3: 91:[18, 11, 22] Operation: 44/2=22 Moving to Node #0,0 Current State: 91:[18, 11, 88], Operations: ['44*2=88'] Exploring Operation: 18+88=106, Resulting Numbers: [11, 106] Generated Node #0,0,0: 91:[11, 106] Operation: 18+88=106 Exploring Operation: 18-11=7, Resulting Numbers: [88, 7] Generated Node #0,0,1: 91:[88, 7] Operation: 18-11=7 Exploring Operation: 11+88=99, Resulting Numbers: [18, 99] Generated Node #0,0,2: 91:[18, 99] Operation: 11+88=99 Exploring Operation: 88/11=8, Resulting Numbers: [18, 8] Generated Node #0,0,3: 91:[18, 8] Operation: 88/11=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[88, 7], Operations: ['44*2=88', '18-11=7'] Exploring Operation: 88*7=616, Resulting Numbers: [616] 616,91 unequal: No Solution Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,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,0,3 Current State: 91:[18, 8], Operations: ['44*2=88', '88/11=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,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,0,2 Current State: 91:[18, 99], Operations: ['44*2=88', '11+88=99'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 18+99=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 18*99=1782, Resulting Numbers: [1782] 1782,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,0,0 Current State: 91:[11, 106], Operations: ['44*2=88', '18+88=106'] Exploring Operation: 106-11=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 11*106=1166, Resulting Numbers: [1166] 1166,91 unequal: No Solution Exploring Operation: 11+106=117, Resulting Numbers: [117] 117,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:[18, 2, 4], Operations: ['44/11=4'] Exploring Operation: 18/2=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 91:[4, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 91:[4, 16] Operation: 18-2=16 Exploring Operation: 18-4=14, Resulting Numbers: [2, 14] Generated Node #0,1,2: 91:[2, 14] Operation: 18-4=14 Exploring Operation: 2+4=6, Resulting Numbers: [18, 6] Generated Node #0,1,3: 91:[18, 6] Operation: 2+4=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[4, 9], Operations: ['44/11=4', '18/2=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,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:[4, 16], Operations: ['44/11=4', '18-2=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 4*16=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,1,2 Current State: 91:[2, 14], Operations: ['44/11=4', '18-4=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,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,3 Current State: 91:[18, 6], Operations: ['44/11=4', '2+4=6'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,91 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: 91:[18, 11, 22], Operations: ['44/2=22'] Exploring Operation: 18-11=7, Resulting Numbers: [22, 7] Generated Node #0,3,0: 91:[22, 7] Operation: 18-11=7 Exploring Operation: 22-11=11, Resulting Numbers: [18, 11] Generated Node #0,3,1: 91:[18, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #0,3,2: 91:[18, 2] Operation: 22/11=2 Exploring Operation: 22-18=4, Resulting Numbers: [11, 4] Generated Node #0,3,3: 91:[11, 4] Operation: 22-18=4 Moving to Node #0,2 Current State: 91:[2, 11, 26], Operations: ['44-18=26'] Exploring Operation: 26-11=15, Resulting Numbers: [2, 15] Generated Node #0,2,0: 91:[2, 15] Operation: 26-11=15 Exploring Operation: 26-2=24, Resulting Numbers: [11, 24] Generated Node #0,2,1: 91:[11, 24] Operation: 26-2=24 Exploring Operation: 2+11=13, Resulting Numbers: [26, 13] Generated Node #0,2,2: 91:[26, 13] Operation: 2+11=13 Exploring Operation: 26/2=13, Resulting Numbers: [11, 13] Generated Node #0,2,3: 91:[11, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[11, 13], Operations: ['44-18=26', '26/2=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,91 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,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,0 Current State: 91:[2, 15], Operations: ['44-18=26', '26-11=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,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:[11, 24], Operations: ['44-18=26', '26-2=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,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:[26, 13], Operations: ['44-18=26', '2+11=13'] Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,91 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 91:[11, 4], Operations: ['44/2=22', '22-18=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,91 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[18, 11], Operations: ['44/2=22', '22-11=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,91 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[22, 7], Operations: ['44/2=22', '18-11=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[18, 2], Operations: ['44/2=22', '22/11=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,91 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 98, 37, 73 ]
71
[ "83+98=181", "37+73=110", "181-110=71" ]
Current State: 71:[83, 98, 37, 73], Operations: [] Exploring Operation: 83+98=181, Resulting Numbers: [37, 73, 181] Generated Node #2: [37, 73, 181] from Operation: 83+98=181 Current State: 71:[37, 73, 181], Operations: ['83+98=181'] Exploring Operation: 37+73=110, Resulting Numbers: [181, 110] Generated Node #3: [181, 110] from Operation: 37+73=110 Current State: 71:[181, 110], Operations: ['83+98=181', '37+73=110'] Exploring Operation: 181-110=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[83, 98, 37, 73], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [98, 73, 46] Generated Node #0,0: 71:[98, 73, 46] Operation: 83-37=46 Exploring Operation: 98-37=61, Resulting Numbers: [83, 73, 61] Generated Node #0,1: 71:[83, 73, 61] Operation: 98-37=61 Exploring Operation: 83+37=120, Resulting Numbers: [98, 73, 120] Generated Node #0,2: 71:[98, 73, 120] Operation: 83+37=120 Exploring Operation: 73-37=36, Resulting Numbers: [83, 98, 36] Generated Node #0,3: 71:[83, 98, 36] Operation: 73-37=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[83, 73, 61], Operations: ['98-37=61'] Exploring Operation: 83-73=10, Resulting Numbers: [61, 10] Generated Node #0,1,0: 71:[61, 10] Operation: 83-73=10 Exploring Operation: 73-61=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 71:[83, 12] Operation: 73-61=12 Exploring Operation: 83-61=22, Resulting Numbers: [73, 22] Generated Node #0,1,2: 71:[73, 22] Operation: 83-61=22 Exploring Operation: 83+61=144, Resulting Numbers: [73, 144] Generated Node #0,1,3: 71:[73, 144] Operation: 83+61=144 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[73, 22], Operations: ['98-37=61', '83-61=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[61, 10], Operations: ['98-37=61', '83-73=10'] Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,71 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[83, 98, 37, 73], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [83, 73, 61] Generated Node #0,1: 71:[83, 73, 61] Operation: 98-37=61 Moving to Node #0,1 Current State: 71:[83, 73, 61], Operations: ['98-37=61'] Exploring Operation: 83-73=10, Resulting Numbers: [61, 10] Generated Node #0,1,0: 71:[61, 10] Operation: 83-73=10 Moving to Node #0,1,0 Current State: 71:[61, 10], Operations: ['98-37=61', '83-73=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 91, 73, 19, 48 ]
85
[ "91-73=18", "19+48=67", "18+67=85" ]
Current State: 85:[91, 73, 19, 48], Operations: [] Exploring Operation: 91-73=18, Resulting Numbers: [19, 48, 18] Generated Node #2: [19, 48, 18] from Operation: 91-73=18 Current State: 85:[19, 48, 18], Operations: ['91-73=18'] Exploring Operation: 19+48=67, Resulting Numbers: [18, 67] Generated Node #3: [18, 67] from Operation: 19+48=67 Current State: 85:[18, 67], Operations: ['91-73=18', '19+48=67'] Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[91, 73, 19, 48], Operations: [] Exploring Operation: 48-19=29, Resulting Numbers: [91, 73, 29] Generated Node #0,0: 85:[91, 73, 29] Operation: 48-19=29 Exploring Operation: 73-48=25, Resulting Numbers: [91, 19, 25] Generated Node #0,1: 85:[91, 19, 25] Operation: 73-48=25 Exploring Operation: 91-73=18, Resulting Numbers: [19, 48, 18] Generated Node #0,2: 85:[19, 48, 18] Operation: 91-73=18 Exploring Operation: 19+48=67, Resulting Numbers: [91, 73, 67] Generated Node #0,3: 85:[91, 73, 67] Operation: 19+48=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[91, 19, 25], Operations: ['73-48=25'] Exploring Operation: 91-19=72, Resulting Numbers: [25, 72] Generated Node #0,1,0: 85:[25, 72] Operation: 91-19=72 Exploring Operation: 91+19=110, Resulting Numbers: [25, 110] Generated Node #0,1,1: 85:[25, 110] Operation: 91+19=110 Exploring Operation: 25-19=6, Resulting Numbers: [91, 6] Generated Node #0,1,2: 85:[91, 6] Operation: 25-19=6 Exploring Operation: 91-25=66, Resulting Numbers: [19, 66] Generated Node #0,1,3: 85:[19, 66] Operation: 91-25=66 Moving to Node #0,1,2 Current State: 85:[91, 6], Operations: ['73-48=25', '25-19=6'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[91, 73, 19, 48], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [91, 19, 25] Generated Node #0,1: 85:[91, 19, 25] Operation: 73-48=25 Moving to Node #0,1 Current State: 85:[91, 19, 25], Operations: ['73-48=25'] Exploring Operation: 25-19=6, Resulting Numbers: [91, 6] Generated Node #0,1,2: 85:[91, 6] Operation: 25-19=6 Moving to Node #0,1,2 Current State: 85:[91, 6], Operations: ['73-48=25', '25-19=6'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 52, 49, 66, 34 ]
35
[ "52-49=3", "66-34=32", "3+32=35" ]
Current State: 35:[52, 49, 66, 34], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [66, 34, 3] Generated Node #2: [66, 34, 3] from Operation: 52-49=3 Current State: 35:[66, 34, 3], Operations: ['52-49=3'] Exploring Operation: 66-34=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 66-34=32 Current State: 35:[3, 32], Operations: ['52-49=3', '66-34=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 49, 66, 34], Operations: [] Exploring Operation: 52-34=18, Resulting Numbers: [49, 66, 18] Generated Node #0,0: 35:[49, 66, 18] Operation: 52-34=18 Exploring Operation: 52-49=3, Resulting Numbers: [66, 34, 3] Generated Node #0,1: 35:[66, 34, 3] Operation: 52-49=3 Exploring Operation: 66-34=32, Resulting Numbers: [52, 49, 32] Generated Node #0,2: 35:[52, 49, 32] Operation: 66-34=32 Exploring Operation: 66-49=17, Resulting Numbers: [52, 34, 17] Generated Node #0,3: 35:[52, 34, 17] Operation: 66-49=17 Exploring Operation: 66-52=14, Resulting Numbers: [49, 34, 14] Generated Node #0,4: 35:[49, 34, 14] Operation: 66-52=14 Moving to Node #0,4 Current State: 35:[49, 34, 14], Operations: ['66-52=14'] Exploring Operation: 49+14=63, Resulting Numbers: [34, 63] Generated Node #0,4,0: 35:[34, 63] Operation: 49+14=63 Exploring Operation: 34-14=20, Resulting Numbers: [49, 20] Generated Node #0,4,1: 35:[49, 20] Operation: 34-14=20 Exploring Operation: 34+14=48, Resulting Numbers: [49, 48] Generated Node #0,4,2: 35:[49, 48] Operation: 34+14=48 Exploring Operation: 49-34=15, Resulting Numbers: [14, 15] Generated Node #0,4,3: 35:[14, 15] Operation: 49-34=15 Exploring Operation: 49-14=35, Resulting Numbers: [34, 35] Generated Node #0,4,4: 35:[34, 35] Operation: 49-14=35 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[34, 35], Operations: ['66-52=14', '49-14=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,35 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 35:[14, 15], Operations: ['66-52=14', '49-34=15'] Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,35 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[49, 20], Operations: ['66-52=14', '34-14=20'] Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,35 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,35 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 35:[49, 48], Operations: ['66-52=14', '34+14=48'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,35 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 35:[34, 63], Operations: ['66-52=14', '49+14=63'] Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,35 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,35 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: 35:[52, 34, 17], Operations: ['66-49=17'] Exploring Operation: 34-17=17, Resulting Numbers: [52, 17] Generated Node #0,3,0: 35:[52, 17] Operation: 34-17=17 Exploring Operation: 52-34=18, Resulting Numbers: [17, 18] Generated Node #0,3,1: 35:[17, 18] Operation: 52-34=18 Exploring Operation: 34/17=2, Resulting Numbers: [52, 2] Generated Node #0,3,2: 35:[52, 2] Operation: 34/17=2 Exploring Operation: 52-17=35, Resulting Numbers: [34, 35] Generated Node #0,3,3: 35:[34, 35] Operation: 52-17=35 Exploring Operation: 34+17=51, Resulting Numbers: [52, 51] Generated Node #0,3,4: 35:[52, 51] Operation: 34+17=51 Moving to Node #0,1 Current State: 35:[66, 34, 3], Operations: ['52-49=3'] Exploring Operation: 66-3=63, Resulting Numbers: [34, 63] Generated Node #0,1,0: 35:[34, 63] Operation: 66-3=63 Exploring Operation: 66/3=22, Resulting Numbers: [34, 22] Generated Node #0,1,1: 35:[34, 22] Operation: 66/3=22 Exploring Operation: 66+3=69, Resulting Numbers: [34, 69] Generated Node #0,1,2: 35:[34, 69] Operation: 66+3=69 Exploring Operation: 34+3=37, Resulting Numbers: [66, 37] Generated Node #0,1,3: 35:[66, 37] Operation: 34+3=37 Exploring Operation: 66-34=32, Resulting Numbers: [3, 32] Generated Node #0,1,4: 35:[3, 32] Operation: 66-34=32 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 35:[3, 32], Operations: ['52-49=3', '66-34=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[52, 49, 66, 34], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [66, 34, 3] Generated Node #0,1: 35:[66, 34, 3] Operation: 52-49=3 Moving to Node #0,1 Current State: 35:[66, 34, 3], Operations: ['52-49=3'] Exploring Operation: 66-34=32, Resulting Numbers: [3, 32] Generated Node #0,1,4: 35:[3, 32] Operation: 66-34=32 Moving to Node #0,1,4 Current State: 35:[3, 32], Operations: ['52-49=3', '66-34=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 6, 37, 71, 11 ]
17
[ "6+37=43", "71-11=60", "60-43=17" ]
Current State: 17:[6, 37, 71, 11], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [71, 11, 43] Generated Node #2: [71, 11, 43] from Operation: 6+37=43 Current State: 17:[71, 11, 43], Operations: ['6+37=43'] Exploring Operation: 71-11=60, Resulting Numbers: [43, 60] Generated Node #3: [43, 60] from Operation: 71-11=60 Current State: 17:[43, 60], Operations: ['6+37=43', '71-11=60'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[6, 37, 71, 11], Operations: [] Exploring Operation: 37-6=31, Resulting Numbers: [71, 11, 31] Generated Node #0,0: 17:[71, 11, 31] Operation: 37-6=31 Exploring Operation: 71-37=34, Resulting Numbers: [6, 11, 34] Generated Node #0,1: 17:[6, 11, 34] Operation: 71-37=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[6, 11, 34], Operations: ['71-37=34'] Exploring Operation: 6+11=17, Resulting Numbers: [34, 17] Generated Node #0,1,0: 17:[34, 17] Operation: 6+11=17 Exploring Operation: 34-6=28, Resulting Numbers: [11, 28] Generated Node #0,1,1: 17:[11, 28] Operation: 34-6=28 Moving to Node #0,1,0 Current State: 17:[34, 17], Operations: ['71-37=34', '6+11=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[6, 37, 71, 11], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [6, 11, 34] Generated Node #0,1: 17:[6, 11, 34] Operation: 71-37=34 Moving to Node #0,1 Current State: 17:[6, 11, 34], Operations: ['71-37=34'] Exploring Operation: 6+11=17, Resulting Numbers: [34, 17] Generated Node #0,1,0: 17:[34, 17] Operation: 6+11=17 Moving to Node #0,1,0 Current State: 17:[34, 17], Operations: ['71-37=34', '6+11=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 81, 52, 44, 86 ]
40
[ "86-81=5", "52-44=8", "5*8=40" ]
Current State: 40:[81, 52, 44, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [52, 44, 5] Generated Node #2: [52, 44, 5] from Operation: 86-81=5 Current State: 40:[52, 44, 5], Operations: ['86-81=5'] Exploring Operation: 52-44=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 52-44=8 Current State: 40:[5, 8], Operations: ['86-81=5', '52-44=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[81, 52, 44, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [52, 44, 5] Generated Node #0,0: 40:[52, 44, 5] Operation: 86-81=5 Exploring Operation: 86-44=42, Resulting Numbers: [81, 52, 42] Generated Node #0,1: 40:[81, 52, 42] Operation: 86-44=42 Exploring Operation: 86-52=34, Resulting Numbers: [81, 44, 34] Generated Node #0,2: 40:[81, 44, 34] Operation: 86-52=34 Exploring Operation: 81-52=29, Resulting Numbers: [44, 86, 29] Generated Node #0,3: 40:[44, 86, 29] Operation: 81-52=29 Exploring Operation: 81-44=37, Resulting Numbers: [52, 86, 37] Generated Node #0,4: 40:[52, 86, 37] Operation: 81-44=37 Moving to Node #0,0 Current State: 40:[52, 44, 5], Operations: ['86-81=5'] Exploring Operation: 52+5=57, Resulting Numbers: [44, 57] Generated Node #0,0,0: 40:[44, 57] Operation: 52+5=57 Exploring Operation: 52-44=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 40:[5, 8] Operation: 52-44=8 Exploring Operation: 52-5=47, Resulting Numbers: [44, 47] Generated Node #0,0,2: 40:[44, 47] Operation: 52-5=47 Exploring Operation: 44+5=49, Resulting Numbers: [52, 49] Generated Node #0,0,3: 40:[52, 49] Operation: 44+5=49 Exploring Operation: 44-5=39, Resulting Numbers: [52, 39] Generated Node #0,0,4: 40:[52, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[5, 8], Operations: ['86-81=5', '52-44=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[81, 52, 44, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [52, 44, 5] Generated Node #0,0: 40:[52, 44, 5] Operation: 86-81=5 Moving to Node #0,0 Current State: 40:[52, 44, 5], Operations: ['86-81=5'] Exploring Operation: 52-44=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 40:[5, 8] Operation: 52-44=8 Moving to Node #0,0,1 Current State: 40:[5, 8], Operations: ['86-81=5', '52-44=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 80, 40, 93, 54 ]
78
[ "80/40=2", "93-54=39", "2*39=78" ]
Current State: 78:[80, 40, 93, 54], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [93, 54, 2] Generated Node #2: [93, 54, 2] from Operation: 80/40=2 Current State: 78:[93, 54, 2], Operations: ['80/40=2'] Exploring Operation: 93-54=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 93-54=39 Current State: 78:[2, 39], Operations: ['80/40=2', '93-54=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[80, 40, 93, 54], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [80, 40, 39] Generated Node #0,0: 78:[80, 40, 39] Operation: 93-54=39 Exploring Operation: 93-80=13, Resulting Numbers: [40, 54, 13] Generated Node #0,1: 78:[40, 54, 13] Operation: 93-80=13 Exploring Operation: 80-54=26, Resulting Numbers: [40, 93, 26] Generated Node #0,2: 78:[40, 93, 26] Operation: 80-54=26 Exploring Operation: 54-40=14, Resulting Numbers: [80, 93, 14] Generated Node #0,3: 78:[80, 93, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[80, 40, 39], Operations: ['93-54=39'] Exploring Operation: 40+39=79, Resulting Numbers: [80, 79] Generated Node #0,0,0: 78:[80, 79] Operation: 40+39=79 Exploring Operation: 80-39=41, Resulting Numbers: [40, 41] Generated Node #0,0,1: 78:[40, 41] Operation: 80-39=41 Exploring Operation: 80-40=40, Resulting Numbers: [39, 40] Generated Node #0,0,2: 78:[39, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [39, 2] Generated Node #0,0,3: 78:[39, 2] Operation: 80/40=2 Moving to Node #0,0,3 Current State: 78:[39, 2], Operations: ['93-54=39', '80/40=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[80, 40, 93, 54], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [80, 40, 39] Generated Node #0,0: 78:[80, 40, 39] Operation: 93-54=39 Moving to Node #0,0 Current State: 78:[80, 40, 39], Operations: ['93-54=39'] Exploring Operation: 80/40=2, Resulting Numbers: [39, 2] Generated Node #0,0,3: 78:[39, 2] Operation: 80/40=2 Moving to Node #0,0,3 Current State: 78:[39, 2], Operations: ['93-54=39', '80/40=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 99, 96, 40, 45 ]
88
[ "99-96=3", "40+45=85", "3+85=88" ]
Current State: 88:[99, 96, 40, 45], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [40, 45, 3] Generated Node #2: [40, 45, 3] from Operation: 99-96=3 Current State: 88:[40, 45, 3], Operations: ['99-96=3'] Exploring Operation: 40+45=85, Resulting Numbers: [3, 85] Generated Node #3: [3, 85] from Operation: 40+45=85 Current State: 88:[3, 85], Operations: ['99-96=3', '40+45=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[99, 96, 40, 45], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [40, 45, 3] Generated Node #0,0: 88:[40, 45, 3] Operation: 99-96=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[40, 45, 3], Operations: ['99-96=3'] Exploring Operation: 45-40=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 88:[3, 5] Operation: 45-40=5 Moving to Node #0,0,0 Current State: 88:[3, 5], Operations: ['99-96=3', '45-40=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,88 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
[ 56, 60, 43, 29 ]
15
[ "43-29=14", "56/14=4", "60/4=15" ]
Current State: 15:[56, 60, 43, 29], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [56, 60, 14] Generated Node #2: [56, 60, 14] from Operation: 43-29=14 Current State: 15:[56, 60, 14], Operations: ['43-29=14'] Exploring Operation: 56/14=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 56/14=4 Current State: 15:[60, 4], Operations: ['43-29=14', '56/14=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[56, 60, 43, 29], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [43, 29, 4] Generated Node #0,0: 15:[43, 29, 4] Operation: 60-56=4 Moving to Node #0,0 Current State: 15:[43, 29, 4], Operations: ['60-56=4'] Exploring Operation: 43-29=14, Resulting Numbers: [4, 14] Generated Node #0,0,0: 15:[4, 14] Operation: 43-29=14 Moving to Node #0,0,0 Current State: 15:[4, 14], Operations: ['60-56=4', '43-29=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 55, 3, 36 ]
12
[ "79-55=24", "36/3=12", "24-12=12" ]
Current State: 12:[79, 55, 3, 36], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [3, 36, 24] Generated Node #2: [3, 36, 24] from Operation: 79-55=24 Current State: 12:[3, 36, 24], Operations: ['79-55=24'] Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #3: [24, 12] from Operation: 36/3=12 Current State: 12:[24, 12], Operations: ['79-55=24', '36/3=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[79, 55, 3, 36], Operations: [] Exploring Operation: 79-3=76, Resulting Numbers: [55, 36, 76] Generated Node #0,0: 12:[55, 36, 76] Operation: 79-3=76 Exploring Operation: 79-55=24, Resulting Numbers: [3, 36, 24] Generated Node #0,1: 12:[3, 36, 24] Operation: 79-55=24 Exploring Operation: 79-36=43, Resulting Numbers: [55, 3, 43] Generated Node #0,2: 12:[55, 3, 43] Operation: 79-36=43 Exploring Operation: 55-36=19, Resulting Numbers: [79, 3, 19] Generated Node #0,3: 12:[79, 3, 19] Operation: 55-36=19 Exploring Operation: 36/3=12, Resulting Numbers: [79, 55, 12] Generated Node #0,4: 12:[79, 55, 12] Operation: 36/3=12 Moving to Node #0,1 Current State: 12:[3, 36, 24], Operations: ['79-55=24'] Exploring Operation: 24/3=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 12:[36, 8] Operation: 24/3=8 Exploring Operation: 36-24=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 12:[3, 12] Operation: 36-24=12 Exploring Operation: 24-3=21, Resulting Numbers: [36, 21] Generated Node #0,1,2: 12:[36, 21] Operation: 24-3=21 Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #0,1,3: 12:[24, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [24, 33] Generated Node #0,1,4: 12:[24, 33] Operation: 36-3=33 Moving to Node #0,3 Current State: 12:[79, 3, 19], Operations: ['55-36=19'] Exploring Operation: 79+3=82, Resulting Numbers: [19, 82] Generated Node #0,3,0: 12:[19, 82] Operation: 79+3=82 Exploring Operation: 79-19=60, Resulting Numbers: [3, 60] Generated Node #0,3,1: 12:[3, 60] Operation: 79-19=60 Exploring Operation: 79-3=76, Resulting Numbers: [19, 76] Generated Node #0,3,2: 12:[19, 76] Operation: 79-3=76 Exploring Operation: 19-3=16, Resulting Numbers: [79, 16] Generated Node #0,3,3: 12:[79, 16] Operation: 19-3=16 Exploring Operation: 3+19=22, Resulting Numbers: [79, 22] Generated Node #0,3,4: 12:[79, 22] Operation: 3+19=22 Moving to Node #0,2 Current State: 12:[55, 3, 43], Operations: ['79-36=43'] Exploring Operation: 55-43=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 12:[3, 12] Operation: 55-43=12 Exploring Operation: 55+3=58, Resulting Numbers: [43, 58] Generated Node #0,2,1: 12:[43, 58] Operation: 55+3=58 Exploring Operation: 55-3=52, Resulting Numbers: [43, 52] Generated Node #0,2,2: 12:[43, 52] Operation: 55-3=52 Exploring Operation: 3+43=46, Resulting Numbers: [55, 46] Generated Node #0,2,3: 12:[55, 46] Operation: 3+43=46 Exploring Operation: 43-3=40, Resulting Numbers: [55, 40] Generated Node #0,2,4: 12:[55, 40] Operation: 43-3=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[3, 12], Operations: ['79-36=43', '55-43=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[43, 52], Operations: ['79-36=43', '55-3=52'] Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,12 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[55, 40], Operations: ['79-36=43', '43-3=40'] Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,12 unequal: No Solution Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[43, 58], Operations: ['79-36=43', '55+3=58'] Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,12 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,12 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[55, 46], Operations: ['79-36=43', '3+43=46'] Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,12 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,12 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: 12:[79, 55, 12], Operations: ['36/3=12'] Exploring Operation: 79+12=91, Resulting Numbers: [55, 91] Generated Node #0,4,0: 12:[55, 91] Operation: 79+12=91 Exploring Operation: 79-55=24, Resulting Numbers: [12, 24] Generated Node #0,4,1: 12:[12, 24] Operation: 79-55=24 Exploring Operation: 79-12=67, Resulting Numbers: [55, 67] Generated Node #0,4,2: 12:[55, 67] Operation: 79-12=67 Exploring Operation: 55-12=43, Resulting Numbers: [79, 43] Generated Node #0,4,3: 12:[79, 43] Operation: 55-12=43 Exploring Operation: 79+55=134, Resulting Numbers: [12, 134] Generated Node #0,4,4: 12:[12, 134] Operation: 79+55=134 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 12:[12, 24], Operations: ['36/3=12', '79-55=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[79, 55, 3, 36], Operations: [] Exploring Operation: 36/3=12, Resulting Numbers: [79, 55, 12] Generated Node #0,4: 12:[79, 55, 12] Operation: 36/3=12 Moving to Node #0,4 Current State: 12:[79, 55, 12], Operations: ['36/3=12'] Exploring Operation: 79-55=24, Resulting Numbers: [12, 24] Generated Node #0,4,1: 12:[12, 24] Operation: 79-55=24 Moving to Node #0,4,1 Current State: 12:[12, 24], Operations: ['36/3=12', '79-55=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 31, 33, 5, 1 ]
58
[ "31+33=64", "5+1=6", "64-6=58" ]
Current State: 58:[31, 33, 5, 1], Operations: [] Exploring Operation: 31+33=64, Resulting Numbers: [5, 1, 64] Generated Node #2: [5, 1, 64] from Operation: 31+33=64 Current State: 58:[5, 1, 64], Operations: ['31+33=64'] Exploring Operation: 5+1=6, Resulting Numbers: [64, 6] Generated Node #3: [64, 6] from Operation: 5+1=6 Current State: 58:[64, 6], Operations: ['31+33=64', '5+1=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[31, 33, 5, 1], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [5, 1, 2] Generated Node #0,0: 58:[5, 1, 2] Operation: 33-31=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[5, 1, 2], Operations: ['33-31=2'] Exploring Operation: 5-1=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 58:[2, 4] Operation: 5-1=4 Moving to Node #0,0,0 Current State: 58:[2, 4], Operations: ['33-31=2', '5-1=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,58 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
[ 63, 7, 50, 4 ]
37
[ "63/7=9", "50-4=46", "46-9=37" ]
Current State: 37:[63, 7, 50, 4], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [50, 4, 9] Generated Node #2: [50, 4, 9] from Operation: 63/7=9 Current State: 37:[50, 4, 9], Operations: ['63/7=9'] Exploring Operation: 50-4=46, Resulting Numbers: [9, 46] Generated Node #3: [9, 46] from Operation: 50-4=46 Current State: 37:[9, 46], Operations: ['63/7=9', '50-4=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[63, 7, 50, 4], Operations: [] Exploring Operation: 63-7=56, Resulting Numbers: [50, 4, 56] Generated Node #0,0: 37:[50, 4, 56] Operation: 63-7=56 Exploring Operation: 7*4=28, Resulting Numbers: [63, 50, 28] Generated Node #0,1: 37:[63, 50, 28] Operation: 7*4=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[63, 50, 28], Operations: ['7*4=28'] Exploring Operation: 63-28=35, Resulting Numbers: [50, 35] Generated Node #0,1,0: 37:[50, 35] Operation: 63-28=35 Exploring Operation: 63-50=13, Resulting Numbers: [28, 13] Generated Node #0,1,1: 37:[28, 13] Operation: 63-50=13 Moving to Node #0,1,0 Current State: 37:[50, 35], Operations: ['7*4=28', '63-28=35'] Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[28, 13], Operations: ['7*4=28', '63-50=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,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 Current State: 37:[50, 4, 56], Operations: ['63-7=56'] Exploring Operation: 56-4=52, Resulting Numbers: [50, 52] Generated Node #0,0,0: 37:[50, 52] Operation: 56-4=52 Exploring Operation: 50-4=46, Resulting Numbers: [56, 46] Generated Node #0,0,1: 37:[56, 46] Operation: 50-4=46 Moving to Node #0,0,0 Current State: 37:[50, 52], Operations: ['63-7=56', '56-4=52'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[56, 46], Operations: ['63-7=56', '50-4=46'] Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,37 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,37 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
[ 55, 81, 27, 10 ]
68
[ "55+10=65", "81/27=3", "65+3=68" ]
Current State: 68:[55, 81, 27, 10], Operations: [] Exploring Operation: 55+10=65, Resulting Numbers: [81, 27, 65] Generated Node #2: [81, 27, 65] from Operation: 55+10=65 Current State: 68:[81, 27, 65], Operations: ['55+10=65'] Exploring Operation: 81/27=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 81/27=3 Current State: 68:[65, 3], Operations: ['55+10=65', '81/27=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[55, 81, 27, 10], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [55, 10, 3] Generated Node #0,0: 68:[55, 10, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[55, 10, 3], Operations: ['81/27=3'] Exploring Operation: 55+10=65, Resulting Numbers: [3, 65] Generated Node #0,0,0: 68:[3, 65] Operation: 55+10=65 Moving to Node #0,0,0 Current State: 68:[3, 65], Operations: ['81/27=3', '55+10=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[55, 81, 27, 10], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [55, 10, 3] Generated Node #0,0: 68:[55, 10, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 68:[55, 10, 3], Operations: ['81/27=3'] Exploring Operation: 55+10=65, Resulting Numbers: [3, 65] Generated Node #0,0,0: 68:[3, 65] Operation: 55+10=65 Moving to Node #0,0,0 Current State: 68:[3, 65], Operations: ['81/27=3', '55+10=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 34, 6, 90, 13 ]
49
[ "34-6=28", "90-13=77", "77-28=49" ]
Current State: 49:[34, 6, 90, 13], Operations: [] Exploring Operation: 34-6=28, Resulting Numbers: [90, 13, 28] Generated Node #2: [90, 13, 28] from Operation: 34-6=28 Current State: 49:[90, 13, 28], Operations: ['34-6=28'] Exploring Operation: 90-13=77, Resulting Numbers: [28, 77] Generated Node #3: [28, 77] from Operation: 90-13=77 Current State: 49:[28, 77], Operations: ['34-6=28', '90-13=77'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[34, 6, 90, 13], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [34, 6, 77] Generated Node #0,0: 49:[34, 6, 77] Operation: 90-13=77 Exploring Operation: 90/6=15, Resulting Numbers: [34, 13, 15] Generated Node #0,1: 49:[34, 13, 15] Operation: 90/6=15 Exploring Operation: 34+13=47, Resulting Numbers: [6, 90, 47] Generated Node #0,2: 49:[6, 90, 47] Operation: 34+13=47 Exploring Operation: 90-34=56, Resulting Numbers: [6, 13, 56] Generated Node #0,3: 49:[6, 13, 56] Operation: 90-34=56 Exploring Operation: 34+6=40, Resulting Numbers: [90, 13, 40] Generated Node #0,4: 49:[90, 13, 40] Operation: 34+6=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[6, 13, 56], Operations: ['90-34=56'] Exploring Operation: 6+56=62, Resulting Numbers: [13, 62] Generated Node #0,3,0: 49:[13, 62] Operation: 6+56=62 Exploring Operation: 6+13=19, Resulting Numbers: [56, 19] Generated Node #0,3,1: 49:[56, 19] Operation: 6+13=19 Exploring Operation: 13-6=7, Resulting Numbers: [56, 7] Generated Node #0,3,2: 49:[56, 7] Operation: 13-6=7 Exploring Operation: 56-6=50, Resulting Numbers: [13, 50] Generated Node #0,3,3: 49:[13, 50] Operation: 56-6=50 Exploring Operation: 56-13=43, Resulting Numbers: [6, 43] Generated Node #0,3,4: 49:[6, 43] Operation: 56-13=43 Moving to Node #0,3,2 Current State: 49:[56, 7], Operations: ['90-34=56', '13-6=7'] Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,49 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[34, 6, 90, 13], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [6, 13, 56] Generated Node #0,3: 49:[6, 13, 56] Operation: 90-34=56 Moving to Node #0,3 Current State: 49:[6, 13, 56], Operations: ['90-34=56'] Exploring Operation: 13-6=7, Resulting Numbers: [56, 7] Generated Node #0,3,2: 49:[56, 7] Operation: 13-6=7 Moving to Node #0,3,2 Current State: 49:[56, 7], Operations: ['90-34=56', '13-6=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 48, 93, 78, 6 ]
69
[ "48+93=141", "78-6=72", "141-72=69" ]
Current State: 69:[48, 93, 78, 6], Operations: [] Exploring Operation: 48+93=141, Resulting Numbers: [78, 6, 141] Generated Node #2: [78, 6, 141] from Operation: 48+93=141 Current State: 69:[78, 6, 141], Operations: ['48+93=141'] Exploring Operation: 78-6=72, Resulting Numbers: [141, 72] Generated Node #3: [141, 72] from Operation: 78-6=72 Current State: 69:[141, 72], Operations: ['48+93=141', '78-6=72'] Exploring Operation: 141-72=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[48, 93, 78, 6], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [93, 6, 30] Generated Node #0,0: 69:[93, 6, 30] Operation: 78-48=30 Exploring Operation: 93-48=45, Resulting Numbers: [78, 6, 45] Generated Node #0,1: 69:[78, 6, 45] Operation: 93-48=45 Exploring Operation: 93-78=15, Resulting Numbers: [48, 6, 15] Generated Node #0,2: 69:[48, 6, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[48, 6, 15], Operations: ['93-78=15'] Exploring Operation: 48-15=33, Resulting Numbers: [6, 33] Generated Node #0,2,0: 69:[6, 33] Operation: 48-15=33 Exploring Operation: 48+15=63, Resulting Numbers: [6, 63] Generated Node #0,2,1: 69:[6, 63] Operation: 48+15=63 Exploring Operation: 48/6=8, Resulting Numbers: [15, 8] Generated Node #0,2,2: 69:[15, 8] Operation: 48/6=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[6, 63], Operations: ['93-78=15', '48+15=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,69 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[48, 93, 78, 6], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [48, 6, 15] Generated Node #0,2: 69:[48, 6, 15] Operation: 93-78=15 Moving to Node #0,2 Current State: 69:[48, 6, 15], Operations: ['93-78=15'] Exploring Operation: 48+15=63, Resulting Numbers: [6, 63] Generated Node #0,2,1: 69:[6, 63] Operation: 48+15=63 Moving to Node #0,2,1 Current State: 69:[6, 63], Operations: ['93-78=15', '48+15=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 90, 33, 83, 59 ]
33
[ "90-33=57", "83-59=24", "57-24=33" ]
Current State: 33:[90, 33, 83, 59], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [83, 59, 57] Generated Node #2: [83, 59, 57] from Operation: 90-33=57 Current State: 33:[83, 59, 57], Operations: ['90-33=57'] Exploring Operation: 83-59=24, Resulting Numbers: [57, 24] Generated Node #3: [57, 24] from Operation: 83-59=24 Current State: 33:[57, 24], Operations: ['90-33=57', '83-59=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[90, 33, 83, 59], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [33, 59, 7] Generated Node #0,0: 33:[33, 59, 7] Operation: 90-83=7 Exploring Operation: 90-59=31, Resulting Numbers: [33, 83, 31] Generated Node #0,1: 33:[33, 83, 31] Operation: 90-59=31 Exploring Operation: 90-33=57, Resulting Numbers: [83, 59, 57] Generated Node #0,2: 33:[83, 59, 57] Operation: 90-33=57 Exploring Operation: 83-59=24, Resulting Numbers: [90, 33, 24] Generated Node #0,3: 33:[90, 33, 24] Operation: 83-59=24 Exploring Operation: 83-33=50, Resulting Numbers: [90, 59, 50] Generated Node #0,4: 33:[90, 59, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 33:[33, 59, 7], Operations: ['90-83=7'] Exploring Operation: 33-7=26, Resulting Numbers: [59, 26] Generated Node #0,0,0: 33:[59, 26] Operation: 33-7=26 Exploring Operation: 33+7=40, Resulting Numbers: [59, 40] Generated Node #0,0,1: 33:[59, 40] Operation: 33+7=40 Exploring Operation: 59+7=66, Resulting Numbers: [33, 66] Generated Node #0,0,2: 33:[33, 66] Operation: 59+7=66 Exploring Operation: 59-7=52, Resulting Numbers: [33, 52] Generated Node #0,0,3: 33:[33, 52] Operation: 59-7=52 Exploring Operation: 59-33=26, Resulting Numbers: [7, 26] Generated Node #0,0,4: 33:[7, 26] Operation: 59-33=26 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 33:[7, 26], Operations: ['90-83=7', '59-33=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[90, 33, 83, 59], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [33, 59, 7] Generated Node #0,0: 33:[33, 59, 7] Operation: 90-83=7 Moving to Node #0,0 Current State: 33:[33, 59, 7], Operations: ['90-83=7'] Exploring Operation: 59-33=26, Resulting Numbers: [7, 26] Generated Node #0,0,4: 33:[7, 26] Operation: 59-33=26 Moving to Node #0,0,4 Current State: 33:[7, 26], Operations: ['90-83=7', '59-33=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 92, 79, 68, 66 ]
26
[ "92-79=13", "68-66=2", "13*2=26" ]
Current State: 26:[92, 79, 68, 66], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [68, 66, 13] Generated Node #2: [68, 66, 13] from Operation: 92-79=13 Current State: 26:[68, 66, 13], Operations: ['92-79=13'] Exploring Operation: 68-66=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 68-66=2 Current State: 26:[13, 2], Operations: ['92-79=13', '68-66=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[92, 79, 68, 66], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [79, 66, 24] Generated Node #0,0: 26:[79, 66, 24] Operation: 92-68=24 Exploring Operation: 92-79=13, Resulting Numbers: [68, 66, 13] Generated Node #0,1: 26:[68, 66, 13] Operation: 92-79=13 Exploring Operation: 92-66=26, Resulting Numbers: [79, 68, 26] Generated Node #0,2: 26:[79, 68, 26] Operation: 92-66=26 Exploring Operation: 79-68=11, Resulting Numbers: [92, 66, 11] Generated Node #0,3: 26:[92, 66, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[68, 66, 13], Operations: ['92-79=13'] Exploring Operation: 68+13=81, Resulting Numbers: [66, 81] Generated Node #0,1,0: 26:[66, 81] Operation: 68+13=81 Exploring Operation: 68-66=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 68-66=2 Exploring Operation: 68-13=55, Resulting Numbers: [66, 55] Generated Node #0,1,2: 26:[66, 55] Operation: 68-13=55 Exploring Operation: 66-13=53, Resulting Numbers: [68, 53] Generated Node #0,1,3: 26:[68, 53] Operation: 66-13=53 Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['92-79=13', '68-66=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[92, 79, 68, 66], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [68, 66, 13] Generated Node #0,1: 26:[68, 66, 13] Operation: 92-79=13 Moving to Node #0,1 Current State: 26:[68, 66, 13], Operations: ['92-79=13'] Exploring Operation: 68-66=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 68-66=2 Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['92-79=13', '68-66=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 39, 46, 56, 69 ]
82
[ "39*46=1794", "1794/69=26", "56+26=82" ]
Current State: 82:[39, 46, 56, 69], Operations: [] Exploring Operation: 39*46=1794, Resulting Numbers: [56, 69, 1794] Generated Node #2: [56, 69, 1794] from Operation: 39*46=1794 Current State: 82:[56, 69, 1794], Operations: ['39*46=1794'] Exploring Operation: 1794/69=26, Resulting Numbers: [56, 26] Generated Node #3: [56, 26] from Operation: 1794/69=26 Current State: 82:[56, 26], Operations: ['39*46=1794', '1794/69=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[39, 46, 56, 69], Operations: [] Exploring Operation: 39+46=85, Resulting Numbers: [56, 69, 85] Generated Node #0,0: 82:[56, 69, 85] Operation: 39+46=85 Exploring Operation: 56-46=10, Resulting Numbers: [39, 69, 10] Generated Node #0,1: 82:[39, 69, 10] Operation: 56-46=10 Exploring Operation: 69-56=13, Resulting Numbers: [39, 46, 13] Generated Node #0,2: 82:[39, 46, 13] Operation: 69-56=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[39, 46, 13], Operations: ['69-56=13'] Exploring Operation: 46-13=33, Resulting Numbers: [39, 33] Generated Node #0,2,0: 82:[39, 33] Operation: 46-13=33 Exploring Operation: 39+46=85, Resulting Numbers: [13, 85] Generated Node #0,2,1: 82:[13, 85] Operation: 39+46=85 Exploring Operation: 39/13=3, Resulting Numbers: [46, 3] Generated Node #0,2,2: 82:[46, 3] Operation: 39/13=3 Moving to Node #0,2,2 Current State: 82:[46, 3], Operations: ['69-56=13', '39/13=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[39, 33], Operations: ['69-56=13', '46-13=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[13, 85], Operations: ['69-56=13', '39+46=85'] Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,82 unequal: No Solution Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[39, 69, 10], Operations: ['56-46=10'] Exploring Operation: 69+10=79, Resulting Numbers: [39, 79] Generated Node #0,1,0: 82:[39, 79] Operation: 69+10=79 Exploring Operation: 69-10=59, Resulting Numbers: [39, 59] Generated Node #0,1,1: 82:[39, 59] Operation: 69-10=59 Exploring Operation: 69-39=30, Resulting Numbers: [10, 30] Generated Node #0,1,2: 82:[10, 30] Operation: 69-39=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[39, 79], Operations: ['56-46=10', '69+10=79'] Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[10, 30], Operations: ['56-46=10', '69-39=30'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[39, 59], Operations: ['56-46=10', '69-10=59'] Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,82 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[56, 69, 85], Operations: ['39+46=85'] Exploring Operation: 85-56=29, Resulting Numbers: [69, 29] Generated Node #0,0,0: 82:[69, 29] Operation: 85-56=29 Exploring Operation: 69-56=13, Resulting Numbers: [85, 13] Generated Node #0,0,1: 82:[85, 13] Operation: 69-56=13 Exploring Operation: 85-69=16, Resulting Numbers: [56, 16] Generated Node #0,0,2: 82:[56, 16] Operation: 85-69=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[85, 13], Operations: ['39+46=85', '69-56=13'] Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,82 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[69, 29], Operations: ['39+46=85', '85-56=29'] Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,82 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[56, 16], Operations: ['39+46=85', '85-69=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 14, 12, 34, 27 ]
59
[ "14-12=2", "34+27=61", "61-2=59" ]
Current State: 59:[14, 12, 34, 27], Operations: [] Exploring Operation: 14-12=2, Resulting Numbers: [34, 27, 2] Generated Node #2: [34, 27, 2] from Operation: 14-12=2 Current State: 59:[34, 27, 2], Operations: ['14-12=2'] Exploring Operation: 34+27=61, Resulting Numbers: [2, 61] Generated Node #3: [2, 61] from Operation: 34+27=61 Current State: 59:[2, 61], Operations: ['14-12=2', '34+27=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[14, 12, 34, 27], Operations: [] Exploring Operation: 14+12=26, Resulting Numbers: [34, 27, 26] Generated Node #0,0: 59:[34, 27, 26] Operation: 14+12=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[34, 27, 26], Operations: ['14+12=26'] Exploring Operation: 27+26=53, Resulting Numbers: [34, 53] Generated Node #0,0,0: 59:[34, 53] Operation: 27+26=53 Moving to Node #0,0,0 Current State: 59:[34, 53], Operations: ['14+12=26', '27+26=53'] Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,59 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
[ 56, 60, 66, 58 ]
63
[ "58-56=2", "60+66=126", "126/2=63" ]
Current State: 63:[56, 60, 66, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [60, 66, 2] Generated Node #2: [60, 66, 2] from Operation: 58-56=2 Current State: 63:[60, 66, 2], Operations: ['58-56=2'] Exploring Operation: 60+66=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 60+66=126 Current State: 63:[2, 126], Operations: ['58-56=2', '60+66=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[56, 60, 66, 58], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [66, 58, 4] Generated Node #0,0: 63:[66, 58, 4] Operation: 60-56=4 Exploring Operation: 66-56=10, Resulting Numbers: [60, 58, 10] Generated Node #0,1: 63:[60, 58, 10] Operation: 66-56=10 Exploring Operation: 60-58=2, Resulting Numbers: [56, 66, 2] Generated Node #0,2: 63:[56, 66, 2] Operation: 60-58=2 Exploring Operation: 58-56=2, Resulting Numbers: [60, 66, 2] Generated Node #0,3: 63:[60, 66, 2] Operation: 58-56=2 Moving to Node #0,3 Current State: 63:[60, 66, 2], Operations: ['58-56=2'] Exploring Operation: 60+2=62, Resulting Numbers: [66, 62] Generated Node #0,3,0: 63:[66, 62] Operation: 60+2=62 Exploring Operation: 66-60=6, Resulting Numbers: [2, 6] Generated Node #0,3,1: 63:[2, 6] Operation: 66-60=6 Exploring Operation: 60-2=58, Resulting Numbers: [66, 58] Generated Node #0,3,2: 63:[66, 58] Operation: 60-2=58 Exploring Operation: 66-2=64, Resulting Numbers: [60, 64] Generated Node #0,3,3: 63:[60, 64] Operation: 66-2=64 Moving to Node #0,1 Current State: 63:[60, 58, 10], Operations: ['66-56=10'] Exploring Operation: 60+10=70, Resulting Numbers: [58, 70] Generated Node #0,1,0: 63:[58, 70] Operation: 60+10=70 Exploring Operation: 60-58=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 63:[10, 2] Operation: 60-58=2 Exploring Operation: 60/10=6, Resulting Numbers: [58, 6] Generated Node #0,1,2: 63:[58, 6] Operation: 60/10=6 Exploring Operation: 58+10=68, Resulting Numbers: [60, 68] Generated Node #0,1,3: 63:[60, 68] Operation: 58+10=68 Moving to Node #0,0 Current State: 63:[66, 58, 4], Operations: ['60-56=4'] Exploring Operation: 66-4=62, Resulting Numbers: [58, 62] Generated Node #0,0,0: 63:[58, 62] Operation: 66-4=62 Exploring Operation: 58+4=62, Resulting Numbers: [66, 62] Generated Node #0,0,1: 63:[66, 62] Operation: 58+4=62 Exploring Operation: 66-58=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 63:[4, 8] Operation: 66-58=8 Exploring Operation: 66+4=70, Resulting Numbers: [58, 70] Generated Node #0,0,3: 63:[58, 70] Operation: 66+4=70 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[4, 8], Operations: ['60-56=4', '66-58=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,63 unequal: No Solution No 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: 63:[66, 62], Operations: ['60-56=4', '58+4=62'] Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,63 unequal: No Solution No 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: 63:[58, 62], Operations: ['60-56=4', '66-4=62'] Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,63 unequal: No Solution No 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: 63:[58, 70], Operations: ['60-56=4', '66+4=70'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,63 unequal: No Solution Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,63 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: 63:[56, 66, 2], Operations: ['60-58=2'] Exploring Operation: 66-2=64, Resulting Numbers: [56, 64] Generated Node #0,2,0: 63:[56, 64] Operation: 66-2=64 Exploring Operation: 56+2=58, Resulting Numbers: [66, 58] Generated Node #0,2,1: 63:[66, 58] Operation: 56+2=58 Exploring Operation: 66-56=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 63:[2, 10] Operation: 66-56=10 Exploring Operation: 56/2=28, Resulting Numbers: [66, 28] Generated Node #0,2,3: 63:[66, 28] Operation: 56/2=28 Moving to Node #0,3,1 Current State: 63:[2, 6], Operations: ['58-56=2', '66-60=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[10, 2], Operations: ['66-56=10', '60-58=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[2, 10], Operations: ['60-58=2', '66-56=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[60, 64], Operations: ['58-56=2', '66-2=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,63 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[66, 62], Operations: ['58-56=2', '60+2=62'] Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[58, 6], Operations: ['66-56=10', '60/10=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[60, 68], Operations: ['66-56=10', '58+10=68'] Exploring Operation: 60*68=4080, Resulting Numbers: [4080] 4080,63 unequal: No Solution Exploring Operation: 60+68=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[66, 58], Operations: ['60-58=2', '56+2=58'] Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 66*58=3828, Resulting Numbers: [3828] 3828,63 unequal: No Solution Exploring Operation: 66+58=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[56, 64], Operations: ['60-58=2', '66-2=64'] Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[66, 58], Operations: ['58-56=2', '60-2=58'] Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 66*58=3828, Resulting Numbers: [3828] 3828,63 unequal: No Solution Exploring Operation: 66+58=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[66, 28], Operations: ['60-58=2', '56/2=28'] Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,63 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[58, 70], Operations: ['66-56=10', '60+10=70'] Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,63 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,63 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 67, 63, 7, 12 ]
41
[ "67-63=4", "12*4=48", "48-7=41" ]
Current State: 41:[67, 63, 7, 12], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [7, 12, 4] Generated Node #2: [7, 12, 4] from Operation: 67-63=4 Current State: 41:[7, 12, 4], Operations: ['67-63=4'] Exploring Operation: 12*4=48, Resulting Numbers: [7, 48] Generated Node #3: [7, 48] from Operation: 12*4=48 Current State: 41:[7, 48], Operations: ['67-63=4', '12*4=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[67, 63, 7, 12], Operations: [] Exploring Operation: 67-12=55, Resulting Numbers: [63, 7, 55] Generated Node #0,0: 41:[63, 7, 55] Operation: 67-12=55 Exploring Operation: 67-7=60, Resulting Numbers: [63, 12, 60] Generated Node #0,1: 41:[63, 12, 60] Operation: 67-7=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[63, 7, 55], Operations: ['67-12=55'] Exploring Operation: 63-7=56, Resulting Numbers: [55, 56] Generated Node #0,0,0: 41:[55, 56] Operation: 63-7=56 Exploring Operation: 55-7=48, Resulting Numbers: [63, 48] Generated Node #0,0,1: 41:[63, 48] Operation: 55-7=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[55, 56], Operations: ['67-12=55', '63-7=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,41 unequal: No Solution No 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: 41:[63, 48], Operations: ['67-12=55', '55-7=48'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,41 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: 41:[63, 12, 60], Operations: ['67-7=60'] Exploring Operation: 63-12=51, Resulting Numbers: [60, 51] Generated Node #0,1,0: 41:[60, 51] Operation: 63-12=51 Exploring Operation: 60-12=48, Resulting Numbers: [63, 48] Generated Node #0,1,1: 41:[63, 48] Operation: 60-12=48 Moving to Node #0,1,0 Current State: 41:[60, 51], Operations: ['67-7=60', '63-12=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[63, 48], Operations: ['67-7=60', '60-12=48'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,41 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
[ 5, 52, 29, 49 ]
58
[ "52-5=47", "49-47=2", "29*2=58" ]
Current State: 58:[5, 52, 29, 49], Operations: [] Exploring Operation: 52-5=47, Resulting Numbers: [29, 49, 47] Generated Node #2: [29, 49, 47] from Operation: 52-5=47 Current State: 58:[29, 49, 47], Operations: ['52-5=47'] Exploring Operation: 49-47=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 49-47=2 Current State: 58:[29, 2], Operations: ['52-5=47', '49-47=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[5, 52, 29, 49], Operations: [] Exploring Operation: 5+52=57, Resulting Numbers: [29, 49, 57] Generated Node #0,0: 58:[29, 49, 57] Operation: 5+52=57 Exploring Operation: 52-49=3, Resulting Numbers: [5, 29, 3] Generated Node #0,1: 58:[5, 29, 3] Operation: 52-49=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[5, 29, 3], Operations: ['52-49=3'] Exploring Operation: 5+29=34, Resulting Numbers: [3, 34] Generated Node #0,1,0: 58:[3, 34] Operation: 5+29=34 Exploring Operation: 5-3=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 58:[29, 2] Operation: 5-3=2 Moving to Node #0,1,1 Current State: 58:[29, 2], Operations: ['52-49=3', '5-3=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[5, 52, 29, 49], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [5, 29, 3] Generated Node #0,1: 58:[5, 29, 3] Operation: 52-49=3 Moving to Node #0,1 Current State: 58:[5, 29, 3], Operations: ['52-49=3'] Exploring Operation: 5-3=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 58:[29, 2] Operation: 5-3=2 Moving to Node #0,1,1 Current State: 58:[29, 2], Operations: ['52-49=3', '5-3=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 98, 84, 3, 11 ]
59
[ "98-11=87", "84/3=28", "87-28=59" ]
Current State: 59:[98, 84, 3, 11], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [84, 3, 87] Generated Node #2: [84, 3, 87] from Operation: 98-11=87 Current State: 59:[84, 3, 87], Operations: ['98-11=87'] Exploring Operation: 84/3=28, Resulting Numbers: [87, 28] Generated Node #3: [87, 28] from Operation: 84/3=28 Current State: 59:[87, 28], Operations: ['98-11=87', '84/3=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[98, 84, 3, 11], Operations: [] Exploring Operation: 3*11=33, Resulting Numbers: [98, 84, 33] Generated Node #0,0: 59:[98, 84, 33] Operation: 3*11=33 Exploring Operation: 98-3=95, Resulting Numbers: [84, 11, 95] Generated Node #0,1: 59:[84, 11, 95] Operation: 98-3=95 Exploring Operation: 98-11=87, Resulting Numbers: [84, 3, 87] Generated Node #0,2: 59:[84, 3, 87] Operation: 98-11=87 Moving to Node #0,0 Current State: 59:[98, 84, 33], Operations: ['3*11=33'] Exploring Operation: 98-33=65, Resulting Numbers: [84, 65] Generated Node #0,0,0: 59:[84, 65] Operation: 98-33=65 Exploring Operation: 84-33=51, Resulting Numbers: [98, 51] Generated Node #0,0,1: 59:[98, 51] Operation: 84-33=51 Exploring Operation: 98-84=14, Resulting Numbers: [33, 14] Generated Node #0,0,2: 59:[33, 14] Operation: 98-84=14 Moving to Node #0,1 Current State: 59:[84, 11, 95], Operations: ['98-3=95'] Exploring Operation: 84+11=95, Resulting Numbers: [95, 95] Generated Node #0,1,0: 59:[95, 95] Operation: 84+11=95 Exploring Operation: 84-11=73, Resulting Numbers: [95, 73] Generated Node #0,1,1: 59:[95, 73] Operation: 84-11=73 Exploring Operation: 95-11=84, Resulting Numbers: [84, 84] Generated Node #0,1,2: 59:[84, 84] Operation: 95-11=84 Moving to Node #0,2 Current State: 59:[84, 3, 87], Operations: ['98-11=87'] Exploring Operation: 87/3=29, Resulting Numbers: [84, 29] Generated Node #0,2,0: 59:[84, 29] Operation: 87/3=29 Exploring Operation: 84-3=81, Resulting Numbers: [87, 81] Generated Node #0,2,1: 59:[87, 81] Operation: 84-3=81 Exploring Operation: 87-3=84, Resulting Numbers: [84, 84] Generated Node #0,2,2: 59:[84, 84] Operation: 87-3=84 Moving to Node #0,0,0 Current State: 59:[84, 65], Operations: ['3*11=33', '98-33=65'] Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 84*65=5460, Resulting Numbers: [5460] 5460,59 unequal: No Solution Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[98, 51], Operations: ['3*11=33', '84-33=51'] Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 98*51=4998, Resulting Numbers: [4998] 4998,59 unequal: No Solution Exploring Operation: 98+51=149, Resulting Numbers: [149] 149,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[87, 81], Operations: ['98-11=87', '84-3=81'] Exploring Operation: 87+81=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 87*81=7047, Resulting Numbers: [7047] 7047,59 unequal: No Solution Exploring Operation: 87-81=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[84, 84], Operations: ['98-11=87', '87-3=84'] Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[84, 84], Operations: ['98-3=95', '95-11=84'] Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[95, 73], Operations: ['98-3=95', '84-11=73'] Exploring Operation: 95+73=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 95*73=6935, Resulting Numbers: [6935] 6935,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[84, 29], Operations: ['98-11=87', '87/3=29'] Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,59 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[33, 14], Operations: ['3*11=33', '98-84=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,59 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[95, 95], Operations: ['98-3=95', '84+11=95'] Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 12, 22, 29 ]
25
[ "88-12=76", "22+29=51", "76-51=25" ]
Current State: 25:[88, 12, 22, 29], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [22, 29, 76] Generated Node #2: [22, 29, 76] from Operation: 88-12=76 Current State: 25:[22, 29, 76], Operations: ['88-12=76'] Exploring Operation: 22+29=51, Resulting Numbers: [76, 51] Generated Node #3: [76, 51] from Operation: 22+29=51 Current State: 25:[76, 51], Operations: ['88-12=76', '22+29=51'] Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[88, 12, 22, 29], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [12, 22, 59] Generated Node #0,0: 25:[12, 22, 59] Operation: 88-29=59 Exploring Operation: 88-22=66, Resulting Numbers: [12, 29, 66] Generated Node #0,1: 25:[12, 29, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [12, 29, 4] Generated Node #0,2: 25:[12, 29, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[12, 29, 4], Operations: ['88/22=4'] Exploring Operation: 12-4=8, Resulting Numbers: [29, 8] Generated Node #0,2,0: 25:[29, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [29, 3] Generated Node #0,2,1: 25:[29, 3] Operation: 12/4=3 Exploring Operation: 29-4=25, Resulting Numbers: [12, 25] Generated Node #0,2,2: 25:[12, 25] Operation: 29-4=25 Moving to Node #0,2,1 Current State: 25:[29, 3], Operations: ['88/22=4', '12/4=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[29, 8], Operations: ['88/22=4', '12-4=8'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[12, 25], Operations: ['88/22=4', '29-4=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,25 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,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 Current State: 25:[12, 22, 59], Operations: ['88-29=59'] Exploring Operation: 59-12=47, Resulting Numbers: [22, 47] Generated Node #0,0,0: 25:[22, 47] Operation: 59-12=47 Exploring Operation: 22-12=10, Resulting Numbers: [59, 10] Generated Node #0,0,1: 25:[59, 10] Operation: 22-12=10 Exploring Operation: 59-22=37, Resulting Numbers: [12, 37] Generated Node #0,0,2: 25:[12, 37] Operation: 59-22=37 Moving to Node #0,0,2 Current State: 25:[12, 37], Operations: ['88-29=59', '59-22=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,25 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[88, 12, 22, 29], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [12, 22, 59] Generated Node #0,0: 25:[12, 22, 59] Operation: 88-29=59 Moving to Node #0,0 Current State: 25:[12, 22, 59], Operations: ['88-29=59'] Exploring Operation: 59-22=37, Resulting Numbers: [12, 37] Generated Node #0,0,2: 25:[12, 37] Operation: 59-22=37 Moving to Node #0,0,2 Current State: 25:[12, 37], Operations: ['88-29=59', '59-22=37'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 80, 68, 76, 27 ]
37
[ "80-68=12", "76-27=49", "49-12=37" ]
Current State: 37:[80, 68, 76, 27], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [76, 27, 12] Generated Node #2: [76, 27, 12] from Operation: 80-68=12 Current State: 37:[76, 27, 12], Operations: ['80-68=12'] Exploring Operation: 76-27=49, Resulting Numbers: [12, 49] Generated Node #3: [12, 49] from Operation: 76-27=49 Current State: 37:[12, 49], Operations: ['80-68=12', '76-27=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[80, 68, 76, 27], Operations: [] Exploring Operation: 80-27=53, Resulting Numbers: [68, 76, 53] Generated Node #0,0: 37:[68, 76, 53] Operation: 80-27=53 Exploring Operation: 76-68=8, Resulting Numbers: [80, 27, 8] Generated Node #0,1: 37:[80, 27, 8] Operation: 76-68=8 Exploring Operation: 68-27=41, Resulting Numbers: [80, 76, 41] Generated Node #0,2: 37:[80, 76, 41] Operation: 68-27=41 Exploring Operation: 80-68=12, Resulting Numbers: [76, 27, 12] Generated Node #0,3: 37:[76, 27, 12] Operation: 80-68=12 Exploring Operation: 80-76=4, Resulting Numbers: [68, 27, 4] Generated Node #0,4: 37:[68, 27, 4] Operation: 80-76=4 Moving to Node #0,3 Current State: 37:[76, 27, 12], Operations: ['80-68=12'] Exploring Operation: 76-27=49, Resulting Numbers: [12, 49] Generated Node #0,3,0: 37:[12, 49] Operation: 76-27=49 Exploring Operation: 76-12=64, Resulting Numbers: [27, 64] Generated Node #0,3,1: 37:[27, 64] Operation: 76-12=64 Exploring Operation: 27+12=39, Resulting Numbers: [76, 39] Generated Node #0,3,2: 37:[76, 39] Operation: 27+12=39 Exploring Operation: 27-12=15, Resulting Numbers: [76, 15] Generated Node #0,3,3: 37:[76, 15] Operation: 27-12=15 Exploring Operation: 76+12=88, Resulting Numbers: [27, 88] Generated Node #0,3,4: 37:[27, 88] Operation: 76+12=88 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[12, 49], Operations: ['80-68=12', '76-27=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,37 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[80, 68, 76, 27], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [76, 27, 12] Generated Node #0,3: 37:[76, 27, 12] Operation: 80-68=12 Moving to Node #0,3 Current State: 37:[76, 27, 12], Operations: ['80-68=12'] Exploring Operation: 76-27=49, Resulting Numbers: [12, 49] Generated Node #0,3,0: 37:[12, 49] Operation: 76-27=49 Moving to Node #0,3,0 Current State: 37:[12, 49], Operations: ['80-68=12', '76-27=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 43, 93, 30, 80 ]
60
[ "93-43=50", "30+80=110", "110-50=60" ]
Current State: 60:[43, 93, 30, 80], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [30, 80, 50] Generated Node #2: [30, 80, 50] from Operation: 93-43=50 Current State: 60:[30, 80, 50], Operations: ['93-43=50'] Exploring Operation: 30+80=110, Resulting Numbers: [50, 110] Generated Node #3: [50, 110] from Operation: 30+80=110 Current State: 60:[50, 110], Operations: ['93-43=50', '30+80=110'] Exploring Operation: 110-50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[43, 93, 30, 80], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [30, 80, 50] Generated Node #0,0: 60:[30, 80, 50] Operation: 93-43=50 Exploring Operation: 93-80=13, Resulting Numbers: [43, 30, 13] Generated Node #0,1: 60:[43, 30, 13] Operation: 93-80=13 Moving to Node #0,1 Current State: 60:[43, 30, 13], Operations: ['93-80=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30, 30] Generated Node #0,1,0: 60:[30, 30] Operation: 43-13=30 Exploring Operation: 43-30=13, Resulting Numbers: [13, 13] Generated Node #0,1,1: 60:[13, 13] Operation: 43-30=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[30, 30], Operations: ['93-80=13', '43-13=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[43, 93, 30, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [43, 30, 13] Generated Node #0,1: 60:[43, 30, 13] Operation: 93-80=13 Moving to Node #0,1 Current State: 60:[43, 30, 13], Operations: ['93-80=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30, 30] Generated Node #0,1,0: 60:[30, 30] Operation: 43-13=30 Moving to Node #0,1,0 Current State: 60:[30, 30], Operations: ['93-80=13', '43-13=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 10, 90, 80, 15 ]
86
[ "90/10=9", "80+15=95", "95-9=86" ]
Current State: 86:[10, 90, 80, 15], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [80, 15, 9] Generated Node #2: [80, 15, 9] from Operation: 90/10=9 Current State: 86:[80, 15, 9], Operations: ['90/10=9'] Exploring Operation: 80+15=95, Resulting Numbers: [9, 95] Generated Node #3: [9, 95] from Operation: 80+15=95 Current State: 86:[9, 95], Operations: ['90/10=9', '80+15=95'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[10, 90, 80, 15], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [90, 80, 5] Generated Node #0,0: 86:[90, 80, 5] Operation: 15-10=5 Exploring Operation: 80+15=95, Resulting Numbers: [10, 90, 95] Generated Node #0,1: 86:[10, 90, 95] Operation: 80+15=95 Exploring Operation: 90/15=6, Resulting Numbers: [10, 80, 6] Generated Node #0,2: 86:[10, 80, 6] Operation: 90/15=6 Exploring Operation: 10+80=90, Resulting Numbers: [90, 15, 90] Generated Node #0,3: 86:[90, 15, 90] Operation: 10+80=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[90, 80, 5], Operations: ['15-10=5'] Exploring Operation: 90-5=85, Resulting Numbers: [80, 85] Generated Node #0,0,0: 86:[80, 85] Operation: 90-5=85 Exploring Operation: 90+5=95, Resulting Numbers: [80, 95] Generated Node #0,0,1: 86:[80, 95] Operation: 90+5=95 Exploring Operation: 90-80=10, Resulting Numbers: [5, 10] Generated Node #0,0,2: 86:[5, 10] Operation: 90-80=10 Exploring Operation: 80+5=85, Resulting Numbers: [90, 85] Generated Node #0,0,3: 86:[90, 85] Operation: 80+5=85 Moving to Node #0,0,3 Current State: 86:[90, 85], Operations: ['15-10=5', '80+5=85'] Exploring Operation: 90*85=7650, Resulting Numbers: [7650] 7650,86 unequal: No Solution Exploring Operation: 90+85=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[80, 85], Operations: ['15-10=5', '90-5=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,86 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,86 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[5, 10], Operations: ['15-10=5', '90-80=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[80, 95], Operations: ['15-10=5', '90+5=95'] Exploring Operation: 80+95=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 80*95=7600, Resulting Numbers: [7600] 7600,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[10, 80, 6], Operations: ['90/15=6'] Exploring Operation: 80+6=86, Resulting Numbers: [10, 86] Generated Node #0,2,0: 86:[10, 86] Operation: 80+6=86 Exploring Operation: 80/10=8, Resulting Numbers: [6, 8] Generated Node #0,2,1: 86:[6, 8] Operation: 80/10=8 Exploring Operation: 10+80=90, Resulting Numbers: [6, 90] Generated Node #0,2,2: 86:[6, 90] Operation: 10+80=90 Exploring Operation: 10-6=4, Resulting Numbers: [80, 4] Generated Node #0,2,3: 86:[80, 4] Operation: 10-6=4 Moving to Node #0,2,0 Current State: 86:[10, 86], Operations: ['90/15=6', '80+6=86'] Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,86 unequal: No Solution Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[80, 4], Operations: ['90/15=6', '10-6=4'] Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,86 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[6, 90], Operations: ['90/15=6', '10+80=90'] Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 6*90=540, Resulting Numbers: [540] 540,86 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[6, 8], Operations: ['90/15=6', '80/10=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[10, 90, 95], Operations: ['80+15=95'] Exploring Operation: 90-10=80, Resulting Numbers: [95, 80] Generated Node #0,1,0: 86:[95, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [95, 9] Generated Node #0,1,1: 86:[95, 9] Operation: 90/10=9 Exploring Operation: 95-90=5, Resulting Numbers: [10, 5] Generated Node #0,1,2: 86:[10, 5] Operation: 95-90=5 Exploring Operation: 95-10=85, Resulting Numbers: [90, 85] Generated Node #0,1,3: 86:[90, 85] Operation: 95-10=85 Moving to Node #0,1,3 Current State: 86:[90, 85], Operations: ['80+15=95', '95-10=85'] Exploring Operation: 90+85=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 90*85=7650, Resulting Numbers: [7650] 7650,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[10, 5], Operations: ['80+15=95', '95-90=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[95, 80], Operations: ['80+15=95', '90-10=80'] Exploring Operation: 95+80=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 95*80=7600, Resulting Numbers: [7600] 7600,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[95, 9], Operations: ['80+15=95', '90/10=9'] Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[10, 90, 80, 15], Operations: [] Exploring Operation: 80+15=95, Resulting Numbers: [10, 90, 95] Generated Node #0,1: 86:[10, 90, 95] Operation: 80+15=95 Moving to Node #0,1 Current State: 86:[10, 90, 95], Operations: ['80+15=95'] Exploring Operation: 90/10=9, Resulting Numbers: [95, 9] Generated Node #0,1,1: 86:[95, 9] Operation: 90/10=9 Moving to Node #0,1,1 Current State: 86:[95, 9], Operations: ['80+15=95', '90/10=9'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_4
sum_heuristic
[ 48, 22, 30, 66 ]
81
[ "48+30=78", "66/22=3", "78+3=81" ]
Current State: 81:[48, 22, 30, 66], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [22, 66, 78] Generated Node #2: [22, 66, 78] from Operation: 48+30=78 Current State: 81:[22, 66, 78], Operations: ['48+30=78'] Exploring Operation: 66/22=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 66/22=3 Current State: 81:[78, 3], Operations: ['48+30=78', '66/22=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[48, 22, 30, 66], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [22, 66, 78] Generated Node #0,0: 81:[22, 66, 78] Operation: 48+30=78 Exploring Operation: 66/22=3, Resulting Numbers: [48, 30, 3] Generated Node #0,1: 81:[48, 30, 3] Operation: 66/22=3 Exploring Operation: 48-22=26, Resulting Numbers: [30, 66, 26] Generated Node #0,2: 81:[30, 66, 26] Operation: 48-22=26 Exploring Operation: 66-48=18, Resulting Numbers: [22, 30, 18] Generated Node #0,3: 81:[22, 30, 18] Operation: 66-48=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[22, 30, 18], Operations: ['66-48=18'] Exploring Operation: 22-18=4, Resulting Numbers: [30, 4] Generated Node #0,3,0: 81:[30, 4] Operation: 22-18=4 Exploring Operation: 30-18=12, Resulting Numbers: [22, 12] Generated Node #0,3,1: 81:[22, 12] Operation: 30-18=12 Exploring Operation: 30-22=8, Resulting Numbers: [18, 8] Generated Node #0,3,2: 81:[18, 8] Operation: 30-22=8 Exploring Operation: 22+18=40, Resulting Numbers: [30, 40] Generated Node #0,3,3: 81:[30, 40] Operation: 22+18=40 Moving to Node #0,3,0 Current State: 81:[30, 4], Operations: ['66-48=18', '22-18=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[22, 12], Operations: ['66-48=18', '30-18=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,81 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[18, 8], Operations: ['66-48=18', '30-22=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[30, 40], Operations: ['66-48=18', '22+18=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,81 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,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,2 Current State: 81:[30, 66, 26], Operations: ['48-22=26'] Exploring Operation: 66+26=92, Resulting Numbers: [30, 92] Generated Node #0,2,0: 81:[30, 92] Operation: 66+26=92 Exploring Operation: 30-26=4, Resulting Numbers: [66, 4] Generated Node #0,2,1: 81:[66, 4] Operation: 30-26=4 Exploring Operation: 30+66=96, Resulting Numbers: [26, 96] Generated Node #0,2,2: 81:[26, 96] Operation: 30+66=96 Exploring Operation: 66-30=36, Resulting Numbers: [26, 36] Generated Node #0,2,3: 81:[26, 36] Operation: 66-30=36 Moving to Node #0,2,3 Current State: 81:[26, 36], Operations: ['48-22=26', '66-30=36'] Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,81 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,81 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[30, 92], Operations: ['48-22=26', '66+26=92'] Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,81 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[26, 96], Operations: ['48-22=26', '30+66=96'] Exploring Operation: 26*96=2496, Resulting Numbers: [2496] 2496,81 unequal: No Solution Exploring Operation: 26+96=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[66, 4], Operations: ['48-22=26', '30-26=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,81 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[22, 66, 78], Operations: ['48+30=78'] Exploring Operation: 66/22=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 81:[78, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [78, 44] Generated Node #0,0,1: 81:[78, 44] Operation: 66-22=44 Exploring Operation: 22+66=88, Resulting Numbers: [78, 88] Generated Node #0,0,2: 81:[78, 88] Operation: 22+66=88 Exploring Operation: 78-66=12, Resulting Numbers: [22, 12] Generated Node #0,0,3: 81:[22, 12] Operation: 78-66=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[78, 3], Operations: ['48+30=78', '66/22=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[48, 22, 30, 66], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [22, 66, 78] Generated Node #0,0: 81:[22, 66, 78] Operation: 48+30=78 Moving to Node #0,0 Current State: 81:[22, 66, 78], Operations: ['48+30=78'] Exploring Operation: 66/22=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 81:[78, 3] Operation: 66/22=3 Moving to Node #0,0,0 Current State: 81:[78, 3], Operations: ['48+30=78', '66/22=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_4
sum_heuristic
[ 68, 16, 14, 83 ]
89
[ "68+16=84", "84/14=6", "83+6=89" ]
Current State: 89:[68, 16, 14, 83], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [14, 83, 84] Generated Node #2: [14, 83, 84] from Operation: 68+16=84 Current State: 89:[14, 83, 84], Operations: ['68+16=84'] Exploring Operation: 84/14=6, Resulting Numbers: [83, 6] Generated Node #3: [83, 6] from Operation: 84/14=6 Current State: 89:[83, 6], Operations: ['68+16=84', '84/14=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[68, 16, 14, 83], Operations: [] Exploring Operation: 68+14=82, Resulting Numbers: [16, 83, 82] Generated Node #0,0: 89:[16, 83, 82] Operation: 68+14=82 Exploring Operation: 68+16=84, Resulting Numbers: [14, 83, 84] Generated Node #0,1: 89:[14, 83, 84] Operation: 68+16=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[16, 83, 82], Operations: ['68+14=82'] Exploring Operation: 16+83=99, Resulting Numbers: [82, 99] Generated Node #0,0,0: 89:[82, 99] Operation: 16+83=99 Exploring Operation: 16+82=98, Resulting Numbers: [83, 98] Generated Node #0,0,1: 89:[83, 98] Operation: 16+82=98 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[83, 98], Operations: ['68+14=82', '16+82=98'] Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 83+98=181, Resulting Numbers: [181] 181,89 unequal: No Solution No 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: 89:[82, 99], Operations: ['68+14=82', '16+83=99'] Exploring Operation: 82+99=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,89 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: 89:[14, 83, 84], Operations: ['68+16=84'] Exploring Operation: 14+83=97, Resulting Numbers: [84, 97] Generated Node #0,1,0: 89:[84, 97] Operation: 14+83=97 Exploring Operation: 14+84=98, Resulting Numbers: [83, 98] Generated Node #0,1,1: 89:[83, 98] Operation: 14+84=98 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[84, 97], Operations: ['68+16=84', '14+83=97'] Exploring Operation: 84+97=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,89 unequal: No Solution No 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: 89:[83, 98], Operations: ['68+16=84', '14+84=98'] Exploring Operation: 83+98=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,89 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
[ 79, 4, 53, 10 ]
64
[ "79-53=26", "26-10=16", "4*16=64" ]
Current State: 64:[79, 4, 53, 10], Operations: [] Exploring Operation: 79-53=26, Resulting Numbers: [4, 10, 26] Generated Node #2: [4, 10, 26] from Operation: 79-53=26 Current State: 64:[4, 10, 26], Operations: ['79-53=26'] Exploring Operation: 26-10=16, Resulting Numbers: [4, 16] Generated Node #3: [4, 16] from Operation: 26-10=16 Current State: 64:[4, 16], Operations: ['79-53=26', '26-10=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[79, 4, 53, 10], Operations: [] Exploring Operation: 79-53=26, Resulting Numbers: [4, 10, 26] Generated Node #0,0: 64:[4, 10, 26] Operation: 79-53=26 Moving to Node #0,0 Current State: 64:[4, 10, 26], Operations: ['79-53=26'] Exploring Operation: 26-10=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 64:[4, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[4, 16], Operations: ['79-53=26', '26-10=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[79, 4, 53, 10], Operations: [] Exploring Operation: 79-53=26, Resulting Numbers: [4, 10, 26] Generated Node #0,0: 64:[4, 10, 26] Operation: 79-53=26 Moving to Node #0,0 Current State: 64:[4, 10, 26], Operations: ['79-53=26'] Exploring Operation: 26-10=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 64:[4, 16] Operation: 26-10=16 Moving to Node #0,0,0 Current State: 64:[4, 16], Operations: ['79-53=26', '26-10=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 47, 55, 5 ]
28
[ "41+47=88", "55+5=60", "88-60=28" ]
Current State: 28:[41, 47, 55, 5], Operations: [] Exploring Operation: 41+47=88, Resulting Numbers: [55, 5, 88] Generated Node #2: [55, 5, 88] from Operation: 41+47=88 Current State: 28:[55, 5, 88], Operations: ['41+47=88'] Exploring Operation: 55+5=60, Resulting Numbers: [88, 60] Generated Node #3: [88, 60] from Operation: 55+5=60 Current State: 28:[88, 60], Operations: ['41+47=88', '55+5=60'] Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[41, 47, 55, 5], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [55, 5, 6] Generated Node #0,0: 28:[55, 5, 6] Operation: 47-41=6 Exploring Operation: 55/5=11, Resulting Numbers: [41, 47, 11] Generated Node #0,1: 28:[41, 47, 11] Operation: 55/5=11 Exploring Operation: 55-41=14, Resulting Numbers: [47, 5, 14] Generated Node #0,2: 28:[47, 5, 14] Operation: 55-41=14 Exploring Operation: 55-47=8, Resulting Numbers: [41, 5, 8] Generated Node #0,3: 28:[41, 5, 8] Operation: 55-47=8 Moving to Node #0,3 Current State: 28:[41, 5, 8], Operations: ['55-47=8'] Exploring Operation: 5+8=13, Resulting Numbers: [41, 13] Generated Node #0,3,0: 28:[41, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [41, 3] Generated Node #0,3,1: 28:[41, 3] Operation: 8-5=3 Exploring Operation: 41-5=36, Resulting Numbers: [8, 36] Generated Node #0,3,2: 28:[8, 36] Operation: 41-5=36 Exploring Operation: 41-8=33, Resulting Numbers: [5, 33] Generated Node #0,3,3: 28:[5, 33] Operation: 41-8=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[5, 33], Operations: ['55-47=8', '41-8=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[41, 47, 55, 5], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [41, 5, 8] Generated Node #0,3: 28:[41, 5, 8] Operation: 55-47=8 Moving to Node #0,3 Current State: 28:[41, 5, 8], Operations: ['55-47=8'] Exploring Operation: 41-8=33, Resulting Numbers: [5, 33] Generated Node #0,3,3: 28:[5, 33] Operation: 41-8=33 Moving to Node #0,3,3 Current State: 28:[5, 33], Operations: ['55-47=8', '41-8=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 47, 5, 2, 7 ]
38
[ "47+5=52", "2*7=14", "52-14=38" ]
Current State: 38:[47, 5, 2, 7], Operations: [] Exploring Operation: 47+5=52, Resulting Numbers: [2, 7, 52] Generated Node #2: [2, 7, 52] from Operation: 47+5=52 Current State: 38:[2, 7, 52], Operations: ['47+5=52'] Exploring Operation: 2*7=14, Resulting Numbers: [52, 14] Generated Node #3: [52, 14] from Operation: 2*7=14 Current State: 38:[52, 14], Operations: ['47+5=52', '2*7=14'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[47, 5, 2, 7], Operations: [] Exploring Operation: 47-7=40, Resulting Numbers: [5, 2, 40] Generated Node #0,0: 38:[5, 2, 40] Operation: 47-7=40 Exploring Operation: 47-5=42, Resulting Numbers: [2, 7, 42] Generated Node #0,1: 38:[2, 7, 42] Operation: 47-5=42 Exploring Operation: 5*7=35, Resulting Numbers: [47, 2, 35] Generated Node #0,2: 38:[47, 2, 35] Operation: 5*7=35 Exploring Operation: 7-5=2, Resulting Numbers: [47, 2, 2] Generated Node #0,3: 38:[47, 2, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[5, 2, 40], Operations: ['47-7=40'] Exploring Operation: 40/2=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 38:[5, 20] Operation: 40/2=20 Exploring Operation: 40-5=35, Resulting Numbers: [2, 35] Generated Node #0,0,1: 38:[2, 35] Operation: 40-5=35 Exploring Operation: 5-2=3, Resulting Numbers: [40, 3] Generated Node #0,0,2: 38:[40, 3] Operation: 5-2=3 Exploring Operation: 40-2=38, Resulting Numbers: [5, 38] Generated Node #0,0,3: 38:[5, 38] Operation: 40-2=38 Moving to Node #0,0,1 Current State: 38:[2, 35], Operations: ['47-7=40', '40-5=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[5, 38], Operations: ['47-7=40', '40-2=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,38 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[40, 3], Operations: ['47-7=40', '5-2=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,38 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[5, 20], Operations: ['47-7=40', '40/2=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,38 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,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,1 Current State: 38:[2, 7, 42], Operations: ['47-5=42'] Exploring Operation: 7-2=5, Resulting Numbers: [42, 5] Generated Node #0,1,0: 38:[42, 5] Operation: 7-2=5 Exploring Operation: 42/7=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 38:[2, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [2, 35] Generated Node #0,1,2: 38:[2, 35] Operation: 42-7=35 Exploring Operation: 42-2=40, Resulting Numbers: [7, 40] Generated Node #0,1,3: 38:[7, 40] Operation: 42-2=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[2, 35], Operations: ['47-5=42', '42-7=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[2, 6], Operations: ['47-5=42', '42/7=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[42, 5], Operations: ['47-5=42', '7-2=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,38 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[7, 40], Operations: ['47-5=42', '42-2=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,38 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[47, 2, 2], Operations: ['7-5=2'] Exploring Operation: 47-2=45, Resulting Numbers: [2, 45] Generated Node #0,3,0: 38:[2, 45] Operation: 47-2=45 Exploring Operation: 47+2=49, Resulting Numbers: [2, 49] Generated Node #0,3,1: 38:[2, 49] Operation: 47+2=49 Exploring Operation: 2/2=1, Resulting Numbers: [47, 1] Generated Node #0,3,2: 38:[47, 1] Operation: 2/2=1 Exploring Operation: 47-2=45, Resulting Numbers: [2, 45] Generated Node #0,3,3: 38:[2, 45] Operation: 47-2=45 Moving to Node #0,3,0 Current State: 38:[2, 45], Operations: ['7-5=2', '47-2=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[2, 45], Operations: ['7-5=2', '47-2=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[47, 1], Operations: ['7-5=2', '2/2=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[2, 49], Operations: ['7-5=2', '47+2=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,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:[47, 2, 35], Operations: ['5*7=35'] Exploring Operation: 47-35=12, Resulting Numbers: [2, 12] Generated Node #0,2,0: 38:[2, 12] Operation: 47-35=12 Exploring Operation: 47+2=49, Resulting Numbers: [35, 49] Generated Node #0,2,1: 38:[35, 49] Operation: 47+2=49 Exploring Operation: 2+35=37, Resulting Numbers: [47, 37] Generated Node #0,2,2: 38:[47, 37] Operation: 2+35=37 Exploring Operation: 47-2=45, Resulting Numbers: [35, 45] Generated Node #0,2,3: 38:[35, 45] Operation: 47-2=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[2, 12], Operations: ['5*7=35', '47-35=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[47, 37], Operations: ['5*7=35', '2+35=37'] Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,38 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[35, 45], Operations: ['5*7=35', '47-2=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,38 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[35, 49], Operations: ['5*7=35', '47+2=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 81, 32, 31, 51 ]
33
[ "81-32=49", "31+51=82", "82-49=33" ]
Current State: 33:[81, 32, 31, 51], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [31, 51, 49] Generated Node #2: [31, 51, 49] from Operation: 81-32=49 Current State: 33:[31, 51, 49], Operations: ['81-32=49'] Exploring Operation: 31+51=82, Resulting Numbers: [49, 82] Generated Node #3: [49, 82] from Operation: 31+51=82 Current State: 33:[49, 82], Operations: ['81-32=49', '31+51=82'] Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[81, 32, 31, 51], Operations: [] Exploring Operation: 51-32=19, Resulting Numbers: [81, 31, 19] Generated Node #0,0: 33:[81, 31, 19] Operation: 51-32=19 Exploring Operation: 81-31=50, Resulting Numbers: [32, 51, 50] Generated Node #0,1: 33:[32, 51, 50] Operation: 81-31=50 Exploring Operation: 81-32=49, Resulting Numbers: [31, 51, 49] Generated Node #0,2: 33:[31, 51, 49] Operation: 81-32=49 Exploring Operation: 81-51=30, Resulting Numbers: [32, 31, 30] Generated Node #0,3: 33:[32, 31, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[32, 31, 30], Operations: ['81-51=30'] Exploring Operation: 31-30=1, Resulting Numbers: [32, 1] Generated Node #0,3,0: 33:[32, 1] Operation: 31-30=1 Exploring Operation: 32-31=1, Resulting Numbers: [30, 1] Generated Node #0,3,1: 33:[30, 1] Operation: 32-31=1 Exploring Operation: 31+30=61, Resulting Numbers: [32, 61] Generated Node #0,3,2: 33:[32, 61] Operation: 31+30=61 Exploring Operation: 32-30=2, Resulting Numbers: [31, 2] Generated Node #0,3,3: 33:[31, 2] Operation: 32-30=2 Moving to Node #0,3,0 Current State: 33:[32, 1], Operations: ['81-51=30', '31-30=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[81, 32, 31, 51], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [32, 31, 30] Generated Node #0,3: 33:[32, 31, 30] Operation: 81-51=30 Moving to Node #0,3 Current State: 33:[32, 31, 30], Operations: ['81-51=30'] Exploring Operation: 31-30=1, Resulting Numbers: [32, 1] Generated Node #0,3,0: 33:[32, 1] Operation: 31-30=1 Moving to Node #0,3,0 Current State: 33:[32, 1], Operations: ['81-51=30', '31-30=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 29, 60, 43, 45 ]
59
[ "45-43=2", "60/2=30", "29+30=59" ]
Current State: 59:[29, 60, 43, 45], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [29, 60, 2] Generated Node #2: [29, 60, 2] from Operation: 45-43=2 Current State: 59:[29, 60, 2], Operations: ['45-43=2'] Exploring Operation: 60/2=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 60/2=30 Current State: 59:[29, 30], Operations: ['45-43=2', '60/2=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 60, 43, 45], Operations: [] Exploring Operation: 29+43=72, Resulting Numbers: [60, 45, 72] Generated Node #0,0: 59:[60, 45, 72] Operation: 29+43=72 Exploring Operation: 29+45=74, Resulting Numbers: [60, 43, 74] Generated Node #0,1: 59:[60, 43, 74] Operation: 29+45=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[60, 45, 72], Operations: ['29+43=72'] Exploring Operation: 60-45=15, Resulting Numbers: [72, 15] Generated Node #0,0,0: 59:[72, 15] Operation: 60-45=15 Exploring Operation: 72-45=27, Resulting Numbers: [60, 27] Generated Node #0,0,1: 59:[60, 27] Operation: 72-45=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[60, 27], Operations: ['29+43=72', '72-45=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,59 unequal: No Solution No 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: 59:[72, 15], Operations: ['29+43=72', '60-45=15'] Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,59 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,59 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: 59:[60, 43, 74], Operations: ['29+45=74'] Exploring Operation: 60-43=17, Resulting Numbers: [74, 17] Generated Node #0,1,0: 59:[74, 17] Operation: 60-43=17 Exploring Operation: 74-43=31, Resulting Numbers: [60, 31] Generated Node #0,1,1: 59:[60, 31] Operation: 74-43=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[60, 31], Operations: ['29+45=74', '74-43=31'] Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,59 unequal: No Solution No 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: 59:[74, 17], Operations: ['29+45=74', '60-43=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,59 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
[ 62, 16, 73, 84 ]
57
[ "62-16=46", "84-73=11", "46+11=57" ]
Current State: 57:[62, 16, 73, 84], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [73, 84, 46] Generated Node #2: [73, 84, 46] from Operation: 62-16=46 Current State: 57:[73, 84, 46], Operations: ['62-16=46'] Exploring Operation: 84-73=11, Resulting Numbers: [46, 11] Generated Node #3: [46, 11] from Operation: 84-73=11 Current State: 57:[46, 11], Operations: ['62-16=46', '84-73=11'] Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[62, 16, 73, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [62, 16, 11] Generated Node #0,0: 57:[62, 16, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 57:[62, 16, 11], Operations: ['84-73=11'] Exploring Operation: 16-11=5, Resulting Numbers: [62, 5] Generated Node #0,0,0: 57:[62, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[62, 5], Operations: ['84-73=11', '16-11=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[62, 16, 73, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [62, 16, 11] Generated Node #0,0: 57:[62, 16, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 57:[62, 16, 11], Operations: ['84-73=11'] Exploring Operation: 16-11=5, Resulting Numbers: [62, 5] Generated Node #0,0,0: 57:[62, 5] Operation: 16-11=5 Moving to Node #0,0,0 Current State: 57:[62, 5], Operations: ['84-73=11', '16-11=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 6, 12, 67, 48 ]
47
[ "48/6=8", "67-12=55", "55-8=47" ]
Current State: 47:[6, 12, 67, 48], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [12, 67, 8] Generated Node #2: [12, 67, 8] from Operation: 48/6=8 Current State: 47:[12, 67, 8], Operations: ['48/6=8'] Exploring Operation: 67-12=55, Resulting Numbers: [8, 55] Generated Node #3: [8, 55] from Operation: 67-12=55 Current State: 47:[8, 55], Operations: ['48/6=8', '67-12=55'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[6, 12, 67, 48], Operations: [] Exploring Operation: 67-6=61, Resulting Numbers: [12, 48, 61] Generated Node #0,0: 47:[12, 48, 61] Operation: 67-6=61 Exploring Operation: 67-12=55, Resulting Numbers: [6, 48, 55] Generated Node #0,1: 47:[6, 48, 55] Operation: 67-12=55 Exploring Operation: 6*12=72, Resulting Numbers: [67, 48, 72] Generated Node #0,2: 47:[67, 48, 72] Operation: 6*12=72 Exploring Operation: 6+12=18, Resulting Numbers: [67, 48, 18] Generated Node #0,3: 47:[67, 48, 18] Operation: 6+12=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[67, 48, 72], Operations: ['6*12=72'] Exploring Operation: 67+48=115, Resulting Numbers: [72, 115] Generated Node #0,2,0: 47:[72, 115] Operation: 67+48=115 Exploring Operation: 72-48=24, Resulting Numbers: [67, 24] Generated Node #0,2,1: 47:[67, 24] Operation: 72-48=24 Exploring Operation: 67-48=19, Resulting Numbers: [72, 19] Generated Node #0,2,2: 47:[72, 19] Operation: 67-48=19 Exploring Operation: 72-67=5, Resulting Numbers: [48, 5] Generated Node #0,2,3: 47:[48, 5] Operation: 72-67=5 Moving to Node #0,2,1 Current State: 47:[67, 24], Operations: ['6*12=72', '72-48=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[48, 5], Operations: ['6*12=72', '72-67=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[72, 19], Operations: ['6*12=72', '67-48=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,47 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[72, 115], Operations: ['6*12=72', '67+48=115'] Exploring Operation: 115-72=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 72+115=187, Resulting Numbers: [187] 187,47 unequal: No Solution Exploring Operation: 72*115=8280, Resulting Numbers: [8280] 8280,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,0 Current State: 47:[12, 48, 61], Operations: ['67-6=61'] Exploring Operation: 61-12=49, Resulting Numbers: [48, 49] Generated Node #0,0,0: 47:[48, 49] Operation: 61-12=49 Exploring Operation: 12+61=73, Resulting Numbers: [48, 73] Generated Node #0,0,1: 47:[48, 73] Operation: 12+61=73 Exploring Operation: 48-12=36, Resulting Numbers: [61, 36] Generated Node #0,0,2: 47:[61, 36] Operation: 48-12=36 Exploring Operation: 12+48=60, Resulting Numbers: [61, 60] Generated Node #0,0,3: 47:[61, 60] Operation: 12+48=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[48, 49], Operations: ['67-6=61', '61-12=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,47 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[61, 36], Operations: ['67-6=61', '48-12=36'] Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,47 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[48, 73], Operations: ['67-6=61', '12+61=73'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[61, 60], Operations: ['67-6=61', '12+48=60'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,47 unequal: No Solution Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[6, 48, 55], Operations: ['67-12=55'] Exploring Operation: 48-6=42, Resulting Numbers: [55, 42] Generated Node #0,1,0: 47:[55, 42] Operation: 48-6=42 Exploring Operation: 6+48=54, Resulting Numbers: [55, 54] Generated Node #0,1,1: 47:[55, 54] Operation: 6+48=54 Exploring Operation: 6+55=61, Resulting Numbers: [48, 61] Generated Node #0,1,2: 47:[48, 61] Operation: 6+55=61 Exploring Operation: 55-6=49, Resulting Numbers: [48, 49] Generated Node #0,1,3: 47:[48, 49] Operation: 55-6=49 Moving to Node #0,1,3 Current State: 47:[48, 49], Operations: ['67-12=55', '55-6=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[55, 42], Operations: ['67-12=55', '48-6=42'] Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,47 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[48, 61], Operations: ['67-12=55', '6+55=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,47 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[55, 54], Operations: ['67-12=55', '6+48=54'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 55*54=2970, Resulting Numbers: [2970] 2970,47 unequal: No Solution Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[67, 48, 18], Operations: ['6+12=18'] Exploring Operation: 48-18=30, Resulting Numbers: [67, 30] Generated Node #0,3,0: 47:[67, 30] Operation: 48-18=30 Exploring Operation: 67-18=49, Resulting Numbers: [48, 49] Generated Node #0,3,1: 47:[48, 49] Operation: 67-18=49 Exploring Operation: 67+18=85, Resulting Numbers: [48, 85] Generated Node #0,3,2: 47:[48, 85] Operation: 67+18=85 Exploring Operation: 48+18=66, Resulting Numbers: [67, 66] Generated Node #0,3,3: 47:[67, 66] Operation: 48+18=66 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[48, 49], Operations: ['6+12=18', '67-18=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,47 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[67, 30], Operations: ['6+12=18', '48-18=30'] Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,47 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[48, 85], Operations: ['6+12=18', '67+18=85'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,47 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[67, 66], Operations: ['6+12=18', '48+18=66'] Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,47 unequal: No Solution Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,47 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 62, 30, 18, 84 ]
40
[ "62*18=1116", "84+1116=1200", "1200/30=40" ]
Current State: 40:[62, 30, 18, 84], Operations: [] Exploring Operation: 62*18=1116, Resulting Numbers: [30, 84, 1116] Generated Node #2: [30, 84, 1116] from Operation: 62*18=1116 Current State: 40:[30, 84, 1116], Operations: ['62*18=1116'] Exploring Operation: 84+1116=1200, Resulting Numbers: [30, 1200] Generated Node #3: [30, 1200] from Operation: 84+1116=1200 Current State: 40:[30, 1200], Operations: ['62*18=1116', '84+1116=1200'] Exploring Operation: 1200/30=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[62, 30, 18, 84], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [30, 18, 22] Generated Node #0,0: 40:[30, 18, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 40:[30, 18, 22], Operations: ['84-62=22'] Exploring Operation: 30-22=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 40:[18, 8] Operation: 30-22=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[18, 8], Operations: ['84-62=22', '30-22=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,40 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
[ 48, 2, 33, 6 ]
82
[ "48/6=8", "33+8=41", "2*41=82" ]
Current State: 82:[48, 2, 33, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [2, 33, 8] Generated Node #2: [2, 33, 8] from Operation: 48/6=8 Current State: 82:[2, 33, 8], Operations: ['48/6=8'] Exploring Operation: 33+8=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 33+8=41 Current State: 82:[2, 41], Operations: ['48/6=8', '33+8=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[48, 2, 33, 6], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [2, 33, 42] Generated Node #0,0: 82:[2, 33, 42] Operation: 48-6=42 Exploring Operation: 48+33=81, Resulting Numbers: [2, 6, 81] Generated Node #0,1: 82:[2, 6, 81] Operation: 48+33=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[2, 6, 81], Operations: ['48+33=81'] Exploring Operation: 6-2=4, Resulting Numbers: [81, 4] Generated Node #0,1,0: 82:[81, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [81, 3] Generated Node #0,1,1: 82:[81, 3] Operation: 6/2=3 Moving to Node #0,1,1 Current State: 82:[81, 3], Operations: ['48+33=81', '6/2=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[81, 4], Operations: ['48+33=81', '6-2=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[2, 33, 42], Operations: ['48-6=42'] Exploring Operation: 2+33=35, Resulting Numbers: [42, 35] Generated Node #0,0,0: 82:[42, 35] Operation: 2+33=35 Exploring Operation: 33+42=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 82:[2, 75] Operation: 33+42=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[42, 35], Operations: ['48-6=42', '2+33=35'] Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[2, 75], Operations: ['48-6=42', '33+42=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 26, 51, 30 ]
94
[ "99-26=73", "51-30=21", "73+21=94" ]
Current State: 94:[99, 26, 51, 30], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [51, 30, 73] Generated Node #2: [51, 30, 73] from Operation: 99-26=73 Current State: 94:[51, 30, 73], Operations: ['99-26=73'] Exploring Operation: 51-30=21, Resulting Numbers: [73, 21] Generated Node #3: [73, 21] from Operation: 51-30=21 Current State: 94:[73, 21], Operations: ['99-26=73', '51-30=21'] Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[99, 26, 51, 30], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [99, 51, 4] Generated Node #0,0: 94:[99, 51, 4] Operation: 30-26=4 Moving to Node #0,0 Current State: 94:[99, 51, 4], Operations: ['30-26=4'] Exploring Operation: 99-51=48, Resulting Numbers: [4, 48] Generated Node #0,0,0: 94:[4, 48] Operation: 99-51=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[4, 48], Operations: ['30-26=4', '99-51=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,94 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
[ 39, 33, 80, 13 ]
87
[ "39-33=6", "80+13=93", "93-6=87" ]
Current State: 87:[39, 33, 80, 13], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [80, 13, 6] Generated Node #2: [80, 13, 6] from Operation: 39-33=6 Current State: 87:[80, 13, 6], Operations: ['39-33=6'] Exploring Operation: 80+13=93, Resulting Numbers: [6, 93] Generated Node #3: [6, 93] from Operation: 80+13=93 Current State: 87:[6, 93], Operations: ['39-33=6', '80+13=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[39, 33, 80, 13], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [33, 13, 41] Generated Node #0,0: 87:[33, 13, 41] Operation: 80-39=41 Exploring Operation: 80+13=93, Resulting Numbers: [39, 33, 93] Generated Node #0,1: 87:[39, 33, 93] Operation: 80+13=93 Exploring Operation: 39-13=26, Resulting Numbers: [33, 80, 26] Generated Node #0,2: 87:[33, 80, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [33, 80, 3] Generated Node #0,3: 87:[33, 80, 3] Operation: 39/13=3 Exploring Operation: 39-33=6, Resulting Numbers: [80, 13, 6] Generated Node #0,4: 87:[80, 13, 6] Operation: 39-33=6 Moving to Node #0,3 Current State: 87:[33, 80, 3], Operations: ['39/13=3'] Exploring Operation: 80-3=77, Resulting Numbers: [33, 77] Generated Node #0,3,0: 87:[33, 77] Operation: 80-3=77 Exploring Operation: 33-3=30, Resulting Numbers: [80, 30] Generated Node #0,3,1: 87:[80, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [80, 11] Generated Node #0,3,2: 87:[80, 11] Operation: 33/3=11 Exploring Operation: 80+3=83, Resulting Numbers: [33, 83] Generated Node #0,3,3: 87:[33, 83] Operation: 80+3=83 Exploring Operation: 33+3=36, Resulting Numbers: [80, 36] Generated Node #0,3,4: 87:[80, 36] Operation: 33+3=36 Moving to Node #0,2 Current State: 87:[33, 80, 26], Operations: ['39-13=26'] Exploring Operation: 33-26=7, Resulting Numbers: [80, 7] Generated Node #0,2,0: 87:[80, 7] Operation: 33-26=7 Exploring Operation: 80-33=47, Resulting Numbers: [26, 47] Generated Node #0,2,1: 87:[26, 47] Operation: 80-33=47 Exploring Operation: 80-26=54, Resulting Numbers: [33, 54] Generated Node #0,2,2: 87:[33, 54] Operation: 80-26=54 Exploring Operation: 80+26=106, Resulting Numbers: [33, 106] Generated Node #0,2,3: 87:[33, 106] Operation: 80+26=106 Exploring Operation: 33+80=113, Resulting Numbers: [26, 113] Generated Node #0,2,4: 87:[26, 113] Operation: 33+80=113 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[80, 7], Operations: ['39-13=26', '33-26=7'] Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,87 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,87 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[39, 33, 80, 13], Operations: [] Exploring Operation: 39-13=26, Resulting Numbers: [33, 80, 26] Generated Node #0,2: 87:[33, 80, 26] Operation: 39-13=26 Moving to Node #0,2 Current State: 87:[33, 80, 26], Operations: ['39-13=26'] Exploring Operation: 33-26=7, Resulting Numbers: [80, 7] Generated Node #0,2,0: 87:[80, 7] Operation: 33-26=7 Moving to Node #0,2,0 Current State: 87:[80, 7], Operations: ['39-13=26', '33-26=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 87, 73, 17, 32 ]
80
[ "87+32=119", "119/17=7", "73+7=80" ]
Current State: 80:[87, 73, 17, 32], Operations: [] Exploring Operation: 87+32=119, Resulting Numbers: [73, 17, 119] Generated Node #2: [73, 17, 119] from Operation: 87+32=119 Current State: 80:[73, 17, 119], Operations: ['87+32=119'] Exploring Operation: 119/17=7, Resulting Numbers: [73, 7] Generated Node #3: [73, 7] from Operation: 119/17=7 Current State: 80:[73, 7], Operations: ['87+32=119', '119/17=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[87, 73, 17, 32], Operations: [] Exploring Operation: 73-32=41, Resulting Numbers: [87, 17, 41] Generated Node #0,0: 80:[87, 17, 41] Operation: 73-32=41 Exploring Operation: 87-73=14, Resulting Numbers: [17, 32, 14] Generated Node #0,1: 80:[17, 32, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 80:[87, 17, 41], Operations: ['73-32=41'] Exploring Operation: 87-17=70, Resulting Numbers: [41, 70] Generated Node #0,0,0: 80:[41, 70] Operation: 87-17=70 Exploring Operation: 87-41=46, Resulting Numbers: [17, 46] Generated Node #0,0,1: 80:[17, 46] Operation: 87-41=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[17, 46], Operations: ['73-32=41', '87-41=46'] Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[41, 70], Operations: ['73-32=41', '87-17=70'] Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[17, 32, 14], Operations: ['87-73=14'] Exploring Operation: 32-14=18, Resulting Numbers: [17, 18] Generated Node #0,1,0: 80:[17, 18] Operation: 32-14=18 Exploring Operation: 32-17=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 80:[14, 15] Operation: 32-17=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[17, 18], Operations: ['87-73=14', '32-14=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[14, 15], Operations: ['87-73=14', '32-17=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,80 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
[ 26, 25, 86, 3 ]
33
[ "26*3=78", "25+86=111", "111-78=33" ]
Current State: 33:[26, 25, 86, 3], Operations: [] Exploring Operation: 26*3=78, Resulting Numbers: [25, 86, 78] Generated Node #2: [25, 86, 78] from Operation: 26*3=78 Current State: 33:[25, 86, 78], Operations: ['26*3=78'] Exploring Operation: 25+86=111, Resulting Numbers: [78, 111] Generated Node #3: [78, 111] from Operation: 25+86=111 Current State: 33:[78, 111], Operations: ['26*3=78', '25+86=111'] Exploring Operation: 111-78=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 25, 86, 3], Operations: [] Exploring Operation: 26-25=1, Resulting Numbers: [86, 3, 1] Generated Node #0,0: 33:[86, 3, 1] Operation: 26-25=1 Exploring Operation: 86-26=60, Resulting Numbers: [25, 3, 60] Generated Node #0,1: 33:[25, 3, 60] Operation: 86-26=60 Exploring Operation: 86-25=61, Resulting Numbers: [26, 3, 61] Generated Node #0,2: 33:[26, 3, 61] Operation: 86-25=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[25, 3, 60], Operations: ['86-26=60'] Exploring Operation: 60-25=35, Resulting Numbers: [3, 35] Generated Node #0,1,0: 33:[3, 35] Operation: 60-25=35 Exploring Operation: 25+3=28, Resulting Numbers: [60, 28] Generated Node #0,1,1: 33:[60, 28] Operation: 25+3=28 Exploring Operation: 60/3=20, Resulting Numbers: [25, 20] Generated Node #0,1,2: 33:[25, 20] Operation: 60/3=20 Moving to Node #0,1,0 Current State: 33:[3, 35], Operations: ['86-26=60', '60-25=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[25, 20], Operations: ['86-26=60', '60/3=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[60, 28], Operations: ['86-26=60', '25+3=28'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,33 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[26, 3, 61], Operations: ['86-25=61'] Exploring Operation: 61-26=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 33:[3, 35] Operation: 61-26=35 Exploring Operation: 61-3=58, Resulting Numbers: [26, 58] Generated Node #0,2,1: 33:[26, 58] Operation: 61-3=58 Exploring Operation: 26+3=29, Resulting Numbers: [61, 29] Generated Node #0,2,2: 33:[61, 29] Operation: 26+3=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[3, 35], Operations: ['86-25=61', '61-26=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[26, 58], Operations: ['86-25=61', '61-3=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[61, 29], Operations: ['86-25=61', '26+3=29'] Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[86, 3, 1], Operations: ['26-25=1'] Exploring Operation: 86*1=86, Resulting Numbers: [3, 86] Generated Node #0,0,0: 33:[3, 86] Operation: 86*1=86 Exploring Operation: 86-3=83, Resulting Numbers: [1, 83] Generated Node #0,0,1: 33:[1, 83] Operation: 86-3=83 Exploring Operation: 86-1=85, Resulting Numbers: [3, 85] Generated Node #0,0,2: 33:[3, 85] Operation: 86-1=85 Moving to Node #0,0,1 Current State: 33:[1, 83], Operations: ['26-25=1', '86-3=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[3, 85], Operations: ['26-25=1', '86-1=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[3, 86], Operations: ['26-25=1', '86*1=86'] Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,33 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 56, 34, 19, 88 ]
47
[ "56-34=22", "88-19=69", "69-22=47" ]
Current State: 47:[56, 34, 19, 88], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [19, 88, 22] Generated Node #2: [19, 88, 22] from Operation: 56-34=22 Current State: 47:[19, 88, 22], Operations: ['56-34=22'] Exploring Operation: 88-19=69, Resulting Numbers: [22, 69] Generated Node #3: [22, 69] from Operation: 88-19=69 Current State: 47:[22, 69], Operations: ['56-34=22', '88-19=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[56, 34, 19, 88], Operations: [] Exploring Operation: 88-34=54, Resulting Numbers: [56, 19, 54] Generated Node #0,0: 47:[56, 19, 54] Operation: 88-34=54 Exploring Operation: 88-19=69, Resulting Numbers: [56, 34, 69] Generated Node #0,1: 47:[56, 34, 69] Operation: 88-19=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[56, 19, 54], Operations: ['88-34=54'] Exploring Operation: 54-19=35, Resulting Numbers: [56, 35] Generated Node #0,0,0: 47:[56, 35] Operation: 54-19=35 Exploring Operation: 56-19=37, Resulting Numbers: [54, 37] Generated Node #0,0,1: 47:[54, 37] Operation: 56-19=37 Moving to Node #0,0,1 Current State: 47:[54, 37], Operations: ['88-34=54', '56-19=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[56, 35], Operations: ['88-34=54', '54-19=35'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,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:[56, 34, 69], Operations: ['88-19=69'] Exploring Operation: 69-34=35, Resulting Numbers: [56, 35] Generated Node #0,1,0: 47:[56, 35] Operation: 69-34=35 Exploring Operation: 56-34=22, Resulting Numbers: [69, 22] Generated Node #0,1,1: 47:[69, 22] Operation: 56-34=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[56, 35], Operations: ['88-19=69', '69-34=35'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,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:[69, 22], Operations: ['88-19=69', '56-34=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[56, 34, 19, 88], Operations: [] Exploring Operation: 88-19=69, Resulting Numbers: [56, 34, 69] Generated Node #0,1: 47:[56, 34, 69] Operation: 88-19=69 Moving to Node #0,1 Current State: 47:[56, 34, 69], Operations: ['88-19=69'] Exploring Operation: 56-34=22, Resulting Numbers: [69, 22] Generated Node #0,1,1: 47:[69, 22] Operation: 56-34=22 Moving to Node #0,1,1 Current State: 47:[69, 22], Operations: ['88-19=69', '56-34=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 48, 52, 28, 64 ]
48
[ "52-48=4", "28*4=112", "112-64=48" ]
Current State: 48:[48, 52, 28, 64], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [28, 64, 4] Generated Node #2: [28, 64, 4] from Operation: 52-48=4 Current State: 48:[28, 64, 4], Operations: ['52-48=4'] Exploring Operation: 28*4=112, Resulting Numbers: [64, 112] Generated Node #3: [64, 112] from Operation: 28*4=112 Current State: 48:[64, 112], Operations: ['52-48=4', '28*4=112'] Exploring Operation: 112-64=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 52, 28, 64], Operations: [] Exploring Operation: 52-28=24, Resulting Numbers: [48, 64, 24] Generated Node #0,0: 48:[48, 64, 24] Operation: 52-28=24 Exploring Operation: 64-28=36, Resulting Numbers: [48, 52, 36] Generated Node #0,1: 48:[48, 52, 36] Operation: 64-28=36 Exploring Operation: 64-48=16, Resulting Numbers: [52, 28, 16] Generated Node #0,2: 48:[52, 28, 16] Operation: 64-48=16 Exploring Operation: 64-52=12, Resulting Numbers: [48, 28, 12] Generated Node #0,3: 48:[48, 28, 12] Operation: 64-52=12 Moving to Node #0,3 Current State: 48:[48, 28, 12], Operations: ['64-52=12'] Exploring Operation: 48/12=4, Resulting Numbers: [28, 4] Generated Node #0,3,0: 48:[28, 4] Operation: 48/12=4 Exploring Operation: 48-28=20, Resulting Numbers: [12, 20] Generated Node #0,3,1: 48:[12, 20] Operation: 48-28=20 Exploring Operation: 28-12=16, Resulting Numbers: [48, 16] Generated Node #0,3,2: 48:[48, 16] Operation: 28-12=16 Exploring Operation: 28+12=40, Resulting Numbers: [48, 40] Generated Node #0,3,3: 48:[48, 40] Operation: 28+12=40 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[48, 16], Operations: ['64-52=12', '28-12=16'] Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,48 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,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,0 Current State: 48:[28, 4], Operations: ['64-52=12', '48/12=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,48 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,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,1 Current State: 48:[12, 20], Operations: ['64-52=12', '48-28=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,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,3 Current State: 48:[48, 40], Operations: ['64-52=12', '28+12=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,48 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: 48:[52, 28, 16], Operations: ['64-48=16'] Exploring Operation: 52-28=24, Resulting Numbers: [16, 24] Generated Node #0,2,0: 48:[16, 24] Operation: 52-28=24 Exploring Operation: 28+16=44, Resulting Numbers: [52, 44] Generated Node #0,2,1: 48:[52, 44] Operation: 28+16=44 Exploring Operation: 52-16=36, Resulting Numbers: [28, 36] Generated Node #0,2,2: 48:[28, 36] Operation: 52-16=36 Exploring Operation: 28-16=12, Resulting Numbers: [52, 12] Generated Node #0,2,3: 48:[52, 12] Operation: 28-16=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[16, 24], Operations: ['64-48=16', '52-28=24'] Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,48 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,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,3 Current State: 48:[52, 12], Operations: ['64-48=16', '28-16=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,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:[52, 44], Operations: ['64-48=16', '28+16=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,48 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,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:[28, 36], Operations: ['64-48=16', '52-16=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,48 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,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:[48, 52, 36], Operations: ['64-28=36'] Exploring Operation: 48+36=84, Resulting Numbers: [52, 84] Generated Node #0,1,0: 48:[52, 84] Operation: 48+36=84 Exploring Operation: 52-36=16, Resulting Numbers: [48, 16] Generated Node #0,1,1: 48:[48, 16] Operation: 52-36=16 Exploring Operation: 48-36=12, Resulting Numbers: [52, 12] Generated Node #0,1,2: 48:[52, 12] Operation: 48-36=12 Exploring Operation: 52-48=4, Resulting Numbers: [36, 4] Generated Node #0,1,3: 48:[36, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[48, 16], Operations: ['64-28=36', '52-36=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,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,2 Current State: 48:[52, 12], Operations: ['64-28=36', '48-36=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,48 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,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,3 Current State: 48:[36, 4], Operations: ['64-28=36', '52-48=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,48 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,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,0 Current State: 48:[52, 84], Operations: ['64-28=36', '48+36=84'] Exploring Operation: 52*84=4368, Resulting Numbers: [4368] 4368,48 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 52+84=136, Resulting Numbers: [136] 136,48 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: 48:[48, 64, 24], Operations: ['52-28=24'] Exploring Operation: 64-48=16, Resulting Numbers: [24, 16] Generated Node #0,0,0: 48:[24, 16] Operation: 64-48=16 Exploring Operation: 48-24=24, Resulting Numbers: [64, 24] Generated Node #0,0,1: 48:[64, 24] Operation: 48-24=24 Exploring Operation: 64-24=40, Resulting Numbers: [48, 40] Generated Node #0,0,2: 48:[48, 40] Operation: 64-24=40 Exploring Operation: 48/24=2, Resulting Numbers: [64, 2] Generated Node #0,0,3: 48:[64, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 16], Operations: ['52-28=24', '64-48=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,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,0,2 Current State: 48:[48, 40], Operations: ['52-28=24', '64-24=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,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,0,1 Current State: 48:[64, 24], Operations: ['52-28=24', '48-24=24'] Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,48 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,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,0,3 Current State: 48:[64, 2], Operations: ['52-28=24', '48/24=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,48 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,48 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
[ 40, 12, 74, 49 ]
95
[ "40-12=28", "74+49=123", "123-28=95" ]
Current State: 95:[40, 12, 74, 49], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [74, 49, 28] Generated Node #2: [74, 49, 28] from Operation: 40-12=28 Current State: 95:[74, 49, 28], Operations: ['40-12=28'] Exploring Operation: 74+49=123, Resulting Numbers: [28, 123] Generated Node #3: [28, 123] from Operation: 74+49=123 Current State: 95:[28, 123], Operations: ['40-12=28', '74+49=123'] Exploring Operation: 123-28=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[40, 12, 74, 49], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [12, 74, 9] Generated Node #0,0: 95:[12, 74, 9] Operation: 49-40=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[12, 74, 9], Operations: ['49-40=9'] Exploring Operation: 12+74=86, Resulting Numbers: [9, 86] Generated Node #0,0,0: 95:[9, 86] Operation: 12+74=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[9, 86], Operations: ['49-40=9', '12+74=86'] Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[40, 12, 74, 49], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [12, 74, 9] Generated Node #0,0: 95:[12, 74, 9] Operation: 49-40=9 Moving to Node #0,0 Current State: 95:[12, 74, 9], Operations: ['49-40=9'] Exploring Operation: 12+74=86, Resulting Numbers: [9, 86] Generated Node #0,0,0: 95:[9, 86] Operation: 12+74=86 Moving to Node #0,0,0 Current State: 95:[9, 86], Operations: ['49-40=9', '12+74=86'] Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 17, 82, 3 ]
49
[ "28-17=11", "3*11=33", "82-33=49" ]
Current State: 49:[28, 17, 82, 3], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [82, 3, 11] Generated Node #2: [82, 3, 11] from Operation: 28-17=11 Current State: 49:[82, 3, 11], Operations: ['28-17=11'] Exploring Operation: 3*11=33, Resulting Numbers: [82, 33] Generated Node #3: [82, 33] from Operation: 3*11=33 Current State: 49:[82, 33], Operations: ['28-17=11', '3*11=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[28, 17, 82, 3], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [17, 3, 54] Generated Node #0,0: 49:[17, 3, 54] Operation: 82-28=54 Exploring Operation: 28+17=45, Resulting Numbers: [82, 3, 45] Generated Node #0,1: 49:[82, 3, 45] Operation: 28+17=45 Moving to Node #0,0 Current State: 49:[17, 3, 54], Operations: ['82-28=54'] Exploring Operation: 17-3=14, Resulting Numbers: [54, 14] Generated Node #0,0,0: 49:[54, 14] Operation: 17-3=14 Exploring Operation: 17*3=51, Resulting Numbers: [54, 51] Generated Node #0,0,1: 49:[54, 51] Operation: 17*3=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[54, 51], Operations: ['82-28=54', '17*3=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,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,0,0 Current State: 49:[54, 14], Operations: ['82-28=54', '17-3=14'] Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,49 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: 49:[82, 3, 45], Operations: ['28+17=45'] Exploring Operation: 82-3=79, Resulting Numbers: [45, 79] Generated Node #0,1,0: 49:[45, 79] Operation: 82-3=79 Exploring Operation: 82-45=37, Resulting Numbers: [3, 37] Generated Node #0,1,1: 49:[3, 37] Operation: 82-45=37 Moving to Node #0,1,1 Current State: 49:[3, 37], Operations: ['28+17=45', '82-45=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[45, 79], Operations: ['28+17=45', '82-3=79'] Exploring Operation: 45+79=124, Resulting Numbers: [124] 124,49 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,49 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 8, 94, 64, 54 ]
96
[ "94-8=86", "64-54=10", "86+10=96" ]
Current State: 96:[8, 94, 64, 54], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [64, 54, 86] Generated Node #2: [64, 54, 86] from Operation: 94-8=86 Current State: 96:[64, 54, 86], Operations: ['94-8=86'] Exploring Operation: 64-54=10, Resulting Numbers: [86, 10] Generated Node #3: [86, 10] from Operation: 64-54=10 Current State: 96:[86, 10], Operations: ['94-8=86', '64-54=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[8, 94, 64, 54], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [94, 54, 8] Generated Node #0,0: 96:[94, 54, 8] Operation: 64/8=8 Exploring Operation: 64-54=10, Resulting Numbers: [8, 94, 10] Generated Node #0,1: 96:[8, 94, 10] Operation: 64-54=10 Exploring Operation: 94-64=30, Resulting Numbers: [8, 54, 30] Generated Node #0,2: 96:[8, 54, 30] Operation: 94-64=30 Exploring Operation: 64-8=56, Resulting Numbers: [94, 54, 56] Generated Node #0,3: 96:[94, 54, 56] Operation: 64-8=56 Moving to Node #0,1 Current State: 96:[8, 94, 10], Operations: ['64-54=10'] Exploring Operation: 8+94=102, Resulting Numbers: [10, 102] Generated Node #0,1,0: 96:[10, 102] Operation: 8+94=102 Exploring Operation: 8+10=18, Resulting Numbers: [94, 18] Generated Node #0,1,1: 96:[94, 18] Operation: 8+10=18 Exploring Operation: 94+10=104, Resulting Numbers: [8, 104] Generated Node #0,1,2: 96:[8, 104] Operation: 94+10=104 Exploring Operation: 10-8=2, Resulting Numbers: [94, 2] Generated Node #0,1,3: 96:[94, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[94, 2], Operations: ['64-54=10', '10-8=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,96 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[8, 94, 64, 54], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [8, 94, 10] Generated Node #0,1: 96:[8, 94, 10] Operation: 64-54=10 Moving to Node #0,1 Current State: 96:[8, 94, 10], Operations: ['64-54=10'] Exploring Operation: 10-8=2, Resulting Numbers: [94, 2] Generated Node #0,1,3: 96:[94, 2] Operation: 10-8=2 Moving to Node #0,1,3 Current State: 96:[94, 2], Operations: ['64-54=10', '10-8=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 4, 8, 44, 48 ]
26
[ "8/4=2", "44/2=22", "48-22=26" ]
Current State: 26:[4, 8, 44, 48], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [44, 48, 2] Generated Node #2: [44, 48, 2] from Operation: 8/4=2 Current State: 26:[44, 48, 2], Operations: ['8/4=2'] Exploring Operation: 44/2=22, Resulting Numbers: [48, 22] Generated Node #3: [48, 22] from Operation: 44/2=22 Current State: 26:[48, 22], Operations: ['8/4=2', '44/2=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 8, 44, 48], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [4, 8, 4] Generated Node #0,0: 26:[4, 8, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[4, 8, 4], Operations: ['48-44=4'] Exploring Operation: 8/4=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 26:[4, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[4, 2], Operations: ['48-44=4', '8/4=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,26 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
[ 28, 67, 65, 43 ]
58
[ "67-65=2", "43*2=86", "86-28=58" ]
Current State: 58:[28, 67, 65, 43], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [28, 43, 2] Generated Node #2: [28, 43, 2] from Operation: 67-65=2 Current State: 58:[28, 43, 2], Operations: ['67-65=2'] Exploring Operation: 43*2=86, Resulting Numbers: [28, 86] Generated Node #3: [28, 86] from Operation: 43*2=86 Current State: 58:[28, 86], Operations: ['67-65=2', '43*2=86'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[28, 67, 65, 43], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [28, 65, 24] Generated Node #0,0: 58:[28, 65, 24] Operation: 67-43=24 Moving to Node #0,0 Current State: 58:[28, 65, 24], Operations: ['67-43=24'] Exploring Operation: 28-24=4, Resulting Numbers: [65, 4] Generated Node #0,0,0: 58:[65, 4] Operation: 28-24=4 Moving to Node #0,0,0 Current State: 58:[65, 4], Operations: ['67-43=24', '28-24=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,58 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 64, 45, 22, 83 ]
42
[ "64-45=19", "83-22=61", "61-19=42" ]
Current State: 42:[64, 45, 22, 83], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [22, 83, 19] Generated Node #2: [22, 83, 19] from Operation: 64-45=19 Current State: 42:[22, 83, 19], Operations: ['64-45=19'] Exploring Operation: 83-22=61, Resulting Numbers: [19, 61] Generated Node #3: [19, 61] from Operation: 83-22=61 Current State: 42:[19, 61], Operations: ['64-45=19', '83-22=61'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[64, 45, 22, 83], Operations: [] Exploring Operation: 83-45=38, Resulting Numbers: [64, 22, 38] Generated Node #0,0: 42:[64, 22, 38] Operation: 83-45=38 Exploring Operation: 83-64=19, Resulting Numbers: [45, 22, 19] Generated Node #0,1: 42:[45, 22, 19] Operation: 83-64=19 Moving to Node #0,1 Current State: 42:[45, 22, 19], Operations: ['83-64=19'] Exploring Operation: 22-19=3, Resulting Numbers: [45, 3] Generated Node #0,1,0: 42:[45, 3] Operation: 22-19=3 Exploring Operation: 45-22=23, Resulting Numbers: [19, 23] Generated Node #0,1,1: 42:[19, 23] Operation: 45-22=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[45, 3], Operations: ['83-64=19', '22-19=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[64, 45, 22, 83], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [45, 22, 19] Generated Node #0,1: 42:[45, 22, 19] Operation: 83-64=19 Moving to Node #0,1 Current State: 42:[45, 22, 19], Operations: ['83-64=19'] Exploring Operation: 22-19=3, Resulting Numbers: [45, 3] Generated Node #0,1,0: 42:[45, 3] Operation: 22-19=3 Moving to Node #0,1,0 Current State: 42:[45, 3], Operations: ['83-64=19', '22-19=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 21, 25, 8, 51 ]
63
[ "25-21=4", "8+51=59", "4+59=63" ]
Current State: 63:[21, 25, 8, 51], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [8, 51, 4] Generated Node #2: [8, 51, 4] from Operation: 25-21=4 Current State: 63:[8, 51, 4], Operations: ['25-21=4'] Exploring Operation: 8+51=59, Resulting Numbers: [4, 59] Generated Node #3: [4, 59] from Operation: 8+51=59 Current State: 63:[4, 59], Operations: ['25-21=4', '8+51=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 25, 8, 51], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [8, 51, 4] Generated Node #0,0: 63:[8, 51, 4] Operation: 25-21=4 Exploring Operation: 51-25=26, Resulting Numbers: [21, 8, 26] Generated Node #0,1: 63:[21, 8, 26] Operation: 51-25=26 Exploring Operation: 8+51=59, Resulting Numbers: [21, 25, 59] Generated Node #0,2: 63:[21, 25, 59] Operation: 8+51=59 Moving to Node #0,1 Current State: 63:[21, 8, 26], Operations: ['51-25=26'] Exploring Operation: 26-8=18, Resulting Numbers: [21, 18] Generated Node #0,1,0: 63:[21, 18] Operation: 26-8=18 Exploring Operation: 21-8=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 63:[26, 13] Operation: 21-8=13 Exploring Operation: 26-21=5, Resulting Numbers: [8, 5] Generated Node #0,1,2: 63:[8, 5] Operation: 26-21=5 Moving to Node #0,2 Current State: 63:[21, 25, 59], Operations: ['8+51=59'] Exploring Operation: 21+25=46, Resulting Numbers: [59, 46] Generated Node #0,2,0: 63:[59, 46] Operation: 21+25=46 Exploring Operation: 25-21=4, Resulting Numbers: [59, 4] Generated Node #0,2,1: 63:[59, 4] Operation: 25-21=4 Exploring Operation: 59-25=34, Resulting Numbers: [21, 34] Generated Node #0,2,2: 63:[21, 34] Operation: 59-25=34 Moving to Node #0,0 Current State: 63:[8, 51, 4], Operations: ['25-21=4'] Exploring Operation: 8-4=4, Resulting Numbers: [51, 4] Generated Node #0,0,0: 63:[51, 4] Operation: 8-4=4 Exploring Operation: 8+51=59, Resulting Numbers: [4, 59] Generated Node #0,0,1: 63:[4, 59] Operation: 8+51=59 Exploring Operation: 51+4=55, Resulting Numbers: [8, 55] Generated Node #0,0,2: 63:[8, 55] Operation: 51+4=55 Moving to Node #0,1,0 Current State: 63:[21, 18], Operations: ['51-25=26', '26-8=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[8, 5], Operations: ['51-25=26', '26-21=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[4, 59], Operations: ['25-21=4', '8+51=59'] Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,63 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 25, 8, 51], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [8, 51, 4] Generated Node #0,0: 63:[8, 51, 4] Operation: 25-21=4 Moving to Node #0,0 Current State: 63:[8, 51, 4], Operations: ['25-21=4'] Exploring Operation: 8+51=59, Resulting Numbers: [4, 59] Generated Node #0,0,1: 63:[4, 59] Operation: 8+51=59 Moving to Node #0,0,1 Current State: 63:[4, 59], Operations: ['25-21=4', '8+51=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.979167
hs_3
mult_heuristic
[ 47, 9, 93, 20 ]
75
[ "47-9=38", "93+20=113", "113-38=75" ]
Current State: 75:[47, 9, 93, 20], Operations: [] Exploring Operation: 47-9=38, Resulting Numbers: [93, 20, 38] Generated Node #2: [93, 20, 38] from Operation: 47-9=38 Current State: 75:[93, 20, 38], Operations: ['47-9=38'] Exploring Operation: 93+20=113, Resulting Numbers: [38, 113] Generated Node #3: [38, 113] from Operation: 93+20=113 Current State: 75:[38, 113], Operations: ['47-9=38', '93+20=113'] Exploring Operation: 113-38=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[47, 9, 93, 20], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [47, 9, 73] Generated Node #0,0: 75:[47, 9, 73] Operation: 93-20=73 Exploring Operation: 47-20=27, Resulting Numbers: [9, 93, 27] Generated Node #0,1: 75:[9, 93, 27] Operation: 47-20=27 Moving to Node #0,1 Current State: 75:[9, 93, 27], Operations: ['47-20=27'] Exploring Operation: 93-27=66, Resulting Numbers: [9, 66] Generated Node #0,1,0: 75:[9, 66] Operation: 93-27=66 Exploring Operation: 93-9=84, Resulting Numbers: [27, 84] Generated Node #0,1,1: 75:[27, 84] Operation: 93-9=84 Moving to Node #0,0 Current State: 75:[47, 9, 73], Operations: ['93-20=73'] Exploring Operation: 47-9=38, Resulting Numbers: [73, 38] Generated Node #0,0,0: 75:[73, 38] Operation: 47-9=38 Exploring Operation: 73-47=26, Resulting Numbers: [9, 26] Generated Node #0,0,1: 75:[9, 26] Operation: 73-47=26 Moving to Node #0,0,1 Current State: 75:[9, 26], Operations: ['93-20=73', '73-47=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[27, 84], Operations: ['47-20=27', '93-9=84'] Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[9, 66], Operations: ['47-20=27', '93-27=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[47, 9, 93, 20], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [9, 93, 27] Generated Node #0,1: 75:[9, 93, 27] Operation: 47-20=27 Moving to Node #0,1 Current State: 75:[9, 93, 27], Operations: ['47-20=27'] Exploring Operation: 93-27=66, Resulting Numbers: [9, 66] Generated Node #0,1,0: 75:[9, 66] Operation: 93-27=66 Moving to Node #0,1,0 Current State: 75:[9, 66], Operations: ['47-20=27', '93-27=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 17, 4, 33, 32 ]
28
[ "33-17=16", "16/4=4", "32-4=28" ]
Current State: 28:[17, 4, 33, 32], Operations: [] Exploring Operation: 33-17=16, Resulting Numbers: [4, 32, 16] Generated Node #2: [4, 32, 16] from Operation: 33-17=16 Current State: 28:[4, 32, 16], Operations: ['33-17=16'] Exploring Operation: 16/4=4, Resulting Numbers: [32, 4] Generated Node #3: [32, 4] from Operation: 16/4=4 Current State: 28:[32, 4], Operations: ['33-17=16', '16/4=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[17, 4, 33, 32], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [17, 4, 1] Generated Node #0,0: 28:[17, 4, 1] Operation: 33-32=1 Exploring Operation: 33-4=29, Resulting Numbers: [17, 32, 29] Generated Node #0,1: 28:[17, 32, 29] Operation: 33-4=29 Exploring Operation: 32-4=28, Resulting Numbers: [17, 33, 28] Generated Node #0,2: 28:[17, 33, 28] Operation: 32-4=28 Exploring Operation: 33-17=16, Resulting Numbers: [4, 32, 16] Generated Node #0,3: 28:[4, 32, 16] Operation: 33-17=16 Exploring Operation: 32-17=15, Resulting Numbers: [4, 33, 15] Generated Node #0,4: 28:[4, 33, 15] Operation: 32-17=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[17, 4, 1], Operations: ['33-32=1'] Exploring Operation: 17*1=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 28:[4, 17] Operation: 17*1=17 Exploring Operation: 4*1=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 28:[17, 4] Operation: 4*1=4 Exploring Operation: 17-1=16, Resulting Numbers: [4, 16] Generated Node #0,0,2: 28:[4, 16] Operation: 17-1=16 Exploring Operation: 17/1=17, Resulting Numbers: [4, 17] Generated Node #0,0,3: 28:[4, 17] Operation: 17/1=17 Exploring Operation: 17-4=13, Resulting Numbers: [1, 13] Generated Node #0,0,4: 28:[1, 13] Operation: 17-4=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[4, 16], Operations: ['33-32=1', '17-1=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[1, 13], Operations: ['33-32=1', '17-4=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,28 unequal: No Solution No 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: 28:[4, 17], Operations: ['33-32=1', '17*1=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,28 unequal: No Solution No 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: 28:[17, 4], Operations: ['33-32=1', '4*1=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution No 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: 28:[4, 17], Operations: ['33-32=1', '17/1=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,28 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: 28:[4, 32, 16], Operations: ['33-17=16'] Exploring Operation: 32-4=28, Resulting Numbers: [16, 28] Generated Node #0,3,0: 28:[16, 28] Operation: 32-4=28 Exploring Operation: 32-16=16, Resulting Numbers: [4, 16] Generated Node #0,3,1: 28:[4, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 28:[4, 2] Operation: 32/16=2 Exploring Operation: 16/4=4, Resulting Numbers: [32, 4] Generated Node #0,3,3: 28:[32, 4] Operation: 16/4=4 Exploring Operation: 32/4=8, Resulting Numbers: [16, 8] Generated Node #0,3,4: 28:[16, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[4, 2], Operations: ['33-17=16', '32/16=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,28 unequal: No Solution No 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: 28:[16, 28], Operations: ['33-17=16', '32-4=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,28 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,28 unequal: No Solution No 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: 28:[4, 16], Operations: ['33-17=16', '32-16=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,28 unequal: No Solution No 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: 28:[16, 8], Operations: ['33-17=16', '32/4=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,28 unequal: No Solution No 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: 28:[32, 4], Operations: ['33-17=16', '16/4=4'] Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[17, 4, 33, 32], Operations: [] Exploring Operation: 33-17=16, Resulting Numbers: [4, 32, 16] Generated Node #0,3: 28:[4, 32, 16] Operation: 33-17=16 Moving to Node #0,3 Current State: 28:[4, 32, 16], Operations: ['33-17=16'] Exploring Operation: 16/4=4, Resulting Numbers: [32, 4] Generated Node #0,3,3: 28:[32, 4] Operation: 16/4=4 Moving to Node #0,3,3 Current State: 28:[32, 4], Operations: ['33-17=16', '16/4=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 11, 99, 75, 88 ]
16
[ "88/11=8", "99-75=24", "24-8=16" ]
Current State: 16:[11, 99, 75, 88], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [99, 75, 8] Generated Node #2: [99, 75, 8] from Operation: 88/11=8 Current State: 16:[99, 75, 8], Operations: ['88/11=8'] Exploring Operation: 99-75=24, Resulting Numbers: [8, 24] Generated Node #3: [8, 24] from Operation: 99-75=24 Current State: 16:[8, 24], Operations: ['88/11=8', '99-75=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[11, 99, 75, 88], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [11, 75, 11] Generated Node #0,0: 16:[11, 75, 11] Operation: 99-88=11 Exploring Operation: 99-75=24, Resulting Numbers: [11, 88, 24] Generated Node #0,1: 16:[11, 88, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[11, 75, 11], Operations: ['99-88=11'] Exploring Operation: 75-11=64, Resulting Numbers: [11, 64] Generated Node #0,0,0: 16:[11, 64] Operation: 75-11=64 Exploring Operation: 75-11=64, Resulting Numbers: [11, 64] Generated Node #0,0,1: 16:[11, 64] Operation: 75-11=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[11, 64], Operations: ['99-88=11', '75-11=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,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,0,1 Current State: 16:[11, 64], Operations: ['99-88=11', '75-11=64'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,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,1 Current State: 16:[11, 88, 24], Operations: ['99-75=24'] Exploring Operation: 88-24=64, Resulting Numbers: [11, 64] Generated Node #0,1,0: 16:[11, 64] Operation: 88-24=64 Exploring Operation: 88/11=8, Resulting Numbers: [24, 8] Generated Node #0,1,1: 16:[24, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[24, 8], Operations: ['99-75=24', '88/11=8'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[11, 99, 75, 88], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [11, 88, 24] Generated Node #0,1: 16:[11, 88, 24] Operation: 99-75=24 Moving to Node #0,1 Current State: 16:[11, 88, 24], Operations: ['99-75=24'] Exploring Operation: 88/11=8, Resulting Numbers: [24, 8] Generated Node #0,1,1: 16:[24, 8] Operation: 88/11=8 Moving to Node #0,1,1 Current State: 16:[24, 8], Operations: ['99-75=24', '88/11=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 78, 79, 29, 78 ]
79
[ "78-78=0", "29*0=0", "79+0=79" ]
Current State: 79:[78, 79, 29, 78], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [79, 29, 0] Generated Node #2: [79, 29, 0] from Operation: 78-78=0 Current State: 79:[79, 29, 0], Operations: ['78-78=0'] Exploring Operation: 29*0=0, Resulting Numbers: [79, 0] Generated Node #3: [79, 0] from Operation: 29*0=0 Current State: 79:[79, 0], Operations: ['78-78=0', '29*0=0'] Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[78, 79, 29, 78], Operations: [] Exploring Operation: 78+29=107, Resulting Numbers: [79, 78, 107] Generated Node #0,0: 79:[79, 78, 107] Operation: 78+29=107 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[79, 78, 107], Operations: ['78+29=107'] Exploring Operation: 107-78=29, Resulting Numbers: [79, 29] Generated Node #0,0,0: 79:[79, 29] Operation: 107-78=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[79, 29], Operations: ['78+29=107', '107-78=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 13, 12, 18 ]
54
[ "2+13=15", "15-12=3", "18*3=54" ]
Current State: 54:[2, 13, 12, 18], Operations: [] Exploring Operation: 2+13=15, Resulting Numbers: [12, 18, 15] Generated Node #2: [12, 18, 15] from Operation: 2+13=15 Current State: 54:[12, 18, 15], Operations: ['2+13=15'] Exploring Operation: 15-12=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 15-12=3 Current State: 54:[18, 3], Operations: ['2+13=15', '15-12=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[2, 13, 12, 18], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [2, 18, 1] Generated Node #0,0: 54:[2, 18, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [2, 18, 25] Generated Node #0,1: 54:[2, 18, 25] Operation: 13+12=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[2, 18, 1], Operations: ['13-12=1'] Exploring Operation: 2+1=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 2+1=3 Exploring Operation: 2*1=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 54:[18, 2] Operation: 2*1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['13-12=1', '2+1=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[2, 13, 12, 18], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [2, 18, 1] Generated Node #0,0: 54:[2, 18, 1] Operation: 13-12=1 Moving to Node #0,0 Current State: 54:[2, 18, 1], Operations: ['13-12=1'] Exploring Operation: 2+1=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['13-12=1', '2+1=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 14, 29, 88, 97 ]
79
[ "29+97=126", "126/14=9", "88-9=79" ]
Current State: 79:[14, 29, 88, 97], Operations: [] Exploring Operation: 29+97=126, Resulting Numbers: [14, 88, 126] Generated Node #2: [14, 88, 126] from Operation: 29+97=126 Current State: 79:[14, 88, 126], Operations: ['29+97=126'] Exploring Operation: 126/14=9, Resulting Numbers: [88, 9] Generated Node #3: [88, 9] from Operation: 126/14=9 Current State: 79:[88, 9], Operations: ['29+97=126', '126/14=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[14, 29, 88, 97], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [29, 97, 74] Generated Node #0,0: 79:[29, 97, 74] Operation: 88-14=74 Exploring Operation: 14+29=43, Resulting Numbers: [88, 97, 43] Generated Node #0,1: 79:[88, 97, 43] Operation: 14+29=43 Exploring Operation: 97-29=68, Resulting Numbers: [14, 88, 68] Generated Node #0,2: 79:[14, 88, 68] Operation: 97-29=68 Exploring Operation: 97-14=83, Resulting Numbers: [29, 88, 83] Generated Node #0,3: 79:[29, 88, 83] Operation: 97-14=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[88, 97, 43], Operations: ['14+29=43'] Exploring Operation: 88+43=131, Resulting Numbers: [97, 131] Generated Node #0,1,0: 79:[97, 131] Operation: 88+43=131 Exploring Operation: 88-43=45, Resulting Numbers: [97, 45] Generated Node #0,1,1: 79:[97, 45] Operation: 88-43=45 Exploring Operation: 97-43=54, Resulting Numbers: [88, 54] Generated Node #0,1,2: 79:[88, 54] Operation: 97-43=54 Exploring Operation: 97+43=140, Resulting Numbers: [88, 140] Generated Node #0,1,3: 79:[88, 140] Operation: 97+43=140 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[88, 54], Operations: ['14+29=43', '97-43=54'] Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,79 unequal: No Solution No 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: 79:[97, 45], Operations: ['14+29=43', '88-43=45'] Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,79 unequal: No Solution Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,79 unequal: No Solution No 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: 79:[97, 131], Operations: ['14+29=43', '88+43=131'] Exploring Operation: 97*131=12707, Resulting Numbers: [12707] 12707,79 unequal: No Solution Exploring Operation: 131-97=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 97+131=228, Resulting Numbers: [228] 228,79 unequal: No Solution No 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: 79:[88, 140], Operations: ['14+29=43', '97+43=140'] Exploring Operation: 140-88=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 88*140=12320, Resulting Numbers: [12320] 12320,79 unequal: No Solution Exploring Operation: 88+140=228, Resulting Numbers: [228] 228,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[29, 88, 83], Operations: ['97-14=83'] Exploring Operation: 29+88=117, Resulting Numbers: [83, 117] Generated Node #0,3,0: 79:[83, 117] Operation: 29+88=117 Exploring Operation: 88-29=59, Resulting Numbers: [83, 59] Generated Node #0,3,1: 79:[83, 59] Operation: 88-29=59 Exploring Operation: 83-29=54, Resulting Numbers: [88, 54] Generated Node #0,3,2: 79:[88, 54] Operation: 83-29=54 Exploring Operation: 29+83=112, Resulting Numbers: [88, 112] Generated Node #0,3,3: 79:[88, 112] Operation: 29+83=112 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[83, 59], Operations: ['97-14=83', '88-29=59'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,79 unequal: No Solution Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,79 unequal: No Solution No 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: 79:[88, 54], Operations: ['97-14=83', '83-29=54'] Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,79 unequal: No Solution No 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: 79:[83, 117], Operations: ['97-14=83', '29+88=117'] Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,79 unequal: No Solution Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,79 unequal: No Solution No 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: 79:[88, 112], Operations: ['97-14=83', '29+83=112'] Exploring Operation: 88+112=200, Resulting Numbers: [200] 200,79 unequal: No Solution Exploring Operation: 112-88=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 88*112=9856, Resulting Numbers: [9856] 9856,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[29, 97, 74], Operations: ['88-14=74'] Exploring Operation: 29+97=126, Resulting Numbers: [74, 126] Generated Node #0,0,0: 79:[74, 126] Operation: 29+97=126 Exploring Operation: 74-29=45, Resulting Numbers: [97, 45] Generated Node #0,0,1: 79:[97, 45] Operation: 74-29=45 Exploring Operation: 97-29=68, Resulting Numbers: [74, 68] Generated Node #0,0,2: 79:[74, 68] Operation: 97-29=68 Exploring Operation: 29+74=103, Resulting Numbers: [97, 103] Generated Node #0,0,3: 79:[97, 103] Operation: 29+74=103 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[74, 68], Operations: ['88-14=74', '97-29=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,79 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,79 unequal: No Solution No 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: 79:[97, 103], Operations: ['88-14=74', '29+74=103'] Exploring Operation: 103-97=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 97+103=200, Resulting Numbers: [200] 200,79 unequal: No Solution Exploring Operation: 97*103=9991, Resulting Numbers: [9991] 9991,79 unequal: No Solution No 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: 79:[74, 126], Operations: ['88-14=74', '29+97=126'] Exploring Operation: 74+126=200, Resulting Numbers: [200] 200,79 unequal: No Solution Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 74*126=9324, Resulting Numbers: [9324] 9324,79 unequal: No Solution No 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: 79:[97, 45], Operations: ['88-14=74', '74-29=45'] Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,79 unequal: No Solution Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[14, 88, 68], Operations: ['97-29=68'] Exploring Operation: 88-14=74, Resulting Numbers: [68, 74] Generated Node #0,2,0: 79:[68, 74] Operation: 88-14=74 Exploring Operation: 14+68=82, Resulting Numbers: [88, 82] Generated Node #0,2,1: 79:[88, 82] Operation: 14+68=82 Exploring Operation: 14+88=102, Resulting Numbers: [68, 102] Generated Node #0,2,2: 79:[68, 102] Operation: 14+88=102 Exploring Operation: 68-14=54, Resulting Numbers: [88, 54] Generated Node #0,2,3: 79:[88, 54] Operation: 68-14=54 Moving to Node #0,2,1 Current State: 79:[88, 82], Operations: ['97-29=68', '14+68=82'] Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 88*82=7216, Resulting Numbers: [7216] 7216,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[68, 74], Operations: ['97-29=68', '88-14=74'] Exploring Operation: 68*74=5032, Resulting Numbers: [5032] 5032,79 unequal: No Solution Exploring Operation: 68+74=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[88, 54], Operations: ['97-29=68', '68-14=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[68, 102], Operations: ['97-29=68', '14+88=102'] Exploring Operation: 68+102=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 102-68=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 68*102=6936, Resulting Numbers: [6936] 6936,79 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
[ 66, 90, 70, 55 ]
11
[ "70-55=15", "66*15=990", "990/90=11" ]
Current State: 11:[66, 90, 70, 55], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [66, 90, 15] Generated Node #2: [66, 90, 15] from Operation: 70-55=15 Current State: 11:[66, 90, 15], Operations: ['70-55=15'] Exploring Operation: 66*15=990, Resulting Numbers: [90, 990] Generated Node #3: [90, 990] from Operation: 66*15=990 Current State: 11:[90, 990], Operations: ['70-55=15', '66*15=990'] Exploring Operation: 990/90=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[66, 90, 70, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [90, 70, 11] Generated Node #0,0: 11:[90, 70, 11] Operation: 66-55=11 Exploring Operation: 90-66=24, Resulting Numbers: [70, 55, 24] Generated Node #0,1: 11:[70, 55, 24] Operation: 90-66=24 Exploring Operation: 70-66=4, Resulting Numbers: [90, 55, 4] Generated Node #0,2: 11:[90, 55, 4] Operation: 70-66=4 Exploring Operation: 90-70=20, Resulting Numbers: [66, 55, 20] Generated Node #0,3: 11:[66, 55, 20] Operation: 90-70=20 Moving to Node #0,3 Current State: 11:[66, 55, 20], Operations: ['90-70=20'] Exploring Operation: 66-55=11, Resulting Numbers: [20, 11] Generated Node #0,3,0: 11:[20, 11] Operation: 66-55=11 Exploring Operation: 66-20=46, Resulting Numbers: [55, 46] Generated Node #0,3,1: 11:[55, 46] Operation: 66-20=46 Exploring Operation: 66+55=121, Resulting Numbers: [20, 121] Generated Node #0,3,2: 11:[20, 121] Operation: 66+55=121 Exploring Operation: 55-20=35, Resulting Numbers: [66, 35] Generated Node #0,3,3: 11:[66, 35] Operation: 55-20=35 Moving to Node #0,1 Current State: 11:[70, 55, 24], Operations: ['90-66=24'] Exploring Operation: 70-24=46, Resulting Numbers: [55, 46] Generated Node #0,1,0: 11:[55, 46] Operation: 70-24=46 Exploring Operation: 70-55=15, Resulting Numbers: [24, 15] Generated Node #0,1,1: 11:[24, 15] Operation: 70-55=15 Exploring Operation: 55-24=31, Resulting Numbers: [70, 31] Generated Node #0,1,2: 11:[70, 31] Operation: 55-24=31 Exploring Operation: 70+55=125, Resulting Numbers: [24, 125] Generated Node #0,1,3: 11:[24, 125] Operation: 70+55=125 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[24, 15], Operations: ['90-66=24', '70-55=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[55, 46], Operations: ['90-66=24', '70-24=46'] Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,11 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[70, 31], Operations: ['90-66=24', '55-24=31'] Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,11 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[24, 125], Operations: ['90-66=24', '70+55=125'] Exploring Operation: 24+125=149, Resulting Numbers: [149] 149,11 unequal: No Solution Exploring Operation: 125-24=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 24*125=3000, Resulting Numbers: [3000] 3000,11 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: 11:[90, 55, 4], Operations: ['70-66=4'] Exploring Operation: 90+4=94, Resulting Numbers: [55, 94] Generated Node #0,2,0: 11:[55, 94] Operation: 90+4=94 Exploring Operation: 90-4=86, Resulting Numbers: [55, 86] Generated Node #0,2,1: 11:[55, 86] Operation: 90-4=86 Exploring Operation: 90-55=35, Resulting Numbers: [4, 35] Generated Node #0,2,2: 11:[4, 35] Operation: 90-55=35 Exploring Operation: 55-4=51, Resulting Numbers: [90, 51] Generated Node #0,2,3: 11:[90, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[4, 35], Operations: ['70-66=4', '90-55=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[55, 86], Operations: ['70-66=4', '90-4=86'] Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,11 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[90, 51], Operations: ['70-66=4', '55-4=51'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,11 unequal: No Solution Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[55, 94], Operations: ['70-66=4', '90+4=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 55+94=149, Resulting Numbers: [149] 149,11 unequal: No Solution Exploring Operation: 55*94=5170, Resulting Numbers: [5170] 5170,11 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: 11:[90, 70, 11], Operations: ['66-55=11'] Exploring Operation: 70-11=59, Resulting Numbers: [90, 59] Generated Node #0,0,0: 11:[90, 59] Operation: 70-11=59 Exploring Operation: 90+70=160, Resulting Numbers: [11, 160] Generated Node #0,0,1: 11:[11, 160] Operation: 90+70=160 Exploring Operation: 90-11=79, Resulting Numbers: [70, 79] Generated Node #0,0,2: 11:[70, 79] Operation: 90-11=79 Exploring Operation: 90-70=20, Resulting Numbers: [11, 20] Generated Node #0,0,3: 11:[11, 20] Operation: 90-70=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[11, 20], Operations: ['66-55=11', '90-70=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,11 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[90, 59], Operations: ['66-55=11', '70-11=59'] Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,11 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[70, 79], Operations: ['66-55=11', '90-11=79'] Exploring Operation: 70*79=5530, Resulting Numbers: [5530] 5530,11 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 70+79=149, Resulting Numbers: [149] 149,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[11, 160], Operations: ['66-55=11', '90+70=160'] Exploring Operation: 11*160=1760, Resulting Numbers: [1760] 1760,11 unequal: No Solution Exploring Operation: 11+160=171, Resulting Numbers: [171] 171,11 unequal: No Solution Exploring Operation: 160-11=149, Resulting Numbers: [149] 149,11 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: 11:[20, 11], Operations: ['90-70=20', '66-55=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[66, 35], Operations: ['90-70=20', '55-20=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[55, 46], Operations: ['90-70=20', '66-20=46'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,11 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[20, 121], Operations: ['90-70=20', '66+55=121'] Exploring Operation: 121-20=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 20*121=2420, Resulting Numbers: [2420] 2420,11 unequal: No Solution Exploring Operation: 20+121=141, Resulting Numbers: [141] 141,11 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 97, 45, 4, 11 ]
97
[ "4*11=44", "45-44=1", "97*1=97" ]
Current State: 97:[97, 45, 4, 11], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [97, 45, 44] Generated Node #2: [97, 45, 44] from Operation: 4*11=44 Current State: 97:[97, 45, 44], Operations: ['4*11=44'] Exploring Operation: 45-44=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 45-44=1 Current State: 97:[97, 1], Operations: ['4*11=44', '45-44=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[97, 45, 4, 11], Operations: [] Exploring Operation: 45+4=49, Resulting Numbers: [97, 11, 49] Generated Node #0,0: 97:[97, 11, 49] Operation: 45+4=49 Exploring Operation: 4*11=44, Resulting Numbers: [97, 45, 44] Generated Node #0,1: 97:[97, 45, 44] Operation: 4*11=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[97, 45, 44], Operations: ['4*11=44'] Exploring Operation: 45+44=89, Resulting Numbers: [97, 89] Generated Node #0,1,0: 97:[97, 89] Operation: 45+44=89 Exploring Operation: 97+44=141, Resulting Numbers: [45, 141] Generated Node #0,1,1: 97:[45, 141] Operation: 97+44=141 Moving to Node #0,1,0 Current State: 97:[97, 89], Operations: ['4*11=44', '45+44=89'] Exploring Operation: 97+89=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[45, 141], Operations: ['4*11=44', '97+44=141'] Exploring Operation: 141-45=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 45+141=186, Resulting Numbers: [186] 186,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[97, 11, 49], Operations: ['45+4=49'] Exploring Operation: 97+11=108, Resulting Numbers: [49, 108] Generated Node #0,0,0: 97:[49, 108] Operation: 97+11=108 Exploring Operation: 11+49=60, Resulting Numbers: [97, 60] Generated Node #0,0,1: 97:[97, 60] Operation: 11+49=60 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[97, 60], Operations: ['45+4=49', '11+49=60'] Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,97 unequal: No Solution Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[49, 108], Operations: ['45+4=49', '97+11=108'] Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,97 unequal: No Solution Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 19, 19, 21 ]
25
[ "5+21=26", "19/19=1", "26-1=25" ]
Current State: 25:[5, 19, 19, 21], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [19, 19, 26] Generated Node #2: [19, 19, 26] from Operation: 5+21=26 Current State: 25:[19, 19, 26], Operations: ['5+21=26'] Exploring Operation: 19/19=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 19/19=1 Current State: 25:[26, 1], Operations: ['5+21=26', '19/19=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 19, 19, 21], Operations: [] Exploring Operation: 19/19=1, Resulting Numbers: [5, 21, 1] Generated Node #0,0: 25:[5, 21, 1] Operation: 19/19=1 Moving to Node #0,0 Current State: 25:[5, 21, 1], Operations: ['19/19=1'] Exploring Operation: 21+1=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 25:[5, 22] Operation: 21+1=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[5, 22], Operations: ['19/19=1', '21+1=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,25 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