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
[ 10, 82, 10, 5 ]
31
[ "10/5=2", "82/2=41", "41-10=31" ]
Current State: 31:[10, 82, 10, 5], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [82, 2] Generated Node #2: [82, 2] from Operation: 10/5=2 Current State: 31:[82, 2], Operations: ['10/5=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,31 equal: Goal Reached Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[10, 82, 10, 5], Operations: [] Exploring Operation: 82-10=72, Resulting Numbers: [10, 5, 72] Generated Node #0,0: 31:[10, 5, 72] Operation: 82-10=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[10, 5, 72], Operations: ['82-10=72'] Exploring Operation: 10+5=15, Resulting Numbers: [72, 15] Generated Node #0,0,0: 31:[72, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[72, 15], Operations: ['82-10=72', '10+5=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,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_1
sum_heuristic
[ 12, 5, 38, 21 ]
77
[ "12*5=60", "38-21=17", "60+17=77" ]
Current State: 77:[12, 5, 38, 21], Operations: [] Exploring Operation: 12*5=60, Resulting Numbers: [38, 21, 60] Generated Node #2: [38, 21, 60] from Operation: 12*5=60 Current State: 77:[38, 21, 60], Operations: ['12*5=60'] Exploring Operation: 38-21=17, Resulting Numbers: [60, 17] Generated Node #3: [60, 17] from Operation: 38-21=17 Current State: 77:[60, 17], Operations: ['12*5=60', '38-21=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[12, 5, 38, 21], Operations: [] Exploring Operation: 38-21=17, Resulting Numbers: [12, 5, 17] Generated Node #0,0: 77:[12, 5, 17] Operation: 38-21=17 Moving to Node #0,0 Current State: 77:[12, 5, 17], Operations: ['38-21=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 77:[12, 12] Operation: 17-5=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[12, 12], Operations: ['38-21=17', '17-5=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,77 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
[ 83, 68, 13, 5 ]
39
[ "83-68=15", "13*15=195", "195/5=39" ]
Current State: 39:[83, 68, 13, 5], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [13, 5, 15] Generated Node #2: [13, 5, 15] from Operation: 83-68=15 Current State: 39:[13, 5, 15], Operations: ['83-68=15'] Exploring Operation: 13*15=195, Resulting Numbers: [5, 195] Generated Node #3: [5, 195] from Operation: 13*15=195 Current State: 39:[5, 195], Operations: ['83-68=15', '13*15=195'] Exploring Operation: 195/5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[83, 68, 13, 5], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [13, 5, 15] Generated Node #0,0: 39:[13, 5, 15] Operation: 83-68=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[13, 5, 15], Operations: ['83-68=15'] Exploring Operation: 15/5=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 15/5=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['83-68=15', '15/5=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[83, 68, 13, 5], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [13, 5, 15] Generated Node #0,0: 39:[13, 5, 15] Operation: 83-68=15 Moving to Node #0,0 Current State: 39:[13, 5, 15], Operations: ['83-68=15'] Exploring Operation: 15/5=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 15/5=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['83-68=15', '15/5=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 54, 42, 98, 84 ]
82
[ "54+42=96", "98-84=14", "96-14=82" ]
Current State: 82:[54, 42, 98, 84], Operations: [] Exploring Operation: 54+42=96, Resulting Numbers: [98, 84, 96] Generated Node #2: [98, 84, 96] from Operation: 54+42=96 Current State: 82:[98, 84, 96], Operations: ['54+42=96'] Exploring Operation: 98-84=14, Resulting Numbers: [96, 14] Generated Node #3: [96, 14] from Operation: 98-84=14 Current State: 82:[96, 14], Operations: ['54+42=96', '98-84=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[54, 42, 98, 84], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [98, 84, 12] Generated Node #0,0: 82:[98, 84, 12] Operation: 54-42=12 Exploring Operation: 98-54=44, Resulting Numbers: [42, 84, 44] Generated Node #0,1: 82:[42, 84, 44] Operation: 98-54=44 Exploring Operation: 98-84=14, Resulting Numbers: [54, 42, 14] Generated Node #0,2: 82:[54, 42, 14] Operation: 98-84=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[42, 84, 44], Operations: ['98-54=44'] Exploring Operation: 44-42=2, Resulting Numbers: [84, 2] Generated Node #0,1,0: 82:[84, 2] Operation: 44-42=2 Exploring Operation: 84-44=40, Resulting Numbers: [42, 40] Generated Node #0,1,1: 82:[42, 40] Operation: 84-44=40 Exploring Operation: 84/42=2, Resulting Numbers: [44, 2] Generated Node #0,1,2: 82:[44, 2] Operation: 84/42=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[84, 2], Operations: ['98-54=44', '44-42=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[54, 42, 98, 84], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [42, 84, 44] Generated Node #0,1: 82:[42, 84, 44] Operation: 98-54=44 Moving to Node #0,1 Current State: 82:[42, 84, 44], Operations: ['98-54=44'] Exploring Operation: 44-42=2, Resulting Numbers: [84, 2] Generated Node #0,1,0: 82:[84, 2] Operation: 44-42=2 Moving to Node #0,1,0 Current State: 82:[84, 2], Operations: ['98-54=44', '44-42=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 38, 63, 91, 14 ]
27
[ "63+91=154", "154/14=11", "38-11=27" ]
Current State: 27:[38, 63, 91, 14], Operations: [] Exploring Operation: 63+91=154, Resulting Numbers: [38, 14, 154] Generated Node #2: [38, 14, 154] from Operation: 63+91=154 Current State: 27:[38, 14, 154], Operations: ['63+91=154'] Exploring Operation: 154/14=11, Resulting Numbers: [38, 11] Generated Node #3: [38, 11] from Operation: 154/14=11 Current State: 27:[38, 11], Operations: ['63+91=154', '154/14=11'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[38, 63, 91, 14], Operations: [] Exploring Operation: 91-38=53, Resulting Numbers: [63, 14, 53] Generated Node #0,0: 27:[63, 14, 53] Operation: 91-38=53 Exploring Operation: 63-38=25, Resulting Numbers: [91, 14, 25] Generated Node #0,1: 27:[91, 14, 25] Operation: 63-38=25 Exploring Operation: 91-63=28, Resulting Numbers: [38, 14, 28] Generated Node #0,2: 27:[38, 14, 28] Operation: 91-63=28 Moving to Node #0,2 Current State: 27:[38, 14, 28], Operations: ['91-63=28'] Exploring Operation: 38-14=24, Resulting Numbers: [28, 24] Generated Node #0,2,0: 27:[28, 24] Operation: 38-14=24 Exploring Operation: 38-28=10, Resulting Numbers: [14, 10] Generated Node #0,2,1: 27:[14, 10] Operation: 38-28=10 Exploring Operation: 28/14=2, Resulting Numbers: [38, 2] Generated Node #0,2,2: 27:[38, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[28, 24], Operations: ['91-63=28', '38-14=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,27 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,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:[14, 10], Operations: ['91-63=28', '38-28=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,27 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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:[38, 2], Operations: ['91-63=28', '28/14=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,27 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: 27:[63, 14, 53], Operations: ['91-38=53'] Exploring Operation: 53-14=39, Resulting Numbers: [63, 39] Generated Node #0,0,0: 27:[63, 39] Operation: 53-14=39 Exploring Operation: 63-14=49, Resulting Numbers: [53, 49] Generated Node #0,0,1: 27:[53, 49] Operation: 63-14=49 Exploring Operation: 63-53=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 27:[14, 10] Operation: 63-53=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[14, 10], Operations: ['91-38=53', '63-53=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,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,0,0 Current State: 27:[63, 39], Operations: ['91-38=53', '53-14=39'] Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,27 unequal: No Solution Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,27 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,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,0,1 Current State: 27:[53, 49], Operations: ['91-38=53', '63-14=49'] Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,27 unequal: No Solution Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,27 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: 27:[91, 14, 25], Operations: ['63-38=25'] Exploring Operation: 25-14=11, Resulting Numbers: [91, 11] Generated Node #0,1,0: 27:[91, 11] Operation: 25-14=11 Exploring Operation: 91-25=66, Resulting Numbers: [14, 66] Generated Node #0,1,1: 27:[14, 66] Operation: 91-25=66 Exploring Operation: 91-14=77, Resulting Numbers: [25, 77] Generated Node #0,1,2: 27:[25, 77] Operation: 91-14=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[14, 66], Operations: ['63-38=25', '91-25=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,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,1,2 Current State: 27:[25, 77], Operations: ['63-38=25', '91-14=77'] Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,27 unequal: No Solution Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,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,1,0 Current State: 27:[91, 11], Operations: ['63-38=25', '25-14=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,27 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,27 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
[ 12, 76, 8, 38 ]
42
[ "12+76=88", "8+38=46", "88-46=42" ]
Current State: 42:[12, 76, 8, 38], Operations: [] Exploring Operation: 12+76=88, Resulting Numbers: [8, 38, 88] Generated Node #2: [8, 38, 88] from Operation: 12+76=88 Current State: 42:[8, 38, 88], Operations: ['12+76=88'] Exploring Operation: 8+38=46, Resulting Numbers: [88, 46] Generated Node #3: [88, 46] from Operation: 8+38=46 Current State: 42:[88, 46], Operations: ['12+76=88', '8+38=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[12, 76, 8, 38], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [12, 8, 2] Generated Node #0,0: 42:[12, 8, 2] Operation: 76/38=2 Moving to Node #0,0 Current State: 42:[12, 8, 2], Operations: ['76/38=2'] Exploring Operation: 12+8=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 42:[2, 20] Operation: 12+8=20 Moving to Node #0,0,0 Current State: 42:[2, 20], Operations: ['76/38=2', '12+8=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 64, 96, 59, 45 ]
87
[ "64-59=5", "45/5=9", "96-9=87" ]
Current State: 87:[64, 96, 59, 45], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [96, 45, 5] Generated Node #2: [96, 45, 5] from Operation: 64-59=5 Current State: 87:[96, 45, 5], Operations: ['64-59=5'] Exploring Operation: 45/5=9, Resulting Numbers: [96, 9] Generated Node #3: [96, 9] from Operation: 45/5=9 Current State: 87:[96, 9], Operations: ['64-59=5', '45/5=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[64, 96, 59, 45], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [96, 59, 19] Generated Node #0,0: 87:[96, 59, 19] Operation: 64-45=19 Exploring Operation: 64-59=5, Resulting Numbers: [96, 45, 5] Generated Node #0,1: 87:[96, 45, 5] Operation: 64-59=5 Exploring Operation: 96-64=32, Resulting Numbers: [59, 45, 32] Generated Node #0,2: 87:[59, 45, 32] Operation: 96-64=32 Exploring Operation: 59-45=14, Resulting Numbers: [64, 96, 14] Generated Node #0,3: 87:[64, 96, 14] Operation: 59-45=14 Moving to Node #0,1 Current State: 87:[96, 45, 5], Operations: ['64-59=5'] Exploring Operation: 45-5=40, Resulting Numbers: [96, 40] Generated Node #0,1,0: 87:[96, 40] Operation: 45-5=40 Exploring Operation: 96-45=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 87:[5, 51] Operation: 96-45=51 Exploring Operation: 45/5=9, Resulting Numbers: [96, 9] Generated Node #0,1,2: 87:[96, 9] Operation: 45/5=9 Exploring Operation: 96-5=91, Resulting Numbers: [45, 91] Generated Node #0,1,3: 87:[45, 91] Operation: 96-5=91 Moving to Node #0,3 Current State: 87:[64, 96, 14], Operations: ['59-45=14'] Exploring Operation: 96-14=82, Resulting Numbers: [64, 82] Generated Node #0,3,0: 87:[64, 82] Operation: 96-14=82 Exploring Operation: 64-14=50, Resulting Numbers: [96, 50] Generated Node #0,3,1: 87:[96, 50] Operation: 64-14=50 Exploring Operation: 64+14=78, Resulting Numbers: [96, 78] Generated Node #0,3,2: 87:[96, 78] Operation: 64+14=78 Exploring Operation: 96-64=32, Resulting Numbers: [14, 32] Generated Node #0,3,3: 87:[14, 32] Operation: 96-64=32 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[14, 32], Operations: ['59-45=14', '96-64=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,87 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,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,3,2 Current State: 87:[96, 78], Operations: ['59-45=14', '64+14=78'] Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,87 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,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,3,0 Current State: 87:[64, 82], Operations: ['59-45=14', '96-14=82'] Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,87 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,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,3,1 Current State: 87:[96, 50], Operations: ['59-45=14', '64-14=50'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 96+50=146, Resulting Numbers: [146] 146,87 unequal: No Solution Exploring Operation: 96*50=4800, Resulting Numbers: [4800] 4800,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 87:[59, 45, 32], Operations: ['96-64=32'] Exploring Operation: 59+32=91, Resulting Numbers: [45, 91] Generated Node #0,2,0: 87:[45, 91] Operation: 59+32=91 Exploring Operation: 59-32=27, Resulting Numbers: [45, 27] Generated Node #0,2,1: 87:[45, 27] Operation: 59-32=27 Exploring Operation: 59-45=14, Resulting Numbers: [32, 14] Generated Node #0,2,2: 87:[32, 14] Operation: 59-45=14 Exploring Operation: 59+45=104, Resulting Numbers: [32, 104] Generated Node #0,2,3: 87:[32, 104] Operation: 59+45=104 Moving to Node #0,0 Current State: 87:[96, 59, 19], Operations: ['64-45=19'] Exploring Operation: 96-59=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 87:[19, 37] Operation: 96-59=37 Exploring Operation: 96-19=77, Resulting Numbers: [59, 77] Generated Node #0,0,1: 87:[59, 77] Operation: 96-19=77 Exploring Operation: 59-19=40, Resulting Numbers: [96, 40] Generated Node #0,0,2: 87:[96, 40] Operation: 59-19=40 Exploring Operation: 59+19=78, Resulting Numbers: [96, 78] Generated Node #0,0,3: 87:[96, 78] Operation: 59+19=78 Moving to Node #0,2,2 Current State: 87:[32, 14], Operations: ['96-64=32', '59-45=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,87 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[96, 9], Operations: ['64-59=5', '45/5=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[64, 96, 59, 45], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [96, 45, 5] Generated Node #0,1: 87:[96, 45, 5] Operation: 64-59=5 Moving to Node #0,1 Current State: 87:[96, 45, 5], Operations: ['64-59=5'] Exploring Operation: 45/5=9, Resulting Numbers: [96, 9] Generated Node #0,1,2: 87:[96, 9] Operation: 45/5=9 Moving to Node #0,1,2 Current State: 87:[96, 9], Operations: ['64-59=5', '45/5=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 83, 34, 96, 7 ]
89
[ "83-34=49", "49/7=7", "96-7=89" ]
Current State: 89:[83, 34, 96, 7], Operations: [] Exploring Operation: 83-34=49, Resulting Numbers: [96, 7, 49] Generated Node #2: [96, 7, 49] from Operation: 83-34=49 Current State: 89:[96, 7, 49], Operations: ['83-34=49'] Exploring Operation: 49/7=7, Resulting Numbers: [96, 7] Generated Node #3: [96, 7] from Operation: 49/7=7 Current State: 89:[96, 7], Operations: ['83-34=49', '49/7=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[83, 34, 96, 7], Operations: [] Exploring Operation: 83+7=90, Resulting Numbers: [34, 96, 90] Generated Node #0,0: 89:[34, 96, 90] Operation: 83+7=90 Exploring Operation: 34+7=41, Resulting Numbers: [83, 96, 41] Generated Node #0,1: 89:[83, 96, 41] Operation: 34+7=41 Exploring Operation: 96-7=89, Resulting Numbers: [83, 34, 89] Generated Node #0,2: 89:[83, 34, 89] Operation: 96-7=89 Moving to Node #0,1 Current State: 89:[83, 96, 41], Operations: ['34+7=41'] Exploring Operation: 83+41=124, Resulting Numbers: [96, 124] Generated Node #0,1,0: 89:[96, 124] Operation: 83+41=124 Exploring Operation: 83-41=42, Resulting Numbers: [96, 42] Generated Node #0,1,1: 89:[96, 42] Operation: 83-41=42 Exploring Operation: 96-41=55, Resulting Numbers: [83, 55] Generated Node #0,1,2: 89:[83, 55] Operation: 96-41=55 Moving to Node #0,2 Current State: 89:[83, 34, 89], Operations: ['96-7=89'] Exploring Operation: 34+89=123, Resulting Numbers: [83, 123] Generated Node #0,2,0: 89:[83, 123] Operation: 34+89=123 Exploring Operation: 83+34=117, Resulting Numbers: [89, 117] Generated Node #0,2,1: 89:[89, 117] Operation: 83+34=117 Exploring Operation: 83-34=49, Resulting Numbers: [89, 49] Generated Node #0,2,2: 89:[89, 49] Operation: 83-34=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[89, 117], Operations: ['96-7=89', '83+34=117'] Exploring Operation: 117-89=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 89*117=10413, Resulting Numbers: [10413] 10413,89 unequal: No Solution Exploring Operation: 89+117=206, Resulting Numbers: [206] 206,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[83, 123], Operations: ['96-7=89', '34+89=123'] Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 83+123=206, Resulting Numbers: [206] 206,89 unequal: No Solution Exploring Operation: 83*123=10209, Resulting Numbers: [10209] 10209,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[89, 49], Operations: ['96-7=89', '83-34=49'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 89*49=4361, Resulting Numbers: [4361] 4361,89 unequal: No Solution Exploring Operation: 89+49=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[34, 96, 90], Operations: ['83+7=90'] Exploring Operation: 90-34=56, Resulting Numbers: [96, 56] Generated Node #0,0,0: 89:[96, 56] Operation: 90-34=56 Exploring Operation: 96-34=62, Resulting Numbers: [90, 62] Generated Node #0,0,1: 89:[90, 62] Operation: 96-34=62 Exploring Operation: 34+96=130, Resulting Numbers: [90, 130] Generated Node #0,0,2: 89:[90, 130] Operation: 34+96=130 Moving to Node #0,0,1 Current State: 89:[90, 62], Operations: ['83+7=90', '96-34=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,89 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[83, 55], Operations: ['34+7=41', '96-41=55'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 83+55=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 83*55=4565, Resulting Numbers: [4565] 4565,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[96, 56], Operations: ['83+7=90', '90-34=56'] Exploring Operation: 96*56=5376, Resulting Numbers: [5376] 5376,89 unequal: No Solution Exploring Operation: 96+56=152, Resulting Numbers: [152] 152,89 unequal: No Solution Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[90, 130], Operations: ['83+7=90', '34+96=130'] Exploring Operation: 90*130=11700, Resulting Numbers: [11700] 11700,89 unequal: No Solution Exploring Operation: 130-90=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 90+130=220, Resulting Numbers: [220] 220,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[96, 124], Operations: ['34+7=41', '83+41=124'] Exploring Operation: 124-96=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 96+124=220, Resulting Numbers: [220] 220,89 unequal: No Solution Exploring Operation: 96*124=11904, Resulting Numbers: [11904] 11904,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[96, 42], Operations: ['34+7=41', '83-41=42'] Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 49, 77, 17, 82 ]
71
[ "77-49=28", "17+82=99", "99-28=71" ]
Current State: 71:[49, 77, 17, 82], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [17, 82, 28] Generated Node #2: [17, 82, 28] from Operation: 77-49=28 Current State: 71:[17, 82, 28], Operations: ['77-49=28'] Exploring Operation: 17+82=99, Resulting Numbers: [28, 99] Generated Node #3: [28, 99] from Operation: 17+82=99 Current State: 71:[28, 99], Operations: ['77-49=28', '17+82=99'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[49, 77, 17, 82], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [77, 82, 66] Generated Node #0,0: 71:[77, 82, 66] Operation: 49+17=66 Exploring Operation: 82-17=65, Resulting Numbers: [49, 77, 65] Generated Node #0,1: 71:[49, 77, 65] Operation: 82-17=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[77, 82, 66], Operations: ['49+17=66'] Exploring Operation: 82-77=5, Resulting Numbers: [66, 5] Generated Node #0,0,0: 71:[66, 5] Operation: 82-77=5 Exploring Operation: 82-66=16, Resulting Numbers: [77, 16] Generated Node #0,0,1: 71:[77, 16] Operation: 82-66=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[77, 16], Operations: ['49+17=66', '82-66=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,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,0,0 Current State: 71:[66, 5], Operations: ['49+17=66', '82-77=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[49, 77, 17, 82], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [77, 82, 66] Generated Node #0,0: 71:[77, 82, 66] Operation: 49+17=66 Moving to Node #0,0 Current State: 71:[77, 82, 66], Operations: ['49+17=66'] Exploring Operation: 82-77=5, Resulting Numbers: [66, 5] Generated Node #0,0,0: 71:[66, 5] Operation: 82-77=5 Moving to Node #0,0,0 Current State: 71:[66, 5], Operations: ['49+17=66', '82-77=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 31, 60, 94, 86 ]
46
[ "31*86=2666", "94+2666=2760", "2760/60=46" ]
Current State: 46:[31, 60, 94, 86], Operations: [] Exploring Operation: 31*86=2666, Resulting Numbers: [60, 94, 2666] Generated Node #2: [60, 94, 2666] from Operation: 31*86=2666 Current State: 46:[60, 94, 2666], Operations: ['31*86=2666'] Exploring Operation: 94+2666=2760, Resulting Numbers: [60, 2760] Generated Node #3: [60, 2760] from Operation: 94+2666=2760 Current State: 46:[60, 2760], Operations: ['31*86=2666', '94+2666=2760'] Exploring Operation: 2760/60=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[31, 60, 94, 86], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [31, 60, 8] Generated Node #0,0: 46:[31, 60, 8] Operation: 94-86=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[31, 60, 8], Operations: ['94-86=8'] Exploring Operation: 60-31=29, Resulting Numbers: [8, 29] Generated Node #0,0,0: 46:[8, 29] Operation: 60-31=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[8, 29], Operations: ['94-86=8', '60-31=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 90, 45, 37 ]
75
[ "67+90=157", "45+37=82", "157-82=75" ]
Current State: 75:[67, 90, 45, 37], Operations: [] Exploring Operation: 67+90=157, Resulting Numbers: [45, 37, 157] Generated Node #2: [45, 37, 157] from Operation: 67+90=157 Current State: 75:[45, 37, 157], Operations: ['67+90=157'] Exploring Operation: 45+37=82, Resulting Numbers: [157, 82] Generated Node #3: [157, 82] from Operation: 45+37=82 Current State: 75:[157, 82], Operations: ['67+90=157', '45+37=82'] Exploring Operation: 157-82=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[67, 90, 45, 37], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [67, 90, 8] Generated Node #0,0: 75:[67, 90, 8] Operation: 45-37=8 Exploring Operation: 90/45=2, Resulting Numbers: [67, 37, 2] Generated Node #0,1: 75:[67, 37, 2] Operation: 90/45=2 Exploring Operation: 90-67=23, Resulting Numbers: [45, 37, 23] Generated Node #0,2: 75:[45, 37, 23] Operation: 90-67=23 Exploring Operation: 67-45=22, Resulting Numbers: [90, 37, 22] Generated Node #0,3: 75:[90, 37, 22] Operation: 67-45=22 Exploring Operation: 45+37=82, Resulting Numbers: [67, 90, 82] Generated Node #0,4: 75:[67, 90, 82] Operation: 45+37=82 Moving to Node #0,1 Current State: 75:[67, 37, 2], Operations: ['90/45=2'] Exploring Operation: 37-2=35, Resulting Numbers: [67, 35] Generated Node #0,1,0: 75:[67, 35] Operation: 37-2=35 Exploring Operation: 67+2=69, Resulting Numbers: [37, 69] Generated Node #0,1,1: 75:[37, 69] Operation: 67+2=69 Exploring Operation: 67-37=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 75:[2, 30] Operation: 67-37=30 Exploring Operation: 37*2=74, Resulting Numbers: [67, 74] Generated Node #0,1,3: 75:[67, 74] Operation: 37*2=74 Exploring Operation: 67-2=65, Resulting Numbers: [37, 65] Generated Node #0,1,4: 75:[37, 65] Operation: 67-2=65 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[2, 30], Operations: ['90/45=2', '67-37=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,75 unequal: No Solution No 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: 75:[67, 74], Operations: ['90/45=2', '37*2=74'] Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 67+74=141, Resulting Numbers: [141] 141,75 unequal: No Solution Exploring Operation: 67*74=4958, Resulting Numbers: [4958] 4958,75 unequal: No Solution No 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: 75:[67, 35], Operations: ['90/45=2', '37-2=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,75 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,75 unequal: No Solution No 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: 75:[37, 69], Operations: ['90/45=2', '67+2=69'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 37*69=2553, Resulting Numbers: [2553] 2553,75 unequal: No Solution Exploring Operation: 37+69=106, Resulting Numbers: [106] 106,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 75:[37, 65], Operations: ['90/45=2', '67-2=65'] Exploring Operation: 37*65=2405, Resulting Numbers: [2405] 2405,75 unequal: No Solution Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,75 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,75 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: 75:[67, 90, 8], Operations: ['45-37=8'] Exploring Operation: 90-8=82, Resulting Numbers: [67, 82] Generated Node #0,0,0: 75:[67, 82] Operation: 90-8=82 Exploring Operation: 90-67=23, Resulting Numbers: [8, 23] Generated Node #0,0,1: 75:[8, 23] Operation: 90-67=23 Exploring Operation: 67-8=59, Resulting Numbers: [90, 59] Generated Node #0,0,2: 75:[90, 59] Operation: 67-8=59 Exploring Operation: 90+8=98, Resulting Numbers: [67, 98] Generated Node #0,0,3: 75:[67, 98] Operation: 90+8=98 Exploring Operation: 67+8=75, Resulting Numbers: [90, 75] Generated Node #0,0,4: 75:[90, 75] Operation: 67+8=75 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[8, 23], Operations: ['45-37=8', '90-67=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,75 unequal: No Solution No solution 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: 75:[67, 82], Operations: ['45-37=8', '90-8=82'] Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,75 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,75 unequal: No Solution No solution 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: 75:[90, 75], Operations: ['45-37=8', '67+8=75'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,75 unequal: No Solution No solution 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: 75:[90, 59], Operations: ['45-37=8', '67-8=59'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,75 unequal: No Solution Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,75 unequal: No Solution No solution 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: 75:[67, 98], Operations: ['45-37=8', '90+8=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,75 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,75 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: 75:[90, 37, 22], Operations: ['67-45=22'] Exploring Operation: 90+22=112, Resulting Numbers: [37, 112] Generated Node #0,3,0: 75:[37, 112] Operation: 90+22=112 Exploring Operation: 37+22=59, Resulting Numbers: [90, 59] Generated Node #0,3,1: 75:[90, 59] Operation: 37+22=59 Exploring Operation: 90-37=53, Resulting Numbers: [22, 53] Generated Node #0,3,2: 75:[22, 53] Operation: 90-37=53 Exploring Operation: 37-22=15, Resulting Numbers: [90, 15] Generated Node #0,3,3: 75:[90, 15] Operation: 37-22=15 Exploring Operation: 90-22=68, Resulting Numbers: [37, 68] Generated Node #0,3,4: 75:[37, 68] Operation: 90-22=68 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[90, 15], Operations: ['67-45=22', '37-22=15'] Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,75 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[67, 90, 45, 37], Operations: [] Exploring Operation: 67-45=22, Resulting Numbers: [90, 37, 22] Generated Node #0,3: 75:[90, 37, 22] Operation: 67-45=22 Moving to Node #0,3 Current State: 75:[90, 37, 22], Operations: ['67-45=22'] Exploring Operation: 37-22=15, Resulting Numbers: [90, 15] Generated Node #0,3,3: 75:[90, 15] Operation: 37-22=15 Moving to Node #0,3,3 Current State: 75:[90, 15], Operations: ['67-45=22', '37-22=15'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 65, 47, 71, 59 ]
45
[ "71+59=130", "130/65=2", "47-2=45" ]
Current State: 45:[65, 47, 71, 59], Operations: [] Exploring Operation: 71+59=130, Resulting Numbers: [65, 47, 130] Generated Node #2: [65, 47, 130] from Operation: 71+59=130 Current State: 45:[65, 47, 130], Operations: ['71+59=130'] Exploring Operation: 130/65=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 130/65=2 Current State: 45:[47, 2], Operations: ['71+59=130', '130/65=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[65, 47, 71, 59], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [65, 47, 12] Generated Node #0,0: 45:[65, 47, 12] Operation: 71-59=12 Exploring Operation: 71-65=6, Resulting Numbers: [47, 59, 6] Generated Node #0,1: 45:[47, 59, 6] Operation: 71-65=6 Exploring Operation: 65-59=6, Resulting Numbers: [47, 71, 6] Generated Node #0,2: 45:[47, 71, 6] Operation: 65-59=6 Moving to Node #0,1 Current State: 45:[47, 59, 6], Operations: ['71-65=6'] Exploring Operation: 59-6=53, Resulting Numbers: [47, 53] Generated Node #0,1,0: 45:[47, 53] Operation: 59-6=53 Exploring Operation: 47-6=41, Resulting Numbers: [59, 41] Generated Node #0,1,1: 45:[59, 41] Operation: 47-6=41 Exploring Operation: 59-47=12, Resulting Numbers: [6, 12] Generated Node #0,1,2: 45:[6, 12] Operation: 59-47=12 Moving to Node #0,0 Current State: 45:[65, 47, 12], Operations: ['71-59=12'] Exploring Operation: 47-12=35, Resulting Numbers: [65, 35] Generated Node #0,0,0: 45:[65, 35] Operation: 47-12=35 Exploring Operation: 65-12=53, Resulting Numbers: [47, 53] Generated Node #0,0,1: 45:[47, 53] Operation: 65-12=53 Exploring Operation: 65-47=18, Resulting Numbers: [12, 18] Generated Node #0,0,2: 45:[12, 18] Operation: 65-47=18 Moving to Node #0,2 Current State: 45:[47, 71, 6], Operations: ['65-59=6'] Exploring Operation: 71-6=65, Resulting Numbers: [47, 65] Generated Node #0,2,0: 45:[47, 65] Operation: 71-6=65 Exploring Operation: 47-6=41, Resulting Numbers: [71, 41] Generated Node #0,2,1: 45:[71, 41] Operation: 47-6=41 Exploring Operation: 71-47=24, Resulting Numbers: [6, 24] Generated Node #0,2,2: 45:[6, 24] Operation: 71-47=24 Moving to Node #0,1,2 Current State: 45:[6, 12], Operations: ['71-65=6', '59-47=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[12, 18], Operations: ['71-59=12', '65-47=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,45 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[6, 24], Operations: ['65-59=6', '71-47=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[47, 53], Operations: ['71-59=12', '65-12=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,45 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[47, 53], Operations: ['71-65=6', '59-6=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,45 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[59, 41], Operations: ['71-65=6', '47-6=41'] Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,45 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[47, 65], Operations: ['65-59=6', '71-6=65'] Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,45 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[65, 35], Operations: ['71-59=12', '47-12=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,45 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[71, 41], Operations: ['65-59=6', '47-6=41'] Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,45 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,45 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 23, 91, 80, 98 ]
50
[ "91-23=68", "98-80=18", "68-18=50" ]
Current State: 50:[23, 91, 80, 98], Operations: [] Exploring Operation: 91-23=68, Resulting Numbers: [80, 98, 68] Generated Node #2: [80, 98, 68] from Operation: 91-23=68 Current State: 50:[80, 98, 68], Operations: ['91-23=68'] Exploring Operation: 98-80=18, Resulting Numbers: [68, 18] Generated Node #3: [68, 18] from Operation: 98-80=18 Current State: 50:[68, 18], Operations: ['91-23=68', '98-80=18'] Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[23, 91, 80, 98], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [23, 98, 11] Generated Node #0,0: 50:[23, 98, 11] Operation: 91-80=11 Exploring Operation: 98-91=7, Resulting Numbers: [23, 80, 7] Generated Node #0,1: 50:[23, 80, 7] Operation: 98-91=7 Exploring Operation: 98-80=18, Resulting Numbers: [23, 91, 18] Generated Node #0,2: 50:[23, 91, 18] Operation: 98-80=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[23, 80, 7], Operations: ['98-91=7'] Exploring Operation: 80-7=73, Resulting Numbers: [23, 73] Generated Node #0,1,0: 50:[23, 73] Operation: 80-7=73 Exploring Operation: 23+7=30, Resulting Numbers: [80, 30] Generated Node #0,1,1: 50:[80, 30] Operation: 23+7=30 Exploring Operation: 80-23=57, Resulting Numbers: [7, 57] Generated Node #0,1,2: 50:[7, 57] Operation: 80-23=57 Moving to Node #0,1,2 Current State: 50:[7, 57], Operations: ['98-91=7', '80-23=57'] Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,50 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[23, 91, 80, 98], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [23, 80, 7] Generated Node #0,1: 50:[23, 80, 7] Operation: 98-91=7 Moving to Node #0,1 Current State: 50:[23, 80, 7], Operations: ['98-91=7'] Exploring Operation: 80-23=57, Resulting Numbers: [7, 57] Generated Node #0,1,2: 50:[7, 57] Operation: 80-23=57 Moving to Node #0,1,2 Current State: 50:[7, 57], Operations: ['98-91=7', '80-23=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 14, 88, 32, 70 ]
64
[ "14+88=102", "70-32=38", "102-38=64" ]
Current State: 64:[14, 88, 32, 70], Operations: [] Exploring Operation: 14+88=102, Resulting Numbers: [32, 70, 102] Generated Node #2: [32, 70, 102] from Operation: 14+88=102 Current State: 64:[32, 70, 102], Operations: ['14+88=102'] Exploring Operation: 70-32=38, Resulting Numbers: [102, 38] Generated Node #3: [102, 38] from Operation: 70-32=38 Current State: 64:[102, 38], Operations: ['14+88=102', '70-32=38'] Exploring Operation: 102-38=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[14, 88, 32, 70], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [14, 32, 18] Generated Node #0,0: 64:[14, 32, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 64:[14, 32, 18], Operations: ['88-70=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32, 32] Generated Node #0,0,0: 64:[32, 32] Operation: 14+18=32 Moving to Node #0,0,0 Current State: 64:[32, 32], Operations: ['88-70=18', '14+18=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[14, 88, 32, 70], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [14, 32, 18] Generated Node #0,0: 64:[14, 32, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 64:[14, 32, 18], Operations: ['88-70=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32, 32] Generated Node #0,0,0: 64:[32, 32] Operation: 14+18=32 Moving to Node #0,0,0 Current State: 64:[32, 32], Operations: ['88-70=18', '14+18=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 26, 28, 36, 46 ]
80
[ "28-26=2", "36+46=82", "82-2=80" ]
Current State: 80:[26, 28, 36, 46], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [36, 46, 2] Generated Node #2: [36, 46, 2] from Operation: 28-26=2 Current State: 80:[36, 46, 2], Operations: ['28-26=2'] Exploring Operation: 36+46=82, Resulting Numbers: [2, 82] Generated Node #3: [2, 82] from Operation: 36+46=82 Current State: 80:[2, 82], Operations: ['28-26=2', '36+46=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[26, 28, 36, 46], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [26, 36, 18] Generated Node #0,0: 80:[26, 36, 18] Operation: 46-28=18 Exploring Operation: 46-26=20, Resulting Numbers: [28, 36, 20] Generated Node #0,1: 80:[28, 36, 20] Operation: 46-26=20 Exploring Operation: 36-28=8, Resulting Numbers: [26, 46, 8] Generated Node #0,2: 80:[26, 46, 8] Operation: 36-28=8 Exploring Operation: 36-26=10, Resulting Numbers: [28, 46, 10] Generated Node #0,3: 80:[28, 46, 10] Operation: 36-26=10 Exploring Operation: 28-26=2, Resulting Numbers: [36, 46, 2] Generated Node #0,4: 80:[36, 46, 2] Operation: 28-26=2 Moving to Node #0,4 Current State: 80:[36, 46, 2], Operations: ['28-26=2'] Exploring Operation: 36+2=38, Resulting Numbers: [46, 38] Generated Node #0,4,0: 80:[46, 38] Operation: 36+2=38 Exploring Operation: 46/2=23, Resulting Numbers: [36, 23] Generated Node #0,4,1: 80:[36, 23] Operation: 46/2=23 Exploring Operation: 46-36=10, Resulting Numbers: [2, 10] Generated Node #0,4,2: 80:[2, 10] Operation: 46-36=10 Exploring Operation: 36+46=82, Resulting Numbers: [2, 82] Generated Node #0,4,3: 80:[2, 82] Operation: 36+46=82 Exploring Operation: 36/2=18, Resulting Numbers: [46, 18] Generated Node #0,4,4: 80:[46, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[2, 10], Operations: ['28-26=2', '46-36=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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,4,3 Current State: 80:[2, 82], Operations: ['28-26=2', '36+46=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[26, 28, 36, 46], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [36, 46, 2] Generated Node #0,4: 80:[36, 46, 2] Operation: 28-26=2 Moving to Node #0,4 Current State: 80:[36, 46, 2], Operations: ['28-26=2'] Exploring Operation: 36+46=82, Resulting Numbers: [2, 82] Generated Node #0,4,3: 80:[2, 82] Operation: 36+46=82 Moving to Node #0,4,3 Current State: 80:[2, 82], Operations: ['28-26=2', '36+46=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 37, 70, 15, 15 ]
63
[ "70-37=33", "15+15=30", "33+30=63" ]
Current State: 63:[37, 70, 15, 15], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [15, 15, 33] Generated Node #2: [15, 15, 33] from Operation: 70-37=33 Current State: 63:[15, 15, 33], Operations: ['70-37=33'] Exploring Operation: 15+15=30, Resulting Numbers: [33, 30] Generated Node #3: [33, 30] from Operation: 15+15=30 Current State: 63:[33, 30], Operations: ['70-37=33', '15+15=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[37, 70, 15, 15], Operations: [] Exploring Operation: 37+15=52, Resulting Numbers: [70, 15, 52] Generated Node #0,0: 63:[70, 15, 52] Operation: 37+15=52 Exploring Operation: 37-15=22, Resulting Numbers: [70, 15, 22] Generated Node #0,1: 63:[70, 15, 22] Operation: 37-15=22 Exploring Operation: 70-37=33, Resulting Numbers: [15, 15, 33] Generated Node #0,2: 63:[15, 15, 33] Operation: 70-37=33 Exploring Operation: 37-15=22, Resulting Numbers: [70, 15, 22] Generated Node #0,3: 63:[70, 15, 22] Operation: 37-15=22 Moving to Node #0,1 Current State: 63:[70, 15, 22], Operations: ['37-15=22'] Exploring Operation: 70+15=85, Resulting Numbers: [22, 85] Generated Node #0,1,0: 63:[22, 85] Operation: 70+15=85 Exploring Operation: 70-15=55, Resulting Numbers: [22, 55] Generated Node #0,1,1: 63:[22, 55] Operation: 70-15=55 Exploring Operation: 70-22=48, Resulting Numbers: [15, 48] Generated Node #0,1,2: 63:[15, 48] Operation: 70-22=48 Exploring Operation: 22-15=7, Resulting Numbers: [70, 7] Generated Node #0,1,3: 63:[70, 7] Operation: 22-15=7 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[70, 7], Operations: ['37-15=22', '22-15=7'] Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,63 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[37, 70, 15, 15], Operations: [] Exploring Operation: 37-15=22, Resulting Numbers: [70, 15, 22] Generated Node #0,1: 63:[70, 15, 22] Operation: 37-15=22 Moving to Node #0,1 Current State: 63:[70, 15, 22], Operations: ['37-15=22'] Exploring Operation: 22-15=7, Resulting Numbers: [70, 7] Generated Node #0,1,3: 63:[70, 7] Operation: 22-15=7 Moving to Node #0,1,3 Current State: 63:[70, 7], Operations: ['37-15=22', '22-15=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 12, 81, 41, 20 ]
94
[ "81*20=1620", "1620/12=135", "135-41=94" ]
Current State: 94:[12, 81, 41, 20], Operations: [] Exploring Operation: 81*20=1620, Resulting Numbers: [12, 41, 1620] Generated Node #2: [12, 41, 1620] from Operation: 81*20=1620 Current State: 94:[12, 41, 1620], Operations: ['81*20=1620'] Exploring Operation: 1620/12=135, Resulting Numbers: [41, 135] Generated Node #3: [41, 135] from Operation: 1620/12=135 Current State: 94:[41, 135], Operations: ['81*20=1620', '1620/12=135'] Exploring Operation: 135-41=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[12, 81, 41, 20], Operations: [] Exploring Operation: 81+20=101, Resulting Numbers: [12, 41, 101] Generated Node #0,0: 94:[12, 41, 101] Operation: 81+20=101 Exploring Operation: 12+81=93, Resulting Numbers: [41, 20, 93] Generated Node #0,1: 94:[41, 20, 93] Operation: 12+81=93 Exploring Operation: 12+20=32, Resulting Numbers: [81, 41, 32] Generated Node #0,2: 94:[81, 41, 32] Operation: 12+20=32 Exploring Operation: 20-12=8, Resulting Numbers: [81, 41, 8] Generated Node #0,3: 94:[81, 41, 8] Operation: 20-12=8 Exploring Operation: 81-20=61, Resulting Numbers: [12, 41, 61] Generated Node #0,4: 94:[12, 41, 61] Operation: 81-20=61 Moving to Node #0,0 Current State: 94:[12, 41, 101], Operations: ['81+20=101'] Exploring Operation: 101-41=60, Resulting Numbers: [12, 60] Generated Node #0,0,0: 94:[12, 60] Operation: 101-41=60 Exploring Operation: 101-12=89, Resulting Numbers: [41, 89] Generated Node #0,0,1: 94:[41, 89] Operation: 101-12=89 Exploring Operation: 12+101=113, Resulting Numbers: [41, 113] Generated Node #0,0,2: 94:[41, 113] Operation: 12+101=113 Exploring Operation: 12+41=53, Resulting Numbers: [101, 53] Generated Node #0,0,3: 94:[101, 53] Operation: 12+41=53 Exploring Operation: 41-12=29, Resulting Numbers: [101, 29] Generated Node #0,0,4: 94:[101, 29] Operation: 41-12=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[41, 89], Operations: ['81+20=101', '101-12=89'] Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,94 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,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,0,3 Current State: 94:[101, 53], Operations: ['81+20=101', '12+41=53'] Exploring Operation: 101+53=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 101*53=5353, Resulting Numbers: [5353] 5353,94 unequal: No Solution Exploring Operation: 101-53=48, Resulting Numbers: [48] 48,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,0,0 Current State: 94:[12, 60], Operations: ['81+20=101', '101-41=60'] Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,94 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,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,0,2 Current State: 94:[41, 113], Operations: ['81+20=101', '12+101=113'] Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,94 unequal: No Solution Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,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,0,4 Current State: 94:[101, 29], Operations: ['81+20=101', '41-12=29'] Exploring Operation: 101*29=2929, Resulting Numbers: [2929] 2929,94 unequal: No Solution Exploring Operation: 101+29=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 101-29=72, Resulting Numbers: [72] 72,94 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: 94:[81, 41, 8], Operations: ['20-12=8'] Exploring Operation: 81-41=40, Resulting Numbers: [8, 40] Generated Node #0,3,0: 94:[8, 40] Operation: 81-41=40 Exploring Operation: 41-8=33, Resulting Numbers: [81, 33] Generated Node #0,3,1: 94:[81, 33] Operation: 41-8=33 Exploring Operation: 41+8=49, Resulting Numbers: [81, 49] Generated Node #0,3,2: 94:[81, 49] Operation: 41+8=49 Exploring Operation: 81-8=73, Resulting Numbers: [41, 73] Generated Node #0,3,3: 94:[41, 73] Operation: 81-8=73 Exploring Operation: 81+8=89, Resulting Numbers: [41, 89] Generated Node #0,3,4: 94:[41, 89] Operation: 81+8=89 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[41, 89], Operations: ['20-12=8', '81+8=89'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,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,3,0 Current State: 94:[8, 40], Operations: ['20-12=8', '81-41=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,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,3,2 Current State: 94:[81, 49], Operations: ['20-12=8', '41+8=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,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,3,1 Current State: 94:[81, 33], Operations: ['20-12=8', '41-8=33'] Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,94 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,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,3,3 Current State: 94:[41, 73], Operations: ['20-12=8', '81-8=73'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,94 unequal: No Solution Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,94 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: 94:[41, 20, 93], Operations: ['12+81=93'] Exploring Operation: 93-41=52, Resulting Numbers: [20, 52] Generated Node #0,1,0: 94:[20, 52] Operation: 93-41=52 Exploring Operation: 41-20=21, Resulting Numbers: [93, 21] Generated Node #0,1,1: 94:[93, 21] Operation: 41-20=21 Exploring Operation: 20+93=113, Resulting Numbers: [41, 113] Generated Node #0,1,2: 94:[41, 113] Operation: 20+93=113 Exploring Operation: 93-20=73, Resulting Numbers: [41, 73] Generated Node #0,1,3: 94:[41, 73] Operation: 93-20=73 Exploring Operation: 41+20=61, Resulting Numbers: [93, 61] Generated Node #0,1,4: 94:[93, 61] Operation: 41+20=61 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[93, 61], Operations: ['12+81=93', '41+20=61'] Exploring Operation: 93+61=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 93*61=5673, Resulting Numbers: [5673] 5673,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,1,1 Current State: 94:[93, 21], Operations: ['12+81=93', '41-20=21'] Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,94 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,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,1,0 Current State: 94:[20, 52], Operations: ['12+81=93', '93-41=52'] Exploring Operation: 20+52=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 20*52=1040, Resulting Numbers: [1040] 1040,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,1,2 Current State: 94:[41, 113], Operations: ['12+81=93', '20+93=113'] Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,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,1,3 Current State: 94:[41, 73], Operations: ['12+81=93', '93-20=73'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,94 unequal: No Solution Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,94 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: 94:[12, 41, 61], Operations: ['81-20=61'] Exploring Operation: 12+61=73, Resulting Numbers: [41, 73] Generated Node #0,4,0: 94:[41, 73] Operation: 12+61=73 Exploring Operation: 41+61=102, Resulting Numbers: [12, 102] Generated Node #0,4,1: 94:[12, 102] Operation: 41+61=102 Exploring Operation: 61-12=49, Resulting Numbers: [41, 49] Generated Node #0,4,2: 94:[41, 49] Operation: 61-12=49 Exploring Operation: 61-41=20, Resulting Numbers: [12, 20] Generated Node #0,4,3: 94:[12, 20] Operation: 61-41=20 Exploring Operation: 12+41=53, Resulting Numbers: [61, 53] Generated Node #0,4,4: 94:[61, 53] Operation: 12+41=53 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[41, 49], Operations: ['81-20=61', '61-12=49'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,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,4,1 Current State: 94:[12, 102], Operations: ['81-20=61', '41+61=102'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 12*102=1224, Resulting Numbers: [1224] 1224,94 unequal: No Solution Exploring Operation: 12+102=114, Resulting Numbers: [114] 114,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,4,4 Current State: 94:[61, 53], Operations: ['81-20=61', '12+41=53'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,94 unequal: No Solution Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,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,4,0 Current State: 94:[41, 73], Operations: ['81-20=61', '12+61=73'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,94 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,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,4,3 Current State: 94:[12, 20], Operations: ['81-20=61', '61-41=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,94 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: 94:[81, 41, 32], Operations: ['12+20=32'] Exploring Operation: 41+32=73, Resulting Numbers: [81, 73] Generated Node #0,2,0: 94:[81, 73] Operation: 41+32=73 Exploring Operation: 81-41=40, Resulting Numbers: [32, 40] Generated Node #0,2,1: 94:[32, 40] Operation: 81-41=40 Exploring Operation: 41-32=9, Resulting Numbers: [81, 9] Generated Node #0,2,2: 94:[81, 9] Operation: 41-32=9 Exploring Operation: 81+32=113, Resulting Numbers: [41, 113] Generated Node #0,2,3: 94:[41, 113] Operation: 81+32=113 Exploring Operation: 81-32=49, Resulting Numbers: [41, 49] Generated Node #0,2,4: 94:[41, 49] Operation: 81-32=49 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[41, 49], Operations: ['12+20=32', '81-32=49'] Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,94 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,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,2 Current State: 94:[81, 9], Operations: ['12+20=32', '41-32=9'] Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,94 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,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,1 Current State: 94:[32, 40], Operations: ['12+20=32', '81-41=40'] Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,94 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,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,3 Current State: 94:[41, 113], Operations: ['12+20=32', '81+32=113'] Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,94 unequal: No Solution Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,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,0 Current State: 94:[81, 73], Operations: ['12+20=32', '41+32=73'] Exploring Operation: 81*73=5913, Resulting Numbers: [5913] 5913,94 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 81+73=154, Resulting Numbers: [154] 154,94 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
[ 8, 94, 5, 31 ]
11
[ "94-8=86", "86-31=55", "55/5=11" ]
Current State: 11:[8, 94, 5, 31], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [5, 31, 86] Generated Node #2: [5, 31, 86] from Operation: 94-8=86 Current State: 11:[5, 31, 86], Operations: ['94-8=86'] Exploring Operation: 86-31=55, Resulting Numbers: [5, 55] Generated Node #3: [5, 55] from Operation: 86-31=55 Current State: 11:[5, 55], Operations: ['94-8=86', '86-31=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[8, 94, 5, 31], Operations: [] Exploring Operation: 31-8=23, Resulting Numbers: [94, 5, 23] Generated Node #0,0: 11:[94, 5, 23] Operation: 31-8=23 Exploring Operation: 94-8=86, Resulting Numbers: [5, 31, 86] Generated Node #0,1: 11:[5, 31, 86] Operation: 94-8=86 Exploring Operation: 94-5=89, Resulting Numbers: [8, 31, 89] Generated Node #0,2: 11:[8, 31, 89] Operation: 94-5=89 Exploring Operation: 94-31=63, Resulting Numbers: [8, 5, 63] Generated Node #0,3: 11:[8, 5, 63] Operation: 94-31=63 Moving to Node #0,3 Current State: 11:[8, 5, 63], Operations: ['94-31=63'] Exploring Operation: 8+5=13, Resulting Numbers: [63, 13] Generated Node #0,3,0: 11:[63, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [63, 3] Generated Node #0,3,1: 11:[63, 3] Operation: 8-5=3 Exploring Operation: 63-8=55, Resulting Numbers: [5, 55] Generated Node #0,3,2: 11:[5, 55] Operation: 63-8=55 Exploring Operation: 63-5=58, Resulting Numbers: [8, 58] Generated Node #0,3,3: 11:[8, 58] Operation: 63-5=58 Moving to Node #0,1 Current State: 11:[5, 31, 86], Operations: ['94-8=86'] Exploring Operation: 5+31=36, Resulting Numbers: [86, 36] Generated Node #0,1,0: 11:[86, 36] Operation: 5+31=36 Exploring Operation: 31-5=26, Resulting Numbers: [86, 26] Generated Node #0,1,1: 11:[86, 26] Operation: 31-5=26 Exploring Operation: 86-5=81, Resulting Numbers: [31, 81] Generated Node #0,1,2: 11:[31, 81] Operation: 86-5=81 Exploring Operation: 86-31=55, Resulting Numbers: [5, 55] Generated Node #0,1,3: 11:[5, 55] Operation: 86-31=55 Moving to Node #0,0 Current State: 11:[94, 5, 23], Operations: ['31-8=23'] Exploring Operation: 94+5=99, Resulting Numbers: [23, 99] Generated Node #0,0,0: 11:[23, 99] Operation: 94+5=99 Exploring Operation: 94-23=71, Resulting Numbers: [5, 71] Generated Node #0,0,1: 11:[5, 71] Operation: 94-23=71 Exploring Operation: 94-5=89, Resulting Numbers: [23, 89] Generated Node #0,0,2: 11:[23, 89] Operation: 94-5=89 Exploring Operation: 23-5=18, Resulting Numbers: [94, 18] Generated Node #0,0,3: 11:[94, 18] Operation: 23-5=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[5, 71], Operations: ['31-8=23', '94-23=71'] Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,11 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[23, 89], Operations: ['31-8=23', '94-5=89'] Exploring Operation: 23+89=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 23*89=2047, Resulting Numbers: [2047] 2047,11 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[94, 18], Operations: ['31-8=23', '23-5=18'] Exploring Operation: 94+18=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 94*18=1692, Resulting Numbers: [1692] 1692,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[23, 99], Operations: ['31-8=23', '94+5=99'] Exploring Operation: 23*99=2277, Resulting Numbers: [2277] 2277,11 unequal: No Solution Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 23+99=122, Resulting Numbers: [122] 122,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[8, 31, 89], Operations: ['94-5=89'] Exploring Operation: 8+31=39, Resulting Numbers: [89, 39] Generated Node #0,2,0: 11:[89, 39] Operation: 8+31=39 Exploring Operation: 89-31=58, Resulting Numbers: [8, 58] Generated Node #0,2,1: 11:[8, 58] Operation: 89-31=58 Exploring Operation: 89-8=81, Resulting Numbers: [31, 81] Generated Node #0,2,2: 11:[31, 81] Operation: 89-8=81 Exploring Operation: 31-8=23, Resulting Numbers: [89, 23] Generated Node #0,2,3: 11:[89, 23] Operation: 31-8=23 Moving to Node #0,3,2 Current State: 11:[5, 55], Operations: ['94-31=63', '63-8=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,11 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[8, 94, 5, 31], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [8, 5, 63] Generated Node #0,3: 11:[8, 5, 63] Operation: 94-31=63 Moving to Node #0,3 Current State: 11:[8, 5, 63], Operations: ['94-31=63'] Exploring Operation: 63-8=55, Resulting Numbers: [5, 55] Generated Node #0,3,2: 11:[5, 55] Operation: 63-8=55 Moving to Node #0,3,2 Current State: 11:[5, 55], Operations: ['94-31=63', '63-8=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 44, 58, 5, 3 ]
71
[ "44-5=39", "39/3=13", "58+13=71" ]
Current State: 71:[44, 58, 5, 3], Operations: [] Exploring Operation: 44-5=39, Resulting Numbers: [58, 3, 39] Generated Node #2: [58, 3, 39] from Operation: 44-5=39 Current State: 71:[58, 3, 39], Operations: ['44-5=39'] Exploring Operation: 39/3=13, Resulting Numbers: [58, 13] Generated Node #3: [58, 13] from Operation: 39/3=13 Current State: 71:[58, 13], Operations: ['44-5=39', '39/3=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[44, 58, 5, 3], Operations: [] Exploring Operation: 44+3=47, Resulting Numbers: [58, 5, 47] Generated Node #0,0: 71:[58, 5, 47] Operation: 44+3=47 Exploring Operation: 5*3=15, Resulting Numbers: [44, 58, 15] Generated Node #0,1: 71:[44, 58, 15] Operation: 5*3=15 Exploring Operation: 58+5=63, Resulting Numbers: [44, 3, 63] Generated Node #0,2: 71:[44, 3, 63] Operation: 58+5=63 Exploring Operation: 44+5=49, Resulting Numbers: [58, 3, 49] Generated Node #0,3: 71:[58, 3, 49] Operation: 44+5=49 Exploring Operation: 58+3=61, Resulting Numbers: [44, 5, 61] Generated Node #0,4: 71:[44, 5, 61] Operation: 58+3=61 Moving to Node #0,1 Current State: 71:[44, 58, 15], Operations: ['5*3=15'] Exploring Operation: 44-15=29, Resulting Numbers: [58, 29] Generated Node #0,1,0: 71:[58, 29] Operation: 44-15=29 Exploring Operation: 58-15=43, Resulting Numbers: [44, 43] Generated Node #0,1,1: 71:[44, 43] Operation: 58-15=43 Exploring Operation: 44+15=59, Resulting Numbers: [58, 59] Generated Node #0,1,2: 71:[58, 59] Operation: 44+15=59 Exploring Operation: 44+58=102, Resulting Numbers: [15, 102] Generated Node #0,1,3: 71:[15, 102] Operation: 44+58=102 Exploring Operation: 58+15=73, Resulting Numbers: [44, 73] Generated Node #0,1,4: 71:[44, 73] Operation: 58+15=73 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[58, 59], Operations: ['5*3=15', '44+15=59'] Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,71 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,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,4 Current State: 71:[44, 73], Operations: ['5*3=15', '58+15=73'] Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 44*73=3212, Resulting Numbers: [3212] 3212,71 unequal: No Solution Exploring Operation: 44+73=117, Resulting Numbers: [117] 117,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:[58, 29], Operations: ['5*3=15', '44-15=29'] Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,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,1 Current State: 71:[44, 43], Operations: ['5*3=15', '58-15=43'] Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,71 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,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,3 Current State: 71:[15, 102], Operations: ['5*3=15', '44+58=102'] Exploring Operation: 102-15=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 15+102=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 15*102=1530, Resulting Numbers: [1530] 1530,71 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: 71:[44, 3, 63], Operations: ['58+5=63'] Exploring Operation: 44-3=41, Resulting Numbers: [63, 41] Generated Node #0,2,0: 71:[63, 41] Operation: 44-3=41 Exploring Operation: 63-3=60, Resulting Numbers: [44, 60] Generated Node #0,2,1: 71:[44, 60] Operation: 63-3=60 Exploring Operation: 3+63=66, Resulting Numbers: [44, 66] Generated Node #0,2,2: 71:[44, 66] Operation: 3+63=66 Exploring Operation: 44*3=132, Resulting Numbers: [63, 132] Generated Node #0,2,3: 71:[63, 132] Operation: 44*3=132 Exploring Operation: 44+3=47, Resulting Numbers: [63, 47] Generated Node #0,2,4: 71:[63, 47] Operation: 44+3=47 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[44, 66], Operations: ['58+5=63', '3+63=66'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,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,2,4 Current State: 71:[63, 47], Operations: ['58+5=63', '44+3=47'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,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,2,0 Current State: 71:[63, 41], Operations: ['58+5=63', '44-3=41'] Exploring Operation: 63*41=2583, Resulting Numbers: [2583] 2583,71 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 63+41=104, Resulting Numbers: [104] 104,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,2,1 Current State: 71:[44, 60], Operations: ['58+5=63', '63-3=60'] Exploring Operation: 44*60=2640, Resulting Numbers: [2640] 2640,71 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 44+60=104, Resulting Numbers: [104] 104,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,2,3 Current State: 71:[63, 132], Operations: ['58+5=63', '44*3=132'] Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,71 unequal: No Solution Exploring Operation: 63+132=195, Resulting Numbers: [195] 195,71 unequal: No Solution Exploring Operation: 63*132=8316, Resulting Numbers: [8316] 8316,71 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: 71:[44, 5, 61], Operations: ['58+3=61'] Exploring Operation: 44+61=105, Resulting Numbers: [5, 105] Generated Node #0,4,0: 71:[5, 105] Operation: 44+61=105 Exploring Operation: 5+61=66, Resulting Numbers: [44, 66] Generated Node #0,4,1: 71:[44, 66] Operation: 5+61=66 Exploring Operation: 61-5=56, Resulting Numbers: [44, 56] Generated Node #0,4,2: 71:[44, 56] Operation: 61-5=56 Exploring Operation: 44-5=39, Resulting Numbers: [61, 39] Generated Node #0,4,3: 71:[61, 39] Operation: 44-5=39 Exploring Operation: 44+5=49, Resulting Numbers: [61, 49] Generated Node #0,4,4: 71:[61, 49] Operation: 44+5=49 Moving to Node #0,0 Current State: 71:[58, 5, 47], Operations: ['44+3=47'] Exploring Operation: 58-5=53, Resulting Numbers: [47, 53] Generated Node #0,0,0: 71:[47, 53] Operation: 58-5=53 Exploring Operation: 5+47=52, Resulting Numbers: [58, 52] Generated Node #0,0,1: 71:[58, 52] Operation: 5+47=52 Exploring Operation: 47-5=42, Resulting Numbers: [58, 42] Generated Node #0,0,2: 71:[58, 42] Operation: 47-5=42 Exploring Operation: 58+5=63, Resulting Numbers: [47, 63] Generated Node #0,0,3: 71:[47, 63] Operation: 58+5=63 Exploring Operation: 58+47=105, Resulting Numbers: [5, 105] Generated Node #0,0,4: 71:[5, 105] Operation: 58+47=105 Moving to Node #0,3 Current State: 71:[58, 3, 49], Operations: ['44+5=49'] Exploring Operation: 58+3=61, Resulting Numbers: [49, 61] Generated Node #0,3,0: 71:[49, 61] Operation: 58+3=61 Exploring Operation: 49-3=46, Resulting Numbers: [58, 46] Generated Node #0,3,1: 71:[58, 46] Operation: 49-3=46 Exploring Operation: 58-3=55, Resulting Numbers: [49, 55] Generated Node #0,3,2: 71:[49, 55] Operation: 58-3=55 Exploring Operation: 3+49=52, Resulting Numbers: [58, 52] Generated Node #0,3,3: 71:[58, 52] Operation: 3+49=52 Exploring Operation: 3*49=147, Resulting Numbers: [58, 147] Generated Node #0,3,4: 71:[58, 147] Operation: 3*49=147 Moving to Node #0,4,1 Current State: 71:[44, 66], Operations: ['58+3=61', '5+61=66'] Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,71 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[58, 52], Operations: ['44+3=47', '5+47=52'] Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,71 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[47, 63], Operations: ['44+3=47', '58+5=63'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,71 unequal: No Solution Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[58, 52], Operations: ['44+5=49', '3+49=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[61, 49], Operations: ['58+3=61', '44+5=49'] Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,71 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[49, 61], Operations: ['44+5=49', '58+3=61'] Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,71 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[49, 55], Operations: ['44+5=49', '58-3=55'] Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,71 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[58, 46], Operations: ['44+5=49', '49-3=46'] Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[58, 42], Operations: ['44+3=47', '47-5=42'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[47, 53], Operations: ['44+3=47', '58-5=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,71 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[44, 56], Operations: ['58+3=61', '61-5=56'] Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,71 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[61, 39], Operations: ['58+3=61', '44-5=39'] Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,71 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[58, 147], Operations: ['44+5=49', '3*49=147'] Exploring Operation: 58+147=205, Resulting Numbers: [205] 205,71 unequal: No Solution Exploring Operation: 147-58=89, Resulting Numbers: [89] 89,71 unequal: No Solution Exploring Operation: 58*147=8526, Resulting Numbers: [8526] 8526,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[5, 105], Operations: ['58+3=61', '44+61=105'] Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[5, 105], Operations: ['44+3=47', '58+47=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,71 unequal: No Solution Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 76, 51, 38, 3 ]
86
[ "76+51=127", "38+3=41", "127-41=86" ]
Current State: 86:[76, 51, 38, 3], Operations: [] Exploring Operation: 76+51=127, Resulting Numbers: [38, 3, 127] Generated Node #2: [38, 3, 127] from Operation: 76+51=127 Current State: 86:[38, 3, 127], Operations: ['76+51=127'] Exploring Operation: 38+3=41, Resulting Numbers: [127, 41] Generated Node #3: [127, 41] from Operation: 38+3=41 Current State: 86:[127, 41], Operations: ['76+51=127', '38+3=41'] Exploring Operation: 127-41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[76, 51, 38, 3], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [51, 3, 2] Generated Node #0,0: 86:[51, 3, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[51, 3, 2], Operations: ['76/38=2'] Exploring Operation: 51-3=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 86:[2, 48] Operation: 51-3=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[2, 48], Operations: ['76/38=2', '51-3=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 24, 8, 90 ]
28
[ "45*8=360", "360/90=4", "24+4=28" ]
Current State: 28:[45, 24, 8, 90], Operations: [] Exploring Operation: 45*8=360, Resulting Numbers: [24, 90, 360] Generated Node #2: [24, 90, 360] from Operation: 45*8=360 Current State: 28:[24, 90, 360], Operations: ['45*8=360'] Exploring Operation: 360/90=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 360/90=4 Current State: 28:[24, 4], Operations: ['45*8=360', '360/90=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[45, 24, 8, 90], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [24, 8, 2] Generated Node #0,0: 28:[24, 8, 2] Operation: 90/45=2 Moving to Node #0,0 Current State: 28:[24, 8, 2], Operations: ['90/45=2'] Exploring Operation: 24/8=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 28:[2, 3] Operation: 24/8=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 3], Operations: ['90/45=2', '24/8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 24, 75, 33 ]
46
[ "28-24=4", "75-33=42", "4+42=46" ]
Current State: 46:[28, 24, 75, 33], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [75, 33, 4] Generated Node #2: [75, 33, 4] from Operation: 28-24=4 Current State: 46:[75, 33, 4], Operations: ['28-24=4'] Exploring Operation: 75-33=42, Resulting Numbers: [4, 42] Generated Node #3: [4, 42] from Operation: 75-33=42 Current State: 46:[4, 42], Operations: ['28-24=4', '75-33=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[28, 24, 75, 33], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [28, 24, 42] Generated Node #0,0: 46:[28, 24, 42] Operation: 75-33=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[28, 24, 42], Operations: ['75-33=42'] Exploring Operation: 28-24=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 46:[42, 4] Operation: 28-24=4 Moving to Node #0,0,0 Current State: 46:[42, 4], Operations: ['75-33=42', '28-24=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[28, 24, 75, 33], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [28, 24, 42] Generated Node #0,0: 46:[28, 24, 42] Operation: 75-33=42 Moving to Node #0,0 Current State: 46:[28, 24, 42], Operations: ['75-33=42'] Exploring Operation: 28-24=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 46:[42, 4] Operation: 28-24=4 Moving to Node #0,0,0 Current State: 46:[42, 4], Operations: ['75-33=42', '28-24=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 53, 32, 12, 69 ]
14
[ "69-53=16", "32/16=2", "12+2=14" ]
Current State: 14:[53, 32, 12, 69], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [32, 12, 16] Generated Node #2: [32, 12, 16] from Operation: 69-53=16 Current State: 14:[32, 12, 16], Operations: ['69-53=16'] Exploring Operation: 32/16=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 32/16=2 Current State: 14:[12, 2], Operations: ['69-53=16', '32/16=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[53, 32, 12, 69], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [32, 12, 16] Generated Node #0,0: 14:[32, 12, 16] Operation: 69-53=16 Exploring Operation: 53-12=41, Resulting Numbers: [32, 69, 41] Generated Node #0,1: 14:[32, 69, 41] Operation: 53-12=41 Exploring Operation: 69-32=37, Resulting Numbers: [53, 12, 37] Generated Node #0,2: 14:[53, 12, 37] Operation: 69-32=37 Exploring Operation: 53-32=21, Resulting Numbers: [12, 69, 21] Generated Node #0,3: 14:[12, 69, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[32, 12, 16], Operations: ['69-53=16'] Exploring Operation: 32/16=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 14:[12, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [12, 16] Generated Node #0,0,1: 14:[12, 16] Operation: 32-16=16 Exploring Operation: 32-12=20, Resulting Numbers: [16, 20] Generated Node #0,0,2: 14:[16, 20] Operation: 32-12=20 Exploring Operation: 16-12=4, Resulting Numbers: [32, 4] Generated Node #0,0,3: 14:[32, 4] Operation: 16-12=4 Moving to Node #0,0,0 Current State: 14:[12, 2], Operations: ['69-53=16', '32/16=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[53, 32, 12, 69], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [32, 12, 16] Generated Node #0,0: 14:[32, 12, 16] Operation: 69-53=16 Moving to Node #0,0 Current State: 14:[32, 12, 16], Operations: ['69-53=16'] Exploring Operation: 32/16=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 14:[12, 2] Operation: 32/16=2 Moving to Node #0,0,0 Current State: 14:[12, 2], Operations: ['69-53=16', '32/16=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 80, 4, 56, 82 ]
26
[ "82-80=2", "56-4=52", "52/2=26" ]
Current State: 26:[80, 4, 56, 82], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [4, 56, 2] Generated Node #2: [4, 56, 2] from Operation: 82-80=2 Current State: 26:[4, 56, 2], Operations: ['82-80=2'] Exploring Operation: 56-4=52, Resulting Numbers: [2, 52] Generated Node #3: [2, 52] from Operation: 56-4=52 Current State: 26:[2, 52], Operations: ['82-80=2', '56-4=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[80, 4, 56, 82], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [4, 56, 2] Generated Node #0,0: 26:[4, 56, 2] Operation: 82-80=2 Moving to Node #0,0 Current State: 26:[4, 56, 2], Operations: ['82-80=2'] Exploring Operation: 56/4=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 26:[2, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 14], Operations: ['82-80=2', '56/4=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,26 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
[ 91, 76, 34, 47 ]
83
[ "47-34=13", "91/13=7", "76+7=83" ]
Current State: 83:[91, 76, 34, 47], Operations: [] Exploring Operation: 47-34=13, Resulting Numbers: [91, 76, 13] Generated Node #2: [91, 76, 13] from Operation: 47-34=13 Current State: 83:[91, 76, 13], Operations: ['47-34=13'] Exploring Operation: 91/13=7, Resulting Numbers: [76, 7] Generated Node #3: [76, 7] from Operation: 91/13=7 Current State: 83:[76, 7], Operations: ['47-34=13', '91/13=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[91, 76, 34, 47], Operations: [] Exploring Operation: 34+47=81, Resulting Numbers: [91, 76, 81] Generated Node #0,0: 83:[91, 76, 81] Operation: 34+47=81 Exploring Operation: 91+34=125, Resulting Numbers: [76, 47, 125] Generated Node #0,1: 83:[76, 47, 125] Operation: 91+34=125 Exploring Operation: 76+34=110, Resulting Numbers: [91, 47, 110] Generated Node #0,2: 83:[91, 47, 110] Operation: 76+34=110 Exploring Operation: 91-34=57, Resulting Numbers: [76, 47, 57] Generated Node #0,3: 83:[76, 47, 57] Operation: 91-34=57 Moving to Node #0,0 Current State: 83:[91, 76, 81], Operations: ['34+47=81'] Exploring Operation: 76+81=157, Resulting Numbers: [91, 157] Generated Node #0,0,0: 83:[91, 157] Operation: 76+81=157 Exploring Operation: 91-76=15, Resulting Numbers: [81, 15] Generated Node #0,0,1: 83:[81, 15] Operation: 91-76=15 Exploring Operation: 91+76=167, Resulting Numbers: [81, 167] Generated Node #0,0,2: 83:[81, 167] Operation: 91+76=167 Exploring Operation: 91-81=10, Resulting Numbers: [76, 10] Generated Node #0,0,3: 83:[76, 10] Operation: 91-81=10 Moving to Node #0,3 Current State: 83:[76, 47, 57], Operations: ['91-34=57'] Exploring Operation: 47+57=104, Resulting Numbers: [76, 104] Generated Node #0,3,0: 83:[76, 104] Operation: 47+57=104 Exploring Operation: 57-47=10, Resulting Numbers: [76, 10] Generated Node #0,3,1: 83:[76, 10] Operation: 57-47=10 Exploring Operation: 76-47=29, Resulting Numbers: [57, 29] Generated Node #0,3,2: 83:[57, 29] Operation: 76-47=29 Exploring Operation: 76+47=123, Resulting Numbers: [57, 123] Generated Node #0,3,3: 83:[57, 123] Operation: 76+47=123 Moving to Node #0,2 Current State: 83:[91, 47, 110], Operations: ['76+34=110'] Exploring Operation: 91-47=44, Resulting Numbers: [110, 44] Generated Node #0,2,0: 83:[110, 44] Operation: 91-47=44 Exploring Operation: 110-47=63, Resulting Numbers: [91, 63] Generated Node #0,2,1: 83:[91, 63] Operation: 110-47=63 Exploring Operation: 91+47=138, Resulting Numbers: [110, 138] Generated Node #0,2,2: 83:[110, 138] Operation: 91+47=138 Exploring Operation: 47+110=157, Resulting Numbers: [91, 157] Generated Node #0,2,3: 83:[91, 157] Operation: 47+110=157 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[91, 63], Operations: ['76+34=110', '110-47=63'] Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 91*63=5733, Resulting Numbers: [5733] 5733,83 unequal: No Solution Exploring Operation: 91+63=154, Resulting Numbers: [154] 154,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[110, 44], Operations: ['76+34=110', '91-47=44'] Exploring Operation: 110+44=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 110*44=4840, Resulting Numbers: [4840] 4840,83 unequal: No Solution Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[110, 138], Operations: ['76+34=110', '91+47=138'] Exploring Operation: 110*138=15180, Resulting Numbers: [15180] 15180,83 unequal: No Solution Exploring Operation: 110+138=248, Resulting Numbers: [248] 248,83 unequal: No Solution Exploring Operation: 138-110=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[91, 157], Operations: ['76+34=110', '47+110=157'] Exploring Operation: 91*157=14287, Resulting Numbers: [14287] 14287,83 unequal: No Solution Exploring Operation: 91+157=248, Resulting Numbers: [248] 248,83 unequal: No Solution Exploring Operation: 157-91=66, Resulting Numbers: [66] 66,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[76, 47, 125], Operations: ['91+34=125'] Exploring Operation: 76+47=123, Resulting Numbers: [125, 123] Generated Node #0,1,0: 83:[125, 123] Operation: 76+47=123 Exploring Operation: 76-47=29, Resulting Numbers: [125, 29] Generated Node #0,1,1: 83:[125, 29] Operation: 76-47=29 Exploring Operation: 125-47=78, Resulting Numbers: [76, 78] Generated Node #0,1,2: 83:[76, 78] Operation: 125-47=78 Exploring Operation: 125-76=49, Resulting Numbers: [47, 49] Generated Node #0,1,3: 83:[47, 49] Operation: 125-76=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[76, 78], Operations: ['91+34=125', '125-47=78'] Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,83 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[47, 49], Operations: ['91+34=125', '125-76=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[125, 123], Operations: ['91+34=125', '76+47=123'] Exploring Operation: 125*123=15375, Resulting Numbers: [15375] 15375,83 unequal: No Solution Exploring Operation: 125+123=248, Resulting Numbers: [248] 248,83 unequal: No Solution Exploring Operation: 125-123=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[125, 29], Operations: ['91+34=125', '76-47=29'] Exploring Operation: 125*29=3625, Resulting Numbers: [3625] 3625,83 unequal: No Solution Exploring Operation: 125+29=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 125-29=96, Resulting Numbers: [96] 96,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 83:[76, 104], Operations: ['91-34=57', '47+57=104'] Exploring Operation: 104-76=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 76*104=7904, Resulting Numbers: [7904] 7904,83 unequal: No Solution Exploring Operation: 76+104=180, Resulting Numbers: [180] 180,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[57, 123], Operations: ['91-34=57', '76+47=123'] Exploring Operation: 123-57=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 57*123=7011, Resulting Numbers: [7011] 7011,83 unequal: No Solution Exploring Operation: 57+123=180, Resulting Numbers: [180] 180,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[81, 15], Operations: ['34+47=81', '91-76=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[76, 10], Operations: ['91-34=57', '57-47=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,83 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[76, 10], Operations: ['34+47=81', '91-81=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,83 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[57, 29], Operations: ['91-34=57', '76-47=29'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[91, 157], Operations: ['34+47=81', '76+81=157'] Exploring Operation: 91+157=248, Resulting Numbers: [248] 248,83 unequal: No Solution Exploring Operation: 157-91=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 91*157=14287, Resulting Numbers: [14287] 14287,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[81, 167], Operations: ['34+47=81', '91+76=167'] Exploring Operation: 167-81=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 81*167=13527, Resulting Numbers: [13527] 13527,83 unequal: No Solution Exploring Operation: 81+167=248, Resulting Numbers: [248] 248,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 69, 46, 8, 18 ]
72
[ "46+8=54", "54/18=3", "69+3=72" ]
Current State: 72:[69, 46, 8, 18], Operations: [] Exploring Operation: 46+8=54, Resulting Numbers: [69, 18, 54] Generated Node #2: [69, 18, 54] from Operation: 46+8=54 Current State: 72:[69, 18, 54], Operations: ['46+8=54'] Exploring Operation: 54/18=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 54/18=3 Current State: 72:[69, 3], Operations: ['46+8=54', '54/18=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[69, 46, 8, 18], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [8, 18, 23] Generated Node #0,0: 72:[8, 18, 23] Operation: 69-46=23 Exploring Operation: 46-18=28, Resulting Numbers: [69, 8, 28] Generated Node #0,1: 72:[69, 8, 28] Operation: 46-18=28 Exploring Operation: 46-8=38, Resulting Numbers: [69, 18, 38] Generated Node #0,2: 72:[69, 18, 38] Operation: 46-8=38 Exploring Operation: 18-8=10, Resulting Numbers: [69, 46, 10] Generated Node #0,3: 72:[69, 46, 10] Operation: 18-8=10 Exploring Operation: 46+18=64, Resulting Numbers: [69, 8, 64] Generated Node #0,4: 72:[69, 8, 64] Operation: 46+18=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[8, 18, 23], Operations: ['69-46=23'] Exploring Operation: 23-8=15, Resulting Numbers: [18, 15] Generated Node #0,0,0: 72:[18, 15] Operation: 23-8=15 Exploring Operation: 23-18=5, Resulting Numbers: [8, 5] Generated Node #0,0,1: 72:[8, 5] Operation: 23-18=5 Exploring Operation: 8+23=31, Resulting Numbers: [18, 31] Generated Node #0,0,2: 72:[18, 31] Operation: 8+23=31 Exploring Operation: 8+18=26, Resulting Numbers: [23, 26] Generated Node #0,0,3: 72:[23, 26] Operation: 8+18=26 Exploring Operation: 18-8=10, Resulting Numbers: [23, 10] Generated Node #0,0,4: 72:[23, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[8, 5], Operations: ['69-46=23', '23-18=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,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,4 Current State: 72:[23, 10], Operations: ['69-46=23', '18-8=10'] Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,72 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,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:[18, 15], Operations: ['69-46=23', '23-8=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,72 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,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,3 Current State: 72:[23, 26], Operations: ['69-46=23', '8+18=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,72 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,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:[18, 31], Operations: ['69-46=23', '8+23=31'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,72 unequal: No Solution Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,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,2 Current State: 72:[69, 18, 38], Operations: ['46-8=38'] Exploring Operation: 69-38=31, Resulting Numbers: [18, 31] Generated Node #0,2,0: 72:[18, 31] Operation: 69-38=31 Exploring Operation: 18+38=56, Resulting Numbers: [69, 56] Generated Node #0,2,1: 72:[69, 56] Operation: 18+38=56 Exploring Operation: 38-18=20, Resulting Numbers: [69, 20] Generated Node #0,2,2: 72:[69, 20] Operation: 38-18=20 Exploring Operation: 69+18=87, Resulting Numbers: [38, 87] Generated Node #0,2,3: 72:[38, 87] Operation: 69+18=87 Exploring Operation: 69-18=51, Resulting Numbers: [38, 51] Generated Node #0,2,4: 72:[38, 51] Operation: 69-18=51 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[18, 31], Operations: ['46-8=38', '69-38=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,72 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,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,2,2 Current State: 72:[69, 20], Operations: ['46-8=38', '38-18=20'] Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,72 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,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,2,3 Current State: 72:[38, 87], Operations: ['46-8=38', '69+18=87'] Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,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,2,4 Current State: 72:[38, 51], Operations: ['46-8=38', '69-18=51'] Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,72 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,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,2,1 Current State: 72:[69, 56], Operations: ['46-8=38', '18+38=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,72 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,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:[69, 8, 28], Operations: ['46-18=28'] Exploring Operation: 28-8=20, Resulting Numbers: [69, 20] Generated Node #0,1,0: 72:[69, 20] Operation: 28-8=20 Exploring Operation: 69+8=77, Resulting Numbers: [28, 77] Generated Node #0,1,1: 72:[28, 77] Operation: 69+8=77 Exploring Operation: 69-8=61, Resulting Numbers: [28, 61] Generated Node #0,1,2: 72:[28, 61] Operation: 69-8=61 Exploring Operation: 69-28=41, Resulting Numbers: [8, 41] Generated Node #0,1,3: 72:[8, 41] Operation: 69-28=41 Exploring Operation: 8+28=36, Resulting Numbers: [69, 36] Generated Node #0,1,4: 72:[69, 36] Operation: 8+28=36 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 72:[69, 36], Operations: ['46-18=28', '8+28=36'] Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,72 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,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,0 Current State: 72:[69, 20], Operations: ['46-18=28', '28-8=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,72 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,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:[8, 41], Operations: ['46-18=28', '69-28=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,72 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,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:[28, 77], Operations: ['46-18=28', '69+8=77'] Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,72 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,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:[28, 61], Operations: ['46-18=28', '69-8=61'] Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,72 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,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,4 Current State: 72:[69, 8, 64], Operations: ['46+18=64'] Exploring Operation: 64/8=8, Resulting Numbers: [69, 8] Generated Node #0,4,0: 72:[69, 8] Operation: 64/8=8 Exploring Operation: 69-64=5, Resulting Numbers: [8, 5] Generated Node #0,4,1: 72:[8, 5] Operation: 69-64=5 Exploring Operation: 69+8=77, Resulting Numbers: [64, 77] Generated Node #0,4,2: 72:[64, 77] Operation: 69+8=77 Exploring Operation: 69-8=61, Resulting Numbers: [64, 61] Generated Node #0,4,3: 72:[64, 61] Operation: 69-8=61 Exploring Operation: 8+64=72, Resulting Numbers: [69, 72] Generated Node #0,4,4: 72:[69, 72] Operation: 8+64=72 Moving to Node #0,4,1 Current State: 72:[8, 5], Operations: ['46+18=64', '69-64=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[69, 72], Operations: ['46+18=64', '8+64=72'] Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,72 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[69, 8], Operations: ['46+18=64', '64/8=8'] Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,72 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[64, 77], Operations: ['46+18=64', '69+8=77'] Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,72 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[64, 61], Operations: ['46+18=64', '69-8=61'] Exploring Operation: 64+61=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 64*61=3904, Resulting Numbers: [3904] 3904,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[69, 46, 10], Operations: ['18-8=10'] Exploring Operation: 69-10=59, Resulting Numbers: [46, 59] Generated Node #0,3,0: 72:[46, 59] Operation: 69-10=59 Exploring Operation: 69-46=23, Resulting Numbers: [10, 23] Generated Node #0,3,1: 72:[10, 23] Operation: 69-46=23 Exploring Operation: 69+10=79, Resulting Numbers: [46, 79] Generated Node #0,3,2: 72:[46, 79] Operation: 69+10=79 Exploring Operation: 46-10=36, Resulting Numbers: [69, 36] Generated Node #0,3,3: 72:[69, 36] Operation: 46-10=36 Exploring Operation: 46+10=56, Resulting Numbers: [69, 56] Generated Node #0,3,4: 72:[69, 56] Operation: 46+10=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 72:[10, 23], Operations: ['18-8=10', '69-46=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,72 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,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,3,3 Current State: 72:[69, 36], Operations: ['18-8=10', '46-10=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,72 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,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,3,2 Current State: 72:[46, 79], Operations: ['18-8=10', '69+10=79'] Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,72 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,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,3,4 Current State: 72:[69, 56], Operations: ['18-8=10', '46+10=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,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,3,0 Current State: 72:[46, 59], Operations: ['18-8=10', '69-10=59'] Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,72 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,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 No solution found.
0
hs_5
sum_heuristic
[ 29, 3, 31, 54 ]
81
[ "31-29=2", "3*54=162", "162/2=81" ]
Current State: 81:[29, 3, 31, 54], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [3, 54, 2] Generated Node #2: [3, 54, 2] from Operation: 31-29=2 Current State: 81:[3, 54, 2], Operations: ['31-29=2'] Exploring Operation: 3*54=162, Resulting Numbers: [2, 162] Generated Node #3: [2, 162] from Operation: 3*54=162 Current State: 81:[2, 162], Operations: ['31-29=2', '3*54=162'] Exploring Operation: 162/2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 3, 31, 54], Operations: [] Exploring Operation: 29+54=83, Resulting Numbers: [3, 31, 83] Generated Node #0,0: 81:[3, 31, 83] Operation: 29+54=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[3, 31, 83], Operations: ['29+54=83'] Exploring Operation: 31-3=28, Resulting Numbers: [83, 28] Generated Node #0,0,0: 81:[83, 28] Operation: 31-3=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[83, 28], Operations: ['29+54=83', '31-3=28'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 99, 96, 23 ]
22
[ "99-2=97", "96+23=119", "119-97=22" ]
Current State: 22:[2, 99, 96, 23], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [96, 23, 97] Generated Node #2: [96, 23, 97] from Operation: 99-2=97 Current State: 22:[96, 23, 97], Operations: ['99-2=97'] Exploring Operation: 96+23=119, Resulting Numbers: [97, 119] Generated Node #3: [97, 119] from Operation: 96+23=119 Current State: 22:[97, 119], Operations: ['99-2=97', '96+23=119'] Exploring Operation: 119-97=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[2, 99, 96, 23], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [96, 23, 97] Generated Node #0,0: 22:[96, 23, 97] Operation: 99-2=97 Exploring Operation: 99-96=3, Resulting Numbers: [2, 23, 3] Generated Node #0,1: 22:[2, 23, 3] Operation: 99-96=3 Exploring Operation: 96-23=73, Resulting Numbers: [2, 99, 73] Generated Node #0,2: 22:[2, 99, 73] Operation: 96-23=73 Exploring Operation: 96/2=48, Resulting Numbers: [99, 23, 48] Generated Node #0,3: 22:[99, 23, 48] Operation: 96/2=48 Exploring Operation: 99-23=76, Resulting Numbers: [2, 96, 76] Generated Node #0,4: 22:[2, 96, 76] Operation: 99-23=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[2, 23, 3], Operations: ['99-96=3'] Exploring Operation: 3-2=1, Resulting Numbers: [23, 1] Generated Node #0,1,0: 22:[23, 1] Operation: 3-2=1 Exploring Operation: 2+23=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 22:[3, 25] Operation: 2+23=25 Exploring Operation: 2+3=5, Resulting Numbers: [23, 5] Generated Node #0,1,2: 22:[23, 5] Operation: 2+3=5 Exploring Operation: 23-2=21, Resulting Numbers: [3, 21] Generated Node #0,1,3: 22:[3, 21] Operation: 23-2=21 Exploring Operation: 23-3=20, Resulting Numbers: [2, 20] Generated Node #0,1,4: 22:[2, 20] Operation: 23-3=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[23, 1], Operations: ['99-96=3', '3-2=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[2, 99, 96, 23], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [2, 23, 3] Generated Node #0,1: 22:[2, 23, 3] Operation: 99-96=3 Moving to Node #0,1 Current State: 22:[2, 23, 3], Operations: ['99-96=3'] Exploring Operation: 3-2=1, Resulting Numbers: [23, 1] Generated Node #0,1,0: 22:[23, 1] Operation: 3-2=1 Moving to Node #0,1,0 Current State: 22:[23, 1], Operations: ['99-96=3', '3-2=1'] Exploring Operation: 23-1=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
sum_heuristic
[ 43, 48, 27, 55 ]
63
[ "43+48=91", "55-27=28", "91-28=63" ]
Current State: 63:[43, 48, 27, 55], Operations: [] Exploring Operation: 43+48=91, Resulting Numbers: [27, 55, 91] Generated Node #2: [27, 55, 91] from Operation: 43+48=91 Current State: 63:[27, 55, 91], Operations: ['43+48=91'] Exploring Operation: 55-27=28, Resulting Numbers: [91, 28] Generated Node #3: [91, 28] from Operation: 55-27=28 Current State: 63:[91, 28], Operations: ['43+48=91', '55-27=28'] Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[43, 48, 27, 55], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [27, 55, 5] Generated Node #0,0: 63:[27, 55, 5] Operation: 48-43=5 Exploring Operation: 55-43=12, Resulting Numbers: [48, 27, 12] Generated Node #0,1: 63:[48, 27, 12] Operation: 55-43=12 Moving to Node #0,0 Current State: 63:[27, 55, 5], Operations: ['48-43=5'] Exploring Operation: 55-27=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 63:[5, 28] Operation: 55-27=28 Exploring Operation: 55/5=11, Resulting Numbers: [27, 11] Generated Node #0,0,1: 63:[27, 11] Operation: 55/5=11 Moving to Node #0,1 Current State: 63:[48, 27, 12], Operations: ['55-43=12'] Exploring Operation: 48/12=4, Resulting Numbers: [27, 4] Generated Node #0,1,0: 63:[27, 4] Operation: 48/12=4 Exploring Operation: 48-27=21, Resulting Numbers: [12, 21] Generated Node #0,1,1: 63:[12, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[12, 21], Operations: ['55-43=12', '48-27=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[27, 4], Operations: ['55-43=12', '48/12=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,63 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: 63:[27, 11], Operations: ['48-43=5', '55/5=11'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[5, 28], Operations: ['48-43=5', '55-27=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 26, 34, 39, 48 ]
38
[ "39*48=1872", "1872/26=72", "72-34=38" ]
Current State: 38:[26, 34, 39, 48], Operations: [] Exploring Operation: 39*48=1872, Resulting Numbers: [26, 34, 1872] Generated Node #2: [26, 34, 1872] from Operation: 39*48=1872 Current State: 38:[26, 34, 1872], Operations: ['39*48=1872'] Exploring Operation: 1872/26=72, Resulting Numbers: [34, 72] Generated Node #3: [34, 72] from Operation: 1872/26=72 Current State: 38:[34, 72], Operations: ['39*48=1872', '1872/26=72'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[26, 34, 39, 48], Operations: [] Exploring Operation: 48-26=22, Resulting Numbers: [34, 39, 22] Generated Node #0,0: 38:[34, 39, 22] Operation: 48-26=22 Moving to Node #0,0 Current State: 38:[34, 39, 22], Operations: ['48-26=22'] Exploring Operation: 39-34=5, Resulting Numbers: [22, 5] Generated Node #0,0,0: 38:[22, 5] Operation: 39-34=5 Moving to Node #0,0,0 Current State: 38:[22, 5], Operations: ['48-26=22', '39-34=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 58, 28, 90 ]
81
[ "90/18=5", "58+28=86", "86-5=81" ]
Current State: 81:[18, 58, 28, 90], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [58, 28, 5] Generated Node #2: [58, 28, 5] from Operation: 90/18=5 Current State: 81:[58, 28, 5], Operations: ['90/18=5'] Exploring Operation: 58+28=86, Resulting Numbers: [5, 86] Generated Node #3: [5, 86] from Operation: 58+28=86 Current State: 81:[5, 86], Operations: ['90/18=5', '58+28=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[18, 58, 28, 90], Operations: [] Exploring Operation: 18+58=76, Resulting Numbers: [28, 90, 76] Generated Node #0,0: 81:[28, 90, 76] Operation: 18+58=76 Exploring Operation: 90-58=32, Resulting Numbers: [18, 28, 32] Generated Node #0,1: 81:[18, 28, 32] Operation: 90-58=32 Moving to Node #0,0 Current State: 81:[28, 90, 76], Operations: ['18+58=76'] Exploring Operation: 90-28=62, Resulting Numbers: [76, 62] Generated Node #0,0,0: 81:[76, 62] Operation: 90-28=62 Exploring Operation: 90-76=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 81:[28, 14] Operation: 90-76=14 Moving to Node #0,1 Current State: 81:[18, 28, 32], Operations: ['90-58=32'] Exploring Operation: 32-18=14, Resulting Numbers: [28, 14] Generated Node #0,1,0: 81:[28, 14] Operation: 32-18=14 Exploring Operation: 28-18=10, Resulting Numbers: [32, 10] Generated Node #0,1,1: 81:[32, 10] Operation: 28-18=10 Moving to Node #0,0,1 Current State: 81:[28, 14], Operations: ['18+58=76', '90-76=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[28, 14], Operations: ['90-58=32', '32-18=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[32, 10], Operations: ['90-58=32', '28-18=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[76, 62], Operations: ['18+58=76', '90-28=62'] Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,81 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 42, 40, 79, 83 ]
75
[ "42-40=2", "79*2=158", "158-83=75" ]
Current State: 75:[42, 40, 79, 83], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [79, 83, 2] Generated Node #2: [79, 83, 2] from Operation: 42-40=2 Current State: 75:[79, 83, 2], Operations: ['42-40=2'] Exploring Operation: 79*2=158, Resulting Numbers: [83, 158] Generated Node #3: [83, 158] from Operation: 79*2=158 Current State: 75:[83, 158], Operations: ['42-40=2', '79*2=158'] Exploring Operation: 158-83=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[42, 40, 79, 83], Operations: [] Exploring Operation: 79-42=37, Resulting Numbers: [40, 83, 37] Generated Node #0,0: 75:[40, 83, 37] Operation: 79-42=37 Exploring Operation: 83-79=4, Resulting Numbers: [42, 40, 4] Generated Node #0,1: 75:[42, 40, 4] Operation: 83-79=4 Exploring Operation: 42-40=2, Resulting Numbers: [79, 83, 2] Generated Node #0,2: 75:[79, 83, 2] Operation: 42-40=2 Exploring Operation: 42+40=82, Resulting Numbers: [79, 83, 82] Generated Node #0,3: 75:[79, 83, 82] Operation: 42+40=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[79, 83, 2], Operations: ['42-40=2'] Exploring Operation: 83-79=4, Resulting Numbers: [2, 4] Generated Node #0,2,0: 75:[2, 4] Operation: 83-79=4 Exploring Operation: 79-2=77, Resulting Numbers: [83, 77] Generated Node #0,2,1: 75:[83, 77] Operation: 79-2=77 Exploring Operation: 83-2=81, Resulting Numbers: [79, 81] Generated Node #0,2,2: 75:[79, 81] Operation: 83-2=81 Exploring Operation: 79+2=81, Resulting Numbers: [83, 81] Generated Node #0,2,3: 75:[83, 81] Operation: 79+2=81 Moving to Node #0,2,0 Current State: 75:[2, 4], Operations: ['42-40=2', '83-79=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[79, 81], Operations: ['42-40=2', '83-2=81'] Exploring Operation: 79+81=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 79*81=6399, Resulting Numbers: [6399] 6399,75 unequal: No Solution Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[83, 77], Operations: ['42-40=2', '79-2=77'] Exploring Operation: 83*77=6391, Resulting Numbers: [6391] 6391,75 unequal: No Solution Exploring Operation: 83+77=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[83, 81], Operations: ['42-40=2', '79+2=81'] Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,75 unequal: No Solution Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,75 unequal: No Solution No 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: 75:[79, 83, 82], Operations: ['42+40=82'] Exploring Operation: 79+83=162, Resulting Numbers: [82, 162] Generated Node #0,3,0: 75:[82, 162] Operation: 79+83=162 Exploring Operation: 83-82=1, Resulting Numbers: [79, 1] Generated Node #0,3,1: 75:[79, 1] Operation: 83-82=1 Exploring Operation: 83-79=4, Resulting Numbers: [82, 4] Generated Node #0,3,2: 75:[82, 4] Operation: 83-79=4 Exploring Operation: 82-79=3, Resulting Numbers: [83, 3] Generated Node #0,3,3: 75:[83, 3] Operation: 82-79=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[79, 1], Operations: ['42+40=82', '83-82=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,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,3,2 Current State: 75:[82, 4], Operations: ['42+40=82', '83-79=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,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,3,3 Current State: 75:[83, 3], Operations: ['42+40=82', '82-79=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,75 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,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,3,0 Current State: 75:[82, 162], Operations: ['42+40=82', '79+83=162'] Exploring Operation: 82+162=244, Resulting Numbers: [244] 244,75 unequal: No Solution Exploring Operation: 162-82=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 82*162=13284, Resulting Numbers: [13284] 13284,75 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: 75:[42, 40, 4], Operations: ['83-79=4'] Exploring Operation: 42-4=38, Resulting Numbers: [40, 38] Generated Node #0,1,0: 75:[40, 38] Operation: 42-4=38 Exploring Operation: 40/4=10, Resulting Numbers: [42, 10] Generated Node #0,1,1: 75:[42, 10] Operation: 40/4=10 Exploring Operation: 42-40=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 75:[4, 2] Operation: 42-40=2 Exploring Operation: 42+40=82, Resulting Numbers: [4, 82] Generated Node #0,1,3: 75:[4, 82] Operation: 42+40=82 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[4, 2], Operations: ['83-79=4', '42-40=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,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,1,3 Current State: 75:[4, 82], Operations: ['83-79=4', '42+40=82'] Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,75 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,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,1,1 Current State: 75:[42, 10], Operations: ['83-79=4', '40/4=10'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,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,1,0 Current State: 75:[40, 38], Operations: ['83-79=4', '42-4=38'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,75 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: 75:[40, 83, 37], Operations: ['79-42=37'] Exploring Operation: 40+37=77, Resulting Numbers: [83, 77] Generated Node #0,0,0: 75:[83, 77] Operation: 40+37=77 Exploring Operation: 83-40=43, Resulting Numbers: [37, 43] Generated Node #0,0,1: 75:[37, 43] Operation: 83-40=43 Exploring Operation: 83-37=46, Resulting Numbers: [40, 46] Generated Node #0,0,2: 75:[40, 46] Operation: 83-37=46 Exploring Operation: 40-37=3, Resulting Numbers: [83, 3] Generated Node #0,0,3: 75:[83, 3] Operation: 40-37=3 Moving to Node #0,0,3 Current State: 75:[83, 3], Operations: ['79-42=37', '40-37=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,75 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[83, 77], Operations: ['79-42=37', '40+37=77'] Exploring Operation: 83+77=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 83*77=6391, Resulting Numbers: [6391] 6391,75 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[37, 43], Operations: ['79-42=37', '83-40=43'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[40, 46], Operations: ['79-42=37', '83-37=46'] Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,75 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 37, 78, 3, 28 ]
39
[ "78-37=41", "41-28=13", "3*13=39" ]
Current State: 39:[37, 78, 3, 28], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [3, 28, 41] Generated Node #2: [3, 28, 41] from Operation: 78-37=41 Current State: 39:[3, 28, 41], Operations: ['78-37=41'] Exploring Operation: 41-28=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 41-28=13 Current State: 39:[3, 13], Operations: ['78-37=41', '41-28=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[37, 78, 3, 28], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [3, 28, 41] Generated Node #0,0: 39:[3, 28, 41] Operation: 78-37=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[3, 28, 41], Operations: ['78-37=41'] Exploring Operation: 41-28=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 41-28=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['78-37=41', '41-28=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[37, 78, 3, 28], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [3, 28, 41] Generated Node #0,0: 39:[3, 28, 41] Operation: 78-37=41 Moving to Node #0,0 Current State: 39:[3, 28, 41], Operations: ['78-37=41'] Exploring Operation: 41-28=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 41-28=13 Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['78-37=41', '41-28=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 80, 53, 20, 24 ]
81
[ "80/20=4", "53+24=77", "4+77=81" ]
Current State: 81:[80, 53, 20, 24], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [53, 24, 4] Generated Node #2: [53, 24, 4] from Operation: 80/20=4 Current State: 81:[53, 24, 4], Operations: ['80/20=4'] Exploring Operation: 53+24=77, Resulting Numbers: [4, 77] Generated Node #3: [4, 77] from Operation: 53+24=77 Current State: 81:[4, 77], Operations: ['80/20=4', '53+24=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[80, 53, 20, 24], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [20, 24, 27] Generated Node #0,0: 81:[20, 24, 27] Operation: 80-53=27 Exploring Operation: 53-20=33, Resulting Numbers: [80, 24, 33] Generated Node #0,1: 81:[80, 24, 33] Operation: 53-20=33 Exploring Operation: 53+20=73, Resulting Numbers: [80, 24, 73] Generated Node #0,2: 81:[80, 24, 73] Operation: 53+20=73 Exploring Operation: 53-24=29, Resulting Numbers: [80, 20, 29] Generated Node #0,3: 81:[80, 20, 29] Operation: 53-24=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[20, 24, 27], Operations: ['80-53=27'] Exploring Operation: 27-20=7, Resulting Numbers: [24, 7] Generated Node #0,0,0: 81:[24, 7] Operation: 27-20=7 Exploring Operation: 24-20=4, Resulting Numbers: [27, 4] Generated Node #0,0,1: 81:[27, 4] Operation: 24-20=4 Exploring Operation: 20+24=44, Resulting Numbers: [27, 44] Generated Node #0,0,2: 81:[27, 44] Operation: 20+24=44 Exploring Operation: 27-24=3, Resulting Numbers: [20, 3] Generated Node #0,0,3: 81:[20, 3] Operation: 27-24=3 Moving to Node #0,0,1 Current State: 81:[27, 4], Operations: ['80-53=27', '24-20=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,81 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[24, 7], Operations: ['80-53=27', '27-20=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[20, 3], Operations: ['80-53=27', '27-24=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[27, 44], Operations: ['80-53=27', '20+24=44'] Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,81 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,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:[80, 24, 33], Operations: ['53-20=33'] Exploring Operation: 80-33=47, Resulting Numbers: [24, 47] Generated Node #0,1,0: 81:[24, 47] Operation: 80-33=47 Exploring Operation: 80+24=104, Resulting Numbers: [33, 104] Generated Node #0,1,1: 81:[33, 104] Operation: 80+24=104 Exploring Operation: 24+33=57, Resulting Numbers: [80, 57] Generated Node #0,1,2: 81:[80, 57] Operation: 24+33=57 Exploring Operation: 33-24=9, Resulting Numbers: [80, 9] Generated Node #0,1,3: 81:[80, 9] Operation: 33-24=9 Moving to Node #0,1,3 Current State: 81:[80, 9], Operations: ['53-20=33', '33-24=9'] Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,81 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[24, 47], Operations: ['53-20=33', '80-33=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,81 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[80, 57], Operations: ['53-20=33', '24+33=57'] Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,81 unequal: No Solution Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,81 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[33, 104], Operations: ['53-20=33', '80+24=104'] Exploring Operation: 33*104=3432, Resulting Numbers: [3432] 3432,81 unequal: No Solution Exploring Operation: 104-33=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 33+104=137, Resulting Numbers: [137] 137,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,3 Current State: 81:[80, 20, 29], Operations: ['53-24=29'] Exploring Operation: 80-20=60, Resulting Numbers: [29, 60] Generated Node #0,3,0: 81:[29, 60] Operation: 80-20=60 Exploring Operation: 29-20=9, Resulting Numbers: [80, 9] Generated Node #0,3,1: 81:[80, 9] Operation: 29-20=9 Exploring Operation: 80/20=4, Resulting Numbers: [29, 4] Generated Node #0,3,2: 81:[29, 4] Operation: 80/20=4 Exploring Operation: 80+20=100, Resulting Numbers: [29, 100] Generated Node #0,3,3: 81:[29, 100] Operation: 80+20=100 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[80, 9], Operations: ['53-24=29', '29-20=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,81 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[29, 4], Operations: ['53-24=29', '80/20=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[29, 100], Operations: ['53-24=29', '80+20=100'] Exploring Operation: 100-29=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 29+100=129, Resulting Numbers: [129] 129,81 unequal: No Solution Exploring Operation: 29*100=2900, Resulting Numbers: [2900] 2900,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[29, 60], Operations: ['53-24=29', '80-20=60'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,81 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[80, 24, 73], Operations: ['53+20=73'] Exploring Operation: 80-73=7, Resulting Numbers: [24, 7] Generated Node #0,2,0: 81:[24, 7] Operation: 80-73=7 Exploring Operation: 24+73=97, Resulting Numbers: [80, 97] Generated Node #0,2,1: 81:[80, 97] Operation: 24+73=97 Exploring Operation: 73-24=49, Resulting Numbers: [80, 49] Generated Node #0,2,2: 81:[80, 49] Operation: 73-24=49 Exploring Operation: 80+24=104, Resulting Numbers: [73, 104] Generated Node #0,2,3: 81:[73, 104] Operation: 80+24=104 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[24, 7], Operations: ['53+20=73', '80-73=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[80, 97], Operations: ['53+20=73', '24+73=97'] Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,81 unequal: No Solution Exploring Operation: 80*97=7760, Resulting Numbers: [7760] 7760,81 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[80, 49], Operations: ['53+20=73', '73-24=49'] Exploring Operation: 80*49=3920, Resulting Numbers: [3920] 3920,81 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 80+49=129, Resulting Numbers: [129] 129,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[73, 104], Operations: ['53+20=73', '80+24=104'] Exploring Operation: 73+104=177, Resulting Numbers: [177] 177,81 unequal: No Solution Exploring Operation: 104-73=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 73*104=7592, Resulting Numbers: [7592] 7592,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 6, 87, 29, 26 ]
52
[ "6*29=174", "174/87=2", "26*2=52" ]
Current State: 52:[6, 87, 29, 26], Operations: [] Exploring Operation: 6*29=174, Resulting Numbers: [87, 26, 174] Generated Node #2: [87, 26, 174] from Operation: 6*29=174 Current State: 52:[87, 26, 174], Operations: ['6*29=174'] Exploring Operation: 174/87=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 174/87=2 Current State: 52:[26, 2], Operations: ['6*29=174', '174/87=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[6, 87, 29, 26], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [6, 26, 3] Generated Node #0,0: 52:[6, 26, 3] Operation: 87/29=3 Exploring Operation: 87-29=58, Resulting Numbers: [6, 26, 58] Generated Node #0,1: 52:[6, 26, 58] Operation: 87-29=58 Moving to Node #0,0 Current State: 52:[6, 26, 3], Operations: ['87/29=3'] Exploring Operation: 6-3=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 52:[26, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 52:[26, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[26, 2], Operations: ['87/29=3', '6/3=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[6, 87, 29, 26], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [6, 26, 3] Generated Node #0,0: 52:[6, 26, 3] Operation: 87/29=3 Moving to Node #0,0 Current State: 52:[6, 26, 3], Operations: ['87/29=3'] Exploring Operation: 6/3=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 52:[26, 2] Operation: 6/3=2 Moving to Node #0,0,1 Current State: 52:[26, 2], Operations: ['87/29=3', '6/3=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 31, 57, 97, 45 ]
36
[ "31+57=88", "97-45=52", "88-52=36" ]
Current State: 36:[31, 57, 97, 45], Operations: [] Exploring Operation: 31+57=88, Resulting Numbers: [97, 45, 88] Generated Node #2: [97, 45, 88] from Operation: 31+57=88 Current State: 36:[97, 45, 88], Operations: ['31+57=88'] Exploring Operation: 97-45=52, Resulting Numbers: [88, 52] Generated Node #3: [88, 52] from Operation: 97-45=52 Current State: 36:[88, 52], Operations: ['31+57=88', '97-45=52'] Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[31, 57, 97, 45], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [31, 45, 40] Generated Node #0,0: 36:[31, 45, 40] Operation: 97-57=40 Exploring Operation: 97-45=52, Resulting Numbers: [31, 57, 52] Generated Node #0,1: 36:[31, 57, 52] Operation: 97-45=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[31, 45, 40], Operations: ['97-57=40'] Exploring Operation: 45-31=14, Resulting Numbers: [40, 14] Generated Node #0,0,0: 36:[40, 14] Operation: 45-31=14 Exploring Operation: 45-40=5, Resulting Numbers: [31, 5] Generated Node #0,0,1: 36:[31, 5] Operation: 45-40=5 Moving to Node #0,0,0 Current State: 36:[40, 14], Operations: ['97-57=40', '45-31=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[31, 5], Operations: ['97-57=40', '45-40=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[31, 57, 97, 45], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [31, 45, 40] Generated Node #0,0: 36:[31, 45, 40] Operation: 97-57=40 Moving to Node #0,0 Current State: 36:[31, 45, 40], Operations: ['97-57=40'] Exploring Operation: 45-40=5, Resulting Numbers: [31, 5] Generated Node #0,0,1: 36:[31, 5] Operation: 45-40=5 Moving to Node #0,0,1 Current State: 36:[31, 5], Operations: ['97-57=40', '45-40=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 6, 52, 83, 1 ]
25
[ "6+52=58", "83*1=83", "83-58=25" ]
Current State: 25:[6, 52, 83, 1], Operations: [] Exploring Operation: 6+52=58, Resulting Numbers: [83, 1, 58] Generated Node #2: [83, 1, 58] from Operation: 6+52=58 Current State: 25:[83, 1, 58], Operations: ['6+52=58'] Exploring Operation: 83*1=83, Resulting Numbers: [58, 83] Generated Node #3: [58, 83] from Operation: 83*1=83 Current State: 25:[58, 83], Operations: ['6+52=58', '83*1=83'] Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[6, 52, 83, 1], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [52, 1, 77] Generated Node #0,0: 25:[52, 1, 77] Operation: 83-6=77 Exploring Operation: 83-52=31, Resulting Numbers: [6, 1, 31] Generated Node #0,1: 25:[6, 1, 31] Operation: 83-52=31 Exploring Operation: 52-1=51, Resulting Numbers: [6, 83, 51] Generated Node #0,2: 25:[6, 83, 51] Operation: 52-1=51 Exploring Operation: 6-1=5, Resulting Numbers: [52, 83, 5] Generated Node #0,3: 25:[52, 83, 5] Operation: 6-1=5 Exploring Operation: 52-6=46, Resulting Numbers: [83, 1, 46] Generated Node #0,4: 25:[83, 1, 46] Operation: 52-6=46 Moving to Node #0,1 Current State: 25:[6, 1, 31], Operations: ['83-52=31'] Exploring Operation: 6*1=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 25:[31, 6] Operation: 6*1=6 Exploring Operation: 31-1=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 25:[6, 30] Operation: 31-1=30 Exploring Operation: 6/1=6, Resulting Numbers: [31, 6] Generated Node #0,1,2: 25:[31, 6] Operation: 6/1=6 Exploring Operation: 31-6=25, Resulting Numbers: [1, 25] Generated Node #0,1,3: 25:[1, 25] Operation: 31-6=25 Exploring Operation: 6-1=5, Resulting Numbers: [31, 5] Generated Node #0,1,4: 25:[31, 5] Operation: 6-1=5 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[1, 25], Operations: ['83-52=31', '31-6=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[6, 52, 83, 1], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [6, 1, 31] Generated Node #0,1: 25:[6, 1, 31] Operation: 83-52=31 Moving to Node #0,1 Current State: 25:[6, 1, 31], Operations: ['83-52=31'] Exploring Operation: 31-6=25, Resulting Numbers: [1, 25] Generated Node #0,1,3: 25:[1, 25] Operation: 31-6=25 Moving to Node #0,1,3 Current State: 25:[1, 25], Operations: ['83-52=31', '31-6=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 34, 96, 80, 72 ]
46
[ "80-72=8", "96/8=12", "34+12=46" ]
Current State: 46:[34, 96, 80, 72], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [34, 96, 8] Generated Node #2: [34, 96, 8] from Operation: 80-72=8 Current State: 46:[34, 96, 8], Operations: ['80-72=8'] Exploring Operation: 96/8=12, Resulting Numbers: [34, 12] Generated Node #3: [34, 12] from Operation: 96/8=12 Current State: 46:[34, 12], Operations: ['80-72=8', '96/8=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[34, 96, 80, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [34, 80, 24] Generated Node #0,0: 46:[34, 80, 24] Operation: 96-72=24 Exploring Operation: 96-80=16, Resulting Numbers: [34, 72, 16] Generated Node #0,1: 46:[34, 72, 16] Operation: 96-80=16 Exploring Operation: 80-34=46, Resulting Numbers: [96, 72, 46] Generated Node #0,2: 46:[96, 72, 46] Operation: 80-34=46 Exploring Operation: 80-72=8, Resulting Numbers: [34, 96, 8] Generated Node #0,3: 46:[34, 96, 8] Operation: 80-72=8 Exploring Operation: 96-34=62, Resulting Numbers: [80, 72, 62] Generated Node #0,4: 46:[80, 72, 62] Operation: 96-34=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[34, 72, 16], Operations: ['96-80=16'] Exploring Operation: 34+16=50, Resulting Numbers: [72, 50] Generated Node #0,1,0: 46:[72, 50] Operation: 34+16=50 Exploring Operation: 72-34=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 46:[16, 38] Operation: 72-34=38 Exploring Operation: 34-16=18, Resulting Numbers: [72, 18] Generated Node #0,1,2: 46:[72, 18] Operation: 34-16=18 Exploring Operation: 72-16=56, Resulting Numbers: [34, 56] Generated Node #0,1,3: 46:[34, 56] Operation: 72-16=56 Exploring Operation: 72+16=88, Resulting Numbers: [34, 88] Generated Node #0,1,4: 46:[34, 88] Operation: 72+16=88 Moving to Node #0,1,1 Current State: 46:[16, 38], Operations: ['96-80=16', '72-34=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,46 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[34, 56], Operations: ['96-80=16', '72-16=56'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[72, 50], Operations: ['96-80=16', '34+16=50'] Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,46 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,46 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[72, 18], Operations: ['96-80=16', '34-16=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,46 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[34, 88], Operations: ['96-80=16', '72+16=88'] Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,46 unequal: No Solution Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,46 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[34, 80, 24], Operations: ['96-72=24'] Exploring Operation: 80-34=46, Resulting Numbers: [24, 46] Generated Node #0,0,0: 46:[24, 46] Operation: 80-34=46 Exploring Operation: 34+80=114, Resulting Numbers: [24, 114] Generated Node #0,0,1: 46:[24, 114] Operation: 34+80=114 Exploring Operation: 34+24=58, Resulting Numbers: [80, 58] Generated Node #0,0,2: 46:[80, 58] Operation: 34+24=58 Exploring Operation: 80-24=56, Resulting Numbers: [34, 56] Generated Node #0,0,3: 46:[34, 56] Operation: 80-24=56 Exploring Operation: 34-24=10, Resulting Numbers: [80, 10] Generated Node #0,0,4: 46:[80, 10] Operation: 34-24=10 Moving to Node #0,0,0 Current State: 46:[24, 46], Operations: ['96-72=24', '80-34=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,46 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[34, 56], Operations: ['96-72=24', '80-24=56'] Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,46 unequal: No Solution Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[80, 10], Operations: ['96-72=24', '34-24=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,46 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[80, 58], Operations: ['96-72=24', '34+24=58'] Exploring Operation: 80+58=138, Resulting Numbers: [138] 138,46 unequal: No Solution Exploring Operation: 80*58=4640, Resulting Numbers: [4640] 4640,46 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[24, 114], Operations: ['96-72=24', '34+80=114'] Exploring Operation: 24*114=2736, Resulting Numbers: [2736] 2736,46 unequal: No Solution Exploring Operation: 24+114=138, Resulting Numbers: [138] 138,46 unequal: No Solution Exploring Operation: 114-24=90, Resulting Numbers: [90] 90,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[34, 96, 8], Operations: ['80-72=8'] Exploring Operation: 96-34=62, Resulting Numbers: [8, 62] Generated Node #0,3,0: 46:[8, 62] Operation: 96-34=62 Exploring Operation: 96/8=12, Resulting Numbers: [34, 12] Generated Node #0,3,1: 46:[34, 12] Operation: 96/8=12 Exploring Operation: 34-8=26, Resulting Numbers: [96, 26] Generated Node #0,3,2: 46:[96, 26] Operation: 34-8=26 Exploring Operation: 34+8=42, Resulting Numbers: [96, 42] Generated Node #0,3,3: 46:[96, 42] Operation: 34+8=42 Exploring Operation: 96-8=88, Resulting Numbers: [34, 88] Generated Node #0,3,4: 46:[34, 88] Operation: 96-8=88 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[34, 12], Operations: ['80-72=8', '96/8=12'] Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,46 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[34, 96, 80, 72], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [34, 96, 8] Generated Node #0,3: 46:[34, 96, 8] Operation: 80-72=8 Moving to Node #0,3 Current State: 46:[34, 96, 8], Operations: ['80-72=8'] Exploring Operation: 96/8=12, Resulting Numbers: [34, 12] Generated Node #0,3,1: 46:[34, 12] Operation: 96/8=12 Moving to Node #0,3,1 Current State: 46:[34, 12], Operations: ['80-72=8', '96/8=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 58, 63, 47, 60 ]
65
[ "63-58=5", "60-47=13", "5*13=65" ]
Current State: 65:[58, 63, 47, 60], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [47, 60, 5] Generated Node #2: [47, 60, 5] from Operation: 63-58=5 Current State: 65:[47, 60, 5], Operations: ['63-58=5'] Exploring Operation: 60-47=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 60-47=13 Current State: 65:[5, 13], Operations: ['63-58=5', '60-47=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[58, 63, 47, 60], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [47, 60, 5] Generated Node #0,0: 65:[47, 60, 5] Operation: 63-58=5 Exploring Operation: 63-47=16, Resulting Numbers: [58, 60, 16] Generated Node #0,1: 65:[58, 60, 16] Operation: 63-47=16 Exploring Operation: 60-58=2, Resulting Numbers: [63, 47, 2] Generated Node #0,2: 65:[63, 47, 2] Operation: 60-58=2 Exploring Operation: 58-47=11, Resulting Numbers: [63, 60, 11] Generated Node #0,3: 65:[63, 60, 11] Operation: 58-47=11 Exploring Operation: 60-47=13, Resulting Numbers: [58, 63, 13] Generated Node #0,4: 65:[58, 63, 13] Operation: 60-47=13 Moving to Node #0,3 Current State: 65:[63, 60, 11], Operations: ['58-47=11'] Exploring Operation: 63-11=52, Resulting Numbers: [60, 52] Generated Node #0,3,0: 65:[60, 52] Operation: 63-11=52 Exploring Operation: 60-11=49, Resulting Numbers: [63, 49] Generated Node #0,3,1: 65:[63, 49] Operation: 60-11=49 Exploring Operation: 60+11=71, Resulting Numbers: [63, 71] Generated Node #0,3,2: 65:[63, 71] Operation: 60+11=71 Exploring Operation: 63+11=74, Resulting Numbers: [60, 74] Generated Node #0,3,3: 65:[60, 74] Operation: 63+11=74 Exploring Operation: 63-60=3, Resulting Numbers: [11, 3] Generated Node #0,3,4: 65:[11, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[11, 3], Operations: ['58-47=11', '63-60=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[63, 71], Operations: ['58-47=11', '60+11=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,65 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[60, 74], Operations: ['58-47=11', '63+11=74'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 60*74=4440, Resulting Numbers: [4440] 4440,65 unequal: No Solution Exploring Operation: 60+74=134, Resulting Numbers: [134] 134,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[60, 52], Operations: ['58-47=11', '63-11=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,65 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[63, 49], Operations: ['58-47=11', '60-11=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,65 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,65 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: 65:[58, 63, 13], Operations: ['60-47=13'] Exploring Operation: 63-13=50, Resulting Numbers: [58, 50] Generated Node #0,4,0: 65:[58, 50] Operation: 63-13=50 Exploring Operation: 58-13=45, Resulting Numbers: [63, 45] Generated Node #0,4,1: 65:[63, 45] Operation: 58-13=45 Exploring Operation: 63-58=5, Resulting Numbers: [13, 5] Generated Node #0,4,2: 65:[13, 5] Operation: 63-58=5 Exploring Operation: 58+13=71, Resulting Numbers: [63, 71] Generated Node #0,4,3: 65:[63, 71] Operation: 58+13=71 Exploring Operation: 63+13=76, Resulting Numbers: [58, 76] Generated Node #0,4,4: 65:[58, 76] Operation: 63+13=76 Moving to Node #0,1 Current State: 65:[58, 60, 16], Operations: ['63-47=16'] Exploring Operation: 58-16=42, Resulting Numbers: [60, 42] Generated Node #0,1,0: 65:[60, 42] Operation: 58-16=42 Exploring Operation: 60+16=76, Resulting Numbers: [58, 76] Generated Node #0,1,1: 65:[58, 76] Operation: 60+16=76 Exploring Operation: 58+16=74, Resulting Numbers: [60, 74] Generated Node #0,1,2: 65:[60, 74] Operation: 58+16=74 Exploring Operation: 60-16=44, Resulting Numbers: [58, 44] Generated Node #0,1,3: 65:[58, 44] Operation: 60-16=44 Exploring Operation: 60-58=2, Resulting Numbers: [16, 2] Generated Node #0,1,4: 65:[16, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 65:[16, 2], Operations: ['63-47=16', '60-58=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[60, 74], Operations: ['63-47=16', '58+16=74'] Exploring Operation: 60+74=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 60*74=4440, Resulting Numbers: [4440] 4440,65 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[58, 76], Operations: ['63-47=16', '60+16=76'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[60, 42], Operations: ['63-47=16', '58-16=42'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,65 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[58, 44], Operations: ['63-47=16', '60-16=44'] Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 58*44=2552, Resulting Numbers: [2552] 2552,65 unequal: No Solution Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,65 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: 65:[47, 60, 5], Operations: ['63-58=5'] Exploring Operation: 60+5=65, Resulting Numbers: [47, 65] Generated Node #0,0,0: 65:[47, 65] Operation: 60+5=65 Exploring Operation: 47+5=52, Resulting Numbers: [60, 52] Generated Node #0,0,1: 65:[60, 52] Operation: 47+5=52 Exploring Operation: 47-5=42, Resulting Numbers: [60, 42] Generated Node #0,0,2: 65:[60, 42] Operation: 47-5=42 Exploring Operation: 60/5=12, Resulting Numbers: [47, 12] Generated Node #0,0,3: 65:[47, 12] Operation: 60/5=12 Exploring Operation: 60-47=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 65:[5, 13] Operation: 60-47=13 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[5, 13], Operations: ['63-58=5', '60-47=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[58, 63, 47, 60], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [47, 60, 5] Generated Node #0,0: 65:[47, 60, 5] Operation: 63-58=5 Moving to Node #0,0 Current State: 65:[47, 60, 5], Operations: ['63-58=5'] Exploring Operation: 60-47=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 65:[5, 13] Operation: 60-47=13 Moving to Node #0,0,4 Current State: 65:[5, 13], Operations: ['63-58=5', '60-47=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 62, 90, 17, 49 ]
94
[ "90-62=28", "17+49=66", "28+66=94" ]
Current State: 94:[62, 90, 17, 49], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [17, 49, 28] Generated Node #2: [17, 49, 28] from Operation: 90-62=28 Current State: 94:[17, 49, 28], Operations: ['90-62=28'] Exploring Operation: 17+49=66, Resulting Numbers: [28, 66] Generated Node #3: [28, 66] from Operation: 17+49=66 Current State: 94:[28, 66], Operations: ['90-62=28', '17+49=66'] Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[62, 90, 17, 49], Operations: [] Exploring Operation: 62-17=45, Resulting Numbers: [90, 49, 45] Generated Node #0,0: 94:[90, 49, 45] Operation: 62-17=45 Exploring Operation: 62+17=79, Resulting Numbers: [90, 49, 79] Generated Node #0,1: 94:[90, 49, 79] Operation: 62+17=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[90, 49, 45], Operations: ['62-17=45'] Exploring Operation: 90/45=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 94:[49, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [49, 45] Generated Node #0,0,1: 94:[49, 45] Operation: 90-45=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[49, 2], Operations: ['62-17=45', '90/45=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[49, 45], Operations: ['62-17=45', '90-45=45'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[62, 90, 17, 49], Operations: [] Exploring Operation: 62-17=45, Resulting Numbers: [90, 49, 45] Generated Node #0,0: 94:[90, 49, 45] Operation: 62-17=45 Moving to Node #0,0 Current State: 94:[90, 49, 45], Operations: ['62-17=45'] Exploring Operation: 90-45=45, Resulting Numbers: [49, 45] Generated Node #0,0,1: 94:[49, 45] Operation: 90-45=45 Moving to Node #0,0,1 Current State: 94:[49, 45], Operations: ['62-17=45', '90-45=45'] Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 33, 69, 69, 69 ]
32
[ "33*69=2277", "2277-69=2208", "2208/69=32" ]
Current State: 32:[33, 69, 69, 69], Operations: [] Exploring Operation: 33*69=2277, Resulting Numbers: [2277] 2277,32 equal: Goal Reached Exploring Operation: 2277-69=2208, Resulting Numbers: [2208] 2208,32 equal: Goal Reached Exploring Operation: 2208/69=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[33, 69, 69, 69], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [33, 69, 1] Generated Node #0,0: 32:[33, 69, 1] Operation: 69/69=1 Exploring Operation: 69/69=1, Resulting Numbers: [33, 69, 1] Generated Node #0,1: 32:[33, 69, 1] Operation: 69/69=1 Exploring Operation: 69-69=0, Resulting Numbers: [33, 69, 0] Generated Node #0,2: 32:[33, 69, 0] Operation: 69-69=0 Exploring Operation: 69-69=0, Resulting Numbers: [33, 69, 0] Generated Node #0,3: 32:[33, 69, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [33, 69, 1] Generated Node #0,4: 32:[33, 69, 1] Operation: 69/69=1 Moving to Node #0,0 Current State: 32:[33, 69, 1], Operations: ['69/69=1'] Exploring Operation: 33-1=32, Resulting Numbers: [69, 32] Generated Node #0,0,0: 32:[69, 32] Operation: 33-1=32 Exploring Operation: 33*1=33, Resulting Numbers: [69, 33] Generated Node #0,0,1: 32:[69, 33] Operation: 33*1=33 Exploring Operation: 69-33=36, Resulting Numbers: [1, 36] Generated Node #0,0,2: 32:[1, 36] Operation: 69-33=36 Exploring Operation: 69-1=68, Resulting Numbers: [33, 68] Generated Node #0,0,3: 32:[33, 68] Operation: 69-1=68 Exploring Operation: 33/1=33, Resulting Numbers: [69, 33] Generated Node #0,0,4: 32:[69, 33] Operation: 33/1=33 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[1, 36], Operations: ['69/69=1', '69-33=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[69, 32], Operations: ['69/69=1', '33-1=32'] Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,32 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[33, 68], Operations: ['69/69=1', '69-1=68'] Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,32 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[69, 33], Operations: ['69/69=1', '33*1=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 32:[69, 33], Operations: ['69/69=1', '33/1=33'] Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 32:[33, 69, 1], Operations: ['69/69=1'] Exploring Operation: 33*1=33, Resulting Numbers: [69, 33] Generated Node #0,4,0: 32:[69, 33] Operation: 33*1=33 Exploring Operation: 69-33=36, Resulting Numbers: [1, 36] Generated Node #0,4,1: 32:[1, 36] Operation: 69-33=36 Exploring Operation: 33/1=33, Resulting Numbers: [69, 33] Generated Node #0,4,2: 32:[69, 33] Operation: 33/1=33 Exploring Operation: 69-1=68, Resulting Numbers: [33, 68] Generated Node #0,4,3: 32:[33, 68] Operation: 69-1=68 Exploring Operation: 33-1=32, Resulting Numbers: [69, 32] Generated Node #0,4,4: 32:[69, 32] Operation: 33-1=32 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[1, 36], Operations: ['69/69=1', '69-33=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[33, 68], Operations: ['69/69=1', '69-1=68'] Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,32 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,32 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[69, 32], Operations: ['69/69=1', '33-1=32'] Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,32 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,32 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[69, 33], Operations: ['69/69=1', '33*1=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[69, 33], Operations: ['69/69=1', '33/1=33'] Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 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: 32:[33, 69, 1], Operations: ['69/69=1'] Exploring Operation: 33/1=33, Resulting Numbers: [69, 33] Generated Node #0,1,0: 32:[69, 33] Operation: 33/1=33 Exploring Operation: 33-1=32, Resulting Numbers: [69, 32] Generated Node #0,1,1: 32:[69, 32] Operation: 33-1=32 Exploring Operation: 69-33=36, Resulting Numbers: [1, 36] Generated Node #0,1,2: 32:[1, 36] Operation: 69-33=36 Exploring Operation: 69-1=68, Resulting Numbers: [33, 68] Generated Node #0,1,3: 32:[33, 68] Operation: 69-1=68 Exploring Operation: 33*1=33, Resulting Numbers: [69, 33] Generated Node #0,1,4: 32:[69, 33] Operation: 33*1=33 Moving to Node #0,2 Current State: 32:[33, 69, 0], Operations: ['69-69=0'] Exploring Operation: 69+0=69, Resulting Numbers: [33, 69] Generated Node #0,2,0: 32:[33, 69] Operation: 69+0=69 Exploring Operation: 33+0=33, Resulting Numbers: [69, 33] Generated Node #0,2,1: 32:[69, 33] Operation: 33+0=33 Exploring Operation: 33-0=33, Resulting Numbers: [69, 33] Generated Node #0,2,2: 32:[69, 33] Operation: 33-0=33 Exploring Operation: 69-33=36, Resulting Numbers: [0, 36] Generated Node #0,2,3: 32:[0, 36] Operation: 69-33=36 Exploring Operation: 69*0=0, Resulting Numbers: [33, 0] Generated Node #0,2,4: 32:[33, 0] Operation: 69*0=0 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[33, 0], Operations: ['69-69=0', '69*0=0'] Exploring Operation: 33-0=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 33*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[0, 36], Operations: ['69-69=0', '69-33=36'] Exploring Operation: 0*36=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 0+36=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[33, 69], Operations: ['69-69=0', '69+0=69'] Exploring Operation: 33*69=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 33+69=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[69, 33], Operations: ['69-69=0', '33+0=33'] Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[69, 33], Operations: ['69-69=0', '33-0=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 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: 32:[33, 69, 0], Operations: ['69-69=0'] Exploring Operation: 33-0=33, Resulting Numbers: [69, 33] Generated Node #0,3,0: 32:[69, 33] Operation: 33-0=33 Exploring Operation: 69+0=69, Resulting Numbers: [33, 69] Generated Node #0,3,1: 32:[33, 69] Operation: 69+0=69 Exploring Operation: 33+0=33, Resulting Numbers: [69, 33] Generated Node #0,3,2: 32:[69, 33] Operation: 33+0=33 Exploring Operation: 69*0=0, Resulting Numbers: [33, 0] Generated Node #0,3,3: 32:[33, 0] Operation: 69*0=0 Exploring Operation: 69-33=36, Resulting Numbers: [0, 36] Generated Node #0,3,4: 32:[0, 36] Operation: 69-33=36 Moving to Node #0,3,3 Current State: 32:[33, 0], Operations: ['69-69=0', '69*0=0'] Exploring Operation: 33*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 33-0=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[1, 36], Operations: ['69/69=1', '69-33=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[0, 36], Operations: ['69-69=0', '69-33=36'] Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 0*36=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 0+36=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[33, 68], Operations: ['69/69=1', '69-1=68'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,32 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[69, 32], Operations: ['69/69=1', '33-1=32'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,32 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[69, 33], Operations: ['69-69=0', '33+0=33'] Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[33, 69], Operations: ['69-69=0', '69+0=69'] Exploring Operation: 33+69=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 33*69=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[69, 33], Operations: ['69-69=0', '33-0=33'] Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[69, 33], Operations: ['69/69=1', '33*1=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[69, 33], Operations: ['69/69=1', '33/1=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,32 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 25, 30, 42, 45 ]
15
[ "30-25=5", "45-42=3", "5*3=15" ]
Current State: 15:[25, 30, 42, 45], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [42, 45, 5] Generated Node #2: [42, 45, 5] from Operation: 30-25=5 Current State: 15:[42, 45, 5], Operations: ['30-25=5'] Exploring Operation: 45-42=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 45-42=3 Current State: 15:[5, 3], Operations: ['30-25=5', '45-42=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[25, 30, 42, 45], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [25, 42, 15] Generated Node #0,0: 15:[25, 42, 15] Operation: 45-30=15 Exploring Operation: 45-25=20, Resulting Numbers: [30, 42, 20] Generated Node #0,1: 15:[30, 42, 20] Operation: 45-25=20 Exploring Operation: 45-42=3, Resulting Numbers: [25, 30, 3] Generated Node #0,2: 15:[25, 30, 3] Operation: 45-42=3 Exploring Operation: 42-25=17, Resulting Numbers: [30, 45, 17] Generated Node #0,3: 15:[30, 45, 17] Operation: 42-25=17 Exploring Operation: 42-30=12, Resulting Numbers: [25, 45, 12] Generated Node #0,4: 15:[25, 45, 12] Operation: 42-30=12 Moving to Node #0,2 Current State: 15:[25, 30, 3], Operations: ['45-42=3'] Exploring Operation: 30-3=27, Resulting Numbers: [25, 27] Generated Node #0,2,0: 15:[25, 27] Operation: 30-3=27 Exploring Operation: 30-25=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 15:[3, 5] Operation: 30-25=5 Exploring Operation: 25-3=22, Resulting Numbers: [30, 22] Generated Node #0,2,2: 15:[30, 22] Operation: 25-3=22 Exploring Operation: 25+3=28, Resulting Numbers: [30, 28] Generated Node #0,2,3: 15:[30, 28] Operation: 25+3=28 Exploring Operation: 30/3=10, Resulting Numbers: [25, 10] Generated Node #0,2,4: 15:[25, 10] Operation: 30/3=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[3, 5], Operations: ['45-42=3', '30-25=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[25, 30, 42, 45], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [25, 30, 3] Generated Node #0,2: 15:[25, 30, 3] Operation: 45-42=3 Moving to Node #0,2 Current State: 15:[25, 30, 3], Operations: ['45-42=3'] Exploring Operation: 30-25=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 15:[3, 5] Operation: 30-25=5 Moving to Node #0,2,1 Current State: 15:[3, 5], Operations: ['45-42=3', '30-25=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 74, 14, 43, 82 ]
99
[ "74-14=60", "82-43=39", "60+39=99" ]
Current State: 99:[74, 14, 43, 82], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [43, 82, 60] Generated Node #2: [43, 82, 60] from Operation: 74-14=60 Current State: 99:[43, 82, 60], Operations: ['74-14=60'] Exploring Operation: 82-43=39, Resulting Numbers: [60, 39] Generated Node #3: [60, 39] from Operation: 82-43=39 Current State: 99:[60, 39], Operations: ['74-14=60', '82-43=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[74, 14, 43, 82], Operations: [] Exploring Operation: 74-43=31, Resulting Numbers: [14, 82, 31] Generated Node #0,0: 99:[14, 82, 31] Operation: 74-43=31 Exploring Operation: 82-74=8, Resulting Numbers: [14, 43, 8] Generated Node #0,1: 99:[14, 43, 8] Operation: 82-74=8 Exploring Operation: 82-43=39, Resulting Numbers: [74, 14, 39] Generated Node #0,2: 99:[74, 14, 39] Operation: 82-43=39 Exploring Operation: 74+14=88, Resulting Numbers: [43, 82, 88] Generated Node #0,3: 99:[43, 82, 88] Operation: 74+14=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[14, 43, 8], Operations: ['82-74=8'] Exploring Operation: 14+8=22, Resulting Numbers: [43, 22] Generated Node #0,1,0: 99:[43, 22] Operation: 14+8=22 Exploring Operation: 43-8=35, Resulting Numbers: [14, 35] Generated Node #0,1,1: 99:[14, 35] Operation: 43-8=35 Exploring Operation: 14-8=6, Resulting Numbers: [43, 6] Generated Node #0,1,2: 99:[43, 6] Operation: 14-8=6 Exploring Operation: 43-14=29, Resulting Numbers: [8, 29] Generated Node #0,1,3: 99:[8, 29] Operation: 43-14=29 Moving to Node #0,1,1 Current State: 99:[14, 35], Operations: ['82-74=8', '43-8=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[8, 29], Operations: ['82-74=8', '43-14=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[43, 6], Operations: ['82-74=8', '14-8=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,99 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[43, 22], Operations: ['82-74=8', '14+8=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,99 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[14, 82, 31], Operations: ['74-43=31'] Exploring Operation: 14+82=96, Resulting Numbers: [31, 96] Generated Node #0,0,0: 99:[31, 96] Operation: 14+82=96 Exploring Operation: 82+31=113, Resulting Numbers: [14, 113] Generated Node #0,0,1: 99:[14, 113] Operation: 82+31=113 Exploring Operation: 82-31=51, Resulting Numbers: [14, 51] Generated Node #0,0,2: 99:[14, 51] Operation: 82-31=51 Exploring Operation: 31-14=17, Resulting Numbers: [82, 17] Generated Node #0,0,3: 99:[82, 17] Operation: 31-14=17 Moving to Node #0,0,0 Current State: 99:[31, 96], Operations: ['74-43=31', '14+82=96'] Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,99 unequal: No Solution Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,99 unequal: No Solution Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[14, 113], Operations: ['74-43=31', '82+31=113'] Exploring Operation: 113-14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[74, 14, 43, 82], Operations: [] Exploring Operation: 74-43=31, Resulting Numbers: [14, 82, 31] Generated Node #0,0: 99:[14, 82, 31] Operation: 74-43=31 Moving to Node #0,0 Current State: 99:[14, 82, 31], Operations: ['74-43=31'] Exploring Operation: 82+31=113, Resulting Numbers: [14, 113] Generated Node #0,0,1: 99:[14, 113] Operation: 82+31=113 Moving to Node #0,0,1 Current State: 99:[14, 113], Operations: ['74-43=31', '82+31=113'] Exploring Operation: 113-14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 67, 5, 60, 2 ]
29
[ "67-5=62", "62/2=31", "60-31=29" ]
Current State: 29:[67, 5, 60, 2], Operations: [] Exploring Operation: 67-5=62, Resulting Numbers: [60, 2, 62] Generated Node #2: [60, 2, 62] from Operation: 67-5=62 Current State: 29:[60, 2, 62], Operations: ['67-5=62'] Exploring Operation: 62/2=31, Resulting Numbers: [60, 31] Generated Node #3: [60, 31] from Operation: 62/2=31 Current State: 29:[60, 31], Operations: ['67-5=62', '62/2=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[67, 5, 60, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [67, 60, 10] Generated Node #0,0: 29:[67, 60, 10] Operation: 5*2=10 Exploring Operation: 60/2=30, Resulting Numbers: [67, 5, 30] Generated Node #0,1: 29:[67, 5, 30] Operation: 60/2=30 Exploring Operation: 67-60=7, Resulting Numbers: [5, 2, 7] Generated Node #0,2: 29:[5, 2, 7] Operation: 67-60=7 Exploring Operation: 60/5=12, Resulting Numbers: [67, 2, 12] Generated Node #0,3: 29:[67, 2, 12] Operation: 60/5=12 Exploring Operation: 67-5=62, Resulting Numbers: [60, 2, 62] Generated Node #0,4: 29:[60, 2, 62] Operation: 67-5=62 Moving to Node #0,1 Current State: 29:[67, 5, 30], Operations: ['60/2=30'] Exploring Operation: 67-30=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 29:[5, 37] Operation: 67-30=37 Exploring Operation: 67+5=72, Resulting Numbers: [30, 72] Generated Node #0,1,1: 29:[30, 72] Operation: 67+5=72 Exploring Operation: 5+30=35, Resulting Numbers: [67, 35] Generated Node #0,1,2: 29:[67, 35] Operation: 5+30=35 Exploring Operation: 30-5=25, Resulting Numbers: [67, 25] Generated Node #0,1,3: 29:[67, 25] Operation: 30-5=25 Exploring Operation: 67-5=62, Resulting Numbers: [30, 62] Generated Node #0,1,4: 29:[30, 62] Operation: 67-5=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[5, 37], Operations: ['60/2=30', '67-30=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,29 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[30, 62], Operations: ['60/2=30', '67-5=62'] Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 30*62=1860, Resulting Numbers: [1860] 1860,29 unequal: No Solution Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[67, 25], Operations: ['60/2=30', '30-5=25'] Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 67*25=1675, Resulting Numbers: [1675] 1675,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[30, 72], Operations: ['60/2=30', '67+5=72'] Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[67, 35], Operations: ['60/2=30', '5+30=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,29 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 29:[5, 2, 7], Operations: ['67-60=7'] Exploring Operation: 2*7=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 29:[5, 14] Operation: 2*7=14 Exploring Operation: 5+2=7, Resulting Numbers: [7, 7] Generated Node #0,2,1: 29:[7, 7] Operation: 5+2=7 Exploring Operation: 5*2=10, Resulting Numbers: [7, 10] Generated Node #0,2,2: 29:[7, 10] Operation: 5*2=10 Exploring Operation: 5*7=35, Resulting Numbers: [2, 35] Generated Node #0,2,3: 29:[2, 35] Operation: 5*7=35 Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #0,2,4: 29:[2, 12] Operation: 5+7=12 Moving to Node #0,3 Current State: 29:[67, 2, 12], Operations: ['60/5=12'] Exploring Operation: 67-12=55, Resulting Numbers: [2, 55] Generated Node #0,3,0: 29:[2, 55] Operation: 67-12=55 Exploring Operation: 2*12=24, Resulting Numbers: [67, 24] Generated Node #0,3,1: 29:[67, 24] Operation: 2*12=24 Exploring Operation: 67+2=69, Resulting Numbers: [12, 69] Generated Node #0,3,2: 29:[12, 69] Operation: 67+2=69 Exploring Operation: 67-2=65, Resulting Numbers: [12, 65] Generated Node #0,3,3: 29:[12, 65] Operation: 67-2=65 Exploring Operation: 2+12=14, Resulting Numbers: [67, 14] Generated Node #0,3,4: 29:[67, 14] Operation: 2+12=14 Moving to Node #0,0 Current State: 29:[67, 60, 10], Operations: ['5*2=10'] Exploring Operation: 67+10=77, Resulting Numbers: [60, 77] Generated Node #0,0,0: 29:[60, 77] Operation: 67+10=77 Exploring Operation: 67-60=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 29:[10, 7] Operation: 67-60=7 Exploring Operation: 60/10=6, Resulting Numbers: [67, 6] Generated Node #0,0,2: 29:[67, 6] Operation: 60/10=6 Exploring Operation: 67-10=57, Resulting Numbers: [60, 57] Generated Node #0,0,3: 29:[60, 57] Operation: 67-10=57 Exploring Operation: 60-10=50, Resulting Numbers: [67, 50] Generated Node #0,0,4: 29:[67, 50] Operation: 60-10=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[10, 7], Operations: ['5*2=10', '67-60=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[60, 57], Operations: ['5*2=10', '67-10=57'] Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,29 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 29:[67, 50], Operations: ['5*2=10', '60-10=50'] Exploring Operation: 67*50=3350, Resulting Numbers: [3350] 3350,29 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,29 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[67, 6], Operations: ['5*2=10', '60/10=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[60, 77], Operations: ['5*2=10', '67+10=77'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,29 unequal: No Solution Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,29 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: 29:[60, 2, 62], Operations: ['67-5=62'] Exploring Operation: 62/2=31, Resulting Numbers: [60, 31] Generated Node #0,4,0: 29:[60, 31] Operation: 62/2=31 Exploring Operation: 60/2=30, Resulting Numbers: [62, 30] Generated Node #0,4,1: 29:[62, 30] Operation: 60/2=30 Exploring Operation: 62-2=60, Resulting Numbers: [60, 60] Generated Node #0,4,2: 29:[60, 60] Operation: 62-2=60 Exploring Operation: 60-2=58, Resulting Numbers: [62, 58] Generated Node #0,4,3: 29:[62, 58] Operation: 60-2=58 Exploring Operation: 62-60=2, Resulting Numbers: [2, 2] Generated Node #0,4,4: 29:[2, 2] Operation: 62-60=2 Moving to Node #0,2,3 Current State: 29:[2, 35], Operations: ['67-60=7', '5*7=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[60, 31], Operations: ['67-5=62', '62/2=31'] Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,29 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,29 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[67, 5, 60, 2], Operations: [] Exploring Operation: 67-5=62, Resulting Numbers: [60, 2, 62] Generated Node #0,4: 29:[60, 2, 62] Operation: 67-5=62 Moving to Node #0,4 Current State: 29:[60, 2, 62], Operations: ['67-5=62'] Exploring Operation: 62/2=31, Resulting Numbers: [60, 31] Generated Node #0,4,0: 29:[60, 31] Operation: 62/2=31 Moving to Node #0,4,0 Current State: 29:[60, 31], Operations: ['67-5=62', '62/2=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.939236
hs_5
mult_heuristic
[ 6, 57, 6, 60 ]
67
[ "6*57=342", "60+342=402", "402/6=67" ]
Current State: 67:[6, 57, 6, 60], Operations: [] Exploring Operation: 6*57=342, Resulting Numbers: [60, 342] Generated Node #2: [60, 342] from Operation: 6*57=342 Current State: 67:[60, 342], Operations: ['6*57=342'] Exploring Operation: 60+342=402, Resulting Numbers: [402] 402,67 equal: Goal Reached Exploring Operation: 402/6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[6, 57, 6, 60], Operations: [] Exploring Operation: 6+60=66, Resulting Numbers: [57, 6, 66] Generated Node #0,0: 67:[57, 6, 66] Operation: 6+60=66 Exploring Operation: 6+57=63, Resulting Numbers: [6, 60, 63] Generated Node #0,1: 67:[6, 60, 63] Operation: 6+57=63 Exploring Operation: 6*6=36, Resulting Numbers: [57, 60, 36] Generated Node #0,2: 67:[57, 60, 36] Operation: 6*6=36 Exploring Operation: 6+6=12, Resulting Numbers: [57, 60, 12] Generated Node #0,3: 67:[57, 60, 12] Operation: 6+6=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[57, 60, 36], Operations: ['6*6=36'] Exploring Operation: 57+36=93, Resulting Numbers: [60, 93] Generated Node #0,2,0: 67:[60, 93] Operation: 57+36=93 Exploring Operation: 60-36=24, Resulting Numbers: [57, 24] Generated Node #0,2,1: 67:[57, 24] Operation: 60-36=24 Exploring Operation: 57-36=21, Resulting Numbers: [60, 21] Generated Node #0,2,2: 67:[60, 21] Operation: 57-36=21 Exploring Operation: 60+36=96, Resulting Numbers: [57, 96] Generated Node #0,2,3: 67:[57, 96] Operation: 60+36=96 Moving to Node #0,2,0 Current State: 67:[60, 93], Operations: ['6*6=36', '57+36=93'] Exploring Operation: 60+93=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 60*93=5580, Resulting Numbers: [5580] 5580,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[57, 96], Operations: ['6*6=36', '60+36=96'] Exploring Operation: 57*96=5472, Resulting Numbers: [5472] 5472,67 unequal: No Solution Exploring Operation: 57+96=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[60, 21], Operations: ['6*6=36', '57-36=21'] Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,67 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[57, 24], Operations: ['6*6=36', '60-36=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[57, 6, 66], Operations: ['6+60=66'] Exploring Operation: 57-6=51, Resulting Numbers: [66, 51] Generated Node #0,0,0: 67:[66, 51] Operation: 57-6=51 Exploring Operation: 6+66=72, Resulting Numbers: [57, 72] Generated Node #0,0,1: 67:[57, 72] Operation: 6+66=72 Exploring Operation: 57+6=63, Resulting Numbers: [66, 63] Generated Node #0,0,2: 67:[66, 63] Operation: 57+6=63 Exploring Operation: 66-6=60, Resulting Numbers: [57, 60] Generated Node #0,0,3: 67:[57, 60] Operation: 66-6=60 Moving to Node #0,0,2 Current State: 67:[66, 63], Operations: ['6+60=66', '57+6=63'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 66*63=4158, Resulting Numbers: [4158] 4158,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[57, 72], Operations: ['6+60=66', '6+66=72'] Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,67 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[57, 60], Operations: ['6+60=66', '66-6=60'] Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 57*60=3420, Resulting Numbers: [3420] 3420,67 unequal: No Solution Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[66, 51], Operations: ['6+60=66', '57-6=51'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[6, 60, 63], Operations: ['6+57=63'] Exploring Operation: 6+63=69, Resulting Numbers: [60, 69] Generated Node #0,1,0: 67:[60, 69] Operation: 6+63=69 Exploring Operation: 6+60=66, Resulting Numbers: [63, 66] Generated Node #0,1,1: 67:[63, 66] Operation: 6+60=66 Exploring Operation: 63-6=57, Resulting Numbers: [60, 57] Generated Node #0,1,2: 67:[60, 57] Operation: 63-6=57 Exploring Operation: 60-6=54, Resulting Numbers: [63, 54] Generated Node #0,1,3: 67:[63, 54] Operation: 60-6=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[63, 66], Operations: ['6+57=63', '6+60=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,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,0 Current State: 67:[60, 69], Operations: ['6+57=63', '6+63=69'] Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,67 unequal: No Solution Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,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,2 Current State: 67:[60, 57], Operations: ['6+57=63', '63-6=57'] Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,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,3 Current State: 67:[63, 54], Operations: ['6+57=63', '60-6=54'] Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,67 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,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,3 Current State: 67:[57, 60, 12], Operations: ['6+6=12'] Exploring Operation: 57+12=69, Resulting Numbers: [60, 69] Generated Node #0,3,0: 67:[60, 69] Operation: 57+12=69 Exploring Operation: 60+12=72, Resulting Numbers: [57, 72] Generated Node #0,3,1: 67:[57, 72] Operation: 60+12=72 Exploring Operation: 57-12=45, Resulting Numbers: [60, 45] Generated Node #0,3,2: 67:[60, 45] Operation: 57-12=45 Exploring Operation: 60-12=48, Resulting Numbers: [57, 48] Generated Node #0,3,3: 67:[57, 48] Operation: 60-12=48 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[60, 69], Operations: ['6+6=12', '57+12=69'] Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,67 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,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,3,1 Current State: 67:[57, 72], Operations: ['6+6=12', '60+12=72'] Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,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,3,2 Current State: 67:[60, 45], Operations: ['6+6=12', '57-12=45'] Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,67 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,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,3,3 Current State: 67:[57, 48], Operations: ['6+6=12', '60-12=48'] Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,67 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,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_4
sum_heuristic
[ 49, 10, 82, 15 ]
58
[ "49-10=39", "82+15=97", "97-39=58" ]
Current State: 58:[49, 10, 82, 15], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [82, 15, 39] Generated Node #2: [82, 15, 39] from Operation: 49-10=39 Current State: 58:[82, 15, 39], Operations: ['49-10=39'] Exploring Operation: 82+15=97, Resulting Numbers: [39, 97] Generated Node #3: [39, 97] from Operation: 82+15=97 Current State: 58:[39, 97], Operations: ['49-10=39', '82+15=97'] Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[49, 10, 82, 15], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [10, 15, 33] Generated Node #0,0: 58:[10, 15, 33] Operation: 82-49=33 Exploring Operation: 82-10=72, Resulting Numbers: [49, 15, 72] Generated Node #0,1: 58:[49, 15, 72] Operation: 82-10=72 Exploring Operation: 82-15=67, Resulting Numbers: [49, 10, 67] Generated Node #0,2: 58:[49, 10, 67] Operation: 82-15=67 Moving to Node #0,0 Current State: 58:[10, 15, 33], Operations: ['82-49=33'] Exploring Operation: 15+33=48, Resulting Numbers: [10, 48] Generated Node #0,0,0: 58:[10, 48] Operation: 15+33=48 Exploring Operation: 15-10=5, Resulting Numbers: [33, 5] Generated Node #0,0,1: 58:[33, 5] Operation: 15-10=5 Exploring Operation: 10+15=25, Resulting Numbers: [33, 25] Generated Node #0,0,2: 58:[33, 25] Operation: 10+15=25 Moving to Node #0,2 Current State: 58:[49, 10, 67], Operations: ['82-15=67'] Exploring Operation: 49+10=59, Resulting Numbers: [67, 59] Generated Node #0,2,0: 58:[67, 59] Operation: 49+10=59 Exploring Operation: 67-10=57, Resulting Numbers: [49, 57] Generated Node #0,2,1: 58:[49, 57] Operation: 67-10=57 Exploring Operation: 49-10=39, Resulting Numbers: [67, 39] Generated Node #0,2,2: 58:[67, 39] Operation: 49-10=39 Moving to Node #0,1 Current State: 58:[49, 15, 72], Operations: ['82-10=72'] Exploring Operation: 72-49=23, Resulting Numbers: [15, 23] Generated Node #0,1,0: 58:[15, 23] Operation: 72-49=23 Exploring Operation: 72-15=57, Resulting Numbers: [49, 57] Generated Node #0,1,1: 58:[49, 57] Operation: 72-15=57 Exploring Operation: 49-15=34, Resulting Numbers: [72, 34] Generated Node #0,1,2: 58:[72, 34] Operation: 49-15=34 Moving to Node #0,0,1 Current State: 58:[33, 5], Operations: ['82-49=33', '15-10=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,58 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[33, 25], Operations: ['82-49=33', '10+15=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,58 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[49, 10, 82, 15], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [10, 15, 33] Generated Node #0,0: 58:[10, 15, 33] Operation: 82-49=33 Moving to Node #0,0 Current State: 58:[10, 15, 33], Operations: ['82-49=33'] Exploring Operation: 10+15=25, Resulting Numbers: [33, 25] Generated Node #0,0,2: 58:[33, 25] Operation: 10+15=25 Moving to Node #0,0,2 Current State: 58:[33, 25], Operations: ['82-49=33', '10+15=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 48, 96, 95, 54 ]
68
[ "96/48=2", "54/2=27", "95-27=68" ]
Current State: 68:[48, 96, 95, 54], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [95, 54, 2] Generated Node #2: [95, 54, 2] from Operation: 96/48=2 Current State: 68:[95, 54, 2], Operations: ['96/48=2'] Exploring Operation: 54/2=27, Resulting Numbers: [95, 27] Generated Node #3: [95, 27] from Operation: 54/2=27 Current State: 68:[95, 27], Operations: ['96/48=2', '54/2=27'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[48, 96, 95, 54], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [48, 54, 1] Generated Node #0,0: 68:[48, 54, 1] Operation: 96-95=1 Exploring Operation: 96/48=2, Resulting Numbers: [95, 54, 2] Generated Node #0,1: 68:[95, 54, 2] Operation: 96/48=2 Exploring Operation: 96-54=42, Resulting Numbers: [48, 95, 42] Generated Node #0,2: 68:[48, 95, 42] Operation: 96-54=42 Exploring Operation: 95-54=41, Resulting Numbers: [48, 96, 41] Generated Node #0,3: 68:[48, 96, 41] Operation: 95-54=41 Moving to Node #0,0 Current State: 68:[48, 54, 1], Operations: ['96-95=1'] Exploring Operation: 48-1=47, Resulting Numbers: [54, 47] Generated Node #0,0,0: 68:[54, 47] Operation: 48-1=47 Exploring Operation: 54+1=55, Resulting Numbers: [48, 55] Generated Node #0,0,1: 68:[48, 55] Operation: 54+1=55 Exploring Operation: 54-48=6, Resulting Numbers: [1, 6] Generated Node #0,0,2: 68:[1, 6] Operation: 54-48=6 Exploring Operation: 48*1=48, Resulting Numbers: [54, 48] Generated Node #0,0,3: 68:[54, 48] Operation: 48*1=48 Moving to Node #0,1 Current State: 68:[95, 54, 2], Operations: ['96/48=2'] Exploring Operation: 95-54=41, Resulting Numbers: [2, 41] Generated Node #0,1,0: 68:[2, 41] Operation: 95-54=41 Exploring Operation: 54/2=27, Resulting Numbers: [95, 27] Generated Node #0,1,1: 68:[95, 27] Operation: 54/2=27 Exploring Operation: 54+2=56, Resulting Numbers: [95, 56] Generated Node #0,1,2: 68:[95, 56] Operation: 54+2=56 Exploring Operation: 95-2=93, Resulting Numbers: [54, 93] Generated Node #0,1,3: 68:[54, 93] Operation: 95-2=93 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[2, 41], Operations: ['96/48=2', '95-54=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,68 unequal: No Solution No 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: 68:[95, 27], Operations: ['96/48=2', '54/2=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,68 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[48, 96, 95, 54], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [95, 54, 2] Generated Node #0,1: 68:[95, 54, 2] Operation: 96/48=2 Moving to Node #0,1 Current State: 68:[95, 54, 2], Operations: ['96/48=2'] Exploring Operation: 54/2=27, Resulting Numbers: [95, 27] Generated Node #0,1,1: 68:[95, 27] Operation: 54/2=27 Moving to Node #0,1,1 Current State: 68:[95, 27], Operations: ['96/48=2', '54/2=27'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 94, 14, 92, 23 ]
20
[ "94-14=80", "92/23=4", "80/4=20" ]
Current State: 20:[94, 14, 92, 23], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [92, 23, 80] Generated Node #2: [92, 23, 80] from Operation: 94-14=80 Current State: 20:[92, 23, 80], Operations: ['94-14=80'] Exploring Operation: 92/23=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 92/23=4 Current State: 20:[80, 4], Operations: ['94-14=80', '92/23=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[94, 14, 92, 23], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [94, 14, 4] Generated Node #0,0: 20:[94, 14, 4] Operation: 92/23=4 Exploring Operation: 94-92=2, Resulting Numbers: [14, 23, 2] Generated Node #0,1: 20:[14, 23, 2] Operation: 94-92=2 Moving to Node #0,1 Current State: 20:[14, 23, 2], Operations: ['94-92=2'] Exploring Operation: 23-14=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 20:[2, 9] Operation: 23-14=9 Exploring Operation: 14-2=12, Resulting Numbers: [23, 12] Generated Node #0,1,1: 20:[23, 12] Operation: 14-2=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[2, 9], Operations: ['94-92=2', '23-14=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[23, 12], Operations: ['94-92=2', '14-2=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,20 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: 20:[94, 14, 4], Operations: ['92/23=4'] Exploring Operation: 94-14=80, Resulting Numbers: [4, 80] Generated Node #0,0,0: 20:[4, 80] Operation: 94-14=80 Exploring Operation: 94-4=90, Resulting Numbers: [14, 90] Generated Node #0,0,1: 20:[14, 90] Operation: 94-4=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[4, 80], Operations: ['92/23=4', '94-14=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[94, 14, 92, 23], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [94, 14, 4] Generated Node #0,0: 20:[94, 14, 4] Operation: 92/23=4 Moving to Node #0,0 Current State: 20:[94, 14, 4], Operations: ['92/23=4'] Exploring Operation: 94-14=80, Resulting Numbers: [4, 80] Generated Node #0,0,0: 20:[4, 80] Operation: 94-14=80 Moving to Node #0,0,0 Current State: 20:[4, 80], Operations: ['92/23=4', '94-14=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 85, 78, 95, 18 ]
68
[ "85+95=180", "180/18=10", "78-10=68" ]
Current State: 68:[85, 78, 95, 18], Operations: [] Exploring Operation: 85+95=180, Resulting Numbers: [78, 18, 180] Generated Node #2: [78, 18, 180] from Operation: 85+95=180 Current State: 68:[78, 18, 180], Operations: ['85+95=180'] Exploring Operation: 180/18=10, Resulting Numbers: [78, 10] Generated Node #3: [78, 10] from Operation: 180/18=10 Current State: 68:[78, 10], Operations: ['85+95=180', '180/18=10'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[85, 78, 95, 18], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [85, 18, 17] Generated Node #0,0: 68:[85, 18, 17] Operation: 95-78=17 Exploring Operation: 95-85=10, Resulting Numbers: [78, 18, 10] Generated Node #0,1: 68:[78, 18, 10] Operation: 95-85=10 Moving to Node #0,1 Current State: 68:[78, 18, 10], Operations: ['95-85=10'] Exploring Operation: 78-10=68, Resulting Numbers: [18, 68] Generated Node #0,1,0: 68:[18, 68] Operation: 78-10=68 Exploring Operation: 78-18=60, Resulting Numbers: [10, 60] Generated Node #0,1,1: 68:[10, 60] Operation: 78-18=60 Moving to Node #0,0 Current State: 68:[85, 18, 17], Operations: ['95-78=17'] Exploring Operation: 85-17=68, Resulting Numbers: [18, 68] Generated Node #0,0,0: 68:[18, 68] Operation: 85-17=68 Exploring Operation: 85-18=67, Resulting Numbers: [17, 67] Generated Node #0,0,1: 68:[17, 67] Operation: 85-18=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[18, 68], Operations: ['95-78=17', '85-17=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,68 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,68 unequal: No Solution No solution 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: 68:[17, 67], Operations: ['95-78=17', '85-18=67'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,68 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: 68:[18, 68], Operations: ['95-85=10', '78-10=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,68 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[10, 60], Operations: ['95-85=10', '78-18=60'] Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 96, 12, 91, 12 ]
96
[ "12-12=0", "91*0=0", "96+0=96" ]
Current State: 96:[96, 12, 91, 12], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [96, 91, 0] Generated Node #2: [96, 91, 0] from Operation: 12-12=0 Current State: 96:[96, 91, 0], Operations: ['12-12=0'] Exploring Operation: 91*0=0, Resulting Numbers: [96, 0] Generated Node #3: [96, 0] from Operation: 91*0=0 Current State: 96:[96, 0], Operations: ['12-12=0', '91*0=0'] Exploring Operation: 96+0=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 12, 91, 12], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [12, 12, 5] Generated Node #0,0: 96:[12, 12, 5] Operation: 96-91=5 Exploring Operation: 96/12=8, Resulting Numbers: [91, 12, 8] Generated Node #0,1: 96:[91, 12, 8] Operation: 96/12=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[12, 12, 5], Operations: ['96-91=5'] Exploring Operation: 12+12=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 96:[5, 24] Operation: 12+12=24 Exploring Operation: 12+5=17, Resulting Numbers: [12, 17] Generated Node #0,0,1: 96:[12, 17] Operation: 12+5=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[5, 24], Operations: ['96-91=5', '12+12=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,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,0,1 Current State: 96:[12, 17], Operations: ['96-91=5', '12+5=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[91, 12, 8], Operations: ['96/12=8'] Exploring Operation: 91+8=99, Resulting Numbers: [12, 99] Generated Node #0,1,0: 96:[12, 99] Operation: 91+8=99 Exploring Operation: 12*8=96, Resulting Numbers: [91, 96] Generated Node #0,1,1: 96:[91, 96] Operation: 12*8=96 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[12, 99], Operations: ['96/12=8', '91+8=99'] Exploring Operation: 12+99=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[91, 96], Operations: ['96/12=8', '12*8=96'] Exploring Operation: 91+96=187, Resulting Numbers: [187] 187,96 unequal: No Solution Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,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_2
sum_heuristic
[ 84, 14, 24, 98 ]
18
[ "84*24=2016", "14+98=112", "2016/112=18" ]
Current State: 18:[84, 14, 24, 98], Operations: [] Exploring Operation: 84*24=2016, Resulting Numbers: [14, 98, 2016] Generated Node #2: [14, 98, 2016] from Operation: 84*24=2016 Current State: 18:[14, 98, 2016], Operations: ['84*24=2016'] Exploring Operation: 14+98=112, Resulting Numbers: [2016, 112] Generated Node #3: [2016, 112] from Operation: 14+98=112 Current State: 18:[2016, 112], Operations: ['84*24=2016', '14+98=112'] Exploring Operation: 2016/112=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[84, 14, 24, 98], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [14, 24, 14] Generated Node #0,0: 18:[14, 24, 14] Operation: 98-84=14 Exploring Operation: 98/14=7, Resulting Numbers: [84, 24, 7] Generated Node #0,1: 18:[84, 24, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 18:[14, 24, 14], Operations: ['98-84=14'] Exploring Operation: 24-14=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 18:[14, 10] Operation: 24-14=10 Exploring Operation: 24-14=10, Resulting Numbers: [14, 10] Generated Node #0,0,1: 18:[14, 10] Operation: 24-14=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[14, 10], Operations: ['98-84=14', '24-14=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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:[14, 10], Operations: ['98-84=14', '24-14=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[84, 24, 7], Operations: ['98/14=7'] Exploring Operation: 84-24=60, Resulting Numbers: [7, 60] Generated Node #0,1,0: 18:[7, 60] Operation: 84-24=60 Exploring Operation: 84/7=12, Resulting Numbers: [24, 12] Generated Node #0,1,1: 18:[24, 12] Operation: 84/7=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[24, 12], Operations: ['98/14=7', '84/7=12'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,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,1,0 Current State: 18:[7, 60], Operations: ['98/14=7', '84-24=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 57, 5, 54, 9 ]
97
[ "57-5=52", "54-9=45", "52+45=97" ]
Current State: 97:[57, 5, 54, 9], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [54, 9, 52] Generated Node #2: [54, 9, 52] from Operation: 57-5=52 Current State: 97:[54, 9, 52], Operations: ['57-5=52'] Exploring Operation: 54-9=45, Resulting Numbers: [52, 45] Generated Node #3: [52, 45] from Operation: 54-9=45 Current State: 97:[52, 45], Operations: ['57-5=52', '54-9=45'] Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[57, 5, 54, 9], Operations: [] Exploring Operation: 5+54=59, Resulting Numbers: [57, 9, 59] Generated Node #0,0: 97:[57, 9, 59] Operation: 5+54=59 Exploring Operation: 5*9=45, Resulting Numbers: [57, 54, 45] Generated Node #0,1: 97:[57, 54, 45] Operation: 5*9=45 Exploring Operation: 57+5=62, Resulting Numbers: [54, 9, 62] Generated Node #0,2: 97:[54, 9, 62] Operation: 57+5=62 Exploring Operation: 57+9=66, Resulting Numbers: [5, 54, 66] Generated Node #0,3: 97:[5, 54, 66] Operation: 57+9=66 Moving to Node #0,1 Current State: 97:[57, 54, 45], Operations: ['5*9=45'] Exploring Operation: 57+54=111, Resulting Numbers: [45, 111] Generated Node #0,1,0: 97:[45, 111] Operation: 57+54=111 Exploring Operation: 57+45=102, Resulting Numbers: [54, 102] Generated Node #0,1,1: 97:[54, 102] Operation: 57+45=102 Exploring Operation: 57-45=12, Resulting Numbers: [54, 12] Generated Node #0,1,2: 97:[54, 12] Operation: 57-45=12 Exploring Operation: 54+45=99, Resulting Numbers: [57, 99] Generated Node #0,1,3: 97:[57, 99] Operation: 54+45=99 Moving to Node #0,2 Current State: 97:[54, 9, 62], Operations: ['57+5=62'] Exploring Operation: 54-9=45, Resulting Numbers: [62, 45] Generated Node #0,2,0: 97:[62, 45] Operation: 54-9=45 Exploring Operation: 54+9=63, Resulting Numbers: [62, 63] Generated Node #0,2,1: 97:[62, 63] Operation: 54+9=63 Exploring Operation: 9+62=71, Resulting Numbers: [54, 71] Generated Node #0,2,2: 97:[54, 71] Operation: 9+62=71 Exploring Operation: 62-9=53, Resulting Numbers: [54, 53] Generated Node #0,2,3: 97:[54, 53] Operation: 62-9=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[62, 63], Operations: ['57+5=62', '54+9=63'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,97 unequal: No Solution Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[54, 71], Operations: ['57+5=62', '9+62=71'] Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,97 unequal: No Solution Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[62, 45], Operations: ['57+5=62', '54-9=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[54, 53], Operations: ['57+5=62', '62-9=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,97 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,97 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: 97:[57, 9, 59], Operations: ['5+54=59'] Exploring Operation: 57+9=66, Resulting Numbers: [59, 66] Generated Node #0,0,0: 97:[59, 66] Operation: 57+9=66 Exploring Operation: 9+59=68, Resulting Numbers: [57, 68] Generated Node #0,0,1: 97:[57, 68] Operation: 9+59=68 Exploring Operation: 59-9=50, Resulting Numbers: [57, 50] Generated Node #0,0,2: 97:[57, 50] Operation: 59-9=50 Exploring Operation: 57-9=48, Resulting Numbers: [59, 48] Generated Node #0,0,3: 97:[59, 48] Operation: 57-9=48 Moving to Node #0,3 Current State: 97:[5, 54, 66], Operations: ['57+9=66'] Exploring Operation: 5+54=59, Resulting Numbers: [66, 59] Generated Node #0,3,0: 97:[66, 59] Operation: 5+54=59 Exploring Operation: 5+66=71, Resulting Numbers: [54, 71] Generated Node #0,3,1: 97:[54, 71] Operation: 5+66=71 Exploring Operation: 54-5=49, Resulting Numbers: [66, 49] Generated Node #0,3,2: 97:[66, 49] Operation: 54-5=49 Exploring Operation: 66-5=61, Resulting Numbers: [54, 61] Generated Node #0,3,3: 97:[54, 61] Operation: 66-5=61 Moving to Node #0,1,3 Current State: 97:[57, 99], Operations: ['5*9=45', '54+45=99'] Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,97 unequal: No Solution Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[54, 102], Operations: ['5*9=45', '57+45=102'] Exploring Operation: 54*102=5508, Resulting Numbers: [5508] 5508,97 unequal: No Solution Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 54+102=156, Resulting Numbers: [156] 156,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[45, 111], Operations: ['5*9=45', '57+54=111'] Exploring Operation: 45*111=4995, Resulting Numbers: [4995] 4995,97 unequal: No Solution Exploring Operation: 45+111=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 111-45=66, Resulting Numbers: [66] 66,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[57, 68], Operations: ['5+54=59', '9+59=68'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,97 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[59, 66], Operations: ['5+54=59', '57+9=66'] Exploring Operation: 59+66=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 59*66=3894, Resulting Numbers: [3894] 3894,97 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[54, 71], Operations: ['57+9=66', '5+66=71'] Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,97 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[66, 59], Operations: ['57+9=66', '5+54=59'] Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,97 unequal: No Solution Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[66, 49], Operations: ['57+9=66', '54-5=49'] Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,97 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[54, 61], Operations: ['57+9=66', '66-5=61'] Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,97 unequal: No Solution Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[57, 50], Operations: ['5+54=59', '59-9=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,97 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[59, 48], Operations: ['5+54=59', '57-9=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,97 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[54, 12], Operations: ['5*9=45', '57-45=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 14, 48, 18 ]
86
[ "48/12=4", "18*4=72", "14+72=86" ]
Current State: 86:[12, 14, 48, 18], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [14, 18, 4] Generated Node #2: [14, 18, 4] from Operation: 48/12=4 Current State: 86:[14, 18, 4], Operations: ['48/12=4'] Exploring Operation: 18*4=72, Resulting Numbers: [14, 72] Generated Node #3: [14, 72] from Operation: 18*4=72 Current State: 86:[14, 72], Operations: ['48/12=4', '18*4=72'] Exploring Operation: 14+72=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[12, 14, 48, 18], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [12, 48, 4] Generated Node #0,0: 86:[12, 48, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [12, 48, 32] Generated Node #0,1: 86:[12, 48, 32] Operation: 14+18=32 Exploring Operation: 18-12=6, Resulting Numbers: [14, 48, 6] Generated Node #0,2: 86:[14, 48, 6] Operation: 18-12=6 Exploring Operation: 14-12=2, Resulting Numbers: [48, 18, 2] Generated Node #0,3: 86:[48, 18, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[12, 48, 4], Operations: ['18-14=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 86:[48, 48] Operation: 12*4=48 Exploring Operation: 48/12=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 86:[4, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [4, 36] Generated Node #0,0,2: 86:[4, 36] Operation: 48-12=36 Exploring Operation: 12/4=3, Resulting Numbers: [48, 3] Generated Node #0,0,3: 86:[48, 3] Operation: 12/4=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[4, 4], Operations: ['18-14=4', '48/12=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[48, 3], Operations: ['18-14=4', '12/4=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,86 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[4, 36], Operations: ['18-14=4', '48-12=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,86 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[48, 48], Operations: ['18-14=4', '12*4=48'] Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,86 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[14, 48, 6], Operations: ['18-12=6'] Exploring Operation: 48-14=34, Resulting Numbers: [6, 34] Generated Node #0,2,0: 86:[6, 34] Operation: 48-14=34 Exploring Operation: 14*6=84, Resulting Numbers: [48, 84] Generated Node #0,2,1: 86:[48, 84] Operation: 14*6=84 Exploring Operation: 48-6=42, Resulting Numbers: [14, 42] Generated Node #0,2,2: 86:[14, 42] Operation: 48-6=42 Exploring Operation: 14-6=8, Resulting Numbers: [48, 8] Generated Node #0,2,3: 86:[48, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[48, 84], Operations: ['18-12=6', '14*6=84'] Exploring Operation: 48+84=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 48*84=4032, Resulting Numbers: [4032] 4032,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[48, 8], Operations: ['18-12=6', '14-6=8'] Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,86 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[6, 34], Operations: ['18-12=6', '48-14=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,86 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[14, 42], Operations: ['18-12=6', '48-6=42'] Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,86 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[48, 18, 2], Operations: ['14-12=2'] Exploring Operation: 18/2=9, Resulting Numbers: [48, 9] Generated Node #0,3,0: 86:[48, 9] Operation: 18/2=9 Exploring Operation: 48-18=30, Resulting Numbers: [2, 30] Generated Node #0,3,1: 86:[2, 30] Operation: 48-18=30 Exploring Operation: 18*2=36, Resulting Numbers: [48, 36] Generated Node #0,3,2: 86:[48, 36] Operation: 18*2=36 Exploring Operation: 48-2=46, Resulting Numbers: [18, 46] Generated Node #0,3,3: 86:[18, 46] Operation: 48-2=46 Moving to Node #0,3,0 Current State: 86:[48, 9], Operations: ['14-12=2', '18/2=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,86 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[48, 36], Operations: ['14-12=2', '18*2=36'] Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,86 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[2, 30], Operations: ['14-12=2', '48-18=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[18, 46], Operations: ['14-12=2', '48-2=46'] Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,86 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,86 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[12, 48, 32], Operations: ['14+18=32'] Exploring Operation: 48-12=36, Resulting Numbers: [32, 36] Generated Node #0,1,0: 86:[32, 36] Operation: 48-12=36 Exploring Operation: 48/12=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 86:[32, 4] Operation: 48/12=4 Exploring Operation: 12+32=44, Resulting Numbers: [48, 44] Generated Node #0,1,2: 86:[48, 44] Operation: 12+32=44 Exploring Operation: 48+32=80, Resulting Numbers: [12, 80] Generated Node #0,1,3: 86:[12, 80] Operation: 48+32=80 Moving to Node #0,1,2 Current State: 86:[48, 44], Operations: ['14+18=32', '12+32=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,86 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[32, 4], Operations: ['14+18=32', '48/12=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[12, 80], Operations: ['14+18=32', '48+32=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,86 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[32, 36], Operations: ['14+18=32', '48-12=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,86 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 12, 40, 56 ]
88
[ "96/12=8", "40+56=96", "96-8=88" ]
Current State: 88:[96, 12, 40, 56], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [40, 56, 8] Generated Node #2: [40, 56, 8] from Operation: 96/12=8 Current State: 88:[40, 56, 8], Operations: ['96/12=8'] Exploring Operation: 40+56=96, Resulting Numbers: [8, 96] Generated Node #3: [8, 96] from Operation: 40+56=96 Current State: 88:[8, 96], Operations: ['96/12=8', '40+56=96'] Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[96, 12, 40, 56], Operations: [] Exploring Operation: 96-56=40, Resulting Numbers: [12, 40, 40] Generated Node #0,0: 88:[12, 40, 40] Operation: 96-56=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[12, 40, 40], Operations: ['96-56=40'] Exploring Operation: 40/40=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 88:[12, 1] Operation: 40/40=1 Moving to Node #0,0,0 Current State: 88:[12, 1], Operations: ['96-56=40', '40/40=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 78, 47, 45 ]
93
[ "47-45=2", "30/2=15", "78+15=93" ]
Current State: 93:[30, 78, 47, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [30, 78, 2] Generated Node #2: [30, 78, 2] from Operation: 47-45=2 Current State: 93:[30, 78, 2], Operations: ['47-45=2'] Exploring Operation: 30/2=15, Resulting Numbers: [78, 15] Generated Node #3: [78, 15] from Operation: 30/2=15 Current State: 93:[78, 15], Operations: ['47-45=2', '30/2=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[30, 78, 47, 45], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [30, 45, 31] Generated Node #0,0: 93:[30, 45, 31] Operation: 78-47=31 Moving to Node #0,0 Current State: 93:[30, 45, 31], Operations: ['78-47=31'] Exploring Operation: 45-30=15, Resulting Numbers: [31, 15] Generated Node #0,0,0: 93:[31, 15] Operation: 45-30=15 Moving to Node #0,0,0 Current State: 93:[31, 15], Operations: ['78-47=31', '45-30=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,93 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 27, 31, 18 ]
40
[ "18-15=3", "27/3=9", "31+9=40" ]
Current State: 40:[15, 27, 31, 18], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [27, 31, 3] Generated Node #2: [27, 31, 3] from Operation: 18-15=3 Current State: 40:[27, 31, 3], Operations: ['18-15=3'] Exploring Operation: 27/3=9, Resulting Numbers: [31, 9] Generated Node #3: [31, 9] from Operation: 27/3=9 Current State: 40:[31, 9], Operations: ['18-15=3', '27/3=9'] Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[15, 27, 31, 18], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [31, 18, 12] Generated Node #0,0: 40:[31, 18, 12] Operation: 27-15=12 Exploring Operation: 31-27=4, Resulting Numbers: [15, 18, 4] Generated Node #0,1: 40:[15, 18, 4] Operation: 31-27=4 Exploring Operation: 15+27=42, Resulting Numbers: [31, 18, 42] Generated Node #0,2: 40:[31, 18, 42] Operation: 15+27=42 Exploring Operation: 15+31=46, Resulting Numbers: [27, 18, 46] Generated Node #0,3: 40:[27, 18, 46] Operation: 15+31=46 Exploring Operation: 31-15=16, Resulting Numbers: [27, 18, 16] Generated Node #0,4: 40:[27, 18, 16] Operation: 31-15=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[15, 18, 4], Operations: ['31-27=4'] Exploring Operation: 15+18=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 40:[4, 33] Operation: 15+18=33 Exploring Operation: 18+4=22, Resulting Numbers: [15, 22] Generated Node #0,1,1: 40:[15, 22] Operation: 18+4=22 Exploring Operation: 15-4=11, Resulting Numbers: [18, 11] Generated Node #0,1,2: 40:[18, 11] Operation: 15-4=11 Exploring Operation: 18-15=3, Resulting Numbers: [4, 3] Generated Node #0,1,3: 40:[4, 3] Operation: 18-15=3 Exploring Operation: 15+4=19, Resulting Numbers: [18, 19] Generated Node #0,1,4: 40:[18, 19] Operation: 15+4=19 Moving to Node #0,1,3 Current State: 40:[4, 3], Operations: ['31-27=4', '18-15=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[18, 19], Operations: ['31-27=4', '15+4=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[18, 11], Operations: ['31-27=4', '15-4=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,40 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[4, 33], Operations: ['31-27=4', '15+18=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[15, 22], Operations: ['31-27=4', '18+4=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,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 Current State: 40:[31, 18, 12], Operations: ['27-15=12'] Exploring Operation: 18-12=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 40:[31, 6] Operation: 18-12=6 Exploring Operation: 31+18=49, Resulting Numbers: [12, 49] Generated Node #0,0,1: 40:[12, 49] Operation: 31+18=49 Exploring Operation: 31-18=13, Resulting Numbers: [12, 13] Generated Node #0,0,2: 40:[12, 13] Operation: 31-18=13 Exploring Operation: 31-12=19, Resulting Numbers: [18, 19] Generated Node #0,0,3: 40:[18, 19] Operation: 31-12=19 Exploring Operation: 31+12=43, Resulting Numbers: [18, 43] Generated Node #0,0,4: 40:[18, 43] Operation: 31+12=43 Moving to Node #0,0,3 Current State: 40:[18, 19], Operations: ['27-15=12', '31-12=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[18, 43], Operations: ['27-15=12', '31+12=43'] Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,40 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[12, 13], Operations: ['27-15=12', '31-18=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,40 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[31, 6], Operations: ['27-15=12', '18-12=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[12, 49], Operations: ['27-15=12', '31+18=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,40 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,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,2 Current State: 40:[31, 18, 42], Operations: ['15+27=42'] Exploring Operation: 18+42=60, Resulting Numbers: [31, 60] Generated Node #0,2,0: 40:[31, 60] Operation: 18+42=60 Exploring Operation: 31+18=49, Resulting Numbers: [42, 49] Generated Node #0,2,1: 40:[42, 49] Operation: 31+18=49 Exploring Operation: 31-18=13, Resulting Numbers: [42, 13] Generated Node #0,2,2: 40:[42, 13] Operation: 31-18=13 Exploring Operation: 42-31=11, Resulting Numbers: [18, 11] Generated Node #0,2,3: 40:[18, 11] Operation: 42-31=11 Exploring Operation: 42-18=24, Resulting Numbers: [31, 24] Generated Node #0,2,4: 40:[31, 24] Operation: 42-18=24 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[18, 11], Operations: ['15+27=42', '42-31=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,40 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[42, 13], Operations: ['15+27=42', '31-18=13'] Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,40 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[42, 49], Operations: ['15+27=42', '31+18=49'] Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,40 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,40 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[31, 24], Operations: ['15+27=42', '42-18=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,40 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[31, 60], Operations: ['15+27=42', '18+42=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,40 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[27, 18, 16], Operations: ['31-15=16'] Exploring Operation: 27-16=11, Resulting Numbers: [18, 11] Generated Node #0,4,0: 40:[18, 11] Operation: 27-16=11 Exploring Operation: 27-18=9, Resulting Numbers: [16, 9] Generated Node #0,4,1: 40:[16, 9] Operation: 27-18=9 Exploring Operation: 27+18=45, Resulting Numbers: [16, 45] Generated Node #0,4,2: 40:[16, 45] Operation: 27+18=45 Exploring Operation: 18-16=2, Resulting Numbers: [27, 2] Generated Node #0,4,3: 40:[27, 2] Operation: 18-16=2 Exploring Operation: 27+16=43, Resulting Numbers: [18, 43] Generated Node #0,4,4: 40:[18, 43] Operation: 27+16=43 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 40:[18, 11], Operations: ['31-15=16', '27-16=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,40 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[16, 9], Operations: ['31-15=16', '27-18=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[18, 43], Operations: ['31-15=16', '27+16=43'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,40 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 40:[27, 2], Operations: ['31-15=16', '18-16=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[16, 45], Operations: ['31-15=16', '27+18=45'] Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,40 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[27, 18, 46], Operations: ['15+31=46'] Exploring Operation: 18+46=64, Resulting Numbers: [27, 64] Generated Node #0,3,0: 40:[27, 64] Operation: 18+46=64 Exploring Operation: 27-18=9, Resulting Numbers: [46, 9] Generated Node #0,3,1: 40:[46, 9] Operation: 27-18=9 Exploring Operation: 46-27=19, Resulting Numbers: [18, 19] Generated Node #0,3,2: 40:[18, 19] Operation: 46-27=19 Exploring Operation: 27+18=45, Resulting Numbers: [46, 45] Generated Node #0,3,3: 40:[46, 45] Operation: 27+18=45 Exploring Operation: 46-18=28, Resulting Numbers: [27, 28] Generated Node #0,3,4: 40:[27, 28] Operation: 46-18=28 Moving to Node #0,3,2 Current State: 40:[18, 19], Operations: ['15+31=46', '46-27=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[46, 9], Operations: ['15+31=46', '27-18=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[46, 45], Operations: ['15+31=46', '27+18=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,40 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,40 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[27, 28], Operations: ['15+31=46', '46-18=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,40 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[27, 64], Operations: ['15+31=46', '18+46=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,40 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,40 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
[ 24, 73, 38, 22 ]
54
[ "24-22=2", "38/2=19", "73-19=54" ]
Current State: 54:[24, 73, 38, 22], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [73, 38, 2] Generated Node #2: [73, 38, 2] from Operation: 24-22=2 Current State: 54:[73, 38, 2], Operations: ['24-22=2'] Exploring Operation: 38/2=19, Resulting Numbers: [73, 19] Generated Node #3: [73, 19] from Operation: 38/2=19 Current State: 54:[73, 19], Operations: ['24-22=2', '38/2=19'] Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[24, 73, 38, 22], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [24, 22, 35] Generated Node #0,0: 54:[24, 22, 35] Operation: 73-38=35 Moving to Node #0,0 Current State: 54:[24, 22, 35], Operations: ['73-38=35'] Exploring Operation: 35-24=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 54:[22, 11] Operation: 35-24=11 Moving to Node #0,0,0 Current State: 54:[22, 11], Operations: ['73-38=35', '35-24=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 43, 78, 98, 49 ]
72
[ "43+78=121", "98-49=49", "121-49=72" ]
Current State: 72:[43, 78, 98, 49], Operations: [] Exploring Operation: 43+78=121, Resulting Numbers: [98, 49, 121] Generated Node #2: [98, 49, 121] from Operation: 43+78=121 Current State: 72:[98, 49, 121], Operations: ['43+78=121'] Exploring Operation: 98-49=49, Resulting Numbers: [121, 49] Generated Node #3: [121, 49] from Operation: 98-49=49 Current State: 72:[121, 49], Operations: ['43+78=121', '98-49=49'] Exploring Operation: 121-49=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[43, 78, 98, 49], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [43, 49, 20] Generated Node #0,0: 72:[43, 49, 20] Operation: 98-78=20 Exploring Operation: 98/49=2, Resulting Numbers: [43, 78, 2] Generated Node #0,1: 72:[43, 78, 2] Operation: 98/49=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[43, 78, 2], Operations: ['98/49=2'] Exploring Operation: 78-43=35, Resulting Numbers: [2, 35] Generated Node #0,1,0: 72:[2, 35] Operation: 78-43=35 Exploring Operation: 78/2=39, Resulting Numbers: [43, 39] Generated Node #0,1,1: 72:[43, 39] Operation: 78/2=39 Moving to Node #0,1,0 Current State: 72:[2, 35], Operations: ['98/49=2', '78-43=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[43, 39], Operations: ['98/49=2', '78/2=39'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[43, 49, 20], Operations: ['98-78=20'] Exploring Operation: 49-43=6, Resulting Numbers: [20, 6] Generated Node #0,0,0: 72:[20, 6] Operation: 49-43=6 Exploring Operation: 49+20=69, Resulting Numbers: [43, 69] Generated Node #0,0,1: 72:[43, 69] Operation: 49+20=69 Moving to Node #0,0,0 Current State: 72:[20, 6], Operations: ['98-78=20', '49-43=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[43, 69], Operations: ['98-78=20', '49+20=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,72 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
[ 80, 65, 29, 52 ]
66
[ "80-65=15", "29+52=81", "81-15=66" ]
Current State: 66:[80, 65, 29, 52], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [29, 52, 15] Generated Node #2: [29, 52, 15] from Operation: 80-65=15 Current State: 66:[29, 52, 15], Operations: ['80-65=15'] Exploring Operation: 29+52=81, Resulting Numbers: [15, 81] Generated Node #3: [15, 81] from Operation: 29+52=81 Current State: 66:[15, 81], Operations: ['80-65=15', '29+52=81'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[80, 65, 29, 52], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [65, 52, 51] Generated Node #0,0: 66:[65, 52, 51] Operation: 80-29=51 Exploring Operation: 80-65=15, Resulting Numbers: [29, 52, 15] Generated Node #0,1: 66:[29, 52, 15] Operation: 80-65=15 Exploring Operation: 52-29=23, Resulting Numbers: [80, 65, 23] Generated Node #0,2: 66:[80, 65, 23] Operation: 52-29=23 Exploring Operation: 80-52=28, Resulting Numbers: [65, 29, 28] Generated Node #0,3: 66:[65, 29, 28] Operation: 80-52=28 Exploring Operation: 65-52=13, Resulting Numbers: [80, 29, 13] Generated Node #0,4: 66:[80, 29, 13] Operation: 65-52=13 Moving to Node #0,3 Current State: 66:[65, 29, 28], Operations: ['80-52=28'] Exploring Operation: 29+28=57, Resulting Numbers: [65, 57] Generated Node #0,3,0: 66:[65, 57] Operation: 29+28=57 Exploring Operation: 65-29=36, Resulting Numbers: [28, 36] Generated Node #0,3,1: 66:[28, 36] Operation: 65-29=36 Exploring Operation: 65-28=37, Resulting Numbers: [29, 37] Generated Node #0,3,2: 66:[29, 37] Operation: 65-28=37 Exploring Operation: 65+28=93, Resulting Numbers: [29, 93] Generated Node #0,3,3: 66:[29, 93] Operation: 65+28=93 Exploring Operation: 29-28=1, Resulting Numbers: [65, 1] Generated Node #0,3,4: 66:[65, 1] Operation: 29-28=1 Moving to Node #0,2 Current State: 66:[80, 65, 23], Operations: ['52-29=23'] Exploring Operation: 80+23=103, Resulting Numbers: [65, 103] Generated Node #0,2,0: 66:[65, 103] Operation: 80+23=103 Exploring Operation: 80-23=57, Resulting Numbers: [65, 57] Generated Node #0,2,1: 66:[65, 57] Operation: 80-23=57 Exploring Operation: 65-23=42, Resulting Numbers: [80, 42] Generated Node #0,2,2: 66:[80, 42] Operation: 65-23=42 Exploring Operation: 80-65=15, Resulting Numbers: [23, 15] Generated Node #0,2,3: 66:[23, 15] Operation: 80-65=15 Exploring Operation: 65+23=88, Resulting Numbers: [80, 88] Generated Node #0,2,4: 66:[80, 88] Operation: 65+23=88 Moving to Node #0,4 Current State: 66:[80, 29, 13], Operations: ['65-52=13'] Exploring Operation: 80-13=67, Resulting Numbers: [29, 67] Generated Node #0,4,0: 66:[29, 67] Operation: 80-13=67 Exploring Operation: 80-29=51, Resulting Numbers: [13, 51] Generated Node #0,4,1: 66:[13, 51] Operation: 80-29=51 Exploring Operation: 29-13=16, Resulting Numbers: [80, 16] Generated Node #0,4,2: 66:[80, 16] Operation: 29-13=16 Exploring Operation: 29+13=42, Resulting Numbers: [80, 42] Generated Node #0,4,3: 66:[80, 42] Operation: 29+13=42 Exploring Operation: 80+13=93, Resulting Numbers: [29, 93] Generated Node #0,4,4: 66:[29, 93] Operation: 80+13=93 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 66:[29, 67], Operations: ['65-52=13', '80-13=67'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,66 unequal: No Solution Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,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,4,1 Current State: 66:[13, 51], Operations: ['65-52=13', '80-29=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,66 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,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,4,2 Current State: 66:[80, 16], Operations: ['65-52=13', '29-13=16'] Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,66 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,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,4,3 Current State: 66:[80, 42], Operations: ['65-52=13', '29+13=42'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,66 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,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,4,4 Current State: 66:[29, 93], Operations: ['65-52=13', '80+13=93'] Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,66 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,66 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: 66:[29, 52, 15], Operations: ['80-65=15'] Exploring Operation: 29-15=14, Resulting Numbers: [52, 14] Generated Node #0,1,0: 66:[52, 14] Operation: 29-15=14 Exploring Operation: 52-29=23, Resulting Numbers: [15, 23] Generated Node #0,1,1: 66:[15, 23] Operation: 52-29=23 Exploring Operation: 29+52=81, Resulting Numbers: [15, 81] Generated Node #0,1,2: 66:[15, 81] Operation: 29+52=81 Exploring Operation: 52+15=67, Resulting Numbers: [29, 67] Generated Node #0,1,3: 66:[29, 67] Operation: 52+15=67 Exploring Operation: 52-15=37, Resulting Numbers: [29, 37] Generated Node #0,1,4: 66:[29, 37] Operation: 52-15=37 Moving to Node #0,0 Current State: 66:[65, 52, 51], Operations: ['80-29=51'] Exploring Operation: 65+51=116, Resulting Numbers: [52, 116] Generated Node #0,0,0: 66:[52, 116] Operation: 65+51=116 Exploring Operation: 65-51=14, Resulting Numbers: [52, 14] Generated Node #0,0,1: 66:[52, 14] Operation: 65-51=14 Exploring Operation: 52+51=103, Resulting Numbers: [65, 103] Generated Node #0,0,2: 66:[65, 103] Operation: 52+51=103 Exploring Operation: 65-52=13, Resulting Numbers: [51, 13] Generated Node #0,0,3: 66:[51, 13] Operation: 65-52=13 Exploring Operation: 52-51=1, Resulting Numbers: [65, 1] Generated Node #0,0,4: 66:[65, 1] Operation: 52-51=1 Moving to Node #0,3,4 Current State: 66:[65, 1], Operations: ['80-52=28', '29-28=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[80, 65, 29, 52], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [65, 29, 28] Generated Node #0,3: 66:[65, 29, 28] Operation: 80-52=28 Moving to Node #0,3 Current State: 66:[65, 29, 28], Operations: ['80-52=28'] Exploring Operation: 29-28=1, Resulting Numbers: [65, 1] Generated Node #0,3,4: 66:[65, 1] Operation: 29-28=1 Moving to Node #0,3,4 Current State: 66:[65, 1], Operations: ['80-52=28', '29-28=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 28, 85, 85, 57 ]
30
[ "57-28=29", "85/85=1", "29+1=30" ]
Current State: 30:[28, 85, 85, 57], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [85, 85, 29] Generated Node #2: [85, 85, 29] from Operation: 57-28=29 Current State: 30:[85, 85, 29], Operations: ['57-28=29'] Exploring Operation: 85/85=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 85/85=1 Current State: 30:[29, 1], Operations: ['57-28=29', '85/85=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[28, 85, 85, 57], Operations: [] Exploring Operation: 85-85=0, Resulting Numbers: [28, 57, 0] Generated Node #0,0: 30:[28, 57, 0] Operation: 85-85=0 Exploring Operation: 85/85=1, Resulting Numbers: [28, 57, 1] Generated Node #0,1: 30:[28, 57, 1] Operation: 85/85=1 Moving to Node #0,1 Current State: 30:[28, 57, 1], Operations: ['85/85=1'] Exploring Operation: 57-28=29, Resulting Numbers: [1, 29] Generated Node #0,1,0: 30:[1, 29] Operation: 57-28=29 Exploring Operation: 28+1=29, Resulting Numbers: [57, 29] Generated Node #0,1,1: 30:[57, 29] Operation: 28+1=29 Moving to Node #0,0 Current State: 30:[28, 57, 0], Operations: ['85-85=0'] Exploring Operation: 57*0=0, Resulting Numbers: [28, 0] Generated Node #0,0,0: 30:[28, 0] Operation: 57*0=0 Exploring Operation: 57-28=29, Resulting Numbers: [0, 29] Generated Node #0,0,1: 30:[0, 29] Operation: 57-28=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[0, 29], Operations: ['85-85=0', '57-28=29'] Exploring Operation: 0+29=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[28, 0], Operations: ['85-85=0', '57*0=0'] Exploring Operation: 28*0=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,30 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: 30:[1, 29], Operations: ['85/85=1', '57-28=29'] Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[28, 85, 85, 57], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [28, 57, 1] Generated Node #0,1: 30:[28, 57, 1] Operation: 85/85=1 Moving to Node #0,1 Current State: 30:[28, 57, 1], Operations: ['85/85=1'] Exploring Operation: 57-28=29, Resulting Numbers: [1, 29] Generated Node #0,1,0: 30:[1, 29] Operation: 57-28=29 Moving to Node #0,1,0 Current State: 30:[1, 29], Operations: ['85/85=1', '57-28=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 67, 6, 61, 99 ]
23
[ "67-6=61", "99-61=38", "61-38=23" ]
Current State: 23:[67, 6, 61, 99], Operations: [] Exploring Operation: 67-6=61, Resulting Numbers: [61, 99, 61] Generated Node #2: [61, 99, 61] from Operation: 67-6=61 Current State: 23:[61, 99, 61], Operations: ['67-6=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,23 equal: Goal Reached Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[67, 6, 61, 99], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [6, 99, 6] Generated Node #0,0: 23:[6, 99, 6] Operation: 67-61=6 Exploring Operation: 99-67=32, Resulting Numbers: [6, 61, 32] Generated Node #0,1: 23:[6, 61, 32] Operation: 99-67=32 Exploring Operation: 67-6=61, Resulting Numbers: [61, 99, 61] Generated Node #0,2: 23:[61, 99, 61] Operation: 67-6=61 Exploring Operation: 61-6=55, Resulting Numbers: [67, 99, 55] Generated Node #0,3: 23:[67, 99, 55] Operation: 61-6=55 Exploring Operation: 99-61=38, Resulting Numbers: [67, 6, 38] Generated Node #0,4: 23:[67, 6, 38] Operation: 99-61=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[6, 61, 32], Operations: ['99-67=32'] Exploring Operation: 6+61=67, Resulting Numbers: [32, 67] Generated Node #0,1,0: 23:[32, 67] Operation: 6+61=67 Exploring Operation: 61-6=55, Resulting Numbers: [32, 55] Generated Node #0,1,1: 23:[32, 55] Operation: 61-6=55 Exploring Operation: 6+32=38, Resulting Numbers: [61, 38] Generated Node #0,1,2: 23:[61, 38] Operation: 6+32=38 Exploring Operation: 61-32=29, Resulting Numbers: [6, 29] Generated Node #0,1,3: 23:[6, 29] Operation: 61-32=29 Exploring Operation: 32-6=26, Resulting Numbers: [61, 26] Generated Node #0,1,4: 23:[61, 26] Operation: 32-6=26 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[6, 29], Operations: ['99-67=32', '61-32=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,23 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[67, 6, 61, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [6, 61, 32] Generated Node #0,1: 23:[6, 61, 32] Operation: 99-67=32 Moving to Node #0,1 Current State: 23:[6, 61, 32], Operations: ['99-67=32'] Exploring Operation: 61-32=29, Resulting Numbers: [6, 29] Generated Node #0,1,3: 23:[6, 29] Operation: 61-32=29 Moving to Node #0,1,3 Current State: 23:[6, 29], Operations: ['99-67=32', '61-32=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 49, 9, 89, 18 ]
81
[ "49*18=882", "9*89=801", "882-801=81" ]
Current State: 81:[49, 9, 89, 18], Operations: [] Exploring Operation: 49*18=882, Resulting Numbers: [9, 89, 882] Generated Node #2: [9, 89, 882] from Operation: 49*18=882 Current State: 81:[9, 89, 882], Operations: ['49*18=882'] Exploring Operation: 9*89=801, Resulting Numbers: [882, 801] Generated Node #3: [882, 801] from Operation: 9*89=801 Current State: 81:[882, 801], Operations: ['49*18=882', '9*89=801'] Exploring Operation: 882-801=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[49, 9, 89, 18], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [9, 89, 31] Generated Node #0,0: 81:[9, 89, 31] Operation: 49-18=31 Exploring Operation: 89-49=40, Resulting Numbers: [9, 18, 40] Generated Node #0,1: 81:[9, 18, 40] Operation: 89-49=40 Moving to Node #0,0 Current State: 81:[9, 89, 31], Operations: ['49-18=31'] Exploring Operation: 89-9=80, Resulting Numbers: [31, 80] Generated Node #0,0,0: 81:[31, 80] Operation: 89-9=80 Exploring Operation: 31-9=22, Resulting Numbers: [89, 22] Generated Node #0,0,1: 81:[89, 22] Operation: 31-9=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[31, 80], Operations: ['49-18=31', '89-9=80'] Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,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:[89, 22], Operations: ['49-18=31', '31-9=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,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:[9, 18, 40], Operations: ['89-49=40'] Exploring Operation: 9+18=27, Resulting Numbers: [40, 27] Generated Node #0,1,0: 81:[40, 27] Operation: 9+18=27 Exploring Operation: 40-18=22, Resulting Numbers: [9, 22] Generated Node #0,1,1: 81:[9, 22] Operation: 40-18=22 Moving to Node #0,1,1 Current State: 81:[9, 22], Operations: ['89-49=40', '40-18=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[40, 27], Operations: ['89-49=40', '9+18=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 4, 97, 81, 33 ]
65
[ "97-33=64", "64/4=16", "81-16=65" ]
Current State: 65:[4, 97, 81, 33], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [4, 81, 64] Generated Node #2: [4, 81, 64] from Operation: 97-33=64 Current State: 65:[4, 81, 64], Operations: ['97-33=64'] Exploring Operation: 64/4=16, Resulting Numbers: [81, 16] Generated Node #3: [81, 16] from Operation: 64/4=16 Current State: 65:[81, 16], Operations: ['97-33=64', '64/4=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 97, 81, 33], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [4, 33, 16] Generated Node #0,0: 65:[4, 33, 16] Operation: 97-81=16 Exploring Operation: 97-33=64, Resulting Numbers: [4, 81, 64] Generated Node #0,1: 65:[4, 81, 64] Operation: 97-33=64 Exploring Operation: 81-33=48, Resulting Numbers: [4, 97, 48] Generated Node #0,2: 65:[4, 97, 48] Operation: 81-33=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[4, 81, 64], Operations: ['97-33=64'] Exploring Operation: 81-4=77, Resulting Numbers: [64, 77] Generated Node #0,1,0: 65:[64, 77] Operation: 81-4=77 Exploring Operation: 4+64=68, Resulting Numbers: [81, 68] Generated Node #0,1,1: 65:[81, 68] Operation: 4+64=68 Exploring Operation: 81-64=17, Resulting Numbers: [4, 17] Generated Node #0,1,2: 65:[4, 17] Operation: 81-64=17 Moving to Node #0,1,2 Current State: 65:[4, 17], Operations: ['97-33=64', '81-64=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[64, 77], Operations: ['97-33=64', '81-4=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,65 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,65 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[81, 68], Operations: ['97-33=64', '4+64=68'] Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,65 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 33, 16], Operations: ['97-81=16'] Exploring Operation: 33-16=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 65:[4, 17] Operation: 33-16=17 Exploring Operation: 33-4=29, Resulting Numbers: [16, 29] Generated Node #0,0,1: 65:[16, 29] Operation: 33-4=29 Exploring Operation: 33+16=49, Resulting Numbers: [4, 49] Generated Node #0,0,2: 65:[4, 49] Operation: 33+16=49 Moving to Node #0,0,0 Current State: 65:[4, 17], Operations: ['97-81=16', '33-16=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[4, 49], Operations: ['97-81=16', '33+16=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,65 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[16, 29], Operations: ['97-81=16', '33-4=29'] Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,65 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[4, 97, 48], Operations: ['81-33=48'] Exploring Operation: 97-48=49, Resulting Numbers: [4, 49] Generated Node #0,2,0: 65:[4, 49] Operation: 97-48=49 Exploring Operation: 97-4=93, Resulting Numbers: [48, 93] Generated Node #0,2,1: 65:[48, 93] Operation: 97-4=93 Exploring Operation: 48/4=12, Resulting Numbers: [97, 12] Generated Node #0,2,2: 65:[97, 12] Operation: 48/4=12 Moving to Node #0,2,0 Current State: 65:[4, 49], Operations: ['81-33=48', '97-48=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[97, 12], Operations: ['81-33=48', '48/4=12'] Exploring Operation: 97*12=1164, Resulting Numbers: [1164] 1164,65 unequal: No Solution Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,65 unequal: No Solution Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[48, 93], Operations: ['81-33=48', '97-4=93'] Exploring Operation: 48*93=4464, Resulting Numbers: [4464] 4464,65 unequal: No Solution Exploring Operation: 48+93=141, Resulting Numbers: [141] 141,65 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 90, 75, 50, 18 ]
83
[ "90-75=15", "50+18=68", "15+68=83" ]
Current State: 83:[90, 75, 50, 18], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [50, 18, 15] Generated Node #2: [50, 18, 15] from Operation: 90-75=15 Current State: 83:[50, 18, 15], Operations: ['90-75=15'] Exploring Operation: 50+18=68, Resulting Numbers: [15, 68] Generated Node #3: [15, 68] from Operation: 50+18=68 Current State: 83:[15, 68], Operations: ['90-75=15', '50+18=68'] Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[90, 75, 50, 18], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [75, 50, 72] Generated Node #0,0: 83:[75, 50, 72] Operation: 90-18=72 Exploring Operation: 50+18=68, Resulting Numbers: [90, 75, 68] Generated Node #0,1: 83:[90, 75, 68] Operation: 50+18=68 Exploring Operation: 75+18=93, Resulting Numbers: [90, 50, 93] Generated Node #0,2: 83:[90, 50, 93] Operation: 75+18=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[90, 75, 68], Operations: ['50+18=68'] Exploring Operation: 90-75=15, Resulting Numbers: [68, 15] Generated Node #0,1,0: 83:[68, 15] Operation: 90-75=15 Exploring Operation: 90-68=22, Resulting Numbers: [75, 22] Generated Node #0,1,1: 83:[75, 22] Operation: 90-68=22 Exploring Operation: 75+68=143, Resulting Numbers: [90, 143] Generated Node #0,1,2: 83:[90, 143] Operation: 75+68=143 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[90, 143], Operations: ['50+18=68', '75+68=143'] Exploring Operation: 143-90=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 90*143=12870, Resulting Numbers: [12870] 12870,83 unequal: No Solution Exploring Operation: 90+143=233, Resulting Numbers: [233] 233,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[75, 22], Operations: ['50+18=68', '90-68=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,83 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[68, 15], Operations: ['50+18=68', '90-75=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[90, 75, 50, 18], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [90, 75, 68] Generated Node #0,1: 83:[90, 75, 68] Operation: 50+18=68 Moving to Node #0,1 Current State: 83:[90, 75, 68], Operations: ['50+18=68'] Exploring Operation: 90-75=15, Resulting Numbers: [68, 15] Generated Node #0,1,0: 83:[68, 15] Operation: 90-75=15 Moving to Node #0,1,0 Current State: 83:[68, 15], Operations: ['50+18=68', '90-75=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 69, 10, 66, 56 ]
44
[ "56-10=46", "66*46=3036", "3036/69=44" ]
Current State: 44:[69, 10, 66, 56], Operations: [] Exploring Operation: 56-10=46, Resulting Numbers: [69, 66, 46] Generated Node #2: [69, 66, 46] from Operation: 56-10=46 Current State: 44:[69, 66, 46], Operations: ['56-10=46'] Exploring Operation: 66*46=3036, Resulting Numbers: [69, 3036] Generated Node #3: [69, 3036] from Operation: 66*46=3036 Current State: 44:[69, 3036], Operations: ['56-10=46', '66*46=3036'] Exploring Operation: 3036/69=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[69, 10, 66, 56], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [10, 56, 3] Generated Node #0,0: 44:[10, 56, 3] Operation: 69-66=3 Exploring Operation: 69-56=13, Resulting Numbers: [10, 66, 13] Generated Node #0,1: 44:[10, 66, 13] Operation: 69-56=13 Exploring Operation: 66-56=10, Resulting Numbers: [69, 10, 10] Generated Node #0,2: 44:[69, 10, 10] Operation: 66-56=10 Exploring Operation: 69-10=59, Resulting Numbers: [66, 56, 59] Generated Node #0,3: 44:[66, 56, 59] Operation: 69-10=59 Moving to Node #0,0 Current State: 44:[10, 56, 3], Operations: ['69-66=3'] Exploring Operation: 56-10=46, Resulting Numbers: [3, 46] Generated Node #0,0,0: 44:[3, 46] Operation: 56-10=46 Exploring Operation: 56-3=53, Resulting Numbers: [10, 53] Generated Node #0,0,1: 44:[10, 53] Operation: 56-3=53 Exploring Operation: 10+3=13, Resulting Numbers: [56, 13] Generated Node #0,0,2: 44:[56, 13] Operation: 10+3=13 Exploring Operation: 10-3=7, Resulting Numbers: [56, 7] Generated Node #0,0,3: 44:[56, 7] Operation: 10-3=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[3, 46], Operations: ['69-66=3', '56-10=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[10, 53], Operations: ['69-66=3', '56-3=53'] Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,44 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[56, 13], Operations: ['69-66=3', '10+3=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[56, 7], Operations: ['69-66=3', '10-3=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,44 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: 44:[10, 66, 13], Operations: ['69-56=13'] Exploring Operation: 13-10=3, Resulting Numbers: [66, 3] Generated Node #0,1,0: 44:[66, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [66, 23] Generated Node #0,1,1: 44:[66, 23] Operation: 10+13=23 Exploring Operation: 66-13=53, Resulting Numbers: [10, 53] Generated Node #0,1,2: 44:[10, 53] Operation: 66-13=53 Exploring Operation: 66-10=56, Resulting Numbers: [13, 56] Generated Node #0,1,3: 44:[13, 56] Operation: 66-10=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[10, 53], Operations: ['69-56=13', '66-13=53'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,44 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[13, 56], Operations: ['69-56=13', '66-10=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,44 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[66, 3], Operations: ['69-56=13', '13-10=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[66, 23], Operations: ['69-56=13', '10+13=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,44 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,44 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: 44:[69, 10, 10], Operations: ['66-56=10'] Exploring Operation: 10+10=20, Resulting Numbers: [69, 20] Generated Node #0,2,0: 44:[69, 20] Operation: 10+10=20 Exploring Operation: 69-10=59, Resulting Numbers: [10, 59] Generated Node #0,2,1: 44:[10, 59] Operation: 69-10=59 Exploring Operation: 10/10=1, Resulting Numbers: [69, 1] Generated Node #0,2,2: 44:[69, 1] Operation: 10/10=1 Exploring Operation: 69-10=59, Resulting Numbers: [10, 59] Generated Node #0,2,3: 44:[10, 59] Operation: 69-10=59 Moving to Node #0,3 Current State: 44:[66, 56, 59], Operations: ['69-10=59'] Exploring Operation: 66-59=7, Resulting Numbers: [56, 7] Generated Node #0,3,0: 44:[56, 7] Operation: 66-59=7 Exploring Operation: 66-56=10, Resulting Numbers: [59, 10] Generated Node #0,3,1: 44:[59, 10] Operation: 66-56=10 Exploring Operation: 59-56=3, Resulting Numbers: [66, 3] Generated Node #0,3,2: 44:[66, 3] Operation: 59-56=3 Exploring Operation: 66+56=122, Resulting Numbers: [59, 122] Generated Node #0,3,3: 44:[59, 122] Operation: 66+56=122 Moving to Node #0,3,0 Current State: 44:[56, 7], Operations: ['69-10=59', '66-59=7'] Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,44 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[59, 10], Operations: ['69-10=59', '66-56=10'] Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[10, 59], Operations: ['66-56=10', '69-10=59'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[10, 59], Operations: ['66-56=10', '69-10=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[66, 3], Operations: ['69-10=59', '59-56=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,44 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[69, 1], Operations: ['66-56=10', '10/10=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[69, 20], Operations: ['66-56=10', '10+10=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,44 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,44 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[59, 122], Operations: ['69-10=59', '66+56=122'] Exploring Operation: 59*122=7198, Resulting Numbers: [7198] 7198,44 unequal: No Solution Exploring Operation: 122-59=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 59+122=181, Resulting Numbers: [181] 181,44 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 92, 6, 75 ]
86
[ "92-26=66", "66/6=11", "75+11=86" ]
Current State: 86:[26, 92, 6, 75], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [6, 75, 66] Generated Node #2: [6, 75, 66] from Operation: 92-26=66 Current State: 86:[6, 75, 66], Operations: ['92-26=66'] Exploring Operation: 66/6=11, Resulting Numbers: [75, 11] Generated Node #3: [75, 11] from Operation: 66/6=11 Current State: 86:[75, 11], Operations: ['92-26=66', '66/6=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[26, 92, 6, 75], Operations: [] Exploring Operation: 26+75=101, Resulting Numbers: [92, 6, 101] Generated Node #0,0: 86:[92, 6, 101] Operation: 26+75=101 Exploring Operation: 26+6=32, Resulting Numbers: [92, 75, 32] Generated Node #0,1: 86:[92, 75, 32] Operation: 26+6=32 Exploring Operation: 6+75=81, Resulting Numbers: [26, 92, 81] Generated Node #0,2: 86:[26, 92, 81] Operation: 6+75=81 Exploring Operation: 92-6=86, Resulting Numbers: [26, 75, 86] Generated Node #0,3: 86:[26, 75, 86] Operation: 92-6=86 Exploring Operation: 75-26=49, Resulting Numbers: [92, 6, 49] Generated Node #0,4: 86:[92, 6, 49] Operation: 75-26=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[92, 6, 49], Operations: ['75-26=49'] Exploring Operation: 49-6=43, Resulting Numbers: [92, 43] Generated Node #0,4,0: 86:[92, 43] Operation: 49-6=43 Exploring Operation: 92-6=86, Resulting Numbers: [49, 86] Generated Node #0,4,1: 86:[49, 86] Operation: 92-6=86 Exploring Operation: 92-49=43, Resulting Numbers: [6, 43] Generated Node #0,4,2: 86:[6, 43] Operation: 92-49=43 Exploring Operation: 6+49=55, Resulting Numbers: [92, 55] Generated Node #0,4,3: 86:[92, 55] Operation: 6+49=55 Exploring Operation: 92+6=98, Resulting Numbers: [49, 98] Generated Node #0,4,4: 86:[49, 98] Operation: 92+6=98 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 86:[6, 43], Operations: ['75-26=49', '92-49=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,86 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 86:[92, 43], Operations: ['75-26=49', '49-6=43'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 86:[49, 86], Operations: ['75-26=49', '92-6=86'] Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,86 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 86:[92, 55], Operations: ['75-26=49', '6+49=55'] Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,86 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,86 unequal: No Solution Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 86:[49, 98], Operations: ['75-26=49', '92+6=98'] Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,86 unequal: No Solution Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,86 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[92, 6, 101], Operations: ['26+75=101'] Exploring Operation: 6+101=107, Resulting Numbers: [92, 107] Generated Node #0,0,0: 86:[92, 107] Operation: 6+101=107 Exploring Operation: 92+6=98, Resulting Numbers: [101, 98] Generated Node #0,0,1: 86:[101, 98] Operation: 92+6=98 Exploring Operation: 101-6=95, Resulting Numbers: [92, 95] Generated Node #0,0,2: 86:[92, 95] Operation: 101-6=95 Exploring Operation: 92-6=86, Resulting Numbers: [101, 86] Generated Node #0,0,3: 86:[101, 86] Operation: 92-6=86 Exploring Operation: 101-92=9, Resulting Numbers: [6, 9] Generated Node #0,0,4: 86:[6, 9] Operation: 101-92=9 Moving to Node #0,0,4 Current State: 86:[6, 9], Operations: ['26+75=101', '101-92=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[101, 86], Operations: ['26+75=101', '92-6=86'] Exploring Operation: 101-86=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 101+86=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 101*86=8686, Resulting Numbers: [8686] 8686,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[92, 95], Operations: ['26+75=101', '101-6=95'] Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 92+95=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 92*95=8740, Resulting Numbers: [8740] 8740,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[92, 107], Operations: ['26+75=101', '6+101=107'] Exploring Operation: 92*107=9844, Resulting Numbers: [9844] 9844,86 unequal: No Solution Exploring Operation: 107-92=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 92+107=199, Resulting Numbers: [199] 199,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[101, 98], Operations: ['26+75=101', '92+6=98'] Exploring Operation: 101+98=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 101*98=9898, Resulting Numbers: [9898] 9898,86 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[92, 75, 32], Operations: ['26+6=32'] Exploring Operation: 75-32=43, Resulting Numbers: [92, 43] Generated Node #0,1,0: 86:[92, 43] Operation: 75-32=43 Exploring Operation: 92-32=60, Resulting Numbers: [75, 60] Generated Node #0,1,1: 86:[75, 60] Operation: 92-32=60 Exploring Operation: 92-75=17, Resulting Numbers: [32, 17] Generated Node #0,1,2: 86:[32, 17] Operation: 92-75=17 Exploring Operation: 75+32=107, Resulting Numbers: [92, 107] Generated Node #0,1,3: 86:[92, 107] Operation: 75+32=107 Exploring Operation: 92+32=124, Resulting Numbers: [75, 124] Generated Node #0,1,4: 86:[75, 124] Operation: 92+32=124 Moving to Node #0,1,0 Current State: 86:[92, 43], Operations: ['26+6=32', '75-32=43'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[32, 17], Operations: ['26+6=32', '92-75=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[92, 107], Operations: ['26+6=32', '75+32=107'] Exploring Operation: 107-92=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 92+107=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 92*107=9844, Resulting Numbers: [9844] 9844,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[75, 60], Operations: ['26+6=32', '92-32=60'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 75*60=4500, Resulting Numbers: [4500] 4500,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[75, 124], Operations: ['26+6=32', '92+32=124'] Exploring Operation: 75+124=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 124-75=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 75*124=9300, Resulting Numbers: [9300] 9300,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[26, 92, 81], Operations: ['6+75=81'] Exploring Operation: 26+92=118, Resulting Numbers: [81, 118] Generated Node #0,2,0: 86:[81, 118] Operation: 26+92=118 Exploring Operation: 92-26=66, Resulting Numbers: [81, 66] Generated Node #0,2,1: 86:[81, 66] Operation: 92-26=66 Exploring Operation: 92-81=11, Resulting Numbers: [26, 11] Generated Node #0,2,2: 86:[26, 11] Operation: 92-81=11 Exploring Operation: 26+81=107, Resulting Numbers: [92, 107] Generated Node #0,2,3: 86:[92, 107] Operation: 26+81=107 Exploring Operation: 81-26=55, Resulting Numbers: [92, 55] Generated Node #0,2,4: 86:[92, 55] Operation: 81-26=55 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 86:[92, 55], Operations: ['6+75=81', '81-26=55'] Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,86 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[81, 66], Operations: ['6+75=81', '92-26=66'] Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,86 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[26, 11], Operations: ['6+75=81', '92-81=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[92, 107], Operations: ['6+75=81', '26+81=107'] Exploring Operation: 107-92=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 92*107=9844, Resulting Numbers: [9844] 9844,86 unequal: No Solution Exploring Operation: 92+107=199, Resulting Numbers: [199] 199,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[81, 118], Operations: ['6+75=81', '26+92=118'] Exploring Operation: 81+118=199, Resulting Numbers: [199] 199,86 unequal: No Solution Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 81*118=9558, Resulting Numbers: [9558] 9558,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[26, 75, 86], Operations: ['92-6=86'] Exploring Operation: 86-26=60, Resulting Numbers: [75, 60] Generated Node #0,3,0: 86:[75, 60] Operation: 86-26=60 Exploring Operation: 26+86=112, Resulting Numbers: [75, 112] Generated Node #0,3,1: 86:[75, 112] Operation: 26+86=112 Exploring Operation: 75-26=49, Resulting Numbers: [86, 49] Generated Node #0,3,2: 86:[86, 49] Operation: 75-26=49 Exploring Operation: 86-75=11, Resulting Numbers: [26, 11] Generated Node #0,3,3: 86:[26, 11] Operation: 86-75=11 Exploring Operation: 26+75=101, Resulting Numbers: [86, 101] Generated Node #0,3,4: 86:[86, 101] Operation: 26+75=101 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 86:[86, 49], Operations: ['92-6=86', '75-26=49'] Exploring Operation: 86*49=4214, Resulting Numbers: [4214] 4214,86 unequal: No Solution Exploring Operation: 86+49=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 86:[86, 101], Operations: ['92-6=86', '26+75=101'] Exploring Operation: 101-86=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 86+101=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 86*101=8686, Resulting Numbers: [8686] 8686,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 86:[26, 11], Operations: ['92-6=86', '86-75=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,86 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 86:[75, 60], Operations: ['92-6=86', '86-26=60'] Exploring Operation: 75*60=4500, Resulting Numbers: [4500] 4500,86 unequal: No Solution Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 86:[75, 112], Operations: ['92-6=86', '26+86=112'] Exploring Operation: 75*112=8400, Resulting Numbers: [8400] 8400,86 unequal: No Solution Exploring Operation: 75+112=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 112-75=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 29, 15, 60, 12 ]
39
[ "29+15=44", "60/12=5", "44-5=39" ]
Current State: 39:[29, 15, 60, 12], Operations: [] Exploring Operation: 29+15=44, Resulting Numbers: [60, 12, 44] Generated Node #2: [60, 12, 44] from Operation: 29+15=44 Current State: 39:[60, 12, 44], Operations: ['29+15=44'] Exploring Operation: 60/12=5, Resulting Numbers: [44, 5] Generated Node #3: [44, 5] from Operation: 60/12=5 Current State: 39:[44, 5], Operations: ['29+15=44', '60/12=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[29, 15, 60, 12], Operations: [] Exploring Operation: 60-29=31, Resulting Numbers: [15, 12, 31] Generated Node #0,0: 39:[15, 12, 31] Operation: 60-29=31 Exploring Operation: 60/15=4, Resulting Numbers: [29, 12, 4] Generated Node #0,1: 39:[29, 12, 4] Operation: 60/15=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[15, 12, 31], Operations: ['60-29=31'] Exploring Operation: 12+31=43, Resulting Numbers: [15, 43] Generated Node #0,0,0: 39:[15, 43] Operation: 12+31=43 Exploring Operation: 31-15=16, Resulting Numbers: [12, 16] Generated Node #0,0,1: 39:[12, 16] Operation: 31-15=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[12, 16], Operations: ['60-29=31', '31-15=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,39 unequal: No Solution No 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: 39:[15, 43], Operations: ['60-29=31', '12+31=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,39 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,39 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: 39:[29, 12, 4], Operations: ['60/15=4'] Exploring Operation: 29-12=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 39:[4, 17] Operation: 29-12=17 Exploring Operation: 29+12=41, Resulting Numbers: [4, 41] Generated Node #0,1,1: 39:[4, 41] Operation: 29+12=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[4, 41], Operations: ['60/15=4', '29+12=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,39 unequal: No Solution No 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: 39:[4, 17], Operations: ['60/15=4', '29-12=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,39 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, 16, 60, 41 ]
60
[ "16-16=0", "41*0=0", "60+0=60" ]
Current State: 60:[16, 16, 60, 41], Operations: [] Exploring Operation: 16-16=0, Resulting Numbers: [60, 41, 0] Generated Node #2: [60, 41, 0] from Operation: 16-16=0 Current State: 60:[60, 41, 0], Operations: ['16-16=0'] Exploring Operation: 41*0=0, Resulting Numbers: [60, 0] Generated Node #3: [60, 0] from Operation: 41*0=0 Current State: 60:[60, 0], Operations: ['16-16=0', '41*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[16, 16, 60, 41], Operations: [] Exploring Operation: 16+41=57, Resulting Numbers: [16, 60, 57] Generated Node #0,0: 60:[16, 60, 57] Operation: 16+41=57 Exploring Operation: 16+41=57, Resulting Numbers: [16, 60, 57] Generated Node #0,1: 60:[16, 60, 57] Operation: 16+41=57 Exploring Operation: 60-41=19, Resulting Numbers: [16, 16, 19] Generated Node #0,2: 60:[16, 16, 19] Operation: 60-41=19 Exploring Operation: 41-16=25, Resulting Numbers: [16, 60, 25] Generated Node #0,3: 60:[16, 60, 25] Operation: 41-16=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[16, 16, 19], Operations: ['60-41=19'] Exploring Operation: 16+16=32, Resulting Numbers: [19, 32] Generated Node #0,2,0: 60:[19, 32] Operation: 16+16=32 Exploring Operation: 16/16=1, Resulting Numbers: [19, 1] Generated Node #0,2,1: 60:[19, 1] Operation: 16/16=1 Exploring Operation: 19-16=3, Resulting Numbers: [16, 3] Generated Node #0,2,2: 60:[16, 3] Operation: 19-16=3 Exploring Operation: 19-16=3, Resulting Numbers: [16, 3] Generated Node #0,2,3: 60:[16, 3] Operation: 19-16=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[16, 3], Operations: ['60-41=19', '19-16=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[16, 3], Operations: ['60-41=19', '19-16=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[19, 1], Operations: ['60-41=19', '16/16=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[19, 32], Operations: ['60-41=19', '16+16=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,60 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[16, 60, 57], Operations: ['16+41=57'] Exploring Operation: 60-16=44, Resulting Numbers: [57, 44] Generated Node #0,0,0: 60:[57, 44] Operation: 60-16=44 Exploring Operation: 16+57=73, Resulting Numbers: [60, 73] Generated Node #0,0,1: 60:[60, 73] Operation: 16+57=73 Exploring Operation: 60-57=3, Resulting Numbers: [16, 3] Generated Node #0,0,2: 60:[16, 3] Operation: 60-57=3 Exploring Operation: 57-16=41, Resulting Numbers: [60, 41] Generated Node #0,0,3: 60:[60, 41] Operation: 57-16=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[16, 3], Operations: ['16+41=57', '60-57=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[60, 41], Operations: ['16+41=57', '57-16=41'] Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,60 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[60, 73], Operations: ['16+41=57', '16+57=73'] Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,60 unequal: No Solution Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[57, 44], Operations: ['16+41=57', '60-16=44'] Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,60 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,60 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[16, 60, 57], Operations: ['16+41=57'] Exploring Operation: 60-16=44, Resulting Numbers: [57, 44] Generated Node #0,1,0: 60:[57, 44] Operation: 60-16=44 Exploring Operation: 60-57=3, Resulting Numbers: [16, 3] Generated Node #0,1,1: 60:[16, 3] Operation: 60-57=3 Exploring Operation: 57-16=41, Resulting Numbers: [60, 41] Generated Node #0,1,2: 60:[60, 41] Operation: 57-16=41 Exploring Operation: 16+57=73, Resulting Numbers: [60, 73] Generated Node #0,1,3: 60:[60, 73] Operation: 16+57=73 Moving to Node #0,1,1 Current State: 60:[16, 3], Operations: ['16+41=57', '60-57=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[60, 41], Operations: ['16+41=57', '57-16=41'] Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,60 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[60, 73], Operations: ['16+41=57', '16+57=73'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,60 unequal: No Solution Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[57, 44], Operations: ['16+41=57', '60-16=44'] Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,60 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,60 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,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,3 Current State: 60:[16, 60, 25], Operations: ['41-16=25'] Exploring Operation: 60-25=35, Resulting Numbers: [16, 35] Generated Node #0,3,0: 60:[16, 35] Operation: 60-25=35 Exploring Operation: 60-16=44, Resulting Numbers: [25, 44] Generated Node #0,3,1: 60:[25, 44] Operation: 60-16=44 Exploring Operation: 16+25=41, Resulting Numbers: [60, 41] Generated Node #0,3,2: 60:[60, 41] Operation: 16+25=41 Exploring Operation: 25-16=9, Resulting Numbers: [60, 9] Generated Node #0,3,3: 60:[60, 9] Operation: 25-16=9 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 60:[60, 9], Operations: ['41-16=25', '25-16=9'] Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[16, 35], Operations: ['41-16=25', '60-25=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,60 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[60, 41], Operations: ['41-16=25', '16+25=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,60 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[25, 44], Operations: ['41-16=25', '60-16=44'] Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,60 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 22, 87, 45 ]
29
[ "20+22=42", "45-42=3", "87/3=29" ]
Current State: 29:[20, 22, 87, 45], Operations: [] Exploring Operation: 20+22=42, Resulting Numbers: [87, 45, 42] Generated Node #2: [87, 45, 42] from Operation: 20+22=42 Current State: 29:[87, 45, 42], Operations: ['20+22=42'] Exploring Operation: 45-42=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 45-42=3 Current State: 29:[87, 3], Operations: ['20+22=42', '45-42=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 22, 87, 45], Operations: [] Exploring Operation: 45-22=23, Resulting Numbers: [20, 87, 23] Generated Node #0,0: 29:[20, 87, 23] Operation: 45-22=23 Exploring Operation: 87-45=42, Resulting Numbers: [20, 22, 42] Generated Node #0,1: 29:[20, 22, 42] Operation: 87-45=42 Exploring Operation: 45-20=25, Resulting Numbers: [22, 87, 25] Generated Node #0,2: 29:[22, 87, 25] Operation: 45-20=25 Exploring Operation: 87-20=67, Resulting Numbers: [22, 45, 67] Generated Node #0,3: 29:[22, 45, 67] Operation: 87-20=67 Exploring Operation: 87-22=65, Resulting Numbers: [20, 45, 65] Generated Node #0,4: 29:[20, 45, 65] Operation: 87-22=65 Moving to Node #0,1 Current State: 29:[20, 22, 42], Operations: ['87-45=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22, 22] Generated Node #0,1,0: 29:[22, 22] Operation: 42-20=22 Exploring Operation: 20+42=62, Resulting Numbers: [22, 62] Generated Node #0,1,1: 29:[22, 62] Operation: 20+42=62 Exploring Operation: 42-22=20, Resulting Numbers: [20, 20] Generated Node #0,1,2: 29:[20, 20] Operation: 42-22=20 Exploring Operation: 22-20=2, Resulting Numbers: [42, 2] Generated Node #0,1,3: 29:[42, 2] Operation: 22-20=2 Exploring Operation: 20+22=42, Resulting Numbers: [42, 42] Generated Node #0,1,4: 29:[42, 42] Operation: 20+22=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[22, 22], Operations: ['87-45=42', '42-20=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,29 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[20, 20], Operations: ['87-45=42', '42-22=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,29 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[42, 42], Operations: ['87-45=42', '20+22=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[22, 62], Operations: ['87-45=42', '20+42=62'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[42, 2], Operations: ['87-45=42', '22-20=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,29 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: 29:[20, 45, 65], Operations: ['87-22=65'] Exploring Operation: 65-20=45, Resulting Numbers: [45, 45] Generated Node #0,4,0: 29:[45, 45] Operation: 65-20=45 Exploring Operation: 20+45=65, Resulting Numbers: [65, 65] Generated Node #0,4,1: 29:[65, 65] Operation: 20+45=65 Exploring Operation: 20+65=85, Resulting Numbers: [45, 85] Generated Node #0,4,2: 29:[45, 85] Operation: 20+65=85 Exploring Operation: 65-45=20, Resulting Numbers: [20, 20] Generated Node #0,4,3: 29:[20, 20] Operation: 65-45=20 Exploring Operation: 45-20=25, Resulting Numbers: [65, 25] Generated Node #0,4,4: 29:[65, 25] Operation: 45-20=25 Moving to Node #0,3 Current State: 29:[22, 45, 67], Operations: ['87-20=67'] Exploring Operation: 45-22=23, Resulting Numbers: [67, 23] Generated Node #0,3,0: 29:[67, 23] Operation: 45-22=23 Exploring Operation: 22+45=67, Resulting Numbers: [67, 67] Generated Node #0,3,1: 29:[67, 67] Operation: 22+45=67 Exploring Operation: 67-22=45, Resulting Numbers: [45, 45] Generated Node #0,3,2: 29:[45, 45] Operation: 67-22=45 Exploring Operation: 22+67=89, Resulting Numbers: [45, 89] Generated Node #0,3,3: 29:[45, 89] Operation: 22+67=89 Exploring Operation: 67-45=22, Resulting Numbers: [22, 22] Generated Node #0,3,4: 29:[22, 22] Operation: 67-45=22 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 29:[22, 22], Operations: ['87-20=67', '67-45=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,29 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[45, 45], Operations: ['87-20=67', '67-22=45'] Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[67, 23], Operations: ['87-20=67', '45-22=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,29 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[67, 67], Operations: ['87-20=67', '22+45=67'] Exploring Operation: 67/67=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 67-67=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 67*67=4489, Resulting Numbers: [4489] 4489,29 unequal: No Solution Exploring Operation: 67+67=134, Resulting Numbers: [134] 134,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[45, 89], Operations: ['87-20=67', '22+67=89'] Exploring Operation: 45*89=4005, Resulting Numbers: [4005] 4005,29 unequal: No Solution Exploring Operation: 45+89=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 29:[22, 87, 25], Operations: ['45-20=25'] Exploring Operation: 25-22=3, Resulting Numbers: [87, 3] Generated Node #0,2,0: 29:[87, 3] Operation: 25-22=3 Exploring Operation: 87-22=65, Resulting Numbers: [25, 65] Generated Node #0,2,1: 29:[25, 65] Operation: 87-22=65 Exploring Operation: 22+25=47, Resulting Numbers: [87, 47] Generated Node #0,2,2: 29:[87, 47] Operation: 22+25=47 Exploring Operation: 22+87=109, Resulting Numbers: [25, 109] Generated Node #0,2,3: 29:[25, 109] Operation: 22+87=109 Exploring Operation: 87-25=62, Resulting Numbers: [22, 62] Generated Node #0,2,4: 29:[22, 62] Operation: 87-25=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[25, 65], Operations: ['45-20=25', '87-22=65'] Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,29 unequal: No Solution Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 29:[22, 62], Operations: ['45-20=25', '87-25=62'] Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[87, 47], Operations: ['45-20=25', '22+25=47'] Exploring Operation: 87*47=4089, Resulting Numbers: [4089] 4089,29 unequal: No Solution Exploring Operation: 87+47=134, Resulting Numbers: [134] 134,29 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[87, 3], Operations: ['45-20=25', '25-22=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[20, 22, 87, 45], Operations: [] Exploring Operation: 45-20=25, Resulting Numbers: [22, 87, 25] Generated Node #0,2: 29:[22, 87, 25] Operation: 45-20=25 Moving to Node #0,2 Current State: 29:[22, 87, 25], Operations: ['45-20=25'] Exploring Operation: 25-22=3, Resulting Numbers: [87, 3] Generated Node #0,2,0: 29:[87, 3] Operation: 25-22=3 Moving to Node #0,2,0 Current State: 29:[87, 3], Operations: ['45-20=25', '25-22=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 73, 65, 33, 1 ]
24
[ "73-65=8", "33-1=32", "32-8=24" ]
Current State: 24:[73, 65, 33, 1], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [33, 1, 8] Generated Node #2: [33, 1, 8] from Operation: 73-65=8 Current State: 24:[33, 1, 8], Operations: ['73-65=8'] Exploring Operation: 33-1=32, Resulting Numbers: [8, 32] Generated Node #3: [8, 32] from Operation: 33-1=32 Current State: 24:[8, 32], Operations: ['73-65=8', '33-1=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[73, 65, 33, 1], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [33, 1, 8] Generated Node #0,0: 24:[33, 1, 8] Operation: 73-65=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[33, 1, 8], Operations: ['73-65=8'] Exploring Operation: 33-8=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 24:[1, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[1, 25], Operations: ['73-65=8', '33-8=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[73, 65, 33, 1], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [33, 1, 8] Generated Node #0,0: 24:[33, 1, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 24:[33, 1, 8], Operations: ['73-65=8'] Exploring Operation: 33-8=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 24:[1, 25] Operation: 33-8=25 Moving to Node #0,0,0 Current State: 24:[1, 25], Operations: ['73-65=8', '33-8=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 52, 34, 85, 24 ]
43
[ "52-34=18", "85-24=61", "61-18=43" ]
Current State: 43:[52, 34, 85, 24], Operations: [] Exploring Operation: 52-34=18, Resulting Numbers: [85, 24, 18] Generated Node #2: [85, 24, 18] from Operation: 52-34=18 Current State: 43:[85, 24, 18], Operations: ['52-34=18'] Exploring Operation: 85-24=61, Resulting Numbers: [18, 61] Generated Node #3: [18, 61] from Operation: 85-24=61 Current State: 43:[18, 61], Operations: ['52-34=18', '85-24=61'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[52, 34, 85, 24], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [34, 24, 33] Generated Node #0,0: 43:[34, 24, 33] Operation: 85-52=33 Exploring Operation: 52-24=28, Resulting Numbers: [34, 85, 28] Generated Node #0,1: 43:[34, 85, 28] Operation: 52-24=28 Exploring Operation: 85-24=61, Resulting Numbers: [52, 34, 61] Generated Node #0,2: 43:[52, 34, 61] Operation: 85-24=61 Exploring Operation: 85-34=51, Resulting Numbers: [52, 24, 51] Generated Node #0,3: 43:[52, 24, 51] Operation: 85-34=51 Moving to Node #0,2 Current State: 43:[52, 34, 61], Operations: ['85-24=61'] Exploring Operation: 52+34=86, Resulting Numbers: [61, 86] Generated Node #0,2,0: 43:[61, 86] Operation: 52+34=86 Exploring Operation: 61-34=27, Resulting Numbers: [52, 27] Generated Node #0,2,1: 43:[52, 27] Operation: 61-34=27 Exploring Operation: 61-52=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 43:[34, 9] Operation: 61-52=9 Exploring Operation: 52-34=18, Resulting Numbers: [61, 18] Generated Node #0,2,3: 43:[61, 18] Operation: 52-34=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[52, 27], Operations: ['85-24=61', '61-34=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,43 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[34, 9], Operations: ['85-24=61', '61-52=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[52, 34, 85, 24], Operations: [] Exploring Operation: 85-24=61, Resulting Numbers: [52, 34, 61] Generated Node #0,2: 43:[52, 34, 61] Operation: 85-24=61 Moving to Node #0,2 Current State: 43:[52, 34, 61], Operations: ['85-24=61'] Exploring Operation: 61-52=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 43:[34, 9] Operation: 61-52=9 Moving to Node #0,2,2 Current State: 43:[34, 9], Operations: ['85-24=61', '61-52=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 67, 11, 40, 96 ]
80
[ "67-11=56", "40+96=136", "136-56=80" ]
Current State: 80:[67, 11, 40, 96], Operations: [] Exploring Operation: 67-11=56, Resulting Numbers: [40, 96, 56] Generated Node #2: [40, 96, 56] from Operation: 67-11=56 Current State: 80:[40, 96, 56], Operations: ['67-11=56'] Exploring Operation: 40+96=136, Resulting Numbers: [56, 136] Generated Node #3: [56, 136] from Operation: 40+96=136 Current State: 80:[56, 136], Operations: ['67-11=56', '40+96=136'] Exploring Operation: 136-56=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[67, 11, 40, 96], Operations: [] Exploring Operation: 96-11=85, Resulting Numbers: [67, 40, 85] Generated Node #0,0: 80:[67, 40, 85] Operation: 96-11=85 Exploring Operation: 67-40=27, Resulting Numbers: [11, 96, 27] Generated Node #0,1: 80:[11, 96, 27] Operation: 67-40=27 Exploring Operation: 96-67=29, Resulting Numbers: [11, 40, 29] Generated Node #0,2: 80:[11, 40, 29] Operation: 96-67=29 Exploring Operation: 67+11=78, Resulting Numbers: [40, 96, 78] Generated Node #0,3: 80:[40, 96, 78] Operation: 67+11=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[11, 40, 29], Operations: ['96-67=29'] Exploring Operation: 40+29=69, Resulting Numbers: [11, 69] Generated Node #0,2,0: 80:[11, 69] Operation: 40+29=69 Exploring Operation: 29-11=18, Resulting Numbers: [40, 18] Generated Node #0,2,1: 80:[40, 18] Operation: 29-11=18 Exploring Operation: 40-29=11, Resulting Numbers: [11, 11] Generated Node #0,2,2: 80:[11, 11] Operation: 40-29=11 Exploring Operation: 11+29=40, Resulting Numbers: [40, 40] Generated Node #0,2,3: 80:[40, 40] Operation: 11+29=40 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[40, 40], Operations: ['96-67=29', '11+29=40'] Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[67, 11, 40, 96], Operations: [] Exploring Operation: 96-67=29, Resulting Numbers: [11, 40, 29] Generated Node #0,2: 80:[11, 40, 29] Operation: 96-67=29 Moving to Node #0,2 Current State: 80:[11, 40, 29], Operations: ['96-67=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40, 40] Generated Node #0,2,3: 80:[40, 40] Operation: 11+29=40 Moving to Node #0,2,3 Current State: 80:[40, 40], Operations: ['96-67=29', '11+29=40'] Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 56, 62, 46, 25 ]
77
[ "62-56=6", "46+25=71", "6+71=77" ]
Current State: 77:[56, 62, 46, 25], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [46, 25, 6] Generated Node #2: [46, 25, 6] from Operation: 62-56=6 Current State: 77:[46, 25, 6], Operations: ['62-56=6'] Exploring Operation: 46+25=71, Resulting Numbers: [6, 71] Generated Node #3: [6, 71] from Operation: 46+25=71 Current State: 77:[6, 71], Operations: ['62-56=6', '46+25=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[56, 62, 46, 25], Operations: [] Exploring Operation: 46+25=71, Resulting Numbers: [56, 62, 71] Generated Node #0,0: 77:[56, 62, 71] Operation: 46+25=71 Exploring Operation: 56-46=10, Resulting Numbers: [62, 25, 10] Generated Node #0,1: 77:[62, 25, 10] Operation: 56-46=10 Exploring Operation: 62-56=6, Resulting Numbers: [46, 25, 6] Generated Node #0,2: 77:[46, 25, 6] Operation: 62-56=6 Exploring Operation: 46-25=21, Resulting Numbers: [56, 62, 21] Generated Node #0,3: 77:[56, 62, 21] Operation: 46-25=21 Exploring Operation: 62-46=16, Resulting Numbers: [56, 25, 16] Generated Node #0,4: 77:[56, 25, 16] Operation: 62-46=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[62, 25, 10], Operations: ['56-46=10'] Exploring Operation: 62-10=52, Resulting Numbers: [25, 52] Generated Node #0,1,0: 77:[25, 52] Operation: 62-10=52 Exploring Operation: 25-10=15, Resulting Numbers: [62, 15] Generated Node #0,1,1: 77:[62, 15] Operation: 25-10=15 Exploring Operation: 62-25=37, Resulting Numbers: [10, 37] Generated Node #0,1,2: 77:[10, 37] Operation: 62-25=37 Exploring Operation: 62+25=87, Resulting Numbers: [10, 87] Generated Node #0,1,3: 77:[10, 87] Operation: 62+25=87 Exploring Operation: 62+10=72, Resulting Numbers: [25, 72] Generated Node #0,1,4: 77:[25, 72] Operation: 62+10=72 Moving to Node #0,1,3 Current State: 77:[10, 87], Operations: ['56-46=10', '62+25=87'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[56, 62, 46, 25], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [62, 25, 10] Generated Node #0,1: 77:[62, 25, 10] Operation: 56-46=10 Moving to Node #0,1 Current State: 77:[62, 25, 10], Operations: ['56-46=10'] Exploring Operation: 62+25=87, Resulting Numbers: [10, 87] Generated Node #0,1,3: 77:[10, 87] Operation: 62+25=87 Moving to Node #0,1,3 Current State: 77:[10, 87], Operations: ['56-46=10', '62+25=87'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 8, 6, 46, 35 ]
40
[ "46-6=40", "40/8=5", "35+5=40" ]
Current State: 40:[8, 6, 46, 35], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [8, 35, 40] Generated Node #2: [8, 35, 40] from Operation: 46-6=40 Current State: 40:[8, 35, 40], Operations: ['46-6=40'] Exploring Operation: 40/8=5, Resulting Numbers: [35, 5] Generated Node #3: [35, 5] from Operation: 40/8=5 Current State: 40:[35, 5], Operations: ['46-6=40', '40/8=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 6, 46, 35], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [8, 35, 40] Generated Node #0,0: 40:[8, 35, 40] Operation: 46-6=40 Exploring Operation: 6+35=41, Resulting Numbers: [8, 46, 41] Generated Node #0,1: 40:[8, 46, 41] Operation: 6+35=41 Exploring Operation: 46-35=11, Resulting Numbers: [8, 6, 11] Generated Node #0,2: 40:[8, 6, 11] Operation: 46-35=11 Moving to Node #0,2 Current State: 40:[8, 6, 11], Operations: ['46-35=11'] Exploring Operation: 8-6=2, Resulting Numbers: [11, 2] Generated Node #0,2,0: 40:[11, 2] Operation: 8-6=2 Exploring Operation: 11-6=5, Resulting Numbers: [8, 5] Generated Node #0,2,1: 40:[8, 5] Operation: 11-6=5 Exploring Operation: 8+11=19, Resulting Numbers: [6, 19] Generated Node #0,2,2: 40:[6, 19] Operation: 8+11=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[8, 5], Operations: ['46-35=11', '11-6=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 6, 46, 35], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [8, 6, 11] Generated Node #0,2: 40:[8, 6, 11] Operation: 46-35=11 Moving to Node #0,2 Current State: 40:[8, 6, 11], Operations: ['46-35=11'] Exploring Operation: 11-6=5, Resulting Numbers: [8, 5] Generated Node #0,2,1: 40:[8, 5] Operation: 11-6=5 Moving to Node #0,2,1 Current State: 40:[8, 5], Operations: ['46-35=11', '11-6=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 70, 52, 54, 92 ]
24
[ "70+52=122", "54+92=146", "146-122=24" ]
Current State: 24:[70, 52, 54, 92], Operations: [] Exploring Operation: 70+52=122, Resulting Numbers: [54, 92, 122] Generated Node #2: [54, 92, 122] from Operation: 70+52=122 Current State: 24:[54, 92, 122], Operations: ['70+52=122'] Exploring Operation: 54+92=146, Resulting Numbers: [122, 146] Generated Node #3: [122, 146] from Operation: 54+92=146 Current State: 24:[122, 146], Operations: ['70+52=122', '54+92=146'] Exploring Operation: 146-122=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[70, 52, 54, 92], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [52, 54, 22] Generated Node #0,0: 24:[52, 54, 22] Operation: 92-70=22 Moving to Node #0,0 Current State: 24:[52, 54, 22], Operations: ['92-70=22'] Exploring Operation: 54-52=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 54-52=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['92-70=22', '54-52=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[70, 52, 54, 92], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [52, 54, 22] Generated Node #0,0: 24:[52, 54, 22] Operation: 92-70=22 Moving to Node #0,0 Current State: 24:[52, 54, 22], Operations: ['92-70=22'] Exploring Operation: 54-52=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 54-52=2 Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['92-70=22', '54-52=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 79, 76, 27, 48 ]
57
[ "79-76=3", "27/3=9", "48+9=57" ]
Current State: 57:[79, 76, 27, 48], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [27, 48, 3] Generated Node #2: [27, 48, 3] from Operation: 79-76=3 Current State: 57:[27, 48, 3], Operations: ['79-76=3'] Exploring Operation: 27/3=9, Resulting Numbers: [48, 9] Generated Node #3: [48, 9] from Operation: 27/3=9 Current State: 57:[48, 9], Operations: ['79-76=3', '27/3=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[79, 76, 27, 48], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [76, 48, 52] Generated Node #0,0: 57:[76, 48, 52] Operation: 79-27=52 Exploring Operation: 79-76=3, Resulting Numbers: [27, 48, 3] Generated Node #0,1: 57:[27, 48, 3] Operation: 79-76=3 Moving to Node #0,1 Current State: 57:[27, 48, 3], Operations: ['79-76=3'] Exploring Operation: 48/3=16, Resulting Numbers: [27, 16] Generated Node #0,1,0: 57:[27, 16] Operation: 48/3=16 Exploring Operation: 48-27=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 57:[3, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[3, 21], Operations: ['79-76=3', '48-27=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,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,1,0 Current State: 57:[27, 16], Operations: ['79-76=3', '48/3=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,57 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: 57:[76, 48, 52], Operations: ['79-27=52'] Exploring Operation: 76-52=24, Resulting Numbers: [48, 24] Generated Node #0,0,0: 57:[48, 24] Operation: 76-52=24 Exploring Operation: 76-48=28, Resulting Numbers: [52, 28] Generated Node #0,0,1: 57:[52, 28] Operation: 76-48=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[48, 24], Operations: ['79-27=52', '76-52=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[52, 28], Operations: ['79-27=52', '76-48=28'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,57 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
[ 66, 5, 61, 80 ]
17
[ "66-61=5", "5+80=85", "85/5=17" ]
Current State: 17:[66, 5, 61, 80], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [5, 80, 5] Generated Node #2: [5, 80, 5] from Operation: 66-61=5 Current State: 17:[5, 80, 5], Operations: ['66-61=5'] Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,17 equal: Goal Reached Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[66, 5, 61, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [66, 61, 16] Generated Node #0,0: 17:[66, 61, 16] Operation: 80/5=16 Exploring Operation: 80-66=14, Resulting Numbers: [5, 61, 14] Generated Node #0,1: 17:[5, 61, 14] Operation: 80-66=14 Exploring Operation: 66-61=5, Resulting Numbers: [5, 80, 5] Generated Node #0,2: 17:[5, 80, 5] Operation: 66-61=5 Exploring Operation: 80-61=19, Resulting Numbers: [66, 5, 19] Generated Node #0,3: 17:[66, 5, 19] Operation: 80-61=19 Moving to Node #0,1 Current State: 17:[5, 61, 14], Operations: ['80-66=14'] Exploring Operation: 5+14=19, Resulting Numbers: [61, 19] Generated Node #0,1,0: 17:[61, 19] Operation: 5+14=19 Exploring Operation: 61-5=56, Resulting Numbers: [14, 56] Generated Node #0,1,1: 17:[14, 56] Operation: 61-5=56 Exploring Operation: 61-14=47, Resulting Numbers: [5, 47] Generated Node #0,1,2: 17:[5, 47] Operation: 61-14=47 Exploring Operation: 5+61=66, Resulting Numbers: [14, 66] Generated Node #0,1,3: 17:[14, 66] Operation: 5+61=66 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[14, 56], Operations: ['80-66=14', '61-5=56'] Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,17 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[5, 47], Operations: ['80-66=14', '61-14=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,17 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[61, 19], Operations: ['80-66=14', '5+14=19'] Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,17 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[14, 66], Operations: ['80-66=14', '5+61=66'] Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,17 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: 17:[66, 5, 19], Operations: ['80-61=19'] Exploring Operation: 19-5=14, Resulting Numbers: [66, 14] Generated Node #0,3,0: 17:[66, 14] Operation: 19-5=14 Exploring Operation: 66+5=71, Resulting Numbers: [19, 71] Generated Node #0,3,1: 17:[19, 71] Operation: 66+5=71 Exploring Operation: 66-19=47, Resulting Numbers: [5, 47] Generated Node #0,3,2: 17:[5, 47] Operation: 66-19=47 Exploring Operation: 66-5=61, Resulting Numbers: [19, 61] Generated Node #0,3,3: 17:[19, 61] Operation: 66-5=61 Moving to Node #0,2 Current State: 17:[5, 80, 5], Operations: ['66-61=5'] Exploring Operation: 80-5=75, Resulting Numbers: [5, 75] Generated Node #0,2,0: 17:[5, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [5, 16] Generated Node #0,2,1: 17:[5, 16] Operation: 80/5=16 Exploring Operation: 80/5=16, Resulting Numbers: [5, 16] Generated Node #0,2,2: 17:[5, 16] Operation: 80/5=16 Exploring Operation: 5+5=10, Resulting Numbers: [80, 10] Generated Node #0,2,3: 17:[80, 10] Operation: 5+5=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[5, 16], Operations: ['66-61=5', '80/5=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[5, 16], Operations: ['66-61=5', '80/5=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[5, 75], Operations: ['66-61=5', '80-5=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,17 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[80, 10], Operations: ['66-61=5', '5+5=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,17 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,17 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: 17:[66, 61, 16], Operations: ['80/5=16'] Exploring Operation: 66+16=82, Resulting Numbers: [61, 82] Generated Node #0,0,0: 17:[61, 82] Operation: 66+16=82 Exploring Operation: 66-61=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 17:[16, 5] Operation: 66-61=5 Exploring Operation: 66-16=50, Resulting Numbers: [61, 50] Generated Node #0,0,2: 17:[61, 50] Operation: 66-16=50 Exploring Operation: 61-16=45, Resulting Numbers: [66, 45] Generated Node #0,0,3: 17:[66, 45] Operation: 61-16=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[16, 5], Operations: ['80/5=16', '66-61=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[61, 50], Operations: ['80/5=16', '66-16=50'] Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 61+50=111, Resulting Numbers: [111] 111,17 unequal: No Solution Exploring Operation: 61*50=3050, Resulting Numbers: [3050] 3050,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[66, 45], Operations: ['80/5=16', '61-16=45'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,17 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[61, 82], Operations: ['80/5=16', '66+16=82'] Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 61+82=143, Resulting Numbers: [143] 143,17 unequal: No Solution Exploring Operation: 61*82=5002, Resulting Numbers: [5002] 5002,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 17:[5, 47], Operations: ['80-61=19', '66-19=47'] Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,17 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[19, 61], Operations: ['80-61=19', '66-5=61'] Exploring Operation: 19*61=1159, Resulting Numbers: [1159] 1159,17 unequal: No Solution Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 19+61=80, Resulting Numbers: [80] 80,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[66, 14], Operations: ['80-61=19', '19-5=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,17 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[19, 71], Operations: ['80-61=19', '66+5=71'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,17 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 60, 28, 62 ]
46
[ "60-28=32", "32/2=16", "62-16=46" ]
Current State: 46:[2, 60, 28, 62], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [2, 62, 32] Generated Node #2: [2, 62, 32] from Operation: 60-28=32 Current State: 46:[2, 62, 32], Operations: ['60-28=32'] Exploring Operation: 32/2=16, Resulting Numbers: [62, 16] Generated Node #3: [62, 16] from Operation: 32/2=16 Current State: 46:[62, 16], Operations: ['60-28=32', '32/2=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[2, 60, 28, 62], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [2, 62, 32] Generated Node #0,0: 46:[2, 62, 32] Operation: 60-28=32 Exploring Operation: 62-28=34, Resulting Numbers: [2, 60, 34] Generated Node #0,1: 46:[2, 60, 34] Operation: 62-28=34 Exploring Operation: 62-60=2, Resulting Numbers: [2, 28, 2] Generated Node #0,2: 46:[2, 28, 2] Operation: 62-60=2 Moving to Node #0,2 Current State: 46:[2, 28, 2], Operations: ['62-60=2'] Exploring Operation: 2/2=1, Resulting Numbers: [28, 1] Generated Node #0,2,0: 46:[28, 1] Operation: 2/2=1 Exploring Operation: 28-2=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 46:[2, 26] Operation: 28-2=26 Exploring Operation: 28-2=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 46:[2, 26] Operation: 28-2=26 Moving to Node #0,0 Current State: 46:[2, 62, 32], Operations: ['60-28=32'] Exploring Operation: 62-32=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 46:[2, 30] Operation: 62-32=30 Exploring Operation: 62/2=31, Resulting Numbers: [32, 31] Generated Node #0,0,1: 46:[32, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [32, 60] Generated Node #0,0,2: 46:[32, 60] Operation: 62-2=60 Moving to Node #0,1 Current State: 46:[2, 60, 34], Operations: ['62-28=34'] Exploring Operation: 60/2=30, Resulting Numbers: [34, 30] Generated Node #0,1,0: 46:[34, 30] Operation: 60/2=30 Exploring Operation: 60-34=26, Resulting Numbers: [2, 26] Generated Node #0,1,1: 46:[2, 26] Operation: 60-34=26 Exploring Operation: 34/2=17, Resulting Numbers: [60, 17] Generated Node #0,1,2: 46:[60, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[2, 26], Operations: ['62-28=34', '60-34=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[34, 30], Operations: ['62-28=34', '60/2=30'] Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,46 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[60, 17], Operations: ['62-28=34', '34/2=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,46 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: 46:[2, 26], Operations: ['62-60=2', '28-2=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[2, 26], Operations: ['62-60=2', '28-2=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[28, 1], Operations: ['62-60=2', '2/2=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[2, 30], Operations: ['60-28=32', '62-32=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[32, 31], Operations: ['60-28=32', '62/2=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[32, 60], Operations: ['60-28=32', '62-2=60'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,46 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 18, 37, 57 ]
42
[ "40-18=22", "57-37=20", "22+20=42" ]
Current State: 42:[40, 18, 37, 57], Operations: [] Exploring Operation: 40-18=22, Resulting Numbers: [37, 57, 22] Generated Node #2: [37, 57, 22] from Operation: 40-18=22 Current State: 42:[37, 57, 22], Operations: ['40-18=22'] Exploring Operation: 57-37=20, Resulting Numbers: [22, 20] Generated Node #3: [22, 20] from Operation: 57-37=20 Current State: 42:[22, 20], Operations: ['40-18=22', '57-37=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[40, 18, 37, 57], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [40, 18, 20] Generated Node #0,0: 42:[40, 18, 20] Operation: 57-37=20 Exploring Operation: 57-40=17, Resulting Numbers: [18, 37, 17] Generated Node #0,1: 42:[18, 37, 17] Operation: 57-40=17 Exploring Operation: 57-18=39, Resulting Numbers: [40, 37, 39] Generated Node #0,2: 42:[40, 37, 39] Operation: 57-18=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[40, 18, 20], Operations: ['57-37=20'] Exploring Operation: 20-18=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 42:[40, 2] Operation: 20-18=2 Exploring Operation: 40/20=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 42:[18, 2] Operation: 40/20=2 Exploring Operation: 40-18=22, Resulting Numbers: [20, 22] Generated Node #0,0,2: 42:[20, 22] Operation: 40-18=22 Moving to Node #0,0,0 Current State: 42:[40, 2], Operations: ['57-37=20', '20-18=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[40, 18, 37, 57], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [40, 18, 20] Generated Node #0,0: 42:[40, 18, 20] Operation: 57-37=20 Moving to Node #0,0 Current State: 42:[40, 18, 20], Operations: ['57-37=20'] Exploring Operation: 20-18=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 42:[40, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 42:[40, 2], Operations: ['57-37=20', '20-18=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 16, 69, 39, 32 ]
46
[ "69-16=53", "39-32=7", "53-7=46" ]
Current State: 46:[16, 69, 39, 32], Operations: [] Exploring Operation: 69-16=53, Resulting Numbers: [39, 32, 53] Generated Node #2: [39, 32, 53] from Operation: 69-16=53 Current State: 46:[39, 32, 53], Operations: ['69-16=53'] Exploring Operation: 39-32=7, Resulting Numbers: [53, 7] Generated Node #3: [53, 7] from Operation: 39-32=7 Current State: 46:[53, 7], Operations: ['69-16=53', '39-32=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[16, 69, 39, 32], Operations: [] Exploring Operation: 69-32=37, Resulting Numbers: [16, 39, 37] Generated Node #0,0: 46:[16, 39, 37] Operation: 69-32=37 Exploring Operation: 69-16=53, Resulting Numbers: [39, 32, 53] Generated Node #0,1: 46:[39, 32, 53] Operation: 69-16=53 Exploring Operation: 32/16=2, Resulting Numbers: [69, 39, 2] Generated Node #0,2: 46:[69, 39, 2] Operation: 32/16=2 Exploring Operation: 69-39=30, Resulting Numbers: [16, 32, 30] Generated Node #0,3: 46:[16, 32, 30] Operation: 69-39=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[16, 39, 37], Operations: ['69-32=37'] Exploring Operation: 39-16=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 46:[37, 23] Operation: 39-16=23 Exploring Operation: 39-37=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 46:[16, 2] Operation: 39-37=2 Exploring Operation: 37-16=21, Resulting Numbers: [39, 21] Generated Node #0,0,2: 46:[39, 21] Operation: 37-16=21 Exploring Operation: 16+37=53, Resulting Numbers: [39, 53] Generated Node #0,0,3: 46:[39, 53] Operation: 16+37=53 Moving to Node #0,0,1 Current State: 46:[16, 2], Operations: ['69-32=37', '39-37=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[39, 21], Operations: ['69-32=37', '37-16=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[37, 23], Operations: ['69-32=37', '39-16=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[39, 53], Operations: ['69-32=37', '16+37=53'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[39, 32, 53], Operations: ['69-16=53'] Exploring Operation: 53-32=21, Resulting Numbers: [39, 21] Generated Node #0,1,0: 46:[39, 21] Operation: 53-32=21 Exploring Operation: 39+32=71, Resulting Numbers: [53, 71] Generated Node #0,1,1: 46:[53, 71] Operation: 39+32=71 Exploring Operation: 39-32=7, Resulting Numbers: [53, 7] Generated Node #0,1,2: 46:[53, 7] Operation: 39-32=7 Exploring Operation: 53-39=14, Resulting Numbers: [32, 14] Generated Node #0,1,3: 46:[32, 14] Operation: 53-39=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[39, 21], Operations: ['69-16=53', '53-32=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,46 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[53, 7], Operations: ['69-16=53', '39-32=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[16, 69, 39, 32], Operations: [] Exploring Operation: 69-16=53, Resulting Numbers: [39, 32, 53] Generated Node #0,1: 46:[39, 32, 53] Operation: 69-16=53 Moving to Node #0,1 Current State: 46:[39, 32, 53], Operations: ['69-16=53'] Exploring Operation: 39-32=7, Resulting Numbers: [53, 7] Generated Node #0,1,2: 46:[53, 7] Operation: 39-32=7 Moving to Node #0,1,2 Current State: 46:[53, 7], Operations: ['69-16=53', '39-32=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 77, 26, 8, 24 ]
100
[ "77+26=103", "24/8=3", "103-3=100" ]
Current State: 100:[77, 26, 8, 24], Operations: [] Exploring Operation: 77+26=103, Resulting Numbers: [8, 24, 103] Generated Node #2: [8, 24, 103] from Operation: 77+26=103 Current State: 100:[8, 24, 103], Operations: ['77+26=103'] Exploring Operation: 24/8=3, Resulting Numbers: [103, 3] Generated Node #3: [103, 3] from Operation: 24/8=3 Current State: 100:[103, 3], Operations: ['77+26=103', '24/8=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[77, 26, 8, 24], Operations: [] Exploring Operation: 77+26=103, Resulting Numbers: [8, 24, 103] Generated Node #0,0: 100:[8, 24, 103] Operation: 77+26=103 Exploring Operation: 77-26=51, Resulting Numbers: [8, 24, 51] Generated Node #0,1: 100:[8, 24, 51] Operation: 77-26=51 Exploring Operation: 77+24=101, Resulting Numbers: [26, 8, 101] Generated Node #0,2: 100:[26, 8, 101] Operation: 77+24=101 Moving to Node #0,1 Current State: 100:[8, 24, 51], Operations: ['77-26=51'] Exploring Operation: 24/8=3, Resulting Numbers: [51, 3] Generated Node #0,1,0: 100:[51, 3] Operation: 24/8=3 Exploring Operation: 51-24=27, Resulting Numbers: [8, 27] Generated Node #0,1,1: 100:[8, 27] Operation: 51-24=27 Exploring Operation: 24-8=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 100:[51, 16] Operation: 24-8=16 Moving to Node #0,2 Current State: 100:[26, 8, 101], Operations: ['77+24=101'] Exploring Operation: 26+8=34, Resulting Numbers: [101, 34] Generated Node #0,2,0: 100:[101, 34] Operation: 26+8=34 Exploring Operation: 26-8=18, Resulting Numbers: [101, 18] Generated Node #0,2,1: 100:[101, 18] Operation: 26-8=18 Exploring Operation: 101-8=93, Resulting Numbers: [26, 93] Generated Node #0,2,2: 100:[26, 93] Operation: 101-8=93 Moving to Node #0,0 Current State: 100:[8, 24, 103], Operations: ['77+26=103'] Exploring Operation: 24/8=3, Resulting Numbers: [103, 3] Generated Node #0,0,0: 100:[103, 3] Operation: 24/8=3 Exploring Operation: 103-8=95, Resulting Numbers: [24, 95] Generated Node #0,0,1: 100:[24, 95] Operation: 103-8=95 Exploring Operation: 24-8=16, Resulting Numbers: [103, 16] Generated Node #0,0,2: 100:[103, 16] Operation: 24-8=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[103, 3], Operations: ['77+26=103', '24/8=3'] Exploring Operation: 103+3=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[77, 26, 8, 24], Operations: [] Exploring Operation: 77+26=103, Resulting Numbers: [8, 24, 103] Generated Node #0,0: 100:[8, 24, 103] Operation: 77+26=103 Moving to Node #0,0 Current State: 100:[8, 24, 103], Operations: ['77+26=103'] Exploring Operation: 24/8=3, Resulting Numbers: [103, 3] Generated Node #0,0,0: 100:[103, 3] Operation: 24/8=3 Moving to Node #0,0,0 Current State: 100:[103, 3], Operations: ['77+26=103', '24/8=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 46, 7, 80, 40 ]
80
[ "46-7=39", "40-39=1", "80*1=80" ]
Current State: 80:[46, 7, 80, 40], Operations: [] Exploring Operation: 46-7=39, Resulting Numbers: [80, 40, 39] Generated Node #2: [80, 40, 39] from Operation: 46-7=39 Current State: 80:[80, 40, 39], Operations: ['46-7=39'] Exploring Operation: 40-39=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 40-39=1 Current State: 80:[80, 1], Operations: ['46-7=39', '40-39=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[46, 7, 80, 40], Operations: [] Exploring Operation: 46-7=39, Resulting Numbers: [80, 40, 39] Generated Node #0,0: 80:[80, 40, 39] Operation: 46-7=39 Exploring Operation: 46+40=86, Resulting Numbers: [7, 80, 86] Generated Node #0,1: 80:[7, 80, 86] Operation: 46+40=86 Exploring Operation: 46-40=6, Resulting Numbers: [7, 80, 6] Generated Node #0,2: 80:[7, 80, 6] Operation: 46-40=6 Exploring Operation: 80-46=34, Resulting Numbers: [7, 40, 34] Generated Node #0,3: 80:[7, 40, 34] Operation: 80-46=34 Exploring Operation: 80-40=40, Resulting Numbers: [46, 7, 40] Generated Node #0,4: 80:[46, 7, 40] Operation: 80-40=40 Moving to Node #0,0 Current State: 80:[80, 40, 39], Operations: ['46-7=39'] Exploring Operation: 80/40=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 80:[39, 2] Operation: 80/40=2 Exploring Operation: 40-39=1, Resulting Numbers: [80, 1] Generated Node #0,0,1: 80:[80, 1] Operation: 40-39=1 Exploring Operation: 40+39=79, Resulting Numbers: [80, 79] Generated Node #0,0,2: 80:[80, 79] Operation: 40+39=79 Exploring Operation: 80-40=40, Resulting Numbers: [39, 40] Generated Node #0,0,3: 80:[39, 40] Operation: 80-40=40 Exploring Operation: 80-39=41, Resulting Numbers: [40, 41] Generated Node #0,0,4: 80:[40, 41] Operation: 80-39=41 Moving to Node #0,2 Current State: 80:[7, 80, 6], Operations: ['46-40=6'] Exploring Operation: 7-6=1, Resulting Numbers: [80, 1] Generated Node #0,2,0: 80:[80, 1] Operation: 7-6=1 Exploring Operation: 80+6=86, Resulting Numbers: [7, 86] Generated Node #0,2,1: 80:[7, 86] Operation: 80+6=86 Exploring Operation: 80-6=74, Resulting Numbers: [7, 74] Generated Node #0,2,2: 80:[7, 74] Operation: 80-6=74 Exploring Operation: 7+6=13, Resulting Numbers: [80, 13] Generated Node #0,2,3: 80:[80, 13] Operation: 7+6=13 Exploring Operation: 7*6=42, Resulting Numbers: [80, 42] Generated Node #0,2,4: 80:[80, 42] Operation: 7*6=42 Moving to Node #0,1 Current State: 80:[7, 80, 86], Operations: ['46+40=86'] Exploring Operation: 80-7=73, Resulting Numbers: [86, 73] Generated Node #0,1,0: 80:[86, 73] Operation: 80-7=73 Exploring Operation: 86-80=6, Resulting Numbers: [7, 6] Generated Node #0,1,1: 80:[7, 6] Operation: 86-80=6 Exploring Operation: 86-7=79, Resulting Numbers: [80, 79] Generated Node #0,1,2: 80:[80, 79] Operation: 86-7=79 Exploring Operation: 7+80=87, Resulting Numbers: [86, 87] Generated Node #0,1,3: 80:[86, 87] Operation: 7+80=87 Exploring Operation: 7+86=93, Resulting Numbers: [80, 93] Generated Node #0,1,4: 80:[80, 93] Operation: 7+86=93 Moving to Node #0,3 Current State: 80:[7, 40, 34], Operations: ['80-46=34'] Exploring Operation: 34-7=27, Resulting Numbers: [40, 27] Generated Node #0,3,0: 80:[40, 27] Operation: 34-7=27 Exploring Operation: 7+40=47, Resulting Numbers: [34, 47] Generated Node #0,3,1: 80:[34, 47] Operation: 7+40=47 Exploring Operation: 40+34=74, Resulting Numbers: [7, 74] Generated Node #0,3,2: 80:[7, 74] Operation: 40+34=74 Exploring Operation: 7+34=41, Resulting Numbers: [40, 41] Generated Node #0,3,3: 80:[40, 41] Operation: 7+34=41 Exploring Operation: 40-34=6, Resulting Numbers: [7, 6] Generated Node #0,3,4: 80:[7, 6] Operation: 40-34=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[40, 41], Operations: ['80-46=34', '7+34=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 40*41=1640, Resulting Numbers: [1640] 1640,80 unequal: No Solution Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,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,3,4 Current State: 80:[7, 6], Operations: ['80-46=34', '40-34=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,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,3,0 Current State: 80:[40, 27], Operations: ['80-46=34', '34-7=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,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,3,2 Current State: 80:[7, 74], Operations: ['80-46=34', '40+34=74'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,80 unequal: No Solution Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,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,3,1 Current State: 80:[34, 47], Operations: ['80-46=34', '7+40=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,80 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 80:[46, 7, 40], Operations: ['80-40=40'] Exploring Operation: 46+7=53, Resulting Numbers: [40, 53] Generated Node #0,4,0: 80:[40, 53] Operation: 46+7=53 Exploring Operation: 7+40=47, Resulting Numbers: [46, 47] Generated Node #0,4,1: 80:[46, 47] Operation: 7+40=47 Exploring Operation: 46-40=6, Resulting Numbers: [7, 6] Generated Node #0,4,2: 80:[7, 6] Operation: 46-40=6 Exploring Operation: 46+40=86, Resulting Numbers: [7, 86] Generated Node #0,4,3: 80:[7, 86] Operation: 46+40=86 Exploring Operation: 46-7=39, Resulting Numbers: [40, 39] Generated Node #0,4,4: 80:[40, 39] Operation: 46-7=39 Moving to Node #0,0,0 Current State: 80:[39, 2], Operations: ['46-7=39', '80/40=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[80, 79], Operations: ['46-7=39', '40+39=79'] Exploring Operation: 80*79=6320, Resulting Numbers: [6320] 6320,80 unequal: No Solution Exploring Operation: 80+79=159, Resulting Numbers: [159] 159,80 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[80, 1], Operations: ['46-40=6', '7-6=1'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[46, 7, 80, 40], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [7, 80, 6] Generated Node #0,2: 80:[7, 80, 6] Operation: 46-40=6 Moving to Node #0,2 Current State: 80:[7, 80, 6], Operations: ['46-40=6'] Exploring Operation: 7-6=1, Resulting Numbers: [80, 1] Generated Node #0,2,0: 80:[80, 1] Operation: 7-6=1 Moving to Node #0,2,0 Current State: 80:[80, 1], Operations: ['46-40=6', '7-6=1'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.951389
hs_5
sum_heuristic
[ 9, 33, 70, 60 ]
32
[ "9+33=42", "70-60=10", "42-10=32" ]
Current State: 32:[9, 33, 70, 60], Operations: [] Exploring Operation: 9+33=42, Resulting Numbers: [70, 60, 42] Generated Node #2: [70, 60, 42] from Operation: 9+33=42 Current State: 32:[70, 60, 42], Operations: ['9+33=42'] Exploring Operation: 70-60=10, Resulting Numbers: [42, 10] Generated Node #3: [42, 10] from Operation: 70-60=10 Current State: 32:[42, 10], Operations: ['9+33=42', '70-60=10'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[9, 33, 70, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [9, 33, 10] Generated Node #0,0: 32:[9, 33, 10] Operation: 70-60=10 Exploring Operation: 70-33=37, Resulting Numbers: [9, 60, 37] Generated Node #0,1: 32:[9, 60, 37] Operation: 70-33=37 Moving to Node #0,0 Current State: 32:[9, 33, 10], Operations: ['70-60=10'] Exploring Operation: 10-9=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 32:[33, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [33, 19] Generated Node #0,0,1: 32:[33, 19] Operation: 9+10=19 Moving to Node #0,1 Current State: 32:[9, 60, 37], Operations: ['70-33=37'] Exploring Operation: 60-37=23, Resulting Numbers: [9, 23] Generated Node #0,1,0: 32:[9, 23] Operation: 60-37=23 Exploring Operation: 60-9=51, Resulting Numbers: [37, 51] Generated Node #0,1,1: 32:[37, 51] Operation: 60-9=51 Moving to Node #0,0,0 Current State: 32:[33, 1], Operations: ['70-60=10', '10-9=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[9, 33, 70, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [9, 33, 10] Generated Node #0,0: 32:[9, 33, 10] Operation: 70-60=10 Moving to Node #0,0 Current State: 32:[9, 33, 10], Operations: ['70-60=10'] Exploring Operation: 10-9=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 32:[33, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 32:[33, 1], Operations: ['70-60=10', '10-9=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 31, 87, 94, 3 ]
34
[ "94-31=63", "87/3=29", "63-29=34" ]
Current State: 34:[31, 87, 94, 3], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [87, 3, 63] Generated Node #2: [87, 3, 63] from Operation: 94-31=63 Current State: 34:[87, 3, 63], Operations: ['94-31=63'] Exploring Operation: 87/3=29, Resulting Numbers: [63, 29] Generated Node #3: [63, 29] from Operation: 87/3=29 Current State: 34:[63, 29], Operations: ['94-31=63', '87/3=29'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 87, 94, 3], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [94, 3, 56] Generated Node #0,0: 34:[94, 3, 56] Operation: 87-31=56 Exploring Operation: 94-87=7, Resulting Numbers: [31, 3, 7] Generated Node #0,1: 34:[31, 3, 7] Operation: 94-87=7 Exploring Operation: 87/3=29, Resulting Numbers: [31, 94, 29] Generated Node #0,2: 34:[31, 94, 29] Operation: 87/3=29 Moving to Node #0,1 Current State: 34:[31, 3, 7], Operations: ['94-87=7'] Exploring Operation: 31+3=34, Resulting Numbers: [7, 34] Generated Node #0,1,0: 34:[7, 34] Operation: 31+3=34 Exploring Operation: 31+7=38, Resulting Numbers: [3, 38] Generated Node #0,1,1: 34:[3, 38] Operation: 31+7=38 Exploring Operation: 7-3=4, Resulting Numbers: [31, 4] Generated Node #0,1,2: 34:[31, 4] Operation: 7-3=4 Moving to Node #0,2 Current State: 34:[31, 94, 29], Operations: ['87/3=29'] Exploring Operation: 94-29=65, Resulting Numbers: [31, 65] Generated Node #0,2,0: 34:[31, 65] Operation: 94-29=65 Exploring Operation: 94-31=63, Resulting Numbers: [29, 63] Generated Node #0,2,1: 34:[29, 63] Operation: 94-31=63 Exploring Operation: 31-29=2, Resulting Numbers: [94, 2] Generated Node #0,2,2: 34:[94, 2] Operation: 31-29=2 Moving to Node #0,0 Current State: 34:[94, 3, 56], Operations: ['87-31=56'] Exploring Operation: 56-3=53, Resulting Numbers: [94, 53] Generated Node #0,0,0: 34:[94, 53] Operation: 56-3=53 Exploring Operation: 94-56=38, Resulting Numbers: [3, 38] Generated Node #0,0,1: 34:[3, 38] Operation: 94-56=38 Exploring Operation: 94-3=91, Resulting Numbers: [56, 91] Generated Node #0,0,2: 34:[56, 91] Operation: 94-3=91 Moving to Node #0,1,0 Current State: 34:[7, 34], Operations: ['94-87=7', '31+3=34'] Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,34 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[31, 4], Operations: ['94-87=7', '7-3=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[3, 38], Operations: ['87-31=56', '94-56=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[3, 38], Operations: ['94-87=7', '31+7=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[29, 63], Operations: ['87/3=29', '94-31=63'] Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,34 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[31, 87, 94, 3], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [31, 94, 29] Generated Node #0,2: 34:[31, 94, 29] Operation: 87/3=29 Moving to Node #0,2 Current State: 34:[31, 94, 29], Operations: ['87/3=29'] Exploring Operation: 94-31=63, Resulting Numbers: [29, 63] Generated Node #0,2,1: 34:[29, 63] Operation: 94-31=63 Moving to Node #0,2,1 Current State: 34:[29, 63], Operations: ['87/3=29', '94-31=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 45, 71, 75, 2 ]
47
[ "71-45=26", "75-2=73", "73-26=47" ]
Current State: 47:[45, 71, 75, 2], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [75, 2, 26] Generated Node #2: [75, 2, 26] from Operation: 71-45=26 Current State: 47:[75, 2, 26], Operations: ['71-45=26'] Exploring Operation: 75-2=73, Resulting Numbers: [26, 73] Generated Node #3: [26, 73] from Operation: 75-2=73 Current State: 47:[26, 73], Operations: ['71-45=26', '75-2=73'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[45, 71, 75, 2], Operations: [] Exploring Operation: 45+2=47, Resulting Numbers: [71, 75, 47] Generated Node #0,0: 47:[71, 75, 47] Operation: 45+2=47 Exploring Operation: 45-2=43, Resulting Numbers: [71, 75, 43] Generated Node #0,1: 47:[71, 75, 43] Operation: 45-2=43 Exploring Operation: 75-2=73, Resulting Numbers: [45, 71, 73] Generated Node #0,2: 47:[45, 71, 73] Operation: 75-2=73 Exploring Operation: 71+2=73, Resulting Numbers: [45, 75, 73] Generated Node #0,3: 47:[45, 75, 73] Operation: 71+2=73 Exploring Operation: 71-2=69, Resulting Numbers: [45, 75, 69] Generated Node #0,4: 47:[45, 75, 69] Operation: 71-2=69 Moving to Node #0,0 Current State: 47:[71, 75, 47], Operations: ['45+2=47'] Exploring Operation: 71+47=118, Resulting Numbers: [75, 118] Generated Node #0,0,0: 47:[75, 118] Operation: 71+47=118 Exploring Operation: 71+75=146, Resulting Numbers: [47, 146] Generated Node #0,0,1: 47:[47, 146] Operation: 71+75=146 Exploring Operation: 75-71=4, Resulting Numbers: [47, 4] Generated Node #0,0,2: 47:[47, 4] Operation: 75-71=4 Exploring Operation: 75-47=28, Resulting Numbers: [71, 28] Generated Node #0,0,3: 47:[71, 28] Operation: 75-47=28 Exploring Operation: 71-47=24, Resulting Numbers: [75, 24] Generated Node #0,0,4: 47:[75, 24] Operation: 71-47=24 Moving to Node #0,4 Current State: 47:[45, 75, 69], Operations: ['71-2=69'] Exploring Operation: 75-45=30, Resulting Numbers: [69, 30] Generated Node #0,4,0: 47:[69, 30] Operation: 75-45=30 Exploring Operation: 45+75=120, Resulting Numbers: [69, 120] Generated Node #0,4,1: 47:[69, 120] Operation: 45+75=120 Exploring Operation: 75-69=6, Resulting Numbers: [45, 6] Generated Node #0,4,2: 47:[45, 6] Operation: 75-69=6 Exploring Operation: 45+69=114, Resulting Numbers: [75, 114] Generated Node #0,4,3: 47:[75, 114] Operation: 45+69=114 Exploring Operation: 69-45=24, Resulting Numbers: [75, 24] Generated Node #0,4,4: 47:[75, 24] Operation: 69-45=24 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[69, 30], Operations: ['71-2=69', '75-45=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,47 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 47:[45, 6], Operations: ['71-2=69', '75-69=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,47 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 47:[75, 24], Operations: ['71-2=69', '69-45=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 47:[69, 120], Operations: ['71-2=69', '45+75=120'] Exploring Operation: 69+120=189, Resulting Numbers: [189] 189,47 unequal: No Solution Exploring Operation: 120-69=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 69*120=8280, Resulting Numbers: [8280] 8280,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 47:[75, 114], Operations: ['71-2=69', '45+69=114'] Exploring Operation: 114-75=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 75+114=189, Resulting Numbers: [189] 189,47 unequal: No Solution Exploring Operation: 75*114=8550, Resulting Numbers: [8550] 8550,47 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: 47:[45, 71, 73], Operations: ['75-2=73'] Exploring Operation: 71-45=26, Resulting Numbers: [73, 26] Generated Node #0,2,0: 47:[73, 26] Operation: 71-45=26 Exploring Operation: 45+71=116, Resulting Numbers: [73, 116] Generated Node #0,2,1: 47:[73, 116] Operation: 45+71=116 Exploring Operation: 73-45=28, Resulting Numbers: [71, 28] Generated Node #0,2,2: 47:[71, 28] Operation: 73-45=28 Exploring Operation: 73-71=2, Resulting Numbers: [45, 2] Generated Node #0,2,3: 47:[45, 2] Operation: 73-71=2 Exploring Operation: 45+73=118, Resulting Numbers: [71, 118] Generated Node #0,2,4: 47:[71, 118] Operation: 45+73=118 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[71, 28], Operations: ['75-2=73', '73-45=28'] Exploring Operation: 71*28=1988, Resulting Numbers: [1988] 1988,47 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 71+28=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[73, 26], Operations: ['75-2=73', '71-45=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[45, 71, 75, 2], Operations: [] Exploring Operation: 75-2=73, Resulting Numbers: [45, 71, 73] Generated Node #0,2: 47:[45, 71, 73] Operation: 75-2=73 Moving to Node #0,2 Current State: 47:[45, 71, 73], Operations: ['75-2=73'] Exploring Operation: 71-45=26, Resulting Numbers: [73, 26] Generated Node #0,2,0: 47:[73, 26] Operation: 71-45=26 Moving to Node #0,2,0 Current State: 47:[73, 26], Operations: ['75-2=73', '71-45=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 2, 50, 39, 25 ]
86
[ "2*50=100", "39-25=14", "100-14=86" ]
Current State: 86:[2, 50, 39, 25], Operations: [] Exploring Operation: 2*50=100, Resulting Numbers: [39, 25, 100] Generated Node #2: [39, 25, 100] from Operation: 2*50=100 Current State: 86:[39, 25, 100], Operations: ['2*50=100'] Exploring Operation: 39-25=14, Resulting Numbers: [100, 14] Generated Node #3: [100, 14] from Operation: 39-25=14 Current State: 86:[100, 14], Operations: ['2*50=100', '39-25=14'] Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[2, 50, 39, 25], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [2, 39, 2] Generated Node #0,0: 86:[2, 39, 2] Operation: 50/25=2 Exploring Operation: 2*25=50, Resulting Numbers: [50, 39, 50] Generated Node #0,1: 86:[50, 39, 50] Operation: 2*25=50 Exploring Operation: 50+25=75, Resulting Numbers: [2, 39, 75] Generated Node #0,2: 86:[2, 39, 75] Operation: 50+25=75 Moving to Node #0,0 Current State: 86:[2, 39, 2], Operations: ['50/25=2'] Exploring Operation: 39+2=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 86:[2, 41] Operation: 39+2=41 Exploring Operation: 2+39=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 86:[2, 41] Operation: 2+39=41 Exploring Operation: 2/2=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 86:[39, 1] Operation: 2/2=1 Moving to Node #0,2 Current State: 86:[2, 39, 75], Operations: ['50+25=75'] Exploring Operation: 2+75=77, Resulting Numbers: [39, 77] Generated Node #0,2,0: 86:[39, 77] Operation: 2+75=77 Exploring Operation: 75-39=36, Resulting Numbers: [2, 36] Generated Node #0,2,1: 86:[2, 36] Operation: 75-39=36 Exploring Operation: 2+39=41, Resulting Numbers: [75, 41] Generated Node #0,2,2: 86:[75, 41] Operation: 2+39=41 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[2, 36], Operations: ['50+25=75', '75-39=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[39, 77], Operations: ['50+25=75', '2+75=77'] Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,86 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[75, 41], Operations: ['50+25=75', '2+39=41'] Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,86 unequal: No Solution Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,86 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: 86:[50, 39, 50], Operations: ['2*25=50'] Exploring Operation: 50-50=0, Resulting Numbers: [39, 0] Generated Node #0,1,0: 86:[39, 0] Operation: 50-50=0 Exploring Operation: 50/50=1, Resulting Numbers: [39, 1] Generated Node #0,1,1: 86:[39, 1] Operation: 50/50=1 Exploring Operation: 50+39=89, Resulting Numbers: [50, 89] Generated Node #0,1,2: 86:[50, 89] Operation: 50+39=89 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[39, 1], Operations: ['2*25=50', '50/50=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[39, 0], Operations: ['2*25=50', '50-50=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 39*0=0, Resulting Numbers: [0] 0,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[50, 89], Operations: ['2*25=50', '50+39=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,86 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,86 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: 86:[2, 41], Operations: ['50/25=2', '39+2=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[2, 41], Operations: ['50/25=2', '2+39=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[39, 1], Operations: ['50/25=2', '2/2=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,86 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 91, 38, 75, 7 ]
100
[ "91+75=166", "38*7=266", "266-166=100" ]
Current State: 100:[91, 38, 75, 7], Operations: [] Exploring Operation: 91+75=166, Resulting Numbers: [38, 7, 166] Generated Node #2: [38, 7, 166] from Operation: 91+75=166 Current State: 100:[38, 7, 166], Operations: ['91+75=166'] Exploring Operation: 38*7=266, Resulting Numbers: [166, 266] Generated Node #3: [166, 266] from Operation: 38*7=266 Current State: 100:[166, 266], Operations: ['91+75=166', '38*7=266'] Exploring Operation: 266-166=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[91, 38, 75, 7], Operations: [] Exploring Operation: 38+75=113, Resulting Numbers: [91, 7, 113] Generated Node #0,0: 100:[91, 7, 113] Operation: 38+75=113 Exploring Operation: 75-38=37, Resulting Numbers: [91, 7, 37] Generated Node #0,1: 100:[91, 7, 37] Operation: 75-38=37 Exploring Operation: 91-75=16, Resulting Numbers: [38, 7, 16] Generated Node #0,2: 100:[38, 7, 16] Operation: 91-75=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[38, 7, 16], Operations: ['91-75=16'] Exploring Operation: 38+16=54, Resulting Numbers: [7, 54] Generated Node #0,2,0: 100:[7, 54] Operation: 38+16=54 Exploring Operation: 38+7=45, Resulting Numbers: [16, 45] Generated Node #0,2,1: 100:[16, 45] Operation: 38+7=45 Exploring Operation: 38-16=22, Resulting Numbers: [7, 22] Generated Node #0,2,2: 100:[7, 22] Operation: 38-16=22 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[7, 22], Operations: ['91-75=16', '38-16=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,100 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,100 unequal: No Solution No 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: 100:[7, 54], Operations: ['91-75=16', '38+16=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,100 unequal: No Solution No 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: 100:[16, 45], Operations: ['91-75=16', '38+7=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[91, 7, 37], Operations: ['75-38=37'] Exploring Operation: 37-7=30, Resulting Numbers: [91, 30] Generated Node #0,1,0: 100:[91, 30] Operation: 37-7=30 Exploring Operation: 91+7=98, Resulting Numbers: [37, 98] Generated Node #0,1,1: 100:[37, 98] Operation: 91+7=98 Exploring Operation: 91-37=54, Resulting Numbers: [7, 54] Generated Node #0,1,2: 100:[7, 54] Operation: 91-37=54 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[7, 54], Operations: ['75-38=37', '91-37=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,100 unequal: No Solution No 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: 100:[91, 30], Operations: ['75-38=37', '37-7=30'] Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,100 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,100 unequal: No Solution No 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: 100:[37, 98], Operations: ['75-38=37', '91+7=98'] Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,100 unequal: No Solution Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,100 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[91, 7, 113], Operations: ['38+75=113'] Exploring Operation: 91+7=98, Resulting Numbers: [113, 98] Generated Node #0,0,0: 100:[113, 98] Operation: 91+7=98 Exploring Operation: 113-7=106, Resulting Numbers: [91, 106] Generated Node #0,0,1: 100:[91, 106] Operation: 113-7=106 Exploring Operation: 113-91=22, Resulting Numbers: [7, 22] Generated Node #0,0,2: 100:[7, 22] Operation: 113-91=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[7, 22], Operations: ['38+75=113', '113-91=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,100 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,100 unequal: No Solution No 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: 100:[113, 98], Operations: ['38+75=113', '91+7=98'] Exploring Operation: 113*98=11074, Resulting Numbers: [11074] 11074,100 unequal: No Solution Exploring Operation: 113+98=211, Resulting Numbers: [211] 211,100 unequal: No Solution Exploring Operation: 113-98=15, Resulting Numbers: [15] 15,100 unequal: No Solution No 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: 100:[91, 106], Operations: ['38+75=113', '113-7=106'] Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,100 unequal: No Solution Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 11, 5, 97 ]
97
[ "2*5=10", "11-10=1", "97*1=97" ]
Current State: 97:[2, 11, 5, 97], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [11, 97, 10] Generated Node #2: [11, 97, 10] from Operation: 2*5=10 Current State: 97:[11, 97, 10], Operations: ['2*5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 11-10=1 Current State: 97:[97, 1], Operations: ['2*5=10', '11-10=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[2, 11, 5, 97], Operations: [] Exploring Operation: 2+11=13, Resulting Numbers: [5, 97, 13] Generated Node #0,0: 97:[5, 97, 13] Operation: 2+11=13 Exploring Operation: 11*5=55, Resulting Numbers: [2, 97, 55] Generated Node #0,1: 97:[2, 97, 55] Operation: 11*5=55 Exploring Operation: 2*5=10, Resulting Numbers: [11, 97, 10] Generated Node #0,2: 97:[11, 97, 10] Operation: 2*5=10 Exploring Operation: 2*11=22, Resulting Numbers: [5, 97, 22] Generated Node #0,3: 97:[5, 97, 22] Operation: 2*11=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[2, 97, 55], Operations: ['11*5=55'] Exploring Operation: 97-2=95, Resulting Numbers: [55, 95] Generated Node #0,1,0: 97:[55, 95] Operation: 97-2=95 Exploring Operation: 2+55=57, Resulting Numbers: [97, 57] Generated Node #0,1,1: 97:[97, 57] Operation: 2+55=57 Exploring Operation: 2+97=99, Resulting Numbers: [55, 99] Generated Node #0,1,2: 97:[55, 99] Operation: 2+97=99 Exploring Operation: 2*55=110, Resulting Numbers: [97, 110] Generated Node #0,1,3: 97:[97, 110] Operation: 2*55=110 Moving to Node #0,1,3 Current State: 97:[97, 110], Operations: ['11*5=55', '2*55=110'] Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,97 unequal: No Solution Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[97, 57], Operations: ['11*5=55', '2+55=57'] Exploring Operation: 97*57=5529, Resulting Numbers: [5529] 5529,97 unequal: No Solution Exploring Operation: 97+57=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[55, 99], Operations: ['11*5=55', '2+97=99'] Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[55, 95], Operations: ['11*5=55', '97-2=95'] Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 55+95=150, Resulting Numbers: [150] 150,97 unequal: No Solution Exploring Operation: 55*95=5225, Resulting Numbers: [5225] 5225,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[5, 97, 22], Operations: ['2*11=22'] Exploring Operation: 97-5=92, Resulting Numbers: [22, 92] Generated Node #0,3,0: 97:[22, 92] Operation: 97-5=92 Exploring Operation: 5+97=102, Resulting Numbers: [22, 102] Generated Node #0,3,1: 97:[22, 102] Operation: 5+97=102 Exploring Operation: 5+22=27, Resulting Numbers: [97, 27] Generated Node #0,3,2: 97:[97, 27] Operation: 5+22=27 Exploring Operation: 5*22=110, Resulting Numbers: [97, 110] Generated Node #0,3,3: 97:[97, 110] Operation: 5*22=110 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[97, 110], Operations: ['2*11=22', '5*22=110'] Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,97 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[97, 27], Operations: ['2*11=22', '5+22=27'] Exploring Operation: 97+27=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 97*27=2619, Resulting Numbers: [2619] 2619,97 unequal: No Solution Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[22, 92], Operations: ['2*11=22', '97-5=92'] Exploring Operation: 22*92=2024, Resulting Numbers: [2024] 2024,97 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,97 unequal: No Solution Exploring Operation: 22+92=114, Resulting Numbers: [114] 114,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[22, 102], Operations: ['2*11=22', '5+97=102'] Exploring Operation: 22*102=2244, Resulting Numbers: [2244] 2244,97 unequal: No Solution Exploring Operation: 102-22=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 22+102=124, Resulting Numbers: [124] 124,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[11, 97, 10], Operations: ['2*5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [97, 1] Generated Node #0,2,0: 97:[97, 1] Operation: 11-10=1 Exploring Operation: 11*10=110, Resulting Numbers: [97, 110] Generated Node #0,2,1: 97:[97, 110] Operation: 11*10=110 Exploring Operation: 97+10=107, Resulting Numbers: [11, 107] Generated Node #0,2,2: 97:[11, 107] Operation: 97+10=107 Exploring Operation: 11+10=21, Resulting Numbers: [97, 21] Generated Node #0,2,3: 97:[97, 21] Operation: 11+10=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[97, 110], Operations: ['2*5=10', '11*10=110'] Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[97, 21], Operations: ['2*5=10', '11+10=21'] Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[97, 1], Operations: ['2*5=10', '11-10=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[2, 11, 5, 97], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [11, 97, 10] Generated Node #0,2: 97:[11, 97, 10] Operation: 2*5=10 Moving to Node #0,2 Current State: 97:[11, 97, 10], Operations: ['2*5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [97, 1] Generated Node #0,2,0: 97:[97, 1] Operation: 11-10=1 Moving to Node #0,2,0 Current State: 97:[97, 1], Operations: ['2*5=10', '11-10=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 43, 22, 28, 48 ]
11
[ "43+22=65", "28+48=76", "76-65=11" ]
Current State: 11:[43, 22, 28, 48], Operations: [] Exploring Operation: 43+22=65, Resulting Numbers: [28, 48, 65] Generated Node #2: [28, 48, 65] from Operation: 43+22=65 Current State: 11:[28, 48, 65], Operations: ['43+22=65'] Exploring Operation: 28+48=76, Resulting Numbers: [65, 76] Generated Node #3: [65, 76] from Operation: 28+48=76 Current State: 11:[65, 76], Operations: ['43+22=65', '28+48=76'] Exploring Operation: 76-65=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[43, 22, 28, 48], Operations: [] Exploring Operation: 48-22=26, Resulting Numbers: [43, 28, 26] Generated Node #0,0: 11:[43, 28, 26] Operation: 48-22=26 Exploring Operation: 43-22=21, Resulting Numbers: [28, 48, 21] Generated Node #0,1: 11:[28, 48, 21] Operation: 43-22=21 Exploring Operation: 48-43=5, Resulting Numbers: [22, 28, 5] Generated Node #0,2: 11:[22, 28, 5] Operation: 48-43=5 Exploring Operation: 48-28=20, Resulting Numbers: [43, 22, 20] Generated Node #0,3: 11:[43, 22, 20] Operation: 48-28=20 Exploring Operation: 43-28=15, Resulting Numbers: [22, 48, 15] Generated Node #0,4: 11:[22, 48, 15] Operation: 43-28=15 Moving to Node #0,2 Current State: 11:[22, 28, 5], Operations: ['48-43=5'] Exploring Operation: 22-5=17, Resulting Numbers: [28, 17] Generated Node #0,2,0: 11:[28, 17] Operation: 22-5=17 Exploring Operation: 28+5=33, Resulting Numbers: [22, 33] Generated Node #0,2,1: 11:[22, 33] Operation: 28+5=33 Exploring Operation: 28-22=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 11:[5, 6] Operation: 28-22=6 Exploring Operation: 28-5=23, Resulting Numbers: [22, 23] Generated Node #0,2,3: 11:[22, 23] Operation: 28-5=23 Exploring Operation: 22+5=27, Resulting Numbers: [28, 27] Generated Node #0,2,4: 11:[28, 27] Operation: 22+5=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[5, 6], Operations: ['48-43=5', '28-22=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[43, 22, 28, 48], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [22, 28, 5] Generated Node #0,2: 11:[22, 28, 5] Operation: 48-43=5 Moving to Node #0,2 Current State: 11:[22, 28, 5], Operations: ['48-43=5'] Exploring Operation: 28-22=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 11:[5, 6] Operation: 28-22=6 Moving to Node #0,2,2 Current State: 11:[5, 6], Operations: ['48-43=5', '28-22=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 66, 61, 13, 86 ]
54
[ "66+61=127", "86-13=73", "127-73=54" ]
Current State: 54:[66, 61, 13, 86], Operations: [] Exploring Operation: 66+61=127, Resulting Numbers: [13, 86, 127] Generated Node #2: [13, 86, 127] from Operation: 66+61=127 Current State: 54:[13, 86, 127], Operations: ['66+61=127'] Exploring Operation: 86-13=73, Resulting Numbers: [127, 73] Generated Node #3: [127, 73] from Operation: 86-13=73 Current State: 54:[127, 73], Operations: ['66+61=127', '86-13=73'] Exploring Operation: 127-73=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[66, 61, 13, 86], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [66, 13, 25] Generated Node #0,0: 54:[66, 13, 25] Operation: 86-61=25 Exploring Operation: 66-61=5, Resulting Numbers: [13, 86, 5] Generated Node #0,1: 54:[13, 86, 5] Operation: 66-61=5 Exploring Operation: 86-66=20, Resulting Numbers: [61, 13, 20] Generated Node #0,2: 54:[61, 13, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[61, 13, 20], Operations: ['86-66=20'] Exploring Operation: 13+20=33, Resulting Numbers: [61, 33] Generated Node #0,2,0: 54:[61, 33] Operation: 13+20=33 Exploring Operation: 20-13=7, Resulting Numbers: [61, 7] Generated Node #0,2,1: 54:[61, 7] Operation: 20-13=7 Exploring Operation: 61-13=48, Resulting Numbers: [20, 48] Generated Node #0,2,2: 54:[20, 48] Operation: 61-13=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[61, 7], Operations: ['86-66=20', '20-13=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[66, 61, 13, 86], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [61, 13, 20] Generated Node #0,2: 54:[61, 13, 20] Operation: 86-66=20 Moving to Node #0,2 Current State: 54:[61, 13, 20], Operations: ['86-66=20'] Exploring Operation: 20-13=7, Resulting Numbers: [61, 7] Generated Node #0,2,1: 54:[61, 7] Operation: 20-13=7 Moving to Node #0,2,1 Current State: 54:[61, 7], Operations: ['86-66=20', '20-13=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 7, 74, 16, 41 ]
24
[ "7+74=81", "16+41=57", "81-57=24" ]
Current State: 24:[7, 74, 16, 41], Operations: [] Exploring Operation: 7+74=81, Resulting Numbers: [16, 41, 81] Generated Node #2: [16, 41, 81] from Operation: 7+74=81 Current State: 24:[16, 41, 81], Operations: ['7+74=81'] Exploring Operation: 16+41=57, Resulting Numbers: [81, 57] Generated Node #3: [81, 57] from Operation: 16+41=57 Current State: 24:[81, 57], Operations: ['7+74=81', '16+41=57'] Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[7, 74, 16, 41], Operations: [] Exploring Operation: 74-16=58, Resulting Numbers: [7, 41, 58] Generated Node #0,0: 24:[7, 41, 58] Operation: 74-16=58 Exploring Operation: 74-41=33, Resulting Numbers: [7, 16, 33] Generated Node #0,1: 24:[7, 16, 33] Operation: 74-41=33 Exploring Operation: 41-16=25, Resulting Numbers: [7, 74, 25] Generated Node #0,2: 24:[7, 74, 25] Operation: 41-16=25 Moving to Node #0,1 Current State: 24:[7, 16, 33], Operations: ['74-41=33'] Exploring Operation: 33-7=26, Resulting Numbers: [16, 26] Generated Node #0,1,0: 24:[16, 26] Operation: 33-7=26 Exploring Operation: 7+16=23, Resulting Numbers: [33, 23] Generated Node #0,1,1: 24:[33, 23] Operation: 7+16=23 Exploring Operation: 33-16=17, Resulting Numbers: [7, 17] Generated Node #0,1,2: 24:[7, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[16, 26], Operations: ['74-41=33', '33-7=26'] Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,24 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,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,2 Current State: 24:[7, 17], Operations: ['74-41=33', '33-16=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[7, 74, 16, 41], Operations: [] Exploring Operation: 74-41=33, Resulting Numbers: [7, 16, 33] Generated Node #0,1: 24:[7, 16, 33] Operation: 74-41=33 Moving to Node #0,1 Current State: 24:[7, 16, 33], Operations: ['74-41=33'] Exploring Operation: 33-16=17, Resulting Numbers: [7, 17] Generated Node #0,1,2: 24:[7, 17] Operation: 33-16=17 Moving to Node #0,1,2 Current State: 24:[7, 17], Operations: ['74-41=33', '33-16=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 14, 51, 49, 34 ]
40
[ "34-14=20", "51-49=2", "20*2=40" ]
Current State: 40:[14, 51, 49, 34], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [51, 49, 20] Generated Node #2: [51, 49, 20] from Operation: 34-14=20 Current State: 40:[51, 49, 20], Operations: ['34-14=20'] Exploring Operation: 51-49=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 51-49=2 Current State: 40:[20, 2], Operations: ['34-14=20', '51-49=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[14, 51, 49, 34], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [51, 49, 20] Generated Node #0,0: 40:[51, 49, 20] Operation: 34-14=20 Exploring Operation: 51-14=37, Resulting Numbers: [49, 34, 37] Generated Node #0,1: 40:[49, 34, 37] Operation: 51-14=37 Exploring Operation: 51-49=2, Resulting Numbers: [14, 34, 2] Generated Node #0,2: 40:[14, 34, 2] Operation: 51-49=2 Exploring Operation: 51-34=17, Resulting Numbers: [14, 49, 17] Generated Node #0,3: 40:[14, 49, 17] Operation: 51-34=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[14, 34, 2], Operations: ['51-49=2'] Exploring Operation: 14+34=48, Resulting Numbers: [2, 48] Generated Node #0,2,0: 40:[2, 48] Operation: 14+34=48 Exploring Operation: 34-14=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 40:[2, 20] Operation: 34-14=20 Exploring Operation: 14/2=7, Resulting Numbers: [34, 7] Generated Node #0,2,2: 40:[34, 7] Operation: 14/2=7 Exploring Operation: 34/2=17, Resulting Numbers: [14, 17] Generated Node #0,2,3: 40:[14, 17] Operation: 34/2=17 Moving to Node #0,2,1 Current State: 40:[2, 20], Operations: ['51-49=2', '34-14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[14, 51, 49, 34], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [14, 34, 2] Generated Node #0,2: 40:[14, 34, 2] Operation: 51-49=2 Moving to Node #0,2 Current State: 40:[14, 34, 2], Operations: ['51-49=2'] Exploring Operation: 34-14=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 40:[2, 20] Operation: 34-14=20 Moving to Node #0,2,1 Current State: 40:[2, 20], Operations: ['51-49=2', '34-14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 49, 65, 96, 33 ]
59
[ "49-33=16", "96/16=6", "65-6=59" ]
Current State: 59:[49, 65, 96, 33], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [65, 96, 16] Generated Node #2: [65, 96, 16] from Operation: 49-33=16 Current State: 59:[65, 96, 16], Operations: ['49-33=16'] Exploring Operation: 96/16=6, Resulting Numbers: [65, 6] Generated Node #3: [65, 6] from Operation: 96/16=6 Current State: 59:[65, 6], Operations: ['49-33=16', '96/16=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[49, 65, 96, 33], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [49, 65, 63] Generated Node #0,0: 59:[49, 65, 63] Operation: 96-33=63 Exploring Operation: 96-49=47, Resulting Numbers: [65, 33, 47] Generated Node #0,1: 59:[65, 33, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[49, 65, 63], Operations: ['96-33=63'] Exploring Operation: 65-49=16, Resulting Numbers: [63, 16] Generated Node #0,0,0: 59:[63, 16] Operation: 65-49=16 Exploring Operation: 63-49=14, Resulting Numbers: [65, 14] Generated Node #0,0,1: 59:[65, 14] Operation: 63-49=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[63, 16], Operations: ['96-33=63', '65-49=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[65, 14], Operations: ['96-33=63', '63-49=14'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[65, 33, 47], Operations: ['96-49=47'] Exploring Operation: 65-33=32, Resulting Numbers: [47, 32] Generated Node #0,1,0: 59:[47, 32] Operation: 65-33=32 Exploring Operation: 33+47=80, Resulting Numbers: [65, 80] Generated Node #0,1,1: 59:[65, 80] Operation: 33+47=80 Moving to Node #0,1,1 Current State: 59:[65, 80], Operations: ['96-49=47', '33+47=80'] Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,59 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[47, 32], Operations: ['96-49=47', '65-33=32'] Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,59 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
[ 4, 76, 96, 3 ]
80
[ "76/4=19", "96+3=99", "99-19=80" ]
Current State: 80:[4, 76, 96, 3], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [96, 3, 19] Generated Node #2: [96, 3, 19] from Operation: 76/4=19 Current State: 80:[96, 3, 19], Operations: ['76/4=19'] Exploring Operation: 96+3=99, Resulting Numbers: [19, 99] Generated Node #3: [19, 99] from Operation: 96+3=99 Current State: 80:[19, 99], Operations: ['76/4=19', '96+3=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[4, 76, 96, 3], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [76, 3, 24] Generated Node #0,0: 80:[76, 3, 24] Operation: 96/4=24 Exploring Operation: 96-76=20, Resulting Numbers: [4, 3, 20] Generated Node #0,1: 80:[4, 3, 20] Operation: 96-76=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[4, 3, 20], Operations: ['96-76=20'] Exploring Operation: 4-3=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 80:[20, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [20, 7] Generated Node #0,1,1: 80:[20, 7] Operation: 4+3=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[20, 1], Operations: ['96-76=20', '4-3=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[20, 7], Operations: ['96-76=20', '4+3=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[76, 3, 24], Operations: ['96/4=24'] Exploring Operation: 76+3=79, Resulting Numbers: [24, 79] Generated Node #0,0,0: 80:[24, 79] Operation: 76+3=79 Exploring Operation: 24/3=8, Resulting Numbers: [76, 8] Generated Node #0,0,1: 80:[76, 8] Operation: 24/3=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[76, 8], Operations: ['96/4=24', '24/3=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[24, 79], Operations: ['96/4=24', '76+3=79'] Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 58, 30, 30, 95 ]
38
[ "95-58=37", "30/30=1", "37+1=38" ]
Current State: 38:[58, 30, 30, 95], Operations: [] Exploring Operation: 95-58=37, Resulting Numbers: [30, 30, 37] Generated Node #2: [30, 30, 37] from Operation: 95-58=37 Current State: 38:[30, 30, 37], Operations: ['95-58=37'] Exploring Operation: 30/30=1, Resulting Numbers: [37, 1] Generated Node #3: [37, 1] from Operation: 30/30=1 Current State: 38:[37, 1], Operations: ['95-58=37', '30/30=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 30, 30, 95], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [58, 30, 65] Generated Node #0,0: 38:[58, 30, 65] Operation: 95-30=65 Exploring Operation: 95-58=37, Resulting Numbers: [30, 30, 37] Generated Node #0,1: 38:[30, 30, 37] Operation: 95-58=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[30, 30, 37], Operations: ['95-58=37'] Exploring Operation: 30/30=1, Resulting Numbers: [37, 1] Generated Node #0,1,0: 38:[37, 1] Operation: 30/30=1 Exploring Operation: 30-30=0, Resulting Numbers: [37, 0] Generated Node #0,1,1: 38:[37, 0] Operation: 30-30=0 Moving to Node #0,1,0 Current State: 38:[37, 1], Operations: ['95-58=37', '30/30=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[58, 30, 30, 95], Operations: [] Exploring Operation: 95-58=37, Resulting Numbers: [30, 30, 37] Generated Node #0,1: 38:[30, 30, 37] Operation: 95-58=37 Moving to Node #0,1 Current State: 38:[30, 30, 37], Operations: ['95-58=37'] Exploring Operation: 30/30=1, Resulting Numbers: [37, 1] Generated Node #0,1,0: 38:[37, 1] Operation: 30/30=1 Moving to Node #0,1,0 Current State: 38:[37, 1], Operations: ['95-58=37', '30/30=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 34, 78, 4, 1 ]
39
[ "78-34=44", "4+1=5", "44-5=39" ]
Current State: 39:[34, 78, 4, 1], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [4, 1, 44] Generated Node #2: [4, 1, 44] from Operation: 78-34=44 Current State: 39:[4, 1, 44], Operations: ['78-34=44'] Exploring Operation: 4+1=5, Resulting Numbers: [44, 5] Generated Node #3: [44, 5] from Operation: 4+1=5 Current State: 39:[44, 5], Operations: ['78-34=44', '4+1=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[34, 78, 4, 1], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [4, 1, 44] Generated Node #0,0: 39:[4, 1, 44] Operation: 78-34=44 Moving to Node #0,0 Current State: 39:[4, 1, 44], Operations: ['78-34=44'] Exploring Operation: 44-4=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 39:[1, 40] Operation: 44-4=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[1, 40], Operations: ['78-34=44', '44-4=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[34, 78, 4, 1], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [4, 1, 44] Generated Node #0,0: 39:[4, 1, 44] Operation: 78-34=44 Moving to Node #0,0 Current State: 39:[4, 1, 44], Operations: ['78-34=44'] Exploring Operation: 44-4=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 39:[1, 40] Operation: 44-4=40 Moving to Node #0,0,0 Current State: 39:[1, 40], Operations: ['78-34=44', '44-4=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 35, 9, 94 ]
70
[ "83+9=92", "94-92=2", "35*2=70" ]
Current State: 70:[83, 35, 9, 94], Operations: [] Exploring Operation: 83+9=92, Resulting Numbers: [35, 94, 92] Generated Node #2: [35, 94, 92] from Operation: 83+9=92 Current State: 70:[35, 94, 92], Operations: ['83+9=92'] Exploring Operation: 94-92=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 94-92=2 Current State: 70:[35, 2], Operations: ['83+9=92', '94-92=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[83, 35, 9, 94], Operations: [] Exploring Operation: 94-35=59, Resulting Numbers: [83, 9, 59] Generated Node #0,0: 70:[83, 9, 59] Operation: 94-35=59 Exploring Operation: 94-83=11, Resulting Numbers: [35, 9, 11] Generated Node #0,1: 70:[35, 9, 11] Operation: 94-83=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[35, 9, 11], Operations: ['94-83=11'] Exploring Operation: 9+11=20, Resulting Numbers: [35, 20] Generated Node #0,1,0: 70:[35, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [35, 2] Generated Node #0,1,1: 70:[35, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[35, 2], Operations: ['94-83=11', '11-9=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[83, 35, 9, 94], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [35, 9, 11] Generated Node #0,1: 70:[35, 9, 11] Operation: 94-83=11 Moving to Node #0,1 Current State: 70:[35, 9, 11], Operations: ['94-83=11'] Exploring Operation: 11-9=2, Resulting Numbers: [35, 2] Generated Node #0,1,1: 70:[35, 2] Operation: 11-9=2 Moving to Node #0,1,1 Current State: 70:[35, 2], Operations: ['94-83=11', '11-9=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 51, 85, 76, 27 ]
69
[ "85-51=34", "76+27=103", "103-34=69" ]
Current State: 69:[51, 85, 76, 27], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [76, 27, 34] Generated Node #2: [76, 27, 34] from Operation: 85-51=34 Current State: 69:[76, 27, 34], Operations: ['85-51=34'] Exploring Operation: 76+27=103, Resulting Numbers: [34, 103] Generated Node #3: [34, 103] from Operation: 76+27=103 Current State: 69:[34, 103], Operations: ['85-51=34', '76+27=103'] Exploring Operation: 103-34=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[51, 85, 76, 27], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [51, 27, 9] Generated Node #0,0: 69:[51, 27, 9] Operation: 85-76=9 Exploring Operation: 85-51=34, Resulting Numbers: [76, 27, 34] Generated Node #0,1: 69:[76, 27, 34] Operation: 85-51=34 Exploring Operation: 51-27=24, Resulting Numbers: [85, 76, 24] Generated Node #0,2: 69:[85, 76, 24] Operation: 51-27=24 Exploring Operation: 51+27=78, Resulting Numbers: [85, 76, 78] Generated Node #0,3: 69:[85, 76, 78] Operation: 51+27=78 Exploring Operation: 76-51=25, Resulting Numbers: [85, 27, 25] Generated Node #0,4: 69:[85, 27, 25] Operation: 76-51=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[76, 27, 34], Operations: ['85-51=34'] Exploring Operation: 34-27=7, Resulting Numbers: [76, 7] Generated Node #0,1,0: 69:[76, 7] Operation: 34-27=7 Exploring Operation: 76-34=42, Resulting Numbers: [27, 42] Generated Node #0,1,1: 69:[27, 42] Operation: 76-34=42 Exploring Operation: 27+34=61, Resulting Numbers: [76, 61] Generated Node #0,1,2: 69:[76, 61] Operation: 27+34=61 Exploring Operation: 76+27=103, Resulting Numbers: [34, 103] Generated Node #0,1,3: 69:[34, 103] Operation: 76+27=103 Exploring Operation: 76-27=49, Resulting Numbers: [34, 49] Generated Node #0,1,4: 69:[34, 49] Operation: 76-27=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[76, 7], Operations: ['85-51=34', '34-27=7'] Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,69 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[51, 85, 76, 27], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [76, 27, 34] Generated Node #0,1: 69:[76, 27, 34] Operation: 85-51=34 Moving to Node #0,1 Current State: 69:[76, 27, 34], Operations: ['85-51=34'] Exploring Operation: 34-27=7, Resulting Numbers: [76, 7] Generated Node #0,1,0: 69:[76, 7] Operation: 34-27=7 Moving to Node #0,1,0 Current State: 69:[76, 7], Operations: ['85-51=34', '34-27=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 51, 73, 60, 19 ]
98
[ "60-51=9", "19*9=171", "171-73=98" ]
Current State: 98:[51, 73, 60, 19], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [73, 19, 9] Generated Node #2: [73, 19, 9] from Operation: 60-51=9 Current State: 98:[73, 19, 9], Operations: ['60-51=9'] Exploring Operation: 19*9=171, Resulting Numbers: [73, 171] Generated Node #3: [73, 171] from Operation: 19*9=171 Current State: 98:[73, 171], Operations: ['60-51=9', '19*9=171'] Exploring Operation: 171-73=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[51, 73, 60, 19], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [51, 60, 54] Generated Node #0,0: 98:[51, 60, 54] Operation: 73-19=54 Exploring Operation: 73+19=92, Resulting Numbers: [51, 60, 92] Generated Node #0,1: 98:[51, 60, 92] Operation: 73+19=92 Exploring Operation: 73-60=13, Resulting Numbers: [51, 19, 13] Generated Node #0,2: 98:[51, 19, 13] Operation: 73-60=13 Exploring Operation: 73-51=22, Resulting Numbers: [60, 19, 22] Generated Node #0,3: 98:[60, 19, 22] Operation: 73-51=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[51, 19, 13], Operations: ['73-60=13'] Exploring Operation: 51-19=32, Resulting Numbers: [13, 32] Generated Node #0,2,0: 98:[13, 32] Operation: 51-19=32 Exploring Operation: 51-13=38, Resulting Numbers: [19, 38] Generated Node #0,2,1: 98:[19, 38] Operation: 51-13=38 Exploring Operation: 19-13=6, Resulting Numbers: [51, 6] Generated Node #0,2,2: 98:[51, 6] Operation: 19-13=6 Exploring Operation: 19+13=32, Resulting Numbers: [51, 32] Generated Node #0,2,3: 98:[51, 32] Operation: 19+13=32 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[51, 6], Operations: ['73-60=13', '19-13=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,98 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,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,1 Current State: 98:[19, 38], Operations: ['73-60=13', '51-13=38'] Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,98 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,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:[13, 32], Operations: ['73-60=13', '51-19=32'] Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,98 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,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,3 Current State: 98:[51, 32], Operations: ['73-60=13', '19+13=32'] Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,98 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,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,0 Current State: 98:[51, 60, 54], Operations: ['73-19=54'] Exploring Operation: 60-51=9, Resulting Numbers: [54, 9] Generated Node #0,0,0: 98:[54, 9] Operation: 60-51=9 Exploring Operation: 54-51=3, Resulting Numbers: [60, 3] Generated Node #0,0,1: 98:[60, 3] Operation: 54-51=3 Exploring Operation: 51+60=111, Resulting Numbers: [54, 111] Generated Node #0,0,2: 98:[54, 111] Operation: 51+60=111 Exploring Operation: 60-54=6, Resulting Numbers: [51, 6] Generated Node #0,0,3: 98:[51, 6] Operation: 60-54=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[51, 6], Operations: ['73-19=54', '60-54=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[54, 9], Operations: ['73-19=54', '60-51=9'] Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,98 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[60, 3], Operations: ['73-19=54', '54-51=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,98 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[54, 111], Operations: ['73-19=54', '51+60=111'] Exploring Operation: 111-54=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 54+111=165, Resulting Numbers: [165] 165,98 unequal: No Solution Exploring Operation: 54*111=5994, Resulting Numbers: [5994] 5994,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:[51, 60, 92], Operations: ['73+19=92'] Exploring Operation: 60-51=9, Resulting Numbers: [92, 9] Generated Node #0,1,0: 98:[92, 9] Operation: 60-51=9 Exploring Operation: 51+60=111, Resulting Numbers: [92, 111] Generated Node #0,1,1: 98:[92, 111] Operation: 51+60=111 Exploring Operation: 92-60=32, Resulting Numbers: [51, 32] Generated Node #0,1,2: 98:[51, 32] Operation: 92-60=32 Exploring Operation: 92-51=41, Resulting Numbers: [60, 41] Generated Node #0,1,3: 98:[60, 41] Operation: 92-51=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[92, 9], Operations: ['73+19=92', '60-51=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,98 unequal: No Solution Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,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:[92, 111], Operations: ['73+19=92', '51+60=111'] Exploring Operation: 92*111=10212, Resulting Numbers: [10212] 10212,98 unequal: No Solution Exploring Operation: 111-92=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 92+111=203, Resulting Numbers: [203] 203,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:[51, 32], Operations: ['73+19=92', '92-60=32'] Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,98 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,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,3 Current State: 98:[60, 41], Operations: ['73+19=92', '92-51=41'] Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,98 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,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,3 Current State: 98:[60, 19, 22], Operations: ['73-51=22'] Exploring Operation: 60-22=38, Resulting Numbers: [19, 38] Generated Node #0,3,0: 98:[19, 38] Operation: 60-22=38 Exploring Operation: 22-19=3, Resulting Numbers: [60, 3] Generated Node #0,3,1: 98:[60, 3] Operation: 22-19=3 Exploring Operation: 19+22=41, Resulting Numbers: [60, 41] Generated Node #0,3,2: 98:[60, 41] Operation: 19+22=41 Exploring Operation: 60-19=41, Resulting Numbers: [22, 41] Generated Node #0,3,3: 98:[22, 41] Operation: 60-19=41 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 98:[60, 3], Operations: ['73-51=22', '22-19=3'] Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,98 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,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,3,0 Current State: 98:[19, 38], Operations: ['73-51=22', '60-22=38'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,98 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,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,3,3 Current State: 98:[22, 41], Operations: ['73-51=22', '60-19=41'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,98 unequal: No Solution Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,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,3,2 Current State: 98:[60, 41], Operations: ['73-51=22', '19+22=41'] Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,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_4
sum_heuristic
[ 66, 2, 1, 81 ]
59
[ "2+1=3", "66/3=22", "81-22=59" ]
Current State: 59:[66, 2, 1, 81], Operations: [] Exploring Operation: 2+1=3, Resulting Numbers: [66, 81, 3] Generated Node #2: [66, 81, 3] from Operation: 2+1=3 Current State: 59:[66, 81, 3], Operations: ['2+1=3'] Exploring Operation: 66/3=22, Resulting Numbers: [81, 22] Generated Node #3: [81, 22] from Operation: 66/3=22 Current State: 59:[81, 22], Operations: ['2+1=3', '66/3=22'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[66, 2, 1, 81], Operations: [] Exploring Operation: 81-2=79, Resulting Numbers: [66, 1, 79] Generated Node #0,0: 59:[66, 1, 79] Operation: 81-2=79 Exploring Operation: 81-1=80, Resulting Numbers: [66, 2, 80] Generated Node #0,1: 59:[66, 2, 80] Operation: 81-1=80 Exploring Operation: 66-2=64, Resulting Numbers: [1, 81, 64] Generated Node #0,2: 59:[1, 81, 64] Operation: 66-2=64 Exploring Operation: 2+1=3, Resulting Numbers: [66, 81, 3] Generated Node #0,3: 59:[66, 81, 3] Operation: 2+1=3 Exploring Operation: 66-1=65, Resulting Numbers: [2, 81, 65] Generated Node #0,4: 59:[2, 81, 65] Operation: 66-1=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[66, 1, 79], Operations: ['81-2=79'] Exploring Operation: 79-1=78, Resulting Numbers: [66, 78] Generated Node #0,0,0: 59:[66, 78] Operation: 79-1=78 Exploring Operation: 66-1=65, Resulting Numbers: [79, 65] Generated Node #0,0,1: 59:[79, 65] Operation: 66-1=65 Exploring Operation: 1*79=79, Resulting Numbers: [66, 79] Generated Node #0,0,2: 59:[66, 79] Operation: 1*79=79 Exploring Operation: 66*1=66, Resulting Numbers: [79, 66] Generated Node #0,0,3: 59:[79, 66] Operation: 66*1=66 Exploring Operation: 66/1=66, Resulting Numbers: [79, 66] Generated Node #0,0,4: 59:[79, 66] Operation: 66/1=66 Moving to Node #0,0,0 Current State: 59:[66, 78], Operations: ['81-2=79', '79-1=78'] Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,59 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[79, 65], Operations: ['81-2=79', '66-1=65'] Exploring Operation: 79+65=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 79*65=5135, Resulting Numbers: [5135] 5135,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[66, 79], Operations: ['81-2=79', '1*79=79'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,59 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[79, 66], Operations: ['81-2=79', '66*1=66'] Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,59 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 79*66=5214, Resulting Numbers: [5214] 5214,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[79, 66], Operations: ['81-2=79', '66/1=66'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 79*66=5214, Resulting Numbers: [5214] 5214,59 unequal: No Solution Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,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 Current State: 59:[66, 2, 80], Operations: ['81-1=80'] Exploring Operation: 80/2=40, Resulting Numbers: [66, 40] Generated Node #0,1,0: 59:[66, 40] Operation: 80/2=40 Exploring Operation: 66+2=68, Resulting Numbers: [80, 68] Generated Node #0,1,1: 59:[80, 68] Operation: 66+2=68 Exploring Operation: 2+80=82, Resulting Numbers: [66, 82] Generated Node #0,1,2: 59:[66, 82] Operation: 2+80=82 Exploring Operation: 66-2=64, Resulting Numbers: [80, 64] Generated Node #0,1,3: 59:[80, 64] Operation: 66-2=64 Exploring Operation: 80-2=78, Resulting Numbers: [66, 78] Generated Node #0,1,4: 59:[66, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[66, 40], Operations: ['81-1=80', '80/2=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[80, 64], Operations: ['81-1=80', '66-2=64'] Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 80*64=5120, Resulting Numbers: [5120] 5120,59 unequal: No Solution Exploring Operation: 80+64=144, Resulting Numbers: [144] 144,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 59:[66, 78], Operations: ['81-1=80', '80-2=78'] Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,59 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[80, 68], Operations: ['81-1=80', '66+2=68'] Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,59 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[66, 82], Operations: ['81-1=80', '2+80=82'] Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[1, 81, 64], Operations: ['66-2=64'] Exploring Operation: 1*64=64, Resulting Numbers: [81, 64] Generated Node #0,2,0: 59:[81, 64] Operation: 1*64=64 Exploring Operation: 64-1=63, Resulting Numbers: [81, 63] Generated Node #0,2,1: 59:[81, 63] Operation: 64-1=63 Exploring Operation: 81-1=80, Resulting Numbers: [64, 80] Generated Node #0,2,2: 59:[64, 80] Operation: 81-1=80 Exploring Operation: 1*81=81, Resulting Numbers: [64, 81] Generated Node #0,2,3: 59:[64, 81] Operation: 1*81=81 Exploring Operation: 81/1=81, Resulting Numbers: [64, 81] Generated Node #0,2,4: 59:[64, 81] Operation: 81/1=81 Moving to Node #0,2,1 Current State: 59:[81, 63], Operations: ['66-2=64', '64-1=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,59 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[64, 80], Operations: ['66-2=64', '81-1=80'] Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,59 unequal: No Solution Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[81, 64], Operations: ['66-2=64', '1*64=64'] Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,59 unequal: No Solution Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,59 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[64, 81], Operations: ['66-2=64', '1*81=81'] Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,59 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[64, 81], Operations: ['66-2=64', '81/1=81'] Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,59 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,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 Current State: 59:[66, 81, 3], Operations: ['2+1=3'] Exploring Operation: 66-3=63, Resulting Numbers: [81, 63] Generated Node #0,3,0: 59:[81, 63] Operation: 66-3=63 Exploring Operation: 81+3=84, Resulting Numbers: [66, 84] Generated Node #0,3,1: 59:[66, 84] Operation: 81+3=84 Exploring Operation: 66+3=69, Resulting Numbers: [81, 69] Generated Node #0,3,2: 59:[81, 69] Operation: 66+3=69 Exploring Operation: 81-3=78, Resulting Numbers: [66, 78] Generated Node #0,3,3: 59:[66, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [66, 27] Generated Node #0,3,4: 59:[66, 27] Operation: 81/3=27 Moving to Node #0,3,0 Current State: 59:[81, 63], Operations: ['2+1=3', '66-3=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[66, 78], Operations: ['2+1=3', '81-3=78'] Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[66, 84], Operations: ['2+1=3', '81+3=84'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,59 unequal: No Solution Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[81, 69], Operations: ['2+1=3', '66+3=69'] Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,59 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[66, 27], Operations: ['2+1=3', '81/3=27'] Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,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,4 Current State: 59:[2, 81, 65], Operations: ['66-1=65'] Exploring Operation: 2*65=130, Resulting Numbers: [81, 130] Generated Node #0,4,0: 59:[81, 130] Operation: 2*65=130 Exploring Operation: 81-2=79, Resulting Numbers: [65, 79] Generated Node #0,4,1: 59:[65, 79] Operation: 81-2=79 Exploring Operation: 65-2=63, Resulting Numbers: [81, 63] Generated Node #0,4,2: 59:[81, 63] Operation: 65-2=63 Exploring Operation: 2+81=83, Resulting Numbers: [65, 83] Generated Node #0,4,3: 59:[65, 83] Operation: 2+81=83 Exploring Operation: 2+65=67, Resulting Numbers: [81, 67] Generated Node #0,4,4: 59:[81, 67] Operation: 2+65=67 Moving to Node #0,4,1 Current State: 59:[65, 79], Operations: ['66-1=65', '81-2=79'] Exploring Operation: 65*79=5135, Resulting Numbers: [5135] 5135,59 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 65+79=144, Resulting Numbers: [144] 144,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[81, 63], Operations: ['66-1=65', '65-2=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[65, 83], Operations: ['66-1=65', '2+81=83'] Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,59 unequal: No Solution Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[81, 67], Operations: ['66-1=65', '2+65=67'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 81*67=5427, Resulting Numbers: [5427] 5427,59 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[81, 130], Operations: ['66-1=65', '2*65=130'] Exploring Operation: 81*130=10530, Resulting Numbers: [10530] 10530,59 unequal: No Solution Exploring Operation: 81+130=211, Resulting Numbers: [211] 211,59 unequal: No Solution Exploring Operation: 130-81=49, Resulting Numbers: [49] 49,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic