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
[ 45, 59, 31, 23 ]
96
[ "45+59=104", "31-23=8", "104-8=96" ]
Current State: 96:[45, 59, 31, 23], Operations: [] Exploring Operation: 45+59=104, Resulting Numbers: [31, 23, 104] Generated Node #2: [31, 23, 104] from Operation: 45+59=104 Current State: 96:[31, 23, 104], Operations: ['45+59=104'] Exploring Operation: 31-23=8, Resulting Numbers: [104, 8] Generated Node #3: [104, 8] from Operation: 31-23=8 Current State: 96:[104, 8], Operations: ['45+59=104', '31-23=8'] Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[45, 59, 31, 23], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [31, 23, 14] Generated Node #0,0: 96:[31, 23, 14] Operation: 59-45=14 Exploring Operation: 59-31=28, Resulting Numbers: [45, 23, 28] Generated Node #0,1: 96:[45, 23, 28] Operation: 59-31=28 Exploring Operation: 59-23=36, Resulting Numbers: [45, 31, 36] Generated Node #0,2: 96:[45, 31, 36] Operation: 59-23=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[31, 23, 14], Operations: ['59-45=14'] Exploring Operation: 23-14=9, Resulting Numbers: [31, 9] Generated Node #0,0,0: 96:[31, 9] Operation: 23-14=9 Exploring Operation: 31-14=17, Resulting Numbers: [23, 17] Generated Node #0,0,1: 96:[23, 17] Operation: 31-14=17 Exploring Operation: 31-23=8, Resulting Numbers: [14, 8] Generated Node #0,0,2: 96:[14, 8] Operation: 31-23=8 Moving to Node #0,0,0 Current State: 96:[31, 9], Operations: ['59-45=14', '23-14=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,96 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[23, 17], Operations: ['59-45=14', '31-14=17'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[14, 8], Operations: ['59-45=14', '31-23=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[45, 23, 28], Operations: ['59-31=28'] Exploring Operation: 28-23=5, Resulting Numbers: [45, 5] Generated Node #0,1,0: 96:[45, 5] Operation: 28-23=5 Exploring Operation: 45-28=17, Resulting Numbers: [23, 17] Generated Node #0,1,1: 96:[23, 17] Operation: 45-28=17 Exploring Operation: 45-23=22, Resulting Numbers: [28, 22] Generated Node #0,1,2: 96:[28, 22] Operation: 45-23=22 Moving to Node #0,1,1 Current State: 96:[23, 17], Operations: ['59-31=28', '45-28=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,96 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[45, 5], Operations: ['59-31=28', '28-23=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[28, 22], Operations: ['59-31=28', '45-23=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[45, 31, 36], Operations: ['59-23=36'] Exploring Operation: 36-31=5, Resulting Numbers: [45, 5] Generated Node #0,2,0: 96:[45, 5] Operation: 36-31=5 Exploring Operation: 45-36=9, Resulting Numbers: [31, 9] Generated Node #0,2,1: 96:[31, 9] Operation: 45-36=9 Exploring Operation: 45-31=14, Resulting Numbers: [36, 14] Generated Node #0,2,2: 96:[36, 14] Operation: 45-31=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[31, 9], Operations: ['59-23=36', '45-36=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[45, 5], Operations: ['59-23=36', '36-31=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[36, 14], Operations: ['59-23=36', '45-31=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 51, 72, 86, 15 ]
22
[ "51+72=123", "86+15=101", "123-101=22" ]
Current State: 22:[51, 72, 86, 15], Operations: [] Exploring Operation: 51+72=123, Resulting Numbers: [86, 15, 123] Generated Node #2: [86, 15, 123] from Operation: 51+72=123 Current State: 22:[86, 15, 123], Operations: ['51+72=123'] Exploring Operation: 86+15=101, Resulting Numbers: [123, 101] Generated Node #3: [123, 101] from Operation: 86+15=101 Current State: 22:[123, 101], Operations: ['51+72=123', '86+15=101'] Exploring Operation: 123-101=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 72, 86, 15], Operations: [] Exploring Operation: 72-15=57, Resulting Numbers: [51, 86, 57] Generated Node #0,0: 22:[51, 86, 57] Operation: 72-15=57 Exploring Operation: 51-15=36, Resulting Numbers: [72, 86, 36] Generated Node #0,1: 22:[72, 86, 36] Operation: 51-15=36 Exploring Operation: 86-51=35, Resulting Numbers: [72, 15, 35] Generated Node #0,2: 22:[72, 15, 35] Operation: 86-51=35 Exploring Operation: 72-51=21, Resulting Numbers: [86, 15, 21] Generated Node #0,3: 22:[86, 15, 21] Operation: 72-51=21 Exploring Operation: 86-72=14, Resulting Numbers: [51, 15, 14] Generated Node #0,4: 22:[51, 15, 14] Operation: 86-72=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[51, 15, 14], Operations: ['86-72=14'] Exploring Operation: 51-15=36, Resulting Numbers: [14, 36] Generated Node #0,4,0: 22:[14, 36] Operation: 51-15=36 Exploring Operation: 15+14=29, Resulting Numbers: [51, 29] Generated Node #0,4,1: 22:[51, 29] Operation: 15+14=29 Exploring Operation: 51+15=66, Resulting Numbers: [14, 66] Generated Node #0,4,2: 22:[14, 66] Operation: 51+15=66 Exploring Operation: 15-14=1, Resulting Numbers: [51, 1] Generated Node #0,4,3: 22:[51, 1] Operation: 15-14=1 Exploring Operation: 51-14=37, Resulting Numbers: [15, 37] Generated Node #0,4,4: 22:[15, 37] Operation: 51-14=37 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 22:[14, 36], Operations: ['86-72=14', '51-15=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 72, 86, 15], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [51, 15, 14] Generated Node #0,4: 22:[51, 15, 14] Operation: 86-72=14 Moving to Node #0,4 Current State: 22:[51, 15, 14], Operations: ['86-72=14'] Exploring Operation: 51-15=36, Resulting Numbers: [14, 36] Generated Node #0,4,0: 22:[14, 36] Operation: 51-15=36 Moving to Node #0,4,0 Current State: 22:[14, 36], Operations: ['86-72=14', '51-15=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 92, 19, 61, 31 ]
18
[ "92-61=31", "31/31=1", "19-1=18" ]
Current State: 18:[92, 19, 61, 31], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [19, 31, 31] Generated Node #2: [19, 31, 31] from Operation: 92-61=31 Current State: 18:[19, 31, 31], Operations: ['92-61=31'] Exploring Operation: 31/31=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 31/31=1 Current State: 18:[19, 1], Operations: ['92-61=31', '31/31=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[92, 19, 61, 31], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [19, 31, 31] Generated Node #0,0: 18:[19, 31, 31] Operation: 92-61=31 Exploring Operation: 92-31=61, Resulting Numbers: [19, 61, 61] Generated Node #0,1: 18:[19, 61, 61] Operation: 92-31=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[19, 31, 31], Operations: ['92-61=31'] Exploring Operation: 31-31=0, Resulting Numbers: [19, 0] Generated Node #0,0,0: 18:[19, 0] Operation: 31-31=0 Exploring Operation: 31/31=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 18:[19, 1] Operation: 31/31=1 Moving to Node #0,0,1 Current State: 18:[19, 1], Operations: ['92-61=31', '31/31=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[92, 19, 61, 31], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [19, 31, 31] Generated Node #0,0: 18:[19, 31, 31] Operation: 92-61=31 Moving to Node #0,0 Current State: 18:[19, 31, 31], Operations: ['92-61=31'] Exploring Operation: 31/31=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 18:[19, 1] Operation: 31/31=1 Moving to Node #0,0,1 Current State: 18:[19, 1], Operations: ['92-61=31', '31/31=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 45, 64, 92, 7 ]
80
[ "64-45=19", "92+7=99", "99-19=80" ]
Current State: 80:[45, 64, 92, 7], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [92, 7, 19] Generated Node #2: [92, 7, 19] from Operation: 64-45=19 Current State: 80:[92, 7, 19], Operations: ['64-45=19'] Exploring Operation: 92+7=99, Resulting Numbers: [19, 99] Generated Node #3: [19, 99] from Operation: 92+7=99 Current State: 80:[19, 99], Operations: ['64-45=19', '92+7=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[45, 64, 92, 7], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [64, 7, 47] Generated Node #0,0: 80:[64, 7, 47] Operation: 92-45=47 Exploring Operation: 64-45=19, Resulting Numbers: [92, 7, 19] Generated Node #0,1: 80:[92, 7, 19] Operation: 64-45=19 Exploring Operation: 92-64=28, Resulting Numbers: [45, 7, 28] Generated Node #0,2: 80:[45, 7, 28] Operation: 92-64=28 Moving to Node #0,1 Current State: 80:[92, 7, 19], Operations: ['64-45=19'] Exploring Operation: 92-7=85, Resulting Numbers: [19, 85] Generated Node #0,1,0: 80:[19, 85] Operation: 92-7=85 Exploring Operation: 92-19=73, Resulting Numbers: [7, 73] Generated Node #0,1,1: 80:[7, 73] Operation: 92-19=73 Exploring Operation: 19-7=12, Resulting Numbers: [92, 12] Generated Node #0,1,2: 80:[92, 12] Operation: 19-7=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[19, 85], Operations: ['64-45=19', '92-7=85'] Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,80 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,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:[7, 73], Operations: ['64-45=19', '92-19=73'] Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[45, 64, 92, 7], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [92, 7, 19] Generated Node #0,1: 80:[92, 7, 19] Operation: 64-45=19 Moving to Node #0,1 Current State: 80:[92, 7, 19], Operations: ['64-45=19'] Exploring Operation: 92-19=73, Resulting Numbers: [7, 73] Generated Node #0,1,1: 80:[7, 73] Operation: 92-19=73 Moving to Node #0,1,1 Current State: 80:[7, 73], Operations: ['64-45=19', '92-19=73'] Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 3, 96, 51, 78 ]
87
[ "3*78=234", "96+51=147", "234-147=87" ]
Current State: 87:[3, 96, 51, 78], Operations: [] Exploring Operation: 3*78=234, Resulting Numbers: [96, 51, 234] Generated Node #2: [96, 51, 234] from Operation: 3*78=234 Current State: 87:[96, 51, 234], Operations: ['3*78=234'] Exploring Operation: 96+51=147, Resulting Numbers: [234, 147] Generated Node #3: [234, 147] from Operation: 96+51=147 Current State: 87:[234, 147], Operations: ['3*78=234', '96+51=147'] Exploring Operation: 234-147=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 96, 51, 78], Operations: [] Exploring Operation: 78-51=27, Resulting Numbers: [3, 96, 27] Generated Node #0,0: 87:[3, 96, 27] Operation: 78-51=27 Exploring Operation: 96-51=45, Resulting Numbers: [3, 78, 45] Generated Node #0,1: 87:[3, 78, 45] Operation: 96-51=45 Exploring Operation: 96/3=32, Resulting Numbers: [51, 78, 32] Generated Node #0,2: 87:[51, 78, 32] Operation: 96/3=32 Exploring Operation: 96-78=18, Resulting Numbers: [3, 51, 18] Generated Node #0,3: 87:[3, 51, 18] Operation: 96-78=18 Exploring Operation: 51/3=17, Resulting Numbers: [96, 78, 17] Generated Node #0,4: 87:[96, 78, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[3, 96, 27], Operations: ['78-51=27'] Exploring Operation: 3+27=30, Resulting Numbers: [96, 30] Generated Node #0,0,0: 87:[96, 30] Operation: 3+27=30 Exploring Operation: 27-3=24, Resulting Numbers: [96, 24] Generated Node #0,0,1: 87:[96, 24] Operation: 27-3=24 Exploring Operation: 96-3=93, Resulting Numbers: [27, 93] Generated Node #0,0,2: 87:[27, 93] Operation: 96-3=93 Exploring Operation: 96/3=32, Resulting Numbers: [27, 32] Generated Node #0,0,3: 87:[27, 32] Operation: 96/3=32 Exploring Operation: 3+96=99, Resulting Numbers: [27, 99] Generated Node #0,0,4: 87:[27, 99] Operation: 3+96=99 Moving to Node #0,0,3 Current State: 87:[27, 32], Operations: ['78-51=27', '96/3=32'] Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,87 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[27, 93], Operations: ['78-51=27', '96-3=93'] Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 27*93=2511, Resulting Numbers: [2511] 2511,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[96, 30], Operations: ['78-51=27', '3+27=30'] Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[96, 24], Operations: ['78-51=27', '27-3=24'] Exploring Operation: 96*24=2304, Resulting Numbers: [2304] 2304,87 unequal: No Solution Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[27, 99], Operations: ['78-51=27', '3+96=99'] Exploring Operation: 27+99=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 27*99=2673, Resulting Numbers: [2673] 2673,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[3, 78, 45], Operations: ['96-51=45'] Exploring Operation: 78/3=26, Resulting Numbers: [45, 26] Generated Node #0,1,0: 87:[45, 26] Operation: 78/3=26 Exploring Operation: 78-45=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 87:[3, 33] Operation: 78-45=33 Exploring Operation: 45-3=42, Resulting Numbers: [78, 42] Generated Node #0,1,2: 87:[78, 42] Operation: 45-3=42 Exploring Operation: 3+78=81, Resulting Numbers: [45, 81] Generated Node #0,1,3: 87:[45, 81] Operation: 3+78=81 Exploring Operation: 45/3=15, Resulting Numbers: [78, 15] Generated Node #0,1,4: 87:[78, 15] Operation: 45/3=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[3, 33], Operations: ['96-51=45', '78-45=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,87 unequal: No Solution No 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: 87:[45, 26], Operations: ['96-51=45', '78/3=26'] Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,87 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 87:[78, 15], Operations: ['96-51=45', '45/3=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,87 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,87 unequal: No Solution No 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: 87:[78, 42], Operations: ['96-51=45', '45-3=42'] Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,87 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,87 unequal: No Solution No 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: 87:[45, 81], Operations: ['96-51=45', '3+78=81'] Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[96, 78, 17], Operations: ['51/3=17'] Exploring Operation: 96-78=18, Resulting Numbers: [17, 18] Generated Node #0,4,0: 87:[17, 18] Operation: 96-78=18 Exploring Operation: 96-17=79, Resulting Numbers: [78, 79] Generated Node #0,4,1: 87:[78, 79] Operation: 96-17=79 Exploring Operation: 78+17=95, Resulting Numbers: [96, 95] Generated Node #0,4,2: 87:[96, 95] Operation: 78+17=95 Exploring Operation: 78-17=61, Resulting Numbers: [96, 61] Generated Node #0,4,3: 87:[96, 61] Operation: 78-17=61 Exploring Operation: 96+17=113, Resulting Numbers: [78, 113] Generated Node #0,4,4: 87:[78, 113] Operation: 96+17=113 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[78, 79], Operations: ['51/3=17', '96-17=79'] Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 78*79=6162, Resulting Numbers: [6162] 6162,87 unequal: No Solution Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,87 unequal: No Solution No 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: 87:[96, 95], Operations: ['51/3=17', '78+17=95'] Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,87 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,87 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,87 unequal: No Solution No 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: 87:[17, 18], Operations: ['51/3=17', '96-78=18'] Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,87 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 87:[96, 61], Operations: ['51/3=17', '78-17=61'] Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 96+61=157, Resulting Numbers: [157] 157,87 unequal: No Solution Exploring Operation: 96*61=5856, Resulting Numbers: [5856] 5856,87 unequal: No Solution No 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: 87:[78, 113], Operations: ['51/3=17', '96+17=113'] Exploring Operation: 113-78=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 78+113=191, Resulting Numbers: [191] 191,87 unequal: No Solution Exploring Operation: 78*113=8814, Resulting Numbers: [8814] 8814,87 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: 87:[3, 51, 18], Operations: ['96-78=18'] Exploring Operation: 51-3=48, Resulting Numbers: [18, 48] Generated Node #0,3,0: 87:[18, 48] Operation: 51-3=48 Exploring Operation: 51+18=69, Resulting Numbers: [3, 69] Generated Node #0,3,1: 87:[3, 69] Operation: 51+18=69 Exploring Operation: 18/3=6, Resulting Numbers: [51, 6] Generated Node #0,3,2: 87:[51, 6] Operation: 18/3=6 Exploring Operation: 51-18=33, Resulting Numbers: [3, 33] Generated Node #0,3,3: 87:[3, 33] Operation: 51-18=33 Exploring Operation: 51/3=17, Resulting Numbers: [18, 17] Generated Node #0,3,4: 87:[18, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[3, 33], Operations: ['96-78=18', '51-18=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,87 unequal: No Solution No 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: 87:[3, 69], Operations: ['96-78=18', '51+18=69'] Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,87 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,87 unequal: No Solution No 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: 87:[18, 17], Operations: ['96-78=18', '51/3=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,87 unequal: No Solution No 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: 87:[51, 6], Operations: ['96-78=18', '18/3=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,87 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,87 unequal: No Solution No 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: 87:[18, 48], Operations: ['96-78=18', '51-3=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,87 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: 87:[51, 78, 32], Operations: ['96/3=32'] Exploring Operation: 78-51=27, Resulting Numbers: [32, 27] Generated Node #0,2,0: 87:[32, 27] Operation: 78-51=27 Exploring Operation: 51-32=19, Resulting Numbers: [78, 19] Generated Node #0,2,1: 87:[78, 19] Operation: 51-32=19 Exploring Operation: 51+78=129, Resulting Numbers: [32, 129] Generated Node #0,2,2: 87:[32, 129] Operation: 51+78=129 Exploring Operation: 78-32=46, Resulting Numbers: [51, 46] Generated Node #0,2,3: 87:[51, 46] Operation: 78-32=46 Exploring Operation: 51+32=83, Resulting Numbers: [78, 83] Generated Node #0,2,4: 87:[78, 83] Operation: 51+32=83 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[32, 27], Operations: ['96/3=32', '78-51=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,87 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,87 unequal: No Solution No 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: 87:[78, 83], Operations: ['96/3=32', '51+32=83'] Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,87 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,87 unequal: No Solution No 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: 87:[78, 19], Operations: ['96/3=32', '51-32=19'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 78*19=1482, Resulting Numbers: [1482] 1482,87 unequal: No Solution No 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: 87:[51, 46], Operations: ['96/3=32', '78-32=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,87 unequal: No Solution No 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: 87:[32, 129], Operations: ['96/3=32', '51+78=129'] Exploring Operation: 32+129=161, Resulting Numbers: [161] 161,87 unequal: No Solution Exploring Operation: 129-32=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 32*129=4128, Resulting Numbers: [4128] 4128,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 16, 14, 62, 13 ]
19
[ "16+14=30", "62-13=49", "49-30=19" ]
Current State: 19:[16, 14, 62, 13], Operations: [] Exploring Operation: 16+14=30, Resulting Numbers: [62, 13, 30] Generated Node #2: [62, 13, 30] from Operation: 16+14=30 Current State: 19:[62, 13, 30], Operations: ['16+14=30'] Exploring Operation: 62-13=49, Resulting Numbers: [30, 49] Generated Node #3: [30, 49] from Operation: 62-13=49 Current State: 19:[30, 49], Operations: ['16+14=30', '62-13=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[16, 14, 62, 13], Operations: [] Exploring Operation: 14+13=27, Resulting Numbers: [16, 62, 27] Generated Node #0,0: 19:[16, 62, 27] Operation: 14+13=27 Exploring Operation: 62-13=49, Resulting Numbers: [16, 14, 49] Generated Node #0,1: 19:[16, 14, 49] Operation: 62-13=49 Exploring Operation: 16+13=29, Resulting Numbers: [14, 62, 29] Generated Node #0,2: 19:[14, 62, 29] Operation: 16+13=29 Exploring Operation: 62-14=48, Resulting Numbers: [16, 13, 48] Generated Node #0,3: 19:[16, 13, 48] Operation: 62-14=48 Exploring Operation: 62-16=46, Resulting Numbers: [14, 13, 46] Generated Node #0,4: 19:[14, 13, 46] Operation: 62-16=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[16, 14, 49], Operations: ['62-13=49'] Exploring Operation: 16-14=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 19:[49, 2] Operation: 16-14=2 Exploring Operation: 16+14=30, Resulting Numbers: [49, 30] Generated Node #0,1,1: 19:[49, 30] Operation: 16+14=30 Exploring Operation: 14+49=63, Resulting Numbers: [16, 63] Generated Node #0,1,2: 19:[16, 63] Operation: 14+49=63 Exploring Operation: 49-16=33, Resulting Numbers: [14, 33] Generated Node #0,1,3: 19:[14, 33] Operation: 49-16=33 Exploring Operation: 49-14=35, Resulting Numbers: [16, 35] Generated Node #0,1,4: 19:[16, 35] Operation: 49-14=35 Moving to Node #0,1,3 Current State: 19:[14, 33], Operations: ['62-13=49', '49-16=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[16, 14, 62, 13], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [16, 14, 49] Generated Node #0,1: 19:[16, 14, 49] Operation: 62-13=49 Moving to Node #0,1 Current State: 19:[16, 14, 49], Operations: ['62-13=49'] Exploring Operation: 49-16=33, Resulting Numbers: [14, 33] Generated Node #0,1,3: 19:[14, 33] Operation: 49-16=33 Moving to Node #0,1,3 Current State: 19:[14, 33], Operations: ['62-13=49', '49-16=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 42, 89, 85, 2 ]
44
[ "42+89=131", "85+2=87", "131-87=44" ]
Current State: 44:[42, 89, 85, 2], Operations: [] Exploring Operation: 42+89=131, Resulting Numbers: [85, 2, 131] Generated Node #2: [85, 2, 131] from Operation: 42+89=131 Current State: 44:[85, 2, 131], Operations: ['42+89=131'] Exploring Operation: 85+2=87, Resulting Numbers: [131, 87] Generated Node #3: [131, 87] from Operation: 85+2=87 Current State: 44:[131, 87], Operations: ['42+89=131', '85+2=87'] Exploring Operation: 131-87=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[42, 89, 85, 2], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [89, 2, 43] Generated Node #0,0: 44:[89, 2, 43] Operation: 85-42=43 Exploring Operation: 89-42=47, Resulting Numbers: [85, 2, 47] Generated Node #0,1: 44:[85, 2, 47] Operation: 89-42=47 Exploring Operation: 42+2=44, Resulting Numbers: [89, 85, 44] Generated Node #0,2: 44:[89, 85, 44] Operation: 42+2=44 Exploring Operation: 89-2=87, Resulting Numbers: [42, 85, 87] Generated Node #0,3: 44:[42, 85, 87] Operation: 89-2=87 Exploring Operation: 89-85=4, Resulting Numbers: [42, 2, 4] Generated Node #0,4: 44:[42, 2, 4] Operation: 89-85=4 Moving to Node #0,4 Current State: 44:[42, 2, 4], Operations: ['89-85=4'] Exploring Operation: 42+2=44, Resulting Numbers: [4, 44] Generated Node #0,4,0: 44:[4, 44] Operation: 42+2=44 Exploring Operation: 4/2=2, Resulting Numbers: [42, 2] Generated Node #0,4,1: 44:[42, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [42, 2] Generated Node #0,4,2: 44:[42, 2] Operation: 4-2=2 Exploring Operation: 42+4=46, Resulting Numbers: [2, 46] Generated Node #0,4,3: 44:[2, 46] Operation: 42+4=46 Exploring Operation: 42/2=21, Resulting Numbers: [4, 21] Generated Node #0,4,4: 44:[4, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 44:[4, 44], Operations: ['89-85=4', '42+2=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[4, 21], Operations: ['89-85=4', '42/2=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 44:[42, 2], Operations: ['89-85=4', '4/2=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[42, 89, 85, 2], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [42, 2, 4] Generated Node #0,4: 44:[42, 2, 4] Operation: 89-85=4 Moving to Node #0,4 Current State: 44:[42, 2, 4], Operations: ['89-85=4'] Exploring Operation: 4/2=2, Resulting Numbers: [42, 2] Generated Node #0,4,1: 44:[42, 2] Operation: 4/2=2 Moving to Node #0,4,1 Current State: 44:[42, 2], Operations: ['89-85=4', '4/2=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 18, 30, 15, 40 ]
50
[ "30-18=12", "15*40=600", "600/12=50" ]
Current State: 50:[18, 30, 15, 40], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [15, 40, 12] Generated Node #2: [15, 40, 12] from Operation: 30-18=12 Current State: 50:[15, 40, 12], Operations: ['30-18=12'] Exploring Operation: 15*40=600, Resulting Numbers: [12, 600] Generated Node #3: [12, 600] from Operation: 15*40=600 Current State: 50:[12, 600], Operations: ['30-18=12', '15*40=600'] Exploring Operation: 600/12=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[18, 30, 15, 40], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [18, 30, 25] Generated Node #0,0: 50:[18, 30, 25] Operation: 40-15=25 Exploring Operation: 40-30=10, Resulting Numbers: [18, 15, 10] Generated Node #0,1: 50:[18, 15, 10] Operation: 40-30=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[18, 30, 25], Operations: ['40-15=25'] Exploring Operation: 18+30=48, Resulting Numbers: [25, 48] Generated Node #0,0,0: 50:[25, 48] Operation: 18+30=48 Exploring Operation: 30-18=12, Resulting Numbers: [25, 12] Generated Node #0,0,1: 50:[25, 12] Operation: 30-18=12 Moving to Node #0,0,0 Current State: 50:[25, 48], Operations: ['40-15=25', '18+30=48'] Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[25, 12], Operations: ['40-15=25', '30-18=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[18, 15, 10], Operations: ['40-30=10'] Exploring Operation: 18-10=8, Resulting Numbers: [15, 8] Generated Node #0,1,0: 50:[15, 8] Operation: 18-10=8 Exploring Operation: 18-15=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 50:[10, 3] Operation: 18-15=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[10, 3], Operations: ['40-30=10', '18-15=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[15, 8], Operations: ['40-30=10', '18-10=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 75, 43, 90, 14 ]
43
[ "90-75=15", "15-14=1", "43*1=43" ]
Current State: 43:[75, 43, 90, 14], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [43, 14, 15] Generated Node #2: [43, 14, 15] from Operation: 90-75=15 Current State: 43:[43, 14, 15], Operations: ['90-75=15'] Exploring Operation: 15-14=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 15-14=1 Current State: 43:[43, 1], Operations: ['90-75=15', '15-14=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[75, 43, 90, 14], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [43, 14, 15] Generated Node #0,0: 43:[43, 14, 15] Operation: 90-75=15 Moving to Node #0,0 Current State: 43:[43, 14, 15], Operations: ['90-75=15'] Exploring Operation: 14+15=29, Resulting Numbers: [43, 29] Generated Node #0,0,0: 43:[43, 29] Operation: 14+15=29 Moving to Node #0,0,0 Current State: 43:[43, 29], Operations: ['90-75=15', '14+15=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 16, 3, 62, 77 ]
28
[ "16-3=13", "77-62=15", "13+15=28" ]
Current State: 28:[16, 3, 62, 77], Operations: [] Exploring Operation: 16-3=13, Resulting Numbers: [62, 77, 13] Generated Node #2: [62, 77, 13] from Operation: 16-3=13 Current State: 28:[62, 77, 13], Operations: ['16-3=13'] Exploring Operation: 77-62=15, Resulting Numbers: [13, 15] Generated Node #3: [13, 15] from Operation: 77-62=15 Current State: 28:[13, 15], Operations: ['16-3=13', '77-62=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[16, 3, 62, 77], Operations: [] Exploring Operation: 62-3=59, Resulting Numbers: [16, 77, 59] Generated Node #0,0: 28:[16, 77, 59] Operation: 62-3=59 Exploring Operation: 62-16=46, Resulting Numbers: [3, 77, 46] Generated Node #0,1: 28:[3, 77, 46] Operation: 62-16=46 Exploring Operation: 77-62=15, Resulting Numbers: [16, 3, 15] Generated Node #0,2: 28:[16, 3, 15] Operation: 77-62=15 Exploring Operation: 77-16=61, Resulting Numbers: [3, 62, 61] Generated Node #0,3: 28:[3, 62, 61] Operation: 77-16=61 Moving to Node #0,2 Current State: 28:[16, 3, 15], Operations: ['77-62=15'] Exploring Operation: 16-15=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 28:[3, 1] Operation: 16-15=1 Exploring Operation: 15/3=5, Resulting Numbers: [16, 5] Generated Node #0,2,1: 28:[16, 5] Operation: 15/3=5 Exploring Operation: 16-3=13, Resulting Numbers: [15, 13] Generated Node #0,2,2: 28:[15, 13] Operation: 16-3=13 Exploring Operation: 16+15=31, Resulting Numbers: [3, 31] Generated Node #0,2,3: 28:[3, 31] Operation: 16+15=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[3, 1], Operations: ['77-62=15', '16-15=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,28 unequal: No Solution No 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: 28:[15, 13], Operations: ['77-62=15', '16-3=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,28 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[16, 3, 62, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [16, 3, 15] Generated Node #0,2: 28:[16, 3, 15] Operation: 77-62=15 Moving to Node #0,2 Current State: 28:[16, 3, 15], Operations: ['77-62=15'] Exploring Operation: 16-3=13, Resulting Numbers: [15, 13] Generated Node #0,2,2: 28:[15, 13] Operation: 16-3=13 Moving to Node #0,2,2 Current State: 28:[15, 13], Operations: ['77-62=15', '16-3=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 29, 96, 53, 97 ]
81
[ "29+96=125", "97-53=44", "125-44=81" ]
Current State: 81:[29, 96, 53, 97], Operations: [] Exploring Operation: 29+96=125, Resulting Numbers: [53, 97, 125] Generated Node #2: [53, 97, 125] from Operation: 29+96=125 Current State: 81:[53, 97, 125], Operations: ['29+96=125'] Exploring Operation: 97-53=44, Resulting Numbers: [125, 44] Generated Node #3: [125, 44] from Operation: 97-53=44 Current State: 81:[125, 44], Operations: ['29+96=125', '97-53=44'] Exploring Operation: 125-44=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 96, 53, 97], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [29, 53, 1] Generated Node #0,0: 81:[29, 53, 1] Operation: 97-96=1 Moving to Node #0,0 Current State: 81:[29, 53, 1], Operations: ['97-96=1'] Exploring Operation: 29+53=82, Resulting Numbers: [1, 82] Generated Node #0,0,0: 81:[1, 82] Operation: 29+53=82 Moving to Node #0,0,0 Current State: 81:[1, 82], Operations: ['97-96=1', '29+53=82'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[29, 96, 53, 97], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [29, 53, 1] Generated Node #0,0: 81:[29, 53, 1] Operation: 97-96=1 Moving to Node #0,0 Current State: 81:[29, 53, 1], Operations: ['97-96=1'] Exploring Operation: 29+53=82, Resulting Numbers: [1, 82] Generated Node #0,0,0: 81:[1, 82] Operation: 29+53=82 Moving to Node #0,0,0 Current State: 81:[1, 82], Operations: ['97-96=1', '29+53=82'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 54, 87, 27, 3 ]
24
[ "87-54=33", "27/3=9", "33-9=24" ]
Current State: 24:[54, 87, 27, 3], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [27, 3, 33] Generated Node #2: [27, 3, 33] from Operation: 87-54=33 Current State: 24:[27, 3, 33], Operations: ['87-54=33'] Exploring Operation: 27/3=9, Resulting Numbers: [33, 9] Generated Node #3: [33, 9] from Operation: 27/3=9 Current State: 24:[33, 9], Operations: ['87-54=33', '27/3=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[54, 87, 27, 3], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [54, 27, 29] Generated Node #0,0: 24:[54, 27, 29] Operation: 87/3=29 Exploring Operation: 54-27=27, Resulting Numbers: [87, 3, 27] Generated Node #0,1: 24:[87, 3, 27] Operation: 54-27=27 Exploring Operation: 87-27=60, Resulting Numbers: [54, 3, 60] Generated Node #0,2: 24:[54, 3, 60] Operation: 87-27=60 Exploring Operation: 54/27=2, Resulting Numbers: [87, 3, 2] Generated Node #0,3: 24:[87, 3, 2] Operation: 54/27=2 Exploring Operation: 87-54=33, Resulting Numbers: [27, 3, 33] Generated Node #0,4: 24:[27, 3, 33] Operation: 87-54=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 24:[27, 3, 33], Operations: ['87-54=33'] Exploring Operation: 27/3=9, Resulting Numbers: [33, 9] Generated Node #0,4,0: 24:[33, 9] Operation: 27/3=9 Exploring Operation: 33-27=6, Resulting Numbers: [3, 6] Generated Node #0,4,1: 24:[3, 6] Operation: 33-27=6 Exploring Operation: 27-3=24, Resulting Numbers: [33, 24] Generated Node #0,4,2: 24:[33, 24] Operation: 27-3=24 Exploring Operation: 33/3=11, Resulting Numbers: [27, 11] Generated Node #0,4,3: 24:[27, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [27, 30] Generated Node #0,4,4: 24:[27, 30] Operation: 33-3=30 Moving to Node #0,4,1 Current State: 24:[3, 6], Operations: ['87-54=33', '33-27=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[27, 11], Operations: ['87-54=33', '33/3=11'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[33, 24], Operations: ['87-54=33', '27-3=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,24 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[27, 30], Operations: ['87-54=33', '33-3=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,24 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[33, 9], Operations: ['87-54=33', '27/3=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,24 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[54, 87, 27, 3], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [27, 3, 33] Generated Node #0,4: 24:[27, 3, 33] Operation: 87-54=33 Moving to Node #0,4 Current State: 24:[27, 3, 33], Operations: ['87-54=33'] Exploring Operation: 27/3=9, Resulting Numbers: [33, 9] Generated Node #0,4,0: 24:[33, 9] Operation: 27/3=9 Moving to Node #0,4,0 Current State: 24:[33, 9], Operations: ['87-54=33', '27/3=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 28, 82, 2, 65 ]
92
[ "82-28=54", "54/2=27", "65+27=92" ]
Current State: 92:[28, 82, 2, 65], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [2, 65, 54] Generated Node #2: [2, 65, 54] from Operation: 82-28=54 Current State: 92:[2, 65, 54], Operations: ['82-28=54'] Exploring Operation: 54/2=27, Resulting Numbers: [65, 27] Generated Node #3: [65, 27] from Operation: 54/2=27 Current State: 92:[65, 27], Operations: ['82-28=54', '54/2=27'] Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[28, 82, 2, 65], Operations: [] Exploring Operation: 28+65=93, Resulting Numbers: [82, 2, 93] Generated Node #0,0: 92:[82, 2, 93] Operation: 28+65=93 Exploring Operation: 65-28=37, Resulting Numbers: [82, 2, 37] Generated Node #0,1: 92:[82, 2, 37] Operation: 65-28=37 Exploring Operation: 82-65=17, Resulting Numbers: [28, 2, 17] Generated Node #0,2: 92:[28, 2, 17] Operation: 82-65=17 Moving to Node #0,0 Current State: 92:[82, 2, 93], Operations: ['28+65=93'] Exploring Operation: 82+2=84, Resulting Numbers: [93, 84] Generated Node #0,0,0: 92:[93, 84] Operation: 82+2=84 Exploring Operation: 82/2=41, Resulting Numbers: [93, 41] Generated Node #0,0,1: 92:[93, 41] Operation: 82/2=41 Exploring Operation: 93-82=11, Resulting Numbers: [2, 11] Generated Node #0,0,2: 92:[2, 11] Operation: 93-82=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[93, 41], Operations: ['28+65=93', '82/2=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[2, 11], Operations: ['28+65=93', '93-82=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[93, 84], Operations: ['28+65=93', '82+2=84'] Exploring Operation: 93*84=7812, Resulting Numbers: [7812] 7812,92 unequal: No Solution Exploring Operation: 93+84=177, Resulting Numbers: [177] 177,92 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,92 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: 92:[28, 2, 17], Operations: ['82-65=17'] Exploring Operation: 28+17=45, Resulting Numbers: [2, 45] Generated Node #0,2,0: 92:[2, 45] Operation: 28+17=45 Exploring Operation: 28-17=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 92:[2, 11] Operation: 28-17=11 Exploring Operation: 28-2=26, Resulting Numbers: [17, 26] Generated Node #0,2,2: 92:[17, 26] Operation: 28-2=26 Moving to Node #0,1 Current State: 92:[82, 2, 37], Operations: ['65-28=37'] Exploring Operation: 82+2=84, Resulting Numbers: [37, 84] Generated Node #0,1,0: 92:[37, 84] Operation: 82+2=84 Exploring Operation: 82/2=41, Resulting Numbers: [37, 41] Generated Node #0,1,1: 92:[37, 41] Operation: 82/2=41 Exploring Operation: 82-37=45, Resulting Numbers: [2, 45] Generated Node #0,1,2: 92:[2, 45] Operation: 82-37=45 Moving to Node #0,2,0 Current State: 92:[2, 45], Operations: ['82-65=17', '28+17=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[2, 45], Operations: ['65-28=37', '82-37=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[2, 11], Operations: ['82-65=17', '28-17=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[17, 26], Operations: ['82-65=17', '28-2=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[37, 41], Operations: ['65-28=37', '82/2=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[37, 84], Operations: ['65-28=37', '82+2=84'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 37*84=3108, Resulting Numbers: [3108] 3108,92 unequal: No Solution Exploring Operation: 37+84=121, Resulting Numbers: [121] 121,92 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 33, 22, 40, 3 ]
87
[ "33-22=11", "40-11=29", "3*29=87" ]
Current State: 87:[33, 22, 40, 3], Operations: [] Exploring Operation: 33-22=11, Resulting Numbers: [40, 3, 11] Generated Node #2: [40, 3, 11] from Operation: 33-22=11 Current State: 87:[40, 3, 11], Operations: ['33-22=11'] Exploring Operation: 40-11=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 40-11=29 Current State: 87:[3, 29], Operations: ['33-22=11', '40-11=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[33, 22, 40, 3], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [22, 3, 7] Generated Node #0,0: 87:[22, 3, 7] Operation: 40-33=7 Exploring Operation: 40-22=18, Resulting Numbers: [33, 3, 18] Generated Node #0,1: 87:[33, 3, 18] Operation: 40-22=18 Moving to Node #0,0 Current State: 87:[22, 3, 7], Operations: ['40-33=7'] Exploring Operation: 22+3=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 87:[7, 25] Operation: 22+3=25 Exploring Operation: 22+7=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 87:[3, 29] Operation: 22+7=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[3, 29], Operations: ['40-33=7', '22+7=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[33, 22, 40, 3], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [22, 3, 7] Generated Node #0,0: 87:[22, 3, 7] Operation: 40-33=7 Moving to Node #0,0 Current State: 87:[22, 3, 7], Operations: ['40-33=7'] Exploring Operation: 22+7=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 87:[3, 29] Operation: 22+7=29 Moving to Node #0,0,1 Current State: 87:[3, 29], Operations: ['40-33=7', '22+7=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 88, 82, 72, 7 ]
72
[ "88-82=6", "7-6=1", "72*1=72" ]
Current State: 72:[88, 82, 72, 7], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [72, 7, 6] Generated Node #2: [72, 7, 6] from Operation: 88-82=6 Current State: 72:[72, 7, 6], Operations: ['88-82=6'] Exploring Operation: 7-6=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 7-6=1 Current State: 72:[72, 1], Operations: ['88-82=6', '7-6=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[88, 82, 72, 7], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [82, 72, 81] Generated Node #0,0: 72:[82, 72, 81] Operation: 88-7=81 Exploring Operation: 88-82=6, Resulting Numbers: [72, 7, 6] Generated Node #0,1: 72:[72, 7, 6] Operation: 88-82=6 Exploring Operation: 82-72=10, Resulting Numbers: [88, 7, 10] Generated Node #0,2: 72:[88, 7, 10] Operation: 82-72=10 Exploring Operation: 88-72=16, Resulting Numbers: [82, 7, 16] Generated Node #0,3: 72:[82, 7, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[72, 7, 6], Operations: ['88-82=6'] Exploring Operation: 7*6=42, Resulting Numbers: [72, 42] Generated Node #0,1,0: 72:[72, 42] Operation: 7*6=42 Exploring Operation: 7+6=13, Resulting Numbers: [72, 13] Generated Node #0,1,1: 72:[72, 13] Operation: 7+6=13 Exploring Operation: 72/6=12, Resulting Numbers: [7, 12] Generated Node #0,1,2: 72:[7, 12] Operation: 72/6=12 Exploring Operation: 7-6=1, Resulting Numbers: [72, 1] Generated Node #0,1,3: 72:[72, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[72, 13], Operations: ['88-82=6', '7+6=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,72 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,72 unequal: No Solution No 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: 72:[7, 12], Operations: ['88-82=6', '72/6=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,72 unequal: No Solution No 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: 72:[72, 1], Operations: ['88-82=6', '7-6=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[88, 82, 72, 7], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [72, 7, 6] Generated Node #0,1: 72:[72, 7, 6] Operation: 88-82=6 Moving to Node #0,1 Current State: 72:[72, 7, 6], Operations: ['88-82=6'] Exploring Operation: 7-6=1, Resulting Numbers: [72, 1] Generated Node #0,1,3: 72:[72, 1] Operation: 7-6=1 Moving to Node #0,1,3 Current State: 72:[72, 1], Operations: ['88-82=6', '7-6=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 97, 77, 2, 40 ]
62
[ "97-77=20", "2+40=42", "20+42=62" ]
Current State: 62:[97, 77, 2, 40], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [2, 40, 20] Generated Node #2: [2, 40, 20] from Operation: 97-77=20 Current State: 62:[2, 40, 20], Operations: ['97-77=20'] Exploring Operation: 2+40=42, Resulting Numbers: [20, 42] Generated Node #3: [20, 42] from Operation: 2+40=42 Current State: 62:[20, 42], Operations: ['97-77=20', '2+40=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[97, 77, 2, 40], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [77, 40, 95] Generated Node #0,0: 62:[77, 40, 95] Operation: 97-2=95 Exploring Operation: 97-40=57, Resulting Numbers: [77, 2, 57] Generated Node #0,1: 62:[77, 2, 57] Operation: 97-40=57 Exploring Operation: 77-2=75, Resulting Numbers: [97, 40, 75] Generated Node #0,2: 62:[97, 40, 75] Operation: 77-2=75 Exploring Operation: 97-77=20, Resulting Numbers: [2, 40, 20] Generated Node #0,3: 62:[2, 40, 20] Operation: 97-77=20 Exploring Operation: 77-40=37, Resulting Numbers: [97, 2, 37] Generated Node #0,4: 62:[97, 2, 37] Operation: 77-40=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[77, 2, 57], Operations: ['97-40=57'] Exploring Operation: 77-57=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 62:[2, 20] Operation: 77-57=20 Exploring Operation: 57-2=55, Resulting Numbers: [77, 55] Generated Node #0,1,1: 62:[77, 55] Operation: 57-2=55 Exploring Operation: 77+2=79, Resulting Numbers: [57, 79] Generated Node #0,1,2: 62:[57, 79] Operation: 77+2=79 Exploring Operation: 77-2=75, Resulting Numbers: [57, 75] Generated Node #0,1,3: 62:[57, 75] Operation: 77-2=75 Exploring Operation: 2+57=59, Resulting Numbers: [77, 59] Generated Node #0,1,4: 62:[77, 59] Operation: 2+57=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[2, 20], Operations: ['97-40=57', '77-57=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,62 unequal: No Solution No 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: 62:[57, 75], Operations: ['97-40=57', '77-2=75'] Exploring Operation: 57*75=4275, Resulting Numbers: [4275] 4275,62 unequal: No Solution Exploring Operation: 57+75=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 62:[77, 59], Operations: ['97-40=57', '2+57=59'] Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,62 unequal: No Solution Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,62 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,62 unequal: No Solution No 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: 62:[77, 55], Operations: ['97-40=57', '57-2=55'] Exploring Operation: 77+55=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 77*55=4235, Resulting Numbers: [4235] 4235,62 unequal: No Solution No 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: 62:[57, 79], Operations: ['97-40=57', '77+2=79'] Exploring Operation: 57+79=136, Resulting Numbers: [136] 136,62 unequal: No Solution Exploring Operation: 57*79=4503, Resulting Numbers: [4503] 4503,62 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,62 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: 62:[2, 40, 20], Operations: ['97-77=20'] Exploring Operation: 20/2=10, Resulting Numbers: [40, 10] Generated Node #0,3,0: 62:[40, 10] Operation: 20/2=10 Exploring Operation: 40+20=60, Resulting Numbers: [2, 60] Generated Node #0,3,1: 62:[2, 60] Operation: 40+20=60 Exploring Operation: 40/20=2, Resulting Numbers: [2, 2] Generated Node #0,3,2: 62:[2, 2] Operation: 40/20=2 Exploring Operation: 40-2=38, Resulting Numbers: [20, 38] Generated Node #0,3,3: 62:[20, 38] Operation: 40-2=38 Exploring Operation: 40-20=20, Resulting Numbers: [2, 20] Generated Node #0,3,4: 62:[2, 20] Operation: 40-20=20 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[2, 2], Operations: ['97-77=20', '40/20=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,62 unequal: No Solution No 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: 62:[2, 60], Operations: ['97-77=20', '40+20=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[97, 77, 2, 40], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [2, 40, 20] Generated Node #0,3: 62:[2, 40, 20] Operation: 97-77=20 Moving to Node #0,3 Current State: 62:[2, 40, 20], Operations: ['97-77=20'] Exploring Operation: 40+20=60, Resulting Numbers: [2, 60] Generated Node #0,3,1: 62:[2, 60] Operation: 40+20=60 Moving to Node #0,3,1 Current State: 62:[2, 60], Operations: ['97-77=20', '40+20=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 11, 87, 36, 18 ]
96
[ "11+87=98", "36/18=2", "98-2=96" ]
Current State: 96:[11, 87, 36, 18], Operations: [] Exploring Operation: 11+87=98, Resulting Numbers: [36, 18, 98] Generated Node #2: [36, 18, 98] from Operation: 11+87=98 Current State: 96:[36, 18, 98], Operations: ['11+87=98'] Exploring Operation: 36/18=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 36/18=2 Current State: 96:[98, 2], Operations: ['11+87=98', '36/18=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[11, 87, 36, 18], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [11, 18, 51] Generated Node #0,0: 96:[11, 18, 51] Operation: 87-36=51 Moving to Node #0,0 Current State: 96:[11, 18, 51], Operations: ['87-36=51'] Exploring Operation: 51-18=33, Resulting Numbers: [11, 33] Generated Node #0,0,0: 96:[11, 33] Operation: 51-18=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[11, 33], Operations: ['87-36=51', '51-18=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,96 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
[ 3, 19, 51, 84 ]
50
[ "3*51=153", "19+84=103", "153-103=50" ]
Current State: 50:[3, 19, 51, 84], Operations: [] Exploring Operation: 3*51=153, Resulting Numbers: [19, 84, 153] Generated Node #2: [19, 84, 153] from Operation: 3*51=153 Current State: 50:[19, 84, 153], Operations: ['3*51=153'] Exploring Operation: 19+84=103, Resulting Numbers: [153, 103] Generated Node #3: [153, 103] from Operation: 19+84=103 Current State: 50:[153, 103], Operations: ['3*51=153', '19+84=103'] Exploring Operation: 153-103=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[3, 19, 51, 84], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [19, 51, 28] Generated Node #0,0: 50:[19, 51, 28] Operation: 84/3=28 Exploring Operation: 84-51=33, Resulting Numbers: [3, 19, 33] Generated Node #0,1: 50:[3, 19, 33] Operation: 84-51=33 Moving to Node #0,0 Current State: 50:[19, 51, 28], Operations: ['84/3=28'] Exploring Operation: 28-19=9, Resulting Numbers: [51, 9] Generated Node #0,0,0: 50:[51, 9] Operation: 28-19=9 Exploring Operation: 19+28=47, Resulting Numbers: [51, 47] Generated Node #0,0,1: 50:[51, 47] Operation: 19+28=47 Moving to Node #0,1 Current State: 50:[3, 19, 33], Operations: ['84-51=33'] Exploring Operation: 19+33=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 50:[3, 52] Operation: 19+33=52 Exploring Operation: 33-19=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 50:[3, 14] Operation: 33-19=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[3, 52], Operations: ['84-51=33', '19+33=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[3, 14], Operations: ['84-51=33', '33-19=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 14-3=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,0 Current State: 50:[51, 9], Operations: ['84/3=28', '28-19=9'] Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,50 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[51, 47], Operations: ['84/3=28', '19+28=47'] Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,50 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,50 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 95, 75, 91, 2 ]
69
[ "95-75=20", "91-2=89", "89-20=69" ]
Current State: 69:[95, 75, 91, 2], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [91, 2, 20] Generated Node #2: [91, 2, 20] from Operation: 95-75=20 Current State: 69:[91, 2, 20], Operations: ['95-75=20'] Exploring Operation: 91-2=89, Resulting Numbers: [20, 89] Generated Node #3: [20, 89] from Operation: 91-2=89 Current State: 69:[20, 89], Operations: ['95-75=20', '91-2=89'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[95, 75, 91, 2], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [95, 2, 16] Generated Node #0,0: 69:[95, 2, 16] Operation: 91-75=16 Exploring Operation: 95-75=20, Resulting Numbers: [91, 2, 20] Generated Node #0,1: 69:[91, 2, 20] Operation: 95-75=20 Exploring Operation: 95-91=4, Resulting Numbers: [75, 2, 4] Generated Node #0,2: 69:[75, 2, 4] Operation: 95-91=4 Moving to Node #0,2 Current State: 69:[75, 2, 4], Operations: ['95-91=4'] Exploring Operation: 4-2=2, Resulting Numbers: [75, 2] Generated Node #0,2,0: 69:[75, 2] Operation: 4-2=2 Exploring Operation: 75-4=71, Resulting Numbers: [2, 71] Generated Node #0,2,1: 69:[2, 71] Operation: 75-4=71 Exploring Operation: 75-2=73, Resulting Numbers: [4, 73] Generated Node #0,2,2: 69:[4, 73] Operation: 75-2=73 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[2, 71], Operations: ['95-91=4', '75-4=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,69 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,69 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[95, 75, 91, 2], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [75, 2, 4] Generated Node #0,2: 69:[75, 2, 4] Operation: 95-91=4 Moving to Node #0,2 Current State: 69:[75, 2, 4], Operations: ['95-91=4'] Exploring Operation: 75-4=71, Resulting Numbers: [2, 71] Generated Node #0,2,1: 69:[2, 71] Operation: 75-4=71 Moving to Node #0,2,1 Current State: 69:[2, 71], Operations: ['95-91=4', '75-4=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 63, 96, 34, 10 ]
57
[ "96-63=33", "34-10=24", "33+24=57" ]
Current State: 57:[63, 96, 34, 10], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [34, 10, 33] Generated Node #2: [34, 10, 33] from Operation: 96-63=33 Current State: 57:[34, 10, 33], Operations: ['96-63=33'] Exploring Operation: 34-10=24, Resulting Numbers: [33, 24] Generated Node #3: [33, 24] from Operation: 34-10=24 Current State: 57:[33, 24], Operations: ['96-63=33', '34-10=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[63, 96, 34, 10], Operations: [] Exploring Operation: 96-10=86, Resulting Numbers: [63, 34, 86] Generated Node #0,0: 57:[63, 34, 86] Operation: 96-10=86 Exploring Operation: 34-10=24, Resulting Numbers: [63, 96, 24] Generated Node #0,1: 57:[63, 96, 24] Operation: 34-10=24 Exploring Operation: 96-63=33, Resulting Numbers: [34, 10, 33] Generated Node #0,2: 57:[34, 10, 33] Operation: 96-63=33 Exploring Operation: 96-34=62, Resulting Numbers: [63, 10, 62] Generated Node #0,3: 57:[63, 10, 62] Operation: 96-34=62 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[63, 10, 62], Operations: ['96-34=62'] Exploring Operation: 63+10=73, Resulting Numbers: [62, 73] Generated Node #0,3,0: 57:[62, 73] Operation: 63+10=73 Exploring Operation: 63-10=53, Resulting Numbers: [62, 53] Generated Node #0,3,1: 57:[62, 53] Operation: 63-10=53 Exploring Operation: 62-10=52, Resulting Numbers: [63, 52] Generated Node #0,3,2: 57:[63, 52] Operation: 62-10=52 Exploring Operation: 63-62=1, Resulting Numbers: [10, 1] Generated Node #0,3,3: 57:[10, 1] Operation: 63-62=1 Moving to Node #0,3,1 Current State: 57:[62, 53], Operations: ['96-34=62', '63-10=53'] Exploring Operation: 62*53=3286, Resulting Numbers: [3286] 3286,57 unequal: No Solution Exploring Operation: 62+53=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[10, 1], Operations: ['96-34=62', '63-62=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[63, 52], Operations: ['96-34=62', '62-10=52'] Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,57 unequal: No Solution Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[62, 73], Operations: ['96-34=62', '63+10=73'] Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,57 unequal: No Solution Exploring Operation: 62*73=4526, Resulting Numbers: [4526] 4526,57 unequal: No Solution Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[34, 10, 33], Operations: ['96-63=33'] Exploring Operation: 34-33=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 57:[10, 1] Operation: 34-33=1 Exploring Operation: 34+33=67, Resulting Numbers: [10, 67] Generated Node #0,2,1: 57:[10, 67] Operation: 34+33=67 Exploring Operation: 33-10=23, Resulting Numbers: [34, 23] Generated Node #0,2,2: 57:[34, 23] Operation: 33-10=23 Exploring Operation: 34-10=24, Resulting Numbers: [33, 24] Generated Node #0,2,3: 57:[33, 24] Operation: 34-10=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[10, 1], Operations: ['96-63=33', '34-33=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[10, 67], Operations: ['96-63=33', '34+33=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[63, 96, 34, 10], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [34, 10, 33] Generated Node #0,2: 57:[34, 10, 33] Operation: 96-63=33 Moving to Node #0,2 Current State: 57:[34, 10, 33], Operations: ['96-63=33'] Exploring Operation: 34+33=67, Resulting Numbers: [10, 67] Generated Node #0,2,1: 57:[10, 67] Operation: 34+33=67 Moving to Node #0,2,1 Current State: 57:[10, 67], Operations: ['96-63=33', '34+33=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 67, 62, 20, 87 ]
61
[ "67+20=87", "87/87=1", "62-1=61" ]
Current State: 61:[67, 62, 20, 87], Operations: [] Exploring Operation: 67+20=87, Resulting Numbers: [62, 87, 87] Generated Node #2: [62, 87, 87] from Operation: 67+20=87 Current State: 61:[62, 87, 87], Operations: ['67+20=87'] Exploring Operation: 87/87=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 87/87=1 Current State: 61:[62, 1], Operations: ['67+20=87', '87/87=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[67, 62, 20, 87], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [62, 87, 47] Generated Node #0,0: 61:[62, 87, 47] Operation: 67-20=47 Exploring Operation: 62-20=42, Resulting Numbers: [67, 87, 42] Generated Node #0,1: 61:[67, 87, 42] Operation: 62-20=42 Exploring Operation: 67+20=87, Resulting Numbers: [62, 87, 87] Generated Node #0,2: 61:[62, 87, 87] Operation: 67+20=87 Exploring Operation: 62+20=82, Resulting Numbers: [67, 87, 82] Generated Node #0,3: 61:[67, 87, 82] Operation: 62+20=82 Exploring Operation: 87-20=67, Resulting Numbers: [67, 62, 67] Generated Node #0,4: 61:[67, 62, 67] Operation: 87-20=67 Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[67, 62, 67], Operations: ['87-20=67'] Exploring Operation: 67+62=129, Resulting Numbers: [67, 129] Generated Node #0,4,0: 61:[67, 129] Operation: 67+62=129 Exploring Operation: 67-62=5, Resulting Numbers: [67, 5] Generated Node #0,4,1: 61:[67, 5] Operation: 67-62=5 Exploring Operation: 67-67=0, Resulting Numbers: [62, 0] Generated Node #0,4,2: 61:[62, 0] Operation: 67-67=0 Exploring Operation: 67/67=1, Resulting Numbers: [62, 1] Generated Node #0,4,3: 61:[62, 1] Operation: 67/67=1 Exploring Operation: 67-62=5, Resulting Numbers: [67, 5] Generated Node #0,4,4: 61:[67, 5] Operation: 67-62=5 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 61:[62, 1], Operations: ['87-20=67', '67/67=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[67, 62, 20, 87], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [67, 62, 67] Generated Node #0,4: 61:[67, 62, 67] Operation: 87-20=67 Moving to Node #0,4 Current State: 61:[67, 62, 67], Operations: ['87-20=67'] Exploring Operation: 67/67=1, Resulting Numbers: [62, 1] Generated Node #0,4,3: 61:[62, 1] Operation: 67/67=1 Moving to Node #0,4,3 Current State: 61:[62, 1], Operations: ['87-20=67', '67/67=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 12, 32, 31, 4 ]
61
[ "12*31=372", "372/4=93", "93-32=61" ]
Current State: 61:[12, 32, 31, 4], Operations: [] Exploring Operation: 12*31=372, Resulting Numbers: [32, 4, 372] Generated Node #2: [32, 4, 372] from Operation: 12*31=372 Current State: 61:[32, 4, 372], Operations: ['12*31=372'] Exploring Operation: 372/4=93, Resulting Numbers: [32, 93] Generated Node #3: [32, 93] from Operation: 372/4=93 Current State: 61:[32, 93], Operations: ['12*31=372', '372/4=93'] Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[12, 32, 31, 4], Operations: [] Exploring Operation: 12*4=48, Resulting Numbers: [32, 31, 48] Generated Node #0,0: 61:[32, 31, 48] Operation: 12*4=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[32, 31, 48], Operations: ['12*4=48'] Exploring Operation: 32+31=63, Resulting Numbers: [48, 63] Generated Node #0,0,0: 61:[48, 63] Operation: 32+31=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[48, 63], Operations: ['12*4=48', '32+31=63'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 61, 64, 61 ]
71
[ "64-61=3", "44*3=132", "132-61=71" ]
Current State: 71:[44, 61, 64, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [44, 3] Generated Node #2: [44, 3] from Operation: 64-61=3 Current State: 71:[44, 3], Operations: ['64-61=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,71 equal: Goal Reached Exploring Operation: 132-61=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[44, 61, 64, 61], Operations: [] Exploring Operation: 44+61=105, Resulting Numbers: [61, 64, 105] Generated Node #0,0: 71:[61, 64, 105] Operation: 44+61=105 Exploring Operation: 44+61=105, Resulting Numbers: [64, 61, 105] Generated Node #0,1: 71:[64, 61, 105] Operation: 44+61=105 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[61, 64, 105], Operations: ['44+61=105'] Exploring Operation: 105-61=44, Resulting Numbers: [64, 44] Generated Node #0,0,0: 71:[64, 44] Operation: 105-61=44 Exploring Operation: 105-64=41, Resulting Numbers: [61, 41] Generated Node #0,0,1: 71:[61, 41] Operation: 105-64=41 Moving to Node #0,0,0 Current State: 71:[64, 44], Operations: ['44+61=105', '105-61=44'] Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[61, 41], Operations: ['44+61=105', '105-64=41'] Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[64, 61, 105], Operations: ['44+61=105'] Exploring Operation: 105-64=41, Resulting Numbers: [61, 41] Generated Node #0,1,0: 71:[61, 41] Operation: 105-64=41 Exploring Operation: 105-61=44, Resulting Numbers: [64, 44] Generated Node #0,1,1: 71:[64, 44] Operation: 105-61=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[64, 44], Operations: ['44+61=105', '105-61=44'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,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, 41], Operations: ['44+61=105', '105-64=41'] Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 61, 94, 74, 12 ]
95
[ "94-61=33", "74-12=62", "33+62=95" ]
Current State: 95:[61, 94, 74, 12], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [74, 12, 33] Generated Node #2: [74, 12, 33] from Operation: 94-61=33 Current State: 95:[74, 12, 33], Operations: ['94-61=33'] Exploring Operation: 74-12=62, Resulting Numbers: [33, 62] Generated Node #3: [33, 62] from Operation: 74-12=62 Current State: 95:[33, 62], Operations: ['94-61=33', '74-12=62'] Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[61, 94, 74, 12], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [74, 12, 33] Generated Node #0,0: 95:[74, 12, 33] Operation: 94-61=33 Exploring Operation: 94-74=20, Resulting Numbers: [61, 12, 20] Generated Node #0,1: 95:[61, 12, 20] Operation: 94-74=20 Exploring Operation: 74-61=13, Resulting Numbers: [94, 12, 13] Generated Node #0,2: 95:[94, 12, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[94, 12, 13], Operations: ['74-61=13'] Exploring Operation: 12+13=25, Resulting Numbers: [94, 25] Generated Node #0,2,0: 95:[94, 25] Operation: 12+13=25 Exploring Operation: 13-12=1, Resulting Numbers: [94, 1] Generated Node #0,2,1: 95:[94, 1] Operation: 13-12=1 Exploring Operation: 94+12=106, Resulting Numbers: [13, 106] Generated Node #0,2,2: 95:[13, 106] Operation: 94+12=106 Moving to Node #0,2,1 Current State: 95:[94, 1], Operations: ['74-61=13', '13-12=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[61, 94, 74, 12], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [94, 12, 13] Generated Node #0,2: 95:[94, 12, 13] Operation: 74-61=13 Moving to Node #0,2 Current State: 95:[94, 12, 13], Operations: ['74-61=13'] Exploring Operation: 13-12=1, Resulting Numbers: [94, 1] Generated Node #0,2,1: 95:[94, 1] Operation: 13-12=1 Moving to Node #0,2,1 Current State: 95:[94, 1], Operations: ['74-61=13', '13-12=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 8, 89, 24, 19 ]
38
[ "89-8=81", "24+19=43", "81-43=38" ]
Current State: 38:[8, 89, 24, 19], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [24, 19, 81] Generated Node #2: [24, 19, 81] from Operation: 89-8=81 Current State: 38:[24, 19, 81], Operations: ['89-8=81'] Exploring Operation: 24+19=43, Resulting Numbers: [81, 43] Generated Node #3: [81, 43] from Operation: 24+19=43 Current State: 38:[81, 43], Operations: ['89-8=81', '24+19=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[8, 89, 24, 19], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [8, 19, 65] Generated Node #0,0: 38:[8, 19, 65] Operation: 89-24=65 Exploring Operation: 24/8=3, Resulting Numbers: [89, 19, 3] Generated Node #0,1: 38:[89, 19, 3] Operation: 24/8=3 Exploring Operation: 89-19=70, Resulting Numbers: [8, 24, 70] Generated Node #0,2: 38:[8, 24, 70] Operation: 89-19=70 Exploring Operation: 89-8=81, Resulting Numbers: [24, 19, 81] Generated Node #0,3: 38:[24, 19, 81] Operation: 89-8=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[8, 19, 65], Operations: ['89-24=65'] Exploring Operation: 65-19=46, Resulting Numbers: [8, 46] Generated Node #0,0,0: 38:[8, 46] Operation: 65-19=46 Exploring Operation: 65-8=57, Resulting Numbers: [19, 57] Generated Node #0,0,1: 38:[19, 57] Operation: 65-8=57 Exploring Operation: 8+19=27, Resulting Numbers: [65, 27] Generated Node #0,0,2: 38:[65, 27] Operation: 8+19=27 Exploring Operation: 19-8=11, Resulting Numbers: [65, 11] Generated Node #0,0,3: 38:[65, 11] Operation: 19-8=11 Moving to Node #0,0,0 Current State: 38:[8, 46], Operations: ['89-24=65', '65-19=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,38 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[8, 89, 24, 19], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [8, 19, 65] Generated Node #0,0: 38:[8, 19, 65] Operation: 89-24=65 Moving to Node #0,0 Current State: 38:[8, 19, 65], Operations: ['89-24=65'] Exploring Operation: 65-19=46, Resulting Numbers: [8, 46] Generated Node #0,0,0: 38:[8, 46] Operation: 65-19=46 Moving to Node #0,0,0 Current State: 38:[8, 46], Operations: ['89-24=65', '65-19=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 35, 8, 7, 52 ]
72
[ "35-8=27", "52-7=45", "27+45=72" ]
Current State: 72:[35, 8, 7, 52], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [7, 52, 27] Generated Node #2: [7, 52, 27] from Operation: 35-8=27 Current State: 72:[7, 52, 27], Operations: ['35-8=27'] Exploring Operation: 52-7=45, Resulting Numbers: [27, 45] Generated Node #3: [27, 45] from Operation: 52-7=45 Current State: 72:[27, 45], Operations: ['35-8=27', '52-7=45'] Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[35, 8, 7, 52], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [8, 7, 17] Generated Node #0,0: 72:[8, 7, 17] Operation: 52-35=17 Moving to Node #0,0 Current State: 72:[8, 7, 17], Operations: ['52-35=17'] Exploring Operation: 7+17=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 72:[8, 24] Operation: 7+17=24 Moving to Node #0,0,0 Current State: 72:[8, 24], Operations: ['52-35=17', '7+17=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,72 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 90, 76, 2, 62 ]
66
[ "90-62=28", "76/2=38", "28+38=66" ]
Current State: 66:[90, 76, 2, 62], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [76, 2, 28] Generated Node #2: [76, 2, 28] from Operation: 90-62=28 Current State: 66:[76, 2, 28], Operations: ['90-62=28'] Exploring Operation: 76/2=38, Resulting Numbers: [28, 38] Generated Node #3: [28, 38] from Operation: 76/2=38 Current State: 66:[28, 38], Operations: ['90-62=28', '76/2=38'] Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[90, 76, 2, 62], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [76, 62, 45] Generated Node #0,0: 66:[76, 62, 45] Operation: 90/2=45 Exploring Operation: 90-62=28, Resulting Numbers: [76, 2, 28] Generated Node #0,1: 66:[76, 2, 28] Operation: 90-62=28 Exploring Operation: 90-76=14, Resulting Numbers: [2, 62, 14] Generated Node #0,2: 66:[2, 62, 14] Operation: 90-76=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[2, 62, 14], Operations: ['90-76=14'] Exploring Operation: 62/2=31, Resulting Numbers: [14, 31] Generated Node #0,2,0: 66:[14, 31] Operation: 62/2=31 Exploring Operation: 2+62=64, Resulting Numbers: [14, 64] Generated Node #0,2,1: 66:[14, 64] Operation: 2+62=64 Exploring Operation: 14-2=12, Resulting Numbers: [62, 12] Generated Node #0,2,2: 66:[62, 12] Operation: 14-2=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[14, 31], Operations: ['90-76=14', '62/2=31'] Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,66 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,66 unequal: No Solution No 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: 66:[14, 64], Operations: ['90-76=14', '2+62=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,66 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,66 unequal: No Solution No 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: 66:[62, 12], Operations: ['90-76=14', '14-2=12'] Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,66 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,66 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: 66:[76, 2, 28], Operations: ['90-62=28'] Exploring Operation: 2+28=30, Resulting Numbers: [76, 30] Generated Node #0,1,0: 66:[76, 30] Operation: 2+28=30 Exploring Operation: 76/2=38, Resulting Numbers: [28, 38] Generated Node #0,1,1: 66:[28, 38] Operation: 76/2=38 Exploring Operation: 76-2=74, Resulting Numbers: [28, 74] Generated Node #0,1,2: 66:[28, 74] Operation: 76-2=74 Moving to Node #0,1,1 Current State: 66:[28, 38], Operations: ['90-62=28', '76/2=38'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,66 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[90, 76, 2, 62], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [76, 2, 28] Generated Node #0,1: 66:[76, 2, 28] Operation: 90-62=28 Moving to Node #0,1 Current State: 66:[76, 2, 28], Operations: ['90-62=28'] Exploring Operation: 76/2=38, Resulting Numbers: [28, 38] Generated Node #0,1,1: 66:[28, 38] Operation: 76/2=38 Moving to Node #0,1,1 Current State: 66:[28, 38], Operations: ['90-62=28', '76/2=38'] Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 38, 23, 29, 41 ]
98
[ "41-38=3", "23*3=69", "29+69=98" ]
Current State: 98:[38, 23, 29, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [23, 29, 3] Generated Node #2: [23, 29, 3] from Operation: 41-38=3 Current State: 98:[23, 29, 3], Operations: ['41-38=3'] Exploring Operation: 23*3=69, Resulting Numbers: [29, 69] Generated Node #3: [29, 69] from Operation: 23*3=69 Current State: 98:[29, 69], Operations: ['41-38=3', '23*3=69'] Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[38, 23, 29, 41], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [23, 41, 9] Generated Node #0,0: 98:[23, 41, 9] Operation: 38-29=9 Exploring Operation: 23+29=52, Resulting Numbers: [38, 41, 52] Generated Node #0,1: 98:[38, 41, 52] Operation: 23+29=52 Exploring Operation: 29-23=6, Resulting Numbers: [38, 41, 6] Generated Node #0,2: 98:[38, 41, 6] Operation: 29-23=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[23, 41, 9], Operations: ['38-29=9'] Exploring Operation: 23-9=14, Resulting Numbers: [41, 14] Generated Node #0,0,0: 98:[41, 14] Operation: 23-9=14 Exploring Operation: 41+9=50, Resulting Numbers: [23, 50] Generated Node #0,0,1: 98:[23, 50] Operation: 41+9=50 Exploring Operation: 41-23=18, Resulting Numbers: [9, 18] Generated Node #0,0,2: 98:[9, 18] Operation: 41-23=18 Moving to Node #0,0,2 Current State: 98:[9, 18], Operations: ['38-29=9', '41-23=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[41, 14], Operations: ['38-29=9', '23-9=14'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[23, 50], Operations: ['38-29=9', '41+9=50'] Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,98 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,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,2 Current State: 98:[38, 41, 6], Operations: ['29-23=6'] Exploring Operation: 41+6=47, Resulting Numbers: [38, 47] Generated Node #0,2,0: 98:[38, 47] Operation: 41+6=47 Exploring Operation: 41-38=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 98:[6, 3] Operation: 41-38=3 Exploring Operation: 38+6=44, Resulting Numbers: [41, 44] Generated Node #0,2,2: 98:[41, 44] Operation: 38+6=44 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[6, 3], Operations: ['29-23=6', '41-38=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[38, 47], Operations: ['29-23=6', '41+6=47'] Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,98 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[41, 44], Operations: ['29-23=6', '38+6=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,98 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[38, 41, 52], Operations: ['23+29=52'] Exploring Operation: 41-38=3, Resulting Numbers: [52, 3] Generated Node #0,1,0: 98:[52, 3] Operation: 41-38=3 Exploring Operation: 52-38=14, Resulting Numbers: [41, 14] Generated Node #0,1,1: 98:[41, 14] Operation: 52-38=14 Exploring Operation: 52-41=11, Resulting Numbers: [38, 11] Generated Node #0,1,2: 98:[38, 11] Operation: 52-41=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[52, 3], Operations: ['23+29=52', '41-38=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,98 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[41, 14], Operations: ['23+29=52', '52-38=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,98 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[38, 11], Operations: ['23+29=52', '52-41=11'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 38*11=418, Resulting Numbers: [418] 418,98 unequal: No Solution Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 19, 84, 46, 21 ]
40
[ "84-19=65", "46-21=25", "65-25=40" ]
Current State: 40:[19, 84, 46, 21], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [46, 21, 65] Generated Node #2: [46, 21, 65] from Operation: 84-19=65 Current State: 40:[46, 21, 65], Operations: ['84-19=65'] Exploring Operation: 46-21=25, Resulting Numbers: [65, 25] Generated Node #3: [65, 25] from Operation: 46-21=25 Current State: 40:[65, 25], Operations: ['84-19=65', '46-21=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[19, 84, 46, 21], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [19, 46, 63] Generated Node #0,0: 40:[19, 46, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [19, 46, 4] Generated Node #0,1: 40:[19, 46, 4] Operation: 84/21=4 Exploring Operation: 84-46=38, Resulting Numbers: [19, 21, 38] Generated Node #0,2: 40:[19, 21, 38] Operation: 84-46=38 Exploring Operation: 84-19=65, Resulting Numbers: [46, 21, 65] Generated Node #0,3: 40:[46, 21, 65] Operation: 84-19=65 Moving to Node #0,2 Current State: 40:[19, 21, 38], Operations: ['84-46=38'] Exploring Operation: 38-19=19, Resulting Numbers: [21, 19] Generated Node #0,2,0: 40:[21, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 40:[21, 2] Operation: 38/19=2 Exploring Operation: 19+21=40, Resulting Numbers: [38, 40] Generated Node #0,2,2: 40:[38, 40] Operation: 19+21=40 Exploring Operation: 21-19=2, Resulting Numbers: [38, 2] Generated Node #0,2,3: 40:[38, 2] Operation: 21-19=2 Moving to Node #0,1 Current State: 40:[19, 46, 4], Operations: ['84/21=4'] Exploring Operation: 19-4=15, Resulting Numbers: [46, 15] Generated Node #0,1,0: 40:[46, 15] Operation: 19-4=15 Exploring Operation: 19+4=23, Resulting Numbers: [46, 23] Generated Node #0,1,1: 40:[46, 23] Operation: 19+4=23 Exploring Operation: 46-4=42, Resulting Numbers: [19, 42] Generated Node #0,1,2: 40:[19, 42] Operation: 46-4=42 Exploring Operation: 46-19=27, Resulting Numbers: [4, 27] Generated Node #0,1,3: 40:[4, 27] Operation: 46-19=27 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[19, 42], Operations: ['84/21=4', '46-4=42'] Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,40 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[4, 27], Operations: ['84/21=4', '46-19=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[46, 23], Operations: ['84/21=4', '19+4=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,40 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[46, 15], Operations: ['84/21=4', '19-4=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,40 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,40 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: 40:[19, 46, 63], Operations: ['84-21=63'] Exploring Operation: 19+46=65, Resulting Numbers: [63, 65] Generated Node #0,0,0: 40:[63, 65] Operation: 19+46=65 Exploring Operation: 46-19=27, Resulting Numbers: [63, 27] Generated Node #0,0,1: 40:[63, 27] Operation: 46-19=27 Exploring Operation: 63-19=44, Resulting Numbers: [46, 44] Generated Node #0,0,2: 40:[46, 44] Operation: 63-19=44 Exploring Operation: 63-46=17, Resulting Numbers: [19, 17] Generated Node #0,0,3: 40:[19, 17] Operation: 63-46=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[19, 17], Operations: ['84-21=63', '63-46=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[46, 44], Operations: ['84-21=63', '63-19=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 46*44=2024, Resulting Numbers: [2024] 2024,40 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[63, 27], Operations: ['84-21=63', '46-19=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[63, 65], Operations: ['84-21=63', '19+46=65'] Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,40 unequal: No Solution Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,40 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: 40:[46, 21, 65], Operations: ['84-19=65'] Exploring Operation: 65-46=19, Resulting Numbers: [21, 19] Generated Node #0,3,0: 40:[21, 19] Operation: 65-46=19 Exploring Operation: 46-21=25, Resulting Numbers: [65, 25] Generated Node #0,3,1: 40:[65, 25] Operation: 46-21=25 Exploring Operation: 65-21=44, Resulting Numbers: [46, 44] Generated Node #0,3,2: 40:[46, 44] Operation: 65-21=44 Exploring Operation: 46+21=67, Resulting Numbers: [65, 67] Generated Node #0,3,3: 40:[65, 67] Operation: 46+21=67 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[21, 19], Operations: ['84-19=65', '65-46=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[19, 84, 46, 21], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [46, 21, 65] Generated Node #0,3: 40:[46, 21, 65] Operation: 84-19=65 Moving to Node #0,3 Current State: 40:[46, 21, 65], Operations: ['84-19=65'] Exploring Operation: 65-46=19, Resulting Numbers: [21, 19] Generated Node #0,3,0: 40:[21, 19] Operation: 65-46=19 Moving to Node #0,3,0 Current State: 40:[21, 19], Operations: ['84-19=65', '65-46=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 33, 17, 18, 47 ]
79
[ "33+17=50", "47-18=29", "50+29=79" ]
Current State: 79:[33, 17, 18, 47], Operations: [] Exploring Operation: 33+17=50, Resulting Numbers: [18, 47, 50] Generated Node #2: [18, 47, 50] from Operation: 33+17=50 Current State: 79:[18, 47, 50], Operations: ['33+17=50'] Exploring Operation: 47-18=29, Resulting Numbers: [50, 29] Generated Node #3: [50, 29] from Operation: 47-18=29 Current State: 79:[50, 29], Operations: ['33+17=50', '47-18=29'] Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[33, 17, 18, 47], Operations: [] Exploring Operation: 33+18=51, Resulting Numbers: [17, 47, 51] Generated Node #0,0: 79:[17, 47, 51] Operation: 33+18=51 Exploring Operation: 33+17=50, Resulting Numbers: [18, 47, 50] Generated Node #0,1: 79:[18, 47, 50] Operation: 33+17=50 Exploring Operation: 17+18=35, Resulting Numbers: [33, 47, 35] Generated Node #0,2: 79:[33, 47, 35] Operation: 17+18=35 Moving to Node #0,0 Current State: 79:[17, 47, 51], Operations: ['33+18=51'] Exploring Operation: 17+47=64, Resulting Numbers: [51, 64] Generated Node #0,0,0: 79:[51, 64] Operation: 17+47=64 Exploring Operation: 47-17=30, Resulting Numbers: [51, 30] Generated Node #0,0,1: 79:[51, 30] Operation: 47-17=30 Exploring Operation: 17+51=68, Resulting Numbers: [47, 68] Generated Node #0,0,2: 79:[47, 68] Operation: 17+51=68 Moving to Node #0,1 Current State: 79:[18, 47, 50], Operations: ['33+17=50'] Exploring Operation: 18+47=65, Resulting Numbers: [50, 65] Generated Node #0,1,0: 79:[50, 65] Operation: 18+47=65 Exploring Operation: 47-18=29, Resulting Numbers: [50, 29] Generated Node #0,1,1: 79:[50, 29] Operation: 47-18=29 Exploring Operation: 18+50=68, Resulting Numbers: [47, 68] Generated Node #0,1,2: 79:[47, 68] Operation: 18+50=68 Moving to Node #0,2 Current State: 79:[33, 47, 35], Operations: ['17+18=35'] Exploring Operation: 33+47=80, Resulting Numbers: [35, 80] Generated Node #0,2,0: 79:[35, 80] Operation: 33+47=80 Exploring Operation: 33+35=68, Resulting Numbers: [47, 68] Generated Node #0,2,1: 79:[47, 68] Operation: 33+35=68 Exploring Operation: 47+35=82, Resulting Numbers: [33, 82] Generated Node #0,2,2: 79:[33, 82] Operation: 47+35=82 Moving to Node #0,0,0 Current State: 79:[51, 64], Operations: ['33+18=51', '17+47=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,79 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[47, 68], Operations: ['17+18=35', '33+35=68'] Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[47, 68], Operations: ['33+18=51', '17+51=68'] Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[47, 68], Operations: ['33+17=50', '18+50=68'] Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,79 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[50, 65], Operations: ['33+17=50', '18+47=65'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,79 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[35, 80], Operations: ['17+18=35', '33+47=80'] Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,79 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[33, 82], Operations: ['17+18=35', '47+35=82'] Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[51, 30], Operations: ['33+18=51', '47-17=30'] Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,79 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[50, 29], Operations: ['33+17=50', '47-18=29'] Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[33, 17, 18, 47], Operations: [] Exploring Operation: 33+17=50, Resulting Numbers: [18, 47, 50] Generated Node #0,1: 79:[18, 47, 50] Operation: 33+17=50 Moving to Node #0,1 Current State: 79:[18, 47, 50], Operations: ['33+17=50'] Exploring Operation: 47-18=29, Resulting Numbers: [50, 29] Generated Node #0,1,1: 79:[50, 29] Operation: 47-18=29 Moving to Node #0,1,1 Current State: 79:[50, 29], Operations: ['33+17=50', '47-18=29'] Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 21, 16, 45, 23 ]
58
[ "23-21=2", "45-16=29", "2*29=58" ]
Current State: 58:[21, 16, 45, 23], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [16, 45, 2] Generated Node #2: [16, 45, 2] from Operation: 23-21=2 Current State: 58:[16, 45, 2], Operations: ['23-21=2'] Exploring Operation: 45-16=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 45-16=29 Current State: 58:[2, 29], Operations: ['23-21=2', '45-16=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[21, 16, 45, 23], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [21, 23, 29] Generated Node #0,0: 58:[21, 23, 29] Operation: 45-16=29 Exploring Operation: 16+45=61, Resulting Numbers: [21, 23, 61] Generated Node #0,1: 58:[21, 23, 61] Operation: 16+45=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[21, 23, 29], Operations: ['45-16=29'] Exploring Operation: 29-21=8, Resulting Numbers: [23, 8] Generated Node #0,0,0: 58:[23, 8] Operation: 29-21=8 Exploring Operation: 23-21=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 58:[29, 2] Operation: 23-21=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[29, 2], Operations: ['45-16=29', '23-21=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[21, 16, 45, 23], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [21, 23, 29] Generated Node #0,0: 58:[21, 23, 29] Operation: 45-16=29 Moving to Node #0,0 Current State: 58:[21, 23, 29], Operations: ['45-16=29'] Exploring Operation: 23-21=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 58:[29, 2] Operation: 23-21=2 Moving to Node #0,0,1 Current State: 58:[29, 2], Operations: ['45-16=29', '23-21=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 29, 53, 45, 3 ]
53
[ "29+53=82", "45*3=135", "135-82=53" ]
Current State: 53:[29, 53, 45, 3], Operations: [] Exploring Operation: 29+53=82, Resulting Numbers: [45, 3, 82] Generated Node #2: [45, 3, 82] from Operation: 29+53=82 Current State: 53:[45, 3, 82], Operations: ['29+53=82'] Exploring Operation: 45*3=135, Resulting Numbers: [82, 135] Generated Node #3: [82, 135] from Operation: 45*3=135 Current State: 53:[82, 135], Operations: ['29+53=82', '45*3=135'] Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[29, 53, 45, 3], Operations: [] Exploring Operation: 29+3=32, Resulting Numbers: [53, 45, 32] Generated Node #0,0: 53:[53, 45, 32] Operation: 29+3=32 Exploring Operation: 45+3=48, Resulting Numbers: [29, 53, 48] Generated Node #0,1: 53:[29, 53, 48] Operation: 45+3=48 Exploring Operation: 29-3=26, Resulting Numbers: [53, 45, 26] Generated Node #0,2: 53:[53, 45, 26] Operation: 29-3=26 Exploring Operation: 53-3=50, Resulting Numbers: [29, 45, 50] Generated Node #0,3: 53:[29, 45, 50] Operation: 53-3=50 Exploring Operation: 53+3=56, Resulting Numbers: [29, 45, 56] Generated Node #0,4: 53:[29, 45, 56] Operation: 53+3=56 Moving to Node #0,0 Current State: 53:[53, 45, 32], Operations: ['29+3=32'] Exploring Operation: 45-32=13, Resulting Numbers: [53, 13] Generated Node #0,0,0: 53:[53, 13] Operation: 45-32=13 Exploring Operation: 53+45=98, Resulting Numbers: [32, 98] Generated Node #0,0,1: 53:[32, 98] Operation: 53+45=98 Exploring Operation: 53+32=85, Resulting Numbers: [45, 85] Generated Node #0,0,2: 53:[45, 85] Operation: 53+32=85 Exploring Operation: 53-32=21, Resulting Numbers: [45, 21] Generated Node #0,0,3: 53:[45, 21] Operation: 53-32=21 Exploring Operation: 45+32=77, Resulting Numbers: [53, 77] Generated Node #0,0,4: 53:[53, 77] Operation: 45+32=77 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[53, 77], Operations: ['29+3=32', '45+32=77'] Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 53+77=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 53*77=4081, Resulting Numbers: [4081] 4081,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[53, 13], Operations: ['29+3=32', '45-32=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,53 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[45, 85], Operations: ['29+3=32', '53+32=85'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[45, 21], Operations: ['29+3=32', '53-32=21'] Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,53 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[32, 98], Operations: ['29+3=32', '53+45=98'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,53 unequal: No Solution Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[29, 53, 48], Operations: ['45+3=48'] Exploring Operation: 29+48=77, Resulting Numbers: [53, 77] Generated Node #0,1,0: 53:[53, 77] Operation: 29+48=77 Exploring Operation: 53+48=101, Resulting Numbers: [29, 101] Generated Node #0,1,1: 53:[29, 101] Operation: 53+48=101 Exploring Operation: 48-29=19, Resulting Numbers: [53, 19] Generated Node #0,1,2: 53:[53, 19] Operation: 48-29=19 Exploring Operation: 53-29=24, Resulting Numbers: [48, 24] Generated Node #0,1,3: 53:[48, 24] Operation: 53-29=24 Exploring Operation: 29+53=82, Resulting Numbers: [48, 82] Generated Node #0,1,4: 53:[48, 82] Operation: 29+53=82 Moving to Node #0,2 Current State: 53:[53, 45, 26], Operations: ['29-3=26'] Exploring Operation: 45-26=19, Resulting Numbers: [53, 19] Generated Node #0,2,0: 53:[53, 19] Operation: 45-26=19 Exploring Operation: 53-26=27, Resulting Numbers: [45, 27] Generated Node #0,2,1: 53:[45, 27] Operation: 53-26=27 Exploring Operation: 53+45=98, Resulting Numbers: [26, 98] Generated Node #0,2,2: 53:[26, 98] Operation: 53+45=98 Exploring Operation: 53+26=79, Resulting Numbers: [45, 79] Generated Node #0,2,3: 53:[45, 79] Operation: 53+26=79 Exploring Operation: 45+26=71, Resulting Numbers: [53, 71] Generated Node #0,2,4: 53:[53, 71] Operation: 45+26=71 Moving to Node #0,3 Current State: 53:[29, 45, 50], Operations: ['53-3=50'] Exploring Operation: 29+45=74, Resulting Numbers: [50, 74] Generated Node #0,3,0: 53:[50, 74] Operation: 29+45=74 Exploring Operation: 50-29=21, Resulting Numbers: [45, 21] Generated Node #0,3,1: 53:[45, 21] Operation: 50-29=21 Exploring Operation: 29+50=79, Resulting Numbers: [45, 79] Generated Node #0,3,2: 53:[45, 79] Operation: 29+50=79 Exploring Operation: 45+50=95, Resulting Numbers: [29, 95] Generated Node #0,3,3: 53:[29, 95] Operation: 45+50=95 Exploring Operation: 45-29=16, Resulting Numbers: [50, 16] Generated Node #0,3,4: 53:[50, 16] Operation: 45-29=16 Moving to Node #0,4 Current State: 53:[29, 45, 56], Operations: ['53+3=56'] Exploring Operation: 56-29=27, Resulting Numbers: [45, 27] Generated Node #0,4,0: 53:[45, 27] Operation: 56-29=27 Exploring Operation: 29+56=85, Resulting Numbers: [45, 85] Generated Node #0,4,1: 53:[45, 85] Operation: 29+56=85 Exploring Operation: 56-45=11, Resulting Numbers: [29, 11] Generated Node #0,4,2: 53:[29, 11] Operation: 56-45=11 Exploring Operation: 45-29=16, Resulting Numbers: [56, 16] Generated Node #0,4,3: 53:[56, 16] Operation: 45-29=16 Exploring Operation: 29+45=74, Resulting Numbers: [56, 74] Generated Node #0,4,4: 53:[56, 74] Operation: 29+45=74 Moving to Node #0,2,4 Current State: 53:[53, 71], Operations: ['29-3=26', '45+26=71'] Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,53 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[53, 77], Operations: ['45+3=48', '29+48=77'] Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 53*77=4081, Resulting Numbers: [4081] 4081,53 unequal: No Solution Exploring Operation: 53+77=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[50, 74], Operations: ['53-3=50', '29+45=74'] Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[56, 74], Operations: ['53+3=56', '29+45=74'] Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[53, 19], Operations: ['29-3=26', '45-26=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,53 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[48, 24], Operations: ['45+3=48', '53-29=24'] Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,53 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[45, 79], Operations: ['53-3=50', '29+50=79'] Exploring Operation: 45+79=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 45*79=3555, Resulting Numbers: [3555] 3555,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[45, 27], Operations: ['53+3=56', '56-29=27'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,53 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[45, 27], Operations: ['29-3=26', '53-26=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[53, 19], Operations: ['45+3=48', '48-29=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,53 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[45, 79], Operations: ['29-3=26', '53+26=79'] Exploring Operation: 45*79=3555, Resulting Numbers: [3555] 3555,53 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 45+79=124, Resulting Numbers: [124] 124,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[48, 82], Operations: ['45+3=48', '29+53=82'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,53 unequal: No Solution Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[50, 16], Operations: ['53-3=50', '45-29=16'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,53 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[45, 21], Operations: ['53-3=50', '50-29=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,53 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[56, 16], Operations: ['53+3=56', '45-29=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[45, 85], Operations: ['53+3=56', '29+56=85'] Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,53 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[29, 95], Operations: ['53-3=50', '45+50=95'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 29+95=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 29*95=2755, Resulting Numbers: [2755] 2755,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[29, 11], Operations: ['53+3=56', '56-45=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,53 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[26, 98], Operations: ['29-3=26', '53+45=98'] Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 26*98=2548, Resulting Numbers: [2548] 2548,53 unequal: No Solution Exploring Operation: 26+98=124, Resulting Numbers: [124] 124,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[29, 101], Operations: ['45+3=48', '53+48=101'] Exploring Operation: 101-29=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 29+101=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 29*101=2929, Resulting Numbers: [2929] 2929,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 48, 88, 24, 90 ]
24
[ "88*24=2112", "48+2112=2160", "2160/90=24" ]
Current State: 24:[48, 88, 24, 90], Operations: [] Exploring Operation: 88*24=2112, Resulting Numbers: [48, 90, 2112] Generated Node #2: [48, 90, 2112] from Operation: 88*24=2112 Current State: 24:[48, 90, 2112], Operations: ['88*24=2112'] Exploring Operation: 48+2112=2160, Resulting Numbers: [90, 2160] Generated Node #3: [90, 2160] from Operation: 48+2112=2160 Current State: 24:[90, 2160], Operations: ['88*24=2112', '48+2112=2160'] Exploring Operation: 2160/90=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[48, 88, 24, 90], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [24, 90, 40] Generated Node #0,0: 24:[24, 90, 40] Operation: 88-48=40 Exploring Operation: 90-88=2, Resulting Numbers: [48, 24, 2] Generated Node #0,1: 24:[48, 24, 2] Operation: 90-88=2 Moving to Node #0,1 Current State: 24:[48, 24, 2], Operations: ['90-88=2'] Exploring Operation: 48-24=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 24:[2, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 24:[2, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[2, 24], Operations: ['90-88=2', '48-24=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,24 unequal: No Solution No 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: 24:[2, 2], Operations: ['90-88=2', '48/24=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 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: 24:[24, 90, 40], Operations: ['88-48=40'] Exploring Operation: 90-24=66, Resulting Numbers: [40, 66] Generated Node #0,0,0: 24:[40, 66] Operation: 90-24=66 Exploring Operation: 90-40=50, Resulting Numbers: [24, 50] Generated Node #0,0,1: 24:[24, 50] Operation: 90-40=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[24, 50], Operations: ['88-48=40', '90-40=50'] Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,24 unequal: No Solution No 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: 24:[40, 66], Operations: ['88-48=40', '90-24=66'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,24 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
[ 14, 31, 11, 57 ]
91
[ "14+31=45", "57-11=46", "45+46=91" ]
Current State: 91:[14, 31, 11, 57], Operations: [] Exploring Operation: 14+31=45, Resulting Numbers: [11, 57, 45] Generated Node #2: [11, 57, 45] from Operation: 14+31=45 Current State: 91:[11, 57, 45], Operations: ['14+31=45'] Exploring Operation: 57-11=46, Resulting Numbers: [45, 46] Generated Node #3: [45, 46] from Operation: 57-11=46 Current State: 91:[45, 46], Operations: ['14+31=45', '57-11=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[14, 31, 11, 57], Operations: [] Exploring Operation: 31+57=88, Resulting Numbers: [14, 11, 88] Generated Node #0,0: 91:[14, 11, 88] Operation: 31+57=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[14, 11, 88], Operations: ['31+57=88'] Exploring Operation: 88/11=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 91:[14, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[14, 8], Operations: ['31+57=88', '88/11=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 96, 67, 39 ]
71
[ "67-64=3", "96/3=32", "39+32=71" ]
Current State: 71:[64, 96, 67, 39], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [96, 39, 3] Generated Node #2: [96, 39, 3] from Operation: 67-64=3 Current State: 71:[96, 39, 3], Operations: ['67-64=3'] Exploring Operation: 96/3=32, Resulting Numbers: [39, 32] Generated Node #3: [39, 32] from Operation: 96/3=32 Current State: 71:[39, 32], Operations: ['67-64=3', '96/3=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[64, 96, 67, 39], Operations: [] Exploring Operation: 67+39=106, Resulting Numbers: [64, 96, 106] Generated Node #0,0: 71:[64, 96, 106] Operation: 67+39=106 Exploring Operation: 64+39=103, Resulting Numbers: [96, 67, 103] Generated Node #0,1: 71:[96, 67, 103] Operation: 64+39=103 Exploring Operation: 96-39=57, Resulting Numbers: [64, 67, 57] Generated Node #0,2: 71:[64, 67, 57] Operation: 96-39=57 Moving to Node #0,2 Current State: 71:[64, 67, 57], Operations: ['96-39=57'] Exploring Operation: 67+57=124, Resulting Numbers: [64, 124] Generated Node #0,2,0: 71:[64, 124] Operation: 67+57=124 Exploring Operation: 64+57=121, Resulting Numbers: [67, 121] Generated Node #0,2,1: 71:[67, 121] Operation: 64+57=121 Exploring Operation: 64-57=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 71:[67, 7] Operation: 64-57=7 Moving to Node #0,1 Current State: 71:[96, 67, 103], Operations: ['64+39=103'] Exploring Operation: 96-67=29, Resulting Numbers: [103, 29] Generated Node #0,1,0: 71:[103, 29] Operation: 96-67=29 Exploring Operation: 103-67=36, Resulting Numbers: [96, 36] Generated Node #0,1,1: 71:[96, 36] Operation: 103-67=36 Exploring Operation: 103-96=7, Resulting Numbers: [67, 7] Generated Node #0,1,2: 71:[67, 7] Operation: 103-96=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[96, 36], Operations: ['64+39=103', '103-67=36'] Exploring Operation: 96*36=3456, Resulting Numbers: [3456] 3456,71 unequal: No Solution Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 96+36=132, Resulting Numbers: [132] 132,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[67, 7], Operations: ['64+39=103', '103-96=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[103, 29], Operations: ['64+39=103', '96-67=29'] Exploring Operation: 103*29=2987, Resulting Numbers: [2987] 2987,71 unequal: No Solution Exploring Operation: 103-29=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 103+29=132, Resulting Numbers: [132] 132,71 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: 71:[64, 96, 106], Operations: ['67+39=106'] Exploring Operation: 106-96=10, Resulting Numbers: [64, 10] Generated Node #0,0,0: 71:[64, 10] Operation: 106-96=10 Exploring Operation: 96-64=32, Resulting Numbers: [106, 32] Generated Node #0,0,1: 71:[106, 32] Operation: 96-64=32 Exploring Operation: 106-64=42, Resulting Numbers: [96, 42] Generated Node #0,0,2: 71:[96, 42] Operation: 106-64=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[96, 42], Operations: ['67+39=106', '106-64=42'] Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,71 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[64, 10], Operations: ['67+39=106', '106-96=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[106, 32], Operations: ['67+39=106', '96-64=32'] Exploring Operation: 106-32=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 106+32=138, Resulting Numbers: [138] 138,71 unequal: No Solution Exploring Operation: 106*32=3392, Resulting Numbers: [3392] 3392,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 71:[67, 121], Operations: ['96-39=57', '64+57=121'] Exploring Operation: 67*121=8107, Resulting Numbers: [8107] 8107,71 unequal: No Solution Exploring Operation: 67+121=188, Resulting Numbers: [188] 188,71 unequal: No Solution Exploring Operation: 121-67=54, Resulting Numbers: [54] 54,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[64, 124], Operations: ['96-39=57', '67+57=124'] Exploring Operation: 124-64=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 64+124=188, Resulting Numbers: [188] 188,71 unequal: No Solution Exploring Operation: 64*124=7936, Resulting Numbers: [7936] 7936,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[67, 7], Operations: ['96-39=57', '64-57=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,71 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 86, 40, 62, 33 ]
75
[ "86-40=46", "62-33=29", "46+29=75" ]
Current State: 75:[86, 40, 62, 33], Operations: [] Exploring Operation: 86-40=46, Resulting Numbers: [62, 33, 46] Generated Node #2: [62, 33, 46] from Operation: 86-40=46 Current State: 75:[62, 33, 46], Operations: ['86-40=46'] Exploring Operation: 62-33=29, Resulting Numbers: [46, 29] Generated Node #3: [46, 29] from Operation: 62-33=29 Current State: 75:[46, 29], Operations: ['86-40=46', '62-33=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[86, 40, 62, 33], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [86, 33, 22] Generated Node #0,0: 75:[86, 33, 22] Operation: 62-40=22 Exploring Operation: 86-62=24, Resulting Numbers: [40, 33, 24] Generated Node #0,1: 75:[40, 33, 24] Operation: 86-62=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[86, 33, 22], Operations: ['62-40=22'] Exploring Operation: 86-22=64, Resulting Numbers: [33, 64] Generated Node #0,0,0: 75:[33, 64] Operation: 86-22=64 Exploring Operation: 33-22=11, Resulting Numbers: [86, 11] Generated Node #0,0,1: 75:[86, 11] Operation: 33-22=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[86, 11], Operations: ['62-40=22', '33-22=11'] Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[86, 40, 62, 33], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [86, 33, 22] Generated Node #0,0: 75:[86, 33, 22] Operation: 62-40=22 Moving to Node #0,0 Current State: 75:[86, 33, 22], Operations: ['62-40=22'] Exploring Operation: 33-22=11, Resulting Numbers: [86, 11] Generated Node #0,0,1: 75:[86, 11] Operation: 33-22=11 Moving to Node #0,0,1 Current State: 75:[86, 11], Operations: ['62-40=22', '33-22=11'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 28, 74, 84, 47 ]
56
[ "28*74=2072", "84-47=37", "2072/37=56" ]
Current State: 56:[28, 74, 84, 47], Operations: [] Exploring Operation: 28*74=2072, Resulting Numbers: [84, 47, 2072] Generated Node #2: [84, 47, 2072] from Operation: 28*74=2072 Current State: 56:[84, 47, 2072], Operations: ['28*74=2072'] Exploring Operation: 84-47=37, Resulting Numbers: [2072, 37] Generated Node #3: [2072, 37] from Operation: 84-47=37 Current State: 56:[2072, 37], Operations: ['28*74=2072', '84-47=37'] Exploring Operation: 2072/37=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 74, 84, 47], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [28, 47, 10] Generated Node #0,0: 56:[28, 47, 10] Operation: 84-74=10 Moving to Node #0,0 Current State: 56:[28, 47, 10], Operations: ['84-74=10'] Exploring Operation: 47+10=57, Resulting Numbers: [28, 57] Generated Node #0,0,0: 56:[28, 57] Operation: 47+10=57 Moving to Node #0,0,0 Current State: 56:[28, 57], Operations: ['84-74=10', '47+10=57'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 35, 7, 81 ]
31
[ "3*35=105", "81-7=74", "105-74=31" ]
Current State: 31:[3, 35, 7, 81], Operations: [] Exploring Operation: 3*35=105, Resulting Numbers: [7, 81, 105] Generated Node #2: [7, 81, 105] from Operation: 3*35=105 Current State: 31:[7, 81, 105], Operations: ['3*35=105'] Exploring Operation: 81-7=74, Resulting Numbers: [105, 74] Generated Node #3: [105, 74] from Operation: 81-7=74 Current State: 31:[105, 74], Operations: ['3*35=105', '81-7=74'] Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[3, 35, 7, 81], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [35, 7, 27] Generated Node #0,0: 31:[35, 7, 27] Operation: 81/3=27 Exploring Operation: 81-35=46, Resulting Numbers: [3, 7, 46] Generated Node #0,1: 31:[3, 7, 46] Operation: 81-35=46 Exploring Operation: 3+7=10, Resulting Numbers: [35, 81, 10] Generated Node #0,2: 31:[35, 81, 10] Operation: 3+7=10 Exploring Operation: 35-3=32, Resulting Numbers: [7, 81, 32] Generated Node #0,3: 31:[7, 81, 32] Operation: 35-3=32 Exploring Operation: 3*7=21, Resulting Numbers: [35, 81, 21] Generated Node #0,4: 31:[35, 81, 21] Operation: 3*7=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[35, 7, 27], Operations: ['81/3=27'] Exploring Operation: 35/7=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 31:[27, 5] Operation: 35/7=5 Exploring Operation: 27-7=20, Resulting Numbers: [35, 20] Generated Node #0,0,1: 31:[35, 20] Operation: 27-7=20 Exploring Operation: 7+27=34, Resulting Numbers: [35, 34] Generated Node #0,0,2: 31:[35, 34] Operation: 7+27=34 Exploring Operation: 35+7=42, Resulting Numbers: [27, 42] Generated Node #0,0,3: 31:[27, 42] Operation: 35+7=42 Exploring Operation: 35-7=28, Resulting Numbers: [27, 28] Generated Node #0,0,4: 31:[27, 28] Operation: 35-7=28 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[35, 34], Operations: ['81/3=27', '7+27=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,31 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 31:[27, 28], Operations: ['81/3=27', '35-7=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[35, 20], Operations: ['81/3=27', '27-7=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,31 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[27, 42], Operations: ['81/3=27', '35+7=42'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[27, 5], Operations: ['81/3=27', '35/7=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[35, 81, 21], Operations: ['3*7=21'] Exploring Operation: 35+21=56, Resulting Numbers: [81, 56] Generated Node #0,4,0: 31:[81, 56] Operation: 35+21=56 Exploring Operation: 35-21=14, Resulting Numbers: [81, 14] Generated Node #0,4,1: 31:[81, 14] Operation: 35-21=14 Exploring Operation: 81+21=102, Resulting Numbers: [35, 102] Generated Node #0,4,2: 31:[35, 102] Operation: 81+21=102 Exploring Operation: 81-21=60, Resulting Numbers: [35, 60] Generated Node #0,4,3: 31:[35, 60] Operation: 81-21=60 Exploring Operation: 81-35=46, Resulting Numbers: [21, 46] Generated Node #0,4,4: 31:[21, 46] Operation: 81-35=46 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[21, 46], Operations: ['3*7=21', '81-35=46'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,31 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[35, 60], Operations: ['3*7=21', '81-21=60'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 35*60=2100, Resulting Numbers: [2100] 2100,31 unequal: No Solution Exploring Operation: 35+60=95, Resulting Numbers: [95] 95,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[81, 14], Operations: ['3*7=21', '35-21=14'] Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[81, 56], Operations: ['3*7=21', '35+21=56'] Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,31 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,31 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 31:[35, 102], Operations: ['3*7=21', '81+21=102'] Exploring Operation: 35+102=137, Resulting Numbers: [137] 137,31 unequal: No Solution Exploring Operation: 35*102=3570, Resulting Numbers: [3570] 3570,31 unequal: No Solution Exploring Operation: 102-35=67, Resulting Numbers: [67] 67,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[3, 7, 46], Operations: ['81-35=46'] Exploring Operation: 46-7=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 31:[3, 39] Operation: 46-7=39 Exploring Operation: 3*7=21, Resulting Numbers: [46, 21] Generated Node #0,1,1: 31:[46, 21] Operation: 3*7=21 Exploring Operation: 3+7=10, Resulting Numbers: [46, 10] Generated Node #0,1,2: 31:[46, 10] Operation: 3+7=10 Exploring Operation: 7-3=4, Resulting Numbers: [46, 4] Generated Node #0,1,3: 31:[46, 4] Operation: 7-3=4 Exploring Operation: 46-3=43, Resulting Numbers: [7, 43] Generated Node #0,1,4: 31:[7, 43] Operation: 46-3=43 Moving to Node #0,1,1 Current State: 31:[46, 21], Operations: ['81-35=46', '3*7=21'] Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[46, 10], Operations: ['81-35=46', '3+7=10'] Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,31 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[3, 39], Operations: ['81-35=46', '46-7=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[7, 43], Operations: ['81-35=46', '46-3=43'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[46, 4], Operations: ['81-35=46', '7-3=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,31 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[35, 81, 10], Operations: ['3+7=10'] Exploring Operation: 81+10=91, Resulting Numbers: [35, 91] Generated Node #0,2,0: 31:[35, 91] Operation: 81+10=91 Exploring Operation: 35+10=45, Resulting Numbers: [81, 45] Generated Node #0,2,1: 31:[81, 45] Operation: 35+10=45 Exploring Operation: 81-10=71, Resulting Numbers: [35, 71] Generated Node #0,2,2: 31:[35, 71] Operation: 81-10=71 Exploring Operation: 35-10=25, Resulting Numbers: [81, 25] Generated Node #0,2,3: 31:[81, 25] Operation: 35-10=25 Exploring Operation: 81-35=46, Resulting Numbers: [10, 46] Generated Node #0,2,4: 31:[10, 46] Operation: 81-35=46 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 31:[10, 46], Operations: ['3+7=10', '81-35=46'] Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,31 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[35, 71], Operations: ['3+7=10', '81-10=71'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[81, 25], Operations: ['3+7=10', '35-10=25'] Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,31 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[35, 91], Operations: ['3+7=10', '81+10=91'] Exploring Operation: 35*91=3185, Resulting Numbers: [3185] 3185,31 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 35+91=126, Resulting Numbers: [126] 126,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[81, 45], Operations: ['3+7=10', '35+10=45'] Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,31 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[7, 81, 32], Operations: ['35-3=32'] Exploring Operation: 81-7=74, Resulting Numbers: [32, 74] Generated Node #0,3,0: 31:[32, 74] Operation: 81-7=74 Exploring Operation: 81-32=49, Resulting Numbers: [7, 49] Generated Node #0,3,1: 31:[7, 49] Operation: 81-32=49 Exploring Operation: 32-7=25, Resulting Numbers: [81, 25] Generated Node #0,3,2: 31:[81, 25] Operation: 32-7=25 Exploring Operation: 7+81=88, Resulting Numbers: [32, 88] Generated Node #0,3,3: 31:[32, 88] Operation: 7+81=88 Exploring Operation: 7+32=39, Resulting Numbers: [81, 39] Generated Node #0,3,4: 31:[81, 39] Operation: 7+32=39 Moving to Node #0,3,1 Current State: 31:[7, 49], Operations: ['35-3=32', '81-32=49'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,31 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[32, 74], Operations: ['35-3=32', '81-7=74'] Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,31 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[81, 25], Operations: ['35-3=32', '32-7=25'] Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[32, 88], Operations: ['35-3=32', '7+81=88'] Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[81, 39], Operations: ['35-3=32', '7+32=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,31 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 43, 23, 45, 86 ]
67
[ "86/43=2", "45*2=90", "90-23=67" ]
Current State: 67:[43, 23, 45, 86], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [23, 45, 2] Generated Node #2: [23, 45, 2] from Operation: 86/43=2 Current State: 67:[23, 45, 2], Operations: ['86/43=2'] Exploring Operation: 45*2=90, Resulting Numbers: [23, 90] Generated Node #3: [23, 90] from Operation: 45*2=90 Current State: 67:[23, 90], Operations: ['86/43=2', '45*2=90'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[43, 23, 45, 86], Operations: [] Exploring Operation: 43+23=66, Resulting Numbers: [45, 86, 66] Generated Node #0,0: 67:[45, 86, 66] Operation: 43+23=66 Exploring Operation: 23+45=68, Resulting Numbers: [43, 86, 68] Generated Node #0,1: 67:[43, 86, 68] Operation: 23+45=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[45, 86, 66], Operations: ['43+23=66'] Exploring Operation: 86-45=41, Resulting Numbers: [66, 41] Generated Node #0,0,0: 67:[66, 41] Operation: 86-45=41 Exploring Operation: 45+66=111, Resulting Numbers: [86, 111] Generated Node #0,0,1: 67:[86, 111] Operation: 45+66=111 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[66, 41], Operations: ['43+23=66', '86-45=41'] Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,67 unequal: No Solution No 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: 67:[86, 111], Operations: ['43+23=66', '45+66=111'] Exploring Operation: 86+111=197, Resulting Numbers: [197] 197,67 unequal: No Solution Exploring Operation: 111-86=25, Resulting Numbers: [25] 25,67 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: 67:[43, 86, 68], Operations: ['23+45=68'] Exploring Operation: 86-43=43, Resulting Numbers: [68, 43] Generated Node #0,1,0: 67:[68, 43] Operation: 86-43=43 Exploring Operation: 68-43=25, Resulting Numbers: [86, 25] Generated Node #0,1,1: 67:[86, 25] Operation: 68-43=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[68, 43], Operations: ['23+45=68', '86-43=43'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,67 unequal: No Solution No 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: 67:[86, 25], Operations: ['23+45=68', '68-43=25'] Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,67 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
[ 86, 38, 34, 1 ]
82
[ "86-38=48", "34*1=34", "48+34=82" ]
Current State: 82:[86, 38, 34, 1], Operations: [] Exploring Operation: 86-38=48, Resulting Numbers: [34, 1, 48] Generated Node #2: [34, 1, 48] from Operation: 86-38=48 Current State: 82:[34, 1, 48], Operations: ['86-38=48'] Exploring Operation: 34*1=34, Resulting Numbers: [48, 34] Generated Node #3: [48, 34] from Operation: 34*1=34 Current State: 82:[48, 34], Operations: ['86-38=48', '34*1=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[86, 38, 34, 1], Operations: [] Exploring Operation: 86-1=85, Resulting Numbers: [38, 34, 85] Generated Node #0,0: 82:[38, 34, 85] Operation: 86-1=85 Exploring Operation: 38-34=4, Resulting Numbers: [86, 1, 4] Generated Node #0,1: 82:[86, 1, 4] Operation: 38-34=4 Moving to Node #0,1 Current State: 82:[86, 1, 4], Operations: ['38-34=4'] Exploring Operation: 86-1=85, Resulting Numbers: [4, 85] Generated Node #0,1,0: 82:[4, 85] Operation: 86-1=85 Exploring Operation: 86-4=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 86-4=82 Moving to Node #0,0 Current State: 82:[38, 34, 85], Operations: ['86-1=85'] Exploring Operation: 38-34=4, Resulting Numbers: [85, 4] Generated Node #0,0,0: 82:[85, 4] Operation: 38-34=4 Exploring Operation: 38+34=72, Resulting Numbers: [85, 72] Generated Node #0,0,1: 82:[85, 72] Operation: 38+34=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[85, 4], Operations: ['86-1=85', '38-34=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,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,1 Current State: 82:[85, 72], Operations: ['86-1=85', '38+34=72'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['38-34=4', '86-4=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[86, 38, 34, 1], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [86, 1, 4] Generated Node #0,1: 82:[86, 1, 4] Operation: 38-34=4 Moving to Node #0,1 Current State: 82:[86, 1, 4], Operations: ['38-34=4'] Exploring Operation: 86-4=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 86-4=82 Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['38-34=4', '86-4=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 30, 58, 35, 25 ]
16
[ "30*35=1050", "1050/25=42", "58-42=16" ]
Current State: 16:[30, 58, 35, 25], Operations: [] Exploring Operation: 30*35=1050, Resulting Numbers: [58, 25, 1050] Generated Node #2: [58, 25, 1050] from Operation: 30*35=1050 Current State: 16:[58, 25, 1050], Operations: ['30*35=1050'] Exploring Operation: 1050/25=42, Resulting Numbers: [58, 42] Generated Node #3: [58, 42] from Operation: 1050/25=42 Current State: 16:[58, 42], Operations: ['30*35=1050', '1050/25=42'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[30, 58, 35, 25], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [30, 35, 33] Generated Node #0,0: 16:[30, 35, 33] Operation: 58-25=33 Exploring Operation: 58-30=28, Resulting Numbers: [35, 25, 28] Generated Node #0,1: 16:[35, 25, 28] Operation: 58-30=28 Exploring Operation: 35-25=10, Resulting Numbers: [30, 58, 10] Generated Node #0,2: 16:[30, 58, 10] Operation: 35-25=10 Exploring Operation: 58-35=23, Resulting Numbers: [30, 25, 23] Generated Node #0,3: 16:[30, 25, 23] Operation: 58-35=23 Exploring Operation: 35-30=5, Resulting Numbers: [58, 25, 5] Generated Node #0,4: 16:[58, 25, 5] Operation: 35-30=5 Moving to Node #0,3 Current State: 16:[30, 25, 23], Operations: ['58-35=23'] Exploring Operation: 30+25=55, Resulting Numbers: [23, 55] Generated Node #0,3,0: 16:[23, 55] Operation: 30+25=55 Exploring Operation: 30-25=5, Resulting Numbers: [23, 5] Generated Node #0,3,1: 16:[23, 5] Operation: 30-25=5 Exploring Operation: 30-23=7, Resulting Numbers: [25, 7] Generated Node #0,3,2: 16:[25, 7] Operation: 30-23=7 Exploring Operation: 25-23=2, Resulting Numbers: [30, 2] Generated Node #0,3,3: 16:[30, 2] Operation: 25-23=2 Exploring Operation: 30+23=53, Resulting Numbers: [25, 53] Generated Node #0,3,4: 16:[25, 53] Operation: 30+23=53 Moving to Node #0,1 Current State: 16:[35, 25, 28], Operations: ['58-30=28'] Exploring Operation: 35-25=10, Resulting Numbers: [28, 10] Generated Node #0,1,0: 16:[28, 10] Operation: 35-25=10 Exploring Operation: 35+25=60, Resulting Numbers: [28, 60] Generated Node #0,1,1: 16:[28, 60] Operation: 35+25=60 Exploring Operation: 28-25=3, Resulting Numbers: [35, 3] Generated Node #0,1,2: 16:[35, 3] Operation: 28-25=3 Exploring Operation: 35-28=7, Resulting Numbers: [25, 7] Generated Node #0,1,3: 16:[25, 7] Operation: 35-28=7 Exploring Operation: 35+28=63, Resulting Numbers: [25, 63] Generated Node #0,1,4: 16:[25, 63] Operation: 35+28=63 Moving to Node #0,0 Current State: 16:[30, 35, 33], Operations: ['58-25=33'] Exploring Operation: 30+35=65, Resulting Numbers: [33, 65] Generated Node #0,0,0: 16:[33, 65] Operation: 30+35=65 Exploring Operation: 33-30=3, Resulting Numbers: [35, 3] Generated Node #0,0,1: 16:[35, 3] Operation: 33-30=3 Exploring Operation: 30+33=63, Resulting Numbers: [35, 63] Generated Node #0,0,2: 16:[35, 63] Operation: 30+33=63 Exploring Operation: 35-30=5, Resulting Numbers: [33, 5] Generated Node #0,0,3: 16:[33, 5] Operation: 35-30=5 Exploring Operation: 35-33=2, Resulting Numbers: [30, 2] Generated Node #0,0,4: 16:[30, 2] Operation: 35-33=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[30, 2], Operations: ['58-25=33', '35-33=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[33, 5], Operations: ['58-25=33', '35-30=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,16 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[35, 3], Operations: ['58-25=33', '33-30=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[33, 65], Operations: ['58-25=33', '30+35=65'] Exploring Operation: 33+65=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 33*65=2145, Resulting Numbers: [2145] 2145,16 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[35, 63], Operations: ['58-25=33', '30+33=63'] Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,16 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: 16:[58, 25, 5], Operations: ['35-30=5'] Exploring Operation: 25-5=20, Resulting Numbers: [58, 20] Generated Node #0,4,0: 16:[58, 20] Operation: 25-5=20 Exploring Operation: 58-5=53, Resulting Numbers: [25, 53] Generated Node #0,4,1: 16:[25, 53] Operation: 58-5=53 Exploring Operation: 58+5=63, Resulting Numbers: [25, 63] Generated Node #0,4,2: 16:[25, 63] Operation: 58+5=63 Exploring Operation: 25/5=5, Resulting Numbers: [58, 5] Generated Node #0,4,3: 16:[58, 5] Operation: 25/5=5 Exploring Operation: 58-25=33, Resulting Numbers: [5, 33] Generated Node #0,4,4: 16:[5, 33] Operation: 58-25=33 Moving to Node #0,2 Current State: 16:[30, 58, 10], Operations: ['35-25=10'] Exploring Operation: 30/10=3, Resulting Numbers: [58, 3] Generated Node #0,2,0: 16:[58, 3] Operation: 30/10=3 Exploring Operation: 30+10=40, Resulting Numbers: [58, 40] Generated Node #0,2,1: 16:[58, 40] Operation: 30+10=40 Exploring Operation: 58-10=48, Resulting Numbers: [30, 48] Generated Node #0,2,2: 16:[30, 48] Operation: 58-10=48 Exploring Operation: 30-10=20, Resulting Numbers: [58, 20] Generated Node #0,2,3: 16:[58, 20] Operation: 30-10=20 Exploring Operation: 58-30=28, Resulting Numbers: [10, 28] Generated Node #0,2,4: 16:[10, 28] Operation: 58-30=28 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 16:[10, 28], Operations: ['35-25=10', '58-30=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,16 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[58, 3], Operations: ['35-25=10', '30/10=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[30, 48], Operations: ['35-25=10', '58-10=48'] Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,16 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[58, 20], Operations: ['35-25=10', '30-10=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,16 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[58, 40], Operations: ['35-25=10', '30+10=40'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,16 unequal: No Solution Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 16:[23, 5], Operations: ['58-35=23', '30-25=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[25, 7], Operations: ['58-30=28', '35-28=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,16 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[25, 7], Operations: ['58-35=23', '30-23=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,16 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[28, 10], Operations: ['58-30=28', '35-25=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[30, 2], Operations: ['58-35=23', '25-23=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[5, 33], Operations: ['35-30=5', '58-25=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,16 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[35, 3], Operations: ['58-30=28', '28-25=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[58, 5], Operations: ['35-30=5', '25/5=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[25, 53], Operations: ['35-30=5', '58-5=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,16 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[58, 20], Operations: ['35-30=5', '25-5=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,16 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[25, 53], Operations: ['58-35=23', '30+23=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,16 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[23, 55], Operations: ['58-35=23', '30+25=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[25, 63], Operations: ['35-30=5', '58+5=63'] Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,16 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[28, 60], Operations: ['58-30=28', '35+25=60'] Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,16 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[25, 63], Operations: ['58-30=28', '35+28=63'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,16 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 82, 94, 62 ]
68
[ "94-82=12", "12/2=6", "62+6=68" ]
Current State: 68:[2, 82, 94, 62], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [2, 62, 12] Generated Node #2: [2, 62, 12] from Operation: 94-82=12 Current State: 68:[2, 62, 12], Operations: ['94-82=12'] Exploring Operation: 12/2=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 12/2=6 Current State: 68:[62, 6], Operations: ['94-82=12', '12/2=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 82, 94, 62], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [2, 82, 32] Generated Node #0,0: 68:[2, 82, 32] Operation: 94-62=32 Exploring Operation: 82-62=20, Resulting Numbers: [2, 94, 20] Generated Node #0,1: 68:[2, 94, 20] Operation: 82-62=20 Exploring Operation: 94/2=47, Resulting Numbers: [82, 62, 47] Generated Node #0,2: 68:[82, 62, 47] Operation: 94/2=47 Exploring Operation: 94-82=12, Resulting Numbers: [2, 62, 12] Generated Node #0,3: 68:[2, 62, 12] Operation: 94-82=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[2, 62, 12], Operations: ['94-82=12'] Exploring Operation: 12/2=6, Resulting Numbers: [62, 6] Generated Node #0,3,0: 68:[62, 6] Operation: 12/2=6 Exploring Operation: 62+12=74, Resulting Numbers: [2, 74] Generated Node #0,3,1: 68:[2, 74] Operation: 62+12=74 Exploring Operation: 62/2=31, Resulting Numbers: [12, 31] Generated Node #0,3,2: 68:[12, 31] Operation: 62/2=31 Exploring Operation: 2+62=64, Resulting Numbers: [12, 64] Generated Node #0,3,3: 68:[12, 64] Operation: 2+62=64 Moving to Node #0,3,1 Current State: 68:[2, 74], Operations: ['94-82=12', '62+12=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,68 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[12, 31], Operations: ['94-82=12', '62/2=31'] Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[62, 6], Operations: ['94-82=12', '12/2=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[2, 82, 94, 62], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [2, 62, 12] Generated Node #0,3: 68:[2, 62, 12] Operation: 94-82=12 Moving to Node #0,3 Current State: 68:[2, 62, 12], Operations: ['94-82=12'] Exploring Operation: 12/2=6, Resulting Numbers: [62, 6] Generated Node #0,3,0: 68:[62, 6] Operation: 12/2=6 Moving to Node #0,3,0 Current State: 68:[62, 6], Operations: ['94-82=12', '12/2=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 44, 18, 19, 90 ]
45
[ "44-18=26", "90-19=71", "71-26=45" ]
Current State: 45:[44, 18, 19, 90], Operations: [] Exploring Operation: 44-18=26, Resulting Numbers: [19, 90, 26] Generated Node #2: [19, 90, 26] from Operation: 44-18=26 Current State: 45:[19, 90, 26], Operations: ['44-18=26'] Exploring Operation: 90-19=71, Resulting Numbers: [26, 71] Generated Node #3: [26, 71] from Operation: 90-19=71 Current State: 45:[26, 71], Operations: ['44-18=26', '90-19=71'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[44, 18, 19, 90], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [18, 19, 46] Generated Node #0,0: 45:[18, 19, 46] Operation: 90-44=46 Exploring Operation: 90-19=71, Resulting Numbers: [44, 18, 71] Generated Node #0,1: 45:[44, 18, 71] Operation: 90-19=71 Exploring Operation: 90/18=5, Resulting Numbers: [44, 19, 5] Generated Node #0,2: 45:[44, 19, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[44, 19, 5], Operations: ['90/18=5'] Exploring Operation: 19-5=14, Resulting Numbers: [44, 14] Generated Node #0,2,0: 45:[44, 14] Operation: 19-5=14 Exploring Operation: 44+5=49, Resulting Numbers: [19, 49] Generated Node #0,2,1: 45:[19, 49] Operation: 44+5=49 Exploring Operation: 44-19=25, Resulting Numbers: [5, 25] Generated Node #0,2,2: 45:[5, 25] Operation: 44-19=25 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[44, 14], Operations: ['90/18=5', '19-5=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,45 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,45 unequal: No Solution No 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: 45:[19, 49], Operations: ['90/18=5', '44+5=49'] Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,45 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,45 unequal: No Solution No 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: 45:[5, 25], Operations: ['90/18=5', '44-19=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,45 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: 45:[18, 19, 46], Operations: ['90-44=46'] Exploring Operation: 19-18=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 45:[46, 1] Operation: 19-18=1 Exploring Operation: 46-19=27, Resulting Numbers: [18, 27] Generated Node #0,0,1: 45:[18, 27] Operation: 46-19=27 Exploring Operation: 18+19=37, Resulting Numbers: [46, 37] Generated Node #0,0,2: 45:[46, 37] Operation: 18+19=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[46, 1], Operations: ['90-44=46', '19-18=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[44, 18, 19, 90], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [18, 19, 46] Generated Node #0,0: 45:[18, 19, 46] Operation: 90-44=46 Moving to Node #0,0 Current State: 45:[18, 19, 46], Operations: ['90-44=46'] Exploring Operation: 19-18=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 45:[46, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 45:[46, 1], Operations: ['90-44=46', '19-18=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 55, 91, 64, 75 ]
51
[ "91-75=16", "64/16=4", "55-4=51" ]
Current State: 51:[55, 91, 64, 75], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [55, 64, 16] Generated Node #2: [55, 64, 16] from Operation: 91-75=16 Current State: 51:[55, 64, 16], Operations: ['91-75=16'] Exploring Operation: 64/16=4, Resulting Numbers: [55, 4] Generated Node #3: [55, 4] from Operation: 64/16=4 Current State: 51:[55, 4], Operations: ['91-75=16', '64/16=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[55, 91, 64, 75], Operations: [] Exploring Operation: 91-64=27, Resulting Numbers: [55, 75, 27] Generated Node #0,0: 51:[55, 75, 27] Operation: 91-64=27 Exploring Operation: 91-75=16, Resulting Numbers: [55, 64, 16] Generated Node #0,1: 51:[55, 64, 16] Operation: 91-75=16 Exploring Operation: 75-64=11, Resulting Numbers: [55, 91, 11] Generated Node #0,2: 51:[55, 91, 11] Operation: 75-64=11 Moving to Node #0,1 Current State: 51:[55, 64, 16], Operations: ['91-75=16'] Exploring Operation: 64/16=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 51:[55, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [55, 48] Generated Node #0,1,1: 51:[55, 48] Operation: 64-16=48 Exploring Operation: 64-55=9, Resulting Numbers: [16, 9] Generated Node #0,1,2: 51:[16, 9] Operation: 64-55=9 Moving to Node #0,0 Current State: 51:[55, 75, 27], Operations: ['91-64=27'] Exploring Operation: 75-55=20, Resulting Numbers: [27, 20] Generated Node #0,0,0: 51:[27, 20] Operation: 75-55=20 Exploring Operation: 75-27=48, Resulting Numbers: [55, 48] Generated Node #0,0,1: 51:[55, 48] Operation: 75-27=48 Exploring Operation: 55-27=28, Resulting Numbers: [75, 28] Generated Node #0,0,2: 51:[75, 28] Operation: 55-27=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[55, 48], Operations: ['91-64=27', '75-27=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,51 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[27, 20], Operations: ['91-64=27', '75-55=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[75, 28], Operations: ['91-64=27', '55-27=28'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,51 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 51:[55, 91, 11], Operations: ['75-64=11'] Exploring Operation: 55/11=5, Resulting Numbers: [91, 5] Generated Node #0,2,0: 51:[91, 5] Operation: 55/11=5 Exploring Operation: 91-55=36, Resulting Numbers: [11, 36] Generated Node #0,2,1: 51:[11, 36] Operation: 91-55=36 Exploring Operation: 91-11=80, Resulting Numbers: [55, 80] Generated Node #0,2,2: 51:[55, 80] Operation: 91-11=80 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[11, 36], Operations: ['75-64=11', '91-55=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[55, 80], Operations: ['75-64=11', '91-11=80'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,51 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[91, 5], Operations: ['75-64=11', '55/11=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,51 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: 51:[55, 4], Operations: ['91-75=16', '64/16=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[55, 91, 64, 75], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [55, 64, 16] Generated Node #0,1: 51:[55, 64, 16] Operation: 91-75=16 Moving to Node #0,1 Current State: 51:[55, 64, 16], Operations: ['91-75=16'] Exploring Operation: 64/16=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 51:[55, 4] Operation: 64/16=4 Moving to Node #0,1,0 Current State: 51:[55, 4], Operations: ['91-75=16', '64/16=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 89, 92, 13, 88 ]
72
[ "92-89=3", "88-13=75", "75-3=72" ]
Current State: 72:[89, 92, 13, 88], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [13, 88, 3] Generated Node #2: [13, 88, 3] from Operation: 92-89=3 Current State: 72:[13, 88, 3], Operations: ['92-89=3'] Exploring Operation: 88-13=75, Resulting Numbers: [3, 75] Generated Node #3: [3, 75] from Operation: 88-13=75 Current State: 72:[3, 75], Operations: ['92-89=3', '88-13=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[89, 92, 13, 88], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [92, 13, 1] Generated Node #0,0: 72:[92, 13, 1] Operation: 89-88=1 Exploring Operation: 92-13=79, Resulting Numbers: [89, 88, 79] Generated Node #0,1: 72:[89, 88, 79] Operation: 92-13=79 Exploring Operation: 92-88=4, Resulting Numbers: [89, 13, 4] Generated Node #0,2: 72:[89, 13, 4] Operation: 92-88=4 Exploring Operation: 89-13=76, Resulting Numbers: [92, 88, 76] Generated Node #0,3: 72:[92, 88, 76] Operation: 89-13=76 Exploring Operation: 92-89=3, Resulting Numbers: [13, 88, 3] Generated Node #0,4: 72:[13, 88, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[13, 88, 3], Operations: ['92-89=3'] Exploring Operation: 13*3=39, Resulting Numbers: [88, 39] Generated Node #0,4,0: 72:[88, 39] Operation: 13*3=39 Exploring Operation: 88-3=85, Resulting Numbers: [13, 85] Generated Node #0,4,1: 72:[13, 85] Operation: 88-3=85 Exploring Operation: 88-13=75, Resulting Numbers: [3, 75] Generated Node #0,4,2: 72:[3, 75] Operation: 88-13=75 Exploring Operation: 13+3=16, Resulting Numbers: [88, 16] Generated Node #0,4,3: 72:[88, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [88, 10] Generated Node #0,4,4: 72:[88, 10] Operation: 13-3=10 Moving to Node #0,4,2 Current State: 72:[3, 75], Operations: ['92-89=3', '88-13=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[89, 92, 13, 88], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [13, 88, 3] Generated Node #0,4: 72:[13, 88, 3] Operation: 92-89=3 Moving to Node #0,4 Current State: 72:[13, 88, 3], Operations: ['92-89=3'] Exploring Operation: 88-13=75, Resulting Numbers: [3, 75] Generated Node #0,4,2: 72:[3, 75] Operation: 88-13=75 Moving to Node #0,4,2 Current State: 72:[3, 75], Operations: ['92-89=3', '88-13=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 87, 82, 29, 59 ]
83
[ "87-82=5", "29+59=88", "88-5=83" ]
Current State: 83:[87, 82, 29, 59], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [29, 59, 5] Generated Node #2: [29, 59, 5] from Operation: 87-82=5 Current State: 83:[29, 59, 5], Operations: ['87-82=5'] Exploring Operation: 29+59=88, Resulting Numbers: [5, 88] Generated Node #3: [5, 88] from Operation: 29+59=88 Current State: 83:[5, 88], Operations: ['87-82=5', '29+59=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[87, 82, 29, 59], Operations: [] Exploring Operation: 29+59=88, Resulting Numbers: [87, 82, 88] Generated Node #0,0: 83:[87, 82, 88] Operation: 29+59=88 Exploring Operation: 82+29=111, Resulting Numbers: [87, 59, 111] Generated Node #0,1: 83:[87, 59, 111] Operation: 82+29=111 Exploring Operation: 87-29=58, Resulting Numbers: [82, 59, 58] Generated Node #0,2: 83:[82, 59, 58] Operation: 87-29=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[87, 82, 88], Operations: ['29+59=88'] Exploring Operation: 88-82=6, Resulting Numbers: [87, 6] Generated Node #0,0,0: 83:[87, 6] Operation: 88-82=6 Exploring Operation: 88-87=1, Resulting Numbers: [82, 1] Generated Node #0,0,1: 83:[82, 1] Operation: 88-87=1 Exploring Operation: 87-82=5, Resulting Numbers: [88, 5] Generated Node #0,0,2: 83:[88, 5] Operation: 87-82=5 Moving to Node #0,0,0 Current State: 83:[87, 6], Operations: ['29+59=88', '88-82=6'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[82, 1], Operations: ['29+59=88', '88-87=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[87, 82, 29, 59], Operations: [] Exploring Operation: 29+59=88, Resulting Numbers: [87, 82, 88] Generated Node #0,0: 83:[87, 82, 88] Operation: 29+59=88 Moving to Node #0,0 Current State: 83:[87, 82, 88], Operations: ['29+59=88'] Exploring Operation: 88-87=1, Resulting Numbers: [82, 1] Generated Node #0,0,1: 83:[82, 1] Operation: 88-87=1 Moving to Node #0,0,1 Current State: 83:[82, 1], Operations: ['29+59=88', '88-87=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 54, 4, 42, 22 ]
59
[ "42-22=20", "20/4=5", "54+5=59" ]
Current State: 59:[54, 4, 42, 22], Operations: [] Exploring Operation: 42-22=20, Resulting Numbers: [54, 4, 20] Generated Node #2: [54, 4, 20] from Operation: 42-22=20 Current State: 59:[54, 4, 20], Operations: ['42-22=20'] Exploring Operation: 20/4=5, Resulting Numbers: [54, 5] Generated Node #3: [54, 5] from Operation: 20/4=5 Current State: 59:[54, 5], Operations: ['42-22=20', '20/4=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[54, 4, 42, 22], Operations: [] Exploring Operation: 4+42=46, Resulting Numbers: [54, 22, 46] Generated Node #0,0: 59:[54, 22, 46] Operation: 4+42=46 Exploring Operation: 4+22=26, Resulting Numbers: [54, 42, 26] Generated Node #0,1: 59:[54, 42, 26] Operation: 4+22=26 Exploring Operation: 54+4=58, Resulting Numbers: [42, 22, 58] Generated Node #0,2: 59:[42, 22, 58] Operation: 54+4=58 Exploring Operation: 4*22=88, Resulting Numbers: [54, 42, 88] Generated Node #0,3: 59:[54, 42, 88] Operation: 4*22=88 Moving to Node #0,3 Current State: 59:[54, 42, 88], Operations: ['4*22=88'] Exploring Operation: 54-42=12, Resulting Numbers: [88, 12] Generated Node #0,3,0: 59:[88, 12] Operation: 54-42=12 Exploring Operation: 88-42=46, Resulting Numbers: [54, 46] Generated Node #0,3,1: 59:[54, 46] Operation: 88-42=46 Exploring Operation: 54+42=96, Resulting Numbers: [88, 96] Generated Node #0,3,2: 59:[88, 96] Operation: 54+42=96 Exploring Operation: 88-54=34, Resulting Numbers: [42, 34] Generated Node #0,3,3: 59:[42, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[54, 46], Operations: ['4*22=88', '88-42=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,59 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[42, 34], Operations: ['4*22=88', '88-54=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[88, 96], Operations: ['4*22=88', '54+42=96'] Exploring Operation: 88+96=184, Resulting Numbers: [184] 184,59 unequal: No Solution Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 88*96=8448, Resulting Numbers: [8448] 8448,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[88, 12], Operations: ['4*22=88', '54-42=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,59 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,59 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: 59:[54, 42, 26], Operations: ['4+22=26'] Exploring Operation: 42+26=68, Resulting Numbers: [54, 68] Generated Node #0,1,0: 59:[54, 68] Operation: 42+26=68 Exploring Operation: 42-26=16, Resulting Numbers: [54, 16] Generated Node #0,1,1: 59:[54, 16] Operation: 42-26=16 Exploring Operation: 54+26=80, Resulting Numbers: [42, 80] Generated Node #0,1,2: 59:[42, 80] Operation: 54+26=80 Exploring Operation: 54-26=28, Resulting Numbers: [42, 28] Generated Node #0,1,3: 59:[42, 28] Operation: 54-26=28 Moving to Node #0,0 Current State: 59:[54, 22, 46], Operations: ['4+42=46'] Exploring Operation: 46-22=24, Resulting Numbers: [54, 24] Generated Node #0,0,0: 59:[54, 24] Operation: 46-22=24 Exploring Operation: 54-22=32, Resulting Numbers: [46, 32] Generated Node #0,0,1: 59:[46, 32] Operation: 54-22=32 Exploring Operation: 22+46=68, Resulting Numbers: [54, 68] Generated Node #0,0,2: 59:[54, 68] Operation: 22+46=68 Exploring Operation: 54+22=76, Resulting Numbers: [46, 76] Generated Node #0,0,3: 59:[46, 76] Operation: 54+22=76 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[54, 68], Operations: ['4+42=46', '22+46=68'] Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[46, 76], Operations: ['4+42=46', '54+22=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[54, 24], Operations: ['4+42=46', '46-22=24'] Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[46, 32], Operations: ['4+42=46', '54-22=32'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,59 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[42, 22, 58], Operations: ['54+4=58'] Exploring Operation: 42+22=64, Resulting Numbers: [58, 64] Generated Node #0,2,0: 59:[58, 64] Operation: 42+22=64 Exploring Operation: 42-22=20, Resulting Numbers: [58, 20] Generated Node #0,2,1: 59:[58, 20] Operation: 42-22=20 Exploring Operation: 58-22=36, Resulting Numbers: [42, 36] Generated Node #0,2,2: 59:[42, 36] Operation: 58-22=36 Exploring Operation: 22+58=80, Resulting Numbers: [42, 80] Generated Node #0,2,3: 59:[42, 80] Operation: 22+58=80 Moving to Node #0,2,0 Current State: 59:[58, 64], Operations: ['54+4=58', '42+22=64'] Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,59 unequal: No Solution Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[54, 68], Operations: ['4+22=26', '42+26=68'] Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,59 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[42, 80], Operations: ['54+4=58', '22+58=80'] Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[42, 80], Operations: ['4+22=26', '54+26=80'] Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[58, 20], Operations: ['54+4=58', '42-22=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,59 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[42, 36], Operations: ['54+4=58', '58-22=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,59 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[54, 16], Operations: ['4+22=26', '42-26=16'] Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,59 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[42, 28], Operations: ['4+22=26', '54-26=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,59 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 51, 85, 2 ]
18
[ "28+2=30", "51*30=1530", "1530/85=18" ]
Current State: 18:[28, 51, 85, 2], Operations: [] Exploring Operation: 28+2=30, Resulting Numbers: [51, 85, 30] Generated Node #2: [51, 85, 30] from Operation: 28+2=30 Current State: 18:[51, 85, 30], Operations: ['28+2=30'] Exploring Operation: 51*30=1530, Resulting Numbers: [85, 1530] Generated Node #3: [85, 1530] from Operation: 51*30=1530 Current State: 18:[85, 1530], Operations: ['28+2=30', '51*30=1530'] Exploring Operation: 1530/85=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 51, 85, 2], Operations: [] Exploring Operation: 28-2=26, Resulting Numbers: [51, 85, 26] Generated Node #0,0: 18:[51, 85, 26] Operation: 28-2=26 Exploring Operation: 85-28=57, Resulting Numbers: [51, 2, 57] Generated Node #0,1: 18:[51, 2, 57] Operation: 85-28=57 Exploring Operation: 28/2=14, Resulting Numbers: [51, 85, 14] Generated Node #0,2: 18:[51, 85, 14] Operation: 28/2=14 Exploring Operation: 85-51=34, Resulting Numbers: [28, 2, 34] Generated Node #0,3: 18:[28, 2, 34] Operation: 85-51=34 Exploring Operation: 51-28=23, Resulting Numbers: [85, 2, 23] Generated Node #0,4: 18:[85, 2, 23] Operation: 51-28=23 Moving to Node #0,3 Current State: 18:[28, 2, 34], Operations: ['85-51=34'] Exploring Operation: 34/2=17, Resulting Numbers: [28, 17] Generated Node #0,3,0: 18:[28, 17] Operation: 34/2=17 Exploring Operation: 28-2=26, Resulting Numbers: [34, 26] Generated Node #0,3,1: 18:[34, 26] Operation: 28-2=26 Exploring Operation: 34-2=32, Resulting Numbers: [28, 32] Generated Node #0,3,2: 18:[28, 32] Operation: 34-2=32 Exploring Operation: 34-28=6, Resulting Numbers: [2, 6] Generated Node #0,3,3: 18:[2, 6] Operation: 34-28=6 Exploring Operation: 28/2=14, Resulting Numbers: [34, 14] Generated Node #0,3,4: 18:[34, 14] Operation: 28/2=14 Moving to Node #0,4 Current State: 18:[85, 2, 23], Operations: ['51-28=23'] Exploring Operation: 85-23=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 18:[2, 62] Operation: 85-23=62 Exploring Operation: 85+2=87, Resulting Numbers: [23, 87] Generated Node #0,4,1: 18:[23, 87] Operation: 85+2=87 Exploring Operation: 23-2=21, Resulting Numbers: [85, 21] Generated Node #0,4,2: 18:[85, 21] Operation: 23-2=21 Exploring Operation: 85-2=83, Resulting Numbers: [23, 83] Generated Node #0,4,3: 18:[23, 83] Operation: 85-2=83 Exploring Operation: 2+23=25, Resulting Numbers: [85, 25] Generated Node #0,4,4: 18:[85, 25] Operation: 2+23=25 Moving to Node #0,1 Current State: 18:[51, 2, 57], Operations: ['85-28=57'] Exploring Operation: 51+2=53, Resulting Numbers: [57, 53] Generated Node #0,1,0: 18:[57, 53] Operation: 51+2=53 Exploring Operation: 51-2=49, Resulting Numbers: [57, 49] Generated Node #0,1,1: 18:[57, 49] Operation: 51-2=49 Exploring Operation: 57-51=6, Resulting Numbers: [2, 6] Generated Node #0,1,2: 18:[2, 6] Operation: 57-51=6 Exploring Operation: 57-2=55, Resulting Numbers: [51, 55] Generated Node #0,1,3: 18:[51, 55] Operation: 57-2=55 Exploring Operation: 2+57=59, Resulting Numbers: [51, 59] Generated Node #0,1,4: 18:[51, 59] Operation: 2+57=59 Moving to Node #0,2 Current State: 18:[51, 85, 14], Operations: ['28/2=14'] Exploring Operation: 85-51=34, Resulting Numbers: [14, 34] Generated Node #0,2,0: 18:[14, 34] Operation: 85-51=34 Exploring Operation: 51+14=65, Resulting Numbers: [85, 65] Generated Node #0,2,1: 18:[85, 65] Operation: 51+14=65 Exploring Operation: 51-14=37, Resulting Numbers: [85, 37] Generated Node #0,2,2: 18:[85, 37] Operation: 51-14=37 Exploring Operation: 85-14=71, Resulting Numbers: [51, 71] Generated Node #0,2,3: 18:[51, 71] Operation: 85-14=71 Exploring Operation: 85+14=99, Resulting Numbers: [51, 99] Generated Node #0,2,4: 18:[51, 99] Operation: 85+14=99 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[14, 34], Operations: ['28/2=14', '85-51=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[85, 37], Operations: ['28/2=14', '51-14=37'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,18 unequal: No Solution Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[51, 71], Operations: ['28/2=14', '85-14=71'] Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,18 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[85, 65], Operations: ['28/2=14', '51+14=65'] Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,18 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[51, 99], Operations: ['28/2=14', '85+14=99'] Exploring Operation: 51+99=150, Resulting Numbers: [150] 150,18 unequal: No Solution Exploring Operation: 99-51=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 51*99=5049, Resulting Numbers: [5049] 5049,18 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: 18:[51, 85, 26], Operations: ['28-2=26'] Exploring Operation: 51+26=77, Resulting Numbers: [85, 77] Generated Node #0,0,0: 18:[85, 77] Operation: 51+26=77 Exploring Operation: 51-26=25, Resulting Numbers: [85, 25] Generated Node #0,0,1: 18:[85, 25] Operation: 51-26=25 Exploring Operation: 85-51=34, Resulting Numbers: [26, 34] Generated Node #0,0,2: 18:[26, 34] Operation: 85-51=34 Exploring Operation: 51+85=136, Resulting Numbers: [26, 136] Generated Node #0,0,3: 18:[26, 136] Operation: 51+85=136 Exploring Operation: 85-26=59, Resulting Numbers: [51, 59] Generated Node #0,0,4: 18:[51, 59] Operation: 85-26=59 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[26, 34], Operations: ['28-2=26', '85-51=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,18 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[85, 25], Operations: ['28-2=26', '51-26=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,18 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 18:[51, 59], Operations: ['28-2=26', '85-26=59'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[85, 77], Operations: ['28-2=26', '51+26=77'] Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 85+77=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 85*77=6545, Resulting Numbers: [6545] 6545,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[26, 136], Operations: ['28-2=26', '51+85=136'] Exploring Operation: 26*136=3536, Resulting Numbers: [3536] 3536,18 unequal: No Solution Exploring Operation: 26+136=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 136-26=110, Resulting Numbers: [110] 110,18 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: 18:[2, 6], Operations: ['85-51=34', '34-28=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[2, 6], Operations: ['85-28=57', '57-51=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[28, 17], Operations: ['85-51=34', '34/2=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,18 unequal: No Solution Moving to Node #0,3,4 Current State: 18:[34, 14], Operations: ['85-51=34', '28/2=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[28, 32], Operations: ['85-51=34', '34-2=32'] Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,18 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[34, 26], Operations: ['85-51=34', '28-2=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,18 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[2, 62], Operations: ['51-28=23', '85-23=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,18 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,18 unequal: No Solution Moving to Node #0,4,2 Current State: 18:[85, 21], Operations: ['51-28=23', '23-2=21'] Exploring Operation: 85*21=1785, Resulting Numbers: [1785] 1785,18 unequal: No Solution Exploring Operation: 85+21=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[57, 49], Operations: ['85-28=57', '51-2=49'] Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,18 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[23, 83], Operations: ['51-28=23', '85-2=83'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 23*83=1909, Resulting Numbers: [1909] 1909,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[51, 55], Operations: ['85-28=57', '57-2=55'] Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[85, 25], Operations: ['51-28=23', '2+23=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,18 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[23, 87], Operations: ['51-28=23', '85+2=87'] Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 23*87=2001, Resulting Numbers: [2001] 2001,18 unequal: No Solution Exploring Operation: 23+87=110, Resulting Numbers: [110] 110,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[51, 59], Operations: ['85-28=57', '2+57=59'] Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,18 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[57, 53], Operations: ['85-28=57', '51+2=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,18 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 87, 84, 18, 1 ]
14
[ "87-84=3", "18-1=17", "17-3=14" ]
Current State: 14:[87, 84, 18, 1], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [18, 1, 3] Generated Node #2: [18, 1, 3] from Operation: 87-84=3 Current State: 14:[18, 1, 3], Operations: ['87-84=3'] Exploring Operation: 18-1=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 18-1=17 Current State: 14:[3, 17], Operations: ['87-84=3', '18-1=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[87, 84, 18, 1], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [84, 1, 69] Generated Node #0,0: 14:[84, 1, 69] Operation: 87-18=69 Exploring Operation: 87-1=86, Resulting Numbers: [84, 18, 86] Generated Node #0,1: 14:[84, 18, 86] Operation: 87-1=86 Exploring Operation: 84-1=83, Resulting Numbers: [87, 18, 83] Generated Node #0,2: 14:[87, 18, 83] Operation: 84-1=83 Exploring Operation: 84-18=66, Resulting Numbers: [87, 1, 66] Generated Node #0,3: 14:[87, 1, 66] Operation: 84-18=66 Exploring Operation: 87-84=3, Resulting Numbers: [18, 1, 3] Generated Node #0,4: 14:[18, 1, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[18, 1, 3], Operations: ['87-84=3'] Exploring Operation: 18-1=17, Resulting Numbers: [3, 17] Generated Node #0,4,0: 14:[3, 17] Operation: 18-1=17 Exploring Operation: 18/3=6, Resulting Numbers: [1, 6] Generated Node #0,4,1: 14:[1, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [1, 15] Generated Node #0,4,2: 14:[1, 15] Operation: 18-3=15 Exploring Operation: 18*1=18, Resulting Numbers: [3, 18] Generated Node #0,4,3: 14:[3, 18] Operation: 18*1=18 Exploring Operation: 3-1=2, Resulting Numbers: [18, 2] Generated Node #0,4,4: 14:[18, 2] Operation: 3-1=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 14:[1, 6], Operations: ['87-84=3', '18/3=6'] Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,14 unequal: No Solution No 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: 14:[1, 15], Operations: ['87-84=3', '18-3=15'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[87, 84, 18, 1], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [18, 1, 3] Generated Node #0,4: 14:[18, 1, 3] Operation: 87-84=3 Moving to Node #0,4 Current State: 14:[18, 1, 3], Operations: ['87-84=3'] Exploring Operation: 18-3=15, Resulting Numbers: [1, 15] Generated Node #0,4,2: 14:[1, 15] Operation: 18-3=15 Moving to Node #0,4,2 Current State: 14:[1, 15], Operations: ['87-84=3', '18-3=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 20, 49, 80, 74 ]
75
[ "20+49=69", "80-74=6", "69+6=75" ]
Current State: 75:[20, 49, 80, 74], Operations: [] Exploring Operation: 20+49=69, Resulting Numbers: [80, 74, 69] Generated Node #2: [80, 74, 69] from Operation: 20+49=69 Current State: 75:[80, 74, 69], Operations: ['20+49=69'] Exploring Operation: 80-74=6, Resulting Numbers: [69, 6] Generated Node #3: [69, 6] from Operation: 80-74=6 Current State: 75:[69, 6], Operations: ['20+49=69', '80-74=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[20, 49, 80, 74], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [20, 80, 25] Generated Node #0,0: 75:[20, 80, 25] Operation: 74-49=25 Exploring Operation: 49-20=29, Resulting Numbers: [80, 74, 29] Generated Node #0,1: 75:[80, 74, 29] Operation: 49-20=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[20, 80, 25], Operations: ['74-49=25'] Exploring Operation: 25-20=5, Resulting Numbers: [80, 5] Generated Node #0,0,0: 75:[80, 5] Operation: 25-20=5 Exploring Operation: 80/20=4, Resulting Numbers: [25, 4] Generated Node #0,0,1: 75:[25, 4] Operation: 80/20=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[25, 4], Operations: ['74-49=25', '80/20=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,75 unequal: No Solution No 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: 75:[80, 5], Operations: ['74-49=25', '25-20=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[20, 49, 80, 74], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [20, 80, 25] Generated Node #0,0: 75:[20, 80, 25] Operation: 74-49=25 Moving to Node #0,0 Current State: 75:[20, 80, 25], Operations: ['74-49=25'] Exploring Operation: 25-20=5, Resulting Numbers: [80, 5] Generated Node #0,0,0: 75:[80, 5] Operation: 25-20=5 Moving to Node #0,0,0 Current State: 75:[80, 5], Operations: ['74-49=25', '25-20=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 11, 78, 84, 43 ]
48
[ "11+78=89", "84-43=41", "89-41=48" ]
Current State: 48:[11, 78, 84, 43], Operations: [] Exploring Operation: 11+78=89, Resulting Numbers: [84, 43, 89] Generated Node #2: [84, 43, 89] from Operation: 11+78=89 Current State: 48:[84, 43, 89], Operations: ['11+78=89'] Exploring Operation: 84-43=41, Resulting Numbers: [89, 41] Generated Node #3: [89, 41] from Operation: 84-43=41 Current State: 48:[89, 41], Operations: ['11+78=89', '84-43=41'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 78, 84, 43], Operations: [] Exploring Operation: 78-11=67, Resulting Numbers: [84, 43, 67] Generated Node #0,0: 48:[84, 43, 67] Operation: 78-11=67 Exploring Operation: 78-43=35, Resulting Numbers: [11, 84, 35] Generated Node #0,1: 48:[11, 84, 35] Operation: 78-43=35 Exploring Operation: 84-78=6, Resulting Numbers: [11, 43, 6] Generated Node #0,2: 48:[11, 43, 6] Operation: 84-78=6 Exploring Operation: 84-43=41, Resulting Numbers: [11, 78, 41] Generated Node #0,3: 48:[11, 78, 41] Operation: 84-43=41 Moving to Node #0,2 Current State: 48:[11, 43, 6], Operations: ['84-78=6'] Exploring Operation: 11+6=17, Resulting Numbers: [43, 17] Generated Node #0,2,0: 48:[43, 17] Operation: 11+6=17 Exploring Operation: 43+6=49, Resulting Numbers: [11, 49] Generated Node #0,2,1: 48:[11, 49] Operation: 43+6=49 Exploring Operation: 11+43=54, Resulting Numbers: [6, 54] Generated Node #0,2,2: 48:[6, 54] Operation: 11+43=54 Exploring Operation: 11-6=5, Resulting Numbers: [43, 5] Generated Node #0,2,3: 48:[43, 5] Operation: 11-6=5 Moving to Node #0,3 Current State: 48:[11, 78, 41], Operations: ['84-43=41'] Exploring Operation: 78-11=67, Resulting Numbers: [41, 67] Generated Node #0,3,0: 48:[41, 67] Operation: 78-11=67 Exploring Operation: 11+41=52, Resulting Numbers: [78, 52] Generated Node #0,3,1: 48:[78, 52] Operation: 11+41=52 Exploring Operation: 78-41=37, Resulting Numbers: [11, 37] Generated Node #0,3,2: 48:[11, 37] Operation: 78-41=37 Exploring Operation: 41-11=30, Resulting Numbers: [78, 30] Generated Node #0,3,3: 48:[78, 30] Operation: 41-11=30 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[11, 37], Operations: ['84-43=41', '78-41=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[11, 78, 84, 43], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [11, 78, 41] Generated Node #0,3: 48:[11, 78, 41] Operation: 84-43=41 Moving to Node #0,3 Current State: 48:[11, 78, 41], Operations: ['84-43=41'] Exploring Operation: 78-41=37, Resulting Numbers: [11, 37] Generated Node #0,3,2: 48:[11, 37] Operation: 78-41=37 Moving to Node #0,3,2 Current State: 48:[11, 37], Operations: ['84-43=41', '78-41=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 12, 1, 2, 15 ]
84
[ "12/2=6", "15-1=14", "6*14=84" ]
Current State: 84:[12, 1, 2, 15], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [1, 15, 6] Generated Node #2: [1, 15, 6] from Operation: 12/2=6 Current State: 84:[1, 15, 6], Operations: ['12/2=6'] Exploring Operation: 15-1=14, Resulting Numbers: [6, 14] Generated Node #3: [6, 14] from Operation: 15-1=14 Current State: 84:[6, 14], Operations: ['12/2=6', '15-1=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 1, 2, 15], Operations: [] Exploring Operation: 15-12=3, Resulting Numbers: [1, 2, 3] Generated Node #0,0: 84:[1, 2, 3] Operation: 15-12=3 Exploring Operation: 15-1=14, Resulting Numbers: [12, 2, 14] Generated Node #0,1: 84:[12, 2, 14] Operation: 15-1=14 Exploring Operation: 12/1=12, Resulting Numbers: [2, 15, 12] Generated Node #0,2: 84:[2, 15, 12] Operation: 12/1=12 Exploring Operation: 1+2=3, Resulting Numbers: [12, 15, 3] Generated Node #0,3: 84:[12, 15, 3] Operation: 1+2=3 Exploring Operation: 12*1=12, Resulting Numbers: [2, 15, 12] Generated Node #0,4: 84:[2, 15, 12] Operation: 12*1=12 Moving to Node #0,1 Current State: 84:[12, 2, 14], Operations: ['15-1=14'] Exploring Operation: 12/2=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 84:[14, 6] Operation: 12/2=6 Exploring Operation: 12+2=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 84:[14, 14] Operation: 12+2=14 Exploring Operation: 14-2=12, Resulting Numbers: [12, 12] Generated Node #0,1,2: 84:[12, 12] Operation: 14-2=12 Exploring Operation: 2*14=28, Resulting Numbers: [12, 28] Generated Node #0,1,3: 84:[12, 28] Operation: 2*14=28 Exploring Operation: 14-12=2, Resulting Numbers: [2, 2] Generated Node #0,1,4: 84:[2, 2] Operation: 14-12=2 Moving to Node #0,2 Current State: 84:[2, 15, 12], Operations: ['12/1=12'] Exploring Operation: 15-12=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 84:[2, 3] Operation: 15-12=3 Exploring Operation: 15-2=13, Resulting Numbers: [12, 13] Generated Node #0,2,1: 84:[12, 13] Operation: 15-2=13 Exploring Operation: 2+12=14, Resulting Numbers: [15, 14] Generated Node #0,2,2: 84:[15, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [15, 6] Generated Node #0,2,3: 84:[15, 6] Operation: 12/2=6 Exploring Operation: 15+12=27, Resulting Numbers: [2, 27] Generated Node #0,2,4: 84:[2, 27] Operation: 15+12=27 Moving to Node #0,4 Current State: 84:[2, 15, 12], Operations: ['12*1=12'] Exploring Operation: 2+12=14, Resulting Numbers: [15, 14] Generated Node #0,4,0: 84:[15, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [15, 6] Generated Node #0,4,1: 84:[15, 6] Operation: 12/2=6 Exploring Operation: 15-12=3, Resulting Numbers: [2, 3] Generated Node #0,4,2: 84:[2, 3] Operation: 15-12=3 Exploring Operation: 15-2=13, Resulting Numbers: [12, 13] Generated Node #0,4,3: 84:[12, 13] Operation: 15-2=13 Exploring Operation: 15+12=27, Resulting Numbers: [2, 27] Generated Node #0,4,4: 84:[2, 27] Operation: 15+12=27 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[2, 3], Operations: ['12*1=12', '15-12=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 84:[15, 14], Operations: ['12*1=12', '2+12=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 84:[15, 6], Operations: ['12*1=12', '12/2=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 84:[12, 13], Operations: ['12*1=12', '15-2=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,84 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[2, 27], Operations: ['12*1=12', '15+12=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,84 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: 84:[1, 2, 3], Operations: ['15-12=3'] Exploring Operation: 2/1=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 84:[3, 2] Operation: 2/1=2 Exploring Operation: 1+3=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 84:[2, 4] Operation: 1+3=4 Exploring Operation: 1+2=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 84:[3, 3] Operation: 1+2=3 Exploring Operation: 1*3=3, Resulting Numbers: [2, 3] Generated Node #0,0,3: 84:[2, 3] Operation: 1*3=3 Exploring Operation: 1*2=2, Resulting Numbers: [3, 2] Generated Node #0,0,4: 84:[3, 2] Operation: 1*2=2 Moving to Node #0,3 Current State: 84:[12, 15, 3], Operations: ['1+2=3'] Exploring Operation: 15/3=5, Resulting Numbers: [12, 5] Generated Node #0,3,0: 84:[12, 5] Operation: 15/3=5 Exploring Operation: 12/3=4, Resulting Numbers: [15, 4] Generated Node #0,3,1: 84:[15, 4] Operation: 12/3=4 Exploring Operation: 15-3=12, Resulting Numbers: [12, 12] Generated Node #0,3,2: 84:[12, 12] Operation: 15-3=12 Exploring Operation: 15-12=3, Resulting Numbers: [3, 3] Generated Node #0,3,3: 84:[3, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [3, 27] Generated Node #0,3,4: 84:[3, 27] Operation: 12+15=27 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[12, 12], Operations: ['1+2=3', '15-3=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,84 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[3, 3], Operations: ['1+2=3', '15-12=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[12, 5], Operations: ['1+2=3', '15/3=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[15, 4], Operations: ['1+2=3', '12/3=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,84 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 84:[3, 27], Operations: ['1+2=3', '12+15=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,84 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,84 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: 84:[14, 6], Operations: ['15-1=14', '12/2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[12, 1, 2, 15], Operations: [] Exploring Operation: 15-1=14, Resulting Numbers: [12, 2, 14] Generated Node #0,1: 84:[12, 2, 14] Operation: 15-1=14 Moving to Node #0,1 Current State: 84:[12, 2, 14], Operations: ['15-1=14'] Exploring Operation: 12/2=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 84:[14, 6] Operation: 12/2=6 Moving to Node #0,1,0 Current State: 84:[14, 6], Operations: ['15-1=14', '12/2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 49, 82, 76, 68 ]
41
[ "82-49=33", "76-68=8", "33+8=41" ]
Current State: 41:[49, 82, 76, 68], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [76, 68, 33] Generated Node #2: [76, 68, 33] from Operation: 82-49=33 Current State: 41:[76, 68, 33], Operations: ['82-49=33'] Exploring Operation: 76-68=8, Resulting Numbers: [33, 8] Generated Node #3: [33, 8] from Operation: 76-68=8 Current State: 41:[33, 8], Operations: ['82-49=33', '76-68=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[49, 82, 76, 68], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [49, 76, 14] Generated Node #0,0: 41:[49, 76, 14] Operation: 82-68=14 Exploring Operation: 82-76=6, Resulting Numbers: [49, 68, 6] Generated Node #0,1: 41:[49, 68, 6] Operation: 82-76=6 Exploring Operation: 76-49=27, Resulting Numbers: [82, 68, 27] Generated Node #0,2: 41:[82, 68, 27] Operation: 76-49=27 Exploring Operation: 82-49=33, Resulting Numbers: [76, 68, 33] Generated Node #0,3: 41:[76, 68, 33] Operation: 82-49=33 Moving to Node #0,0 Current State: 41:[49, 76, 14], Operations: ['82-68=14'] Exploring Operation: 49+14=63, Resulting Numbers: [76, 63] Generated Node #0,0,0: 41:[76, 63] Operation: 49+14=63 Exploring Operation: 76-49=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 41:[14, 27] Operation: 76-49=27 Exploring Operation: 49-14=35, Resulting Numbers: [76, 35] Generated Node #0,0,2: 41:[76, 35] Operation: 49-14=35 Exploring Operation: 76-14=62, Resulting Numbers: [49, 62] Generated Node #0,0,3: 41:[49, 62] Operation: 76-14=62 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[49, 62], Operations: ['82-68=14', '76-14=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,41 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[14, 27], Operations: ['82-68=14', '76-49=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[49, 82, 76, 68], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [49, 76, 14] Generated Node #0,0: 41:[49, 76, 14] Operation: 82-68=14 Moving to Node #0,0 Current State: 41:[49, 76, 14], Operations: ['82-68=14'] Exploring Operation: 76-49=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 41:[14, 27] Operation: 76-49=27 Moving to Node #0,0,1 Current State: 41:[14, 27], Operations: ['82-68=14', '76-49=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 69, 17, 66, 93 ]
73
[ "69+17=86", "66+93=159", "159-86=73" ]
Current State: 73:[69, 17, 66, 93], Operations: [] Exploring Operation: 69+17=86, Resulting Numbers: [66, 93, 86] Generated Node #2: [66, 93, 86] from Operation: 69+17=86 Current State: 73:[66, 93, 86], Operations: ['69+17=86'] Exploring Operation: 66+93=159, Resulting Numbers: [86, 159] Generated Node #3: [86, 159] from Operation: 66+93=159 Current State: 73:[86, 159], Operations: ['69+17=86', '66+93=159'] Exploring Operation: 159-86=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[69, 17, 66, 93], Operations: [] Exploring Operation: 17+66=83, Resulting Numbers: [69, 93, 83] Generated Node #0,0: 73:[69, 93, 83] Operation: 17+66=83 Exploring Operation: 93-17=76, Resulting Numbers: [69, 66, 76] Generated Node #0,1: 73:[69, 66, 76] Operation: 93-17=76 Moving to Node #0,1 Current State: 73:[69, 66, 76], Operations: ['93-17=76'] Exploring Operation: 69+66=135, Resulting Numbers: [76, 135] Generated Node #0,1,0: 73:[76, 135] Operation: 69+66=135 Exploring Operation: 76-66=10, Resulting Numbers: [69, 10] Generated Node #0,1,1: 73:[69, 10] Operation: 76-66=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[76, 135], Operations: ['93-17=76', '69+66=135'] Exploring Operation: 135-76=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 76+135=211, Resulting Numbers: [211] 211,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[69, 10], Operations: ['93-17=76', '76-66=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,73 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: 73:[69, 93, 83], Operations: ['17+66=83'] Exploring Operation: 93-69=24, Resulting Numbers: [83, 24] Generated Node #0,0,0: 73:[83, 24] Operation: 93-69=24 Exploring Operation: 93-83=10, Resulting Numbers: [69, 10] Generated Node #0,0,1: 73:[69, 10] Operation: 93-83=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[83, 24], Operations: ['17+66=83', '93-69=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[69, 10], Operations: ['17+66=83', '93-83=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,73 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
[ 34, 97, 95, 46 ]
14
[ "97-34=63", "95-46=49", "63-49=14" ]
Current State: 14:[34, 97, 95, 46], Operations: [] Exploring Operation: 97-34=63, Resulting Numbers: [95, 46, 63] Generated Node #2: [95, 46, 63] from Operation: 97-34=63 Current State: 14:[95, 46, 63], Operations: ['97-34=63'] Exploring Operation: 95-46=49, Resulting Numbers: [63, 49] Generated Node #3: [63, 49] from Operation: 95-46=49 Current State: 14:[63, 49], Operations: ['97-34=63', '95-46=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[34, 97, 95, 46], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [34, 46, 2] Generated Node #0,0: 14:[34, 46, 2] Operation: 97-95=2 Exploring Operation: 97-34=63, Resulting Numbers: [95, 46, 63] Generated Node #0,1: 14:[95, 46, 63] Operation: 97-34=63 Exploring Operation: 95-46=49, Resulting Numbers: [34, 97, 49] Generated Node #0,2: 14:[34, 97, 49] Operation: 95-46=49 Exploring Operation: 97-46=51, Resulting Numbers: [34, 95, 51] Generated Node #0,3: 14:[34, 95, 51] Operation: 97-46=51 Moving to Node #0,0 Current State: 14:[34, 46, 2], Operations: ['97-95=2'] Exploring Operation: 34-2=32, Resulting Numbers: [46, 32] Generated Node #0,0,0: 14:[46, 32] Operation: 34-2=32 Exploring Operation: 46/2=23, Resulting Numbers: [34, 23] Generated Node #0,0,1: 14:[34, 23] Operation: 46/2=23 Exploring Operation: 46-34=12, Resulting Numbers: [2, 12] Generated Node #0,0,2: 14:[2, 12] Operation: 46-34=12 Exploring Operation: 34/2=17, Resulting Numbers: [46, 17] Generated Node #0,0,3: 14:[46, 17] Operation: 34/2=17 Moving to Node #0,3 Current State: 14:[34, 95, 51], Operations: ['97-46=51'] Exploring Operation: 51-34=17, Resulting Numbers: [95, 17] Generated Node #0,3,0: 14:[95, 17] Operation: 51-34=17 Exploring Operation: 95-51=44, Resulting Numbers: [34, 44] Generated Node #0,3,1: 14:[34, 44] Operation: 95-51=44 Exploring Operation: 34+95=129, Resulting Numbers: [51, 129] Generated Node #0,3,2: 14:[51, 129] Operation: 34+95=129 Exploring Operation: 95-34=61, Resulting Numbers: [51, 61] Generated Node #0,3,3: 14:[51, 61] Operation: 95-34=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[34, 44], Operations: ['97-46=51', '95-51=44'] Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,14 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[95, 17], Operations: ['97-46=51', '51-34=17'] Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,14 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,14 unequal: No Solution Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[51, 61], Operations: ['97-46=51', '95-34=61'] Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,14 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[51, 129], Operations: ['97-46=51', '34+95=129'] Exploring Operation: 51+129=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 129-51=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 51*129=6579, Resulting Numbers: [6579] 6579,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[34, 97, 49], Operations: ['95-46=49'] Exploring Operation: 34+97=131, Resulting Numbers: [49, 131] Generated Node #0,2,0: 14:[49, 131] Operation: 34+97=131 Exploring Operation: 97-34=63, Resulting Numbers: [49, 63] Generated Node #0,2,1: 14:[49, 63] Operation: 97-34=63 Exploring Operation: 49-34=15, Resulting Numbers: [97, 15] Generated Node #0,2,2: 14:[97, 15] Operation: 49-34=15 Exploring Operation: 97-49=48, Resulting Numbers: [34, 48] Generated Node #0,2,3: 14:[34, 48] Operation: 97-49=48 Moving to Node #0,1 Current State: 14:[95, 46, 63], Operations: ['97-34=63'] Exploring Operation: 63-46=17, Resulting Numbers: [95, 17] Generated Node #0,1,0: 14:[95, 17] Operation: 63-46=17 Exploring Operation: 95-63=32, Resulting Numbers: [46, 32] Generated Node #0,1,1: 14:[46, 32] Operation: 95-63=32 Exploring Operation: 95+46=141, Resulting Numbers: [63, 141] Generated Node #0,1,2: 14:[63, 141] Operation: 95+46=141 Exploring Operation: 95-46=49, Resulting Numbers: [63, 49] Generated Node #0,1,3: 14:[63, 49] Operation: 95-46=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[46, 32], Operations: ['97-34=63', '95-63=32'] Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,14 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[34, 97, 95, 46], Operations: [] Exploring Operation: 97-34=63, Resulting Numbers: [95, 46, 63] Generated Node #0,1: 14:[95, 46, 63] Operation: 97-34=63 Moving to Node #0,1 Current State: 14:[95, 46, 63], Operations: ['97-34=63'] Exploring Operation: 95-63=32, Resulting Numbers: [46, 32] Generated Node #0,1,1: 14:[46, 32] Operation: 95-63=32 Moving to Node #0,1,1 Current State: 14:[46, 32], Operations: ['97-34=63', '95-63=32'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 49, 11, 67, 18 ]
12
[ "67-49=18", "18/18=1", "11+1=12" ]
Current State: 12:[49, 11, 67, 18], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [11, 18, 18] Generated Node #2: [11, 18, 18] from Operation: 67-49=18 Current State: 12:[11, 18, 18], Operations: ['67-49=18'] Exploring Operation: 18/18=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 18/18=1 Current State: 12:[11, 1], Operations: ['67-49=18', '18/18=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[49, 11, 67, 18], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [49, 11, 49] Generated Node #0,0: 12:[49, 11, 49] Operation: 67-18=49 Exploring Operation: 49-18=31, Resulting Numbers: [11, 67, 31] Generated Node #0,1: 12:[11, 67, 31] Operation: 49-18=31 Exploring Operation: 67-49=18, Resulting Numbers: [11, 18, 18] Generated Node #0,2: 12:[11, 18, 18] Operation: 67-49=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[11, 18, 18], Operations: ['67-49=18'] Exploring Operation: 18-18=0, Resulting Numbers: [11, 0] Generated Node #0,2,0: 12:[11, 0] Operation: 18-18=0 Exploring Operation: 18-11=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 12:[18, 7] Operation: 18-11=7 Exploring Operation: 18/18=1, Resulting Numbers: [11, 1] Generated Node #0,2,2: 12:[11, 1] Operation: 18/18=1 Moving to Node #0,2,2 Current State: 12:[11, 1], Operations: ['67-49=18', '18/18=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[49, 11, 67, 18], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [11, 18, 18] Generated Node #0,2: 12:[11, 18, 18] Operation: 67-49=18 Moving to Node #0,2 Current State: 12:[11, 18, 18], Operations: ['67-49=18'] Exploring Operation: 18/18=1, Resulting Numbers: [11, 1] Generated Node #0,2,2: 12:[11, 1] Operation: 18/18=1 Moving to Node #0,2,2 Current State: 12:[11, 1], Operations: ['67-49=18', '18/18=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 19, 70, 74, 54 ]
72
[ "54-19=35", "70/35=2", "74-2=72" ]
Current State: 72:[19, 70, 74, 54], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [70, 74, 35] Generated Node #2: [70, 74, 35] from Operation: 54-19=35 Current State: 72:[70, 74, 35], Operations: ['54-19=35'] Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 70/35=2 Current State: 72:[74, 2], Operations: ['54-19=35', '70/35=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[19, 70, 74, 54], Operations: [] Exploring Operation: 19+54=73, Resulting Numbers: [70, 74, 73] Generated Node #0,0: 72:[70, 74, 73] Operation: 19+54=73 Exploring Operation: 54-19=35, Resulting Numbers: [70, 74, 35] Generated Node #0,1: 72:[70, 74, 35] Operation: 54-19=35 Exploring Operation: 70-54=16, Resulting Numbers: [19, 74, 16] Generated Node #0,2: 72:[19, 74, 16] Operation: 70-54=16 Exploring Operation: 74-54=20, Resulting Numbers: [19, 70, 20] Generated Node #0,3: 72:[19, 70, 20] Operation: 74-54=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[70, 74, 73], Operations: ['19+54=73'] Exploring Operation: 73-70=3, Resulting Numbers: [74, 3] Generated Node #0,0,0: 72:[74, 3] Operation: 73-70=3 Exploring Operation: 74-73=1, Resulting Numbers: [70, 1] Generated Node #0,0,1: 72:[70, 1] Operation: 74-73=1 Exploring Operation: 70+74=144, Resulting Numbers: [73, 144] Generated Node #0,0,2: 72:[73, 144] Operation: 70+74=144 Exploring Operation: 74-70=4, Resulting Numbers: [73, 4] Generated Node #0,0,3: 72:[73, 4] Operation: 74-70=4 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 72:[73, 4], Operations: ['19+54=73', '74-70=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,72 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,72 unequal: No Solution No 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: 72:[74, 3], Operations: ['19+54=73', '73-70=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,72 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,72 unequal: No Solution No 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: 72:[70, 1], Operations: ['19+54=73', '74-73=1'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,72 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,72 unequal: No Solution No 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: 72:[73, 144], Operations: ['19+54=73', '70+74=144'] Exploring Operation: 73*144=10512, Resulting Numbers: [10512] 10512,72 unequal: No Solution Exploring Operation: 73+144=217, Resulting Numbers: [217] 217,72 unequal: No Solution Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,72 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: 72:[70, 74, 35], Operations: ['54-19=35'] Exploring Operation: 74-35=39, Resulting Numbers: [70, 39] Generated Node #0,1,0: 72:[70, 39] Operation: 74-35=39 Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #0,1,1: 72:[74, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [74, 35] Generated Node #0,1,2: 72:[74, 35] Operation: 70-35=35 Exploring Operation: 74-70=4, Resulting Numbers: [35, 4] Generated Node #0,1,3: 72:[35, 4] Operation: 74-70=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 72:[35, 4], Operations: ['54-19=35', '74-70=4'] Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,72 unequal: No Solution No 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: 72:[74, 2], Operations: ['54-19=35', '70/35=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,72 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[19, 70, 74, 54], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [70, 74, 35] Generated Node #0,1: 72:[70, 74, 35] Operation: 54-19=35 Moving to Node #0,1 Current State: 72:[70, 74, 35], Operations: ['54-19=35'] Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #0,1,1: 72:[74, 2] Operation: 70/35=2 Moving to Node #0,1,1 Current State: 72:[74, 2], Operations: ['54-19=35', '70/35=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 29, 81, 69, 8 ]
76
[ "69-29=40", "40/8=5", "81-5=76" ]
Current State: 76:[29, 81, 69, 8], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [81, 8, 40] Generated Node #2: [81, 8, 40] from Operation: 69-29=40 Current State: 76:[81, 8, 40], Operations: ['69-29=40'] Exploring Operation: 40/8=5, Resulting Numbers: [81, 5] Generated Node #3: [81, 5] from Operation: 40/8=5 Current State: 76:[81, 5], Operations: ['69-29=40', '40/8=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[29, 81, 69, 8], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [81, 8, 40] Generated Node #0,0: 76:[81, 8, 40] Operation: 69-29=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[81, 8, 40], Operations: ['69-29=40'] Exploring Operation: 81-8=73, Resulting Numbers: [40, 73] Generated Node #0,0,0: 76:[40, 73] Operation: 81-8=73 Moving to Node #0,0,0 Current State: 76:[40, 73], Operations: ['69-29=40', '81-8=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,76 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
[ 31, 16, 4, 91 ]
80
[ "31-16=15", "4+91=95", "95-15=80" ]
Current State: 80:[31, 16, 4, 91], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [4, 91, 15] Generated Node #2: [4, 91, 15] from Operation: 31-16=15 Current State: 80:[4, 91, 15], Operations: ['31-16=15'] Exploring Operation: 4+91=95, Resulting Numbers: [15, 95] Generated Node #3: [15, 95] from Operation: 4+91=95 Current State: 80:[15, 95], Operations: ['31-16=15', '4+91=95'] Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[31, 16, 4, 91], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [4, 91, 15] Generated Node #0,0: 80:[4, 91, 15] Operation: 31-16=15 Exploring Operation: 31+4=35, Resulting Numbers: [16, 91, 35] Generated Node #0,1: 80:[16, 91, 35] Operation: 31+4=35 Exploring Operation: 31+16=47, Resulting Numbers: [4, 91, 47] Generated Node #0,2: 80:[4, 91, 47] Operation: 31+16=47 Exploring Operation: 91-16=75, Resulting Numbers: [31, 4, 75] Generated Node #0,3: 80:[31, 4, 75] Operation: 91-16=75 Exploring Operation: 91-4=87, Resulting Numbers: [31, 16, 87] Generated Node #0,4: 80:[31, 16, 87] Operation: 91-4=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[4, 91, 15], Operations: ['31-16=15'] Exploring Operation: 91-15=76, Resulting Numbers: [4, 76] Generated Node #0,0,0: 80:[4, 76] Operation: 91-15=76 Exploring Operation: 15-4=11, Resulting Numbers: [91, 11] Generated Node #0,0,1: 80:[91, 11] Operation: 15-4=11 Exploring Operation: 4+15=19, Resulting Numbers: [91, 19] Generated Node #0,0,2: 80:[91, 19] Operation: 4+15=19 Exploring Operation: 4+91=95, Resulting Numbers: [15, 95] Generated Node #0,0,3: 80:[15, 95] Operation: 4+91=95 Exploring Operation: 91-4=87, Resulting Numbers: [15, 87] Generated Node #0,0,4: 80:[15, 87] Operation: 91-4=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[4, 76], Operations: ['31-16=15', '91-15=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[31, 16, 4, 91], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [4, 91, 15] Generated Node #0,0: 80:[4, 91, 15] Operation: 31-16=15 Moving to Node #0,0 Current State: 80:[4, 91, 15], Operations: ['31-16=15'] Exploring Operation: 91-15=76, Resulting Numbers: [4, 76] Generated Node #0,0,0: 80:[4, 76] Operation: 91-15=76 Moving to Node #0,0,0 Current State: 80:[4, 76], Operations: ['31-16=15', '91-15=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 11, 55, 20, 71 ]
52
[ "71-11=60", "60/20=3", "55-3=52" ]
Current State: 52:[11, 55, 20, 71], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [55, 20, 60] Generated Node #2: [55, 20, 60] from Operation: 71-11=60 Current State: 52:[55, 20, 60], Operations: ['71-11=60'] Exploring Operation: 60/20=3, Resulting Numbers: [55, 3] Generated Node #3: [55, 3] from Operation: 60/20=3 Current State: 52:[55, 3], Operations: ['71-11=60', '60/20=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 55, 20, 71], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [55, 20, 60] Generated Node #0,0: 52:[55, 20, 60] Operation: 71-11=60 Exploring Operation: 55/11=5, Resulting Numbers: [20, 71, 5] Generated Node #0,1: 52:[20, 71, 5] Operation: 55/11=5 Exploring Operation: 71-55=16, Resulting Numbers: [11, 20, 16] Generated Node #0,2: 52:[11, 20, 16] Operation: 71-55=16 Exploring Operation: 71-20=51, Resulting Numbers: [11, 55, 51] Generated Node #0,3: 52:[11, 55, 51] Operation: 71-20=51 Moving to Node #0,3 Current State: 52:[11, 55, 51], Operations: ['71-20=51'] Exploring Operation: 55/11=5, Resulting Numbers: [51, 5] Generated Node #0,3,0: 52:[51, 5] Operation: 55/11=5 Exploring Operation: 55-51=4, Resulting Numbers: [11, 4] Generated Node #0,3,1: 52:[11, 4] Operation: 55-51=4 Exploring Operation: 11+51=62, Resulting Numbers: [55, 62] Generated Node #0,3,2: 52:[55, 62] Operation: 11+51=62 Exploring Operation: 55-11=44, Resulting Numbers: [51, 44] Generated Node #0,3,3: 52:[51, 44] Operation: 55-11=44 Moving to Node #0,2 Current State: 52:[11, 20, 16], Operations: ['71-55=16'] Exploring Operation: 20-16=4, Resulting Numbers: [11, 4] Generated Node #0,2,0: 52:[11, 4] Operation: 20-16=4 Exploring Operation: 16-11=5, Resulting Numbers: [20, 5] Generated Node #0,2,1: 52:[20, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [20, 27] Generated Node #0,2,2: 52:[20, 27] Operation: 11+16=27 Exploring Operation: 20-11=9, Resulting Numbers: [16, 9] Generated Node #0,2,3: 52:[16, 9] Operation: 20-11=9 Moving to Node #0,0 Current State: 52:[55, 20, 60], Operations: ['71-11=60'] Exploring Operation: 60/20=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 52:[55, 3] Operation: 60/20=3 Exploring Operation: 55-20=35, Resulting Numbers: [60, 35] Generated Node #0,0,1: 52:[60, 35] Operation: 55-20=35 Exploring Operation: 60-20=40, Resulting Numbers: [55, 40] Generated Node #0,0,2: 52:[55, 40] Operation: 60-20=40 Exploring Operation: 60-55=5, Resulting Numbers: [20, 5] Generated Node #0,0,3: 52:[20, 5] Operation: 60-55=5 Moving to Node #0,1 Current State: 52:[20, 71, 5], Operations: ['55/11=5'] Exploring Operation: 71-5=66, Resulting Numbers: [20, 66] Generated Node #0,1,0: 52:[20, 66] Operation: 71-5=66 Exploring Operation: 71-20=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 52:[5, 51] Operation: 71-20=51 Exploring Operation: 20+5=25, Resulting Numbers: [71, 25] Generated Node #0,1,2: 52:[71, 25] Operation: 20+5=25 Exploring Operation: 20/5=4, Resulting Numbers: [71, 4] Generated Node #0,1,3: 52:[71, 4] Operation: 20/5=4 Moving to Node #0,3,0 Current State: 52:[51, 5], Operations: ['71-20=51', '55/11=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,52 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[5, 51], Operations: ['55/11=5', '71-20=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,52 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[11, 4], Operations: ['71-20=51', '55-51=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[11, 4], Operations: ['71-55=16', '20-16=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[55, 3], Operations: ['71-11=60', '60/20=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,52 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[11, 55, 20, 71], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [55, 20, 60] Generated Node #0,0: 52:[55, 20, 60] Operation: 71-11=60 Moving to Node #0,0 Current State: 52:[55, 20, 60], Operations: ['71-11=60'] Exploring Operation: 60/20=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 52:[55, 3] Operation: 60/20=3 Moving to Node #0,0,0 Current State: 52:[55, 3], Operations: ['71-11=60', '60/20=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 69, 8, 71, 73 ]
89
[ "71-69=2", "8*2=16", "73+16=89" ]
Current State: 89:[69, 8, 71, 73], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [8, 73, 2] Generated Node #2: [8, 73, 2] from Operation: 71-69=2 Current State: 89:[8, 73, 2], Operations: ['71-69=2'] Exploring Operation: 8*2=16, Resulting Numbers: [73, 16] Generated Node #3: [73, 16] from Operation: 8*2=16 Current State: 89:[73, 16], Operations: ['71-69=2', '8*2=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[69, 8, 71, 73], Operations: [] Exploring Operation: 69+8=77, Resulting Numbers: [71, 73, 77] Generated Node #0,0: 89:[71, 73, 77] Operation: 69+8=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[71, 73, 77], Operations: ['69+8=77'] Exploring Operation: 71+73=144, Resulting Numbers: [77, 144] Generated Node #0,0,0: 89:[77, 144] Operation: 71+73=144 Moving to Node #0,0,0 Current State: 89:[77, 144], Operations: ['69+8=77', '71+73=144'] Exploring Operation: 144-77=67, Resulting Numbers: [67] 67,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 1, 70, 57 ]
96
[ "70-1=69", "69-57=12", "8*12=96" ]
Current State: 96:[8, 1, 70, 57], Operations: [] Exploring Operation: 70-1=69, Resulting Numbers: [8, 57, 69] Generated Node #2: [8, 57, 69] from Operation: 70-1=69 Current State: 96:[8, 57, 69], Operations: ['70-1=69'] Exploring Operation: 69-57=12, Resulting Numbers: [8, 12] Generated Node #3: [8, 12] from Operation: 69-57=12 Current State: 96:[8, 12], Operations: ['70-1=69', '69-57=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[8, 1, 70, 57], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [8, 1, 13] Generated Node #0,0: 96:[8, 1, 13] Operation: 70-57=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[8, 1, 13], Operations: ['70-57=13'] Exploring Operation: 13-1=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 13-1=12 Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['70-57=13', '13-1=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[8, 1, 70, 57], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [8, 1, 13] Generated Node #0,0: 96:[8, 1, 13] Operation: 70-57=13 Moving to Node #0,0 Current State: 96:[8, 1, 13], Operations: ['70-57=13'] Exploring Operation: 13-1=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 13-1=12 Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['70-57=13', '13-1=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 31, 63, 9, 6 ]
96
[ "63-31=32", "9-6=3", "32*3=96" ]
Current State: 96:[31, 63, 9, 6], Operations: [] Exploring Operation: 63-31=32, Resulting Numbers: [9, 6, 32] Generated Node #2: [9, 6, 32] from Operation: 63-31=32 Current State: 96:[9, 6, 32], Operations: ['63-31=32'] Exploring Operation: 9-6=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 9-6=3 Current State: 96:[32, 3], Operations: ['63-31=32', '9-6=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 63, 9, 6], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [31, 6, 7] Generated Node #0,0: 96:[31, 6, 7] Operation: 63/9=7 Exploring Operation: 63-31=32, Resulting Numbers: [9, 6, 32] Generated Node #0,1: 96:[9, 6, 32] Operation: 63-31=32 Moving to Node #0,1 Current State: 96:[9, 6, 32], Operations: ['63-31=32'] Exploring Operation: 9-6=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 96:[32, 3] Operation: 9-6=3 Exploring Operation: 9+6=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 96:[32, 15] Operation: 9+6=15 Moving to Node #0,0 Current State: 96:[31, 6, 7], Operations: ['63/9=7'] Exploring Operation: 31-6=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 96:[7, 25] Operation: 31-6=25 Exploring Operation: 31-7=24, Resulting Numbers: [6, 24] Generated Node #0,0,1: 96:[6, 24] Operation: 31-7=24 Moving to Node #0,1,0 Current State: 96:[32, 3], Operations: ['63-31=32', '9-6=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[31, 63, 9, 6], Operations: [] Exploring Operation: 63-31=32, Resulting Numbers: [9, 6, 32] Generated Node #0,1: 96:[9, 6, 32] Operation: 63-31=32 Moving to Node #0,1 Current State: 96:[9, 6, 32], Operations: ['63-31=32'] Exploring Operation: 9-6=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 96:[32, 3] Operation: 9-6=3 Moving to Node #0,1,0 Current State: 96:[32, 3], Operations: ['63-31=32', '9-6=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 16, 49, 43, 59 ]
81
[ "16+49=65", "59-43=16", "65+16=81" ]
Current State: 81:[16, 49, 43, 59], Operations: [] Exploring Operation: 16+49=65, Resulting Numbers: [43, 59, 65] Generated Node #2: [43, 59, 65] from Operation: 16+49=65 Current State: 81:[43, 59, 65], Operations: ['16+49=65'] Exploring Operation: 59-43=16, Resulting Numbers: [65, 16] Generated Node #3: [65, 16] from Operation: 59-43=16 Current State: 81:[65, 16], Operations: ['16+49=65', '59-43=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[16, 49, 43, 59], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [16, 49, 16] Generated Node #0,0: 81:[16, 49, 16] Operation: 59-43=16 Exploring Operation: 49-43=6, Resulting Numbers: [16, 59, 6] Generated Node #0,1: 81:[16, 59, 6] Operation: 49-43=6 Exploring Operation: 59-49=10, Resulting Numbers: [16, 43, 10] Generated Node #0,2: 81:[16, 43, 10] Operation: 59-49=10 Exploring Operation: 49+43=92, Resulting Numbers: [16, 59, 92] Generated Node #0,3: 81:[16, 59, 92] Operation: 49+43=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[16, 43, 10], Operations: ['59-49=10'] Exploring Operation: 43-10=33, Resulting Numbers: [16, 33] Generated Node #0,2,0: 81:[16, 33] Operation: 43-10=33 Exploring Operation: 43-16=27, Resulting Numbers: [10, 27] Generated Node #0,2,1: 81:[10, 27] Operation: 43-16=27 Exploring Operation: 16+10=26, Resulting Numbers: [43, 26] Generated Node #0,2,2: 81:[43, 26] Operation: 16+10=26 Exploring Operation: 16-10=6, Resulting Numbers: [43, 6] Generated Node #0,2,3: 81:[43, 6] Operation: 16-10=6 Moving to Node #0,2,1 Current State: 81:[10, 27], Operations: ['59-49=10', '43-16=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,81 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[16, 33], Operations: ['59-49=10', '43-10=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,81 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[43, 26], Operations: ['59-49=10', '16+10=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,81 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[43, 6], Operations: ['59-49=10', '16-10=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[16, 59, 6], Operations: ['49-43=6'] Exploring Operation: 59+6=65, Resulting Numbers: [16, 65] Generated Node #0,1,0: 81:[16, 65] Operation: 59+6=65 Exploring Operation: 16+59=75, Resulting Numbers: [6, 75] Generated Node #0,1,1: 81:[6, 75] Operation: 16+59=75 Exploring Operation: 16-6=10, Resulting Numbers: [59, 10] Generated Node #0,1,2: 81:[59, 10] Operation: 16-6=10 Exploring Operation: 59-16=43, Resulting Numbers: [6, 43] Generated Node #0,1,3: 81:[6, 43] Operation: 59-16=43 Moving to Node #0,1,1 Current State: 81:[6, 75], Operations: ['49-43=6', '16+59=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,81 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[16, 49, 43, 59], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [16, 59, 6] Generated Node #0,1: 81:[16, 59, 6] Operation: 49-43=6 Moving to Node #0,1 Current State: 81:[16, 59, 6], Operations: ['49-43=6'] Exploring Operation: 16+59=75, Resulting Numbers: [6, 75] Generated Node #0,1,1: 81:[6, 75] Operation: 16+59=75 Moving to Node #0,1,1 Current State: 81:[6, 75], Operations: ['49-43=6', '16+59=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 56, 32, 10, 24 ]
54
[ "56+32=88", "10+24=34", "88-34=54" ]
Current State: 54:[56, 32, 10, 24], Operations: [] Exploring Operation: 56+32=88, Resulting Numbers: [10, 24, 88] Generated Node #2: [10, 24, 88] from Operation: 56+32=88 Current State: 54:[10, 24, 88], Operations: ['56+32=88'] Exploring Operation: 10+24=34, Resulting Numbers: [88, 34] Generated Node #3: [88, 34] from Operation: 10+24=34 Current State: 54:[88, 34], Operations: ['56+32=88', '10+24=34'] Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[56, 32, 10, 24], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [10, 24, 24] Generated Node #0,0: 54:[10, 24, 24] Operation: 56-32=24 Exploring Operation: 32+24=56, Resulting Numbers: [56, 10, 56] Generated Node #0,1: 54:[56, 10, 56] Operation: 32+24=56 Exploring Operation: 32-24=8, Resulting Numbers: [56, 10, 8] Generated Node #0,2: 54:[56, 10, 8] Operation: 32-24=8 Moving to Node #0,2 Current State: 54:[56, 10, 8], Operations: ['32-24=8'] Exploring Operation: 10-8=2, Resulting Numbers: [56, 2] Generated Node #0,2,0: 54:[56, 2] Operation: 10-8=2 Exploring Operation: 56/8=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 54:[10, 7] Operation: 56/8=7 Exploring Operation: 10+8=18, Resulting Numbers: [56, 18] Generated Node #0,2,2: 54:[56, 18] Operation: 10+8=18 Moving to Node #0,1 Current State: 54:[56, 10, 56], Operations: ['32+24=56'] Exploring Operation: 56-56=0, Resulting Numbers: [10, 0] Generated Node #0,1,0: 54:[10, 0] Operation: 56-56=0 Exploring Operation: 56/56=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 54:[10, 1] Operation: 56/56=1 Exploring Operation: 56-10=46, Resulting Numbers: [56, 46] Generated Node #0,1,2: 54:[56, 46] Operation: 56-10=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[10, 1], Operations: ['32+24=56', '56/56=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,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,0 Current State: 54:[10, 0], Operations: ['32+24=56', '56-56=0'] Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,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,2 Current State: 54:[56, 46], Operations: ['32+24=56', '56-10=46'] Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,54 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,54 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: 54:[10, 24, 24], Operations: ['56-32=24'] Exploring Operation: 24-24=0, Resulting Numbers: [10, 0] Generated Node #0,0,0: 54:[10, 0] Operation: 24-24=0 Exploring Operation: 24-10=14, Resulting Numbers: [24, 14] Generated Node #0,0,1: 54:[24, 14] Operation: 24-10=14 Exploring Operation: 24/24=1, Resulting Numbers: [10, 1] Generated Node #0,0,2: 54:[10, 1] Operation: 24/24=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[10, 1], Operations: ['56-32=24', '24/24=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,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:[10, 0], Operations: ['56-32=24', '24-24=0'] Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,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:[24, 14], Operations: ['56-32=24', '24-10=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,54 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: 54:[56, 2], Operations: ['32-24=8', '10-8=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[56, 32, 10, 24], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [56, 10, 8] Generated Node #0,2: 54:[56, 10, 8] Operation: 32-24=8 Moving to Node #0,2 Current State: 54:[56, 10, 8], Operations: ['32-24=8'] Exploring Operation: 10-8=2, Resulting Numbers: [56, 2] Generated Node #0,2,0: 54:[56, 2] Operation: 10-8=2 Moving to Node #0,2,0 Current State: 54:[56, 2], Operations: ['32-24=8', '10-8=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 76, 50, 26, 9 ]
43
[ "76-50=26", "26-9=17", "26+17=43" ]
Current State: 43:[76, 50, 26, 9], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [26, 9, 26] Generated Node #2: [26, 9, 26] from Operation: 76-50=26 Current State: 43:[26, 9, 26], Operations: ['76-50=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,43 equal: Goal Reached Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[76, 50, 26, 9], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [50, 26, 67] Generated Node #0,0: 43:[50, 26, 67] Operation: 76-9=67 Exploring Operation: 50-9=41, Resulting Numbers: [76, 26, 41] Generated Node #0,1: 43:[76, 26, 41] Operation: 50-9=41 Exploring Operation: 26+9=35, Resulting Numbers: [76, 50, 35] Generated Node #0,2: 43:[76, 50, 35] Operation: 26+9=35 Exploring Operation: 76-26=50, Resulting Numbers: [50, 9, 50] Generated Node #0,3: 43:[50, 9, 50] Operation: 76-26=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[50, 26, 67], Operations: ['76-9=67'] Exploring Operation: 50-26=24, Resulting Numbers: [67, 24] Generated Node #0,0,0: 43:[67, 24] Operation: 50-26=24 Exploring Operation: 67-50=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 43:[26, 17] Operation: 67-50=17 Exploring Operation: 50+26=76, Resulting Numbers: [67, 76] Generated Node #0,0,2: 43:[67, 76] Operation: 50+26=76 Exploring Operation: 67-26=41, Resulting Numbers: [50, 41] Generated Node #0,0,3: 43:[50, 41] Operation: 67-26=41 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 43:[50, 41], Operations: ['76-9=67', '67-26=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,43 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,43 unequal: No Solution No 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: 43:[67, 24], Operations: ['76-9=67', '50-26=24'] Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,43 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[76, 50, 26, 9], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [50, 26, 67] Generated Node #0,0: 43:[50, 26, 67] Operation: 76-9=67 Moving to Node #0,0 Current State: 43:[50, 26, 67], Operations: ['76-9=67'] Exploring Operation: 50-26=24, Resulting Numbers: [67, 24] Generated Node #0,0,0: 43:[67, 24] Operation: 50-26=24 Moving to Node #0,0,0 Current State: 43:[67, 24], Operations: ['76-9=67', '50-26=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 23, 73, 53, 93 ]
31
[ "73-23=50", "53-50=3", "93/3=31" ]
Current State: 31:[23, 73, 53, 93], Operations: [] Exploring Operation: 73-23=50, Resulting Numbers: [53, 93, 50] Generated Node #2: [53, 93, 50] from Operation: 73-23=50 Current State: 31:[53, 93, 50], Operations: ['73-23=50'] Exploring Operation: 53-50=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 53-50=3 Current State: 31:[93, 3], Operations: ['73-23=50', '53-50=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[23, 73, 53, 93], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [23, 53, 20] Generated Node #0,0: 31:[23, 53, 20] Operation: 93-73=20 Exploring Operation: 93-53=40, Resulting Numbers: [23, 73, 40] Generated Node #0,1: 31:[23, 73, 40] Operation: 93-53=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[23, 53, 20], Operations: ['93-73=20'] Exploring Operation: 53-23=30, Resulting Numbers: [20, 30] Generated Node #0,0,0: 31:[20, 30] Operation: 53-23=30 Exploring Operation: 53-20=33, Resulting Numbers: [23, 33] Generated Node #0,0,1: 31:[23, 33] Operation: 53-20=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[23, 33], Operations: ['93-73=20', '53-20=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[20, 30], Operations: ['93-73=20', '53-23=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[23, 73, 40], Operations: ['93-53=40'] Exploring Operation: 73-40=33, Resulting Numbers: [23, 33] Generated Node #0,1,0: 31:[23, 33] Operation: 73-40=33 Exploring Operation: 73-23=50, Resulting Numbers: [40, 50] Generated Node #0,1,1: 31:[40, 50] Operation: 73-23=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[23, 33], Operations: ['93-53=40', '73-40=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[40, 50], Operations: ['93-53=40', '73-23=50'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 16, 22, 24, 34 ]
66
[ "24-22=2", "16*2=32", "34+32=66" ]
Current State: 66:[16, 22, 24, 34], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [16, 34, 2] Generated Node #2: [16, 34, 2] from Operation: 24-22=2 Current State: 66:[16, 34, 2], Operations: ['24-22=2'] Exploring Operation: 16*2=32, Resulting Numbers: [34, 32] Generated Node #3: [34, 32] from Operation: 16*2=32 Current State: 66:[34, 32], Operations: ['24-22=2', '16*2=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[16, 22, 24, 34], Operations: [] Exploring Operation: 22-16=6, Resulting Numbers: [24, 34, 6] Generated Node #0,0: 66:[24, 34, 6] Operation: 22-16=6 Exploring Operation: 24-16=8, Resulting Numbers: [22, 34, 8] Generated Node #0,1: 66:[22, 34, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[24, 34, 6], Operations: ['22-16=6'] Exploring Operation: 34-24=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 66:[6, 10] Operation: 34-24=10 Exploring Operation: 24/6=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 66:[34, 4] Operation: 24/6=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[6, 10], Operations: ['22-16=6', '34-24=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,66 unequal: No Solution No 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: 66:[34, 4], Operations: ['22-16=6', '24/6=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,66 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: 66:[22, 34, 8], Operations: ['24-16=8'] Exploring Operation: 34-22=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 66:[8, 12] Operation: 34-22=12 Exploring Operation: 22+8=30, Resulting Numbers: [34, 30] Generated Node #0,1,1: 66:[34, 30] Operation: 22+8=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[8, 12], Operations: ['24-16=8', '34-22=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,66 unequal: No Solution No 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: 66:[34, 30], Operations: ['24-16=8', '22+8=30'] Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,66 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
[ 9, 54, 2, 62 ]
76
[ "54-9=45", "62/2=31", "45+31=76" ]
Current State: 76:[9, 54, 2, 62], Operations: [] Exploring Operation: 54-9=45, Resulting Numbers: [2, 62, 45] Generated Node #2: [2, 62, 45] from Operation: 54-9=45 Current State: 76:[2, 62, 45], Operations: ['54-9=45'] Exploring Operation: 62/2=31, Resulting Numbers: [45, 31] Generated Node #3: [45, 31] from Operation: 62/2=31 Current State: 76:[45, 31], Operations: ['54-9=45', '62/2=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[9, 54, 2, 62], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [9, 2, 8] Generated Node #0,0: 76:[9, 2, 8] Operation: 62-54=8 Exploring Operation: 54/9=6, Resulting Numbers: [2, 62, 6] Generated Node #0,1: 76:[2, 62, 6] Operation: 54/9=6 Moving to Node #0,0 Current State: 76:[9, 2, 8], Operations: ['62-54=8'] Exploring Operation: 9+8=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 76:[2, 17] Operation: 9+8=17 Exploring Operation: 9-8=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 76:[2, 1] Operation: 9-8=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[2, 1], Operations: ['62-54=8', '9-8=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 17], Operations: ['62-54=8', '9+8=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[2, 62, 6], Operations: ['54/9=6'] Exploring Operation: 62+6=68, Resulting Numbers: [2, 68] Generated Node #0,1,0: 76:[2, 68] Operation: 62+6=68 Exploring Operation: 62/2=31, Resulting Numbers: [6, 31] Generated Node #0,1,1: 76:[6, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[2, 68], Operations: ['54/9=6', '62+6=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[6, 31], Operations: ['54/9=6', '62/2=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 75, 74, 83, 1 ]
66
[ "75+74=149", "83*1=83", "149-83=66" ]
Current State: 66:[75, 74, 83, 1], Operations: [] Exploring Operation: 75+74=149, Resulting Numbers: [83, 1, 149] Generated Node #2: [83, 1, 149] from Operation: 75+74=149 Current State: 66:[83, 1, 149], Operations: ['75+74=149'] Exploring Operation: 83*1=83, Resulting Numbers: [149, 83] Generated Node #3: [149, 83] from Operation: 83*1=83 Current State: 66:[149, 83], Operations: ['75+74=149', '83*1=83'] Exploring Operation: 149-83=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[75, 74, 83, 1], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [83, 1, 1] Generated Node #0,0: 66:[83, 1, 1] Operation: 75-74=1 Exploring Operation: 75-1=74, Resulting Numbers: [74, 83, 74] Generated Node #0,1: 66:[74, 83, 74] Operation: 75-1=74 Exploring Operation: 83-74=9, Resulting Numbers: [75, 1, 9] Generated Node #0,2: 66:[75, 1, 9] Operation: 83-74=9 Exploring Operation: 83-75=8, Resulting Numbers: [74, 1, 8] Generated Node #0,3: 66:[74, 1, 8] Operation: 83-75=8 Moving to Node #0,3 Current State: 66:[74, 1, 8], Operations: ['83-75=8'] Exploring Operation: 74*1=74, Resulting Numbers: [8, 74] Generated Node #0,3,0: 66:[8, 74] Operation: 74*1=74 Exploring Operation: 74-8=66, Resulting Numbers: [1, 66] Generated Node #0,3,1: 66:[1, 66] Operation: 74-8=66 Exploring Operation: 74-1=73, Resulting Numbers: [8, 73] Generated Node #0,3,2: 66:[8, 73] Operation: 74-1=73 Exploring Operation: 8-1=7, Resulting Numbers: [74, 7] Generated Node #0,3,3: 66:[74, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[1, 66], Operations: ['83-75=8', '74-8=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[75, 74, 83, 1], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [74, 1, 8] Generated Node #0,3: 66:[74, 1, 8] Operation: 83-75=8 Moving to Node #0,3 Current State: 66:[74, 1, 8], Operations: ['83-75=8'] Exploring Operation: 74-8=66, Resulting Numbers: [1, 66] Generated Node #0,3,1: 66:[1, 66] Operation: 74-8=66 Moving to Node #0,3,1 Current State: 66:[1, 66], Operations: ['83-75=8', '74-8=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 20, 9, 53, 88 ]
61
[ "20-9=11", "88/11=8", "53+8=61" ]
Current State: 61:[20, 9, 53, 88], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [53, 88, 11] Generated Node #2: [53, 88, 11] from Operation: 20-9=11 Current State: 61:[53, 88, 11], Operations: ['20-9=11'] Exploring Operation: 88/11=8, Resulting Numbers: [53, 8] Generated Node #3: [53, 8] from Operation: 88/11=8 Current State: 61:[53, 8], Operations: ['20-9=11', '88/11=8'] Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[20, 9, 53, 88], Operations: [] Exploring Operation: 20+9=29, Resulting Numbers: [53, 88, 29] Generated Node #0,0: 61:[53, 88, 29] Operation: 20+9=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[53, 88, 29], Operations: ['20+9=29'] Exploring Operation: 88-29=59, Resulting Numbers: [53, 59] Generated Node #0,0,0: 61:[53, 59] Operation: 88-29=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[53, 59], Operations: ['20+9=29', '88-29=59'] Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 4, 3, 92 ]
59
[ "85-3=82", "92/4=23", "82-23=59" ]
Current State: 59:[85, 4, 3, 92], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [4, 92, 82] Generated Node #2: [4, 92, 82] from Operation: 85-3=82 Current State: 59:[4, 92, 82], Operations: ['85-3=82'] Exploring Operation: 92/4=23, Resulting Numbers: [82, 23] Generated Node #3: [82, 23] from Operation: 92/4=23 Current State: 59:[82, 23], Operations: ['85-3=82', '92/4=23'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[85, 4, 3, 92], Operations: [] Exploring Operation: 85-4=81, Resulting Numbers: [3, 92, 81] Generated Node #0,0: 59:[3, 92, 81] Operation: 85-4=81 Exploring Operation: 4*3=12, Resulting Numbers: [85, 92, 12] Generated Node #0,1: 59:[85, 92, 12] Operation: 4*3=12 Exploring Operation: 85-3=82, Resulting Numbers: [4, 92, 82] Generated Node #0,2: 59:[4, 92, 82] Operation: 85-3=82 Exploring Operation: 4+3=7, Resulting Numbers: [85, 92, 7] Generated Node #0,3: 59:[85, 92, 7] Operation: 4+3=7 Moving to Node #0,1 Current State: 59:[85, 92, 12], Operations: ['4*3=12'] Exploring Operation: 92-12=80, Resulting Numbers: [85, 80] Generated Node #0,1,0: 59:[85, 80] Operation: 92-12=80 Exploring Operation: 85-12=73, Resulting Numbers: [92, 73] Generated Node #0,1,1: 59:[92, 73] Operation: 85-12=73 Exploring Operation: 85+12=97, Resulting Numbers: [92, 97] Generated Node #0,1,2: 59:[92, 97] Operation: 85+12=97 Exploring Operation: 92+12=104, Resulting Numbers: [85, 104] Generated Node #0,1,3: 59:[85, 104] Operation: 92+12=104 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[85, 80], Operations: ['4*3=12', '92-12=80'] Exploring Operation: 85*80=6800, Resulting Numbers: [6800] 6800,59 unequal: No Solution Exploring Operation: 85+80=165, Resulting Numbers: [165] 165,59 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[92, 73], Operations: ['4*3=12', '85-12=73'] Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,59 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[92, 97], Operations: ['4*3=12', '85+12=97'] Exploring Operation: 92*97=8924, Resulting Numbers: [8924] 8924,59 unequal: No Solution Exploring Operation: 92+97=189, Resulting Numbers: [189] 189,59 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[85, 104], Operations: ['4*3=12', '92+12=104'] Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,59 unequal: No Solution Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[4, 92, 82], Operations: ['85-3=82'] Exploring Operation: 92-4=88, Resulting Numbers: [82, 88] Generated Node #0,2,0: 59:[82, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [82, 23] Generated Node #0,2,1: 59:[82, 23] Operation: 92/4=23 Exploring Operation: 4+92=96, Resulting Numbers: [82, 96] Generated Node #0,2,2: 59:[82, 96] Operation: 4+92=96 Exploring Operation: 82-4=78, Resulting Numbers: [92, 78] Generated Node #0,2,3: 59:[92, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[82, 88], Operations: ['85-3=82', '92-4=88'] Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[92, 78], Operations: ['85-3=82', '82-4=78'] Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[82, 23], Operations: ['85-3=82', '92/4=23'] Exploring Operation: 82*23=1886, Resulting Numbers: [1886] 1886,59 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[85, 4, 3, 92], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [4, 92, 82] Generated Node #0,2: 59:[4, 92, 82] Operation: 85-3=82 Moving to Node #0,2 Current State: 59:[4, 92, 82], Operations: ['85-3=82'] Exploring Operation: 92/4=23, Resulting Numbers: [82, 23] Generated Node #0,2,1: 59:[82, 23] Operation: 92/4=23 Moving to Node #0,2,1 Current State: 59:[82, 23], Operations: ['85-3=82', '92/4=23'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 7, 91, 14, 5 ]
77
[ "7+5=12", "14*12=168", "168-91=77" ]
Current State: 77:[7, 91, 14, 5], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [91, 14, 12] Generated Node #2: [91, 14, 12] from Operation: 7+5=12 Current State: 77:[91, 14, 12], Operations: ['7+5=12'] Exploring Operation: 14*12=168, Resulting Numbers: [91, 168] Generated Node #3: [91, 168] from Operation: 14*12=168 Current State: 77:[91, 168], Operations: ['7+5=12', '14*12=168'] Exploring Operation: 168-91=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[7, 91, 14, 5], Operations: [] Exploring Operation: 91-14=77, Resulting Numbers: [7, 5, 77] Generated Node #0,0: 77:[7, 5, 77] Operation: 91-14=77 Exploring Operation: 91/7=13, Resulting Numbers: [14, 5, 13] Generated Node #0,1: 77:[14, 5, 13] Operation: 91/7=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[7, 5, 77], Operations: ['91-14=77'] Exploring Operation: 77/7=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 77:[5, 11] Operation: 77/7=11 Exploring Operation: 7+5=12, Resulting Numbers: [77, 12] Generated Node #0,0,1: 77:[77, 12] Operation: 7+5=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[77, 12], Operations: ['91-14=77', '7+5=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[5, 11], Operations: ['91-14=77', '77/7=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[14, 5, 13], Operations: ['91/7=13'] Exploring Operation: 14-5=9, Resulting Numbers: [13, 9] Generated Node #0,1,0: 77:[13, 9] Operation: 14-5=9 Exploring Operation: 13-5=8, Resulting Numbers: [14, 8] Generated Node #0,1,1: 77:[14, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[13, 9], Operations: ['91/7=13', '14-5=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[14, 8], Operations: ['91/7=13', '13-5=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 76, 94, 7, 3 ]
13
[ "94-76=18", "18/3=6", "7+6=13" ]
Current State: 13:[76, 94, 7, 3], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [7, 3, 18] Generated Node #2: [7, 3, 18] from Operation: 94-76=18 Current State: 13:[7, 3, 18], Operations: ['94-76=18'] Exploring Operation: 18/3=6, Resulting Numbers: [7, 6] Generated Node #3: [7, 6] from Operation: 18/3=6 Current State: 13:[7, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[76, 94, 7, 3], Operations: [] Exploring Operation: 76-7=69, Resulting Numbers: [94, 3, 69] Generated Node #0,0: 13:[94, 3, 69] Operation: 76-7=69 Exploring Operation: 94-76=18, Resulting Numbers: [7, 3, 18] Generated Node #0,1: 13:[7, 3, 18] Operation: 94-76=18 Exploring Operation: 76-3=73, Resulting Numbers: [94, 7, 73] Generated Node #0,2: 13:[94, 7, 73] Operation: 76-3=73 Exploring Operation: 94-7=87, Resulting Numbers: [76, 3, 87] Generated Node #0,3: 13:[76, 3, 87] Operation: 94-7=87 Exploring Operation: 94-3=91, Resulting Numbers: [76, 7, 91] Generated Node #0,4: 13:[76, 7, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[7, 3, 18], Operations: ['94-76=18'] Exploring Operation: 7+3=10, Resulting Numbers: [18, 10] Generated Node #0,1,0: 13:[18, 10] Operation: 7+3=10 Exploring Operation: 18-7=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 13:[3, 11] Operation: 18-7=11 Exploring Operation: 7*3=21, Resulting Numbers: [18, 21] Generated Node #0,1,2: 13:[18, 21] Operation: 7*3=21 Exploring Operation: 18/3=6, Resulting Numbers: [7, 6] Generated Node #0,1,3: 13:[7, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [7, 15] Generated Node #0,1,4: 13:[7, 15] Operation: 18-3=15 Moving to Node #0,1,0 Current State: 13:[18, 10], Operations: ['94-76=18', '7+3=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[7, 15], Operations: ['94-76=18', '18-3=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[3, 11], Operations: ['94-76=18', '18-7=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[18, 21], Operations: ['94-76=18', '7*3=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,13 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[7, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[76, 94, 7, 3], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [7, 3, 18] Generated Node #0,1: 13:[7, 3, 18] Operation: 94-76=18 Moving to Node #0,1 Current State: 13:[7, 3, 18], Operations: ['94-76=18'] Exploring Operation: 18/3=6, Resulting Numbers: [7, 6] Generated Node #0,1,3: 13:[7, 6] Operation: 18/3=6 Moving to Node #0,1,3 Current State: 13:[7, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 41, 88, 75, 69 ]
33
[ "41*69=2829", "75+2829=2904", "2904/88=33" ]
Current State: 33:[41, 88, 75, 69], Operations: [] Exploring Operation: 41*69=2829, Resulting Numbers: [88, 75, 2829] Generated Node #2: [88, 75, 2829] from Operation: 41*69=2829 Current State: 33:[88, 75, 2829], Operations: ['41*69=2829'] Exploring Operation: 75+2829=2904, Resulting Numbers: [88, 2904] Generated Node #3: [88, 2904] from Operation: 75+2829=2904 Current State: 33:[88, 2904], Operations: ['41*69=2829', '75+2829=2904'] Exploring Operation: 2904/88=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[41, 88, 75, 69], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [41, 75, 19] Generated Node #0,0: 33:[41, 75, 19] Operation: 88-69=19 Exploring Operation: 88-75=13, Resulting Numbers: [41, 69, 13] Generated Node #0,1: 33:[41, 69, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 33:[41, 69, 13], Operations: ['88-75=13'] Exploring Operation: 69-13=56, Resulting Numbers: [41, 56] Generated Node #0,1,0: 33:[41, 56] Operation: 69-13=56 Exploring Operation: 69-41=28, Resulting Numbers: [13, 28] Generated Node #0,1,1: 33:[13, 28] Operation: 69-41=28 Moving to Node #0,0 Current State: 33:[41, 75, 19], Operations: ['88-69=19'] Exploring Operation: 75-19=56, Resulting Numbers: [41, 56] Generated Node #0,0,0: 33:[41, 56] Operation: 75-19=56 Exploring Operation: 75-41=34, Resulting Numbers: [19, 34] Generated Node #0,0,1: 33:[19, 34] Operation: 75-41=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[19, 34], Operations: ['88-69=19', '75-41=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,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,0,0 Current State: 33:[41, 56], Operations: ['88-69=19', '75-19=56'] Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,33 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 33:[13, 28], Operations: ['88-75=13', '69-41=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[41, 56], Operations: ['88-75=13', '69-13=56'] Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,33 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 49, 15, 21, 26 ]
59
[ "49+15=64", "26-21=5", "64-5=59" ]
Current State: 59:[49, 15, 21, 26], Operations: [] Exploring Operation: 49+15=64, Resulting Numbers: [21, 26, 64] Generated Node #2: [21, 26, 64] from Operation: 49+15=64 Current State: 59:[21, 26, 64], Operations: ['49+15=64'] Exploring Operation: 26-21=5, Resulting Numbers: [64, 5] Generated Node #3: [64, 5] from Operation: 26-21=5 Current State: 59:[64, 5], Operations: ['49+15=64', '26-21=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[49, 15, 21, 26], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [49, 26, 36] Generated Node #0,0: 59:[49, 26, 36] Operation: 15+21=36 Exploring Operation: 21+26=47, Resulting Numbers: [49, 15, 47] Generated Node #0,1: 59:[49, 15, 47] Operation: 21+26=47 Exploring Operation: 15+26=41, Resulting Numbers: [49, 21, 41] Generated Node #0,2: 59:[49, 21, 41] Operation: 15+26=41 Moving to Node #0,0 Current State: 59:[49, 26, 36], Operations: ['15+21=36'] Exploring Operation: 49-26=23, Resulting Numbers: [36, 23] Generated Node #0,0,0: 59:[36, 23] Operation: 49-26=23 Exploring Operation: 26+36=62, Resulting Numbers: [49, 62] Generated Node #0,0,1: 59:[49, 62] Operation: 26+36=62 Exploring Operation: 49+26=75, Resulting Numbers: [36, 75] Generated Node #0,0,2: 59:[36, 75] Operation: 49+26=75 Moving to Node #0,1 Current State: 59:[49, 15, 47], Operations: ['21+26=47'] Exploring Operation: 49-15=34, Resulting Numbers: [47, 34] Generated Node #0,1,0: 59:[47, 34] Operation: 49-15=34 Exploring Operation: 49+15=64, Resulting Numbers: [47, 64] Generated Node #0,1,1: 59:[47, 64] Operation: 49+15=64 Exploring Operation: 15+47=62, Resulting Numbers: [49, 62] Generated Node #0,1,2: 59:[49, 62] Operation: 15+47=62 Moving to Node #0,2 Current State: 59:[49, 21, 41], Operations: ['15+26=41'] Exploring Operation: 49+21=70, Resulting Numbers: [41, 70] Generated Node #0,2,0: 59:[41, 70] Operation: 49+21=70 Exploring Operation: 21+41=62, Resulting Numbers: [49, 62] Generated Node #0,2,1: 59:[49, 62] Operation: 21+41=62 Exploring Operation: 49-21=28, Resulting Numbers: [41, 28] Generated Node #0,2,2: 59:[41, 28] Operation: 49-21=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[49, 62], Operations: ['15+26=41', '21+41=62'] Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,59 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[41, 70], Operations: ['15+26=41', '49+21=70'] Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 41*70=2870, Resulting Numbers: [2870] 2870,59 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[41, 28], Operations: ['15+26=41', '49-21=28'] Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,59 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 59:[49, 62], Operations: ['15+21=36', '26+36=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[49, 62], Operations: ['21+26=47', '15+47=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,59 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[47, 64], Operations: ['21+26=47', '49+15=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,59 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[47, 34], Operations: ['21+26=47', '49-15=34'] Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,59 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[36, 75], Operations: ['15+21=36', '49+26=75'] Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,59 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[36, 23], Operations: ['15+21=36', '49-26=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[49, 15, 21, 26], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [49, 26, 36] Generated Node #0,0: 59:[49, 26, 36] Operation: 15+21=36 Moving to Node #0,0 Current State: 59:[49, 26, 36], Operations: ['15+21=36'] Exploring Operation: 49-26=23, Resulting Numbers: [36, 23] Generated Node #0,0,0: 59:[36, 23] Operation: 49-26=23 Moving to Node #0,0,0 Current State: 59:[36, 23], Operations: ['15+21=36', '49-26=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 43, 69, 57, 37 ]
92
[ "43+69=112", "57-37=20", "112-20=92" ]
Current State: 92:[43, 69, 57, 37], Operations: [] Exploring Operation: 43+69=112, Resulting Numbers: [57, 37, 112] Generated Node #2: [57, 37, 112] from Operation: 43+69=112 Current State: 92:[57, 37, 112], Operations: ['43+69=112'] Exploring Operation: 57-37=20, Resulting Numbers: [112, 20] Generated Node #3: [112, 20] from Operation: 57-37=20 Current State: 92:[112, 20], Operations: ['43+69=112', '57-37=20'] Exploring Operation: 112-20=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[43, 69, 57, 37], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [43, 57, 32] Generated Node #0,0: 92:[43, 57, 32] Operation: 69-37=32 Exploring Operation: 69-43=26, Resulting Numbers: [57, 37, 26] Generated Node #0,1: 92:[57, 37, 26] Operation: 69-43=26 Exploring Operation: 69-57=12, Resulting Numbers: [43, 37, 12] Generated Node #0,2: 92:[43, 37, 12] Operation: 69-57=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[43, 37, 12], Operations: ['69-57=12'] Exploring Operation: 37+12=49, Resulting Numbers: [43, 49] Generated Node #0,2,0: 92:[43, 49] Operation: 37+12=49 Exploring Operation: 43-37=6, Resulting Numbers: [12, 6] Generated Node #0,2,1: 92:[12, 6] Operation: 43-37=6 Exploring Operation: 37-12=25, Resulting Numbers: [43, 25] Generated Node #0,2,2: 92:[43, 25] Operation: 37-12=25 Moving to Node #0,2,2 Current State: 92:[43, 25], Operations: ['69-57=12', '37-12=25'] Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,92 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[43, 49], Operations: ['69-57=12', '37+12=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[43, 69, 57, 37], Operations: [] Exploring Operation: 69-57=12, Resulting Numbers: [43, 37, 12] Generated Node #0,2: 92:[43, 37, 12] Operation: 69-57=12 Moving to Node #0,2 Current State: 92:[43, 37, 12], Operations: ['69-57=12'] Exploring Operation: 37+12=49, Resulting Numbers: [43, 49] Generated Node #0,2,0: 92:[43, 49] Operation: 37+12=49 Moving to Node #0,2,0 Current State: 92:[43, 49], Operations: ['69-57=12', '37+12=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 49, 81, 75, 45 ]
78
[ "49+81=130", "45*130=5850", "5850/75=78" ]
Current State: 78:[49, 81, 75, 45], Operations: [] Exploring Operation: 49+81=130, Resulting Numbers: [75, 45, 130] Generated Node #2: [75, 45, 130] from Operation: 49+81=130 Current State: 78:[75, 45, 130], Operations: ['49+81=130'] Exploring Operation: 45*130=5850, Resulting Numbers: [75, 5850] Generated Node #3: [75, 5850] from Operation: 45*130=5850 Current State: 78:[75, 5850], Operations: ['49+81=130', '45*130=5850'] Exploring Operation: 5850/75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[49, 81, 75, 45], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [81, 75, 4] Generated Node #0,0: 78:[81, 75, 4] Operation: 49-45=4 Exploring Operation: 75-49=26, Resulting Numbers: [81, 45, 26] Generated Node #0,1: 78:[81, 45, 26] Operation: 75-49=26 Moving to Node #0,0 Current State: 78:[81, 75, 4], Operations: ['49-45=4'] Exploring Operation: 81-75=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 78:[4, 6] Operation: 81-75=6 Exploring Operation: 81-4=77, Resulting Numbers: [75, 77] Generated Node #0,0,1: 78:[75, 77] Operation: 81-4=77 Moving to Node #0,1 Current State: 78:[81, 45, 26], Operations: ['75-49=26'] Exploring Operation: 45-26=19, Resulting Numbers: [81, 19] Generated Node #0,1,0: 78:[81, 19] Operation: 45-26=19 Exploring Operation: 81-45=36, Resulting Numbers: [26, 36] Generated Node #0,1,1: 78:[26, 36] Operation: 81-45=36 Moving to Node #0,0,0 Current State: 78:[4, 6], Operations: ['49-45=4', '81-75=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[26, 36], Operations: ['75-49=26', '81-45=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[75, 77], Operations: ['49-45=4', '81-4=77'] Exploring Operation: 75+77=152, Resulting Numbers: [152] 152,78 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[81, 19], Operations: ['75-49=26', '45-26=19'] Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,78 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 66, 42, 29 ]
53
[ "1*66=66", "42-29=13", "66-13=53" ]
Current State: 53:[1, 66, 42, 29], Operations: [] Exploring Operation: 1*66=66, Resulting Numbers: [42, 29, 66] Generated Node #2: [42, 29, 66] from Operation: 1*66=66 Current State: 53:[42, 29, 66], Operations: ['1*66=66'] Exploring Operation: 42-29=13, Resulting Numbers: [66, 13] Generated Node #3: [66, 13] from Operation: 42-29=13 Current State: 53:[66, 13], Operations: ['1*66=66', '42-29=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[1, 66, 42, 29], Operations: [] Exploring Operation: 1+29=30, Resulting Numbers: [66, 42, 30] Generated Node #0,0: 53:[66, 42, 30] Operation: 1+29=30 Exploring Operation: 1+42=43, Resulting Numbers: [66, 29, 43] Generated Node #0,1: 53:[66, 29, 43] Operation: 1+42=43 Exploring Operation: 66-1=65, Resulting Numbers: [42, 29, 65] Generated Node #0,2: 53:[42, 29, 65] Operation: 66-1=65 Moving to Node #0,0 Current State: 53:[66, 42, 30], Operations: ['1+29=30'] Exploring Operation: 66-30=36, Resulting Numbers: [42, 36] Generated Node #0,0,0: 53:[42, 36] Operation: 66-30=36 Exploring Operation: 66-42=24, Resulting Numbers: [30, 24] Generated Node #0,0,1: 53:[30, 24] Operation: 66-42=24 Exploring Operation: 42+30=72, Resulting Numbers: [66, 72] Generated Node #0,0,2: 53:[66, 72] Operation: 42+30=72 Moving to Node #0,1 Current State: 53:[66, 29, 43], Operations: ['1+42=43'] Exploring Operation: 66+29=95, Resulting Numbers: [43, 95] Generated Node #0,1,0: 53:[43, 95] Operation: 66+29=95 Exploring Operation: 66-29=37, Resulting Numbers: [43, 37] Generated Node #0,1,1: 53:[43, 37] Operation: 66-29=37 Exploring Operation: 29+43=72, Resulting Numbers: [66, 72] Generated Node #0,1,2: 53:[66, 72] Operation: 29+43=72 Moving to Node #0,2 Current State: 53:[42, 29, 65], Operations: ['66-1=65'] Exploring Operation: 42-29=13, Resulting Numbers: [65, 13] Generated Node #0,2,0: 53:[65, 13] Operation: 42-29=13 Exploring Operation: 65-29=36, Resulting Numbers: [42, 36] Generated Node #0,2,1: 53:[42, 36] Operation: 65-29=36 Exploring Operation: 42+29=71, Resulting Numbers: [65, 71] Generated Node #0,2,2: 53:[65, 71] Operation: 42+29=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[42, 36], Operations: ['66-1=65', '65-29=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,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,2,2 Current State: 53:[65, 71], Operations: ['66-1=65', '42+29=71'] Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,53 unequal: No Solution Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,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,2,0 Current State: 53:[65, 13], Operations: ['66-1=65', '42-29=13'] Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 65+13=78, Resulting Numbers: [78] 78,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 53:[43, 37], Operations: ['1+42=43', '66-29=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,53 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[42, 36], Operations: ['1+29=30', '66-30=36'] Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[66, 72], Operations: ['1+42=43', '29+43=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[66, 72], Operations: ['1+29=30', '42+30=72'] Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,53 unequal: No Solution Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[43, 95], Operations: ['1+42=43', '66+29=95'] Exploring Operation: 43+95=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 43*95=4085, Resulting Numbers: [4085] 4085,53 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[30, 24], Operations: ['1+29=30', '66-42=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,53 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 80, 16, 24, 48 ]
62
[ "80-16=64", "48/24=2", "64-2=62" ]
Current State: 62:[80, 16, 24, 48], Operations: [] Exploring Operation: 80-16=64, Resulting Numbers: [24, 48, 64] Generated Node #2: [24, 48, 64] from Operation: 80-16=64 Current State: 62:[24, 48, 64], Operations: ['80-16=64'] Exploring Operation: 48/24=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 48/24=2 Current State: 62:[64, 2], Operations: ['80-16=64', '48/24=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[80, 16, 24, 48], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [16, 24, 32] Generated Node #0,0: 62:[16, 24, 32] Operation: 80-48=32 Moving to Node #0,0 Current State: 62:[16, 24, 32], Operations: ['80-48=32'] Exploring Operation: 24-16=8, Resulting Numbers: [32, 8] Generated Node #0,0,0: 62:[32, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[32, 8], Operations: ['80-48=32', '24-16=8'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 26, 12, 20 ]
25
[ "26-12=14", "70/14=5", "20+5=25" ]
Current State: 25:[70, 26, 12, 20], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [70, 20, 14] Generated Node #2: [70, 20, 14] from Operation: 26-12=14 Current State: 25:[70, 20, 14], Operations: ['26-12=14'] Exploring Operation: 70/14=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 70/14=5 Current State: 25:[20, 5], Operations: ['26-12=14', '70/14=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[70, 26, 12, 20], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [12, 20, 44] Generated Node #0,0: 25:[12, 20, 44] Operation: 70-26=44 Moving to Node #0,0 Current State: 25:[12, 20, 44], Operations: ['70-26=44'] Exploring Operation: 44-20=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 25:[12, 24] Operation: 44-20=24 Moving to Node #0,0,0 Current State: 25:[12, 24], Operations: ['70-26=44', '44-20=24'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 87, 98, 49, 2 ]
60
[ "87+49=136", "98*2=196", "196-136=60" ]
Current State: 60:[87, 98, 49, 2], Operations: [] Exploring Operation: 87+49=136, Resulting Numbers: [98, 2, 136] Generated Node #2: [98, 2, 136] from Operation: 87+49=136 Current State: 60:[98, 2, 136], Operations: ['87+49=136'] Exploring Operation: 98*2=196, Resulting Numbers: [136, 196] Generated Node #3: [136, 196] from Operation: 98*2=196 Current State: 60:[136, 196], Operations: ['87+49=136', '98*2=196'] Exploring Operation: 196-136=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[87, 98, 49, 2], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [87, 2, 2] Generated Node #0,0: 60:[87, 2, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [87, 2, 49] Generated Node #0,1: 60:[87, 2, 49] Operation: 98-49=49 Exploring Operation: 87-49=38, Resulting Numbers: [98, 2, 38] Generated Node #0,2: 60:[98, 2, 38] Operation: 87-49=38 Exploring Operation: 98-87=11, Resulting Numbers: [49, 2, 11] Generated Node #0,3: 60:[49, 2, 11] Operation: 98-87=11 Moving to Node #0,3 Current State: 60:[49, 2, 11], Operations: ['98-87=11'] Exploring Operation: 49+2=51, Resulting Numbers: [11, 51] Generated Node #0,3,0: 60:[11, 51] Operation: 49+2=51 Exploring Operation: 2+11=13, Resulting Numbers: [49, 13] Generated Node #0,3,1: 60:[49, 13] Operation: 2+11=13 Exploring Operation: 49-11=38, Resulting Numbers: [2, 38] Generated Node #0,3,2: 60:[2, 38] Operation: 49-11=38 Exploring Operation: 49+11=60, Resulting Numbers: [2, 60] Generated Node #0,3,3: 60:[2, 60] Operation: 49+11=60 Moving to Node #0,0 Current State: 60:[87, 2, 2], Operations: ['98/49=2'] Exploring Operation: 2*2=4, Resulting Numbers: [87, 4] Generated Node #0,0,0: 60:[87, 4] Operation: 2*2=4 Exploring Operation: 87-2=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 60:[2, 85] Operation: 87-2=85 Exploring Operation: 87-2=85, Resulting Numbers: [2, 85] Generated Node #0,0,2: 60:[2, 85] Operation: 87-2=85 Exploring Operation: 2+2=4, Resulting Numbers: [87, 4] Generated Node #0,0,3: 60:[87, 4] Operation: 2+2=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[2, 85], Operations: ['98/49=2', '87-2=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,60 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[2, 85], Operations: ['98/49=2', '87-2=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,60 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[87, 4], Operations: ['98/49=2', '2*2=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[87, 4], Operations: ['98/49=2', '2+2=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,60 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,60 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: 60:[87, 2, 49], Operations: ['98-49=49'] Exploring Operation: 87+2=89, Resulting Numbers: [49, 89] Generated Node #0,1,0: 60:[49, 89] Operation: 87+2=89 Exploring Operation: 87-49=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 60:[2, 38] Operation: 87-49=38 Exploring Operation: 87-2=85, Resulting Numbers: [49, 85] Generated Node #0,1,2: 60:[49, 85] Operation: 87-2=85 Exploring Operation: 2+49=51, Resulting Numbers: [87, 51] Generated Node #0,1,3: 60:[87, 51] Operation: 2+49=51 Moving to Node #0,2 Current State: 60:[98, 2, 38], Operations: ['87-49=38'] Exploring Operation: 98/2=49, Resulting Numbers: [38, 49] Generated Node #0,2,0: 60:[38, 49] Operation: 98/2=49 Exploring Operation: 38/2=19, Resulting Numbers: [98, 19] Generated Node #0,2,1: 60:[98, 19] Operation: 38/2=19 Exploring Operation: 98-2=96, Resulting Numbers: [38, 96] Generated Node #0,2,2: 60:[38, 96] Operation: 98-2=96 Exploring Operation: 98-38=60, Resulting Numbers: [2, 60] Generated Node #0,2,3: 60:[2, 60] Operation: 98-38=60 Moving to Node #0,3,3 Current State: 60:[2, 60], Operations: ['98-87=11', '49+11=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[2, 60], Operations: ['87-49=38', '98-38=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[2, 38], Operations: ['98-49=49', '87-49=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,60 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[2, 38], Operations: ['98-87=11', '49-11=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,60 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[11, 51], Operations: ['98-87=11', '49+2=51'] Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,60 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[49, 13], Operations: ['98-87=11', '2+11=13'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,60 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[38, 49], Operations: ['87-49=38', '98/2=49'] Exploring Operation: 38*49=1862, Resulting Numbers: [1862] 1862,60 unequal: No Solution Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[87, 51], Operations: ['98-49=49', '2+49=51'] Exploring Operation: 87+51=138, Resulting Numbers: [138] 138,60 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 87*51=4437, Resulting Numbers: [4437] 4437,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[49, 85], Operations: ['98-49=49', '87-2=85'] Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 49+85=134, Resulting Numbers: [134] 134,60 unequal: No Solution Exploring Operation: 49*85=4165, Resulting Numbers: [4165] 4165,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[98, 19], Operations: ['87-49=38', '38/2=19'] Exploring Operation: 98+19=117, Resulting Numbers: [117] 117,60 unequal: No Solution Exploring Operation: 98*19=1862, Resulting Numbers: [1862] 1862,60 unequal: No Solution Exploring Operation: 98-19=79, Resulting Numbers: [79] 79,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[49, 89], Operations: ['98-49=49', '87+2=89'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,60 unequal: No Solution Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[38, 96], Operations: ['87-49=38', '98-2=96'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 38+96=134, Resulting Numbers: [134] 134,60 unequal: No Solution Exploring Operation: 38*96=3648, Resulting Numbers: [3648] 3648,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 43, 3, 61, 37 ]
93
[ "61-43=18", "3*37=111", "111-18=93" ]
Current State: 93:[43, 3, 61, 37], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [3, 37, 18] Generated Node #2: [3, 37, 18] from Operation: 61-43=18 Current State: 93:[3, 37, 18], Operations: ['61-43=18'] Exploring Operation: 3*37=111, Resulting Numbers: [18, 111] Generated Node #3: [18, 111] from Operation: 3*37=111 Current State: 93:[18, 111], Operations: ['61-43=18', '3*37=111'] Exploring Operation: 111-18=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[43, 3, 61, 37], Operations: [] Exploring Operation: 61+37=98, Resulting Numbers: [43, 3, 98] Generated Node #0,0: 93:[43, 3, 98] Operation: 61+37=98 Exploring Operation: 43+61=104, Resulting Numbers: [3, 37, 104] Generated Node #0,1: 93:[3, 37, 104] Operation: 43+61=104 Exploring Operation: 61-43=18, Resulting Numbers: [3, 37, 18] Generated Node #0,2: 93:[3, 37, 18] Operation: 61-43=18 Moving to Node #0,0 Current State: 93:[43, 3, 98], Operations: ['61+37=98'] Exploring Operation: 43-3=40, Resulting Numbers: [98, 40] Generated Node #0,0,0: 93:[98, 40] Operation: 43-3=40 Exploring Operation: 98-3=95, Resulting Numbers: [43, 95] Generated Node #0,0,1: 93:[43, 95] Operation: 98-3=95 Exploring Operation: 43+3=46, Resulting Numbers: [98, 46] Generated Node #0,0,2: 93:[98, 46] Operation: 43+3=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[98, 40], Operations: ['61+37=98', '43-3=40'] Exploring Operation: 98*40=3920, Resulting Numbers: [3920] 3920,93 unequal: No Solution Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 98+40=138, Resulting Numbers: [138] 138,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[43, 95], Operations: ['61+37=98', '98-3=95'] Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 43+95=138, Resulting Numbers: [138] 138,93 unequal: No Solution Exploring Operation: 43*95=4085, Resulting Numbers: [4085] 4085,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[98, 46], Operations: ['61+37=98', '43+3=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,93 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,93 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: 93:[3, 37, 104], Operations: ['43+61=104'] Exploring Operation: 3+37=40, Resulting Numbers: [104, 40] Generated Node #0,1,0: 93:[104, 40] Operation: 3+37=40 Exploring Operation: 37-3=34, Resulting Numbers: [104, 34] Generated Node #0,1,1: 93:[104, 34] Operation: 37-3=34 Exploring Operation: 104-3=101, Resulting Numbers: [37, 101] Generated Node #0,1,2: 93:[37, 101] Operation: 104-3=101 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[104, 34], Operations: ['43+61=104', '37-3=34'] Exploring Operation: 104+34=138, Resulting Numbers: [138] 138,93 unequal: No Solution Exploring Operation: 104-34=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 104*34=3536, Resulting Numbers: [3536] 3536,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[37, 101], Operations: ['43+61=104', '104-3=101'] Exploring Operation: 37*101=3737, Resulting Numbers: [3737] 3737,93 unequal: No Solution Exploring Operation: 37+101=138, Resulting Numbers: [138] 138,93 unequal: No Solution Exploring Operation: 101-37=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[104, 40], Operations: ['43+61=104', '3+37=40'] Exploring Operation: 104+40=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 104*40=4160, Resulting Numbers: [4160] 4160,93 unequal: No Solution Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[3, 37, 18], Operations: ['61-43=18'] Exploring Operation: 37-3=34, Resulting Numbers: [18, 34] Generated Node #0,2,0: 93:[18, 34] Operation: 37-3=34 Exploring Operation: 18/3=6, Resulting Numbers: [37, 6] Generated Node #0,2,1: 93:[37, 6] Operation: 18/3=6 Exploring Operation: 37-18=19, Resulting Numbers: [3, 19] Generated Node #0,2,2: 93:[3, 19] Operation: 37-18=19 Moving to Node #0,2,1 Current State: 93:[37, 6], Operations: ['61-43=18', '18/3=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,93 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[3, 19], Operations: ['61-43=18', '37-18=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[18, 34], Operations: ['61-43=18', '37-3=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,93 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,93 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 38, 71, 82 ]
93
[ "82-71=11", "5*11=55", "38+55=93" ]
Current State: 93:[5, 38, 71, 82], Operations: [] Exploring Operation: 82-71=11, Resulting Numbers: [5, 38, 11] Generated Node #2: [5, 38, 11] from Operation: 82-71=11 Current State: 93:[5, 38, 11], Operations: ['82-71=11'] Exploring Operation: 5*11=55, Resulting Numbers: [38, 55] Generated Node #3: [38, 55] from Operation: 5*11=55 Current State: 93:[38, 55], Operations: ['82-71=11', '5*11=55'] Exploring Operation: 38+55=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 38, 71, 82], Operations: [] Exploring Operation: 38+71=109, Resulting Numbers: [5, 82, 109] Generated Node #0,0: 93:[5, 82, 109] Operation: 38+71=109 Exploring Operation: 71-38=33, Resulting Numbers: [5, 82, 33] Generated Node #0,1: 93:[5, 82, 33] Operation: 71-38=33 Exploring Operation: 82-71=11, Resulting Numbers: [5, 38, 11] Generated Node #0,2: 93:[5, 38, 11] Operation: 82-71=11 Moving to Node #0,1 Current State: 93:[5, 82, 33], Operations: ['71-38=33'] Exploring Operation: 5+82=87, Resulting Numbers: [33, 87] Generated Node #0,1,0: 93:[33, 87] Operation: 5+82=87 Exploring Operation: 82-5=77, Resulting Numbers: [33, 77] Generated Node #0,1,1: 93:[33, 77] Operation: 82-5=77 Exploring Operation: 33-5=28, Resulting Numbers: [82, 28] Generated Node #0,1,2: 93:[82, 28] Operation: 33-5=28 Moving to Node #0,2 Current State: 93:[5, 38, 11], Operations: ['82-71=11'] Exploring Operation: 38-5=33, Resulting Numbers: [11, 33] Generated Node #0,2,0: 93:[11, 33] Operation: 38-5=33 Exploring Operation: 11-5=6, Resulting Numbers: [38, 6] Generated Node #0,2,1: 93:[38, 6] Operation: 11-5=6 Exploring Operation: 38-11=27, Resulting Numbers: [5, 27] Generated Node #0,2,2: 93:[5, 27] Operation: 38-11=27 Moving to Node #0,0 Current State: 93:[5, 82, 109], Operations: ['38+71=109'] Exploring Operation: 109-82=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 93:[5, 27] Operation: 109-82=27 Exploring Operation: 109-5=104, Resulting Numbers: [82, 104] Generated Node #0,0,1: 93:[82, 104] Operation: 109-5=104 Exploring Operation: 5+82=87, Resulting Numbers: [109, 87] Generated Node #0,0,2: 93:[109, 87] Operation: 5+82=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[5, 27], Operations: ['38+71=109', '109-82=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[82, 104], Operations: ['38+71=109', '109-5=104'] Exploring Operation: 104-82=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 82*104=8528, Resulting Numbers: [8528] 8528,93 unequal: No Solution Exploring Operation: 82+104=186, Resulting Numbers: [186] 186,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[109, 87], Operations: ['38+71=109', '5+82=87'] Exploring Operation: 109+87=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 109-87=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 109*87=9483, Resulting Numbers: [9483] 9483,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 93:[5, 27], Operations: ['82-71=11', '38-11=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[33, 87], Operations: ['71-38=33', '5+82=87'] Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[38, 6], Operations: ['82-71=11', '11-5=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,93 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[11, 33], Operations: ['82-71=11', '38-5=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[82, 28], Operations: ['71-38=33', '33-5=28'] Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,93 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,93 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[33, 77], Operations: ['71-38=33', '82-5=77'] Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 33*77=2541, Resulting Numbers: [2541] 2541,93 unequal: No Solution Exploring Operation: 33+77=110, Resulting Numbers: [110] 110,93 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 61, 66, 40, 83 ]
43
[ "83-61=22", "66/22=3", "40+3=43" ]
Current State: 43:[61, 66, 40, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [66, 40, 22] Generated Node #2: [66, 40, 22] from Operation: 83-61=22 Current State: 43:[66, 40, 22], Operations: ['83-61=22'] Exploring Operation: 66/22=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 66/22=3 Current State: 43:[40, 3], Operations: ['83-61=22', '66/22=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[61, 66, 40, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [66, 40, 22] Generated Node #0,0: 43:[66, 40, 22] Operation: 83-61=22 Exploring Operation: 83-40=43, Resulting Numbers: [61, 66, 43] Generated Node #0,1: 43:[61, 66, 43] Operation: 83-40=43 Exploring Operation: 66-40=26, Resulting Numbers: [61, 83, 26] Generated Node #0,2: 43:[61, 83, 26] Operation: 66-40=26 Exploring Operation: 83-66=17, Resulting Numbers: [61, 40, 17] Generated Node #0,3: 43:[61, 40, 17] Operation: 83-66=17 Moving to Node #0,1 Current State: 43:[61, 66, 43], Operations: ['83-40=43'] Exploring Operation: 61+66=127, Resulting Numbers: [43, 127] Generated Node #0,1,0: 43:[43, 127] Operation: 61+66=127 Exploring Operation: 61-43=18, Resulting Numbers: [66, 18] Generated Node #0,1,1: 43:[66, 18] Operation: 61-43=18 Exploring Operation: 66-61=5, Resulting Numbers: [43, 5] Generated Node #0,1,2: 43:[43, 5] Operation: 66-61=5 Exploring Operation: 66-43=23, Resulting Numbers: [61, 23] Generated Node #0,1,3: 43:[61, 23] Operation: 66-43=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[43, 5], Operations: ['83-40=43', '66-61=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[61, 23], Operations: ['83-40=43', '66-43=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[66, 18], Operations: ['83-40=43', '61-43=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,43 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[43, 127], Operations: ['83-40=43', '61+66=127'] Exploring Operation: 127-43=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 43*127=5461, Resulting Numbers: [5461] 5461,43 unequal: No Solution Exploring Operation: 43+127=170, Resulting Numbers: [170] 170,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 43:[61, 40, 17], Operations: ['83-66=17'] Exploring Operation: 61+17=78, Resulting Numbers: [40, 78] Generated Node #0,3,0: 43:[40, 78] Operation: 61+17=78 Exploring Operation: 61-17=44, Resulting Numbers: [40, 44] Generated Node #0,3,1: 43:[40, 44] Operation: 61-17=44 Exploring Operation: 40-17=23, Resulting Numbers: [61, 23] Generated Node #0,3,2: 43:[61, 23] Operation: 40-17=23 Exploring Operation: 40+17=57, Resulting Numbers: [61, 57] Generated Node #0,3,3: 43:[61, 57] Operation: 40+17=57 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[40, 44], Operations: ['83-66=17', '61-17=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[61, 57], Operations: ['83-66=17', '40+17=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[40, 78], Operations: ['83-66=17', '61+17=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,43 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[61, 23], Operations: ['83-66=17', '40-17=23'] Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,43 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 43:[66, 40, 22], Operations: ['83-61=22'] Exploring Operation: 40+22=62, Resulting Numbers: [66, 62] Generated Node #0,0,0: 43:[66, 62] Operation: 40+22=62 Exploring Operation: 66-22=44, Resulting Numbers: [40, 44] Generated Node #0,0,1: 43:[40, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [40, 3] Generated Node #0,0,2: 43:[40, 3] Operation: 66/22=3 Exploring Operation: 66-40=26, Resulting Numbers: [22, 26] Generated Node #0,0,3: 43:[22, 26] Operation: 66-40=26 Moving to Node #0,2 Current State: 43:[61, 83, 26], Operations: ['66-40=26'] Exploring Operation: 61-26=35, Resulting Numbers: [83, 35] Generated Node #0,2,0: 43:[83, 35] Operation: 61-26=35 Exploring Operation: 83-61=22, Resulting Numbers: [26, 22] Generated Node #0,2,1: 43:[26, 22] Operation: 83-61=22 Exploring Operation: 61+26=87, Resulting Numbers: [83, 87] Generated Node #0,2,2: 43:[83, 87] Operation: 61+26=87 Exploring Operation: 83-26=57, Resulting Numbers: [61, 57] Generated Node #0,2,3: 43:[61, 57] Operation: 83-26=57 Moving to Node #0,0,1 Current State: 43:[40, 44], Operations: ['83-61=22', '66-22=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[61, 57], Operations: ['66-40=26', '83-26=57'] Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,43 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[26, 22], Operations: ['66-40=26', '83-61=22'] Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,43 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[22, 26], Operations: ['83-61=22', '66-40=26'] Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,43 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[66, 62], Operations: ['83-61=22', '40+22=62'] Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,43 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[40, 3], Operations: ['83-61=22', '66/22=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[61, 66, 40, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [66, 40, 22] Generated Node #0,0: 43:[66, 40, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 43:[66, 40, 22], Operations: ['83-61=22'] Exploring Operation: 66/22=3, Resulting Numbers: [40, 3] Generated Node #0,0,2: 43:[40, 3] Operation: 66/22=3 Moving to Node #0,0,2 Current State: 43:[40, 3], Operations: ['83-61=22', '66/22=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.943576
hs_4
mult_heuristic
[ 91, 71, 97, 28 ]
27
[ "91*28=2548", "71+2548=2619", "2619/97=27" ]
Current State: 27:[91, 71, 97, 28], Operations: [] Exploring Operation: 91*28=2548, Resulting Numbers: [71, 97, 2548] Generated Node #2: [71, 97, 2548] from Operation: 91*28=2548 Current State: 27:[71, 97, 2548], Operations: ['91*28=2548'] Exploring Operation: 71+2548=2619, Resulting Numbers: [97, 2619] Generated Node #3: [97, 2619] from Operation: 71+2548=2619 Current State: 27:[97, 2619], Operations: ['91*28=2548', '71+2548=2619'] Exploring Operation: 2619/97=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[91, 71, 97, 28], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [91, 28, 26] Generated Node #0,0: 27:[91, 28, 26] Operation: 97-71=26 Exploring Operation: 97-91=6, Resulting Numbers: [71, 28, 6] Generated Node #0,1: 27:[71, 28, 6] Operation: 97-91=6 Exploring Operation: 91-71=20, Resulting Numbers: [97, 28, 20] Generated Node #0,2: 27:[97, 28, 20] Operation: 91-71=20 Exploring Operation: 71-28=43, Resulting Numbers: [91, 97, 43] Generated Node #0,3: 27:[91, 97, 43] Operation: 71-28=43 Exploring Operation: 91-28=63, Resulting Numbers: [71, 97, 63] Generated Node #0,4: 27:[71, 97, 63] Operation: 91-28=63 Moving to Node #0,1 Current State: 27:[71, 28, 6], Operations: ['97-91=6'] Exploring Operation: 28+6=34, Resulting Numbers: [71, 34] Generated Node #0,1,0: 27:[71, 34] Operation: 28+6=34 Exploring Operation: 28-6=22, Resulting Numbers: [71, 22] Generated Node #0,1,1: 27:[71, 22] Operation: 28-6=22 Exploring Operation: 71+6=77, Resulting Numbers: [28, 77] Generated Node #0,1,2: 27:[28, 77] Operation: 71+6=77 Exploring Operation: 71-28=43, Resulting Numbers: [6, 43] Generated Node #0,1,3: 27:[6, 43] Operation: 71-28=43 Exploring Operation: 71-6=65, Resulting Numbers: [28, 65] Generated Node #0,1,4: 27:[28, 65] Operation: 71-6=65 Moving to Node #0,0 Current State: 27:[91, 28, 26], Operations: ['97-71=26'] Exploring Operation: 91-28=63, Resulting Numbers: [26, 63] Generated Node #0,0,0: 27:[26, 63] Operation: 91-28=63 Exploring Operation: 28-26=2, Resulting Numbers: [91, 2] Generated Node #0,0,1: 27:[91, 2] Operation: 28-26=2 Exploring Operation: 91+26=117, Resulting Numbers: [28, 117] Generated Node #0,0,2: 27:[28, 117] Operation: 91+26=117 Exploring Operation: 91-26=65, Resulting Numbers: [28, 65] Generated Node #0,0,3: 27:[28, 65] Operation: 91-26=65 Exploring Operation: 28+26=54, Resulting Numbers: [91, 54] Generated Node #0,0,4: 27:[91, 54] Operation: 28+26=54 Moving to Node #0,2 Current State: 27:[97, 28, 20], Operations: ['91-71=20'] Exploring Operation: 97+20=117, Resulting Numbers: [28, 117] Generated Node #0,2,0: 27:[28, 117] Operation: 97+20=117 Exploring Operation: 28-20=8, Resulting Numbers: [97, 8] Generated Node #0,2,1: 27:[97, 8] Operation: 28-20=8 Exploring Operation: 97-20=77, Resulting Numbers: [28, 77] Generated Node #0,2,2: 27:[28, 77] Operation: 97-20=77 Exploring Operation: 28+20=48, Resulting Numbers: [97, 48] Generated Node #0,2,3: 27:[97, 48] Operation: 28+20=48 Exploring Operation: 97-28=69, Resulting Numbers: [20, 69] Generated Node #0,2,4: 27:[20, 69] Operation: 97-28=69 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 27:[20, 69], Operations: ['91-71=20', '97-28=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,27 unequal: No Solution No 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: 27:[28, 77], Operations: ['91-71=20', '97-20=77'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,27 unequal: No Solution Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,27 unequal: No Solution No 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: 27:[97, 8], Operations: ['91-71=20', '28-20=8'] Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,27 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,27 unequal: No Solution No 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: 27:[28, 117], Operations: ['91-71=20', '97+20=117'] Exploring Operation: 28+117=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 28*117=3276, Resulting Numbers: [3276] 3276,27 unequal: No Solution Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,27 unequal: No Solution No 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: 27:[97, 48], Operations: ['91-71=20', '28+20=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,27 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,27 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: 27:[91, 97, 43], Operations: ['71-28=43'] Exploring Operation: 91+97=188, Resulting Numbers: [43, 188] Generated Node #0,3,0: 27:[43, 188] Operation: 91+97=188 Exploring Operation: 97-43=54, Resulting Numbers: [91, 54] Generated Node #0,3,1: 27:[91, 54] Operation: 97-43=54 Exploring Operation: 91-43=48, Resulting Numbers: [97, 48] Generated Node #0,3,2: 27:[97, 48] Operation: 91-43=48 Exploring Operation: 97-91=6, Resulting Numbers: [43, 6] Generated Node #0,3,3: 27:[43, 6] Operation: 97-91=6 Exploring Operation: 91+43=134, Resulting Numbers: [97, 134] Generated Node #0,3,4: 27:[97, 134] Operation: 91+43=134 Moving to Node #0,4 Current State: 27:[71, 97, 63], Operations: ['91-28=63'] Exploring Operation: 71-63=8, Resulting Numbers: [97, 8] Generated Node #0,4,0: 27:[97, 8] Operation: 71-63=8 Exploring Operation: 71+97=168, Resulting Numbers: [63, 168] Generated Node #0,4,1: 27:[63, 168] Operation: 71+97=168 Exploring Operation: 97-63=34, Resulting Numbers: [71, 34] Generated Node #0,4,2: 27:[71, 34] Operation: 97-63=34 Exploring Operation: 97-71=26, Resulting Numbers: [63, 26] Generated Node #0,4,3: 27:[63, 26] Operation: 97-71=26 Exploring Operation: 71+63=134, Resulting Numbers: [97, 134] Generated Node #0,4,4: 27:[97, 134] Operation: 71+63=134 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 27:[63, 26], Operations: ['91-28=63', '97-71=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,27 unequal: No Solution No 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: 27:[71, 34], Operations: ['91-28=63', '97-63=34'] Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,27 unequal: No Solution No 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: 27:[97, 8], Operations: ['91-28=63', '71-63=8'] Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,27 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,27 unequal: No Solution No 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: 27:[63, 168], Operations: ['91-28=63', '71+97=168'] Exploring Operation: 63+168=231, Resulting Numbers: [231] 231,27 unequal: No Solution Exploring Operation: 168-63=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 63*168=10584, Resulting Numbers: [10584] 10584,27 unequal: No Solution No 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: 27:[97, 134], Operations: ['91-28=63', '71+63=134'] Exploring Operation: 97*134=12998, Resulting Numbers: [12998] 12998,27 unequal: No Solution Exploring Operation: 134-97=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 97+134=231, Resulting Numbers: [231] 231,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 27:[6, 43], Operations: ['97-91=6', '71-28=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,27 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[43, 6], Operations: ['71-28=43', '97-91=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,27 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[26, 63], Operations: ['97-71=26', '91-28=63'] Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,27 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[28, 65], Operations: ['97-71=26', '91-26=65'] Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[28, 65], Operations: ['97-91=6', '71-6=65'] Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,27 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[71, 22], Operations: ['97-91=6', '28-6=22'] Exploring Operation: 71+22=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 71*22=1562, Resulting Numbers: [1562] 1562,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[28, 77], Operations: ['97-91=6', '71+6=77'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,27 unequal: No Solution Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[71, 34], Operations: ['97-91=6', '28+6=34'] Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,27 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[91, 2], Operations: ['97-71=26', '28-26=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,27 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[91, 54], Operations: ['71-28=43', '97-43=54'] Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,27 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[91, 54], Operations: ['97-71=26', '28+26=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,27 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[28, 117], Operations: ['97-71=26', '91+26=117'] Exploring Operation: 28*117=3276, Resulting Numbers: [3276] 3276,27 unequal: No Solution Exploring Operation: 28+117=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[97, 48], Operations: ['71-28=43', '91-43=48'] Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,27 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[43, 188], Operations: ['71-28=43', '91+97=188'] Exploring Operation: 188-43=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 43+188=231, Resulting Numbers: [231] 231,27 unequal: No Solution Exploring Operation: 43*188=8084, Resulting Numbers: [8084] 8084,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[97, 134], Operations: ['71-28=43', '91+43=134'] Exploring Operation: 97+134=231, Resulting Numbers: [231] 231,27 unequal: No Solution Exploring Operation: 97*134=12998, Resulting Numbers: [12998] 12998,27 unequal: No Solution Exploring Operation: 134-97=37, Resulting Numbers: [37] 37,27 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 45, 33, 69, 93 ]
92
[ "93-33=60", "69*60=4140", "4140/45=92" ]
Current State: 92:[45, 33, 69, 93], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [45, 69, 60] Generated Node #2: [45, 69, 60] from Operation: 93-33=60 Current State: 92:[45, 69, 60], Operations: ['93-33=60'] Exploring Operation: 69*60=4140, Resulting Numbers: [45, 4140] Generated Node #3: [45, 4140] from Operation: 69*60=4140 Current State: 92:[45, 4140], Operations: ['93-33=60', '69*60=4140'] Exploring Operation: 4140/45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[45, 33, 69, 93], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [33, 93, 24] Generated Node #0,0: 92:[33, 93, 24] Operation: 69-45=24 Moving to Node #0,0 Current State: 92:[33, 93, 24], Operations: ['69-45=24'] Exploring Operation: 33-24=9, Resulting Numbers: [93, 9] Generated Node #0,0,0: 92:[93, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[93, 9], Operations: ['69-45=24', '33-24=9'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,92 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
[ 5, 18, 1, 18 ]
42
[ "5+18=23", "1+18=19", "23+19=42" ]
Current State: 42:[5, 18, 1, 18], Operations: [] Exploring Operation: 5+18=23, Resulting Numbers: [1, 23] Generated Node #2: [1, 23] from Operation: 5+18=23 Current State: 42:[1, 23], Operations: ['5+18=23'] Exploring Operation: 1+18=19, Resulting Numbers: [23, 19] Generated Node #3: [23, 19] from Operation: 1+18=19 Current State: 42:[23, 19], Operations: ['5+18=23', '1+18=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 18, 1, 18], Operations: [] Exploring Operation: 18/18=1, Resulting Numbers: [5, 1, 1] Generated Node #0,0: 42:[5, 1, 1] Operation: 18/18=1 Exploring Operation: 18-18=0, Resulting Numbers: [5, 1, 0] Generated Node #0,1: 42:[5, 1, 0] Operation: 18-18=0 Exploring Operation: 18-5=13, Resulting Numbers: [1, 18, 13] Generated Node #0,2: 42:[1, 18, 13] Operation: 18-5=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[5, 1, 1], Operations: ['18/18=1'] Exploring Operation: 5+1=6, Resulting Numbers: [1, 6] Generated Node #0,0,0: 42:[1, 6] Operation: 5+1=6 Exploring Operation: 5+1=6, Resulting Numbers: [1, 6] Generated Node #0,0,1: 42:[1, 6] Operation: 5+1=6 Exploring Operation: 1+1=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 42:[5, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[1, 6], Operations: ['18/18=1', '5+1=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[1, 6], Operations: ['18/18=1', '5+1=6'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[5, 2], Operations: ['18/18=1', '1+1=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[5, 1, 0], Operations: ['18-18=0'] Exploring Operation: 5-0=5, Resulting Numbers: [1, 5] Generated Node #0,1,0: 42:[1, 5] Operation: 5-0=5 Exploring Operation: 5+1=6, Resulting Numbers: [0, 6] Generated Node #0,1,1: 42:[0, 6] Operation: 5+1=6 Exploring Operation: 5+0=5, Resulting Numbers: [1, 5] Generated Node #0,1,2: 42:[1, 5] Operation: 5+0=5 Moving to Node #0,1,0 Current State: 42:[1, 5], Operations: ['18-18=0', '5-0=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[0, 6], Operations: ['18-18=0', '5+1=6'] Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 0+6=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 0*6=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[1, 5], Operations: ['18-18=0', '5+0=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[1, 18, 13], Operations: ['18-5=13'] Exploring Operation: 1+13=14, Resulting Numbers: [18, 14] Generated Node #0,2,0: 42:[18, 14] Operation: 1+13=14 Exploring Operation: 18-13=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 42:[1, 5] Operation: 18-13=5 Exploring Operation: 1+18=19, Resulting Numbers: [13, 19] Generated Node #0,2,2: 42:[13, 19] Operation: 1+18=19 Moving to Node #0,2,1 Current State: 42:[1, 5], Operations: ['18-5=13', '18-13=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[18, 14], Operations: ['18-5=13', '1+13=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[13, 19], Operations: ['18-5=13', '1+18=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,42 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
[ 59, 13, 11, 10 ]
94
[ "59-10=49", "13*11=143", "143-49=94" ]
Current State: 94:[59, 13, 11, 10], Operations: [] Exploring Operation: 59-10=49, Resulting Numbers: [13, 11, 49] Generated Node #2: [13, 11, 49] from Operation: 59-10=49 Current State: 94:[13, 11, 49], Operations: ['59-10=49'] Exploring Operation: 13*11=143, Resulting Numbers: [49, 143] Generated Node #3: [49, 143] from Operation: 13*11=143 Current State: 94:[49, 143], Operations: ['59-10=49', '13*11=143'] Exploring Operation: 143-49=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[59, 13, 11, 10], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [13, 10, 48] Generated Node #0,0: 94:[13, 10, 48] Operation: 59-11=48 Exploring Operation: 59-13=46, Resulting Numbers: [11, 10, 46] Generated Node #0,1: 94:[11, 10, 46] Operation: 59-13=46 Exploring Operation: 13-11=2, Resulting Numbers: [59, 10, 2] Generated Node #0,2: 94:[59, 10, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[11, 10, 46], Operations: ['59-13=46'] Exploring Operation: 11+46=57, Resulting Numbers: [10, 57] Generated Node #0,1,0: 94:[10, 57] Operation: 11+46=57 Exploring Operation: 11*10=110, Resulting Numbers: [46, 110] Generated Node #0,1,1: 94:[46, 110] Operation: 11*10=110 Exploring Operation: 11-10=1, Resulting Numbers: [46, 1] Generated Node #0,1,2: 94:[46, 1] Operation: 11-10=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[46, 1], Operations: ['59-13=46', '11-10=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[46, 110], Operations: ['59-13=46', '11*10=110'] Exploring Operation: 110-46=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 46+110=156, Resulting Numbers: [156] 156,94 unequal: No Solution Exploring Operation: 46*110=5060, Resulting Numbers: [5060] 5060,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[10, 57], Operations: ['59-13=46', '11+46=57'] Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[13, 10, 48], Operations: ['59-11=48'] Exploring Operation: 48-10=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 94:[13, 38] Operation: 48-10=38 Exploring Operation: 48-13=35, Resulting Numbers: [10, 35] Generated Node #0,0,1: 94:[10, 35] Operation: 48-13=35 Exploring Operation: 13-10=3, Resulting Numbers: [48, 3] Generated Node #0,0,2: 94:[48, 3] Operation: 13-10=3 Moving to Node #0,0,2 Current State: 94:[48, 3], Operations: ['59-11=48', '13-10=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[13, 38], Operations: ['59-11=48', '48-10=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,94 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[10, 35], Operations: ['59-11=48', '48-13=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[59, 10, 2], Operations: ['13-11=2'] Exploring Operation: 59-10=49, Resulting Numbers: [2, 49] Generated Node #0,2,0: 94:[2, 49] Operation: 59-10=49 Exploring Operation: 59-2=57, Resulting Numbers: [10, 57] Generated Node #0,2,1: 94:[10, 57] Operation: 59-2=57 Exploring Operation: 10/2=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 94:[59, 5] Operation: 10/2=5 Moving to Node #0,2,0 Current State: 94:[2, 49], Operations: ['13-11=2', '59-10=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[59, 5], Operations: ['13-11=2', '10/2=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,94 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[10, 57], Operations: ['13-11=2', '59-2=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,94 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,94 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
[ 99, 8, 13, 99 ]
92
[ "99-8=91", "91/13=7", "99-7=92" ]
Current State: 92:[99, 8, 13, 99], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [13, 91] Generated Node #2: [13, 91] from Operation: 99-8=91 Current State: 92:[13, 91], Operations: ['99-8=91'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,92 equal: Goal Reached Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[99, 8, 13, 99], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [8, 13, 0] Generated Node #0,0: 92:[8, 13, 0] Operation: 99-99=0 Exploring Operation: 99/99=1, Resulting Numbers: [8, 13, 1] Generated Node #0,1: 92:[8, 13, 1] Operation: 99/99=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[8, 13, 1], Operations: ['99/99=1'] Exploring Operation: 13-8=5, Resulting Numbers: [1, 5] Generated Node #0,1,0: 92:[1, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [1, 21] Generated Node #0,1,1: 92:[1, 21] Operation: 8+13=21 Moving to Node #0,1,0 Current State: 92:[1, 5], Operations: ['99/99=1', '13-8=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[1, 21], Operations: ['99/99=1', '8+13=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[8, 13, 0], Operations: ['99-99=0'] Exploring Operation: 13-8=5, Resulting Numbers: [0, 5] Generated Node #0,0,0: 92:[0, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [0, 21] Generated Node #0,0,1: 92:[0, 21] Operation: 8+13=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[0, 5], Operations: ['99-99=0', '13-8=5'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 0+5=5, Resulting Numbers: [5] 5,92 unequal: No Solution No 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: 92:[0, 21], Operations: ['99-99=0', '8+13=21'] Exploring Operation: 0*21=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 0+21=21, Resulting Numbers: [21] 21,92 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
[ 52, 3, 69, 11 ]
31
[ "52-3=49", "69+11=80", "80-49=31" ]
Current State: 31:[52, 3, 69, 11], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [69, 11, 49] Generated Node #2: [69, 11, 49] from Operation: 52-3=49 Current State: 31:[69, 11, 49], Operations: ['52-3=49'] Exploring Operation: 69+11=80, Resulting Numbers: [49, 80] Generated Node #3: [49, 80] from Operation: 69+11=80 Current State: 31:[49, 80], Operations: ['52-3=49', '69+11=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[52, 3, 69, 11], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [69, 11, 49] Generated Node #0,0: 31:[69, 11, 49] Operation: 52-3=49 Exploring Operation: 69/3=23, Resulting Numbers: [52, 11, 23] Generated Node #0,1: 31:[52, 11, 23] Operation: 69/3=23 Exploring Operation: 69-52=17, Resulting Numbers: [3, 11, 17] Generated Node #0,2: 31:[3, 11, 17] Operation: 69-52=17 Exploring Operation: 3*11=33, Resulting Numbers: [52, 69, 33] Generated Node #0,3: 31:[52, 69, 33] Operation: 3*11=33 Moving to Node #0,1 Current State: 31:[52, 11, 23], Operations: ['69/3=23'] Exploring Operation: 52-11=41, Resulting Numbers: [23, 41] Generated Node #0,1,0: 31:[23, 41] Operation: 52-11=41 Exploring Operation: 11+23=34, Resulting Numbers: [52, 34] Generated Node #0,1,1: 31:[52, 34] Operation: 11+23=34 Exploring Operation: 52+11=63, Resulting Numbers: [23, 63] Generated Node #0,1,2: 31:[23, 63] Operation: 52+11=63 Exploring Operation: 52-23=29, Resulting Numbers: [11, 29] Generated Node #0,1,3: 31:[11, 29] Operation: 52-23=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[23, 41], Operations: ['69/3=23', '52-11=41'] Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,31 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 31:[11, 29], Operations: ['69/3=23', '52-23=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,31 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[52, 34], Operations: ['69/3=23', '11+23=34'] Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,31 unequal: No Solution Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[23, 63], Operations: ['69/3=23', '52+11=63'] Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,31 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,31 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: 31:[52, 69, 33], Operations: ['3*11=33'] Exploring Operation: 69-33=36, Resulting Numbers: [52, 36] Generated Node #0,3,0: 31:[52, 36] Operation: 69-33=36 Exploring Operation: 52-33=19, Resulting Numbers: [69, 19] Generated Node #0,3,1: 31:[69, 19] Operation: 52-33=19 Exploring Operation: 52+69=121, Resulting Numbers: [33, 121] Generated Node #0,3,2: 31:[33, 121] Operation: 52+69=121 Exploring Operation: 69-52=17, Resulting Numbers: [33, 17] Generated Node #0,3,3: 31:[33, 17] Operation: 69-52=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[33, 17], Operations: ['3*11=33', '69-52=17'] Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,31 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[52, 36], Operations: ['3*11=33', '69-33=36'] Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,31 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[69, 19], Operations: ['3*11=33', '52-33=19'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[33, 121], Operations: ['3*11=33', '52+69=121'] Exploring Operation: 33*121=3993, Resulting Numbers: [3993] 3993,31 unequal: No Solution Exploring Operation: 121-33=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 33+121=154, Resulting Numbers: [154] 154,31 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: 31:[3, 11, 17], Operations: ['69-52=17'] Exploring Operation: 11+17=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 31:[3, 28] Operation: 11+17=28 Exploring Operation: 3*11=33, Resulting Numbers: [17, 33] Generated Node #0,2,1: 31:[17, 33] Operation: 3*11=33 Exploring Operation: 3+17=20, Resulting Numbers: [11, 20] Generated Node #0,2,2: 31:[11, 20] Operation: 3+17=20 Exploring Operation: 3+11=14, Resulting Numbers: [17, 14] Generated Node #0,2,3: 31:[17, 14] Operation: 3+11=14 Moving to Node #0,0 Current State: 31:[69, 11, 49], Operations: ['52-3=49'] Exploring Operation: 69+11=80, Resulting Numbers: [49, 80] Generated Node #0,0,0: 31:[49, 80] Operation: 69+11=80 Exploring Operation: 69-49=20, Resulting Numbers: [11, 20] Generated Node #0,0,1: 31:[11, 20] Operation: 69-49=20 Exploring Operation: 69-11=58, Resulting Numbers: [49, 58] Generated Node #0,0,2: 31:[49, 58] Operation: 69-11=58 Exploring Operation: 49-11=38, Resulting Numbers: [69, 38] Generated Node #0,0,3: 31:[69, 38] Operation: 49-11=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[11, 20], Operations: ['52-3=49', '69-49=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,31 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[52, 3, 69, 11], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [69, 11, 49] Generated Node #0,0: 31:[69, 11, 49] Operation: 52-3=49 Moving to Node #0,0 Current State: 31:[69, 11, 49], Operations: ['52-3=49'] Exploring Operation: 69-49=20, Resulting Numbers: [11, 20] Generated Node #0,0,1: 31:[11, 20] Operation: 69-49=20 Moving to Node #0,0,1 Current State: 31:[11, 20], Operations: ['52-3=49', '69-49=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 62, 4, 10, 74 ]
81
[ "62*10=620", "620/4=155", "155-74=81" ]
Current State: 81:[62, 4, 10, 74], Operations: [] Exploring Operation: 62*10=620, Resulting Numbers: [4, 74, 620] Generated Node #2: [4, 74, 620] from Operation: 62*10=620 Current State: 81:[4, 74, 620], Operations: ['62*10=620'] Exploring Operation: 620/4=155, Resulting Numbers: [74, 155] Generated Node #3: [74, 155] from Operation: 620/4=155 Current State: 81:[74, 155], Operations: ['62*10=620', '620/4=155'] Exploring Operation: 155-74=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[62, 4, 10, 74], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [4, 10, 12] Generated Node #0,0: 81:[4, 10, 12] Operation: 74-62=12 Exploring Operation: 62+10=72, Resulting Numbers: [4, 74, 72] Generated Node #0,1: 81:[4, 74, 72] Operation: 62+10=72 Moving to Node #0,0 Current State: 81:[4, 10, 12], Operations: ['74-62=12'] Exploring Operation: 12/4=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 81:[10, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 81:[10, 8] Operation: 12-4=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[10, 3], Operations: ['74-62=12', '12/4=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[10, 8], Operations: ['74-62=12', '12-4=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,81 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: 81:[4, 74, 72], Operations: ['62+10=72'] Exploring Operation: 4+74=78, Resulting Numbers: [72, 78] Generated Node #0,1,0: 81:[72, 78] Operation: 4+74=78 Exploring Operation: 74-72=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 81:[4, 2] Operation: 74-72=2 Moving to Node #0,1,1 Current State: 81:[4, 2], Operations: ['62+10=72', '74-72=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[72, 78], Operations: ['62+10=72', '4+74=78'] Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,81 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 22, 40, 93, 27 ]
84
[ "40-22=18", "93-27=66", "18+66=84" ]
Current State: 84:[22, 40, 93, 27], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [93, 27, 18] Generated Node #2: [93, 27, 18] from Operation: 40-22=18 Current State: 84:[93, 27, 18], Operations: ['40-22=18'] Exploring Operation: 93-27=66, Resulting Numbers: [18, 66] Generated Node #3: [18, 66] from Operation: 93-27=66 Current State: 84:[18, 66], Operations: ['40-22=18', '93-27=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[22, 40, 93, 27], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [40, 93, 5] Generated Node #0,0: 84:[40, 93, 5] Operation: 27-22=5 Exploring Operation: 40-22=18, Resulting Numbers: [93, 27, 18] Generated Node #0,1: 84:[93, 27, 18] Operation: 40-22=18 Exploring Operation: 93-40=53, Resulting Numbers: [22, 27, 53] Generated Node #0,2: 84:[22, 27, 53] Operation: 93-40=53 Exploring Operation: 40-27=13, Resulting Numbers: [22, 93, 13] Generated Node #0,3: 84:[22, 93, 13] Operation: 40-27=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[22, 93, 13], Operations: ['40-27=13'] Exploring Operation: 22-13=9, Resulting Numbers: [93, 9] Generated Node #0,3,0: 84:[93, 9] Operation: 22-13=9 Exploring Operation: 93-13=80, Resulting Numbers: [22, 80] Generated Node #0,3,1: 84:[22, 80] Operation: 93-13=80 Exploring Operation: 93-22=71, Resulting Numbers: [13, 71] Generated Node #0,3,2: 84:[13, 71] Operation: 93-22=71 Exploring Operation: 22+13=35, Resulting Numbers: [93, 35] Generated Node #0,3,3: 84:[93, 35] Operation: 22+13=35 Moving to Node #0,3,1 Current State: 84:[22, 80], Operations: ['40-27=13', '93-13=80'] Exploring Operation: 22*80=1760, Resulting Numbers: [1760] 1760,84 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 22+80=102, Resulting Numbers: [102] 102,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[93, 9], Operations: ['40-27=13', '22-13=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[22, 40, 93, 27], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [22, 93, 13] Generated Node #0,3: 84:[22, 93, 13] Operation: 40-27=13 Moving to Node #0,3 Current State: 84:[22, 93, 13], Operations: ['40-27=13'] Exploring Operation: 22-13=9, Resulting Numbers: [93, 9] Generated Node #0,3,0: 84:[93, 9] Operation: 22-13=9 Moving to Node #0,3,0 Current State: 84:[93, 9], Operations: ['40-27=13', '22-13=9'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 39, 56, 39, 3 ]
56
[ "39-39=0", "3*0=0", "56+0=56" ]
Current State: 56:[39, 56, 39, 3], Operations: [] Exploring Operation: 39-39=0, Resulting Numbers: [56, 3, 0] Generated Node #2: [56, 3, 0] from Operation: 39-39=0 Current State: 56:[56, 3, 0], Operations: ['39-39=0'] Exploring Operation: 3*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 3*0=0 Current State: 56:[56, 0], Operations: ['39-39=0', '3*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[39, 56, 39, 3], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [56, 39, 13] Generated Node #0,0: 56:[56, 39, 13] Operation: 39/3=13 Exploring Operation: 39/39=1, Resulting Numbers: [56, 3, 1] Generated Node #0,1: 56:[56, 3, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [56, 3, 0] Generated Node #0,2: 56:[56, 3, 0] Operation: 39-39=0 Moving to Node #0,1 Current State: 56:[56, 3, 1], Operations: ['39/39=1'] Exploring Operation: 3-1=2, Resulting Numbers: [56, 2] Generated Node #0,1,0: 56:[56, 2] Operation: 3-1=2 Exploring Operation: 3+1=4, Resulting Numbers: [56, 4] Generated Node #0,1,1: 56:[56, 4] Operation: 3+1=4 Exploring Operation: 56*1=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 56:[3, 56] Operation: 56*1=56 Moving to Node #0,2 Current State: 56:[56, 3, 0], Operations: ['39-39=0'] Exploring Operation: 56-0=56, Resulting Numbers: [3, 56] Generated Node #0,2,0: 56:[3, 56] Operation: 56-0=56 Exploring Operation: 3+0=3, Resulting Numbers: [56, 3] Generated Node #0,2,1: 56:[56, 3] Operation: 3+0=3 Exploring Operation: 56+0=56, Resulting Numbers: [3, 56] Generated Node #0,2,2: 56:[3, 56] Operation: 56+0=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[3, 56], Operations: ['39-39=0', '56-0=56'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,56 unequal: No Solution No 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: 56:[56, 3], Operations: ['39-39=0', '3+0=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,56 unequal: No Solution No 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: 56:[3, 56], Operations: ['39-39=0', '56+0=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,56 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: 56:[56, 39, 13], Operations: ['39/3=13'] Exploring Operation: 39-13=26, Resulting Numbers: [56, 26] Generated Node #0,0,0: 56:[56, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [56, 3] Generated Node #0,0,1: 56:[56, 3] Operation: 39/13=3 Exploring Operation: 56-39=17, Resulting Numbers: [13, 17] Generated Node #0,0,2: 56:[13, 17] Operation: 56-39=17 Moving to Node #0,1,0 Current State: 56:[56, 2], Operations: ['39/39=1', '3-1=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[56, 4], Operations: ['39/39=1', '3+1=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[3, 56], Operations: ['39/39=1', '56*1=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[56, 3], Operations: ['39/3=13', '39/13=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[56, 26], Operations: ['39/3=13', '39-13=26'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,56 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[13, 17], Operations: ['39/3=13', '56-39=17'] Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,56 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 26, 99, 49 ]
76
[ "98-26=72", "99+49=148", "148-72=76" ]
Current State: 76:[98, 26, 99, 49], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [99, 49, 72] Generated Node #2: [99, 49, 72] from Operation: 98-26=72 Current State: 76:[99, 49, 72], Operations: ['98-26=72'] Exploring Operation: 99+49=148, Resulting Numbers: [72, 148] Generated Node #3: [72, 148] from Operation: 99+49=148 Current State: 76:[72, 148], Operations: ['98-26=72', '99+49=148'] Exploring Operation: 148-72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[98, 26, 99, 49], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [26, 49, 1] Generated Node #0,0: 76:[26, 49, 1] Operation: 99-98=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[26, 49, 1], Operations: ['99-98=1'] Exploring Operation: 26+49=75, Resulting Numbers: [1, 75] Generated Node #0,0,0: 76:[1, 75] Operation: 26+49=75 Moving to Node #0,0,0 Current State: 76:[1, 75], Operations: ['99-98=1', '26+49=75'] Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[98, 26, 99, 49], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [26, 49, 1] Generated Node #0,0: 76:[26, 49, 1] Operation: 99-98=1 Moving to Node #0,0 Current State: 76:[26, 49, 1], Operations: ['99-98=1'] Exploring Operation: 26+49=75, Resulting Numbers: [1, 75] Generated Node #0,0,0: 76:[1, 75] Operation: 26+49=75 Moving to Node #0,0,0 Current State: 76:[1, 75], Operations: ['99-98=1', '26+49=75'] Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 22, 72, 91, 88 ]
73
[ "22*72=1584", "1584/88=18", "91-18=73" ]
Current State: 73:[22, 72, 91, 88], Operations: [] Exploring Operation: 22*72=1584, Resulting Numbers: [91, 88, 1584] Generated Node #2: [91, 88, 1584] from Operation: 22*72=1584 Current State: 73:[91, 88, 1584], Operations: ['22*72=1584'] Exploring Operation: 1584/88=18, Resulting Numbers: [91, 18] Generated Node #3: [91, 18] from Operation: 1584/88=18 Current State: 73:[91, 18], Operations: ['22*72=1584', '1584/88=18'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[22, 72, 91, 88], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [72, 91, 66] Generated Node #0,0: 73:[72, 91, 66] Operation: 88-22=66 Exploring Operation: 91-22=69, Resulting Numbers: [72, 88, 69] Generated Node #0,1: 73:[72, 88, 69] Operation: 91-22=69 Moving to Node #0,1 Current State: 73:[72, 88, 69], Operations: ['91-22=69'] Exploring Operation: 88-72=16, Resulting Numbers: [69, 16] Generated Node #0,1,0: 73:[69, 16] Operation: 88-72=16 Exploring Operation: 88-69=19, Resulting Numbers: [72, 19] Generated Node #0,1,1: 73:[72, 19] Operation: 88-69=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[72, 19], Operations: ['91-22=69', '88-69=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[69, 16], Operations: ['91-22=69', '88-72=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,73 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: 73:[72, 91, 66], Operations: ['88-22=66'] Exploring Operation: 91-72=19, Resulting Numbers: [66, 19] Generated Node #0,0,0: 73:[66, 19] Operation: 91-72=19 Exploring Operation: 91-66=25, Resulting Numbers: [72, 25] Generated Node #0,0,1: 73:[72, 25] Operation: 91-66=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[72, 25], Operations: ['88-22=66', '91-66=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[66, 19], Operations: ['88-22=66', '91-72=19'] Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 14, 87, 3 ]
18
[ "25-14=11", "87/3=29", "29-11=18" ]
Current State: 18:[25, 14, 87, 3], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [87, 3, 11] Generated Node #2: [87, 3, 11] from Operation: 25-14=11 Current State: 18:[87, 3, 11], Operations: ['25-14=11'] Exploring Operation: 87/3=29, Resulting Numbers: [11, 29] Generated Node #3: [11, 29] from Operation: 87/3=29 Current State: 18:[11, 29], Operations: ['25-14=11', '87/3=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[25, 14, 87, 3], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [25, 14, 29] Generated Node #0,0: 18:[25, 14, 29] Operation: 87/3=29 Exploring Operation: 87-14=73, Resulting Numbers: [25, 3, 73] Generated Node #0,1: 18:[25, 3, 73] Operation: 87-14=73 Exploring Operation: 87-25=62, Resulting Numbers: [14, 3, 62] Generated Node #0,2: 18:[14, 3, 62] Operation: 87-25=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[25, 14, 29], Operations: ['87/3=29'] Exploring Operation: 29-25=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 18:[14, 4] Operation: 29-25=4 Exploring Operation: 29-14=15, Resulting Numbers: [25, 15] Generated Node #0,0,1: 18:[25, 15] Operation: 29-14=15 Exploring Operation: 25-14=11, Resulting Numbers: [29, 11] Generated Node #0,0,2: 18:[29, 11] Operation: 25-14=11 Moving to Node #0,0,0 Current State: 18:[14, 4], Operations: ['87/3=29', '29-25=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[25, 14, 87, 3], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [25, 14, 29] Generated Node #0,0: 18:[25, 14, 29] Operation: 87/3=29 Moving to Node #0,0 Current State: 18:[25, 14, 29], Operations: ['87/3=29'] Exploring Operation: 29-25=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 18:[14, 4] Operation: 29-25=4 Moving to Node #0,0,0 Current State: 18:[14, 4], Operations: ['87/3=29', '29-25=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 21, 7, 22, 70 ]
62
[ "21-7=14", "70-22=48", "14+48=62" ]
Current State: 62:[21, 7, 22, 70], Operations: [] Exploring Operation: 21-7=14, Resulting Numbers: [22, 70, 14] Generated Node #2: [22, 70, 14] from Operation: 21-7=14 Current State: 62:[22, 70, 14], Operations: ['21-7=14'] Exploring Operation: 70-22=48, Resulting Numbers: [14, 48] Generated Node #3: [14, 48] from Operation: 70-22=48 Current State: 62:[14, 48], Operations: ['21-7=14', '70-22=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[21, 7, 22, 70], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [7, 70, 1] Generated Node #0,0: 62:[7, 70, 1] Operation: 22-21=1 Exploring Operation: 21/7=3, Resulting Numbers: [22, 70, 3] Generated Node #0,1: 62:[22, 70, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[7, 70, 1], Operations: ['22-21=1'] Exploring Operation: 70-7=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 62:[1, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [1, 10] Generated Node #0,0,1: 62:[1, 10] Operation: 70/7=10 Moving to Node #0,0,0 Current State: 62:[1, 63], Operations: ['22-21=1', '70-7=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[21, 7, 22, 70], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [7, 70, 1] Generated Node #0,0: 62:[7, 70, 1] Operation: 22-21=1 Moving to Node #0,0 Current State: 62:[7, 70, 1], Operations: ['22-21=1'] Exploring Operation: 70-7=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 62:[1, 63] Operation: 70-7=63 Moving to Node #0,0,0 Current State: 62:[1, 63], Operations: ['22-21=1', '70-7=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 80, 38, 35, 33 ]
69
[ "38-35=3", "33/3=11", "80-11=69" ]
Current State: 69:[80, 38, 35, 33], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [80, 33, 3] Generated Node #2: [80, 33, 3] from Operation: 38-35=3 Current State: 69:[80, 33, 3], Operations: ['38-35=3'] Exploring Operation: 33/3=11, Resulting Numbers: [80, 11] Generated Node #3: [80, 11] from Operation: 33/3=11 Current State: 69:[80, 11], Operations: ['38-35=3', '33/3=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[80, 38, 35, 33], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [80, 33, 3] Generated Node #0,0: 69:[80, 33, 3] Operation: 38-35=3 Moving to Node #0,0 Current State: 69:[80, 33, 3], Operations: ['38-35=3'] Exploring Operation: 80-3=77, Resulting Numbers: [33, 77] Generated Node #0,0,0: 69:[33, 77] Operation: 80-3=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[33, 77], Operations: ['38-35=3', '80-3=77'] Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,69 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
[ 66, 87, 87, 94 ]
66
[ "87-87=0", "94*0=0", "66+0=66" ]
Current State: 66:[66, 87, 87, 94], Operations: [] Exploring Operation: 87-87=0, Resulting Numbers: [66, 94, 0] Generated Node #2: [66, 94, 0] from Operation: 87-87=0 Current State: 66:[66, 94, 0], Operations: ['87-87=0'] Exploring Operation: 94*0=0, Resulting Numbers: [66, 0] Generated Node #3: [66, 0] from Operation: 94*0=0 Current State: 66:[66, 0], Operations: ['87-87=0', '94*0=0'] Exploring Operation: 66+0=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[66, 87, 87, 94], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [66, 94, 1] Generated Node #0,0: 66:[66, 94, 1] Operation: 87/87=1 Exploring Operation: 94-87=7, Resulting Numbers: [66, 87, 7] Generated Node #0,1: 66:[66, 87, 7] Operation: 94-87=7 Exploring Operation: 87-87=0, Resulting Numbers: [66, 94, 0] Generated Node #0,2: 66:[66, 94, 0] Operation: 87-87=0 Exploring Operation: 94-87=7, Resulting Numbers: [66, 87, 7] Generated Node #0,3: 66:[66, 87, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 66:[66, 87, 7], Operations: ['94-87=7'] Exploring Operation: 66-7=59, Resulting Numbers: [87, 59] Generated Node #0,1,0: 66:[87, 59] Operation: 66-7=59 Exploring Operation: 87-66=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 66:[7, 21] Operation: 87-66=21 Exploring Operation: 66+7=73, Resulting Numbers: [87, 73] Generated Node #0,1,2: 66:[87, 73] Operation: 66+7=73 Exploring Operation: 87-7=80, Resulting Numbers: [66, 80] Generated Node #0,1,3: 66:[66, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[7, 21], Operations: ['94-87=7', '87-66=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,66 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[66, 80], Operations: ['94-87=7', '87-7=80'] Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,66 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[87, 59], Operations: ['94-87=7', '66-7=59'] Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,66 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[87, 73], Operations: ['94-87=7', '66+7=73'] Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,66 unequal: No Solution Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,66 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: 66:[66, 87, 7], Operations: ['94-87=7'] Exploring Operation: 66+7=73, Resulting Numbers: [87, 73] Generated Node #0,3,0: 66:[87, 73] Operation: 66+7=73 Exploring Operation: 87-7=80, Resulting Numbers: [66, 80] Generated Node #0,3,1: 66:[66, 80] Operation: 87-7=80 Exploring Operation: 87-66=21, Resulting Numbers: [7, 21] Generated Node #0,3,2: 66:[7, 21] Operation: 87-66=21 Exploring Operation: 66-7=59, Resulting Numbers: [87, 59] Generated Node #0,3,3: 66:[87, 59] Operation: 66-7=59 Moving to Node #0,0 Current State: 66:[66, 94, 1], Operations: ['87/87=1'] Exploring Operation: 66/1=66, Resulting Numbers: [94, 66] Generated Node #0,0,0: 66:[94, 66] Operation: 66/1=66 Exploring Operation: 66*1=66, Resulting Numbers: [94, 66] Generated Node #0,0,1: 66:[94, 66] Operation: 66*1=66 Exploring Operation: 94-66=28, Resulting Numbers: [1, 28] Generated Node #0,0,2: 66:[1, 28] Operation: 94-66=28 Exploring Operation: 94-1=93, Resulting Numbers: [66, 93] Generated Node #0,0,3: 66:[66, 93] Operation: 94-1=93 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[1, 28], Operations: ['87/87=1', '94-66=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[66, 93], Operations: ['87/87=1', '94-1=93'] Exploring Operation: 66+93=159, Resulting Numbers: [159] 159,66 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 66*93=6138, Resulting Numbers: [6138] 6138,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[94, 66], Operations: ['87/87=1', '66/1=66'] Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,66 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[94, 66], Operations: ['87/87=1', '66*1=66'] Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,66 unequal: No Solution Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,66 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: 66:[66, 94, 0], Operations: ['87-87=0'] Exploring Operation: 94-66=28, Resulting Numbers: [0, 28] Generated Node #0,2,0: 66:[0, 28] Operation: 94-66=28 Exploring Operation: 94*0=0, Resulting Numbers: [66, 0] Generated Node #0,2,1: 66:[66, 0] Operation: 94*0=0 Exploring Operation: 66+0=66, Resulting Numbers: [94, 66] Generated Node #0,2,2: 66:[94, 66] Operation: 66+0=66 Exploring Operation: 66-0=66, Resulting Numbers: [94, 66] Generated Node #0,2,3: 66:[94, 66] Operation: 66-0=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[66, 0], Operations: ['87-87=0', '94*0=0'] Exploring Operation: 66-0=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[66, 87, 87, 94], Operations: [] Exploring Operation: 87-87=0, Resulting Numbers: [66, 94, 0] Generated Node #0,2: 66:[66, 94, 0] Operation: 87-87=0 Moving to Node #0,2 Current State: 66:[66, 94, 0], Operations: ['87-87=0'] Exploring Operation: 94*0=0, Resulting Numbers: [66, 0] Generated Node #0,2,1: 66:[66, 0] Operation: 94*0=0 Moving to Node #0,2,1 Current State: 66:[66, 0], Operations: ['87-87=0', '94*0=0'] Exploring Operation: 66-0=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic