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
[ 57, 57, 55, 91 ]
35
[ "57/57=1", "91-55=36", "36-1=35" ]
Current State: 35:[57, 57, 55, 91], Operations: [] Exploring Operation: 57/57=1, Resulting Numbers: [55, 91, 1] Generated Node #2: [55, 91, 1] from Operation: 57/57=1 Current State: 35:[55, 91, 1], Operations: ['57/57=1'] Exploring Operation: 91-55=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 91-55=36 Current State: 35:[1, 36], Operations: ['57/57=1', '91-55=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[57, 57, 55, 91], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [57, 55, 34] Generated Node #0,0: 35:[57, 55, 34] Operation: 91-57=34 Moving to Node #0,0 Current State: 35:[57, 55, 34], Operations: ['91-57=34'] Exploring Operation: 57-55=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 35:[34, 2] Operation: 57-55=2 Moving to Node #0,0,0 Current State: 35:[34, 2], Operations: ['91-57=34', '57-55=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 13, 89, 51, 61 ]
92
[ "13+89=102", "61-51=10", "102-10=92" ]
Current State: 92:[13, 89, 51, 61], Operations: [] Exploring Operation: 13+89=102, Resulting Numbers: [51, 61, 102] Generated Node #2: [51, 61, 102] from Operation: 13+89=102 Current State: 92:[51, 61, 102], Operations: ['13+89=102'] Exploring Operation: 61-51=10, Resulting Numbers: [102, 10] Generated Node #3: [102, 10] from Operation: 61-51=10 Current State: 92:[102, 10], Operations: ['13+89=102', '61-51=10'] Exploring Operation: 102-10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[13, 89, 51, 61], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [13, 51, 28] Generated Node #0,0: 92:[13, 51, 28] Operation: 89-61=28 Exploring Operation: 61-13=48, Resulting Numbers: [89, 51, 48] Generated Node #0,1: 92:[89, 51, 48] Operation: 61-13=48 Exploring Operation: 61-51=10, Resulting Numbers: [13, 89, 10] Generated Node #0,2: 92:[13, 89, 10] Operation: 61-51=10 Moving to Node #0,1 Current State: 92:[89, 51, 48], Operations: ['61-13=48'] Exploring Operation: 51-48=3, Resulting Numbers: [89, 3] Generated Node #0,1,0: 92:[89, 3] Operation: 51-48=3 Exploring Operation: 89-48=41, Resulting Numbers: [51, 41] Generated Node #0,1,1: 92:[51, 41] Operation: 89-48=41 Exploring Operation: 89-51=38, Resulting Numbers: [48, 38] Generated Node #0,1,2: 92:[48, 38] Operation: 89-51=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[89, 3], Operations: ['61-13=48', '51-48=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,92 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[13, 89, 51, 61], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [89, 51, 48] Generated Node #0,1: 92:[89, 51, 48] Operation: 61-13=48 Moving to Node #0,1 Current State: 92:[89, 51, 48], Operations: ['61-13=48'] Exploring Operation: 51-48=3, Resulting Numbers: [89, 3] Generated Node #0,1,0: 92:[89, 3] Operation: 51-48=3 Moving to Node #0,1,0 Current State: 92:[89, 3], Operations: ['61-13=48', '51-48=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 82, 48, 19, 31 ]
74
[ "48*31=1488", "1488-82=1406", "1406/19=74" ]
Current State: 74:[82, 48, 19, 31], Operations: [] Exploring Operation: 48*31=1488, Resulting Numbers: [82, 19, 1488] Generated Node #2: [82, 19, 1488] from Operation: 48*31=1488 Current State: 74:[82, 19, 1488], Operations: ['48*31=1488'] Exploring Operation: 1488-82=1406, Resulting Numbers: [19, 1406] Generated Node #3: [19, 1406] from Operation: 1488-82=1406 Current State: 74:[19, 1406], Operations: ['48*31=1488', '1488-82=1406'] Exploring Operation: 1406/19=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 48, 19, 31], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [19, 31, 34] Generated Node #0,0: 74:[19, 31, 34] Operation: 82-48=34 Exploring Operation: 48+19=67, Resulting Numbers: [82, 31, 67] Generated Node #0,1: 74:[82, 31, 67] Operation: 48+19=67 Exploring Operation: 48-19=29, Resulting Numbers: [82, 31, 29] Generated Node #0,2: 74:[82, 31, 29] Operation: 48-19=29 Moving to Node #0,1 Current State: 74:[82, 31, 67], Operations: ['48+19=67'] Exploring Operation: 82-31=51, Resulting Numbers: [67, 51] Generated Node #0,1,0: 74:[67, 51] Operation: 82-31=51 Exploring Operation: 67-31=36, Resulting Numbers: [82, 36] Generated Node #0,1,1: 74:[82, 36] Operation: 67-31=36 Exploring Operation: 82-67=15, Resulting Numbers: [31, 15] Generated Node #0,1,2: 74:[31, 15] Operation: 82-67=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[82, 36], Operations: ['48+19=67', '67-31=36'] Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,74 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,74 unequal: No Solution No 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: 74:[31, 15], Operations: ['48+19=67', '82-67=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,74 unequal: No Solution No 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: 74:[67, 51], Operations: ['48+19=67', '82-31=51'] Exploring Operation: 67*51=3417, Resulting Numbers: [3417] 3417,74 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 67+51=118, Resulting Numbers: [118] 118,74 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: 74:[82, 31, 29], Operations: ['48-19=29'] Exploring Operation: 82-31=51, Resulting Numbers: [29, 51] Generated Node #0,2,0: 74:[29, 51] Operation: 82-31=51 Exploring Operation: 82-29=53, Resulting Numbers: [31, 53] Generated Node #0,2,1: 74:[31, 53] Operation: 82-29=53 Exploring Operation: 31-29=2, Resulting Numbers: [82, 2] Generated Node #0,2,2: 74:[82, 2] Operation: 31-29=2 Moving to Node #0,0 Current State: 74:[19, 31, 34], Operations: ['82-48=34'] Exploring Operation: 31-19=12, Resulting Numbers: [34, 12] Generated Node #0,0,0: 74:[34, 12] Operation: 31-19=12 Exploring Operation: 34-31=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 74:[19, 3] Operation: 34-31=3 Exploring Operation: 19+31=50, Resulting Numbers: [34, 50] Generated Node #0,0,2: 74:[34, 50] Operation: 19+31=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[34, 12], Operations: ['82-48=34', '31-19=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,74 unequal: No Solution No 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: 74:[34, 50], Operations: ['82-48=34', '19+31=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,74 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,74 unequal: No Solution No 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: 74:[19, 3], Operations: ['82-48=34', '34-31=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 74:[82, 2], Operations: ['48-19=29', '31-29=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[29, 51], Operations: ['48-19=29', '82-31=51'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,74 unequal: No Solution Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[31, 53], Operations: ['48-19=29', '82-29=53'] Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,74 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 62, 22, 70, 2 ]
49
[ "62+22=84", "70/2=35", "84-35=49" ]
Current State: 49:[62, 22, 70, 2], Operations: [] Exploring Operation: 62+22=84, Resulting Numbers: [70, 2, 84] Generated Node #2: [70, 2, 84] from Operation: 62+22=84 Current State: 49:[70, 2, 84], Operations: ['62+22=84'] Exploring Operation: 70/2=35, Resulting Numbers: [84, 35] Generated Node #3: [84, 35] from Operation: 70/2=35 Current State: 49:[84, 35], Operations: ['62+22=84', '70/2=35'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[62, 22, 70, 2], Operations: [] Exploring Operation: 70-22=48, Resulting Numbers: [62, 2, 48] Generated Node #0,0: 49:[62, 2, 48] Operation: 70-22=48 Moving to Node #0,0 Current State: 49:[62, 2, 48], Operations: ['70-22=48'] Exploring Operation: 62-2=60, Resulting Numbers: [48, 60] Generated Node #0,0,0: 49:[48, 60] Operation: 62-2=60 Moving to Node #0,0,0 Current State: 49:[48, 60], Operations: ['70-22=48', '62-2=60'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 28, 4, 64 ]
59
[ "64-28=36", "36/4=9", "50+9=59" ]
Current State: 59:[50, 28, 4, 64], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [50, 4, 36] Generated Node #2: [50, 4, 36] from Operation: 64-28=36 Current State: 59:[50, 4, 36], Operations: ['64-28=36'] Exploring Operation: 36/4=9, Resulting Numbers: [50, 9] Generated Node #3: [50, 9] from Operation: 36/4=9 Current State: 59:[50, 9], Operations: ['64-28=36', '36/4=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[50, 28, 4, 64], Operations: [] Exploring Operation: 50+4=54, Resulting Numbers: [28, 64, 54] Generated Node #0,0: 59:[28, 64, 54] Operation: 50+4=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[28, 64, 54], Operations: ['50+4=54'] Exploring Operation: 64-28=36, Resulting Numbers: [54, 36] Generated Node #0,0,0: 59:[54, 36] Operation: 64-28=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[54, 36], Operations: ['50+4=54', '64-28=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 50, 2, 36 ]
91
[ "59+50=109", "36/2=18", "109-18=91" ]
Current State: 91:[59, 50, 2, 36], Operations: [] Exploring Operation: 59+50=109, Resulting Numbers: [2, 36, 109] Generated Node #2: [2, 36, 109] from Operation: 59+50=109 Current State: 91:[2, 36, 109], Operations: ['59+50=109'] Exploring Operation: 36/2=18, Resulting Numbers: [109, 18] Generated Node #3: [109, 18] from Operation: 36/2=18 Current State: 91:[109, 18], Operations: ['59+50=109', '36/2=18'] Exploring Operation: 109-18=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[59, 50, 2, 36], Operations: [] Exploring Operation: 59+50=109, Resulting Numbers: [2, 36, 109] Generated Node #0,0: 91:[2, 36, 109] Operation: 59+50=109 Exploring Operation: 50+36=86, Resulting Numbers: [59, 2, 86] Generated Node #0,1: 91:[59, 2, 86] Operation: 50+36=86 Exploring Operation: 50-36=14, Resulting Numbers: [59, 2, 14] Generated Node #0,2: 91:[59, 2, 14] Operation: 50-36=14 Exploring Operation: 59-50=9, Resulting Numbers: [2, 36, 9] Generated Node #0,3: 91:[2, 36, 9] Operation: 59-50=9 Moving to Node #0,3 Current State: 91:[2, 36, 9], Operations: ['59-50=9'] Exploring Operation: 36/2=18, Resulting Numbers: [9, 18] Generated Node #0,3,0: 91:[9, 18] Operation: 36/2=18 Exploring Operation: 2*36=72, Resulting Numbers: [9, 72] Generated Node #0,3,1: 91:[9, 72] Operation: 2*36=72 Exploring Operation: 36-9=27, Resulting Numbers: [2, 27] Generated Node #0,3,2: 91:[2, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [2, 4] Generated Node #0,3,3: 91:[2, 4] Operation: 36/9=4 Moving to Node #0,2 Current State: 91:[59, 2, 14], Operations: ['50-36=14'] Exploring Operation: 14/2=7, Resulting Numbers: [59, 7] Generated Node #0,2,0: 91:[59, 7] Operation: 14/2=7 Exploring Operation: 59+14=73, Resulting Numbers: [2, 73] Generated Node #0,2,1: 91:[2, 73] Operation: 59+14=73 Exploring Operation: 59*2=118, Resulting Numbers: [14, 118] Generated Node #0,2,2: 91:[14, 118] Operation: 59*2=118 Exploring Operation: 59+2=61, Resulting Numbers: [14, 61] Generated Node #0,2,3: 91:[14, 61] Operation: 59+2=61 Moving to Node #0,1 Current State: 91:[59, 2, 86], Operations: ['50+36=86'] Exploring Operation: 59+2=61, Resulting Numbers: [86, 61] Generated Node #0,1,0: 91:[86, 61] Operation: 59+2=61 Exploring Operation: 59*2=118, Resulting Numbers: [86, 118] Generated Node #0,1,1: 91:[86, 118] Operation: 59*2=118 Exploring Operation: 86-59=27, Resulting Numbers: [2, 27] Generated Node #0,1,2: 91:[2, 27] Operation: 86-59=27 Exploring Operation: 2+86=88, Resulting Numbers: [59, 88] Generated Node #0,1,3: 91:[59, 88] Operation: 2+86=88 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[2, 27], Operations: ['50+36=86', '86-59=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[86, 118], Operations: ['50+36=86', '59*2=118'] Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 86+118=204, Resulting Numbers: [204] 204,91 unequal: No Solution Exploring Operation: 86*118=10148, Resulting Numbers: [10148] 10148,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[86, 61], Operations: ['50+36=86', '59+2=61'] Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,91 unequal: No Solution Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,91 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[59, 88], Operations: ['50+36=86', '2+86=88'] Exploring Operation: 59+88=147, Resulting Numbers: [147] 147,91 unequal: No Solution Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 59*88=5192, Resulting Numbers: [5192] 5192,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 91:[2, 36, 109], Operations: ['59+50=109'] Exploring Operation: 36-2=34, Resulting Numbers: [109, 34] Generated Node #0,0,0: 91:[109, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [109, 18] Generated Node #0,0,1: 91:[109, 18] Operation: 36/2=18 Exploring Operation: 2*36=72, Resulting Numbers: [109, 72] Generated Node #0,0,2: 91:[109, 72] Operation: 2*36=72 Exploring Operation: 109-36=73, Resulting Numbers: [2, 73] Generated Node #0,0,3: 91:[2, 73] Operation: 109-36=73 Moving to Node #0,3,0 Current State: 91:[9, 18], Operations: ['59-50=9', '36/2=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[2, 4], Operations: ['59-50=9', '36/9=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[2, 27], Operations: ['59-50=9', '36-9=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[9, 72], Operations: ['59-50=9', '2*36=72'] Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,91 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[2, 73], Operations: ['50-36=14', '59+14=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[2, 73], Operations: ['59+50=109', '109-36=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[109, 18], Operations: ['59+50=109', '36/2=18'] Exploring Operation: 109+18=127, Resulting Numbers: [127] 127,91 unequal: No Solution Exploring Operation: 109*18=1962, Resulting Numbers: [1962] 1962,91 unequal: No Solution Exploring Operation: 109-18=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[59, 50, 2, 36], Operations: [] Exploring Operation: 59+50=109, Resulting Numbers: [2, 36, 109] Generated Node #0,0: 91:[2, 36, 109] Operation: 59+50=109 Moving to Node #0,0 Current State: 91:[2, 36, 109], Operations: ['59+50=109'] Exploring Operation: 36/2=18, Resulting Numbers: [109, 18] Generated Node #0,0,1: 91:[109, 18] Operation: 36/2=18 Moving to Node #0,0,1 Current State: 91:[109, 18], Operations: ['59+50=109', '36/2=18'] Exploring Operation: 109-18=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.947917
hs_4
mult_heuristic
[ 98, 66, 72, 6 ]
34
[ "98-66=32", "72-6=66", "66-32=34" ]
Current State: 34:[98, 66, 72, 6], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [72, 6, 32] Generated Node #2: [72, 6, 32] from Operation: 98-66=32 Current State: 34:[72, 6, 32], Operations: ['98-66=32'] Exploring Operation: 72-6=66, Resulting Numbers: [32, 66] Generated Node #3: [32, 66] from Operation: 72-6=66 Current State: 34:[32, 66], Operations: ['98-66=32', '72-6=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[98, 66, 72, 6], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [98, 66, 12] Generated Node #0,0: 34:[98, 66, 12] Operation: 72/6=12 Exploring Operation: 98-66=32, Resulting Numbers: [72, 6, 32] Generated Node #0,1: 34:[72, 6, 32] Operation: 98-66=32 Exploring Operation: 72-66=6, Resulting Numbers: [98, 6, 6] Generated Node #0,2: 34:[98, 6, 6] Operation: 72-66=6 Exploring Operation: 98-72=26, Resulting Numbers: [66, 6, 26] Generated Node #0,3: 34:[66, 6, 26] Operation: 98-72=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[72, 6, 32], Operations: ['98-66=32'] Exploring Operation: 72-32=40, Resulting Numbers: [6, 40] Generated Node #0,1,0: 34:[6, 40] Operation: 72-32=40 Exploring Operation: 72-6=66, Resulting Numbers: [32, 66] Generated Node #0,1,1: 34:[32, 66] Operation: 72-6=66 Exploring Operation: 6+32=38, Resulting Numbers: [72, 38] Generated Node #0,1,2: 34:[72, 38] Operation: 6+32=38 Exploring Operation: 72/6=12, Resulting Numbers: [32, 12] Generated Node #0,1,3: 34:[32, 12] Operation: 72/6=12 Moving to Node #0,1,3 Current State: 34:[32, 12], Operations: ['98-66=32', '72/6=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,34 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[6, 40], Operations: ['98-66=32', '72-32=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,34 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[98, 66, 72, 6], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [72, 6, 32] Generated Node #0,1: 34:[72, 6, 32] Operation: 98-66=32 Moving to Node #0,1 Current State: 34:[72, 6, 32], Operations: ['98-66=32'] Exploring Operation: 72-32=40, Resulting Numbers: [6, 40] Generated Node #0,1,0: 34:[6, 40] Operation: 72-32=40 Moving to Node #0,1,0 Current State: 34:[6, 40], Operations: ['98-66=32', '72-32=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 13, 34, 26, 43 ]
52
[ "26/13=2", "43*2=86", "86-34=52" ]
Current State: 52:[13, 34, 26, 43], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [34, 43, 2] Generated Node #2: [34, 43, 2] from Operation: 26/13=2 Current State: 52:[34, 43, 2], Operations: ['26/13=2'] Exploring Operation: 43*2=86, Resulting Numbers: [34, 86] Generated Node #3: [34, 86] from Operation: 43*2=86 Current State: 52:[34, 86], Operations: ['26/13=2', '43*2=86'] Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 34, 26, 43], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [13, 26, 9] Generated Node #0,0: 52:[13, 26, 9] Operation: 43-34=9 Moving to Node #0,0 Current State: 52:[13, 26, 9], Operations: ['43-34=9'] Exploring Operation: 13-9=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 52:[26, 4] Operation: 13-9=4 Moving to Node #0,0,0 Current State: 52:[26, 4], Operations: ['43-34=9', '13-9=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,52 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 27, 55, 76 ]
48
[ "54-27=27", "76-55=21", "27+21=48" ]
Current State: 48:[54, 27, 55, 76], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [55, 76, 27] Generated Node #2: [55, 76, 27] from Operation: 54-27=27 Current State: 48:[55, 76, 27], Operations: ['54-27=27'] Exploring Operation: 76-55=21, Resulting Numbers: [27, 21] Generated Node #3: [27, 21] from Operation: 76-55=21 Current State: 48:[27, 21], Operations: ['54-27=27', '76-55=21'] Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[54, 27, 55, 76], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [27, 55, 22] Generated Node #0,0: 48:[27, 55, 22] Operation: 76-54=22 Exploring Operation: 76-27=49, Resulting Numbers: [54, 55, 49] Generated Node #0,1: 48:[54, 55, 49] Operation: 76-27=49 Exploring Operation: 55-54=1, Resulting Numbers: [27, 76, 1] Generated Node #0,2: 48:[27, 76, 1] Operation: 55-54=1 Exploring Operation: 54/27=2, Resulting Numbers: [55, 76, 2] Generated Node #0,3: 48:[55, 76, 2] Operation: 54/27=2 Exploring Operation: 76-55=21, Resulting Numbers: [54, 27, 21] Generated Node #0,4: 48:[54, 27, 21] Operation: 76-55=21 Moving to Node #0,0 Current State: 48:[27, 55, 22], Operations: ['76-54=22'] Exploring Operation: 27-22=5, Resulting Numbers: [55, 5] Generated Node #0,0,0: 48:[55, 5] Operation: 27-22=5 Exploring Operation: 55-27=28, Resulting Numbers: [22, 28] Generated Node #0,0,1: 48:[22, 28] Operation: 55-27=28 Exploring Operation: 55-22=33, Resulting Numbers: [27, 33] Generated Node #0,0,2: 48:[27, 33] Operation: 55-22=33 Exploring Operation: 55+22=77, Resulting Numbers: [27, 77] Generated Node #0,0,3: 48:[27, 77] Operation: 55+22=77 Exploring Operation: 27+22=49, Resulting Numbers: [55, 49] Generated Node #0,0,4: 48:[55, 49] Operation: 27+22=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[22, 28], Operations: ['76-54=22', '55-27=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,48 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[55, 5], Operations: ['76-54=22', '27-22=5'] Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,48 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[55, 49], Operations: ['76-54=22', '27+22=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,48 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[27, 33], Operations: ['76-54=22', '55-22=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[27, 77], Operations: ['76-54=22', '55+22=77'] Exploring Operation: 27*77=2079, Resulting Numbers: [2079] 2079,48 unequal: No Solution Exploring Operation: 27+77=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,48 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: 48:[54, 27, 21], Operations: ['76-55=21'] Exploring Operation: 54-21=33, Resulting Numbers: [27, 33] Generated Node #0,4,0: 48:[27, 33] Operation: 54-21=33 Exploring Operation: 27-21=6, Resulting Numbers: [54, 6] Generated Node #0,4,1: 48:[54, 6] Operation: 27-21=6 Exploring Operation: 27+21=48, Resulting Numbers: [54, 48] Generated Node #0,4,2: 48:[54, 48] Operation: 27+21=48 Exploring Operation: 54-27=27, Resulting Numbers: [21, 27] Generated Node #0,4,3: 48:[21, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [21, 2] Generated Node #0,4,4: 48:[21, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 48:[54, 55, 49], Operations: ['76-27=49'] Exploring Operation: 54-49=5, Resulting Numbers: [55, 5] Generated Node #0,1,0: 48:[55, 5] Operation: 54-49=5 Exploring Operation: 55-49=6, Resulting Numbers: [54, 6] Generated Node #0,1,1: 48:[54, 6] Operation: 55-49=6 Exploring Operation: 55-54=1, Resulting Numbers: [49, 1] Generated Node #0,1,2: 48:[49, 1] Operation: 55-54=1 Exploring Operation: 54+55=109, Resulting Numbers: [49, 109] Generated Node #0,1,3: 48:[49, 109] Operation: 54+55=109 Exploring Operation: 54+49=103, Resulting Numbers: [55, 103] Generated Node #0,1,4: 48:[55, 103] Operation: 54+49=103 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[49, 1], Operations: ['76-27=49', '55-54=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[54, 27, 55, 76], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [54, 55, 49] Generated Node #0,1: 48:[54, 55, 49] Operation: 76-27=49 Moving to Node #0,1 Current State: 48:[54, 55, 49], Operations: ['76-27=49'] Exploring Operation: 55-54=1, Resulting Numbers: [49, 1] Generated Node #0,1,2: 48:[49, 1] Operation: 55-54=1 Moving to Node #0,1,2 Current State: 48:[49, 1], Operations: ['76-27=49', '55-54=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 66, 3, 75, 14 ]
13
[ "75-66=9", "3*9=27", "27-14=13" ]
Current State: 13:[66, 3, 75, 14], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [3, 14, 9] Generated Node #2: [3, 14, 9] from Operation: 75-66=9 Current State: 13:[3, 14, 9], Operations: ['75-66=9'] Exploring Operation: 3*9=27, Resulting Numbers: [14, 27] Generated Node #3: [14, 27] from Operation: 3*9=27 Current State: 13:[14, 27], Operations: ['75-66=9', '3*9=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[66, 3, 75, 14], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [3, 75, 52] Generated Node #0,0: 13:[3, 75, 52] Operation: 66-14=52 Exploring Operation: 75/3=25, Resulting Numbers: [66, 14, 25] Generated Node #0,1: 13:[66, 14, 25] Operation: 75/3=25 Exploring Operation: 66/3=22, Resulting Numbers: [75, 14, 22] Generated Node #0,2: 13:[75, 14, 22] Operation: 66/3=22 Exploring Operation: 75-66=9, Resulting Numbers: [3, 14, 9] Generated Node #0,3: 13:[3, 14, 9] Operation: 75-66=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[3, 14, 9], Operations: ['75-66=9'] Exploring Operation: 3+14=17, Resulting Numbers: [9, 17] Generated Node #0,3,0: 13:[9, 17] Operation: 3+14=17 Exploring Operation: 3+9=12, Resulting Numbers: [14, 12] Generated Node #0,3,1: 13:[14, 12] Operation: 3+9=12 Exploring Operation: 9-3=6, Resulting Numbers: [14, 6] Generated Node #0,3,2: 13:[14, 6] Operation: 9-3=6 Exploring Operation: 14-3=11, Resulting Numbers: [9, 11] Generated Node #0,3,3: 13:[9, 11] Operation: 14-3=11 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[14, 12], Operations: ['75-66=9', '3+9=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,13 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,13 unequal: No Solution No 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: 13:[9, 11], Operations: ['75-66=9', '14-3=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,13 unequal: No Solution No 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: 13:[9, 17], Operations: ['75-66=9', '3+14=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,13 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,13 unequal: No Solution No 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: 13:[14, 6], Operations: ['75-66=9', '9-3=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,13 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: 13:[66, 14, 25], Operations: ['75/3=25'] Exploring Operation: 66-14=52, Resulting Numbers: [25, 52] Generated Node #0,1,0: 13:[25, 52] Operation: 66-14=52 Exploring Operation: 66+14=80, Resulting Numbers: [25, 80] Generated Node #0,1,1: 13:[25, 80] Operation: 66+14=80 Exploring Operation: 25-14=11, Resulting Numbers: [66, 11] Generated Node #0,1,2: 13:[66, 11] Operation: 25-14=11 Exploring Operation: 66-25=41, Resulting Numbers: [14, 41] Generated Node #0,1,3: 13:[14, 41] Operation: 66-25=41 Moving to Node #0,1,3 Current State: 13:[14, 41], Operations: ['75/3=25', '66-25=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[25, 52], Operations: ['75/3=25', '66-14=52'] Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,13 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,13 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[66, 11], Operations: ['75/3=25', '25-14=11'] Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,13 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[25, 80], Operations: ['75/3=25', '66+14=80'] Exploring Operation: 25+80=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 25*80=2000, Resulting Numbers: [2000] 2000,13 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[75, 14, 22], Operations: ['66/3=22'] Exploring Operation: 22-14=8, Resulting Numbers: [75, 8] Generated Node #0,2,0: 13:[75, 8] Operation: 22-14=8 Exploring Operation: 75-22=53, Resulting Numbers: [14, 53] Generated Node #0,2,1: 13:[14, 53] Operation: 75-22=53 Exploring Operation: 75+14=89, Resulting Numbers: [22, 89] Generated Node #0,2,2: 13:[22, 89] Operation: 75+14=89 Exploring Operation: 75-14=61, Resulting Numbers: [22, 61] Generated Node #0,2,3: 13:[22, 61] Operation: 75-14=61 Moving to Node #0,2,1 Current State: 13:[14, 53], Operations: ['66/3=22', '75-22=53'] Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,13 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[22, 61], Operations: ['66/3=22', '75-14=61'] Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,13 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[75, 8], Operations: ['66/3=22', '22-14=8'] Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,13 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[22, 89], Operations: ['66/3=22', '75+14=89'] Exploring Operation: 22+89=111, Resulting Numbers: [111] 111,13 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,13 unequal: No Solution Exploring Operation: 22*89=1958, Resulting Numbers: [1958] 1958,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[3, 75, 52], Operations: ['66-14=52'] Exploring Operation: 52-3=49, Resulting Numbers: [75, 49] Generated Node #0,0,0: 13:[75, 49] Operation: 52-3=49 Exploring Operation: 75-3=72, Resulting Numbers: [52, 72] Generated Node #0,0,1: 13:[52, 72] Operation: 75-3=72 Exploring Operation: 75/3=25, Resulting Numbers: [52, 25] Generated Node #0,0,2: 13:[52, 25] Operation: 75/3=25 Exploring Operation: 75-52=23, Resulting Numbers: [3, 23] Generated Node #0,0,3: 13:[3, 23] Operation: 75-52=23 Moving to Node #0,0,3 Current State: 13:[3, 23], Operations: ['66-14=52', '75-52=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[52, 25], Operations: ['66-14=52', '75/3=25'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,13 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[52, 72], Operations: ['66-14=52', '75-3=72'] Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,13 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[75, 49], Operations: ['66-14=52', '52-3=49'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 75+49=124, Resulting Numbers: [124] 124,13 unequal: No Solution Exploring Operation: 75*49=3675, Resulting Numbers: [3675] 3675,13 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
[ 67, 18, 4, 99 ]
94
[ "67+99=166", "18*4=72", "166-72=94" ]
Current State: 94:[67, 18, 4, 99], Operations: [] Exploring Operation: 67+99=166, Resulting Numbers: [18, 4, 166] Generated Node #2: [18, 4, 166] from Operation: 67+99=166 Current State: 94:[18, 4, 166], Operations: ['67+99=166'] Exploring Operation: 18*4=72, Resulting Numbers: [166, 72] Generated Node #3: [166, 72] from Operation: 18*4=72 Current State: 94:[166, 72], Operations: ['67+99=166', '18*4=72'] Exploring Operation: 166-72=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[67, 18, 4, 99], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [4, 99, 49] Generated Node #0,0: 94:[4, 99, 49] Operation: 67-18=49 Exploring Operation: 67+18=85, Resulting Numbers: [4, 99, 85] Generated Node #0,1: 94:[4, 99, 85] Operation: 67+18=85 Exploring Operation: 99-18=81, Resulting Numbers: [67, 4, 81] Generated Node #0,2: 94:[67, 4, 81] Operation: 99-18=81 Exploring Operation: 99-67=32, Resulting Numbers: [18, 4, 32] Generated Node #0,3: 94:[18, 4, 32] Operation: 99-67=32 Exploring Operation: 67-4=63, Resulting Numbers: [18, 99, 63] Generated Node #0,4: 94:[18, 99, 63] Operation: 67-4=63 Moving to Node #0,0 Current State: 94:[4, 99, 49], Operations: ['67-18=49'] Exploring Operation: 4+99=103, Resulting Numbers: [49, 103] Generated Node #0,0,0: 94:[49, 103] Operation: 4+99=103 Exploring Operation: 4+49=53, Resulting Numbers: [99, 53] Generated Node #0,0,1: 94:[99, 53] Operation: 4+49=53 Exploring Operation: 49-4=45, Resulting Numbers: [99, 45] Generated Node #0,0,2: 94:[99, 45] Operation: 49-4=45 Exploring Operation: 99-49=50, Resulting Numbers: [4, 50] Generated Node #0,0,3: 94:[4, 50] Operation: 99-49=50 Exploring Operation: 99-4=95, Resulting Numbers: [49, 95] Generated Node #0,0,4: 94:[49, 95] Operation: 99-4=95 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[49, 95], Operations: ['67-18=49', '99-4=95'] Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,94 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,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:[4, 50], Operations: ['67-18=49', '99-49=50'] Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,94 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,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:[99, 45], Operations: ['67-18=49', '49-4=45'] Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,94 unequal: No Solution Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,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:[49, 103], Operations: ['67-18=49', '4+99=103'] Exploring Operation: 49*103=5047, Resulting Numbers: [5047] 5047,94 unequal: No Solution Exploring Operation: 49+103=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 103-49=54, Resulting Numbers: [54] 54,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,1 Current State: 94:[99, 53], Operations: ['67-18=49', '4+49=53'] Exploring Operation: 99+53=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 99*53=5247, Resulting Numbers: [5247] 5247,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:[4, 99, 85], Operations: ['67+18=85'] Exploring Operation: 99-85=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 94:[4, 14] Operation: 99-85=14 Exploring Operation: 4+99=103, Resulting Numbers: [85, 103] Generated Node #0,1,1: 94:[85, 103] Operation: 4+99=103 Exploring Operation: 85-4=81, Resulting Numbers: [99, 81] Generated Node #0,1,2: 94:[99, 81] Operation: 85-4=81 Exploring Operation: 4+85=89, Resulting Numbers: [99, 89] Generated Node #0,1,3: 94:[99, 89] Operation: 4+85=89 Exploring Operation: 99-4=95, Resulting Numbers: [85, 95] Generated Node #0,1,4: 94:[85, 95] Operation: 99-4=95 Moving to Node #0,3 Current State: 94:[18, 4, 32], Operations: ['99-67=32'] Exploring Operation: 18-4=14, Resulting Numbers: [32, 14] Generated Node #0,3,0: 94:[32, 14] Operation: 18-4=14 Exploring Operation: 4+32=36, Resulting Numbers: [18, 36] Generated Node #0,3,1: 94:[18, 36] Operation: 4+32=36 Exploring Operation: 32/4=8, Resulting Numbers: [18, 8] Generated Node #0,3,2: 94:[18, 8] Operation: 32/4=8 Exploring Operation: 32-18=14, Resulting Numbers: [4, 14] Generated Node #0,3,3: 94:[4, 14] Operation: 32-18=14 Exploring Operation: 18+32=50, Resulting Numbers: [4, 50] Generated Node #0,3,4: 94:[4, 50] Operation: 18+32=50 Moving to Node #0,2 Current State: 94:[67, 4, 81], Operations: ['99-18=81'] Exploring Operation: 4+81=85, Resulting Numbers: [67, 85] Generated Node #0,2,0: 94:[67, 85] Operation: 4+81=85 Exploring Operation: 81-67=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 94:[4, 14] Operation: 81-67=14 Exploring Operation: 67-4=63, Resulting Numbers: [81, 63] Generated Node #0,2,2: 94:[81, 63] Operation: 67-4=63 Exploring Operation: 81-4=77, Resulting Numbers: [67, 77] Generated Node #0,2,3: 94:[67, 77] Operation: 81-4=77 Exploring Operation: 67+4=71, Resulting Numbers: [81, 71] Generated Node #0,2,4: 94:[81, 71] Operation: 67+4=71 Moving to Node #0,4 Current State: 94:[18, 99, 63], Operations: ['67-4=63'] Exploring Operation: 99-63=36, Resulting Numbers: [18, 36] Generated Node #0,4,0: 94:[18, 36] Operation: 99-63=36 Exploring Operation: 63-18=45, Resulting Numbers: [99, 45] Generated Node #0,4,1: 94:[99, 45] Operation: 63-18=45 Exploring Operation: 18+63=81, Resulting Numbers: [99, 81] Generated Node #0,4,2: 94:[99, 81] Operation: 18+63=81 Exploring Operation: 99-18=81, Resulting Numbers: [63, 81] Generated Node #0,4,3: 94:[63, 81] Operation: 99-18=81 Exploring Operation: 18+99=117, Resulting Numbers: [63, 117] Generated Node #0,4,4: 94:[63, 117] Operation: 18+99=117 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[99, 45], Operations: ['67-4=63', '63-18=45'] Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,94 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,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,2 Current State: 94:[99, 81], Operations: ['67-4=63', '18+63=81'] Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,94 unequal: No Solution Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,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:[18, 36], Operations: ['67-4=63', '99-63=36'] Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,94 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,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:[63, 81], Operations: ['67-4=63', '99-18=81'] Exploring Operation: 63*81=5103, Resulting Numbers: [5103] 5103,94 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 63+81=144, Resulting Numbers: [144] 144,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:[63, 117], Operations: ['67-4=63', '18+99=117'] Exploring Operation: 117-63=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 63*117=7371, Resulting Numbers: [7371] 7371,94 unequal: No Solution Exploring Operation: 63+117=180, Resulting Numbers: [180] 180,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 94:[4, 50], Operations: ['99-67=32', '18+32=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,94 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[99, 89], Operations: ['67+18=85', '4+85=89'] Exploring Operation: 99+89=188, Resulting Numbers: [188] 188,94 unequal: No Solution Exploring Operation: 99-89=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 99*89=8811, Resulting Numbers: [8811] 8811,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[85, 95], Operations: ['67+18=85', '99-4=95'] Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 85*95=8075, Resulting Numbers: [8075] 8075,94 unequal: No Solution Exploring Operation: 85+95=180, Resulting Numbers: [180] 180,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[4, 14], Operations: ['99-67=32', '32-18=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[4, 14], Operations: ['67+18=85', '99-85=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[4, 14], Operations: ['99-18=81', '81-67=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[99, 81], Operations: ['67+18=85', '85-4=81'] Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,94 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,94 unequal: No Solution Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[85, 103], Operations: ['67+18=85', '4+99=103'] Exploring Operation: 103-85=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 85*103=8755, Resulting Numbers: [8755] 8755,94 unequal: No Solution Exploring Operation: 85+103=188, Resulting Numbers: [188] 188,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[18, 8], Operations: ['99-67=32', '32/4=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[18, 36], Operations: ['99-67=32', '4+32=36'] Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,94 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[32, 14], Operations: ['99-67=32', '18-4=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[67, 85], Operations: ['99-18=81', '4+81=85'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,94 unequal: No Solution Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[81, 63], Operations: ['99-18=81', '67-4=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,94 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[81, 71], Operations: ['99-18=81', '67+4=71'] Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,94 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[67, 77], Operations: ['99-18=81', '81-4=77'] Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,94 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,94 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 30, 3, 27, 20 ]
97
[ "30*3=90", "27-20=7", "90+7=97" ]
Current State: 97:[30, 3, 27, 20], Operations: [] Exploring Operation: 30*3=90, Resulting Numbers: [27, 20, 90] Generated Node #2: [27, 20, 90] from Operation: 30*3=90 Current State: 97:[27, 20, 90], Operations: ['30*3=90'] Exploring Operation: 27-20=7, Resulting Numbers: [90, 7] Generated Node #3: [90, 7] from Operation: 27-20=7 Current State: 97:[90, 7], Operations: ['30*3=90', '27-20=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[30, 3, 27, 20], Operations: [] Exploring Operation: 3*27=81, Resulting Numbers: [30, 20, 81] Generated Node #0,0: 97:[30, 20, 81] Operation: 3*27=81 Exploring Operation: 3*20=60, Resulting Numbers: [30, 27, 60] Generated Node #0,1: 97:[30, 27, 60] Operation: 3*20=60 Exploring Operation: 30*3=90, Resulting Numbers: [27, 20, 90] Generated Node #0,2: 97:[27, 20, 90] Operation: 30*3=90 Moving to Node #0,2 Current State: 97:[27, 20, 90], Operations: ['30*3=90'] Exploring Operation: 27+20=47, Resulting Numbers: [90, 47] Generated Node #0,2,0: 97:[90, 47] Operation: 27+20=47 Exploring Operation: 27-20=7, Resulting Numbers: [90, 7] Generated Node #0,2,1: 97:[90, 7] Operation: 27-20=7 Exploring Operation: 20+90=110, Resulting Numbers: [27, 110] Generated Node #0,2,2: 97:[27, 110] Operation: 20+90=110 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[90, 47], Operations: ['30*3=90', '27+20=47'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 90+47=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 90*47=4230, Resulting Numbers: [4230] 4230,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:[27, 110], Operations: ['30*3=90', '20+90=110'] Exploring Operation: 110-27=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 27*110=2970, Resulting Numbers: [2970] 2970,97 unequal: No Solution Exploring Operation: 27+110=137, Resulting Numbers: [137] 137,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,1 Current State: 97:[90, 7], Operations: ['30*3=90', '27-20=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,97 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[30, 3, 27, 20], Operations: [] Exploring Operation: 30*3=90, Resulting Numbers: [27, 20, 90] Generated Node #0,2: 97:[27, 20, 90] Operation: 30*3=90 Moving to Node #0,2 Current State: 97:[27, 20, 90], Operations: ['30*3=90'] Exploring Operation: 27-20=7, Resulting Numbers: [90, 7] Generated Node #0,2,1: 97:[90, 7] Operation: 27-20=7 Moving to Node #0,2,1 Current State: 97:[90, 7], Operations: ['30*3=90', '27-20=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 81, 74, 8, 86 ]
71
[ "81-74=7", "86-8=78", "78-7=71" ]
Current State: 71:[81, 74, 8, 86], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [8, 86, 7] Generated Node #2: [8, 86, 7] from Operation: 81-74=7 Current State: 71:[8, 86, 7], Operations: ['81-74=7'] Exploring Operation: 86-8=78, Resulting Numbers: [7, 78] Generated Node #3: [7, 78] from Operation: 86-8=78 Current State: 71:[7, 78], Operations: ['81-74=7', '86-8=78'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[81, 74, 8, 86], Operations: [] Exploring Operation: 74-8=66, Resulting Numbers: [81, 86, 66] Generated Node #0,0: 71:[81, 86, 66] Operation: 74-8=66 Exploring Operation: 81-8=73, Resulting Numbers: [74, 86, 73] Generated Node #0,1: 71:[74, 86, 73] Operation: 81-8=73 Exploring Operation: 86-8=78, Resulting Numbers: [81, 74, 78] Generated Node #0,2: 71:[81, 74, 78] Operation: 86-8=78 Exploring Operation: 74+8=82, Resulting Numbers: [81, 86, 82] Generated Node #0,3: 71:[81, 86, 82] Operation: 74+8=82 Exploring Operation: 81+8=89, Resulting Numbers: [74, 86, 89] Generated Node #0,4: 71:[74, 86, 89] Operation: 81+8=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[74, 86, 73], Operations: ['81-8=73'] Exploring Operation: 74+73=147, Resulting Numbers: [86, 147] Generated Node #0,1,0: 71:[86, 147] Operation: 74+73=147 Exploring Operation: 86-73=13, Resulting Numbers: [74, 13] Generated Node #0,1,1: 71:[74, 13] Operation: 86-73=13 Exploring Operation: 74+86=160, Resulting Numbers: [73, 160] Generated Node #0,1,2: 71:[73, 160] Operation: 74+86=160 Exploring Operation: 74-73=1, Resulting Numbers: [86, 1] Generated Node #0,1,3: 71:[86, 1] Operation: 74-73=1 Exploring Operation: 86-74=12, Resulting Numbers: [73, 12] Generated Node #0,1,4: 71:[73, 12] Operation: 86-74=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[74, 13], Operations: ['81-8=73', '86-73=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,71 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 71:[73, 12], Operations: ['81-8=73', '86-74=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,71 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[86, 1], Operations: ['81-8=73', '74-73=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[86, 147], Operations: ['81-8=73', '74+73=147'] Exploring Operation: 147-86=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 86+147=233, Resulting Numbers: [233] 233,71 unequal: No Solution Exploring Operation: 86*147=12642, Resulting Numbers: [12642] 12642,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[73, 160], Operations: ['81-8=73', '74+86=160'] Exploring Operation: 73+160=233, Resulting Numbers: [233] 233,71 unequal: No Solution Exploring Operation: 73*160=11680, Resulting Numbers: [11680] 11680,71 unequal: No Solution Exploring Operation: 160-73=87, Resulting Numbers: [87] 87,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[81, 74, 78], Operations: ['86-8=78'] Exploring Operation: 78-74=4, Resulting Numbers: [81, 4] Generated Node #0,2,0: 71:[81, 4] Operation: 78-74=4 Exploring Operation: 81+78=159, Resulting Numbers: [74, 159] Generated Node #0,2,1: 71:[74, 159] Operation: 81+78=159 Exploring Operation: 81-74=7, Resulting Numbers: [78, 7] Generated Node #0,2,2: 71:[78, 7] Operation: 81-74=7 Exploring Operation: 81-78=3, Resulting Numbers: [74, 3] Generated Node #0,2,3: 71:[74, 3] Operation: 81-78=3 Exploring Operation: 81+74=155, Resulting Numbers: [78, 155] Generated Node #0,2,4: 71:[78, 155] Operation: 81+74=155 Moving to Node #0,2,2 Current State: 71:[78, 7], Operations: ['86-8=78', '81-74=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[81, 74, 8, 86], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [81, 74, 78] Generated Node #0,2: 71:[81, 74, 78] Operation: 86-8=78 Moving to Node #0,2 Current State: 71:[81, 74, 78], Operations: ['86-8=78'] Exploring Operation: 81-74=7, Resulting Numbers: [78, 7] Generated Node #0,2,2: 71:[78, 7] Operation: 81-74=7 Moving to Node #0,2,2 Current State: 71:[78, 7], Operations: ['86-8=78', '81-74=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 37, 37, 47, 19 ]
66
[ "37-37=0", "47+19=66", "0+66=66" ]
Current State: 66:[37, 37, 47, 19], Operations: [] Exploring Operation: 37-37=0, Resulting Numbers: [47, 19, 0] Generated Node #2: [47, 19, 0] from Operation: 37-37=0 Current State: 66:[47, 19, 0], Operations: ['37-37=0'] Exploring Operation: 47+19=66, Resulting Numbers: [0, 66] Generated Node #3: [0, 66] from Operation: 47+19=66 Current State: 66:[0, 66], Operations: ['37-37=0', '47+19=66'] Exploring Operation: 0+66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[37, 37, 47, 19], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [37, 19, 10] Generated Node #0,0: 66:[37, 19, 10] Operation: 47-37=10 Exploring Operation: 47-37=10, Resulting Numbers: [37, 19, 10] Generated Node #0,1: 66:[37, 19, 10] Operation: 47-37=10 Exploring Operation: 47+19=66, Resulting Numbers: [37, 37, 66] Generated Node #0,2: 66:[37, 37, 66] Operation: 47+19=66 Exploring Operation: 47-19=28, Resulting Numbers: [37, 37, 28] Generated Node #0,3: 66:[37, 37, 28] Operation: 47-19=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[37, 19, 10], Operations: ['47-37=10'] Exploring Operation: 19-10=9, Resulting Numbers: [37, 9] Generated Node #0,0,0: 66:[37, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [37, 29] Generated Node #0,0,1: 66:[37, 29] Operation: 19+10=29 Exploring Operation: 37-10=27, Resulting Numbers: [19, 27] Generated Node #0,0,2: 66:[19, 27] Operation: 37-10=27 Exploring Operation: 37-19=18, Resulting Numbers: [10, 18] Generated Node #0,0,3: 66:[10, 18] Operation: 37-19=18 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 66:[10, 18], Operations: ['47-37=10', '37-19=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,66 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[37, 9], Operations: ['47-37=10', '19-10=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,66 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[37, 29], Operations: ['47-37=10', '19+10=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,66 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[37, 37, 47, 19], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [37, 19, 10] Generated Node #0,0: 66:[37, 19, 10] Operation: 47-37=10 Moving to Node #0,0 Current State: 66:[37, 19, 10], Operations: ['47-37=10'] Exploring Operation: 19+10=29, Resulting Numbers: [37, 29] Generated Node #0,0,1: 66:[37, 29] Operation: 19+10=29 Moving to Node #0,0,1 Current State: 66:[37, 29], Operations: ['47-37=10', '19+10=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 27, 39, 60, 67 ]
26
[ "67-27=40", "39*40=1560", "1560/60=26" ]
Current State: 26:[27, 39, 60, 67], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [39, 60, 40] Generated Node #2: [39, 60, 40] from Operation: 67-27=40 Current State: 26:[39, 60, 40], Operations: ['67-27=40'] Exploring Operation: 39*40=1560, Resulting Numbers: [60, 1560] Generated Node #3: [60, 1560] from Operation: 39*40=1560 Current State: 26:[60, 1560], Operations: ['67-27=40', '39*40=1560'] Exploring Operation: 1560/60=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 39, 60, 67], Operations: [] Exploring Operation: 67-60=7, Resulting Numbers: [27, 39, 7] Generated Node #0,0: 26:[27, 39, 7] Operation: 67-60=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[27, 39, 7], Operations: ['67-60=7'] Exploring Operation: 39-27=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 26:[7, 12] Operation: 39-27=12 Moving to Node #0,0,0 Current State: 26:[7, 12], Operations: ['67-60=7', '39-27=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,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
mult_heuristic
[ 34, 4, 15, 23 ]
29
[ "34-23=11", "4*11=44", "44-15=29" ]
Current State: 29:[34, 4, 15, 23], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [4, 15, 11] Generated Node #2: [4, 15, 11] from Operation: 34-23=11 Current State: 29:[4, 15, 11], Operations: ['34-23=11'] Exploring Operation: 4*11=44, Resulting Numbers: [15, 44] Generated Node #3: [15, 44] from Operation: 4*11=44 Current State: 29:[15, 44], Operations: ['34-23=11', '4*11=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[34, 4, 15, 23], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [15, 23, 30] Generated Node #0,0: 29:[15, 23, 30] Operation: 34-4=30 Exploring Operation: 4+15=19, Resulting Numbers: [34, 23, 19] Generated Node #0,1: 29:[34, 23, 19] Operation: 4+15=19 Moving to Node #0,0 Current State: 29:[15, 23, 30], Operations: ['34-4=30'] Exploring Operation: 15+23=38, Resulting Numbers: [30, 38] Generated Node #0,0,0: 29:[30, 38] Operation: 15+23=38 Exploring Operation: 30-15=15, Resulting Numbers: [23, 15] Generated Node #0,0,1: 29:[23, 15] Operation: 30-15=15 Moving to Node #0,1 Current State: 29:[34, 23, 19], Operations: ['4+15=19'] Exploring Operation: 34-19=15, Resulting Numbers: [23, 15] Generated Node #0,1,0: 29:[23, 15] Operation: 34-19=15 Exploring Operation: 23+19=42, Resulting Numbers: [34, 42] Generated Node #0,1,1: 29:[34, 42] Operation: 23+19=42 Moving to Node #0,0,0 Current State: 29:[30, 38], Operations: ['34-4=30', '15+23=38'] Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[34, 42], Operations: ['4+15=19', '23+19=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[23, 15], Operations: ['34-4=30', '30-15=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[23, 15], Operations: ['4+15=19', '34-19=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,29 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 34, 30, 11, 21 ]
32
[ "34+30=64", "11+21=32", "64-32=32" ]
Current State: 32:[34, 30, 11, 21], Operations: [] Exploring Operation: 34+30=64, Resulting Numbers: [11, 21, 64] Generated Node #2: [11, 21, 64] from Operation: 34+30=64 Current State: 32:[11, 21, 64], Operations: ['34+30=64'] Exploring Operation: 11+21=32, Resulting Numbers: [64, 32] Generated Node #3: [64, 32] from Operation: 11+21=32 Current State: 32:[64, 32], Operations: ['34+30=64', '11+21=32'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 30, 11, 21], Operations: [] Exploring Operation: 30-21=9, Resulting Numbers: [34, 11, 9] Generated Node #0,0: 32:[34, 11, 9] Operation: 30-21=9 Exploring Operation: 11+21=32, Resulting Numbers: [34, 30, 32] Generated Node #0,1: 32:[34, 30, 32] Operation: 11+21=32 Moving to Node #0,1 Current State: 32:[34, 30, 32], Operations: ['11+21=32'] Exploring Operation: 34-32=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 32:[30, 2] Operation: 34-32=2 Exploring Operation: 34-30=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 32:[32, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[32, 4], Operations: ['11+21=32', '34-30=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 32+4=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,1,0 Current State: 32:[30, 2], Operations: ['11+21=32', '34-32=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[34, 30, 11, 21], Operations: [] Exploring Operation: 11+21=32, Resulting Numbers: [34, 30, 32] Generated Node #0,1: 32:[34, 30, 32] Operation: 11+21=32 Moving to Node #0,1 Current State: 32:[34, 30, 32], Operations: ['11+21=32'] Exploring Operation: 34-32=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 32:[30, 2] Operation: 34-32=2 Moving to Node #0,1,0 Current State: 32:[30, 2], Operations: ['11+21=32', '34-32=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 26, 51, 22, 56 ]
59
[ "51-26=25", "56-22=34", "25+34=59" ]
Current State: 59:[26, 51, 22, 56], Operations: [] Exploring Operation: 51-26=25, Resulting Numbers: [22, 56, 25] Generated Node #2: [22, 56, 25] from Operation: 51-26=25 Current State: 59:[22, 56, 25], Operations: ['51-26=25'] Exploring Operation: 56-22=34, Resulting Numbers: [25, 34] Generated Node #3: [25, 34] from Operation: 56-22=34 Current State: 59:[25, 34], Operations: ['51-26=25', '56-22=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[26, 51, 22, 56], Operations: [] Exploring Operation: 26+22=48, Resulting Numbers: [51, 56, 48] Generated Node #0,0: 59:[51, 56, 48] Operation: 26+22=48 Exploring Operation: 51+22=73, Resulting Numbers: [26, 56, 73] Generated Node #0,1: 59:[26, 56, 73] Operation: 51+22=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[51, 56, 48], Operations: ['26+22=48'] Exploring Operation: 51+48=99, Resulting Numbers: [56, 99] Generated Node #0,0,0: 59:[56, 99] Operation: 51+48=99 Exploring Operation: 56+48=104, Resulting Numbers: [51, 104] Generated Node #0,0,1: 59:[51, 104] Operation: 56+48=104 Moving to Node #0,0,0 Current State: 59:[56, 99], Operations: ['26+22=48', '51+48=99'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 56+99=155, Resulting Numbers: [155] 155,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[51, 104], Operations: ['26+22=48', '56+48=104'] Exploring Operation: 51+104=155, Resulting Numbers: [155] 155,59 unequal: No Solution Exploring Operation: 104-51=53, Resulting Numbers: [53] 53,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:[26, 56, 73], Operations: ['51+22=73'] Exploring Operation: 73-26=47, Resulting Numbers: [56, 47] Generated Node #0,1,0: 59:[56, 47] Operation: 73-26=47 Exploring Operation: 26+56=82, Resulting Numbers: [73, 82] Generated Node #0,1,1: 59:[73, 82] Operation: 26+56=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[56, 47], Operations: ['51+22=73', '73-26=47'] Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,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:[73, 82], Operations: ['51+22=73', '26+56=82'] Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 92, 38, 7 ]
75
[ "99+92=191", "38*7=266", "266-191=75" ]
Current State: 75:[99, 92, 38, 7], Operations: [] Exploring Operation: 99+92=191, Resulting Numbers: [38, 7, 191] Generated Node #2: [38, 7, 191] from Operation: 99+92=191 Current State: 75:[38, 7, 191], Operations: ['99+92=191'] Exploring Operation: 38*7=266, Resulting Numbers: [191, 266] Generated Node #3: [191, 266] from Operation: 38*7=266 Current State: 75:[191, 266], Operations: ['99+92=191', '38*7=266'] Exploring Operation: 266-191=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[99, 92, 38, 7], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [92, 7, 61] Generated Node #0,0: 75:[92, 7, 61] Operation: 99-38=61 Exploring Operation: 99-92=7, Resulting Numbers: [38, 7, 7] Generated Node #0,1: 75:[38, 7, 7] Operation: 99-92=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[38, 7, 7], Operations: ['99-92=7'] Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,1,0: 75:[7, 31] Operation: 38-7=31 Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,1,1: 75:[7, 31] Operation: 38-7=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[7, 31], Operations: ['99-92=7', '38-7=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,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:[7, 31], Operations: ['99-92=7', '38-7=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,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:[92, 7, 61], Operations: ['99-38=61'] Exploring Operation: 92-61=31, Resulting Numbers: [7, 31] Generated Node #0,0,0: 75:[7, 31] Operation: 92-61=31 Exploring Operation: 92-7=85, Resulting Numbers: [61, 85] Generated Node #0,0,1: 75:[61, 85] Operation: 92-7=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[7, 31], Operations: ['99-38=61', '92-61=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[61, 85], Operations: ['99-38=61', '92-7=85'] Exploring Operation: 61+85=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_2
sum_heuristic
[ 98, 94, 74, 28 ]
92
[ "94+74=168", "168/28=6", "98-6=92" ]
Current State: 92:[98, 94, 74, 28], Operations: [] Exploring Operation: 94+74=168, Resulting Numbers: [98, 28, 168] Generated Node #2: [98, 28, 168] from Operation: 94+74=168 Current State: 92:[98, 28, 168], Operations: ['94+74=168'] Exploring Operation: 168/28=6, Resulting Numbers: [98, 6] Generated Node #3: [98, 6] from Operation: 168/28=6 Current State: 92:[98, 6], Operations: ['94+74=168', '168/28=6'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[98, 94, 74, 28], Operations: [] Exploring Operation: 74-28=46, Resulting Numbers: [98, 94, 46] Generated Node #0,0: 92:[98, 94, 46] Operation: 74-28=46 Exploring Operation: 98-94=4, Resulting Numbers: [74, 28, 4] Generated Node #0,1: 92:[74, 28, 4] Operation: 98-94=4 Exploring Operation: 98-74=24, Resulting Numbers: [94, 28, 24] Generated Node #0,2: 92:[94, 28, 24] Operation: 98-74=24 Exploring Operation: 94-74=20, Resulting Numbers: [98, 28, 20] Generated Node #0,3: 92:[98, 28, 20] Operation: 94-74=20 Exploring Operation: 74+28=102, Resulting Numbers: [98, 94, 102] Generated Node #0,4: 92:[98, 94, 102] Operation: 74+28=102 Moving to Node #0,0 Current State: 92:[98, 94, 46], Operations: ['74-28=46'] Exploring Operation: 94+46=140, Resulting Numbers: [98, 140] Generated Node #0,0,0: 92:[98, 140] Operation: 94+46=140 Exploring Operation: 98-46=52, Resulting Numbers: [94, 52] Generated Node #0,0,1: 92:[94, 52] Operation: 98-46=52 Exploring Operation: 98+46=144, Resulting Numbers: [94, 144] Generated Node #0,0,2: 92:[94, 144] Operation: 98+46=144 Exploring Operation: 98-94=4, Resulting Numbers: [46, 4] Generated Node #0,0,3: 92:[46, 4] Operation: 98-94=4 Exploring Operation: 94-46=48, Resulting Numbers: [98, 48] Generated Node #0,0,4: 92:[98, 48] Operation: 94-46=48 Moving to Node #0,2 Current State: 92:[94, 28, 24], Operations: ['98-74=24'] Exploring Operation: 94-24=70, Resulting Numbers: [28, 70] Generated Node #0,2,0: 92:[28, 70] Operation: 94-24=70 Exploring Operation: 28-24=4, Resulting Numbers: [94, 4] Generated Node #0,2,1: 92:[94, 4] Operation: 28-24=4 Exploring Operation: 94+28=122, Resulting Numbers: [24, 122] Generated Node #0,2,2: 92:[24, 122] Operation: 94+28=122 Exploring Operation: 28+24=52, Resulting Numbers: [94, 52] Generated Node #0,2,3: 92:[94, 52] Operation: 28+24=52 Exploring Operation: 94-28=66, Resulting Numbers: [24, 66] Generated Node #0,2,4: 92:[24, 66] Operation: 94-28=66 Moving to Node #0,3 Current State: 92:[98, 28, 20], Operations: ['94-74=20'] Exploring Operation: 98+20=118, Resulting Numbers: [28, 118] Generated Node #0,3,0: 92:[28, 118] Operation: 98+20=118 Exploring Operation: 28+20=48, Resulting Numbers: [98, 48] Generated Node #0,3,1: 92:[98, 48] Operation: 28+20=48 Exploring Operation: 98-28=70, Resulting Numbers: [20, 70] Generated Node #0,3,2: 92:[20, 70] Operation: 98-28=70 Exploring Operation: 98-20=78, Resulting Numbers: [28, 78] Generated Node #0,3,3: 92:[28, 78] Operation: 98-20=78 Exploring Operation: 28-20=8, Resulting Numbers: [98, 8] Generated Node #0,3,4: 92:[98, 8] Operation: 28-20=8 Moving to Node #0,4 Current State: 92:[98, 94, 102], Operations: ['74+28=102'] Exploring Operation: 102-94=8, Resulting Numbers: [98, 8] Generated Node #0,4,0: 92:[98, 8] Operation: 102-94=8 Exploring Operation: 98-94=4, Resulting Numbers: [102, 4] Generated Node #0,4,1: 92:[102, 4] Operation: 98-94=4 Exploring Operation: 102-98=4, Resulting Numbers: [94, 4] Generated Node #0,4,2: 92:[94, 4] Operation: 102-98=4 Exploring Operation: 98+94=192, Resulting Numbers: [102, 192] Generated Node #0,4,3: 92:[102, 192] Operation: 98+94=192 Exploring Operation: 98+102=200, Resulting Numbers: [94, 200] Generated Node #0,4,4: 92:[94, 200] Operation: 98+102=200 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[94, 4], Operations: ['74+28=102', '102-98=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,92 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 92:[98, 8], Operations: ['74+28=102', '102-94=8'] Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[102, 4], Operations: ['74+28=102', '98-94=4'] Exploring Operation: 102+4=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 102*4=408, Resulting Numbers: [408] 408,92 unequal: No Solution Exploring Operation: 102-4=98, Resulting Numbers: [98] 98,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[102, 192], Operations: ['74+28=102', '98+94=192'] Exploring Operation: 102+192=294, Resulting Numbers: [294] 294,92 unequal: No Solution Exploring Operation: 102*192=19584, Resulting Numbers: [19584] 19584,92 unequal: No Solution Exploring Operation: 192-102=90, Resulting Numbers: [90] 90,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 92:[94, 200], Operations: ['74+28=102', '98+102=200'] Exploring Operation: 94+200=294, Resulting Numbers: [294] 294,92 unequal: No Solution Exploring Operation: 94*200=18800, Resulting Numbers: [18800] 18800,92 unequal: No Solution Exploring Operation: 200-94=106, Resulting Numbers: [106] 106,92 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: 92:[74, 28, 4], Operations: ['98-94=4'] Exploring Operation: 28/4=7, Resulting Numbers: [74, 7] Generated Node #0,1,0: 92:[74, 7] Operation: 28/4=7 Exploring Operation: 74+28=102, Resulting Numbers: [4, 102] Generated Node #0,1,1: 92:[4, 102] Operation: 74+28=102 Exploring Operation: 74+4=78, Resulting Numbers: [28, 78] Generated Node #0,1,2: 92:[28, 78] Operation: 74+4=78 Exploring Operation: 74-28=46, Resulting Numbers: [4, 46] Generated Node #0,1,3: 92:[4, 46] Operation: 74-28=46 Exploring Operation: 28-4=24, Resulting Numbers: [74, 24] Generated Node #0,1,4: 92:[74, 24] Operation: 28-4=24 Moving to Node #0,0,3 Current State: 92:[46, 4], Operations: ['74-28=46', '98-94=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[4, 46], Operations: ['98-94=4', '74-28=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[94, 4], Operations: ['98-74=24', '28-24=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[94, 52], Operations: ['98-74=24', '28+24=52'] Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[98, 48], Operations: ['74-28=46', '94-46=48'] Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,92 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[98, 48], Operations: ['94-74=20', '28+20=48'] Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,92 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[94, 52], Operations: ['74-28=46', '98-46=52'] Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[98, 8], Operations: ['94-74=20', '28-20=8'] Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,92 unequal: No Solution Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[4, 102], Operations: ['98-94=4', '74+28=102'] Exploring Operation: 102-4=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 4+102=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 4*102=408, Resulting Numbers: [408] 408,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[74, 24], Operations: ['98-94=4', '28-4=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,92 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[28, 78], Operations: ['94-74=20', '98-20=78'] Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,92 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[28, 78], Operations: ['98-94=4', '74+4=78'] Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,92 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[74, 7], Operations: ['98-94=4', '28/4=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[24, 66], Operations: ['98-74=24', '94-28=66'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[20, 70], Operations: ['94-74=20', '98-28=70'] Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[28, 70], Operations: ['98-74=24', '94-24=70'] Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,92 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[24, 122], Operations: ['98-74=24', '94+28=122'] Exploring Operation: 122-24=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 24+122=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 24*122=2928, Resulting Numbers: [2928] 2928,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[28, 118], Operations: ['94-74=20', '98+20=118'] Exploring Operation: 28+118=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 28*118=3304, Resulting Numbers: [3304] 3304,92 unequal: No Solution Exploring Operation: 118-28=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[98, 140], Operations: ['74-28=46', '94+46=140'] Exploring Operation: 98+140=238, Resulting Numbers: [238] 238,92 unequal: No Solution Exploring Operation: 140-98=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 98*140=13720, Resulting Numbers: [13720] 13720,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[94, 144], Operations: ['74-28=46', '98+46=144'] Exploring Operation: 94+144=238, Resulting Numbers: [238] 238,92 unequal: No Solution Exploring Operation: 144-94=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 94*144=13536, Resulting Numbers: [13536] 13536,92 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 28, 99, 11 ]
73
[ "22/11=2", "99-28=71", "2+71=73" ]
Current State: 73:[22, 28, 99, 11], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [28, 99, 2] Generated Node #2: [28, 99, 2] from Operation: 22/11=2 Current State: 73:[28, 99, 2], Operations: ['22/11=2'] Exploring Operation: 99-28=71, Resulting Numbers: [2, 71] Generated Node #3: [2, 71] from Operation: 99-28=71 Current State: 73:[2, 71], Operations: ['22/11=2', '99-28=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[22, 28, 99, 11], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [28, 11, 77] Generated Node #0,0: 73:[28, 11, 77] Operation: 99-22=77 Exploring Operation: 22+28=50, Resulting Numbers: [99, 11, 50] Generated Node #0,1: 73:[99, 11, 50] Operation: 22+28=50 Exploring Operation: 28+11=39, Resulting Numbers: [22, 99, 39] Generated Node #0,2: 73:[22, 99, 39] Operation: 28+11=39 Exploring Operation: 22+11=33, Resulting Numbers: [28, 99, 33] Generated Node #0,3: 73:[28, 99, 33] Operation: 22+11=33 Exploring Operation: 99-11=88, Resulting Numbers: [22, 28, 88] Generated Node #0,4: 73:[22, 28, 88] Operation: 99-11=88 Moving to Node #0,0 Current State: 73:[28, 11, 77], Operations: ['99-22=77'] Exploring Operation: 77-28=49, Resulting Numbers: [11, 49] Generated Node #0,0,0: 73:[11, 49] Operation: 77-28=49 Exploring Operation: 77-11=66, Resulting Numbers: [28, 66] Generated Node #0,0,1: 73:[28, 66] Operation: 77-11=66 Exploring Operation: 28-11=17, Resulting Numbers: [77, 17] Generated Node #0,0,2: 73:[77, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [77, 39] Generated Node #0,0,3: 73:[77, 39] Operation: 28+11=39 Exploring Operation: 11+77=88, Resulting Numbers: [28, 88] Generated Node #0,0,4: 73:[28, 88] Operation: 11+77=88 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[77, 39], Operations: ['99-22=77', '28+11=39'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[28, 66], Operations: ['99-22=77', '77-11=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,73 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[77, 17], Operations: ['99-22=77', '28-11=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,73 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 73:[28, 88], Operations: ['99-22=77', '11+77=88'] Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 28*88=2464, Resulting Numbers: [2464] 2464,73 unequal: No Solution Exploring Operation: 28+88=116, Resulting Numbers: [116] 116,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[11, 49], Operations: ['99-22=77', '77-28=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,73 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,73 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: 73:[22, 99, 39], Operations: ['28+11=39'] Exploring Operation: 22+99=121, Resulting Numbers: [39, 121] Generated Node #0,2,0: 73:[39, 121] Operation: 22+99=121 Exploring Operation: 39-22=17, Resulting Numbers: [99, 17] Generated Node #0,2,1: 73:[99, 17] Operation: 39-22=17 Exploring Operation: 99-22=77, Resulting Numbers: [39, 77] Generated Node #0,2,2: 73:[39, 77] Operation: 99-22=77 Exploring Operation: 22+39=61, Resulting Numbers: [99, 61] Generated Node #0,2,3: 73:[99, 61] Operation: 22+39=61 Exploring Operation: 99-39=60, Resulting Numbers: [22, 60] Generated Node #0,2,4: 73:[22, 60] Operation: 99-39=60 Moving to Node #0,4 Current State: 73:[22, 28, 88], Operations: ['99-11=88'] Exploring Operation: 88-28=60, Resulting Numbers: [22, 60] Generated Node #0,4,0: 73:[22, 60] Operation: 88-28=60 Exploring Operation: 22+28=50, Resulting Numbers: [88, 50] Generated Node #0,4,1: 73:[88, 50] Operation: 22+28=50 Exploring Operation: 88-22=66, Resulting Numbers: [28, 66] Generated Node #0,4,2: 73:[28, 66] Operation: 88-22=66 Exploring Operation: 28-22=6, Resulting Numbers: [88, 6] Generated Node #0,4,3: 73:[88, 6] Operation: 28-22=6 Exploring Operation: 22+88=110, Resulting Numbers: [28, 110] Generated Node #0,4,4: 73:[28, 110] Operation: 22+88=110 Moving to Node #0,1 Current State: 73:[99, 11, 50], Operations: ['22+28=50'] Exploring Operation: 11+50=61, Resulting Numbers: [99, 61] Generated Node #0,1,0: 73:[99, 61] Operation: 11+50=61 Exploring Operation: 50-11=39, Resulting Numbers: [99, 39] Generated Node #0,1,1: 73:[99, 39] Operation: 50-11=39 Exploring Operation: 99-11=88, Resulting Numbers: [50, 88] Generated Node #0,1,2: 73:[50, 88] Operation: 99-11=88 Exploring Operation: 99-50=49, Resulting Numbers: [11, 49] Generated Node #0,1,3: 73:[11, 49] Operation: 99-50=49 Exploring Operation: 99+11=110, Resulting Numbers: [50, 110] Generated Node #0,1,4: 73:[50, 110] Operation: 99+11=110 Moving to Node #0,3 Current State: 73:[28, 99, 33], Operations: ['22+11=33'] Exploring Operation: 99-33=66, Resulting Numbers: [28, 66] Generated Node #0,3,0: 73:[28, 66] Operation: 99-33=66 Exploring Operation: 28+33=61, Resulting Numbers: [99, 61] Generated Node #0,3,1: 73:[99, 61] Operation: 28+33=61 Exploring Operation: 99-28=71, Resulting Numbers: [33, 71] Generated Node #0,3,2: 73:[33, 71] Operation: 99-28=71 Exploring Operation: 28+99=127, Resulting Numbers: [33, 127] Generated Node #0,3,3: 73:[33, 127] Operation: 28+99=127 Exploring Operation: 33-28=5, Resulting Numbers: [99, 5] Generated Node #0,3,4: 73:[99, 5] Operation: 33-28=5 Moving to Node #0,2,2 Current State: 73:[39, 77], Operations: ['28+11=39', '99-22=77'] Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,73 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[88, 50], Operations: ['99-11=88', '22+28=50'] Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,73 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[50, 88], Operations: ['22+28=50', '99-11=88'] Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[99, 61], Operations: ['28+11=39', '22+39=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[99, 61], Operations: ['22+28=50', '11+50=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,73 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[99, 61], Operations: ['22+11=33', '28+33=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[33, 71], Operations: ['22+11=33', '99-28=71'] Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,73 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[28, 66], Operations: ['99-11=88', '88-22=66'] Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,73 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[28, 66], Operations: ['22+11=33', '99-33=66'] Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,73 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[50, 110], Operations: ['22+28=50', '99+11=110'] Exploring Operation: 50+110=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 110-50=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 50*110=5500, Resulting Numbers: [5500] 5500,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[99, 39], Operations: ['22+28=50', '50-11=39'] Exploring Operation: 99+39=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 99*39=3861, Resulting Numbers: [3861] 3861,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[22, 60], Operations: ['28+11=39', '99-39=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[22, 60], Operations: ['99-11=88', '88-28=60'] Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,73 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[88, 6], Operations: ['99-11=88', '28-22=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[28, 110], Operations: ['99-11=88', '22+88=110'] Exploring Operation: 110-28=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 28+110=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 28*110=3080, Resulting Numbers: [3080] 3080,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[99, 17], Operations: ['28+11=39', '39-22=17'] Exploring Operation: 99*17=1683, Resulting Numbers: [1683] 1683,73 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 99+17=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[39, 121], Operations: ['28+11=39', '22+99=121'] Exploring Operation: 39+121=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 39*121=4719, Resulting Numbers: [4719] 4719,73 unequal: No Solution Exploring Operation: 121-39=82, Resulting Numbers: [82] 82,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[11, 49], Operations: ['22+28=50', '99-50=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,73 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[33, 127], Operations: ['22+11=33', '28+99=127'] Exploring Operation: 33*127=4191, Resulting Numbers: [4191] 4191,73 unequal: No Solution Exploring Operation: 33+127=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 127-33=94, Resulting Numbers: [94] 94,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[99, 5], Operations: ['22+11=33', '33-28=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,73 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,73 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 58, 65, 72, 21 ]
44
[ "65-58=7", "72-21=51", "51-7=44" ]
Current State: 44:[58, 65, 72, 21], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [72, 21, 7] Generated Node #2: [72, 21, 7] from Operation: 65-58=7 Current State: 44:[72, 21, 7], Operations: ['65-58=7'] Exploring Operation: 72-21=51, Resulting Numbers: [7, 51] Generated Node #3: [7, 51] from Operation: 72-21=51 Current State: 44:[7, 51], Operations: ['65-58=7', '72-21=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[58, 65, 72, 21], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [65, 21, 14] Generated Node #0,0: 44:[65, 21, 14] Operation: 72-58=14 Exploring Operation: 65-58=7, Resulting Numbers: [72, 21, 7] Generated Node #0,1: 44:[72, 21, 7] Operation: 65-58=7 Exploring Operation: 65-21=44, Resulting Numbers: [58, 72, 44] Generated Node #0,2: 44:[58, 72, 44] Operation: 65-21=44 Exploring Operation: 72-65=7, Resulting Numbers: [58, 21, 7] Generated Node #0,3: 44:[58, 21, 7] Operation: 72-65=7 Moving to Node #0,3 Current State: 44:[58, 21, 7], Operations: ['72-65=7'] Exploring Operation: 58-21=37, Resulting Numbers: [7, 37] Generated Node #0,3,0: 44:[7, 37] Operation: 58-21=37 Exploring Operation: 21-7=14, Resulting Numbers: [58, 14] Generated Node #0,3,1: 44:[58, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [58, 3] Generated Node #0,3,2: 44:[58, 3] Operation: 21/7=3 Exploring Operation: 58-7=51, Resulting Numbers: [21, 51] Generated Node #0,3,3: 44:[21, 51] Operation: 58-7=51 Moving to Node #0,0 Current State: 44:[65, 21, 14], Operations: ['72-58=14'] Exploring Operation: 65-14=51, Resulting Numbers: [21, 51] Generated Node #0,0,0: 44:[21, 51] Operation: 65-14=51 Exploring Operation: 21-14=7, Resulting Numbers: [65, 7] Generated Node #0,0,1: 44:[65, 7] Operation: 21-14=7 Exploring Operation: 21+14=35, Resulting Numbers: [65, 35] Generated Node #0,0,2: 44:[65, 35] Operation: 21+14=35 Exploring Operation: 65-21=44, Resulting Numbers: [14, 44] Generated Node #0,0,3: 44:[14, 44] Operation: 65-21=44 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[14, 44], Operations: ['72-58=14', '65-21=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,44 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[21, 51], Operations: ['72-58=14', '65-14=51'] Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,44 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,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:[65, 7], Operations: ['72-58=14', '21-14=7'] Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,44 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,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:[65, 35], Operations: ['72-58=14', '21+14=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,44 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,44 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,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:[72, 21, 7], Operations: ['65-58=7'] Exploring Operation: 21/7=3, Resulting Numbers: [72, 3] Generated Node #0,1,0: 44:[72, 3] Operation: 21/7=3 Exploring Operation: 72-7=65, Resulting Numbers: [21, 65] Generated Node #0,1,1: 44:[21, 65] Operation: 72-7=65 Exploring Operation: 21-7=14, Resulting Numbers: [72, 14] Generated Node #0,1,2: 44:[72, 14] Operation: 21-7=14 Exploring Operation: 72-21=51, Resulting Numbers: [7, 51] Generated Node #0,1,3: 44:[7, 51] Operation: 72-21=51 Moving to Node #0,2 Current State: 44:[58, 72, 44], Operations: ['65-21=44'] Exploring Operation: 72-58=14, Resulting Numbers: [44, 14] Generated Node #0,2,0: 44:[44, 14] Operation: 72-58=14 Exploring Operation: 72-44=28, Resulting Numbers: [58, 28] Generated Node #0,2,1: 44:[58, 28] Operation: 72-44=28 Exploring Operation: 58+72=130, Resulting Numbers: [44, 130] Generated Node #0,2,2: 44:[44, 130] Operation: 58+72=130 Exploring Operation: 58-44=14, Resulting Numbers: [72, 14] Generated Node #0,2,3: 44:[72, 14] Operation: 58-44=14 Moving to Node #0,2,0 Current State: 44:[44, 14], Operations: ['65-21=44', '72-58=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[21, 51], Operations: ['72-65=7', '58-7=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,44 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[7, 51], Operations: ['65-58=7', '72-21=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,44 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[58, 65, 72, 21], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [72, 21, 7] Generated Node #0,1: 44:[72, 21, 7] Operation: 65-58=7 Moving to Node #0,1 Current State: 44:[72, 21, 7], Operations: ['65-58=7'] Exploring Operation: 72-21=51, Resulting Numbers: [7, 51] Generated Node #0,1,3: 44:[7, 51] Operation: 72-21=51 Moving to Node #0,1,3 Current State: 44:[7, 51], Operations: ['65-58=7', '72-21=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.960938
hs_4
mult_heuristic
[ 2, 94, 30, 44 ]
84
[ "94+30=124", "44+124=168", "168/2=84" ]
Current State: 84:[2, 94, 30, 44], Operations: [] Exploring Operation: 94+30=124, Resulting Numbers: [2, 44, 124] Generated Node #2: [2, 44, 124] from Operation: 94+30=124 Current State: 84:[2, 44, 124], Operations: ['94+30=124'] Exploring Operation: 44+124=168, Resulting Numbers: [2, 168] Generated Node #3: [2, 168] from Operation: 44+124=168 Current State: 84:[2, 168], Operations: ['94+30=124', '44+124=168'] Exploring Operation: 168/2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[2, 94, 30, 44], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [30, 44, 47] Generated Node #0,0: 84:[30, 44, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[30, 44, 47], Operations: ['94/2=47'] Exploring Operation: 47-44=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 84:[30, 3] Operation: 47-44=3 Moving to Node #0,0,0 Current State: 84:[30, 3], Operations: ['94/2=47', '47-44=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,84 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
[ 16, 41, 22, 68 ]
33
[ "16+41=57", "22+68=90", "90-57=33" ]
Current State: 33:[16, 41, 22, 68], Operations: [] Exploring Operation: 16+41=57, Resulting Numbers: [22, 68, 57] Generated Node #2: [22, 68, 57] from Operation: 16+41=57 Current State: 33:[22, 68, 57], Operations: ['16+41=57'] Exploring Operation: 22+68=90, Resulting Numbers: [57, 90] Generated Node #3: [57, 90] from Operation: 22+68=90 Current State: 33:[57, 90], Operations: ['16+41=57', '22+68=90'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[16, 41, 22, 68], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [16, 41, 46] Generated Node #0,0: 33:[16, 41, 46] Operation: 68-22=46 Exploring Operation: 68-16=52, Resulting Numbers: [41, 22, 52] Generated Node #0,1: 33:[41, 22, 52] Operation: 68-16=52 Exploring Operation: 68-41=27, Resulting Numbers: [16, 22, 27] Generated Node #0,2: 33:[16, 22, 27] Operation: 68-41=27 Moving to Node #0,2 Current State: 33:[16, 22, 27], Operations: ['68-41=27'] Exploring Operation: 16+22=38, Resulting Numbers: [27, 38] Generated Node #0,2,0: 33:[27, 38] Operation: 16+22=38 Exploring Operation: 27-22=5, Resulting Numbers: [16, 5] Generated Node #0,2,1: 33:[16, 5] Operation: 27-22=5 Exploring Operation: 22-16=6, Resulting Numbers: [27, 6] Generated Node #0,2,2: 33:[27, 6] Operation: 22-16=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[16, 5], Operations: ['68-41=27', '27-22=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[27, 6], Operations: ['68-41=27', '22-16=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,33 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[16, 41, 22, 68], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [16, 22, 27] Generated Node #0,2: 33:[16, 22, 27] Operation: 68-41=27 Moving to Node #0,2 Current State: 33:[16, 22, 27], Operations: ['68-41=27'] Exploring Operation: 22-16=6, Resulting Numbers: [27, 6] Generated Node #0,2,2: 33:[27, 6] Operation: 22-16=6 Moving to Node #0,2,2 Current State: 33:[27, 6], Operations: ['68-41=27', '22-16=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 1, 56, 4, 78 ]
25
[ "1+56=57", "4+78=82", "82-57=25" ]
Current State: 25:[1, 56, 4, 78], Operations: [] Exploring Operation: 1+56=57, Resulting Numbers: [4, 78, 57] Generated Node #2: [4, 78, 57] from Operation: 1+56=57 Current State: 25:[4, 78, 57], Operations: ['1+56=57'] Exploring Operation: 4+78=82, Resulting Numbers: [57, 82] Generated Node #3: [57, 82] from Operation: 4+78=82 Current State: 25:[57, 82], Operations: ['1+56=57', '4+78=82'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[1, 56, 4, 78], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [1, 4, 22] Generated Node #0,0: 25:[1, 4, 22] Operation: 78-56=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[1, 4, 22], Operations: ['78-56=22'] Exploring Operation: 1+4=5, Resulting Numbers: [22, 5] Generated Node #0,0,0: 25:[22, 5] Operation: 1+4=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[22, 5], Operations: ['78-56=22', '1+4=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,25 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
[ 14, 8, 22, 71 ]
87
[ "14-8=6", "22+71=93", "93-6=87" ]
Current State: 87:[14, 8, 22, 71], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [22, 71, 6] Generated Node #2: [22, 71, 6] from Operation: 14-8=6 Current State: 87:[22, 71, 6], Operations: ['14-8=6'] Exploring Operation: 22+71=93, Resulting Numbers: [6, 93] Generated Node #3: [6, 93] from Operation: 22+71=93 Current State: 87:[6, 93], Operations: ['14-8=6', '22+71=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[14, 8, 22, 71], Operations: [] Exploring Operation: 22+71=93, Resulting Numbers: [14, 8, 93] Generated Node #0,0: 87:[14, 8, 93] Operation: 22+71=93 Exploring Operation: 14-8=6, Resulting Numbers: [22, 71, 6] Generated Node #0,1: 87:[22, 71, 6] Operation: 14-8=6 Exploring Operation: 14+71=85, Resulting Numbers: [8, 22, 85] Generated Node #0,2: 87:[8, 22, 85] Operation: 14+71=85 Exploring Operation: 22-14=8, Resulting Numbers: [8, 71, 8] Generated Node #0,3: 87:[8, 71, 8] Operation: 22-14=8 Moving to Node #0,2 Current State: 87:[8, 22, 85], Operations: ['14+71=85'] Exploring Operation: 8+85=93, Resulting Numbers: [22, 93] Generated Node #0,2,0: 87:[22, 93] Operation: 8+85=93 Exploring Operation: 8+22=30, Resulting Numbers: [85, 30] Generated Node #0,2,1: 87:[85, 30] Operation: 8+22=30 Exploring Operation: 85-8=77, Resulting Numbers: [22, 77] Generated Node #0,2,2: 87:[22, 77] Operation: 85-8=77 Exploring Operation: 22-8=14, Resulting Numbers: [85, 14] Generated Node #0,2,3: 87:[85, 14] Operation: 22-8=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[85, 30], Operations: ['14+71=85', '8+22=30'] Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,87 unequal: No Solution Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,87 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[22, 93], Operations: ['14+71=85', '8+85=93'] Exploring Operation: 22*93=2046, Resulting Numbers: [2046] 2046,87 unequal: No Solution Exploring Operation: 22+93=115, Resulting Numbers: [115] 115,87 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[85, 14], Operations: ['14+71=85', '22-8=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[22, 77], Operations: ['14+71=85', '85-8=77'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[14, 8, 93], Operations: ['22+71=93'] Exploring Operation: 14-8=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 87:[93, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [93, 22] Generated Node #0,0,1: 87:[93, 22] Operation: 14+8=22 Exploring Operation: 93-8=85, Resulting Numbers: [14, 85] Generated Node #0,0,2: 87:[14, 85] Operation: 93-8=85 Exploring Operation: 93-14=79, Resulting Numbers: [8, 79] Generated Node #0,0,3: 87:[8, 79] Operation: 93-14=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[93, 6], Operations: ['22+71=93', '14-8=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,87 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[14, 8, 22, 71], Operations: [] Exploring Operation: 22+71=93, Resulting Numbers: [14, 8, 93] Generated Node #0,0: 87:[14, 8, 93] Operation: 22+71=93 Moving to Node #0,0 Current State: 87:[14, 8, 93], Operations: ['22+71=93'] Exploring Operation: 14-8=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 87:[93, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 87:[93, 6], Operations: ['22+71=93', '14-8=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 58, 32, 93, 84 ]
28
[ "58+32=90", "93-90=3", "84/3=28" ]
Current State: 28:[58, 32, 93, 84], Operations: [] Exploring Operation: 58+32=90, Resulting Numbers: [93, 84, 90] Generated Node #2: [93, 84, 90] from Operation: 58+32=90 Current State: 28:[93, 84, 90], Operations: ['58+32=90'] Exploring Operation: 93-90=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 93-90=3 Current State: 28:[84, 3], Operations: ['58+32=90', '93-90=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[58, 32, 93, 84], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [58, 32, 9] Generated Node #0,0: 28:[58, 32, 9] Operation: 93-84=9 Exploring Operation: 93-58=35, Resulting Numbers: [32, 84, 35] Generated Node #0,1: 28:[32, 84, 35] Operation: 93-58=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[58, 32, 9], Operations: ['93-84=9'] Exploring Operation: 58-32=26, Resulting Numbers: [9, 26] Generated Node #0,0,0: 28:[9, 26] Operation: 58-32=26 Exploring Operation: 58-9=49, Resulting Numbers: [32, 49] Generated Node #0,0,1: 28:[32, 49] Operation: 58-9=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[9, 26], Operations: ['93-84=9', '58-32=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[32, 49], Operations: ['93-84=9', '58-9=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[32, 84, 35], Operations: ['93-58=35'] Exploring Operation: 84-35=49, Resulting Numbers: [32, 49] Generated Node #0,1,0: 28:[32, 49] Operation: 84-35=49 Exploring Operation: 84-32=52, Resulting Numbers: [35, 52] Generated Node #0,1,1: 28:[35, 52] Operation: 84-32=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[32, 49], Operations: ['93-58=35', '84-35=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[35, 52], Operations: ['93-58=35', '84-32=52'] Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 76, 65, 35, 74 ]
50
[ "76-65=11", "74-35=39", "11+39=50" ]
Current State: 50:[76, 65, 35, 74], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [35, 74, 11] Generated Node #2: [35, 74, 11] from Operation: 76-65=11 Current State: 50:[35, 74, 11], Operations: ['76-65=11'] Exploring Operation: 74-35=39, Resulting Numbers: [11, 39] Generated Node #3: [11, 39] from Operation: 74-35=39 Current State: 50:[11, 39], Operations: ['76-65=11', '74-35=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[76, 65, 35, 74], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [65, 35, 2] Generated Node #0,0: 50:[65, 35, 2] Operation: 76-74=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[65, 35, 2], Operations: ['76-74=2'] Exploring Operation: 65-35=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 50:[2, 30] Operation: 65-35=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[2, 30], Operations: ['76-74=2', '65-35=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 28, 26, 58 ]
42
[ "30-28=2", "26+58=84", "84/2=42" ]
Current State: 42:[30, 28, 26, 58], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [26, 58, 2] Generated Node #2: [26, 58, 2] from Operation: 30-28=2 Current State: 42:[26, 58, 2], Operations: ['30-28=2'] Exploring Operation: 26+58=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 26+58=84 Current State: 42:[2, 84], Operations: ['30-28=2', '26+58=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[30, 28, 26, 58], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [28, 26, 28] Generated Node #0,0: 42:[28, 26, 28] Operation: 58-30=28 Exploring Operation: 30-28=2, Resulting Numbers: [26, 58, 2] Generated Node #0,1: 42:[26, 58, 2] Operation: 30-28=2 Exploring Operation: 28-26=2, Resulting Numbers: [30, 58, 2] Generated Node #0,2: 42:[30, 58, 2] Operation: 28-26=2 Exploring Operation: 58-28=30, Resulting Numbers: [30, 26, 30] Generated Node #0,3: 42:[30, 26, 30] Operation: 58-28=30 Exploring Operation: 30-26=4, Resulting Numbers: [28, 58, 4] Generated Node #0,4: 42:[28, 58, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[28, 26, 28], Operations: ['58-30=28'] Exploring Operation: 28/28=1, Resulting Numbers: [26, 1] Generated Node #0,0,0: 42:[26, 1] Operation: 28/28=1 Exploring Operation: 28-26=2, Resulting Numbers: [28, 2] Generated Node #0,0,1: 42:[28, 2] Operation: 28-26=2 Exploring Operation: 28-26=2, Resulting Numbers: [28, 2] Generated Node #0,0,2: 42:[28, 2] Operation: 28-26=2 Exploring Operation: 28+26=54, Resulting Numbers: [28, 54] Generated Node #0,0,3: 42:[28, 54] Operation: 28+26=54 Exploring Operation: 28-28=0, Resulting Numbers: [26, 0] Generated Node #0,0,4: 42:[26, 0] Operation: 28-28=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[26, 1], Operations: ['58-30=28', '28/28=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[28, 2], Operations: ['58-30=28', '28-26=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[28, 2], Operations: ['58-30=28', '28-26=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 42:[26, 0], Operations: ['58-30=28', '28-28=0'] Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[28, 54], Operations: ['58-30=28', '28+26=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,42 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[26, 58, 2], Operations: ['30-28=2'] Exploring Operation: 58-26=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 42:[2, 32] Operation: 58-26=32 Exploring Operation: 26/2=13, Resulting Numbers: [58, 13] Generated Node #0,1,1: 42:[58, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [58, 24] Generated Node #0,1,2: 42:[58, 24] Operation: 26-2=24 Exploring Operation: 58-2=56, Resulting Numbers: [26, 56] Generated Node #0,1,3: 42:[26, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [26, 29] Generated Node #0,1,4: 42:[26, 29] Operation: 58/2=29 Moving to Node #0,1,0 Current State: 42:[2, 32], Operations: ['30-28=2', '58-26=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[26, 29], Operations: ['30-28=2', '58/2=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[58, 13], Operations: ['30-28=2', '26/2=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,42 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[58, 24], Operations: ['30-28=2', '26-2=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[26, 56], Operations: ['30-28=2', '58-2=56'] Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,42 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[30, 26, 30], Operations: ['58-28=30'] Exploring Operation: 30-26=4, Resulting Numbers: [30, 4] Generated Node #0,3,0: 42:[30, 4] Operation: 30-26=4 Exploring Operation: 30/30=1, Resulting Numbers: [26, 1] Generated Node #0,3,1: 42:[26, 1] Operation: 30/30=1 Exploring Operation: 30-30=0, Resulting Numbers: [26, 0] Generated Node #0,3,2: 42:[26, 0] Operation: 30-30=0 Exploring Operation: 30-26=4, Resulting Numbers: [30, 4] Generated Node #0,3,3: 42:[30, 4] Operation: 30-26=4 Exploring Operation: 30+26=56, Resulting Numbers: [30, 56] Generated Node #0,3,4: 42:[30, 56] Operation: 30+26=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[26, 1], Operations: ['58-28=30', '30/30=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[26, 0], Operations: ['58-28=30', '30-30=0'] Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[30, 4], Operations: ['58-28=30', '30-26=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[30, 4], Operations: ['58-28=30', '30-26=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,42 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 42:[30, 56], Operations: ['58-28=30', '30+26=56'] Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,42 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[28, 58, 4], Operations: ['30-26=4'] Exploring Operation: 28-4=24, Resulting Numbers: [58, 24] Generated Node #0,4,0: 42:[58, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [58, 7] Generated Node #0,4,1: 42:[58, 7] Operation: 28/4=7 Exploring Operation: 58-4=54, Resulting Numbers: [28, 54] Generated Node #0,4,2: 42:[28, 54] Operation: 58-4=54 Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,4,3: 42:[4, 30] Operation: 58-28=30 Exploring Operation: 28+4=32, Resulting Numbers: [58, 32] Generated Node #0,4,4: 42:[58, 32] Operation: 28+4=32 Moving to Node #0,4,3 Current State: 42:[4, 30], Operations: ['30-26=4', '58-28=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[58, 7], Operations: ['30-26=4', '28/4=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,42 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,42 unequal: No Solution Moving to Node #0,4,0 Current State: 42:[58, 24], Operations: ['30-26=4', '28-4=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[28, 54], Operations: ['30-26=4', '58-4=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,42 unequal: No Solution Moving to Node #0,4,4 Current State: 42:[58, 32], Operations: ['30-26=4', '28+4=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[30, 58, 2], Operations: ['28-26=2'] Exploring Operation: 58-30=28, Resulting Numbers: [2, 28] Generated Node #0,2,0: 42:[2, 28] Operation: 58-30=28 Exploring Operation: 30-2=28, Resulting Numbers: [58, 28] Generated Node #0,2,1: 42:[58, 28] Operation: 30-2=28 Exploring Operation: 58/2=29, Resulting Numbers: [30, 29] Generated Node #0,2,2: 42:[30, 29] Operation: 58/2=29 Exploring Operation: 30/2=15, Resulting Numbers: [58, 15] Generated Node #0,2,3: 42:[58, 15] Operation: 30/2=15 Exploring Operation: 58-2=56, Resulting Numbers: [30, 56] Generated Node #0,2,4: 42:[30, 56] Operation: 58-2=56 Moving to Node #0,2,0 Current State: 42:[2, 28], Operations: ['28-26=2', '58-30=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[58, 15], Operations: ['28-26=2', '30/2=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,42 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[30, 29], Operations: ['28-26=2', '58/2=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,42 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[58, 28], Operations: ['28-26=2', '30-2=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[30, 56], Operations: ['28-26=2', '58-2=56'] Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,42 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
[ 54, 16, 22, 24 ]
84
[ "54-16=38", "22+24=46", "38+46=84" ]
Current State: 84:[54, 16, 22, 24], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [22, 24, 38] Generated Node #2: [22, 24, 38] from Operation: 54-16=38 Current State: 84:[22, 24, 38], Operations: ['54-16=38'] Exploring Operation: 22+24=46, Resulting Numbers: [38, 46] Generated Node #3: [38, 46] from Operation: 22+24=46 Current State: 84:[38, 46], Operations: ['54-16=38', '22+24=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[54, 16, 22, 24], Operations: [] Exploring Operation: 54+24=78, Resulting Numbers: [16, 22, 78] Generated Node #0,0: 84:[16, 22, 78] Operation: 54+24=78 Exploring Operation: 54-24=30, Resulting Numbers: [16, 22, 30] Generated Node #0,1: 84:[16, 22, 30] Operation: 54-24=30 Exploring Operation: 54-16=38, Resulting Numbers: [22, 24, 38] Generated Node #0,2: 84:[22, 24, 38] Operation: 54-16=38 Exploring Operation: 54-22=32, Resulting Numbers: [16, 24, 32] Generated Node #0,3: 84:[16, 24, 32] Operation: 54-22=32 Moving to Node #0,1 Current State: 84:[16, 22, 30], Operations: ['54-24=30'] Exploring Operation: 30-16=14, Resulting Numbers: [22, 14] Generated Node #0,1,0: 84:[22, 14] Operation: 30-16=14 Exploring Operation: 22-16=6, Resulting Numbers: [30, 6] Generated Node #0,1,1: 84:[30, 6] Operation: 22-16=6 Exploring Operation: 16+30=46, Resulting Numbers: [22, 46] Generated Node #0,1,2: 84:[22, 46] Operation: 16+30=46 Exploring Operation: 30-22=8, Resulting Numbers: [16, 8] Generated Node #0,1,3: 84:[16, 8] Operation: 30-22=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[22, 14], Operations: ['54-24=30', '30-16=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[30, 6], Operations: ['54-24=30', '22-16=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[16, 8], Operations: ['54-24=30', '30-22=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[22, 46], Operations: ['54-24=30', '16+30=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,84 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: 84:[22, 24, 38], Operations: ['54-16=38'] Exploring Operation: 24-22=2, Resulting Numbers: [38, 2] Generated Node #0,2,0: 84:[38, 2] Operation: 24-22=2 Exploring Operation: 22+24=46, Resulting Numbers: [38, 46] Generated Node #0,2,1: 84:[38, 46] Operation: 22+24=46 Exploring Operation: 38-22=16, Resulting Numbers: [24, 16] Generated Node #0,2,2: 84:[24, 16] Operation: 38-22=16 Exploring Operation: 38-24=14, Resulting Numbers: [22, 14] Generated Node #0,2,3: 84:[22, 14] Operation: 38-24=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[22, 14], Operations: ['54-16=38', '38-24=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[38, 2], Operations: ['54-16=38', '24-22=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,84 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[24, 16], Operations: ['54-16=38', '38-22=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[38, 46], Operations: ['54-16=38', '22+24=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,84 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[54, 16, 22, 24], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [22, 24, 38] Generated Node #0,2: 84:[22, 24, 38] Operation: 54-16=38 Moving to Node #0,2 Current State: 84:[22, 24, 38], Operations: ['54-16=38'] Exploring Operation: 22+24=46, Resulting Numbers: [38, 46] Generated Node #0,2,1: 84:[38, 46] Operation: 22+24=46 Moving to Node #0,2,1 Current State: 84:[38, 46], Operations: ['54-16=38', '22+24=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_4
sum_heuristic
[ 28, 86, 57, 61 ]
79
[ "61-57=4", "28/4=7", "86-7=79" ]
Current State: 79:[28, 86, 57, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [28, 86, 4] Generated Node #2: [28, 86, 4] from Operation: 61-57=4 Current State: 79:[28, 86, 4], Operations: ['61-57=4'] Exploring Operation: 28/4=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 28/4=7 Current State: 79:[86, 7], Operations: ['61-57=4', '28/4=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[28, 86, 57, 61], Operations: [] Exploring Operation: 28+57=85, Resulting Numbers: [86, 61, 85] Generated Node #0,0: 79:[86, 61, 85] Operation: 28+57=85 Exploring Operation: 86-28=58, Resulting Numbers: [57, 61, 58] Generated Node #0,1: 79:[57, 61, 58] Operation: 86-28=58 Exploring Operation: 28+86=114, Resulting Numbers: [57, 61, 114] Generated Node #0,2: 79:[57, 61, 114] Operation: 28+86=114 Exploring Operation: 57-28=29, Resulting Numbers: [86, 61, 29] Generated Node #0,3: 79:[86, 61, 29] Operation: 57-28=29 Exploring Operation: 28+61=89, Resulting Numbers: [86, 57, 89] Generated Node #0,4: 79:[86, 57, 89] Operation: 28+61=89 Moving to Node #0,0 Current State: 79:[86, 61, 85], Operations: ['28+57=85'] Exploring Operation: 61+85=146, Resulting Numbers: [86, 146] Generated Node #0,0,0: 79:[86, 146] Operation: 61+85=146 Exploring Operation: 85-61=24, Resulting Numbers: [86, 24] Generated Node #0,0,1: 79:[86, 24] Operation: 85-61=24 Exploring Operation: 86-61=25, Resulting Numbers: [85, 25] Generated Node #0,0,2: 79:[85, 25] Operation: 86-61=25 Exploring Operation: 86-85=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 79:[61, 1] Operation: 86-85=1 Exploring Operation: 86+61=147, Resulting Numbers: [85, 147] Generated Node #0,0,4: 79:[85, 147] Operation: 86+61=147 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[85, 25], Operations: ['28+57=85', '86-61=25'] Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,79 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[86, 24], Operations: ['28+57=85', '85-61=24'] Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[86, 146], Operations: ['28+57=85', '61+85=146'] Exploring Operation: 86*146=12556, Resulting Numbers: [12556] 12556,79 unequal: No Solution Exploring Operation: 86+146=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 146-86=60, Resulting Numbers: [60] 60,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[85, 147], Operations: ['28+57=85', '86+61=147'] Exploring Operation: 85*147=12495, Resulting Numbers: [12495] 12495,79 unequal: No Solution Exploring Operation: 85+147=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 147-85=62, Resulting Numbers: [62] 62,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[61, 1], Operations: ['28+57=85', '86-85=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,79 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: 79:[86, 57, 89], Operations: ['28+61=89'] Exploring Operation: 89-57=32, Resulting Numbers: [86, 32] Generated Node #0,4,0: 79:[86, 32] Operation: 89-57=32 Exploring Operation: 89-86=3, Resulting Numbers: [57, 3] Generated Node #0,4,1: 79:[57, 3] Operation: 89-86=3 Exploring Operation: 57+89=146, Resulting Numbers: [86, 146] Generated Node #0,4,2: 79:[86, 146] Operation: 57+89=146 Exploring Operation: 86+57=143, Resulting Numbers: [89, 143] Generated Node #0,4,3: 79:[89, 143] Operation: 86+57=143 Exploring Operation: 86-57=29, Resulting Numbers: [89, 29] Generated Node #0,4,4: 79:[89, 29] Operation: 86-57=29 Moving to Node #0,1 Current State: 79:[57, 61, 58], Operations: ['86-28=58'] Exploring Operation: 57+61=118, Resulting Numbers: [58, 118] Generated Node #0,1,0: 79:[58, 118] Operation: 57+61=118 Exploring Operation: 61-57=4, Resulting Numbers: [58, 4] Generated Node #0,1,1: 79:[58, 4] Operation: 61-57=4 Exploring Operation: 57+58=115, Resulting Numbers: [61, 115] Generated Node #0,1,2: 79:[61, 115] Operation: 57+58=115 Exploring Operation: 61+58=119, Resulting Numbers: [57, 119] Generated Node #0,1,3: 79:[57, 119] Operation: 61+58=119 Exploring Operation: 58-57=1, Resulting Numbers: [61, 1] Generated Node #0,1,4: 79:[61, 1] Operation: 58-57=1 Moving to Node #0,2 Current State: 79:[57, 61, 114], Operations: ['28+86=114'] Exploring Operation: 114-61=53, Resulting Numbers: [57, 53] Generated Node #0,2,0: 79:[57, 53] Operation: 114-61=53 Exploring Operation: 114-57=57, Resulting Numbers: [61, 57] Generated Node #0,2,1: 79:[61, 57] Operation: 114-57=57 Exploring Operation: 61-57=4, Resulting Numbers: [114, 4] Generated Node #0,2,2: 79:[114, 4] Operation: 61-57=4 Exploring Operation: 57+61=118, Resulting Numbers: [114, 118] Generated Node #0,2,3: 79:[114, 118] Operation: 57+61=118 Exploring Operation: 114/57=2, Resulting Numbers: [61, 2] Generated Node #0,2,4: 79:[61, 2] Operation: 114/57=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[61, 57], Operations: ['28+86=114', '114-57=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,79 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[57, 53], Operations: ['28+86=114', '114-61=53'] Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,79 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[114, 118], Operations: ['28+86=114', '57+61=118'] Exploring Operation: 114+118=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 118-114=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 114*118=13452, Resulting Numbers: [13452] 13452,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[61, 2], Operations: ['28+86=114', '114/57=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[114, 4], Operations: ['28+86=114', '61-57=4'] Exploring Operation: 114+4=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 114*4=456, Resulting Numbers: [456] 456,79 unequal: No Solution Exploring Operation: 114-4=110, Resulting Numbers: [110] 110,79 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: 79:[86, 61, 29], Operations: ['57-28=29'] Exploring Operation: 86-61=25, Resulting Numbers: [29, 25] Generated Node #0,3,0: 79:[29, 25] Operation: 86-61=25 Exploring Operation: 86-29=57, Resulting Numbers: [61, 57] Generated Node #0,3,1: 79:[61, 57] Operation: 86-29=57 Exploring Operation: 86+29=115, Resulting Numbers: [61, 115] Generated Node #0,3,2: 79:[61, 115] Operation: 86+29=115 Exploring Operation: 61+29=90, Resulting Numbers: [86, 90] Generated Node #0,3,3: 79:[86, 90] Operation: 61+29=90 Exploring Operation: 61-29=32, Resulting Numbers: [86, 32] Generated Node #0,3,4: 79:[86, 32] Operation: 61-29=32 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[86, 90], Operations: ['57-28=29', '61+29=90'] Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 86+90=176, Resulting Numbers: [176] 176,79 unequal: No Solution Exploring Operation: 86*90=7740, Resulting Numbers: [7740] 7740,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[61, 57], Operations: ['57-28=29', '86-29=57'] Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,79 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[61, 115], Operations: ['57-28=29', '86+29=115'] Exploring Operation: 61*115=7015, Resulting Numbers: [7015] 7015,79 unequal: No Solution Exploring Operation: 115-61=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 61+115=176, Resulting Numbers: [176] 176,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[86, 32], Operations: ['57-28=29', '61-29=32'] Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,79 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[29, 25], Operations: ['57-28=29', '86-61=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,79 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 79:[86, 32], Operations: ['28+61=89', '89-57=32'] Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,79 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[61, 115], Operations: ['86-28=58', '57+58=115'] Exploring Operation: 115-61=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 61*115=7015, Resulting Numbers: [7015] 7015,79 unequal: No Solution Exploring Operation: 61+115=176, Resulting Numbers: [176] 176,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[58, 118], Operations: ['86-28=58', '57+61=118'] Exploring Operation: 118-58=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 58+118=176, Resulting Numbers: [176] 176,79 unequal: No Solution Exploring Operation: 58*118=6844, Resulting Numbers: [6844] 6844,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[89, 29], Operations: ['28+61=89', '86-57=29'] Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,79 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[57, 119], Operations: ['86-28=58', '61+58=119'] Exploring Operation: 57+119=176, Resulting Numbers: [176] 176,79 unequal: No Solution Exploring Operation: 119-57=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 57*119=6783, Resulting Numbers: [6783] 6783,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[86, 146], Operations: ['28+61=89', '57+89=146'] Exploring Operation: 86*146=12556, Resulting Numbers: [12556] 12556,79 unequal: No Solution Exploring Operation: 146-86=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 86+146=232, Resulting Numbers: [232] 232,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[89, 143], Operations: ['28+61=89', '86+57=143'] Exploring Operation: 89+143=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 89*143=12727, Resulting Numbers: [12727] 12727,79 unequal: No Solution Exploring Operation: 143-89=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[58, 4], Operations: ['86-28=58', '61-57=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[61, 1], Operations: ['86-28=58', '58-57=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[57, 3], Operations: ['28+61=89', '89-86=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,79 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,79 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 79, 76, 76, 80 ]
80
[ "76-76=0", "79*0=0", "80+0=80" ]
Current State: 80:[79, 76, 76, 80], Operations: [] Exploring Operation: 76-76=0, Resulting Numbers: [79, 80, 0] Generated Node #2: [79, 80, 0] from Operation: 76-76=0 Current State: 80:[79, 80, 0], Operations: ['76-76=0'] Exploring Operation: 79*0=0, Resulting Numbers: [80, 0] Generated Node #3: [80, 0] from Operation: 79*0=0 Current State: 80:[80, 0], Operations: ['76-76=0', '79*0=0'] Exploring Operation: 80+0=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[79, 76, 76, 80], Operations: [] Exploring Operation: 76/76=1, Resulting Numbers: [79, 80, 1] Generated Node #0,0: 80:[79, 80, 1] Operation: 76/76=1 Moving to Node #0,0 Current State: 80:[79, 80, 1], Operations: ['76/76=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80, 80] Generated Node #0,0,0: 80:[80, 80] Operation: 79+1=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[80, 80], Operations: ['76/76=1', '79+1=80'] Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 17, 5, 95 ]
61
[ "17-5=12", "13*12=156", "156-95=61" ]
Current State: 61:[13, 17, 5, 95], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [13, 95, 12] Generated Node #2: [13, 95, 12] from Operation: 17-5=12 Current State: 61:[13, 95, 12], Operations: ['17-5=12'] Exploring Operation: 13*12=156, Resulting Numbers: [95, 156] Generated Node #3: [95, 156] from Operation: 13*12=156 Current State: 61:[95, 156], Operations: ['17-5=12', '13*12=156'] Exploring Operation: 156-95=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[13, 17, 5, 95], Operations: [] Exploring Operation: 13*5=65, Resulting Numbers: [17, 95, 65] Generated Node #0,0: 61:[17, 95, 65] Operation: 13*5=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[17, 95, 65], Operations: ['13*5=65'] Exploring Operation: 95-17=78, Resulting Numbers: [65, 78] Generated Node #0,0,0: 61:[65, 78] Operation: 95-17=78 Moving to Node #0,0,0 Current State: 61:[65, 78], Operations: ['13*5=65', '95-17=78'] Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,61 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
[ 42, 51, 6, 73 ]
76
[ "51-42=9", "73-6=67", "9+67=76" ]
Current State: 76:[42, 51, 6, 73], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [6, 73, 9] Generated Node #2: [6, 73, 9] from Operation: 51-42=9 Current State: 76:[6, 73, 9], Operations: ['51-42=9'] Exploring Operation: 73-6=67, Resulting Numbers: [9, 67] Generated Node #3: [9, 67] from Operation: 73-6=67 Current State: 76:[9, 67], Operations: ['51-42=9', '73-6=67'] Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 51, 6, 73], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [6, 73, 9] Generated Node #0,0: 76:[6, 73, 9] Operation: 51-42=9 Exploring Operation: 73-51=22, Resulting Numbers: [42, 6, 22] Generated Node #0,1: 76:[42, 6, 22] Operation: 73-51=22 Moving to Node #0,1 Current State: 76:[42, 6, 22], Operations: ['73-51=22'] Exploring Operation: 42-22=20, Resulting Numbers: [6, 20] Generated Node #0,1,0: 76:[6, 20] Operation: 42-22=20 Exploring Operation: 42-6=36, Resulting Numbers: [22, 36] Generated Node #0,1,1: 76:[22, 36] Operation: 42-6=36 Moving to Node #0,0 Current State: 76:[6, 73, 9], Operations: ['51-42=9'] Exploring Operation: 6+9=15, Resulting Numbers: [73, 15] Generated Node #0,0,0: 76:[73, 15] Operation: 6+9=15 Exploring Operation: 9-6=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 76:[73, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[73, 3], Operations: ['51-42=9', '9-6=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[42, 51, 6, 73], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [6, 73, 9] Generated Node #0,0: 76:[6, 73, 9] Operation: 51-42=9 Moving to Node #0,0 Current State: 76:[6, 73, 9], Operations: ['51-42=9'] Exploring Operation: 9-6=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 76:[73, 3] Operation: 9-6=3 Moving to Node #0,0,1 Current State: 76:[73, 3], Operations: ['51-42=9', '9-6=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 15, 6, 50, 81 ]
61
[ "81-15=66", "66/6=11", "50+11=61" ]
Current State: 61:[15, 6, 50, 81], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [6, 50, 66] Generated Node #2: [6, 50, 66] from Operation: 81-15=66 Current State: 61:[6, 50, 66], Operations: ['81-15=66'] Exploring Operation: 66/6=11, Resulting Numbers: [50, 11] Generated Node #3: [50, 11] from Operation: 66/6=11 Current State: 61:[50, 11], Operations: ['81-15=66', '66/6=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[15, 6, 50, 81], Operations: [] Exploring Operation: 15*6=90, Resulting Numbers: [50, 81, 90] Generated Node #0,0: 61:[50, 81, 90] Operation: 15*6=90 Exploring Operation: 15+6=21, Resulting Numbers: [50, 81, 21] Generated Node #0,1: 61:[50, 81, 21] Operation: 15+6=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[50, 81, 90], Operations: ['15*6=90'] Exploring Operation: 81-50=31, Resulting Numbers: [90, 31] Generated Node #0,0,0: 61:[90, 31] Operation: 81-50=31 Exploring Operation: 90-50=40, Resulting Numbers: [81, 40] Generated Node #0,0,1: 61:[81, 40] Operation: 90-50=40 Moving to Node #0,0,1 Current State: 61:[81, 40], Operations: ['15*6=90', '90-50=40'] Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,61 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[90, 31], Operations: ['15*6=90', '81-50=31'] Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 90+31=121, Resulting Numbers: [121] 121,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[50, 81, 21], Operations: ['15+6=21'] Exploring Operation: 50+21=71, Resulting Numbers: [81, 71] Generated Node #0,1,0: 61:[81, 71] Operation: 50+21=71 Exploring Operation: 81-21=60, Resulting Numbers: [50, 60] Generated Node #0,1,1: 61:[50, 60] Operation: 81-21=60 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[50, 60], Operations: ['15+6=21', '81-21=60'] Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[81, 71], Operations: ['15+6=21', '50+21=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 87, 91, 23, 93 ]
66
[ "91-87=4", "93-23=70", "70-4=66" ]
Current State: 66:[87, 91, 23, 93], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [23, 93, 4] Generated Node #2: [23, 93, 4] from Operation: 91-87=4 Current State: 66:[23, 93, 4], Operations: ['91-87=4'] Exploring Operation: 93-23=70, Resulting Numbers: [4, 70] Generated Node #3: [4, 70] from Operation: 93-23=70 Current State: 66:[4, 70], Operations: ['91-87=4', '93-23=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[87, 91, 23, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [87, 23, 2] Generated Node #0,0: 66:[87, 23, 2] Operation: 93-91=2 Exploring Operation: 91-23=68, Resulting Numbers: [87, 93, 68] Generated Node #0,1: 66:[87, 93, 68] Operation: 91-23=68 Exploring Operation: 91-87=4, Resulting Numbers: [23, 93, 4] Generated Node #0,2: 66:[23, 93, 4] Operation: 91-87=4 Exploring Operation: 93-87=6, Resulting Numbers: [91, 23, 6] Generated Node #0,3: 66:[91, 23, 6] Operation: 93-87=6 Moving to Node #0,0 Current State: 66:[87, 23, 2], Operations: ['93-91=2'] Exploring Operation: 87-23=64, Resulting Numbers: [2, 64] Generated Node #0,0,0: 66:[2, 64] Operation: 87-23=64 Exploring Operation: 87+2=89, Resulting Numbers: [23, 89] Generated Node #0,0,1: 66:[23, 89] Operation: 87+2=89 Exploring Operation: 87-2=85, Resulting Numbers: [23, 85] Generated Node #0,0,2: 66:[23, 85] Operation: 87-2=85 Exploring Operation: 23-2=21, Resulting Numbers: [87, 21] Generated Node #0,0,3: 66:[87, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[2, 64], Operations: ['93-91=2', '87-23=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[87, 91, 23, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [87, 23, 2] Generated Node #0,0: 66:[87, 23, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 66:[87, 23, 2], Operations: ['93-91=2'] Exploring Operation: 87-23=64, Resulting Numbers: [2, 64] Generated Node #0,0,0: 66:[2, 64] Operation: 87-23=64 Moving to Node #0,0,0 Current State: 66:[2, 64], Operations: ['93-91=2', '87-23=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 73, 84, 67, 10 ]
97
[ "84-67=17", "10*17=170", "170-73=97" ]
Current State: 97:[73, 84, 67, 10], Operations: [] Exploring Operation: 84-67=17, Resulting Numbers: [73, 10, 17] Generated Node #2: [73, 10, 17] from Operation: 84-67=17 Current State: 97:[73, 10, 17], Operations: ['84-67=17'] Exploring Operation: 10*17=170, Resulting Numbers: [73, 170] Generated Node #3: [73, 170] from Operation: 10*17=170 Current State: 97:[73, 170], Operations: ['84-67=17', '10*17=170'] Exploring Operation: 170-73=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[73, 84, 67, 10], Operations: [] Exploring Operation: 73+10=83, Resulting Numbers: [84, 67, 83] Generated Node #0,0: 97:[84, 67, 83] Operation: 73+10=83 Moving to Node #0,0 Current State: 97:[84, 67, 83], Operations: ['73+10=83'] Exploring Operation: 67+83=150, Resulting Numbers: [84, 150] Generated Node #0,0,0: 97:[84, 150] Operation: 67+83=150 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[84, 150], Operations: ['73+10=83', '67+83=150'] Exploring Operation: 150-84=66, Resulting Numbers: [66] 66,97 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
[ 35, 21, 28, 46 ]
38
[ "35+21=56", "46-28=18", "56-18=38" ]
Current State: 38:[35, 21, 28, 46], Operations: [] Exploring Operation: 35+21=56, Resulting Numbers: [28, 46, 56] Generated Node #2: [28, 46, 56] from Operation: 35+21=56 Current State: 38:[28, 46, 56], Operations: ['35+21=56'] Exploring Operation: 46-28=18, Resulting Numbers: [56, 18] Generated Node #3: [56, 18] from Operation: 46-28=18 Current State: 38:[56, 18], Operations: ['35+21=56', '46-28=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[35, 21, 28, 46], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [21, 46, 7] Generated Node #0,0: 38:[21, 46, 7] Operation: 35-28=7 Exploring Operation: 28-21=7, Resulting Numbers: [35, 46, 7] Generated Node #0,1: 38:[35, 46, 7] Operation: 28-21=7 Exploring Operation: 46-28=18, Resulting Numbers: [35, 21, 18] Generated Node #0,2: 38:[35, 21, 18] Operation: 46-28=18 Moving to Node #0,2 Current State: 38:[35, 21, 18], Operations: ['46-28=18'] Exploring Operation: 35-18=17, Resulting Numbers: [21, 17] Generated Node #0,2,0: 38:[21, 17] Operation: 35-18=17 Exploring Operation: 21+18=39, Resulting Numbers: [35, 39] Generated Node #0,2,1: 38:[35, 39] Operation: 21+18=39 Exploring Operation: 21-18=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 38:[35, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[21, 17], Operations: ['46-28=18', '35-18=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[35, 21, 28, 46], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [35, 21, 18] Generated Node #0,2: 38:[35, 21, 18] Operation: 46-28=18 Moving to Node #0,2 Current State: 38:[35, 21, 18], Operations: ['46-28=18'] Exploring Operation: 35-18=17, Resulting Numbers: [21, 17] Generated Node #0,2,0: 38:[21, 17] Operation: 35-18=17 Moving to Node #0,2,0 Current State: 38:[21, 17], Operations: ['46-28=18', '35-18=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 24, 25, 16, 79 ]
95
[ "25-24=1", "16+79=95", "1*95=95" ]
Current State: 95:[24, 25, 16, 79], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [16, 79, 1] Generated Node #2: [16, 79, 1] from Operation: 25-24=1 Current State: 95:[16, 79, 1], Operations: ['25-24=1'] Exploring Operation: 16+79=95, Resulting Numbers: [1, 95] Generated Node #3: [1, 95] from Operation: 16+79=95 Current State: 95:[1, 95], Operations: ['25-24=1', '16+79=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[24, 25, 16, 79], Operations: [] Exploring Operation: 24+79=103, Resulting Numbers: [25, 16, 103] Generated Node #0,0: 95:[25, 16, 103] Operation: 24+79=103 Exploring Operation: 25-24=1, Resulting Numbers: [16, 79, 1] Generated Node #0,1: 95:[16, 79, 1] Operation: 25-24=1 Exploring Operation: 16+79=95, Resulting Numbers: [24, 25, 95] Generated Node #0,2: 95:[24, 25, 95] Operation: 16+79=95 Exploring Operation: 25+79=104, Resulting Numbers: [24, 16, 104] Generated Node #0,3: 95:[24, 16, 104] Operation: 25+79=104 Moving to Node #0,2 Current State: 95:[24, 25, 95], Operations: ['16+79=95'] Exploring Operation: 24+25=49, Resulting Numbers: [95, 49] Generated Node #0,2,0: 95:[95, 49] Operation: 24+25=49 Exploring Operation: 25-24=1, Resulting Numbers: [95, 1] Generated Node #0,2,1: 95:[95, 1] Operation: 25-24=1 Exploring Operation: 24+95=119, Resulting Numbers: [25, 119] Generated Node #0,2,2: 95:[25, 119] Operation: 24+95=119 Exploring Operation: 95-24=71, Resulting Numbers: [25, 71] Generated Node #0,2,3: 95:[25, 71] Operation: 95-24=71 Moving to Node #0,3 Current State: 95:[24, 16, 104], Operations: ['25+79=104'] Exploring Operation: 24+16=40, Resulting Numbers: [104, 40] Generated Node #0,3,0: 95:[104, 40] Operation: 24+16=40 Exploring Operation: 104-24=80, Resulting Numbers: [16, 80] Generated Node #0,3,1: 95:[16, 80] Operation: 104-24=80 Exploring Operation: 24-16=8, Resulting Numbers: [104, 8] Generated Node #0,3,2: 95:[104, 8] Operation: 24-16=8 Exploring Operation: 104-16=88, Resulting Numbers: [24, 88] Generated Node #0,3,3: 95:[24, 88] Operation: 104-16=88 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[104, 8], Operations: ['25+79=104', '24-16=8'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 104+8=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 104*8=832, Resulting Numbers: [832] 832,95 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[24, 88], Operations: ['25+79=104', '104-16=88'] Exploring Operation: 24+88=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 24*88=2112, Resulting Numbers: [2112] 2112,95 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[16, 80], Operations: ['25+79=104', '104-24=80'] Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 16*80=1280, Resulting Numbers: [1280] 1280,95 unequal: No Solution Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[104, 40], Operations: ['25+79=104', '24+16=40'] Exploring Operation: 104*40=4160, Resulting Numbers: [4160] 4160,95 unequal: No Solution Exploring Operation: 104+40=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[25, 16, 103], Operations: ['24+79=103'] Exploring Operation: 25+16=41, Resulting Numbers: [103, 41] Generated Node #0,0,0: 95:[103, 41] Operation: 25+16=41 Exploring Operation: 103-25=78, Resulting Numbers: [16, 78] Generated Node #0,0,1: 95:[16, 78] Operation: 103-25=78 Exploring Operation: 25-16=9, Resulting Numbers: [103, 9] Generated Node #0,0,2: 95:[103, 9] Operation: 25-16=9 Exploring Operation: 103-16=87, Resulting Numbers: [25, 87] Generated Node #0,0,3: 95:[25, 87] Operation: 103-16=87 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[103, 9], Operations: ['24+79=103', '25-16=9'] Exploring Operation: 103+9=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 103*9=927, Resulting Numbers: [927] 927,95 unequal: No Solution Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[25, 87], Operations: ['24+79=103', '103-16=87'] Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,95 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[16, 78], Operations: ['24+79=103', '103-25=78'] Exploring Operation: 16*78=1248, Resulting Numbers: [1248] 1248,95 unequal: No Solution Exploring Operation: 16+78=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[103, 41], Operations: ['24+79=103', '25+16=41'] Exploring Operation: 103*41=4223, Resulting Numbers: [4223] 4223,95 unequal: No Solution Exploring Operation: 103+41=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 103-41=62, Resulting Numbers: [62] 62,95 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: 95:[16, 79, 1], Operations: ['25-24=1'] Exploring Operation: 16+1=17, Resulting Numbers: [79, 17] Generated Node #0,1,0: 95:[79, 17] Operation: 16+1=17 Exploring Operation: 16*1=16, Resulting Numbers: [79, 16] Generated Node #0,1,1: 95:[79, 16] Operation: 16*1=16 Exploring Operation: 79+1=80, Resulting Numbers: [16, 80] Generated Node #0,1,2: 95:[16, 80] Operation: 79+1=80 Exploring Operation: 16+79=95, Resulting Numbers: [1, 95] Generated Node #0,1,3: 95:[1, 95] Operation: 16+79=95 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[1, 95], Operations: ['25-24=1', '16+79=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[24, 25, 16, 79], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [16, 79, 1] Generated Node #0,1: 95:[16, 79, 1] Operation: 25-24=1 Moving to Node #0,1 Current State: 95:[16, 79, 1], Operations: ['25-24=1'] Exploring Operation: 16+79=95, Resulting Numbers: [1, 95] Generated Node #0,1,3: 95:[1, 95] Operation: 16+79=95 Moving to Node #0,1,3 Current State: 95:[1, 95], Operations: ['25-24=1', '16+79=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 2, 93, 16, 63 ]
70
[ "93-16=77", "63+77=140", "140/2=70" ]
Current State: 70:[2, 93, 16, 63], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [2, 63, 77] Generated Node #2: [2, 63, 77] from Operation: 93-16=77 Current State: 70:[2, 63, 77], Operations: ['93-16=77'] Exploring Operation: 63+77=140, Resulting Numbers: [2, 140] Generated Node #3: [2, 140] from Operation: 63+77=140 Current State: 70:[2, 140], Operations: ['93-16=77', '63+77=140'] Exploring Operation: 140/2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[2, 93, 16, 63], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [2, 63, 77] Generated Node #0,0: 70:[2, 63, 77] Operation: 93-16=77 Exploring Operation: 93-63=30, Resulting Numbers: [2, 16, 30] Generated Node #0,1: 70:[2, 16, 30] Operation: 93-63=30 Moving to Node #0,1 Current State: 70:[2, 16, 30], Operations: ['93-63=30'] Exploring Operation: 30/2=15, Resulting Numbers: [16, 15] Generated Node #0,1,0: 70:[16, 15] Operation: 30/2=15 Exploring Operation: 30-16=14, Resulting Numbers: [2, 14] Generated Node #0,1,1: 70:[2, 14] Operation: 30-16=14 Moving to Node #0,0 Current State: 70:[2, 63, 77], Operations: ['93-16=77'] Exploring Operation: 2+63=65, Resulting Numbers: [77, 65] Generated Node #0,0,0: 70:[77, 65] Operation: 2+63=65 Exploring Operation: 77-63=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 70:[2, 14] Operation: 77-63=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[2, 14], Operations: ['93-16=77', '77-63=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[77, 65], Operations: ['93-16=77', '2+63=65'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 77+65=142, Resulting Numbers: [142] 142,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 70:[2, 14], Operations: ['93-63=30', '30-16=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[16, 15], Operations: ['93-63=30', '30/2=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 54, 34, 37 ]
44
[ "54/2=27", "34+37=71", "71-27=44" ]
Current State: 44:[2, 54, 34, 37], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [34, 37, 27] Generated Node #2: [34, 37, 27] from Operation: 54/2=27 Current State: 44:[34, 37, 27], Operations: ['54/2=27'] Exploring Operation: 34+37=71, Resulting Numbers: [27, 71] Generated Node #3: [27, 71] from Operation: 34+37=71 Current State: 44:[27, 71], Operations: ['54/2=27', '34+37=71'] Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[2, 54, 34, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [2, 54, 3] Generated Node #0,0: 44:[2, 54, 3] Operation: 37-34=3 Exploring Operation: 54-34=20, Resulting Numbers: [2, 37, 20] Generated Node #0,1: 44:[2, 37, 20] Operation: 54-34=20 Moving to Node #0,1 Current State: 44:[2, 37, 20], Operations: ['54-34=20'] Exploring Operation: 37-20=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 44:[2, 17] Operation: 37-20=17 Exploring Operation: 2+37=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 44:[20, 39] Operation: 2+37=39 Moving to Node #0,0 Current State: 44:[2, 54, 3], Operations: ['37-34=3'] Exploring Operation: 54/2=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 44:[3, 27] Operation: 54/2=27 Exploring Operation: 54/3=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 44:[2, 18] Operation: 54/3=18 Moving to Node #0,0,1 Current State: 44:[2, 18], Operations: ['37-34=3', '54/3=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[2, 17], Operations: ['54-34=20', '37-20=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[3, 27], Operations: ['37-34=3', '54/2=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[20, 39], Operations: ['54-34=20', '2+37=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 85, 57, 54, 60 ]
34
[ "85-57=28", "60-54=6", "28+6=34" ]
Current State: 34:[85, 57, 54, 60], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [54, 60, 28] Generated Node #2: [54, 60, 28] from Operation: 85-57=28 Current State: 34:[54, 60, 28], Operations: ['85-57=28'] Exploring Operation: 60-54=6, Resulting Numbers: [28, 6] Generated Node #3: [28, 6] from Operation: 60-54=6 Current State: 34:[28, 6], Operations: ['85-57=28', '60-54=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[85, 57, 54, 60], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [57, 54, 25] Generated Node #0,0: 34:[57, 54, 25] Operation: 85-60=25 Moving to Node #0,0 Current State: 34:[57, 54, 25], Operations: ['85-60=25'] Exploring Operation: 57-54=3, Resulting Numbers: [25, 3] Generated Node #0,0,0: 34:[25, 3] Operation: 57-54=3 Moving to Node #0,0,0 Current State: 34:[25, 3], Operations: ['85-60=25', '57-54=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 38, 1, 44 ]
84
[ "15-1=14", "44-38=6", "14*6=84" ]
Current State: 84:[15, 38, 1, 44], Operations: [] Exploring Operation: 15-1=14, Resulting Numbers: [38, 44, 14] Generated Node #2: [38, 44, 14] from Operation: 15-1=14 Current State: 84:[38, 44, 14], Operations: ['15-1=14'] Exploring Operation: 44-38=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 44-38=6 Current State: 84:[14, 6], Operations: ['15-1=14', '44-38=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 38, 1, 44], Operations: [] Exploring Operation: 38-15=23, Resulting Numbers: [1, 44, 23] Generated Node #0,0: 84:[1, 44, 23] Operation: 38-15=23 Exploring Operation: 38+44=82, Resulting Numbers: [15, 1, 82] Generated Node #0,1: 84:[15, 1, 82] Operation: 38+44=82 Exploring Operation: 44-38=6, Resulting Numbers: [15, 1, 6] Generated Node #0,2: 84:[15, 1, 6] Operation: 44-38=6 Moving to Node #0,2 Current State: 84:[15, 1, 6], Operations: ['44-38=6'] Exploring Operation: 15-1=14, Resulting Numbers: [6, 14] Generated Node #0,2,0: 84:[6, 14] Operation: 15-1=14 Exploring Operation: 15/1=15, Resulting Numbers: [6, 15] Generated Node #0,2,1: 84:[6, 15] Operation: 15/1=15 Exploring Operation: 15*1=15, Resulting Numbers: [6, 15] Generated Node #0,2,2: 84:[6, 15] Operation: 15*1=15 Moving to Node #0,1 Current State: 84:[15, 1, 82], Operations: ['38+44=82'] Exploring Operation: 1+82=83, Resulting Numbers: [15, 83] Generated Node #0,1,0: 84:[15, 83] Operation: 1+82=83 Exploring Operation: 15-1=14, Resulting Numbers: [82, 14] Generated Node #0,1,1: 84:[82, 14] Operation: 15-1=14 Exploring Operation: 15*1=15, Resulting Numbers: [82, 15] Generated Node #0,1,2: 84:[82, 15] Operation: 15*1=15 Moving to Node #0,0 Current State: 84:[1, 44, 23], Operations: ['38-15=23'] Exploring Operation: 44-1=43, Resulting Numbers: [23, 43] Generated Node #0,0,0: 84:[23, 43] Operation: 44-1=43 Exploring Operation: 44-23=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 84:[1, 21] Operation: 44-23=21 Exploring Operation: 23-1=22, Resulting Numbers: [44, 22] Generated Node #0,0,2: 84:[44, 22] Operation: 23-1=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[1, 21], Operations: ['38-15=23', '44-23=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[23, 43], Operations: ['38-15=23', '44-1=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,84 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[44, 22], Operations: ['38-15=23', '23-1=22'] Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 84:[6, 14], Operations: ['44-38=6', '15-1=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[15, 38, 1, 44], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [15, 1, 6] Generated Node #0,2: 84:[15, 1, 6] Operation: 44-38=6 Moving to Node #0,2 Current State: 84:[15, 1, 6], Operations: ['44-38=6'] Exploring Operation: 15-1=14, Resulting Numbers: [6, 14] Generated Node #0,2,0: 84:[6, 14] Operation: 15-1=14 Moving to Node #0,2,0 Current State: 84:[6, 14], Operations: ['44-38=6', '15-1=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 39, 37, 90, 71 ]
18
[ "39+37=76", "76-71=5", "90/5=18" ]
Current State: 18:[39, 37, 90, 71], Operations: [] Exploring Operation: 39+37=76, Resulting Numbers: [90, 71, 76] Generated Node #2: [90, 71, 76] from Operation: 39+37=76 Current State: 18:[90, 71, 76], Operations: ['39+37=76'] Exploring Operation: 76-71=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 76-71=5 Current State: 18:[90, 5], Operations: ['39+37=76', '76-71=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[39, 37, 90, 71], Operations: [] Exploring Operation: 90-71=19, Resulting Numbers: [39, 37, 19] Generated Node #0,0: 18:[39, 37, 19] Operation: 90-71=19 Moving to Node #0,0 Current State: 18:[39, 37, 19], Operations: ['90-71=19'] Exploring Operation: 39-37=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 18:[19, 2] Operation: 39-37=2 Moving to Node #0,0,0 Current State: 18:[19, 2], Operations: ['90-71=19', '39-37=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,18 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 22, 92, 44 ]
21
[ "22-18=4", "92/4=23", "44-23=21" ]
Current State: 21:[18, 22, 92, 44], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [92, 44, 4] Generated Node #2: [92, 44, 4] from Operation: 22-18=4 Current State: 21:[92, 44, 4], Operations: ['22-18=4'] Exploring Operation: 92/4=23, Resulting Numbers: [44, 23] Generated Node #3: [44, 23] from Operation: 92/4=23 Current State: 21:[44, 23], Operations: ['22-18=4', '92/4=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[18, 22, 92, 44], Operations: [] Exploring Operation: 92-44=48, Resulting Numbers: [18, 22, 48] Generated Node #0,0: 21:[18, 22, 48] Operation: 92-44=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[18, 22, 48], Operations: ['92-44=48'] Exploring Operation: 48-22=26, Resulting Numbers: [18, 26] Generated Node #0,0,0: 21:[18, 26] Operation: 48-22=26 Moving to Node #0,0,0 Current State: 21:[18, 26], Operations: ['92-44=48', '48-22=26'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 4, 99, 29 ]
10
[ "99+29=128", "128/4=32", "42-32=10" ]
Current State: 10:[42, 4, 99, 29], Operations: [] Exploring Operation: 99+29=128, Resulting Numbers: [42, 4, 128] Generated Node #2: [42, 4, 128] from Operation: 99+29=128 Current State: 10:[42, 4, 128], Operations: ['99+29=128'] Exploring Operation: 128/4=32, Resulting Numbers: [42, 32] Generated Node #3: [42, 32] from Operation: 128/4=32 Current State: 10:[42, 32], Operations: ['99+29=128', '128/4=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[42, 4, 99, 29], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [4, 29, 57] Generated Node #0,0: 10:[4, 29, 57] Operation: 99-42=57 Exploring Operation: 42-29=13, Resulting Numbers: [4, 99, 13] Generated Node #0,1: 10:[4, 99, 13] Operation: 42-29=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[4, 29, 57], Operations: ['99-42=57'] Exploring Operation: 29-4=25, Resulting Numbers: [57, 25] Generated Node #0,0,0: 10:[57, 25] Operation: 29-4=25 Exploring Operation: 57-29=28, Resulting Numbers: [4, 28] Generated Node #0,0,1: 10:[4, 28] Operation: 57-29=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[4, 28], Operations: ['99-42=57', '57-29=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,10 unequal: No Solution No 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: 10:[57, 25], Operations: ['99-42=57', '29-4=25'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,10 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: 10:[4, 99, 13], Operations: ['42-29=13'] Exploring Operation: 99-13=86, Resulting Numbers: [4, 86] Generated Node #0,1,0: 10:[4, 86] Operation: 99-13=86 Exploring Operation: 99-4=95, Resulting Numbers: [13, 95] Generated Node #0,1,1: 10:[13, 95] Operation: 99-4=95 Moving to Node #0,1,0 Current State: 10:[4, 86], Operations: ['42-29=13', '99-13=86'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,10 unequal: No Solution Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[13, 95], Operations: ['42-29=13', '99-4=95'] Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,10 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,10 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
[ 89, 5, 30, 95 ]
29
[ "89+5=94", "95-30=65", "94-65=29" ]
Current State: 29:[89, 5, 30, 95], Operations: [] Exploring Operation: 89+5=94, Resulting Numbers: [30, 95, 94] Generated Node #2: [30, 95, 94] from Operation: 89+5=94 Current State: 29:[30, 95, 94], Operations: ['89+5=94'] Exploring Operation: 95-30=65, Resulting Numbers: [94, 65] Generated Node #3: [94, 65] from Operation: 95-30=65 Current State: 29:[94, 65], Operations: ['89+5=94', '95-30=65'] Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[89, 5, 30, 95], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [5, 95, 59] Generated Node #0,0: 29:[5, 95, 59] Operation: 89-30=59 Exploring Operation: 89-5=84, Resulting Numbers: [30, 95, 84] Generated Node #0,1: 29:[30, 95, 84] Operation: 89-5=84 Exploring Operation: 95-30=65, Resulting Numbers: [89, 5, 65] Generated Node #0,2: 29:[89, 5, 65] Operation: 95-30=65 Exploring Operation: 95/5=19, Resulting Numbers: [89, 30, 19] Generated Node #0,3: 29:[89, 30, 19] Operation: 95/5=19 Exploring Operation: 95-89=6, Resulting Numbers: [5, 30, 6] Generated Node #0,4: 29:[5, 30, 6] Operation: 95-89=6 Moving to Node #0,4 Current State: 29:[5, 30, 6], Operations: ['95-89=6'] Exploring Operation: 6-5=1, Resulting Numbers: [30, 1] Generated Node #0,4,0: 29:[30, 1] Operation: 6-5=1 Exploring Operation: 5*6=30, Resulting Numbers: [30, 30] Generated Node #0,4,1: 29:[30, 30] Operation: 5*6=30 Exploring Operation: 5+6=11, Resulting Numbers: [30, 11] Generated Node #0,4,2: 29:[30, 11] Operation: 5+6=11 Exploring Operation: 5+30=35, Resulting Numbers: [6, 35] Generated Node #0,4,3: 29:[6, 35] Operation: 5+30=35 Exploring Operation: 30-5=25, Resulting Numbers: [6, 25] Generated Node #0,4,4: 29:[6, 25] Operation: 30-5=25 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[30, 30], Operations: ['95-89=6', '5*6=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,29 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,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,4,2 Current State: 29:[30, 11], Operations: ['95-89=6', '5+6=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,29 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,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,4,4 Current State: 29:[6, 25], Operations: ['95-89=6', '30-5=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,29 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,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,4,0 Current State: 29:[30, 1], Operations: ['95-89=6', '6-5=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[89, 5, 30, 95], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [5, 30, 6] Generated Node #0,4: 29:[5, 30, 6] Operation: 95-89=6 Moving to Node #0,4 Current State: 29:[5, 30, 6], Operations: ['95-89=6'] Exploring Operation: 6-5=1, Resulting Numbers: [30, 1] Generated Node #0,4,0: 29:[30, 1] Operation: 6-5=1 Moving to Node #0,4,0 Current State: 29:[30, 1], Operations: ['95-89=6', '6-5=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 5, 77, 95, 98 ]
85
[ "5+77=82", "98-95=3", "82+3=85" ]
Current State: 85:[5, 77, 95, 98], Operations: [] Exploring Operation: 5+77=82, Resulting Numbers: [95, 98, 82] Generated Node #2: [95, 98, 82] from Operation: 5+77=82 Current State: 85:[95, 98, 82], Operations: ['5+77=82'] Exploring Operation: 98-95=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 98-95=3 Current State: 85:[82, 3], Operations: ['5+77=82', '98-95=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[5, 77, 95, 98], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [5, 77, 3] Generated Node #0,0: 85:[5, 77, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 85:[5, 77, 3], Operations: ['98-95=3'] Exploring Operation: 5+77=82, Resulting Numbers: [3, 82] Generated Node #0,0,0: 85:[3, 82] Operation: 5+77=82 Moving to Node #0,0,0 Current State: 85:[3, 82], Operations: ['98-95=3', '5+77=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[5, 77, 95, 98], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [5, 77, 3] Generated Node #0,0: 85:[5, 77, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 85:[5, 77, 3], Operations: ['98-95=3'] Exploring Operation: 5+77=82, Resulting Numbers: [3, 82] Generated Node #0,0,0: 85:[3, 82] Operation: 5+77=82 Moving to Node #0,0,0 Current State: 85:[3, 82], Operations: ['98-95=3', '5+77=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 44, 41, 24, 47 ]
69
[ "44-41=3", "47-24=23", "3*23=69" ]
Current State: 69:[44, 41, 24, 47], Operations: [] Exploring Operation: 44-41=3, Resulting Numbers: [24, 47, 3] Generated Node #2: [24, 47, 3] from Operation: 44-41=3 Current State: 69:[24, 47, 3], Operations: ['44-41=3'] Exploring Operation: 47-24=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 47-24=23 Current State: 69:[3, 23], Operations: ['44-41=3', '47-24=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[44, 41, 24, 47], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [41, 24, 3] Generated Node #0,0: 69:[41, 24, 3] Operation: 47-44=3 Exploring Operation: 47-41=6, Resulting Numbers: [44, 24, 6] Generated Node #0,1: 69:[44, 24, 6] Operation: 47-41=6 Exploring Operation: 44+41=85, Resulting Numbers: [24, 47, 85] Generated Node #0,2: 69:[24, 47, 85] Operation: 44+41=85 Exploring Operation: 44-41=3, Resulting Numbers: [24, 47, 3] Generated Node #0,3: 69:[24, 47, 3] Operation: 44-41=3 Moving to Node #0,0 Current State: 69:[41, 24, 3], Operations: ['47-44=3'] Exploring Operation: 41-24=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 69:[3, 17] Operation: 41-24=17 Exploring Operation: 41-3=38, Resulting Numbers: [24, 38] Generated Node #0,0,1: 69:[24, 38] Operation: 41-3=38 Exploring Operation: 41+24=65, Resulting Numbers: [3, 65] Generated Node #0,0,2: 69:[3, 65] Operation: 41+24=65 Exploring Operation: 24-3=21, Resulting Numbers: [41, 21] Generated Node #0,0,3: 69:[41, 21] Operation: 24-3=21 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[3, 65], Operations: ['47-44=3', '41+24=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 17], Operations: ['47-44=3', '41-24=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[24, 38], Operations: ['47-44=3', '41-3=38'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[41, 21], Operations: ['47-44=3', '24-3=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,69 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: 69:[24, 47, 3], Operations: ['44-41=3'] Exploring Operation: 47+3=50, Resulting Numbers: [24, 50] Generated Node #0,3,0: 69:[24, 50] Operation: 47+3=50 Exploring Operation: 24+47=71, Resulting Numbers: [3, 71] Generated Node #0,3,1: 69:[3, 71] Operation: 24+47=71 Exploring Operation: 47-3=44, Resulting Numbers: [24, 44] Generated Node #0,3,2: 69:[24, 44] Operation: 47-3=44 Exploring Operation: 47-24=23, Resulting Numbers: [3, 23] Generated Node #0,3,3: 69:[3, 23] Operation: 47-24=23 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[3, 23], Operations: ['44-41=3', '47-24=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[44, 41, 24, 47], Operations: [] Exploring Operation: 44-41=3, Resulting Numbers: [24, 47, 3] Generated Node #0,3: 69:[24, 47, 3] Operation: 44-41=3 Moving to Node #0,3 Current State: 69:[24, 47, 3], Operations: ['44-41=3'] Exploring Operation: 47-24=23, Resulting Numbers: [3, 23] Generated Node #0,3,3: 69:[3, 23] Operation: 47-24=23 Moving to Node #0,3,3 Current State: 69:[3, 23], Operations: ['44-41=3', '47-24=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 3, 88, 88, 6 ]
88
[ "6/3=2", "88+88=176", "176/2=88" ]
Current State: 88:[3, 88, 88, 6], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [88, 88, 2] Generated Node #2: [88, 88, 2] from Operation: 6/3=2 Current State: 88:[88, 88, 2], Operations: ['6/3=2'] Exploring Operation: 88+88=176, Resulting Numbers: [2, 176] Generated Node #3: [2, 176] from Operation: 88+88=176 Current State: 88:[2, 176], Operations: ['6/3=2', '88+88=176'] Exploring Operation: 176/2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 88, 88, 6], Operations: [] Exploring Operation: 3+6=9, Resulting Numbers: [88, 88, 9] Generated Node #0,0: 88:[88, 88, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [88, 88, 3] Generated Node #0,1: 88:[88, 88, 3] Operation: 6-3=3 Exploring Operation: 3*6=18, Resulting Numbers: [88, 88, 18] Generated Node #0,2: 88:[88, 88, 18] Operation: 3*6=18 Exploring Operation: 6/3=2, Resulting Numbers: [88, 88, 2] Generated Node #0,3: 88:[88, 88, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[88, 88, 2], Operations: ['6/3=2'] Exploring Operation: 88/2=44, Resulting Numbers: [88, 44] Generated Node #0,3,0: 88:[88, 44] Operation: 88/2=44 Exploring Operation: 88/2=44, Resulting Numbers: [88, 44] Generated Node #0,3,1: 88:[88, 44] Operation: 88/2=44 Exploring Operation: 88/88=1, Resulting Numbers: [2, 1] Generated Node #0,3,2: 88:[2, 1] Operation: 88/88=1 Exploring Operation: 88-88=0, Resulting Numbers: [2, 0] Generated Node #0,3,3: 88:[2, 0] Operation: 88-88=0 Moving to Node #0,3,0 Current State: 88:[88, 44], Operations: ['6/3=2', '88/2=44'] Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,88 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[88, 44], Operations: ['6/3=2', '88/2=44'] Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,88 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,88 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[2, 1], Operations: ['6/3=2', '88/88=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[2, 0], Operations: ['6/3=2', '88-88=0'] Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,88 unequal: No Solution No 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: 88:[88, 88, 9], Operations: ['3+6=9'] Exploring Operation: 88-88=0, Resulting Numbers: [9, 0] Generated Node #0,0,0: 88:[9, 0] Operation: 88-88=0 Exploring Operation: 88+9=97, Resulting Numbers: [88, 97] Generated Node #0,0,1: 88:[88, 97] Operation: 88+9=97 Exploring Operation: 88-9=79, Resulting Numbers: [88, 79] Generated Node #0,0,2: 88:[88, 79] Operation: 88-9=79 Exploring Operation: 88/88=1, Resulting Numbers: [9, 1] Generated Node #0,0,3: 88:[9, 1] Operation: 88/88=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[9, 1], Operations: ['3+6=9', '88/88=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[9, 0], Operations: ['3+6=9', '88-88=0'] Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[88, 97], Operations: ['3+6=9', '88+9=97'] Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 88+97=185, Resulting Numbers: [185] 185,88 unequal: No Solution Exploring Operation: 88*97=8536, Resulting Numbers: [8536] 8536,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[88, 79], Operations: ['3+6=9', '88-9=79'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 88+79=167, Resulting Numbers: [167] 167,88 unequal: No Solution Exploring Operation: 88*79=6952, Resulting Numbers: [6952] 6952,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[88, 88, 3], Operations: ['6-3=3'] Exploring Operation: 88-88=0, Resulting Numbers: [3, 0] Generated Node #0,1,0: 88:[3, 0] Operation: 88-88=0 Exploring Operation: 88+3=91, Resulting Numbers: [88, 91] Generated Node #0,1,1: 88:[88, 91] Operation: 88+3=91 Exploring Operation: 88-3=85, Resulting Numbers: [88, 85] Generated Node #0,1,2: 88:[88, 85] Operation: 88-3=85 Exploring Operation: 88/88=1, Resulting Numbers: [3, 1] Generated Node #0,1,3: 88:[3, 1] Operation: 88/88=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[3, 1], Operations: ['6-3=3', '88/88=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[3, 0], Operations: ['6-3=3', '88-88=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[88, 91], Operations: ['6-3=3', '88+3=91'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,88 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[88, 85], Operations: ['6-3=3', '88-3=85'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[88, 88, 18], Operations: ['3*6=18'] Exploring Operation: 88/88=1, Resulting Numbers: [18, 1] Generated Node #0,2,0: 88:[18, 1] Operation: 88/88=1 Exploring Operation: 88-88=0, Resulting Numbers: [18, 0] Generated Node #0,2,1: 88:[18, 0] Operation: 88-88=0 Exploring Operation: 88+18=106, Resulting Numbers: [88, 106] Generated Node #0,2,2: 88:[88, 106] Operation: 88+18=106 Exploring Operation: 88-18=70, Resulting Numbers: [88, 70] Generated Node #0,2,3: 88:[88, 70] Operation: 88-18=70 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[18, 1], Operations: ['3*6=18', '88/88=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[18, 0], Operations: ['3*6=18', '88-88=0'] Exploring Operation: 18*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[88, 106], Operations: ['3*6=18', '88+18=106'] Exploring Operation: 106-88=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 88+106=194, Resulting Numbers: [194] 194,88 unequal: No Solution Exploring Operation: 88*106=9328, Resulting Numbers: [9328] 9328,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[88, 70], Operations: ['3*6=18', '88-18=70'] Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,88 unequal: No Solution Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,88 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 8, 32, 75, 2 ]
88
[ "32*2=64", "75-64=11", "8*11=88" ]
Current State: 88:[8, 32, 75, 2], Operations: [] Exploring Operation: 32*2=64, Resulting Numbers: [8, 75, 64] Generated Node #2: [8, 75, 64] from Operation: 32*2=64 Current State: 88:[8, 75, 64], Operations: ['32*2=64'] Exploring Operation: 75-64=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 75-64=11 Current State: 88:[8, 11], Operations: ['32*2=64', '75-64=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[8, 32, 75, 2], Operations: [] Exploring Operation: 75-32=43, Resulting Numbers: [8, 2, 43] Generated Node #0,0: 88:[8, 2, 43] Operation: 75-32=43 Exploring Operation: 32-8=24, Resulting Numbers: [75, 2, 24] Generated Node #0,1: 88:[75, 2, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [75, 2, 4] Generated Node #0,2: 88:[75, 2, 4] Operation: 32/8=4 Exploring Operation: 8+75=83, Resulting Numbers: [32, 2, 83] Generated Node #0,3: 88:[32, 2, 83] Operation: 8+75=83 Moving to Node #0,0 Current State: 88:[8, 2, 43], Operations: ['75-32=43'] Exploring Operation: 2+43=45, Resulting Numbers: [8, 45] Generated Node #0,0,0: 88:[8, 45] Operation: 2+43=45 Exploring Operation: 8/2=4, Resulting Numbers: [43, 4] Generated Node #0,0,1: 88:[43, 4] Operation: 8/2=4 Exploring Operation: 2*43=86, Resulting Numbers: [8, 86] Generated Node #0,0,2: 88:[8, 86] Operation: 2*43=86 Exploring Operation: 8+2=10, Resulting Numbers: [43, 10] Generated Node #0,0,3: 88:[43, 10] Operation: 8+2=10 Moving to Node #0,2 Current State: 88:[75, 2, 4], Operations: ['32/8=4'] Exploring Operation: 75+4=79, Resulting Numbers: [2, 79] Generated Node #0,2,0: 88:[2, 79] Operation: 75+4=79 Exploring Operation: 2*4=8, Resulting Numbers: [75, 8] Generated Node #0,2,1: 88:[75, 8] Operation: 2*4=8 Exploring Operation: 4-2=2, Resulting Numbers: [75, 2] Generated Node #0,2,2: 88:[75, 2] Operation: 4-2=2 Exploring Operation: 75+2=77, Resulting Numbers: [4, 77] Generated Node #0,2,3: 88:[4, 77] Operation: 75+2=77 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[2, 79], Operations: ['32/8=4', '75+4=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,88 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,88 unequal: No Solution No 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: 88:[4, 77], Operations: ['32/8=4', '75+2=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,88 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,88 unequal: No Solution No 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: 88:[75, 8], Operations: ['32/8=4', '2*4=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,88 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,88 unequal: No Solution No 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: 88:[75, 2], Operations: ['32/8=4', '4-2=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,88 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: 88:[32, 2, 83], Operations: ['8+75=83'] Exploring Operation: 32/2=16, Resulting Numbers: [83, 16] Generated Node #0,3,0: 88:[83, 16] Operation: 32/2=16 Exploring Operation: 2+83=85, Resulting Numbers: [32, 85] Generated Node #0,3,1: 88:[32, 85] Operation: 2+83=85 Exploring Operation: 83-32=51, Resulting Numbers: [2, 51] Generated Node #0,3,2: 88:[2, 51] Operation: 83-32=51 Exploring Operation: 32-2=30, Resulting Numbers: [83, 30] Generated Node #0,3,3: 88:[83, 30] Operation: 32-2=30 Moving to Node #0,1 Current State: 88:[75, 2, 24], Operations: ['32-8=24'] Exploring Operation: 75+2=77, Resulting Numbers: [24, 77] Generated Node #0,1,0: 88:[24, 77] Operation: 75+2=77 Exploring Operation: 24-2=22, Resulting Numbers: [75, 22] Generated Node #0,1,1: 88:[75, 22] Operation: 24-2=22 Exploring Operation: 75-24=51, Resulting Numbers: [2, 51] Generated Node #0,1,2: 88:[2, 51] Operation: 75-24=51 Exploring Operation: 75+24=99, Resulting Numbers: [2, 99] Generated Node #0,1,3: 88:[2, 99] Operation: 75+24=99 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[2, 51], Operations: ['32-8=24', '75-24=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,88 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,88 unequal: No Solution No 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: 88:[2, 99], Operations: ['32-8=24', '75+24=99'] Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,88 unequal: No Solution Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,88 unequal: No Solution No 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: 88:[24, 77], Operations: ['32-8=24', '75+2=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,88 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,88 unequal: No Solution No 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: 88:[75, 22], Operations: ['32-8=24', '24-2=22'] Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,88 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,88 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: 88:[8, 45], Operations: ['75-32=43', '2+43=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,88 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[43, 4], Operations: ['75-32=43', '8/2=4'] Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,88 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[8, 86], Operations: ['75-32=43', '2*43=86'] Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,88 unequal: No Solution Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[43, 10], Operations: ['75-32=43', '8+2=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,88 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[2, 51], Operations: ['8+75=83', '83-32=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,88 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[83, 16], Operations: ['8+75=83', '32/2=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,88 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[83, 30], Operations: ['8+75=83', '32-2=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,88 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[32, 85], Operations: ['8+75=83', '2+83=85'] Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,88 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,88 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,88 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 69, 4, 59, 92 ]
75
[ "69+92=161", "4*59=236", "236-161=75" ]
Current State: 75:[69, 4, 59, 92], Operations: [] Exploring Operation: 69+92=161, Resulting Numbers: [4, 59, 161] Generated Node #2: [4, 59, 161] from Operation: 69+92=161 Current State: 75:[4, 59, 161], Operations: ['69+92=161'] Exploring Operation: 4*59=236, Resulting Numbers: [161, 236] Generated Node #3: [161, 236] from Operation: 4*59=236 Current State: 75:[161, 236], Operations: ['69+92=161', '4*59=236'] Exploring Operation: 236-161=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[69, 4, 59, 92], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [4, 59, 23] Generated Node #0,0: 75:[4, 59, 23] Operation: 92-69=23 Exploring Operation: 92-59=33, Resulting Numbers: [69, 4, 33] Generated Node #0,1: 75:[69, 4, 33] Operation: 92-59=33 Moving to Node #0,1 Current State: 75:[69, 4, 33], Operations: ['92-59=33'] Exploring Operation: 69+4=73, Resulting Numbers: [33, 73] Generated Node #0,1,0: 75:[33, 73] Operation: 69+4=73 Exploring Operation: 33-4=29, Resulting Numbers: [69, 29] Generated Node #0,1,1: 75:[69, 29] Operation: 33-4=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[33, 73], Operations: ['92-59=33', '69+4=73'] Exploring Operation: 33+73=106, Resulting Numbers: [106] 106,75 unequal: No Solution Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,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:[69, 29], Operations: ['92-59=33', '33-4=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,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:[4, 59, 23], Operations: ['92-69=23'] Exploring Operation: 59-23=36, Resulting Numbers: [4, 36] Generated Node #0,0,0: 75:[4, 36] Operation: 59-23=36 Exploring Operation: 59+23=82, Resulting Numbers: [4, 82] Generated Node #0,0,1: 75:[4, 82] Operation: 59+23=82 Moving to Node #0,0,1 Current State: 75:[4, 82], Operations: ['92-69=23', '59+23=82'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[4, 36], Operations: ['92-69=23', '59-23=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,75 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 24, 34, 60 ]
37
[ "35-24=11", "60-34=26", "11+26=37" ]
Current State: 37:[35, 24, 34, 60], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [34, 60, 11] Generated Node #2: [34, 60, 11] from Operation: 35-24=11 Current State: 37:[34, 60, 11], Operations: ['35-24=11'] Exploring Operation: 60-34=26, Resulting Numbers: [11, 26] Generated Node #3: [11, 26] from Operation: 60-34=26 Current State: 37:[11, 26], Operations: ['35-24=11', '60-34=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[35, 24, 34, 60], Operations: [] Exploring Operation: 60-24=36, Resulting Numbers: [35, 34, 36] Generated Node #0,0: 37:[35, 34, 36] Operation: 60-24=36 Moving to Node #0,0 Current State: 37:[35, 34, 36], Operations: ['60-24=36'] Exploring Operation: 35+34=69, Resulting Numbers: [36, 69] Generated Node #0,0,0: 37:[36, 69] Operation: 35+34=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[36, 69], Operations: ['60-24=36', '35+34=69'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,37 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
[ 77, 39, 16, 22 ]
44
[ "77-39=38", "22-16=6", "38+6=44" ]
Current State: 44:[77, 39, 16, 22], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [16, 22, 38] Generated Node #2: [16, 22, 38] from Operation: 77-39=38 Current State: 44:[16, 22, 38], Operations: ['77-39=38'] Exploring Operation: 22-16=6, Resulting Numbers: [38, 6] Generated Node #3: [38, 6] from Operation: 22-16=6 Current State: 44:[38, 6], Operations: ['77-39=38', '22-16=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[77, 39, 16, 22], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [39, 16, 55] Generated Node #0,0: 44:[39, 16, 55] Operation: 77-22=55 Exploring Operation: 77-39=38, Resulting Numbers: [16, 22, 38] Generated Node #0,1: 44:[16, 22, 38] Operation: 77-39=38 Moving to Node #0,1 Current State: 44:[16, 22, 38], Operations: ['77-39=38'] Exploring Operation: 22-16=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 44:[38, 6] Operation: 22-16=6 Exploring Operation: 38-16=22, Resulting Numbers: [22, 22] Generated Node #0,1,1: 44:[22, 22] Operation: 38-16=22 Moving to Node #0,0 Current State: 44:[39, 16, 55], Operations: ['77-22=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39, 39] Generated Node #0,0,0: 44:[39, 39] Operation: 55-16=39 Exploring Operation: 55-39=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 44:[16, 16] Operation: 55-39=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[39, 39], Operations: ['77-22=55', '55-16=39'] Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,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:[16, 16], Operations: ['77-22=55', '55-39=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 44:[22, 22], Operations: ['77-39=38', '38-16=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[77, 39, 16, 22], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [16, 22, 38] Generated Node #0,1: 44:[16, 22, 38] Operation: 77-39=38 Moving to Node #0,1 Current State: 44:[16, 22, 38], Operations: ['77-39=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22, 22] Generated Node #0,1,1: 44:[22, 22] Operation: 38-16=22 Moving to Node #0,1,1 Current State: 44:[22, 22], Operations: ['77-39=38', '38-16=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 53, 21, 92, 46 ]
37
[ "53+21=74", "92/46=2", "74/2=37" ]
Current State: 37:[53, 21, 92, 46], Operations: [] Exploring Operation: 53+21=74, Resulting Numbers: [92, 46, 74] Generated Node #2: [92, 46, 74] from Operation: 53+21=74 Current State: 37:[92, 46, 74], Operations: ['53+21=74'] Exploring Operation: 92/46=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 92/46=2 Current State: 37:[74, 2], Operations: ['53+21=74', '92/46=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[53, 21, 92, 46], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [21, 46, 39] Generated Node #0,0: 37:[21, 46, 39] Operation: 92-53=39 Moving to Node #0,0 Current State: 37:[21, 46, 39], Operations: ['92-53=39'] Exploring Operation: 46-21=25, Resulting Numbers: [39, 25] Generated Node #0,0,0: 37:[39, 25] Operation: 46-21=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[39, 25], Operations: ['92-53=39', '46-21=25'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,37 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
[ 12, 33, 32, 31 ]
26
[ "33-31=2", "12/2=6", "32-6=26" ]
Current State: 26:[12, 33, 32, 31], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [12, 32, 2] Generated Node #2: [12, 32, 2] from Operation: 33-31=2 Current State: 26:[12, 32, 2], Operations: ['33-31=2'] Exploring Operation: 12/2=6, Resulting Numbers: [32, 6] Generated Node #3: [32, 6] from Operation: 12/2=6 Current State: 26:[32, 6], Operations: ['33-31=2', '12/2=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[12, 33, 32, 31], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [12, 31, 1] Generated Node #0,0: 26:[12, 31, 1] Operation: 33-32=1 Moving to Node #0,0 Current State: 26:[12, 31, 1], Operations: ['33-32=1'] Exploring Operation: 12+1=13, Resulting Numbers: [31, 13] Generated Node #0,0,0: 26:[31, 13] Operation: 12+1=13 Moving to Node #0,0,0 Current State: 26:[31, 13], Operations: ['33-32=1', '12+1=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 3, 5, 53 ]
11
[ "57-53=4", "3*5=15", "15-4=11" ]
Current State: 11:[57, 3, 5, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [3, 5, 4] Generated Node #2: [3, 5, 4] from Operation: 57-53=4 Current State: 11:[3, 5, 4], Operations: ['57-53=4'] Exploring Operation: 3*5=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 3*5=15 Current State: 11:[4, 15], Operations: ['57-53=4', '3*5=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[57, 3, 5, 53], Operations: [] Exploring Operation: 57-3=54, Resulting Numbers: [5, 53, 54] Generated Node #0,0: 11:[5, 53, 54] Operation: 57-3=54 Exploring Operation: 57-53=4, Resulting Numbers: [3, 5, 4] Generated Node #0,1: 11:[3, 5, 4] Operation: 57-53=4 Exploring Operation: 57/3=19, Resulting Numbers: [5, 53, 19] Generated Node #0,2: 11:[5, 53, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[3, 5, 4], Operations: ['57-53=4'] Exploring Operation: 3*4=12, Resulting Numbers: [5, 12] Generated Node #0,1,0: 11:[5, 12] Operation: 3*4=12 Exploring Operation: 3+5=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 11:[4, 8] Operation: 3+5=8 Exploring Operation: 3+4=7, Resulting Numbers: [5, 7] Generated Node #0,1,2: 11:[5, 7] Operation: 3+4=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[5, 12], Operations: ['57-53=4', '3*4=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,11 unequal: No Solution No 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: 11:[4, 8], Operations: ['57-53=4', '3+5=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,11 unequal: No Solution No 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: 11:[5, 7], Operations: ['57-53=4', '3+4=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,11 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: 11:[5, 53, 19], Operations: ['57/3=19'] Exploring Operation: 19-5=14, Resulting Numbers: [53, 14] Generated Node #0,2,0: 11:[53, 14] Operation: 19-5=14 Exploring Operation: 53-5=48, Resulting Numbers: [19, 48] Generated Node #0,2,1: 11:[19, 48] Operation: 53-5=48 Exploring Operation: 53-19=34, Resulting Numbers: [5, 34] Generated Node #0,2,2: 11:[5, 34] Operation: 53-19=34 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[5, 34], Operations: ['57/3=19', '53-19=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,11 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,11 unequal: No Solution No 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: 11:[53, 14], Operations: ['57/3=19', '19-5=14'] Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,11 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,11 unequal: No Solution No 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: 11:[19, 48], Operations: ['57/3=19', '53-5=48'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,11 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: 11:[5, 53, 54], Operations: ['57-3=54'] Exploring Operation: 53-5=48, Resulting Numbers: [54, 48] Generated Node #0,0,0: 11:[54, 48] Operation: 53-5=48 Exploring Operation: 54-5=49, Resulting Numbers: [53, 49] Generated Node #0,0,1: 11:[53, 49] Operation: 54-5=49 Exploring Operation: 54-53=1, Resulting Numbers: [5, 1] Generated Node #0,0,2: 11:[5, 1] Operation: 54-53=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[5, 1], Operations: ['57-3=54', '54-53=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,11 unequal: No Solution No 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: 11:[54, 48], Operations: ['57-3=54', '53-5=48'] Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,11 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,11 unequal: No Solution No 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: 11:[53, 49], Operations: ['57-3=54', '54-5=49'] Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 87, 94, 39, 19 ]
51
[ "94-87=7", "39+19=58", "58-7=51" ]
Current State: 51:[87, 94, 39, 19], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [39, 19, 7] Generated Node #2: [39, 19, 7] from Operation: 94-87=7 Current State: 51:[39, 19, 7], Operations: ['94-87=7'] Exploring Operation: 39+19=58, Resulting Numbers: [7, 58] Generated Node #3: [7, 58] from Operation: 39+19=58 Current State: 51:[7, 58], Operations: ['94-87=7', '39+19=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 94, 39, 19], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [94, 19, 48] Generated Node #0,0: 51:[94, 19, 48] Operation: 87-39=48 Exploring Operation: 94-39=55, Resulting Numbers: [87, 19, 55] Generated Node #0,1: 51:[87, 19, 55] Operation: 94-39=55 Exploring Operation: 94-87=7, Resulting Numbers: [39, 19, 7] Generated Node #0,2: 51:[39, 19, 7] Operation: 94-87=7 Moving to Node #0,2 Current State: 51:[39, 19, 7], Operations: ['94-87=7'] Exploring Operation: 39-19=20, Resulting Numbers: [7, 20] Generated Node #0,2,0: 51:[7, 20] Operation: 39-19=20 Exploring Operation: 39+19=58, Resulting Numbers: [7, 58] Generated Node #0,2,1: 51:[7, 58] Operation: 39+19=58 Exploring Operation: 39+7=46, Resulting Numbers: [19, 46] Generated Node #0,2,2: 51:[19, 46] Operation: 39+7=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[7, 20], Operations: ['94-87=7', '39-19=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,51 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[19, 46], Operations: ['94-87=7', '39+7=46'] Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,51 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[7, 58], Operations: ['94-87=7', '39+19=58'] Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,51 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 94, 39, 19], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [39, 19, 7] Generated Node #0,2: 51:[39, 19, 7] Operation: 94-87=7 Moving to Node #0,2 Current State: 51:[39, 19, 7], Operations: ['94-87=7'] Exploring Operation: 39+19=58, Resulting Numbers: [7, 58] Generated Node #0,2,1: 51:[7, 58] Operation: 39+19=58 Moving to Node #0,2,1 Current State: 51:[7, 58], Operations: ['94-87=7', '39+19=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 15, 6, 42, 54 ]
87
[ "15-6=9", "42+54=96", "96-9=87" ]
Current State: 87:[15, 6, 42, 54], Operations: [] Exploring Operation: 15-6=9, Resulting Numbers: [42, 54, 9] Generated Node #2: [42, 54, 9] from Operation: 15-6=9 Current State: 87:[42, 54, 9], Operations: ['15-6=9'] Exploring Operation: 42+54=96, Resulting Numbers: [9, 96] Generated Node #3: [9, 96] from Operation: 42+54=96 Current State: 87:[9, 96], Operations: ['15-6=9', '42+54=96'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[15, 6, 42, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [15, 6, 12] Generated Node #0,0: 87:[15, 6, 12] Operation: 54-42=12 Exploring Operation: 42-15=27, Resulting Numbers: [6, 54, 27] Generated Node #0,1: 87:[6, 54, 27] Operation: 42-15=27 Exploring Operation: 42+54=96, Resulting Numbers: [15, 6, 96] Generated Node #0,2: 87:[15, 6, 96] Operation: 42+54=96 Exploring Operation: 54-15=39, Resulting Numbers: [6, 42, 39] Generated Node #0,3: 87:[6, 42, 39] Operation: 54-15=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[15, 6, 12], Operations: ['54-42=12'] Exploring Operation: 15*6=90, Resulting Numbers: [12, 90] Generated Node #0,0,0: 87:[12, 90] Operation: 15*6=90 Exploring Operation: 12/6=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 87:[15, 2] Operation: 12/6=2 Exploring Operation: 15-12=3, Resulting Numbers: [6, 3] Generated Node #0,0,2: 87:[6, 3] Operation: 15-12=3 Exploring Operation: 15+12=27, Resulting Numbers: [6, 27] Generated Node #0,0,3: 87:[6, 27] Operation: 15+12=27 Moving to Node #0,0,2 Current State: 87:[6, 3], Operations: ['54-42=12', '15-12=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[6, 27], Operations: ['54-42=12', '15+12=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[12, 90], Operations: ['54-42=12', '15*6=90'] Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,87 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,87 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[15, 2], Operations: ['54-42=12', '12/6=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,87 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[15, 6, 96], Operations: ['42+54=96'] Exploring Operation: 15*6=90, Resulting Numbers: [96, 90] Generated Node #0,2,0: 87:[96, 90] Operation: 15*6=90 Exploring Operation: 15-6=9, Resulting Numbers: [96, 9] Generated Node #0,2,1: 87:[96, 9] Operation: 15-6=9 Exploring Operation: 96-6=90, Resulting Numbers: [15, 90] Generated Node #0,2,2: 87:[15, 90] Operation: 96-6=90 Exploring Operation: 96-15=81, Resulting Numbers: [6, 81] Generated Node #0,2,3: 87:[6, 81] Operation: 96-15=81 Moving to Node #0,2,3 Current State: 87:[6, 81], Operations: ['42+54=96', '96-15=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[15, 6, 42, 54], Operations: [] Exploring Operation: 42+54=96, Resulting Numbers: [15, 6, 96] Generated Node #0,2: 87:[15, 6, 96] Operation: 42+54=96 Moving to Node #0,2 Current State: 87:[15, 6, 96], Operations: ['42+54=96'] Exploring Operation: 96-15=81, Resulting Numbers: [6, 81] Generated Node #0,2,3: 87:[6, 81] Operation: 96-15=81 Moving to Node #0,2,3 Current State: 87:[6, 81], Operations: ['42+54=96', '96-15=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 61, 56, 10, 22 ]
72
[ "61-56=5", "10*5=50", "22+50=72" ]
Current State: 72:[61, 56, 10, 22], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [10, 22, 5] Generated Node #2: [10, 22, 5] from Operation: 61-56=5 Current State: 72:[10, 22, 5], Operations: ['61-56=5'] Exploring Operation: 10*5=50, Resulting Numbers: [22, 50] Generated Node #3: [22, 50] from Operation: 10*5=50 Current State: 72:[22, 50], Operations: ['61-56=5', '10*5=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[61, 56, 10, 22], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [10, 22, 5] Generated Node #0,0: 72:[10, 22, 5] Operation: 61-56=5 Exploring Operation: 56-22=34, Resulting Numbers: [61, 10, 34] Generated Node #0,1: 72:[61, 10, 34] Operation: 56-22=34 Exploring Operation: 56+22=78, Resulting Numbers: [61, 10, 78] Generated Node #0,2: 72:[61, 10, 78] Operation: 56+22=78 Moving to Node #0,0 Current State: 72:[10, 22, 5], Operations: ['61-56=5'] Exploring Operation: 10/5=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 72:[22, 2] Operation: 10/5=2 Exploring Operation: 22-10=12, Resulting Numbers: [5, 12] Generated Node #0,0,1: 72:[5, 12] Operation: 22-10=12 Exploring Operation: 22-5=17, Resulting Numbers: [10, 17] Generated Node #0,0,2: 72:[10, 17] Operation: 22-5=17 Moving to Node #0,1 Current State: 72:[61, 10, 34], Operations: ['56-22=34'] Exploring Operation: 61+10=71, Resulting Numbers: [34, 71] Generated Node #0,1,0: 72:[34, 71] Operation: 61+10=71 Exploring Operation: 34-10=24, Resulting Numbers: [61, 24] Generated Node #0,1,1: 72:[61, 24] Operation: 34-10=24 Exploring Operation: 61-34=27, Resulting Numbers: [10, 27] Generated Node #0,1,2: 72:[10, 27] Operation: 61-34=27 Moving to Node #0,2 Current State: 72:[61, 10, 78], Operations: ['56+22=78'] Exploring Operation: 78-61=17, Resulting Numbers: [10, 17] Generated Node #0,2,0: 72:[10, 17] Operation: 78-61=17 Exploring Operation: 61+10=71, Resulting Numbers: [78, 71] Generated Node #0,2,1: 72:[78, 71] Operation: 61+10=71 Exploring Operation: 78-10=68, Resulting Numbers: [61, 68] Generated Node #0,2,2: 72:[61, 68] Operation: 78-10=68 Moving to Node #0,0,1 Current State: 72:[5, 12], Operations: ['61-56=5', '22-10=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[10, 17], Operations: ['61-56=5', '22-5=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,72 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[10, 17], Operations: ['56+22=78', '78-61=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[22, 2], Operations: ['61-56=5', '10/5=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[34, 71], Operations: ['56-22=34', '61+10=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,72 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[10, 27], Operations: ['56-22=34', '61-34=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[78, 71], Operations: ['56+22=78', '61+10=71'] Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,72 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[61, 24], Operations: ['56-22=34', '34-10=24'] Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,72 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,72 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[61, 68], Operations: ['56+22=78', '78-10=68'] Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,72 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,72 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 96, 57, 64, 24 ]
76
[ "96-64=32", "57*32=1824", "1824/24=76" ]
Current State: 76:[96, 57, 64, 24], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [57, 24, 32] Generated Node #2: [57, 24, 32] from Operation: 96-64=32 Current State: 76:[57, 24, 32], Operations: ['96-64=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [24, 1824] Generated Node #3: [24, 1824] from Operation: 57*32=1824 Current State: 76:[24, 1824], Operations: ['96-64=32', '57*32=1824'] Exploring Operation: 1824/24=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[96, 57, 64, 24], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [57, 24, 32] Generated Node #0,0: 76:[57, 24, 32] Operation: 96-64=32 Exploring Operation: 64-57=7, Resulting Numbers: [96, 24, 7] Generated Node #0,1: 76:[96, 24, 7] Operation: 64-57=7 Exploring Operation: 96/24=4, Resulting Numbers: [57, 64, 4] Generated Node #0,2: 76:[57, 64, 4] Operation: 96/24=4 Exploring Operation: 96-57=39, Resulting Numbers: [64, 24, 39] Generated Node #0,3: 76:[64, 24, 39] Operation: 96-57=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[64, 24, 39], Operations: ['96-57=39'] Exploring Operation: 64-39=25, Resulting Numbers: [24, 25] Generated Node #0,3,0: 76:[24, 25] Operation: 64-39=25 Exploring Operation: 64-24=40, Resulting Numbers: [39, 40] Generated Node #0,3,1: 76:[39, 40] Operation: 64-24=40 Exploring Operation: 39-24=15, Resulting Numbers: [64, 15] Generated Node #0,3,2: 76:[64, 15] Operation: 39-24=15 Exploring Operation: 64+24=88, Resulting Numbers: [39, 88] Generated Node #0,3,3: 76:[39, 88] Operation: 64+24=88 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 76:[39, 40], Operations: ['96-57=39', '64-24=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,76 unequal: No Solution No 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: 76:[24, 25], Operations: ['96-57=39', '64-39=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,76 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,76 unequal: No Solution No 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: 76:[39, 88], Operations: ['96-57=39', '64+24=88'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 39+88=127, Resulting Numbers: [127] 127,76 unequal: No Solution Exploring Operation: 39*88=3432, Resulting Numbers: [3432] 3432,76 unequal: No Solution No 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: 76:[64, 15], Operations: ['96-57=39', '39-24=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,76 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: 76:[96, 24, 7], Operations: ['64-57=7'] Exploring Operation: 96-7=89, Resulting Numbers: [24, 89] Generated Node #0,1,0: 76:[24, 89] Operation: 96-7=89 Exploring Operation: 96-24=72, Resulting Numbers: [7, 72] Generated Node #0,1,1: 76:[7, 72] Operation: 96-24=72 Exploring Operation: 96/24=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 76:[7, 4] Operation: 96/24=4 Exploring Operation: 24-7=17, Resulting Numbers: [96, 17] Generated Node #0,1,3: 76:[96, 17] Operation: 24-7=17 Moving to Node #0,1,2 Current State: 76:[7, 4], Operations: ['64-57=7', '96/24=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[7, 72], Operations: ['64-57=7', '96-24=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,76 unequal: No Solution Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[24, 89], Operations: ['64-57=7', '96-7=89'] Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,76 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,76 unequal: No Solution Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[96, 17], Operations: ['64-57=7', '24-7=17'] Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,76 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[57, 24, 32], Operations: ['96-64=32'] Exploring Operation: 57+24=81, Resulting Numbers: [32, 81] Generated Node #0,0,0: 76:[32, 81] Operation: 57+24=81 Exploring Operation: 57-32=25, Resulting Numbers: [24, 25] Generated Node #0,0,1: 76:[24, 25] Operation: 57-32=25 Exploring Operation: 57-24=33, Resulting Numbers: [32, 33] Generated Node #0,0,2: 76:[32, 33] Operation: 57-24=33 Exploring Operation: 57+32=89, Resulting Numbers: [24, 89] Generated Node #0,0,3: 76:[24, 89] Operation: 57+32=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[32, 81], Operations: ['96-64=32', '57+24=81'] Exploring Operation: 32*81=2592, Resulting Numbers: [2592] 2592,76 unequal: No Solution Exploring Operation: 32+81=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,76 unequal: No Solution No 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: 76:[24, 25], Operations: ['96-64=32', '57-32=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,76 unequal: No Solution No 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: 76:[32, 33], Operations: ['96-64=32', '57-24=33'] Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,76 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,76 unequal: No Solution No 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: 76:[24, 89], Operations: ['96-64=32', '57+32=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,76 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,76 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: 76:[57, 64, 4], Operations: ['96/24=4'] Exploring Operation: 57-4=53, Resulting Numbers: [64, 53] Generated Node #0,2,0: 76:[64, 53] Operation: 57-4=53 Exploring Operation: 64/4=16, Resulting Numbers: [57, 16] Generated Node #0,2,1: 76:[57, 16] Operation: 64/4=16 Exploring Operation: 64-57=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 76:[4, 7] Operation: 64-57=7 Exploring Operation: 57+4=61, Resulting Numbers: [64, 61] Generated Node #0,2,3: 76:[64, 61] Operation: 57+4=61 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[4, 7], Operations: ['96/24=4', '64-57=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution No 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: 76:[57, 16], Operations: ['96/24=4', '64/4=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,76 unequal: No Solution No 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: 76:[64, 53], Operations: ['96/24=4', '57-4=53'] Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,76 unequal: No Solution Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,76 unequal: No Solution No 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: 76:[64, 61], Operations: ['96/24=4', '57+4=61'] Exploring Operation: 64+61=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 64*61=3904, Resulting Numbers: [3904] 3904,76 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
[ 76, 78, 19, 71 ]
45
[ "78-76=2", "19+71=90", "90/2=45" ]
Current State: 45:[76, 78, 19, 71], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [19, 71, 2] Generated Node #2: [19, 71, 2] from Operation: 78-76=2 Current State: 45:[19, 71, 2], Operations: ['78-76=2'] Exploring Operation: 19+71=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 19+71=90 Current State: 45:[2, 90], Operations: ['78-76=2', '19+71=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[76, 78, 19, 71], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [78, 19, 5] Generated Node #0,0: 45:[78, 19, 5] Operation: 76-71=5 Exploring Operation: 78-76=2, Resulting Numbers: [19, 71, 2] Generated Node #0,1: 45:[19, 71, 2] Operation: 78-76=2 Exploring Operation: 78-71=7, Resulting Numbers: [76, 19, 7] Generated Node #0,2: 45:[76, 19, 7] Operation: 78-71=7 Exploring Operation: 76/19=4, Resulting Numbers: [78, 71, 4] Generated Node #0,3: 45:[78, 71, 4] Operation: 76/19=4 Moving to Node #0,1 Current State: 45:[19, 71, 2], Operations: ['78-76=2'] Exploring Operation: 71-19=52, Resulting Numbers: [2, 52] Generated Node #0,1,0: 45:[2, 52] Operation: 71-19=52 Exploring Operation: 71-2=69, Resulting Numbers: [19, 69] Generated Node #0,1,1: 45:[19, 69] Operation: 71-2=69 Exploring Operation: 19-2=17, Resulting Numbers: [71, 17] Generated Node #0,1,2: 45:[71, 17] Operation: 19-2=17 Exploring Operation: 19+2=21, Resulting Numbers: [71, 21] Generated Node #0,1,3: 45:[71, 21] Operation: 19+2=21 Moving to Node #0,2 Current State: 45:[76, 19, 7], Operations: ['78-71=7'] Exploring Operation: 76/19=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 45:[7, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [7, 57] Generated Node #0,2,1: 45:[7, 57] Operation: 76-19=57 Exploring Operation: 76-7=69, Resulting Numbers: [19, 69] Generated Node #0,2,2: 45:[19, 69] Operation: 76-7=69 Exploring Operation: 19-7=12, Resulting Numbers: [76, 12] Generated Node #0,2,3: 45:[76, 12] Operation: 19-7=12 Moving to Node #0,0 Current State: 45:[78, 19, 5], Operations: ['76-71=5'] Exploring Operation: 78-19=59, Resulting Numbers: [5, 59] Generated Node #0,0,0: 45:[5, 59] Operation: 78-19=59 Exploring Operation: 78-5=73, Resulting Numbers: [19, 73] Generated Node #0,0,1: 45:[19, 73] Operation: 78-5=73 Exploring Operation: 19-5=14, Resulting Numbers: [78, 14] Generated Node #0,0,2: 45:[78, 14] Operation: 19-5=14 Exploring Operation: 78+5=83, Resulting Numbers: [19, 83] Generated Node #0,0,3: 45:[19, 83] Operation: 78+5=83 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[5, 59], Operations: ['76-71=5', '78-19=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,45 unequal: No Solution No 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: 45:[19, 73], Operations: ['76-71=5', '78-5=73'] Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 19+73=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 19*73=1387, Resulting Numbers: [1387] 1387,45 unequal: No Solution No 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: 45:[78, 14], Operations: ['76-71=5', '19-5=14'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,45 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,45 unequal: No Solution No 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: 45:[19, 83], Operations: ['76-71=5', '78+5=83'] Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 19*83=1577, Resulting Numbers: [1577] 1577,45 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,45 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: 45:[78, 71, 4], Operations: ['76/19=4'] Exploring Operation: 78+4=82, Resulting Numbers: [71, 82] Generated Node #0,3,0: 45:[71, 82] Operation: 78+4=82 Exploring Operation: 71-4=67, Resulting Numbers: [78, 67] Generated Node #0,3,1: 45:[78, 67] Operation: 71-4=67 Exploring Operation: 78-4=74, Resulting Numbers: [71, 74] Generated Node #0,3,2: 45:[71, 74] Operation: 78-4=74 Exploring Operation: 78-71=7, Resulting Numbers: [4, 7] Generated Node #0,3,3: 45:[4, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[4, 7], Operations: ['76/19=4', '78-71=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,45 unequal: No Solution No 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: 45:[78, 67], Operations: ['76/19=4', '71-4=67'] Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,45 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,45 unequal: No Solution No 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: 45:[71, 74], Operations: ['76/19=4', '78-4=74'] Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,45 unequal: No Solution Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,45 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,45 unequal: No Solution No 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: 45:[71, 82], Operations: ['76/19=4', '78+4=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,45 unequal: No Solution Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 45:[7, 4], Operations: ['78-71=7', '76/19=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[2, 52], Operations: ['78-76=2', '71-19=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[7, 57], Operations: ['78-71=7', '76-19=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,45 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[71, 17], Operations: ['78-76=2', '19-2=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[19, 69], Operations: ['78-71=7', '76-7=69'] Exploring Operation: 19*69=1311, Resulting Numbers: [1311] 1311,45 unequal: No Solution Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[19, 69], Operations: ['78-76=2', '71-2=69'] Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 19*69=1311, Resulting Numbers: [1311] 1311,45 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[71, 21], Operations: ['78-76=2', '19+2=21'] Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,45 unequal: No Solution Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[76, 12], Operations: ['78-71=7', '19-7=12'] Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,45 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,45 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 83, 18, 54, 34 ]
39
[ "83+34=117", "54/18=3", "117/3=39" ]
Current State: 39:[83, 18, 54, 34], Operations: [] Exploring Operation: 83+34=117, Resulting Numbers: [18, 54, 117] Generated Node #2: [18, 54, 117] from Operation: 83+34=117 Current State: 39:[18, 54, 117], Operations: ['83+34=117'] Exploring Operation: 54/18=3, Resulting Numbers: [117, 3] Generated Node #3: [117, 3] from Operation: 54/18=3 Current State: 39:[117, 3], Operations: ['83+34=117', '54/18=3'] Exploring Operation: 117/3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[83, 18, 54, 34], Operations: [] Exploring Operation: 83-18=65, Resulting Numbers: [54, 34, 65] Generated Node #0,0: 39:[54, 34, 65] Operation: 83-18=65 Exploring Operation: 83-54=29, Resulting Numbers: [18, 34, 29] Generated Node #0,1: 39:[18, 34, 29] Operation: 83-54=29 Exploring Operation: 83-34=49, Resulting Numbers: [18, 54, 49] Generated Node #0,2: 39:[18, 54, 49] Operation: 83-34=49 Exploring Operation: 54-18=36, Resulting Numbers: [83, 34, 36] Generated Node #0,3: 39:[83, 34, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [83, 34, 3] Generated Node #0,4: 39:[83, 34, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[18, 34, 29], Operations: ['83-54=29'] Exploring Operation: 34-29=5, Resulting Numbers: [18, 5] Generated Node #0,1,0: 39:[18, 5] Operation: 34-29=5 Exploring Operation: 29-18=11, Resulting Numbers: [34, 11] Generated Node #0,1,1: 39:[34, 11] Operation: 29-18=11 Exploring Operation: 18+34=52, Resulting Numbers: [29, 52] Generated Node #0,1,2: 39:[29, 52] Operation: 18+34=52 Exploring Operation: 18+29=47, Resulting Numbers: [34, 47] Generated Node #0,1,3: 39:[34, 47] Operation: 18+29=47 Exploring Operation: 34-18=16, Resulting Numbers: [29, 16] Generated Node #0,1,4: 39:[29, 16] Operation: 34-18=16 Moving to Node #0,1,0 Current State: 39:[18, 5], Operations: ['83-54=29', '34-29=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[34, 11], Operations: ['83-54=29', '29-18=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,39 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[34, 47], Operations: ['83-54=29', '18+29=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,39 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[29, 16], Operations: ['83-54=29', '34-18=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[29, 52], Operations: ['83-54=29', '18+34=52'] Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[18, 54, 49], Operations: ['83-34=49'] Exploring Operation: 54-49=5, Resulting Numbers: [18, 5] Generated Node #0,2,0: 39:[18, 5] Operation: 54-49=5 Exploring Operation: 18+54=72, Resulting Numbers: [49, 72] Generated Node #0,2,1: 39:[49, 72] Operation: 18+54=72 Exploring Operation: 49-18=31, Resulting Numbers: [54, 31] Generated Node #0,2,2: 39:[54, 31] Operation: 49-18=31 Exploring Operation: 54/18=3, Resulting Numbers: [49, 3] Generated Node #0,2,3: 39:[49, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [49, 36] Generated Node #0,2,4: 39:[49, 36] Operation: 54-18=36 Moving to Node #0,2,0 Current State: 39:[18, 5], Operations: ['83-34=49', '54-49=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[49, 3], Operations: ['83-34=49', '54/18=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[49, 36], Operations: ['83-34=49', '54-18=36'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 49*36=1764, Resulting Numbers: [1764] 1764,39 unequal: No Solution Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[54, 31], Operations: ['83-34=49', '49-18=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,39 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,39 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[49, 72], Operations: ['83-34=49', '18+54=72'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,39 unequal: No Solution Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[54, 34, 65], Operations: ['83-18=65'] Exploring Operation: 65-34=31, Resulting Numbers: [54, 31] Generated Node #0,0,0: 39:[54, 31] Operation: 65-34=31 Exploring Operation: 34+65=99, Resulting Numbers: [54, 99] Generated Node #0,0,1: 39:[54, 99] Operation: 34+65=99 Exploring Operation: 54-34=20, Resulting Numbers: [65, 20] Generated Node #0,0,2: 39:[65, 20] Operation: 54-34=20 Exploring Operation: 65-54=11, Resulting Numbers: [34, 11] Generated Node #0,0,3: 39:[34, 11] Operation: 65-54=11 Exploring Operation: 54+34=88, Resulting Numbers: [65, 88] Generated Node #0,0,4: 39:[65, 88] Operation: 54+34=88 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[34, 11], Operations: ['83-18=65', '65-54=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,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:[54, 31], Operations: ['83-18=65', '65-34=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,39 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,39 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,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,2 Current State: 39:[65, 20], Operations: ['83-18=65', '54-34=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,39 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,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,1 Current State: 39:[54, 99], Operations: ['83-18=65', '34+65=99'] Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,39 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,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,4 Current State: 39:[65, 88], Operations: ['83-18=65', '54+34=88'] Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 65*88=5720, Resulting Numbers: [5720] 5720,39 unequal: No Solution Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,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,4 Current State: 39:[83, 34, 3], Operations: ['54/18=3'] Exploring Operation: 83+3=86, Resulting Numbers: [34, 86] Generated Node #0,4,0: 39:[34, 86] Operation: 83+3=86 Exploring Operation: 83-3=80, Resulting Numbers: [34, 80] Generated Node #0,4,1: 39:[34, 80] Operation: 83-3=80 Exploring Operation: 83-34=49, Resulting Numbers: [3, 49] Generated Node #0,4,2: 39:[3, 49] Operation: 83-34=49 Exploring Operation: 34+3=37, Resulting Numbers: [83, 37] Generated Node #0,4,3: 39:[83, 37] Operation: 34+3=37 Exploring Operation: 34-3=31, Resulting Numbers: [83, 31] Generated Node #0,4,4: 39:[83, 31] Operation: 34-3=31 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 39:[3, 49], Operations: ['54/18=3', '83-34=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,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,4,1 Current State: 39:[34, 80], Operations: ['54/18=3', '83-3=80'] Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,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,4,3 Current State: 39:[83, 37], Operations: ['54/18=3', '34+3=37'] Exploring Operation: 83+37=120, Resulting Numbers: [120] 120,39 unequal: No Solution Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 83*37=3071, Resulting Numbers: [3071] 3071,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,4,0 Current State: 39:[34, 86], Operations: ['54/18=3', '83+3=86'] Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 34*86=2924, Resulting Numbers: [2924] 2924,39 unequal: No Solution Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,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,4,4 Current State: 39:[83, 31], Operations: ['54/18=3', '34-3=31'] Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,39 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,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,3 Current State: 39:[83, 34, 36], Operations: ['54-18=36'] Exploring Operation: 83-36=47, Resulting Numbers: [34, 47] Generated Node #0,3,0: 39:[34, 47] Operation: 83-36=47 Exploring Operation: 83+34=117, Resulting Numbers: [36, 117] Generated Node #0,3,1: 39:[36, 117] Operation: 83+34=117 Exploring Operation: 34+36=70, Resulting Numbers: [83, 70] Generated Node #0,3,2: 39:[83, 70] Operation: 34+36=70 Exploring Operation: 36-34=2, Resulting Numbers: [83, 2] Generated Node #0,3,3: 39:[83, 2] Operation: 36-34=2 Exploring Operation: 83-34=49, Resulting Numbers: [36, 49] Generated Node #0,3,4: 39:[36, 49] Operation: 83-34=49 Moving to Node #0,3,0 Current State: 39:[34, 47], Operations: ['54-18=36', '83-36=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[36, 49], Operations: ['54-18=36', '83-34=49'] Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,39 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[83, 2], Operations: ['54-18=36', '36-34=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,39 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[83, 70], Operations: ['54-18=36', '34+36=70'] Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,39 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,39 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[36, 117], Operations: ['54-18=36', '83+34=117'] Exploring Operation: 36*117=4212, Resulting Numbers: [4212] 4212,39 unequal: No Solution Exploring Operation: 36+117=153, Resulting Numbers: [153] 153,39 unequal: No Solution Exploring Operation: 117-36=81, Resulting Numbers: [81] 81,39 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
[ 3, 17, 26, 77 ]
65
[ "17-3=14", "77-26=51", "14+51=65" ]
Current State: 65:[3, 17, 26, 77], Operations: [] Exploring Operation: 17-3=14, Resulting Numbers: [26, 77, 14] Generated Node #2: [26, 77, 14] from Operation: 17-3=14 Current State: 65:[26, 77, 14], Operations: ['17-3=14'] Exploring Operation: 77-26=51, Resulting Numbers: [14, 51] Generated Node #3: [14, 51] from Operation: 77-26=51 Current State: 65:[14, 51], Operations: ['17-3=14', '77-26=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[3, 17, 26, 77], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [3, 77, 9] Generated Node #0,0: 65:[3, 77, 9] Operation: 26-17=9 Exploring Operation: 77-17=60, Resulting Numbers: [3, 26, 60] Generated Node #0,1: 65:[3, 26, 60] Operation: 77-17=60 Exploring Operation: 77-26=51, Resulting Numbers: [3, 17, 51] Generated Node #0,2: 65:[3, 17, 51] Operation: 77-26=51 Moving to Node #0,0 Current State: 65:[3, 77, 9], Operations: ['26-17=9'] Exploring Operation: 3+9=12, Resulting Numbers: [77, 12] Generated Node #0,0,0: 65:[77, 12] Operation: 3+9=12 Exploring Operation: 77-3=74, Resulting Numbers: [9, 74] Generated Node #0,0,1: 65:[9, 74] Operation: 77-3=74 Exploring Operation: 77-9=68, Resulting Numbers: [3, 68] Generated Node #0,0,2: 65:[3, 68] Operation: 77-9=68 Moving to Node #0,1 Current State: 65:[3, 26, 60], Operations: ['77-17=60'] Exploring Operation: 3+60=63, Resulting Numbers: [26, 63] Generated Node #0,1,0: 65:[26, 63] Operation: 3+60=63 Exploring Operation: 3*26=78, Resulting Numbers: [60, 78] Generated Node #0,1,1: 65:[60, 78] Operation: 3*26=78 Exploring Operation: 26-3=23, Resulting Numbers: [60, 23] Generated Node #0,1,2: 65:[60, 23] Operation: 26-3=23 Moving to Node #0,2 Current State: 65:[3, 17, 51], Operations: ['77-26=51'] Exploring Operation: 51/17=3, Resulting Numbers: [3, 3] Generated Node #0,2,0: 65:[3, 3] Operation: 51/17=3 Exploring Operation: 17+51=68, Resulting Numbers: [3, 68] Generated Node #0,2,1: 65:[3, 68] Operation: 17+51=68 Exploring Operation: 51/3=17, Resulting Numbers: [17, 17] Generated Node #0,2,2: 65:[17, 17] Operation: 51/3=17 Moving to Node #0,2,0 Current State: 65:[3, 3], Operations: ['77-26=51', '51/17=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[3, 68], Operations: ['26-17=9', '77-9=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[3, 17, 26, 77], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [3, 77, 9] Generated Node #0,0: 65:[3, 77, 9] Operation: 26-17=9 Moving to Node #0,0 Current State: 65:[3, 77, 9], Operations: ['26-17=9'] Exploring Operation: 77-9=68, Resulting Numbers: [3, 68] Generated Node #0,0,2: 65:[3, 68] Operation: 77-9=68 Moving to Node #0,0,2 Current State: 65:[3, 68], Operations: ['26-17=9', '77-9=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 66, 12, 72, 30 ]
70
[ "30-12=18", "72/18=4", "66+4=70" ]
Current State: 70:[66, 12, 72, 30], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [66, 72, 18] Generated Node #2: [66, 72, 18] from Operation: 30-12=18 Current State: 70:[66, 72, 18], Operations: ['30-12=18'] Exploring Operation: 72/18=4, Resulting Numbers: [66, 4] Generated Node #3: [66, 4] from Operation: 72/18=4 Current State: 70:[66, 4], Operations: ['30-12=18', '72/18=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[66, 12, 72, 30], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [66, 30, 6] Generated Node #0,0: 70:[66, 30, 6] Operation: 72/12=6 Exploring Operation: 66-30=36, Resulting Numbers: [12, 72, 36] Generated Node #0,1: 70:[12, 72, 36] Operation: 66-30=36 Exploring Operation: 72-66=6, Resulting Numbers: [12, 30, 6] Generated Node #0,2: 70:[12, 30, 6] Operation: 72-66=6 Exploring Operation: 30-12=18, Resulting Numbers: [66, 72, 18] Generated Node #0,3: 70:[66, 72, 18] Operation: 30-12=18 Exploring Operation: 12+30=42, Resulting Numbers: [66, 72, 42] Generated Node #0,4: 70:[66, 72, 42] Operation: 12+30=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[12, 72, 36], Operations: ['66-30=36'] Exploring Operation: 36/12=3, Resulting Numbers: [72, 3] Generated Node #0,1,0: 70:[72, 3] Operation: 36/12=3 Exploring Operation: 72/36=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 70:[12, 2] Operation: 72/36=2 Exploring Operation: 72-12=60, Resulting Numbers: [36, 60] Generated Node #0,1,2: 70:[36, 60] Operation: 72-12=60 Exploring Operation: 72-36=36, Resulting Numbers: [12, 36] Generated Node #0,1,3: 70:[12, 36] Operation: 72-36=36 Exploring Operation: 72/12=6, Resulting Numbers: [36, 6] Generated Node #0,1,4: 70:[36, 6] Operation: 72/12=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[12, 2], Operations: ['66-30=36', '72/36=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,70 unequal: No Solution No 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: 70:[36, 6], Operations: ['66-30=36', '72/12=6'] Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,70 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,70 unequal: No Solution No 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: 70:[72, 3], Operations: ['66-30=36', '36/12=3'] Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,70 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,70 unequal: No Solution No 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: 70:[12, 36], Operations: ['66-30=36', '72-36=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,70 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,70 unequal: No Solution No 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: 70:[36, 60], Operations: ['66-30=36', '72-12=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,70 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,70 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: 70:[12, 30, 6], Operations: ['72-66=6'] Exploring Operation: 30-12=18, Resulting Numbers: [6, 18] Generated Node #0,2,0: 70:[6, 18] Operation: 30-12=18 Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #0,2,1: 70:[12, 5] Operation: 30/6=5 Exploring Operation: 30+6=36, Resulting Numbers: [12, 36] Generated Node #0,2,2: 70:[12, 36] Operation: 30+6=36 Exploring Operation: 12/6=2, Resulting Numbers: [30, 2] Generated Node #0,2,3: 70:[30, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [30, 6] Generated Node #0,2,4: 70:[30, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[12, 5], Operations: ['72-66=6', '30/6=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,70 unequal: No Solution No 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: 70:[12, 36], Operations: ['72-66=6', '30+6=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,70 unequal: No Solution No 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: 70:[6, 18], Operations: ['72-66=6', '30-12=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,70 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,70 unequal: No Solution No 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: 70:[30, 2], Operations: ['72-66=6', '12/6=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,70 unequal: No Solution No 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: 70:[30, 6], Operations: ['72-66=6', '12-6=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,70 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: 70:[66, 30, 6], Operations: ['72/12=6'] Exploring Operation: 66+6=72, Resulting Numbers: [30, 72] Generated Node #0,0,0: 70:[30, 72] Operation: 66+6=72 Exploring Operation: 30+6=36, Resulting Numbers: [66, 36] Generated Node #0,0,1: 70:[66, 36] Operation: 30+6=36 Exploring Operation: 30/6=5, Resulting Numbers: [66, 5] Generated Node #0,0,2: 70:[66, 5] Operation: 30/6=5 Exploring Operation: 66-30=36, Resulting Numbers: [6, 36] Generated Node #0,0,3: 70:[6, 36] Operation: 66-30=36 Exploring Operation: 66/6=11, Resulting Numbers: [30, 11] Generated Node #0,0,4: 70:[30, 11] Operation: 66/6=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[6, 36], Operations: ['72/12=6', '66-30=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,70 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,70 unequal: No Solution No 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: 70:[66, 5], Operations: ['72/12=6', '30/6=5'] Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,70 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,70 unequal: No Solution No 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: 70:[66, 36], Operations: ['72/12=6', '30+6=36'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,70 unequal: No Solution No 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: 70:[30, 11], Operations: ['72/12=6', '66/6=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,70 unequal: No Solution No 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: 70:[30, 72], Operations: ['72/12=6', '66+6=72'] Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,70 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: 70:[66, 72, 18], Operations: ['30-12=18'] Exploring Operation: 72/18=4, Resulting Numbers: [66, 4] Generated Node #0,3,0: 70:[66, 4] Operation: 72/18=4 Exploring Operation: 66-18=48, Resulting Numbers: [72, 48] Generated Node #0,3,1: 70:[72, 48] Operation: 66-18=48 Exploring Operation: 72-18=54, Resulting Numbers: [66, 54] Generated Node #0,3,2: 70:[66, 54] Operation: 72-18=54 Exploring Operation: 72-66=6, Resulting Numbers: [18, 6] Generated Node #0,3,3: 70:[18, 6] Operation: 72-66=6 Exploring Operation: 66+18=84, Resulting Numbers: [72, 84] Generated Node #0,3,4: 70:[72, 84] Operation: 66+18=84 Moving to Node #0,3,0 Current State: 70:[66, 4], Operations: ['30-12=18', '72/18=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[66, 12, 72, 30], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [66, 72, 18] Generated Node #0,3: 70:[66, 72, 18] Operation: 30-12=18 Moving to Node #0,3 Current State: 70:[66, 72, 18], Operations: ['30-12=18'] Exploring Operation: 72/18=4, Resulting Numbers: [66, 4] Generated Node #0,3,0: 70:[66, 4] Operation: 72/18=4 Moving to Node #0,3,0 Current State: 70:[66, 4], Operations: ['30-12=18', '72/18=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.927083
hs_5
sum_heuristic
[ 86, 1, 21, 84 ]
91
[ "86+1=87", "84/21=4", "87+4=91" ]
Current State: 91:[86, 1, 21, 84], Operations: [] Exploring Operation: 86+1=87, Resulting Numbers: [21, 84, 87] Generated Node #2: [21, 84, 87] from Operation: 86+1=87 Current State: 91:[21, 84, 87], Operations: ['86+1=87'] Exploring Operation: 84/21=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 84/21=4 Current State: 91:[87, 4], Operations: ['86+1=87', '84/21=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[86, 1, 21, 84], Operations: [] Exploring Operation: 86+1=87, Resulting Numbers: [21, 84, 87] Generated Node #0,0: 91:[21, 84, 87] Operation: 86+1=87 Exploring Operation: 84/21=4, Resulting Numbers: [86, 1, 4] Generated Node #0,1: 91:[86, 1, 4] Operation: 84/21=4 Moving to Node #0,1 Current State: 91:[86, 1, 4], Operations: ['84/21=4'] Exploring Operation: 86+1=87, Resulting Numbers: [4, 87] Generated Node #0,1,0: 91:[4, 87] Operation: 86+1=87 Exploring Operation: 86+4=90, Resulting Numbers: [1, 90] Generated Node #0,1,1: 91:[1, 90] Operation: 86+4=90 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[4, 87], Operations: ['84/21=4', '86+1=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[86, 1, 21, 84], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [86, 1, 4] Generated Node #0,1: 91:[86, 1, 4] Operation: 84/21=4 Moving to Node #0,1 Current State: 91:[86, 1, 4], Operations: ['84/21=4'] Exploring Operation: 86+1=87, Resulting Numbers: [4, 87] Generated Node #0,1,0: 91:[4, 87] Operation: 86+1=87 Moving to Node #0,1,0 Current State: 91:[4, 87], Operations: ['84/21=4', '86+1=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 38, 13, 43, 52 ]
42
[ "38+13=51", "52-43=9", "51-9=42" ]
Current State: 42:[38, 13, 43, 52], Operations: [] Exploring Operation: 38+13=51, Resulting Numbers: [43, 52, 51] Generated Node #2: [43, 52, 51] from Operation: 38+13=51 Current State: 42:[43, 52, 51], Operations: ['38+13=51'] Exploring Operation: 52-43=9, Resulting Numbers: [51, 9] Generated Node #3: [51, 9] from Operation: 52-43=9 Current State: 42:[51, 9], Operations: ['38+13=51', '52-43=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[38, 13, 43, 52], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [13, 43, 14] Generated Node #0,0: 42:[13, 43, 14] Operation: 52-38=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[13, 43, 14], Operations: ['52-38=14'] Exploring Operation: 14-13=1, Resulting Numbers: [43, 1] Generated Node #0,0,0: 42:[43, 1] Operation: 14-13=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[43, 1], Operations: ['52-38=14', '14-13=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[38, 13, 43, 52], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [13, 43, 14] Generated Node #0,0: 42:[13, 43, 14] Operation: 52-38=14 Moving to Node #0,0 Current State: 42:[13, 43, 14], Operations: ['52-38=14'] Exploring Operation: 14-13=1, Resulting Numbers: [43, 1] Generated Node #0,0,0: 42:[43, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 42:[43, 1], Operations: ['52-38=14', '14-13=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 61, 38, 1, 45 ]
67
[ "61-38=23", "45-1=44", "23+44=67" ]
Current State: 67:[61, 38, 1, 45], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [1, 45, 23] Generated Node #2: [1, 45, 23] from Operation: 61-38=23 Current State: 67:[1, 45, 23], Operations: ['61-38=23'] Exploring Operation: 45-1=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 45-1=44 Current State: 67:[23, 44], Operations: ['61-38=23', '45-1=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[61, 38, 1, 45], Operations: [] Exploring Operation: 38+1=39, Resulting Numbers: [61, 45, 39] Generated Node #0,0: 67:[61, 45, 39] Operation: 38+1=39 Exploring Operation: 61+1=62, Resulting Numbers: [38, 45, 62] Generated Node #0,1: 67:[38, 45, 62] Operation: 61+1=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[61, 45, 39], Operations: ['38+1=39'] Exploring Operation: 61+39=100, Resulting Numbers: [45, 100] Generated Node #0,0,0: 67:[45, 100] Operation: 61+39=100 Exploring Operation: 45+39=84, Resulting Numbers: [61, 84] Generated Node #0,0,1: 67:[61, 84] Operation: 45+39=84 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[61, 84], Operations: ['38+1=39', '45+39=84'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 61+84=145, Resulting Numbers: [145] 145,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[45, 100], Operations: ['38+1=39', '61+39=100'] Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,67 unequal: No Solution Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[38, 45, 62], Operations: ['61+1=62'] Exploring Operation: 38+62=100, Resulting Numbers: [45, 100] Generated Node #0,1,0: 67:[45, 100] Operation: 38+62=100 Exploring Operation: 38+45=83, Resulting Numbers: [62, 83] Generated Node #0,1,1: 67:[62, 83] Operation: 38+45=83 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[62, 83], Operations: ['61+1=62', '38+45=83'] Exploring Operation: 62+83=145, Resulting Numbers: [145] 145,67 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,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:[45, 100], Operations: ['61+1=62', '38+62=100'] Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,67 unequal: No Solution Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 34, 8, 50, 36 ]
92
[ "50-34=16", "8*16=128", "128-36=92" ]
Current State: 92:[34, 8, 50, 36], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [8, 36, 16] Generated Node #2: [8, 36, 16] from Operation: 50-34=16 Current State: 92:[8, 36, 16], Operations: ['50-34=16'] Exploring Operation: 8*16=128, Resulting Numbers: [36, 128] Generated Node #3: [36, 128] from Operation: 8*16=128 Current State: 92:[36, 128], Operations: ['50-34=16', '8*16=128'] Exploring Operation: 128-36=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[34, 8, 50, 36], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [8, 50, 2] Generated Node #0,0: 92:[8, 50, 2] Operation: 36-34=2 Exploring Operation: 34-8=26, Resulting Numbers: [50, 36, 26] Generated Node #0,1: 92:[50, 36, 26] Operation: 34-8=26 Exploring Operation: 8+36=44, Resulting Numbers: [34, 50, 44] Generated Node #0,2: 92:[34, 50, 44] Operation: 8+36=44 Moving to Node #0,0 Current State: 92:[8, 50, 2], Operations: ['36-34=2'] Exploring Operation: 50-8=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 92:[2, 42] Operation: 50-8=42 Exploring Operation: 8/2=4, Resulting Numbers: [50, 4] Generated Node #0,0,1: 92:[50, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [50, 6] Generated Node #0,0,2: 92:[50, 6] Operation: 8-2=6 Moving to Node #0,1 Current State: 92:[50, 36, 26], Operations: ['34-8=26'] Exploring Operation: 50+36=86, Resulting Numbers: [26, 86] Generated Node #0,1,0: 92:[26, 86] Operation: 50+36=86 Exploring Operation: 36-26=10, Resulting Numbers: [50, 10] Generated Node #0,1,1: 92:[50, 10] Operation: 36-26=10 Exploring Operation: 50-26=24, Resulting Numbers: [36, 24] Generated Node #0,1,2: 92:[36, 24] Operation: 50-26=24 Moving to Node #0,2 Current State: 92:[34, 50, 44], Operations: ['8+36=44'] Exploring Operation: 50-34=16, Resulting Numbers: [44, 16] Generated Node #0,2,0: 92:[44, 16] Operation: 50-34=16 Exploring Operation: 44-34=10, Resulting Numbers: [50, 10] Generated Node #0,2,1: 92:[50, 10] Operation: 44-34=10 Exploring Operation: 34+50=84, Resulting Numbers: [44, 84] Generated Node #0,2,2: 92:[44, 84] Operation: 34+50=84 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[44, 16], Operations: ['8+36=44', '50-34=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,92 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[50, 10], Operations: ['8+36=44', '44-34=10'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[44, 84], Operations: ['8+36=44', '34+50=84'] Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,92 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,92 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: 92:[2, 42], Operations: ['36-34=2', '50-8=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[50, 4], Operations: ['36-34=2', '8/2=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,92 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[50, 6], Operations: ['36-34=2', '8-2=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[26, 86], Operations: ['34-8=26', '50+36=86'] Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,92 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[50, 10], Operations: ['34-8=26', '36-26=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[36, 24], Operations: ['34-8=26', '50-26=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,92 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,92 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 23, 97, 47, 46 ]
75
[ "97-23=74", "47-46=1", "74+1=75" ]
Current State: 75:[23, 97, 47, 46], Operations: [] Exploring Operation: 97-23=74, Resulting Numbers: [47, 46, 74] Generated Node #2: [47, 46, 74] from Operation: 97-23=74 Current State: 75:[47, 46, 74], Operations: ['97-23=74'] Exploring Operation: 47-46=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 47-46=1 Current State: 75:[74, 1], Operations: ['97-23=74', '47-46=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[23, 97, 47, 46], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [97, 47, 2] Generated Node #0,0: 75:[97, 47, 2] Operation: 46/23=2 Exploring Operation: 47-23=24, Resulting Numbers: [97, 46, 24] Generated Node #0,1: 75:[97, 46, 24] Operation: 47-23=24 Exploring Operation: 97-23=74, Resulting Numbers: [47, 46, 74] Generated Node #0,2: 75:[47, 46, 74] Operation: 97-23=74 Exploring Operation: 47+46=93, Resulting Numbers: [23, 97, 93] Generated Node #0,3: 75:[23, 97, 93] Operation: 47+46=93 Exploring Operation: 47-46=1, Resulting Numbers: [23, 97, 1] Generated Node #0,4: 75:[23, 97, 1] Operation: 47-46=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[23, 97, 1], Operations: ['47-46=1'] Exploring Operation: 23*1=23, Resulting Numbers: [97, 23] Generated Node #0,4,0: 75:[97, 23] Operation: 23*1=23 Exploring Operation: 97-1=96, Resulting Numbers: [23, 96] Generated Node #0,4,1: 75:[23, 96] Operation: 97-1=96 Exploring Operation: 23/1=23, Resulting Numbers: [97, 23] Generated Node #0,4,2: 75:[97, 23] Operation: 23/1=23 Exploring Operation: 23+1=24, Resulting Numbers: [97, 24] Generated Node #0,4,3: 75:[97, 24] Operation: 23+1=24 Exploring Operation: 97-23=74, Resulting Numbers: [1, 74] Generated Node #0,4,4: 75:[1, 74] Operation: 97-23=74 Moving to Node #0,4,4 Current State: 75:[1, 74], Operations: ['47-46=1', '97-23=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[23, 97, 47, 46], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [23, 97, 1] Generated Node #0,4: 75:[23, 97, 1] Operation: 47-46=1 Moving to Node #0,4 Current State: 75:[23, 97, 1], Operations: ['47-46=1'] Exploring Operation: 97-23=74, Resulting Numbers: [1, 74] Generated Node #0,4,4: 75:[1, 74] Operation: 97-23=74 Moving to Node #0,4,4 Current State: 75:[1, 74], Operations: ['47-46=1', '97-23=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 28, 30, 61, 43 ]
40
[ "28+30=58", "61-43=18", "58-18=40" ]
Current State: 40:[28, 30, 61, 43], Operations: [] Exploring Operation: 28+30=58, Resulting Numbers: [61, 43, 58] Generated Node #2: [61, 43, 58] from Operation: 28+30=58 Current State: 40:[61, 43, 58], Operations: ['28+30=58'] Exploring Operation: 61-43=18, Resulting Numbers: [58, 18] Generated Node #3: [58, 18] from Operation: 61-43=18 Current State: 40:[58, 18], Operations: ['28+30=58', '61-43=18'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[28, 30, 61, 43], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [28, 43, 31] Generated Node #0,0: 40:[28, 43, 31] Operation: 61-30=31 Exploring Operation: 30-28=2, Resulting Numbers: [61, 43, 2] Generated Node #0,1: 40:[61, 43, 2] Operation: 30-28=2 Exploring Operation: 61-43=18, Resulting Numbers: [28, 30, 18] Generated Node #0,2: 40:[28, 30, 18] Operation: 61-43=18 Exploring Operation: 43-30=13, Resulting Numbers: [28, 61, 13] Generated Node #0,3: 40:[28, 61, 13] Operation: 43-30=13 Exploring Operation: 61-28=33, Resulting Numbers: [30, 43, 33] Generated Node #0,4: 40:[30, 43, 33] Operation: 61-28=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[28, 43, 31], Operations: ['61-30=31'] Exploring Operation: 28+43=71, Resulting Numbers: [31, 71] Generated Node #0,0,0: 40:[31, 71] Operation: 28+43=71 Exploring Operation: 43-31=12, Resulting Numbers: [28, 12] Generated Node #0,0,1: 40:[28, 12] Operation: 43-31=12 Exploring Operation: 31-28=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 40:[43, 3] Operation: 31-28=3 Exploring Operation: 28+31=59, Resulting Numbers: [43, 59] Generated Node #0,0,3: 40:[43, 59] Operation: 28+31=59 Exploring Operation: 43-28=15, Resulting Numbers: [31, 15] Generated Node #0,0,4: 40:[31, 15] Operation: 43-28=15 Moving to Node #0,0,2 Current State: 40:[43, 3], Operations: ['61-30=31', '31-28=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[28, 30, 61, 43], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [28, 43, 31] Generated Node #0,0: 40:[28, 43, 31] Operation: 61-30=31 Moving to Node #0,0 Current State: 40:[28, 43, 31], Operations: ['61-30=31'] Exploring Operation: 31-28=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 40:[43, 3] Operation: 31-28=3 Moving to Node #0,0,2 Current State: 40:[43, 3], Operations: ['61-30=31', '31-28=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 60, 8, 13, 90 ]
94
[ "60-8=52", "52/13=4", "90+4=94" ]
Current State: 94:[60, 8, 13, 90], Operations: [] Exploring Operation: 60-8=52, Resulting Numbers: [13, 90, 52] Generated Node #2: [13, 90, 52] from Operation: 60-8=52 Current State: 94:[13, 90, 52], Operations: ['60-8=52'] Exploring Operation: 52/13=4, Resulting Numbers: [90, 4] Generated Node #3: [90, 4] from Operation: 52/13=4 Current State: 94:[90, 4], Operations: ['60-8=52', '52/13=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[60, 8, 13, 90], Operations: [] Exploring Operation: 8*13=104, Resulting Numbers: [60, 90, 104] Generated Node #0,0: 94:[60, 90, 104] Operation: 8*13=104 Exploring Operation: 60-8=52, Resulting Numbers: [13, 90, 52] Generated Node #0,1: 94:[13, 90, 52] Operation: 60-8=52 Exploring Operation: 13-8=5, Resulting Numbers: [60, 90, 5] Generated Node #0,2: 94:[60, 90, 5] Operation: 13-8=5 Exploring Operation: 60-13=47, Resulting Numbers: [8, 90, 47] Generated Node #0,3: 94:[8, 90, 47] Operation: 60-13=47 Moving to Node #0,3 Current State: 94:[8, 90, 47], Operations: ['60-13=47'] Exploring Operation: 90-47=43, Resulting Numbers: [8, 43] Generated Node #0,3,0: 94:[8, 43] Operation: 90-47=43 Exploring Operation: 90-8=82, Resulting Numbers: [47, 82] Generated Node #0,3,1: 94:[47, 82] Operation: 90-8=82 Exploring Operation: 8+90=98, Resulting Numbers: [47, 98] Generated Node #0,3,2: 94:[47, 98] Operation: 8+90=98 Exploring Operation: 8+47=55, Resulting Numbers: [90, 55] Generated Node #0,3,3: 94:[90, 55] Operation: 8+47=55 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[47, 98], Operations: ['60-13=47', '8+90=98'] Exploring Operation: 47+98=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 47*98=4606, Resulting Numbers: [4606] 4606,94 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,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, 43], Operations: ['60-13=47', '90-47=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,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:[47, 82], Operations: ['60-13=47', '90-8=82'] Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 47*82=3854, Resulting Numbers: [3854] 3854,94 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,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:[90, 55], Operations: ['60-13=47', '8+47=55'] Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,94 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,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:[60, 90, 5], Operations: ['13-8=5'] Exploring Operation: 60/5=12, Resulting Numbers: [90, 12] Generated Node #0,2,0: 94:[90, 12] Operation: 60/5=12 Exploring Operation: 90-60=30, Resulting Numbers: [5, 30] Generated Node #0,2,1: 94:[5, 30] Operation: 90-60=30 Exploring Operation: 90+5=95, Resulting Numbers: [60, 95] Generated Node #0,2,2: 94:[60, 95] Operation: 90+5=95 Exploring Operation: 60-5=55, Resulting Numbers: [90, 55] Generated Node #0,2,3: 94:[90, 55] Operation: 60-5=55 Moving to Node #0,1 Current State: 94:[13, 90, 52], Operations: ['60-8=52'] Exploring Operation: 52/13=4, Resulting Numbers: [90, 4] Generated Node #0,1,0: 94:[90, 4] Operation: 52/13=4 Exploring Operation: 13+90=103, Resulting Numbers: [52, 103] Generated Node #0,1,1: 94:[52, 103] Operation: 13+90=103 Exploring Operation: 90-52=38, Resulting Numbers: [13, 38] Generated Node #0,1,2: 94:[13, 38] Operation: 90-52=38 Exploring Operation: 52-13=39, Resulting Numbers: [90, 39] Generated Node #0,1,3: 94:[90, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[90, 4], Operations: ['60-8=52', '52/13=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[60, 8, 13, 90], Operations: [] Exploring Operation: 60-8=52, Resulting Numbers: [13, 90, 52] Generated Node #0,1: 94:[13, 90, 52] Operation: 60-8=52 Moving to Node #0,1 Current State: 94:[13, 90, 52], Operations: ['60-8=52'] Exploring Operation: 52/13=4, Resulting Numbers: [90, 4] Generated Node #0,1,0: 94:[90, 4] Operation: 52/13=4 Moving to Node #0,1,0 Current State: 94:[90, 4], Operations: ['60-8=52', '52/13=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 81, 46, 80, 15 ]
62
[ "81+46=127", "80-15=65", "127-65=62" ]
Current State: 62:[81, 46, 80, 15], Operations: [] Exploring Operation: 81+46=127, Resulting Numbers: [80, 15, 127] Generated Node #2: [80, 15, 127] from Operation: 81+46=127 Current State: 62:[80, 15, 127], Operations: ['81+46=127'] Exploring Operation: 80-15=65, Resulting Numbers: [127, 65] Generated Node #3: [127, 65] from Operation: 80-15=65 Current State: 62:[127, 65], Operations: ['81+46=127', '80-15=65'] Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[81, 46, 80, 15], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [81, 15, 34] Generated Node #0,0: 62:[81, 15, 34] Operation: 80-46=34 Exploring Operation: 81-46=35, Resulting Numbers: [80, 15, 35] Generated Node #0,1: 62:[80, 15, 35] Operation: 81-46=35 Exploring Operation: 81-80=1, Resulting Numbers: [46, 15, 1] Generated Node #0,2: 62:[46, 15, 1] Operation: 81-80=1 Moving to Node #0,2 Current State: 62:[46, 15, 1], Operations: ['81-80=1'] Exploring Operation: 46-15=31, Resulting Numbers: [1, 31] Generated Node #0,2,0: 62:[1, 31] Operation: 46-15=31 Exploring Operation: 46+15=61, Resulting Numbers: [1, 61] Generated Node #0,2,1: 62:[1, 61] Operation: 46+15=61 Exploring Operation: 46-1=45, Resulting Numbers: [15, 45] Generated Node #0,2,2: 62:[15, 45] Operation: 46-1=45 Moving to Node #0,0 Current State: 62:[81, 15, 34], Operations: ['80-46=34'] Exploring Operation: 34-15=19, Resulting Numbers: [81, 19] Generated Node #0,0,0: 62:[81, 19] Operation: 34-15=19 Exploring Operation: 81-34=47, Resulting Numbers: [15, 47] Generated Node #0,0,1: 62:[15, 47] Operation: 81-34=47 Exploring Operation: 81-15=66, Resulting Numbers: [34, 66] Generated Node #0,0,2: 62:[34, 66] Operation: 81-15=66 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[34, 66], Operations: ['80-46=34', '81-15=66'] Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,62 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[15, 47], Operations: ['80-46=34', '81-34=47'] Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,62 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[81, 46, 80, 15], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [81, 15, 34] Generated Node #0,0: 62:[81, 15, 34] Operation: 80-46=34 Moving to Node #0,0 Current State: 62:[81, 15, 34], Operations: ['80-46=34'] Exploring Operation: 81-34=47, Resulting Numbers: [15, 47] Generated Node #0,0,1: 62:[15, 47] Operation: 81-34=47 Moving to Node #0,0,1 Current State: 62:[15, 47], Operations: ['80-46=34', '81-34=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 60, 31, 38, 4 ]
63
[ "60-31=29", "38-4=34", "29+34=63" ]
Current State: 63:[60, 31, 38, 4], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [38, 4, 29] Generated Node #2: [38, 4, 29] from Operation: 60-31=29 Current State: 63:[38, 4, 29], Operations: ['60-31=29'] Exploring Operation: 38-4=34, Resulting Numbers: [29, 34] Generated Node #3: [29, 34] from Operation: 38-4=34 Current State: 63:[29, 34], Operations: ['60-31=29', '38-4=34'] Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[60, 31, 38, 4], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [38, 4, 29] Generated Node #0,0: 63:[38, 4, 29] Operation: 60-31=29 Exploring Operation: 31+38=69, Resulting Numbers: [60, 4, 69] Generated Node #0,1: 63:[60, 4, 69] Operation: 31+38=69 Exploring Operation: 38-31=7, Resulting Numbers: [60, 4, 7] Generated Node #0,2: 63:[60, 4, 7] Operation: 38-31=7 Exploring Operation: 60-38=22, Resulting Numbers: [31, 4, 22] Generated Node #0,3: 63:[31, 4, 22] Operation: 60-38=22 Exploring Operation: 31-4=27, Resulting Numbers: [60, 38, 27] Generated Node #0,4: 63:[60, 38, 27] Operation: 31-4=27 Moving to Node #0,2 Current State: 63:[60, 4, 7], Operations: ['38-31=7'] Exploring Operation: 60/4=15, Resulting Numbers: [7, 15] Generated Node #0,2,0: 63:[7, 15] Operation: 60/4=15 Exploring Operation: 7-4=3, Resulting Numbers: [60, 3] Generated Node #0,2,1: 63:[60, 3] Operation: 7-4=3 Exploring Operation: 60+4=64, Resulting Numbers: [7, 64] Generated Node #0,2,2: 63:[7, 64] Operation: 60+4=64 Exploring Operation: 60+7=67, Resulting Numbers: [4, 67] Generated Node #0,2,3: 63:[4, 67] Operation: 60+7=67 Exploring Operation: 4+7=11, Resulting Numbers: [60, 11] Generated Node #0,2,4: 63:[60, 11] Operation: 4+7=11 Moving to Node #0,1 Current State: 63:[60, 4, 69], Operations: ['31+38=69'] Exploring Operation: 69-4=65, Resulting Numbers: [60, 65] Generated Node #0,1,0: 63:[60, 65] Operation: 69-4=65 Exploring Operation: 69-60=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 63:[4, 9] Operation: 69-60=9 Exploring Operation: 60/4=15, Resulting Numbers: [69, 15] Generated Node #0,1,2: 63:[69, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [69, 56] Generated Node #0,1,3: 63:[69, 56] Operation: 60-4=56 Exploring Operation: 60+4=64, Resulting Numbers: [69, 64] Generated Node #0,1,4: 63:[69, 64] Operation: 60+4=64 Moving to Node #0,3 Current State: 63:[31, 4, 22], Operations: ['60-38=22'] Exploring Operation: 31-22=9, Resulting Numbers: [4, 9] Generated Node #0,3,0: 63:[4, 9] Operation: 31-22=9 Exploring Operation: 31+4=35, Resulting Numbers: [22, 35] Generated Node #0,3,1: 63:[22, 35] Operation: 31+4=35 Exploring Operation: 22-4=18, Resulting Numbers: [31, 18] Generated Node #0,3,2: 63:[31, 18] Operation: 22-4=18 Exploring Operation: 31+22=53, Resulting Numbers: [4, 53] Generated Node #0,3,3: 63:[4, 53] Operation: 31+22=53 Exploring Operation: 31-4=27, Resulting Numbers: [22, 27] Generated Node #0,3,4: 63:[22, 27] Operation: 31-4=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[4, 9], Operations: ['60-38=22', '31-22=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,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,3,4 Current State: 63:[22, 27], Operations: ['60-38=22', '31-4=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,63 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,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,3,3 Current State: 63:[4, 53], Operations: ['60-38=22', '31+22=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,63 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,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,3,2 Current State: 63:[31, 18], Operations: ['60-38=22', '22-4=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,63 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,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,3,1 Current State: 63:[22, 35], Operations: ['60-38=22', '31+4=35'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,63 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,63 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: 63:[38, 4, 29], Operations: ['60-31=29'] Exploring Operation: 38+4=42, Resulting Numbers: [29, 42] Generated Node #0,0,0: 63:[29, 42] Operation: 38+4=42 Exploring Operation: 38-4=34, Resulting Numbers: [29, 34] Generated Node #0,0,1: 63:[29, 34] Operation: 38-4=34 Exploring Operation: 38-29=9, Resulting Numbers: [4, 9] Generated Node #0,0,2: 63:[4, 9] Operation: 38-29=9 Exploring Operation: 38+29=67, Resulting Numbers: [4, 67] Generated Node #0,0,3: 63:[4, 67] Operation: 38+29=67 Exploring Operation: 29-4=25, Resulting Numbers: [38, 25] Generated Node #0,0,4: 63:[38, 25] Operation: 29-4=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[4, 9], Operations: ['60-31=29', '38-29=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[4, 67], Operations: ['60-31=29', '38+29=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,63 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[60, 31, 38, 4], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [38, 4, 29] Generated Node #0,0: 63:[38, 4, 29] Operation: 60-31=29 Moving to Node #0,0 Current State: 63:[38, 4, 29], Operations: ['60-31=29'] Exploring Operation: 38+29=67, Resulting Numbers: [4, 67] Generated Node #0,0,3: 63:[4, 67] Operation: 38+29=67 Moving to Node #0,0,3 Current State: 63:[4, 67], Operations: ['60-31=29', '38+29=67'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_5
sum_heuristic
[ 45, 9, 50, 11 ]
55
[ "11-9=2", "50*2=100", "100-45=55" ]
Current State: 55:[45, 9, 50, 11], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [45, 50, 2] Generated Node #2: [45, 50, 2] from Operation: 11-9=2 Current State: 55:[45, 50, 2], Operations: ['11-9=2'] Exploring Operation: 50*2=100, Resulting Numbers: [45, 100] Generated Node #3: [45, 100] from Operation: 50*2=100 Current State: 55:[45, 100], Operations: ['11-9=2', '50*2=100'] Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[45, 9, 50, 11], Operations: [] Exploring Operation: 45+11=56, Resulting Numbers: [9, 50, 56] Generated Node #0,0: 55:[9, 50, 56] Operation: 45+11=56 Exploring Operation: 45/9=5, Resulting Numbers: [50, 11, 5] Generated Node #0,1: 55:[50, 11, 5] Operation: 45/9=5 Exploring Operation: 9+50=59, Resulting Numbers: [45, 11, 59] Generated Node #0,2: 55:[45, 11, 59] Operation: 9+50=59 Exploring Operation: 45+9=54, Resulting Numbers: [50, 11, 54] Generated Node #0,3: 55:[50, 11, 54] Operation: 45+9=54 Exploring Operation: 50-45=5, Resulting Numbers: [9, 11, 5] Generated Node #0,4: 55:[9, 11, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[9, 11, 5], Operations: ['50-45=5'] Exploring Operation: 11-9=2, Resulting Numbers: [5, 2] Generated Node #0,4,0: 55:[5, 2] Operation: 11-9=2 Exploring Operation: 11-5=6, Resulting Numbers: [9, 6] Generated Node #0,4,1: 55:[9, 6] Operation: 11-5=6 Exploring Operation: 9+5=14, Resulting Numbers: [11, 14] Generated Node #0,4,2: 55:[11, 14] Operation: 9+5=14 Exploring Operation: 11*5=55, Resulting Numbers: [9, 55] Generated Node #0,4,3: 55:[9, 55] Operation: 11*5=55 Exploring Operation: 9-5=4, Resulting Numbers: [11, 4] Generated Node #0,4,4: 55:[11, 4] Operation: 9-5=4 Moving to Node #0,4,4 Current State: 55:[11, 4], Operations: ['50-45=5', '9-5=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[9, 55], Operations: ['50-45=5', '11*5=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,55 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[5, 2], Operations: ['50-45=5', '11-9=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[9, 6], Operations: ['50-45=5', '11-5=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[11, 14], Operations: ['50-45=5', '9+5=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,55 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,55 unequal: No Solution No 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: 55:[50, 11, 5], Operations: ['45/9=5'] Exploring Operation: 11-5=6, Resulting Numbers: [50, 6] Generated Node #0,1,0: 55:[50, 6] Operation: 11-5=6 Exploring Operation: 50+11=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 55:[5, 61] Operation: 50+11=61 Exploring Operation: 50+5=55, Resulting Numbers: [11, 55] Generated Node #0,1,2: 55:[11, 55] Operation: 50+5=55 Exploring Operation: 50/5=10, Resulting Numbers: [11, 10] Generated Node #0,1,3: 55:[11, 10] Operation: 50/5=10 Exploring Operation: 11*5=55, Resulting Numbers: [50, 55] Generated Node #0,1,4: 55:[50, 55] Operation: 11*5=55 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[11, 55], Operations: ['45/9=5', '50+5=55'] Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,55 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,55 unequal: No Solution No 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: 55:[11, 10], Operations: ['45/9=5', '50/5=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,55 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,55 unequal: No Solution No 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: 55:[50, 55], Operations: ['45/9=5', '11*5=55'] Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,55 unequal: No Solution Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,55 unequal: No Solution Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,55 unequal: No Solution No 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: 55:[50, 6], Operations: ['45/9=5', '11-5=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,55 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,55 unequal: No Solution No 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: 55:[5, 61], Operations: ['45/9=5', '50+11=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,55 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,55 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: 55:[50, 11, 54], Operations: ['45+9=54'] Exploring Operation: 50+11=61, Resulting Numbers: [54, 61] Generated Node #0,3,0: 55:[54, 61] Operation: 50+11=61 Exploring Operation: 50-11=39, Resulting Numbers: [54, 39] Generated Node #0,3,1: 55:[54, 39] Operation: 50-11=39 Exploring Operation: 54-11=43, Resulting Numbers: [50, 43] Generated Node #0,3,2: 55:[50, 43] Operation: 54-11=43 Exploring Operation: 11+54=65, Resulting Numbers: [50, 65] Generated Node #0,3,3: 55:[50, 65] Operation: 11+54=65 Exploring Operation: 54-50=4, Resulting Numbers: [11, 4] Generated Node #0,3,4: 55:[11, 4] Operation: 54-50=4 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 55:[11, 4], Operations: ['45+9=54', '54-50=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,55 unequal: No Solution No 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: 55:[54, 61], Operations: ['45+9=54', '50+11=61'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,55 unequal: No Solution No 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: 55:[50, 65], Operations: ['45+9=54', '11+54=65'] Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,55 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,55 unequal: No Solution No 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: 55:[54, 39], Operations: ['45+9=54', '50-11=39'] Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,55 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,55 unequal: No Solution No 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: 55:[50, 43], Operations: ['45+9=54', '54-11=43'] Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,55 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,55 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: 55:[9, 50, 56], Operations: ['45+11=56'] Exploring Operation: 50-9=41, Resulting Numbers: [56, 41] Generated Node #0,0,0: 55:[56, 41] Operation: 50-9=41 Exploring Operation: 56-50=6, Resulting Numbers: [9, 6] Generated Node #0,0,1: 55:[9, 6] Operation: 56-50=6 Exploring Operation: 56-9=47, Resulting Numbers: [50, 47] Generated Node #0,0,2: 55:[50, 47] Operation: 56-9=47 Exploring Operation: 9+56=65, Resulting Numbers: [50, 65] Generated Node #0,0,3: 55:[50, 65] Operation: 9+56=65 Exploring Operation: 9+50=59, Resulting Numbers: [56, 59] Generated Node #0,0,4: 55:[56, 59] Operation: 9+50=59 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[9, 6], Operations: ['45+11=56', '56-50=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,55 unequal: No Solution No 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: 55:[56, 59], Operations: ['45+11=56', '9+50=59'] Exploring Operation: 56*59=3304, Resulting Numbers: [3304] 3304,55 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,55 unequal: No Solution No 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: 55:[50, 47], Operations: ['45+11=56', '56-9=47'] Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,55 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,55 unequal: No Solution No 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: 55:[56, 41], Operations: ['45+11=56', '50-9=41'] Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,55 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,55 unequal: No Solution No 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: 55:[50, 65], Operations: ['45+11=56', '9+56=65'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,55 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: 55:[45, 11, 59], Operations: ['9+50=59'] Exploring Operation: 45+11=56, Resulting Numbers: [59, 56] Generated Node #0,2,0: 55:[59, 56] Operation: 45+11=56 Exploring Operation: 45-11=34, Resulting Numbers: [59, 34] Generated Node #0,2,1: 55:[59, 34] Operation: 45-11=34 Exploring Operation: 11+59=70, Resulting Numbers: [45, 70] Generated Node #0,2,2: 55:[45, 70] Operation: 11+59=70 Exploring Operation: 59-11=48, Resulting Numbers: [45, 48] Generated Node #0,2,3: 55:[45, 48] Operation: 59-11=48 Exploring Operation: 59-45=14, Resulting Numbers: [11, 14] Generated Node #0,2,4: 55:[11, 14] Operation: 59-45=14 Moving to Node #0,2,4 Current State: 55:[11, 14], Operations: ['9+50=59', '59-45=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,55 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[59, 56], Operations: ['9+50=59', '45+11=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[45, 48], Operations: ['9+50=59', '59-11=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,55 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[59, 34], Operations: ['9+50=59', '45-11=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,55 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[45, 70], Operations: ['9+50=59', '11+59=70'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,55 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
[ 81, 9, 27, 91 ]
79
[ "81+27=108", "108/9=12", "91-12=79" ]
Current State: 79:[81, 9, 27, 91], Operations: [] Exploring Operation: 81+27=108, Resulting Numbers: [9, 91, 108] Generated Node #2: [9, 91, 108] from Operation: 81+27=108 Current State: 79:[9, 91, 108], Operations: ['81+27=108'] Exploring Operation: 108/9=12, Resulting Numbers: [91, 12] Generated Node #3: [91, 12] from Operation: 108/9=12 Current State: 79:[91, 12], Operations: ['81+27=108', '108/9=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[81, 9, 27, 91], Operations: [] Exploring Operation: 9+27=36, Resulting Numbers: [81, 91, 36] Generated Node #0,0: 79:[81, 91, 36] Operation: 9+27=36 Moving to Node #0,0 Current State: 79:[81, 91, 36], Operations: ['9+27=36'] Exploring Operation: 91-36=55, Resulting Numbers: [81, 55] Generated Node #0,0,0: 79:[81, 55] Operation: 91-36=55 Moving to Node #0,0,0 Current State: 79:[81, 55], Operations: ['9+27=36', '91-36=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,79 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 75, 1, 24, 5 ]
81
[ "5-1=4", "24/4=6", "75+6=81" ]
Current State: 81:[75, 1, 24, 5], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [75, 24, 4] Generated Node #2: [75, 24, 4] from Operation: 5-1=4 Current State: 81:[75, 24, 4], Operations: ['5-1=4'] Exploring Operation: 24/4=6, Resulting Numbers: [75, 6] Generated Node #3: [75, 6] from Operation: 24/4=6 Current State: 81:[75, 6], Operations: ['5-1=4', '24/4=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[75, 1, 24, 5], Operations: [] Exploring Operation: 75+5=80, Resulting Numbers: [1, 24, 80] Generated Node #0,0: 81:[1, 24, 80] Operation: 75+5=80 Exploring Operation: 75+1=76, Resulting Numbers: [24, 5, 76] Generated Node #0,1: 81:[24, 5, 76] Operation: 75+1=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[1, 24, 80], Operations: ['75+5=80'] Exploring Operation: 1+24=25, Resulting Numbers: [80, 25] Generated Node #0,0,0: 81:[80, 25] Operation: 1+24=25 Exploring Operation: 1+80=81, Resulting Numbers: [24, 81] Generated Node #0,0,1: 81:[24, 81] Operation: 1+80=81 Moving to Node #0,0,0 Current State: 81:[80, 25], Operations: ['75+5=80', '1+24=25'] Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[24, 81], Operations: ['75+5=80', '1+80=81'] Exploring Operation: 24+81=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,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:[24, 5, 76], Operations: ['75+1=76'] Exploring Operation: 24+5=29, Resulting Numbers: [76, 29] Generated Node #0,1,0: 81:[76, 29] Operation: 24+5=29 Exploring Operation: 5+76=81, Resulting Numbers: [24, 81] Generated Node #0,1,1: 81:[24, 81] Operation: 5+76=81 Moving to Node #0,1,1 Current State: 81:[24, 81], Operations: ['75+1=76', '5+76=81'] Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 24+81=105, Resulting Numbers: [105] 105,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[76, 29], Operations: ['75+1=76', '24+5=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 74, 67, 47 ]
97
[ "43+74=117", "67-47=20", "117-20=97" ]
Current State: 97:[43, 74, 67, 47], Operations: [] Exploring Operation: 43+74=117, Resulting Numbers: [67, 47, 117] Generated Node #2: [67, 47, 117] from Operation: 43+74=117 Current State: 97:[67, 47, 117], Operations: ['43+74=117'] Exploring Operation: 67-47=20, Resulting Numbers: [117, 20] Generated Node #3: [117, 20] from Operation: 67-47=20 Current State: 97:[117, 20], Operations: ['43+74=117', '67-47=20'] Exploring Operation: 117-20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[43, 74, 67, 47], Operations: [] Exploring Operation: 43+67=110, Resulting Numbers: [74, 47, 110] Generated Node #0,0: 97:[74, 47, 110] Operation: 43+67=110 Exploring Operation: 67+47=114, Resulting Numbers: [43, 74, 114] Generated Node #0,1: 97:[43, 74, 114] Operation: 67+47=114 Exploring Operation: 43+47=90, Resulting Numbers: [74, 67, 90] Generated Node #0,2: 97:[74, 67, 90] Operation: 43+47=90 Moving to Node #0,2 Current State: 97:[74, 67, 90], Operations: ['43+47=90'] Exploring Operation: 74-67=7, Resulting Numbers: [90, 7] Generated Node #0,2,0: 97:[90, 7] Operation: 74-67=7 Exploring Operation: 67+90=157, Resulting Numbers: [74, 157] Generated Node #0,2,1: 97:[74, 157] Operation: 67+90=157 Exploring Operation: 74+67=141, Resulting Numbers: [90, 141] Generated Node #0,2,2: 97:[90, 141] Operation: 74+67=141 Moving to Node #0,0 Current State: 97:[74, 47, 110], Operations: ['43+67=110'] Exploring Operation: 74-47=27, Resulting Numbers: [110, 27] Generated Node #0,0,0: 97:[110, 27] Operation: 74-47=27 Exploring Operation: 74+47=121, Resulting Numbers: [110, 121] Generated Node #0,0,1: 97:[110, 121] Operation: 74+47=121 Exploring Operation: 110-47=63, Resulting Numbers: [74, 63] Generated Node #0,0,2: 97:[74, 63] Operation: 110-47=63 Moving to Node #0,1 Current State: 97:[43, 74, 114], Operations: ['67+47=114'] Exploring Operation: 114-43=71, Resulting Numbers: [74, 71] Generated Node #0,1,0: 97:[74, 71] Operation: 114-43=71 Exploring Operation: 74-43=31, Resulting Numbers: [114, 31] Generated Node #0,1,1: 97:[114, 31] Operation: 74-43=31 Exploring Operation: 43+74=117, Resulting Numbers: [114, 117] Generated Node #0,1,2: 97:[114, 117] Operation: 43+74=117 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[114, 117], Operations: ['67+47=114', '43+74=117'] Exploring Operation: 114*117=13338, Resulting Numbers: [13338] 13338,97 unequal: No Solution Exploring Operation: 117-114=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 114+117=231, Resulting Numbers: [231] 231,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[74, 71], Operations: ['67+47=114', '114-43=71'] Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 74*71=5254, Resulting Numbers: [5254] 5254,97 unequal: No Solution Exploring Operation: 74+71=145, Resulting Numbers: [145] 145,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[114, 31], Operations: ['67+47=114', '74-43=31'] Exploring Operation: 114*31=3534, Resulting Numbers: [3534] 3534,97 unequal: No Solution Exploring Operation: 114-31=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 114+31=145, Resulting Numbers: [145] 145,97 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: 97:[110, 121], Operations: ['43+67=110', '74+47=121'] Exploring Operation: 110+121=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 110*121=13310, Resulting Numbers: [13310] 13310,97 unequal: No Solution Exploring Operation: 121-110=11, Resulting Numbers: [11] 11,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[90, 141], Operations: ['43+47=90', '74+67=141'] Exploring Operation: 90*141=12690, Resulting Numbers: [12690] 12690,97 unequal: No Solution Exploring Operation: 141-90=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 90+141=231, Resulting Numbers: [231] 231,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[74, 63], Operations: ['43+67=110', '110-47=63'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,97 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[110, 27], Operations: ['43+67=110', '74-47=27'] Exploring Operation: 110+27=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 110*27=2970, Resulting Numbers: [2970] 2970,97 unequal: No Solution Exploring Operation: 110-27=83, Resulting Numbers: [83] 83,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[74, 157], Operations: ['43+47=90', '67+90=157'] Exploring Operation: 157-74=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 74*157=11618, Resulting Numbers: [11618] 11618,97 unequal: No Solution Exploring Operation: 74+157=231, Resulting Numbers: [231] 231,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[90, 7], Operations: ['43+47=90', '74-67=7'] Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,97 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[43, 74, 67, 47], Operations: [] Exploring Operation: 43+47=90, Resulting Numbers: [74, 67, 90] Generated Node #0,2: 97:[74, 67, 90] Operation: 43+47=90 Moving to Node #0,2 Current State: 97:[74, 67, 90], Operations: ['43+47=90'] Exploring Operation: 74-67=7, Resulting Numbers: [90, 7] Generated Node #0,2,0: 97:[90, 7] Operation: 74-67=7 Moving to Node #0,2,0 Current State: 97:[90, 7], Operations: ['43+47=90', '74-67=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 12, 88, 82, 96 ]
18
[ "12+96=108", "88-82=6", "108/6=18" ]
Current State: 18:[12, 88, 82, 96], Operations: [] Exploring Operation: 12+96=108, Resulting Numbers: [88, 82, 108] Generated Node #2: [88, 82, 108] from Operation: 12+96=108 Current State: 18:[88, 82, 108], Operations: ['12+96=108'] Exploring Operation: 88-82=6, Resulting Numbers: [108, 6] Generated Node #3: [108, 6] from Operation: 88-82=6 Current State: 18:[108, 6], Operations: ['12+96=108', '88-82=6'] Exploring Operation: 108/6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[12, 88, 82, 96], Operations: [] Exploring Operation: 96-82=14, Resulting Numbers: [12, 88, 14] Generated Node #0,0: 18:[12, 88, 14] Operation: 96-82=14 Exploring Operation: 88-82=6, Resulting Numbers: [12, 96, 6] Generated Node #0,1: 18:[12, 96, 6] Operation: 88-82=6 Exploring Operation: 96/12=8, Resulting Numbers: [88, 82, 8] Generated Node #0,2: 18:[88, 82, 8] Operation: 96/12=8 Exploring Operation: 96-88=8, Resulting Numbers: [12, 82, 8] Generated Node #0,3: 18:[12, 82, 8] Operation: 96-88=8 Moving to Node #0,3 Current State: 18:[12, 82, 8], Operations: ['96-88=8'] Exploring Operation: 82-12=70, Resulting Numbers: [8, 70] Generated Node #0,3,0: 18:[8, 70] Operation: 82-12=70 Exploring Operation: 12-8=4, Resulting Numbers: [82, 4] Generated Node #0,3,1: 18:[82, 4] Operation: 12-8=4 Exploring Operation: 12+8=20, Resulting Numbers: [82, 20] Generated Node #0,3,2: 18:[82, 20] Operation: 12+8=20 Exploring Operation: 82-8=74, Resulting Numbers: [12, 74] Generated Node #0,3,3: 18:[12, 74] Operation: 82-8=74 Moving to Node #0,0 Current State: 18:[12, 88, 14], Operations: ['96-82=14'] Exploring Operation: 88-14=74, Resulting Numbers: [12, 74] Generated Node #0,0,0: 18:[12, 74] Operation: 88-14=74 Exploring Operation: 88-12=76, Resulting Numbers: [14, 76] Generated Node #0,0,1: 18:[14, 76] Operation: 88-12=76 Exploring Operation: 12+14=26, Resulting Numbers: [88, 26] Generated Node #0,0,2: 18:[88, 26] Operation: 12+14=26 Exploring Operation: 14-12=2, Resulting Numbers: [88, 2] Generated Node #0,0,3: 18:[88, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[12, 74], Operations: ['96-82=14', '88-14=74'] Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,18 unequal: No Solution Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,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, 76], Operations: ['96-82=14', '88-12=76'] Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 14*76=1064, Resulting Numbers: [1064] 1064,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[88, 2], Operations: ['96-82=14', '14-12=2'] Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,18 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,18 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,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,2 Current State: 18:[88, 26], Operations: ['96-82=14', '12+14=26'] Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,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:[12, 96, 6], Operations: ['88-82=6'] Exploring Operation: 96/6=16, Resulting Numbers: [12, 16] Generated Node #0,1,0: 18:[12, 16] Operation: 96/6=16 Exploring Operation: 96-6=90, Resulting Numbers: [12, 90] Generated Node #0,1,1: 18:[12, 90] Operation: 96-6=90 Exploring Operation: 96-12=84, Resulting Numbers: [6, 84] Generated Node #0,1,2: 18:[6, 84] Operation: 96-12=84 Exploring Operation: 96/12=8, Resulting Numbers: [6, 8] Generated Node #0,1,3: 18:[6, 8] Operation: 96/12=8 Moving to Node #0,2 Current State: 18:[88, 82, 8], Operations: ['96/12=8'] Exploring Operation: 82-8=74, Resulting Numbers: [88, 74] Generated Node #0,2,0: 18:[88, 74] Operation: 82-8=74 Exploring Operation: 88-82=6, Resulting Numbers: [8, 6] Generated Node #0,2,1: 18:[8, 6] Operation: 88-82=6 Exploring Operation: 88/8=11, Resulting Numbers: [82, 11] Generated Node #0,2,2: 18:[82, 11] Operation: 88/8=11 Exploring Operation: 88-8=80, Resulting Numbers: [82, 80] Generated Node #0,2,3: 18:[82, 80] Operation: 88-8=80 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[8, 6], Operations: ['96/12=8', '88-82=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[82, 11], Operations: ['96/12=8', '88/8=11'] Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,18 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[88, 74], Operations: ['96/12=8', '82-8=74'] Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 88+74=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 88*74=6512, Resulting Numbers: [6512] 6512,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[82, 80], Operations: ['96/12=8', '88-8=80'] Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 82*80=6560, Resulting Numbers: [6560] 6560,18 unequal: No Solution Exploring Operation: 82+80=162, Resulting Numbers: [162] 162,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 18:[6, 8], Operations: ['88-82=6', '96/12=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[12, 16], Operations: ['88-82=6', '96/6=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,18 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[8, 70], Operations: ['96-88=8', '82-12=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,18 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[12, 74], Operations: ['96-88=8', '82-8=74'] Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,18 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[82, 4], Operations: ['96-88=8', '12-8=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,18 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[6, 84], Operations: ['88-82=6', '96-12=84'] Exploring Operation: 6*84=504, Resulting Numbers: [504] 504,18 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[82, 20], Operations: ['96-88=8', '12+8=20'] Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,18 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[12, 90], Operations: ['88-82=6', '96-6=90'] Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,18 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 94, 16, 78 ]
37
[ "5+94=99", "78-16=62", "99-62=37" ]
Current State: 37:[5, 94, 16, 78], Operations: [] Exploring Operation: 5+94=99, Resulting Numbers: [16, 78, 99] Generated Node #2: [16, 78, 99] from Operation: 5+94=99 Current State: 37:[16, 78, 99], Operations: ['5+94=99'] Exploring Operation: 78-16=62, Resulting Numbers: [99, 62] Generated Node #3: [99, 62] from Operation: 78-16=62 Current State: 37:[99, 62], Operations: ['5+94=99', '78-16=62'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 94, 16, 78], Operations: [] Exploring Operation: 5+16=21, Resulting Numbers: [94, 78, 21] Generated Node #0,0: 37:[94, 78, 21] Operation: 5+16=21 Exploring Operation: 94-5=89, Resulting Numbers: [16, 78, 89] Generated Node #0,1: 37:[16, 78, 89] Operation: 94-5=89 Exploring Operation: 94-78=16, Resulting Numbers: [5, 16, 16] Generated Node #0,2: 37:[5, 16, 16] Operation: 94-78=16 Exploring Operation: 78-5=73, Resulting Numbers: [94, 16, 73] Generated Node #0,3: 37:[94, 16, 73] Operation: 78-5=73 Moving to Node #0,2 Current State: 37:[5, 16, 16], Operations: ['94-78=16'] Exploring Operation: 5+16=21, Resulting Numbers: [16, 21] Generated Node #0,2,0: 37:[16, 21] Operation: 5+16=21 Exploring Operation: 5+16=21, Resulting Numbers: [16, 21] Generated Node #0,2,1: 37:[16, 21] Operation: 5+16=21 Exploring Operation: 16+16=32, Resulting Numbers: [5, 32] Generated Node #0,2,2: 37:[5, 32] Operation: 16+16=32 Exploring Operation: 16-5=11, Resulting Numbers: [16, 11] Generated Node #0,2,3: 37:[16, 11] Operation: 16-5=11 Moving to Node #0,1 Current State: 37:[16, 78, 89], Operations: ['94-5=89'] Exploring Operation: 16+78=94, Resulting Numbers: [89, 94] Generated Node #0,1,0: 37:[89, 94] Operation: 16+78=94 Exploring Operation: 89-78=11, Resulting Numbers: [16, 11] Generated Node #0,1,1: 37:[16, 11] Operation: 89-78=11 Exploring Operation: 89-16=73, Resulting Numbers: [78, 73] Generated Node #0,1,2: 37:[78, 73] Operation: 89-16=73 Exploring Operation: 78-16=62, Resulting Numbers: [89, 62] Generated Node #0,1,3: 37:[89, 62] Operation: 78-16=62 Moving to Node #0,0 Current State: 37:[94, 78, 21], Operations: ['5+16=21'] Exploring Operation: 78-21=57, Resulting Numbers: [94, 57] Generated Node #0,0,0: 37:[94, 57] Operation: 78-21=57 Exploring Operation: 94-78=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 37:[21, 16] Operation: 94-78=16 Exploring Operation: 94-21=73, Resulting Numbers: [78, 73] Generated Node #0,0,2: 37:[78, 73] Operation: 94-21=73 Exploring Operation: 94+21=115, Resulting Numbers: [78, 115] Generated Node #0,0,3: 37:[78, 115] Operation: 94+21=115 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[21, 16], Operations: ['5+16=21', '94-78=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,37 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[5, 94, 16, 78], Operations: [] Exploring Operation: 5+16=21, Resulting Numbers: [94, 78, 21] Generated Node #0,0: 37:[94, 78, 21] Operation: 5+16=21 Moving to Node #0,0 Current State: 37:[94, 78, 21], Operations: ['5+16=21'] Exploring Operation: 94-78=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 37:[21, 16] Operation: 94-78=16 Moving to Node #0,0,1 Current State: 37:[21, 16], Operations: ['5+16=21', '94-78=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 33, 60, 30, 60 ]
33
[ "60-60=0", "30*0=0", "33+0=33" ]
Current State: 33:[33, 60, 30, 60], Operations: [] Exploring Operation: 60-60=0, Resulting Numbers: [33, 30, 0] Generated Node #2: [33, 30, 0] from Operation: 60-60=0 Current State: 33:[33, 30, 0], Operations: ['60-60=0'] Exploring Operation: 30*0=0, Resulting Numbers: [33, 0] Generated Node #3: [33, 0] from Operation: 30*0=0 Current State: 33:[33, 0], Operations: ['60-60=0', '30*0=0'] Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[33, 60, 30, 60], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [33, 30, 1] Generated Node #0,0: 33:[33, 30, 1] Operation: 60/60=1 Exploring Operation: 60/30=2, Resulting Numbers: [33, 60, 2] Generated Node #0,1: 33:[33, 60, 2] Operation: 60/30=2 Exploring Operation: 60-60=0, Resulting Numbers: [33, 30, 0] Generated Node #0,2: 33:[33, 30, 0] Operation: 60-60=0 Moving to Node #0,0 Current State: 33:[33, 30, 1], Operations: ['60/60=1'] Exploring Operation: 33*1=33, Resulting Numbers: [30, 33] Generated Node #0,0,0: 33:[30, 33] Operation: 33*1=33 Exploring Operation: 30+1=31, Resulting Numbers: [33, 31] Generated Node #0,0,1: 33:[33, 31] Operation: 30+1=31 Exploring Operation: 33-30=3, Resulting Numbers: [1, 3] Generated Node #0,0,2: 33:[1, 3] Operation: 33-30=3 Moving to Node #0,2 Current State: 33:[33, 30, 0], Operations: ['60-60=0'] Exploring Operation: 33-0=33, Resulting Numbers: [30, 33] Generated Node #0,2,0: 33:[30, 33] Operation: 33-0=33 Exploring Operation: 33+0=33, Resulting Numbers: [30, 33] Generated Node #0,2,1: 33:[30, 33] Operation: 33+0=33 Exploring Operation: 33-30=3, Resulting Numbers: [0, 3] Generated Node #0,2,2: 33:[0, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[30, 33], Operations: ['60-60=0', '33-0=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,33 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[30, 33], Operations: ['60-60=0', '33+0=33'] Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[0, 3], Operations: ['60-60=0', '33-30=3'] Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,33 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: 33:[33, 60, 2], Operations: ['60/30=2'] Exploring Operation: 60/2=30, Resulting Numbers: [33, 30] Generated Node #0,1,0: 33:[33, 30] Operation: 60/2=30 Exploring Operation: 60-2=58, Resulting Numbers: [33, 58] Generated Node #0,1,1: 33:[33, 58] Operation: 60-2=58 Exploring Operation: 60-33=27, Resulting Numbers: [2, 27] Generated Node #0,1,2: 33:[2, 27] Operation: 60-33=27 Moving to Node #0,0,1 Current State: 33:[33, 31], Operations: ['60/60=1', '30+1=31'] Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,33 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[1, 3], Operations: ['60/60=1', '33-30=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[30, 33], Operations: ['60/60=1', '33*1=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[33, 30], Operations: ['60/30=2', '60/2=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,33 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[2, 27], Operations: ['60/30=2', '60-33=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[33, 58], Operations: ['60/30=2', '60-2=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,33 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,33 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 72, 70, 76 ]
28
[ "72-50=22", "76-70=6", "22+6=28" ]
Current State: 28:[50, 72, 70, 76], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [70, 76, 22] Generated Node #2: [70, 76, 22] from Operation: 72-50=22 Current State: 28:[70, 76, 22], Operations: ['72-50=22'] Exploring Operation: 76-70=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 76-70=6 Current State: 28:[22, 6], Operations: ['72-50=22', '76-70=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[50, 72, 70, 76], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [50, 70, 4] Generated Node #0,0: 28:[50, 70, 4] Operation: 76-72=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[50, 70, 4], Operations: ['76-72=4'] Exploring Operation: 70-50=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 28:[4, 20] Operation: 70-50=20 Moving to Node #0,0,0 Current State: 28:[4, 20], Operations: ['76-72=4', '70-50=20'] Exploring Operation: 20/4=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
sum_heuristic
[ 16, 48, 93, 57 ]
68
[ "48-16=32", "93-57=36", "32+36=68" ]
Current State: 68:[16, 48, 93, 57], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [93, 57, 32] Generated Node #2: [93, 57, 32] from Operation: 48-16=32 Current State: 68:[93, 57, 32], Operations: ['48-16=32'] Exploring Operation: 93-57=36, Resulting Numbers: [32, 36] Generated Node #3: [32, 36] from Operation: 93-57=36 Current State: 68:[32, 36], Operations: ['48-16=32', '93-57=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[16, 48, 93, 57], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [16, 57, 45] Generated Node #0,0: 68:[16, 57, 45] Operation: 93-48=45 Exploring Operation: 48/16=3, Resulting Numbers: [93, 57, 3] Generated Node #0,1: 68:[93, 57, 3] Operation: 48/16=3 Exploring Operation: 57-48=9, Resulting Numbers: [16, 93, 9] Generated Node #0,2: 68:[16, 93, 9] Operation: 57-48=9 Exploring Operation: 93-16=77, Resulting Numbers: [48, 57, 77] Generated Node #0,3: 68:[48, 57, 77] Operation: 93-16=77 Exploring Operation: 93-57=36, Resulting Numbers: [16, 48, 36] Generated Node #0,4: 68:[16, 48, 36] Operation: 93-57=36 Moving to Node #0,4 Current State: 68:[16, 48, 36], Operations: ['93-57=36'] Exploring Operation: 36-16=20, Resulting Numbers: [48, 20] Generated Node #0,4,0: 68:[48, 20] Operation: 36-16=20 Exploring Operation: 48-36=12, Resulting Numbers: [16, 12] Generated Node #0,4,1: 68:[16, 12] Operation: 48-36=12 Exploring Operation: 48/16=3, Resulting Numbers: [36, 3] Generated Node #0,4,2: 68:[36, 3] Operation: 48/16=3 Exploring Operation: 16+48=64, Resulting Numbers: [36, 64] Generated Node #0,4,3: 68:[36, 64] Operation: 16+48=64 Exploring Operation: 48-16=32, Resulting Numbers: [36, 32] Generated Node #0,4,4: 68:[36, 32] Operation: 48-16=32 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 68:[36, 3], Operations: ['93-57=36', '48/16=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,68 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,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,4,4 Current State: 68:[36, 32], Operations: ['93-57=36', '48-16=32'] Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[16, 48, 93, 57], Operations: [] Exploring Operation: 93-57=36, Resulting Numbers: [16, 48, 36] Generated Node #0,4: 68:[16, 48, 36] Operation: 93-57=36 Moving to Node #0,4 Current State: 68:[16, 48, 36], Operations: ['93-57=36'] Exploring Operation: 48-16=32, Resulting Numbers: [36, 32] Generated Node #0,4,4: 68:[36, 32] Operation: 48-16=32 Moving to Node #0,4,4 Current State: 68:[36, 32], Operations: ['93-57=36', '48-16=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 98, 2, 73, 48 ]
46
[ "98-73=25", "48-25=23", "2*23=46" ]
Current State: 46:[98, 2, 73, 48], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [2, 48, 25] Generated Node #2: [2, 48, 25] from Operation: 98-73=25 Current State: 46:[2, 48, 25], Operations: ['98-73=25'] Exploring Operation: 48-25=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 48-25=23 Current State: 46:[2, 23], Operations: ['98-73=25', '48-25=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[98, 2, 73, 48], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [73, 48, 49] Generated Node #0,0: 46:[73, 48, 49] Operation: 98/2=49 Exploring Operation: 98-73=25, Resulting Numbers: [2, 48, 25] Generated Node #0,1: 46:[2, 48, 25] Operation: 98-73=25 Exploring Operation: 98-48=50, Resulting Numbers: [2, 73, 50] Generated Node #0,2: 46:[2, 73, 50] Operation: 98-48=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[2, 48, 25], Operations: ['98-73=25'] Exploring Operation: 25-2=23, Resulting Numbers: [48, 23] Generated Node #0,1,0: 46:[48, 23] Operation: 25-2=23 Exploring Operation: 48-25=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 46:[2, 23] Operation: 48-25=23 Exploring Operation: 48-2=46, Resulting Numbers: [25, 46] Generated Node #0,1,2: 46:[25, 46] Operation: 48-2=46 Moving to Node #0,1,1 Current State: 46:[2, 23], Operations: ['98-73=25', '48-25=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[98, 2, 73, 48], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [2, 48, 25] Generated Node #0,1: 46:[2, 48, 25] Operation: 98-73=25 Moving to Node #0,1 Current State: 46:[2, 48, 25], Operations: ['98-73=25'] Exploring Operation: 48-25=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 46:[2, 23] Operation: 48-25=23 Moving to Node #0,1,1 Current State: 46:[2, 23], Operations: ['98-73=25', '48-25=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 37, 48, 99, 98 ]
89
[ "48-37=11", "99/11=9", "98-9=89" ]
Current State: 89:[37, 48, 99, 98], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [99, 98, 11] Generated Node #2: [99, 98, 11] from Operation: 48-37=11 Current State: 89:[99, 98, 11], Operations: ['48-37=11'] Exploring Operation: 99/11=9, Resulting Numbers: [98, 9] Generated Node #3: [98, 9] from Operation: 99/11=9 Current State: 89:[98, 9], Operations: ['48-37=11', '99/11=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[37, 48, 99, 98], Operations: [] Exploring Operation: 37+48=85, Resulting Numbers: [99, 98, 85] Generated Node #0,0: 89:[99, 98, 85] Operation: 37+48=85 Exploring Operation: 99-37=62, Resulting Numbers: [48, 98, 62] Generated Node #0,1: 89:[48, 98, 62] Operation: 99-37=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[99, 98, 85], Operations: ['37+48=85'] Exploring Operation: 98-85=13, Resulting Numbers: [99, 13] Generated Node #0,0,0: 89:[99, 13] Operation: 98-85=13 Exploring Operation: 99-85=14, Resulting Numbers: [98, 14] Generated Node #0,0,1: 89:[98, 14] Operation: 99-85=14 Moving to Node #0,0,1 Current State: 89:[98, 14], Operations: ['37+48=85', '99-85=14'] Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[99, 13], Operations: ['37+48=85', '98-85=13'] Exploring Operation: 99+13=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[48, 98, 62], Operations: ['99-37=62'] Exploring Operation: 48+62=110, Resulting Numbers: [98, 110] Generated Node #0,1,0: 89:[98, 110] Operation: 48+62=110 Exploring Operation: 98-48=50, Resulting Numbers: [62, 50] Generated Node #0,1,1: 89:[62, 50] Operation: 98-48=50 Moving to Node #0,1,0 Current State: 89:[98, 110], Operations: ['99-37=62', '48+62=110'] Exploring Operation: 110-98=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 98+110=208, Resulting Numbers: [208] 208,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[62, 50], Operations: ['99-37=62', '98-48=50'] Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,89 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
[ 61, 28, 2, 85 ]
93
[ "61+28=89", "2*89=178", "178-85=93" ]
Current State: 93:[61, 28, 2, 85], Operations: [] Exploring Operation: 61+28=89, Resulting Numbers: [2, 85, 89] Generated Node #2: [2, 85, 89] from Operation: 61+28=89 Current State: 93:[2, 85, 89], Operations: ['61+28=89'] Exploring Operation: 2*89=178, Resulting Numbers: [85, 178] Generated Node #3: [85, 178] from Operation: 2*89=178 Current State: 93:[85, 178], Operations: ['61+28=89', '2*89=178'] Exploring Operation: 178-85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[61, 28, 2, 85], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [28, 2, 24] Generated Node #0,0: 93:[28, 2, 24] Operation: 85-61=24 Exploring Operation: 61+28=89, Resulting Numbers: [2, 85, 89] Generated Node #0,1: 93:[2, 85, 89] Operation: 61+28=89 Exploring Operation: 61-28=33, Resulting Numbers: [2, 85, 33] Generated Node #0,2: 93:[2, 85, 33] Operation: 61-28=33 Moving to Node #0,0 Current State: 93:[28, 2, 24], Operations: ['85-61=24'] Exploring Operation: 28-24=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 93:[2, 4] Operation: 28-24=4 Exploring Operation: 28+2=30, Resulting Numbers: [24, 30] Generated Node #0,0,1: 93:[24, 30] Operation: 28+2=30 Exploring Operation: 2+24=26, Resulting Numbers: [28, 26] Generated Node #0,0,2: 93:[28, 26] Operation: 2+24=26 Moving to Node #0,2 Current State: 93:[2, 85, 33], Operations: ['61-28=33'] Exploring Operation: 2+85=87, Resulting Numbers: [33, 87] Generated Node #0,2,0: 93:[33, 87] Operation: 2+85=87 Exploring Operation: 85-2=83, Resulting Numbers: [33, 83] Generated Node #0,2,1: 93:[33, 83] Operation: 85-2=83 Exploring Operation: 33-2=31, Resulting Numbers: [85, 31] Generated Node #0,2,2: 93:[85, 31] Operation: 33-2=31 Moving to Node #0,1 Current State: 93:[2, 85, 89], Operations: ['61+28=89'] Exploring Operation: 2+89=91, Resulting Numbers: [85, 91] Generated Node #0,1,0: 93:[85, 91] Operation: 2+89=91 Exploring Operation: 2+85=87, Resulting Numbers: [89, 87] Generated Node #0,1,1: 93:[89, 87] Operation: 2+85=87 Exploring Operation: 89-85=4, Resulting Numbers: [2, 4] Generated Node #0,1,2: 93:[2, 4] Operation: 89-85=4 Moving to Node #0,0,0 Current State: 93:[2, 4], Operations: ['85-61=24', '28-24=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[2, 4], Operations: ['61+28=89', '89-85=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[28, 26], Operations: ['85-61=24', '2+24=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,93 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[24, 30], Operations: ['85-61=24', '28+2=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,93 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[85, 31], Operations: ['61-28=33', '33-2=31'] Exploring Operation: 85+31=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 85*31=2635, Resulting Numbers: [2635] 2635,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[33, 87], Operations: ['61-28=33', '2+85=87'] Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,93 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[89, 87], Operations: ['61+28=89', '2+85=87'] Exploring Operation: 89*87=7743, Resulting Numbers: [7743] 7743,93 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[85, 91], Operations: ['61+28=89', '2+89=91'] Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,93 unequal: No Solution Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[33, 83], Operations: ['61-28=33', '85-2=83'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,93 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 40, 75, 28, 45 ]
43
[ "45-40=5", "75/5=15", "28+15=43" ]
Current State: 43:[40, 75, 28, 45], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [75, 28, 5] Generated Node #2: [75, 28, 5] from Operation: 45-40=5 Current State: 43:[75, 28, 5], Operations: ['45-40=5'] Exploring Operation: 75/5=15, Resulting Numbers: [28, 15] Generated Node #3: [28, 15] from Operation: 75/5=15 Current State: 43:[28, 15], Operations: ['45-40=5', '75/5=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[40, 75, 28, 45], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [40, 45, 47] Generated Node #0,0: 43:[40, 45, 47] Operation: 75-28=47 Exploring Operation: 75-40=35, Resulting Numbers: [28, 45, 35] Generated Node #0,1: 43:[28, 45, 35] Operation: 75-40=35 Moving to Node #0,0 Current State: 43:[40, 45, 47], Operations: ['75-28=47'] Exploring Operation: 47-40=7, Resulting Numbers: [45, 7] Generated Node #0,0,0: 43:[45, 7] Operation: 47-40=7 Exploring Operation: 45-40=5, Resulting Numbers: [47, 5] Generated Node #0,0,1: 43:[47, 5] Operation: 45-40=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[45, 7], Operations: ['75-28=47', '47-40=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[47, 5], Operations: ['75-28=47', '45-40=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,43 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: 43:[28, 45, 35], Operations: ['75-40=35'] Exploring Operation: 45-28=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 43:[35, 17] Operation: 45-28=17 Exploring Operation: 28+35=63, Resulting Numbers: [45, 63] Generated Node #0,1,1: 43:[45, 63] Operation: 28+35=63 Moving to Node #0,1,1 Current State: 43:[45, 63], Operations: ['75-40=35', '28+35=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[35, 17], Operations: ['75-40=35', '45-28=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 26, 62, 24, 69 ]
100
[ "26-24=2", "62/2=31", "69+31=100" ]
Current State: 100:[26, 62, 24, 69], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [62, 69, 2] Generated Node #2: [62, 69, 2] from Operation: 26-24=2 Current State: 100:[62, 69, 2], Operations: ['26-24=2'] Exploring Operation: 62/2=31, Resulting Numbers: [69, 31] Generated Node #3: [69, 31] from Operation: 62/2=31 Current State: 100:[69, 31], Operations: ['26-24=2', '62/2=31'] Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[26, 62, 24, 69], Operations: [] Exploring Operation: 26+69=95, Resulting Numbers: [62, 24, 95] Generated Node #0,0: 100:[62, 24, 95] Operation: 26+69=95 Exploring Operation: 69-24=45, Resulting Numbers: [26, 62, 45] Generated Node #0,1: 100:[26, 62, 45] Operation: 69-24=45 Exploring Operation: 69-26=43, Resulting Numbers: [62, 24, 43] Generated Node #0,2: 100:[62, 24, 43] Operation: 69-26=43 Exploring Operation: 24+69=93, Resulting Numbers: [26, 62, 93] Generated Node #0,3: 100:[26, 62, 93] Operation: 24+69=93 Exploring Operation: 69-62=7, Resulting Numbers: [26, 24, 7] Generated Node #0,4: 100:[26, 24, 7] Operation: 69-62=7 Moving to Node #0,4 Current State: 100:[26, 24, 7], Operations: ['69-62=7'] Exploring Operation: 26-7=19, Resulting Numbers: [24, 19] Generated Node #0,4,0: 100:[24, 19] Operation: 26-7=19 Exploring Operation: 26-24=2, Resulting Numbers: [7, 2] Generated Node #0,4,1: 100:[7, 2] Operation: 26-24=2 Exploring Operation: 24+7=31, Resulting Numbers: [26, 31] Generated Node #0,4,2: 100:[26, 31] Operation: 24+7=31 Exploring Operation: 26+24=50, Resulting Numbers: [7, 50] Generated Node #0,4,3: 100:[7, 50] Operation: 26+24=50 Exploring Operation: 24-7=17, Resulting Numbers: [26, 17] Generated Node #0,4,4: 100:[26, 17] Operation: 24-7=17 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 100:[24, 19], Operations: ['69-62=7', '26-7=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,100 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,100 unequal: No Solution No 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: 100:[7, 2], Operations: ['69-62=7', '26-24=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,100 unequal: No Solution No 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: 100:[7, 50], Operations: ['69-62=7', '26+24=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,100 unequal: No Solution No 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: 100:[26, 17], Operations: ['69-62=7', '24-7=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,100 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,100 unequal: No Solution No 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: 100:[26, 31], Operations: ['69-62=7', '24+7=31'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,100 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,100 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: 100:[26, 62, 45], Operations: ['69-24=45'] Exploring Operation: 62-26=36, Resulting Numbers: [45, 36] Generated Node #0,1,0: 100:[45, 36] Operation: 62-26=36 Exploring Operation: 26+62=88, Resulting Numbers: [45, 88] Generated Node #0,1,1: 100:[45, 88] Operation: 26+62=88 Exploring Operation: 62-45=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 100:[26, 17] Operation: 62-45=17 Exploring Operation: 45-26=19, Resulting Numbers: [62, 19] Generated Node #0,1,3: 100:[62, 19] Operation: 45-26=19 Exploring Operation: 62+45=107, Resulting Numbers: [26, 107] Generated Node #0,1,4: 100:[26, 107] Operation: 62+45=107 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[26, 17], Operations: ['69-24=45', '62-45=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,100 unequal: No Solution No 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: 100:[26, 107], Operations: ['69-24=45', '62+45=107'] Exploring Operation: 26*107=2782, Resulting Numbers: [2782] 2782,100 unequal: No Solution Exploring Operation: 26+107=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 107-26=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[62, 19], Operations: ['69-24=45', '45-26=19'] Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,100 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[45, 36], Operations: ['69-24=45', '62-26=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,100 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[45, 88], Operations: ['69-24=45', '26+62=88'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,100 unequal: No Solution Exploring Operation: 45+88=133, Resulting Numbers: [133] 133,100 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: 100:[62, 24, 95], Operations: ['26+69=95'] Exploring Operation: 95-62=33, Resulting Numbers: [24, 33] Generated Node #0,0,0: 100:[24, 33] Operation: 95-62=33 Exploring Operation: 62+24=86, Resulting Numbers: [95, 86] Generated Node #0,0,1: 100:[95, 86] Operation: 62+24=86 Exploring Operation: 24+95=119, Resulting Numbers: [62, 119] Generated Node #0,0,2: 100:[62, 119] Operation: 24+95=119 Exploring Operation: 62-24=38, Resulting Numbers: [95, 38] Generated Node #0,0,3: 100:[95, 38] Operation: 62-24=38 Exploring Operation: 95-24=71, Resulting Numbers: [62, 71] Generated Node #0,0,4: 100:[62, 71] Operation: 95-24=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[24, 33], Operations: ['26+69=95', '95-62=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,100 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,100 unequal: No Solution No 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: 100:[95, 38], Operations: ['26+69=95', '62-24=38'] Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,100 unequal: No Solution Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,100 unequal: No Solution No 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: 100:[95, 86], Operations: ['26+69=95', '62+24=86'] Exploring Operation: 95*86=8170, Resulting Numbers: [8170] 8170,100 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,100 unequal: No Solution No 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: 100:[62, 119], Operations: ['26+69=95', '24+95=119'] Exploring Operation: 62*119=7378, Resulting Numbers: [7378] 7378,100 unequal: No Solution Exploring Operation: 119-62=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 62+119=181, Resulting Numbers: [181] 181,100 unequal: No Solution No 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: 100:[62, 71], Operations: ['26+69=95', '95-24=71'] Exploring Operation: 62+71=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 62*71=4402, Resulting Numbers: [4402] 4402,100 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: 100:[62, 24, 43], Operations: ['69-26=43'] Exploring Operation: 62+43=105, Resulting Numbers: [24, 105] Generated Node #0,2,0: 100:[24, 105] Operation: 62+43=105 Exploring Operation: 62+24=86, Resulting Numbers: [43, 86] Generated Node #0,2,1: 100:[43, 86] Operation: 62+24=86 Exploring Operation: 43-24=19, Resulting Numbers: [62, 19] Generated Node #0,2,2: 100:[62, 19] Operation: 43-24=19 Exploring Operation: 62-43=19, Resulting Numbers: [24, 19] Generated Node #0,2,3: 100:[24, 19] Operation: 62-43=19 Exploring Operation: 62-24=38, Resulting Numbers: [43, 38] Generated Node #0,2,4: 100:[43, 38] Operation: 62-24=38 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[24, 19], Operations: ['69-26=43', '62-43=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,100 unequal: No Solution No 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: 100:[24, 105], Operations: ['69-26=43', '62+43=105'] Exploring Operation: 105-24=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 24*105=2520, Resulting Numbers: [2520] 2520,100 unequal: No Solution Exploring Operation: 24+105=129, Resulting Numbers: [129] 129,100 unequal: No Solution No 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: 100:[62, 19], Operations: ['69-26=43', '43-24=19'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,100 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[43, 38], Operations: ['69-26=43', '62-24=38'] Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,100 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[43, 86], Operations: ['69-26=43', '62+24=86'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,100 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,100 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: 100:[26, 62, 93], Operations: ['24+69=93'] Exploring Operation: 93-62=31, Resulting Numbers: [26, 31] Generated Node #0,3,0: 100:[26, 31] Operation: 93-62=31 Exploring Operation: 93-26=67, Resulting Numbers: [62, 67] Generated Node #0,3,1: 100:[62, 67] Operation: 93-26=67 Exploring Operation: 26+93=119, Resulting Numbers: [62, 119] Generated Node #0,3,2: 100:[62, 119] Operation: 26+93=119 Exploring Operation: 26+62=88, Resulting Numbers: [93, 88] Generated Node #0,3,3: 100:[93, 88] Operation: 26+62=88 Exploring Operation: 62-26=36, Resulting Numbers: [93, 36] Generated Node #0,3,4: 100:[93, 36] Operation: 62-26=36 Moving to Node #0,3,0 Current State: 100:[26, 31], Operations: ['24+69=93', '93-62=31'] Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,100 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[93, 36], Operations: ['24+69=93', '62-26=36'] Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,100 unequal: No Solution Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,100 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[93, 88], Operations: ['24+69=93', '26+62=88'] Exploring Operation: 93*88=8184, Resulting Numbers: [8184] 8184,100 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 93+88=181, Resulting Numbers: [181] 181,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[62, 67], Operations: ['24+69=93', '93-26=67'] Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,100 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[62, 119], Operations: ['24+69=93', '26+93=119'] Exploring Operation: 62+119=181, Resulting Numbers: [181] 181,100 unequal: No Solution Exploring Operation: 119-62=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 62*119=7378, Resulting Numbers: [7378] 7378,100 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 58, 85, 69, 44 ]
81
[ "69-58=11", "44/11=4", "85-4=81" ]
Current State: 81:[58, 85, 69, 44], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [85, 44, 11] Generated Node #2: [85, 44, 11] from Operation: 69-58=11 Current State: 81:[85, 44, 11], Operations: ['69-58=11'] Exploring Operation: 44/11=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 44/11=4 Current State: 81:[85, 4], Operations: ['69-58=11', '44/11=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[58, 85, 69, 44], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [85, 69, 14] Generated Node #0,0: 81:[85, 69, 14] Operation: 58-44=14 Exploring Operation: 69-58=11, Resulting Numbers: [85, 44, 11] Generated Node #0,1: 81:[85, 44, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[85, 69, 14], Operations: ['58-44=14'] Exploring Operation: 69+14=83, Resulting Numbers: [85, 83] Generated Node #0,0,0: 81:[85, 83] Operation: 69+14=83 Exploring Operation: 85-69=16, Resulting Numbers: [14, 16] Generated Node #0,0,1: 81:[14, 16] Operation: 85-69=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[85, 83], Operations: ['58-44=14', '69+14=83'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[14, 16], Operations: ['58-44=14', '85-69=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,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,1 Current State: 81:[85, 44, 11], Operations: ['69-58=11'] Exploring Operation: 44/11=4, Resulting Numbers: [85, 4] Generated Node #0,1,0: 81:[85, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [85, 33] Generated Node #0,1,1: 81:[85, 33] Operation: 44-11=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[85, 4], Operations: ['69-58=11', '44/11=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[58, 85, 69, 44], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [85, 44, 11] Generated Node #0,1: 81:[85, 44, 11] Operation: 69-58=11 Moving to Node #0,1 Current State: 81:[85, 44, 11], Operations: ['69-58=11'] Exploring Operation: 44/11=4, Resulting Numbers: [85, 4] Generated Node #0,1,0: 81:[85, 4] Operation: 44/11=4 Moving to Node #0,1,0 Current State: 81:[85, 4], Operations: ['69-58=11', '44/11=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 34, 64, 58, 36 ]
70
[ "36-34=2", "64*2=128", "128-58=70" ]
Current State: 70:[34, 64, 58, 36], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [64, 58, 2] Generated Node #2: [64, 58, 2] from Operation: 36-34=2 Current State: 70:[64, 58, 2], Operations: ['36-34=2'] Exploring Operation: 64*2=128, Resulting Numbers: [58, 128] Generated Node #3: [58, 128] from Operation: 64*2=128 Current State: 70:[58, 128], Operations: ['36-34=2', '64*2=128'] Exploring Operation: 128-58=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 64, 58, 36], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [34, 36, 6] Generated Node #0,0: 70:[34, 36, 6] Operation: 64-58=6 Exploring Operation: 58-34=24, Resulting Numbers: [64, 36, 24] Generated Node #0,1: 70:[64, 36, 24] Operation: 58-34=24 Exploring Operation: 58-36=22, Resulting Numbers: [34, 64, 22] Generated Node #0,2: 70:[34, 64, 22] Operation: 58-36=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[34, 36, 6], Operations: ['64-58=6'] Exploring Operation: 36-34=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 70:[6, 2] Operation: 36-34=2 Exploring Operation: 36/6=6, Resulting Numbers: [34, 6] Generated Node #0,0,1: 70:[34, 6] Operation: 36/6=6 Exploring Operation: 34+36=70, Resulting Numbers: [6, 70] Generated Node #0,0,2: 70:[6, 70] Operation: 34+36=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[6, 2], Operations: ['64-58=6', '36-34=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,70 unequal: No Solution No 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: 70:[6, 70], Operations: ['64-58=6', '34+36=70'] Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,70 unequal: No Solution No 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: 70:[34, 6], Operations: ['64-58=6', '36/6=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,70 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,70 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: 70:[34, 64, 22], Operations: ['58-36=22'] Exploring Operation: 34-22=12, Resulting Numbers: [64, 12] Generated Node #0,2,0: 70:[64, 12] Operation: 34-22=12 Exploring Operation: 64-34=30, Resulting Numbers: [22, 30] Generated Node #0,2,1: 70:[22, 30] Operation: 64-34=30 Exploring Operation: 64-22=42, Resulting Numbers: [34, 42] Generated Node #0,2,2: 70:[34, 42] Operation: 64-22=42 Moving to Node #0,2,0 Current State: 70:[64, 12], Operations: ['58-36=22', '34-22=12'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,70 unequal: No Solution Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[34, 42], Operations: ['58-36=22', '64-22=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,70 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[22, 30], Operations: ['58-36=22', '64-34=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,70 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[64, 36, 24], Operations: ['58-34=24'] Exploring Operation: 64-24=40, Resulting Numbers: [36, 40] Generated Node #0,1,0: 70:[36, 40] Operation: 64-24=40 Exploring Operation: 36-24=12, Resulting Numbers: [64, 12] Generated Node #0,1,1: 70:[64, 12] Operation: 36-24=12 Exploring Operation: 36+24=60, Resulting Numbers: [64, 60] Generated Node #0,1,2: 70:[64, 60] Operation: 36+24=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[36, 40], Operations: ['58-34=24', '64-24=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,70 unequal: No Solution No 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: 70:[64, 12], Operations: ['58-34=24', '36-24=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,70 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,70 unequal: No Solution No 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: 70:[64, 60], Operations: ['58-34=24', '36+24=60'] Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,70 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 80, 20, 6, 73 ]
97
[ "80/20=4", "6*4=24", "73+24=97" ]
Current State: 97:[80, 20, 6, 73], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [6, 73, 4] Generated Node #2: [6, 73, 4] from Operation: 80/20=4 Current State: 97:[6, 73, 4], Operations: ['80/20=4'] Exploring Operation: 6*4=24, Resulting Numbers: [73, 24] Generated Node #3: [73, 24] from Operation: 6*4=24 Current State: 97:[73, 24], Operations: ['80/20=4', '6*4=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[80, 20, 6, 73], Operations: [] Exploring Operation: 20*6=120, Resulting Numbers: [80, 73, 120] Generated Node #0,0: 97:[80, 73, 120] Operation: 20*6=120 Exploring Operation: 20+6=26, Resulting Numbers: [80, 73, 26] Generated Node #0,1: 97:[80, 73, 26] Operation: 20+6=26 Exploring Operation: 80+6=86, Resulting Numbers: [20, 73, 86] Generated Node #0,2: 97:[20, 73, 86] Operation: 80+6=86 Moving to Node #0,0 Current State: 97:[80, 73, 120], Operations: ['20*6=120'] Exploring Operation: 120-73=47, Resulting Numbers: [80, 47] Generated Node #0,0,0: 97:[80, 47] Operation: 120-73=47 Exploring Operation: 80+73=153, Resulting Numbers: [120, 153] Generated Node #0,0,1: 97:[120, 153] Operation: 80+73=153 Exploring Operation: 120-80=40, Resulting Numbers: [73, 40] Generated Node #0,0,2: 97:[73, 40] Operation: 120-80=40 Moving to Node #0,1 Current State: 97:[80, 73, 26], Operations: ['20+6=26'] Exploring Operation: 73+26=99, Resulting Numbers: [80, 99] Generated Node #0,1,0: 97:[80, 99] Operation: 73+26=99 Exploring Operation: 80-26=54, Resulting Numbers: [73, 54] Generated Node #0,1,1: 97:[73, 54] Operation: 80-26=54 Exploring Operation: 80+26=106, Resulting Numbers: [73, 106] Generated Node #0,1,2: 97:[73, 106] Operation: 80+26=106 Moving to Node #0,2 Current State: 97:[20, 73, 86], Operations: ['80+6=86'] Exploring Operation: 20+73=93, Resulting Numbers: [86, 93] Generated Node #0,2,0: 97:[86, 93] Operation: 20+73=93 Exploring Operation: 73-20=53, Resulting Numbers: [86, 53] Generated Node #0,2,1: 97:[86, 53] Operation: 73-20=53 Exploring Operation: 20+86=106, Resulting Numbers: [73, 106] Generated Node #0,2,2: 97:[73, 106] Operation: 20+86=106 Moving to Node #0,2,0 Current State: 97:[86, 93], Operations: ['80+6=86', '20+73=93'] Exploring Operation: 86*93=7998, Resulting Numbers: [7998] 7998,97 unequal: No Solution Exploring Operation: 86+93=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[80, 99], Operations: ['20+6=26', '73+26=99'] Exploring Operation: 99-80=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 80*99=7920, Resulting Numbers: [7920] 7920,97 unequal: No Solution Exploring Operation: 80+99=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[73, 106], Operations: ['20+6=26', '80+26=106'] Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,97 unequal: No Solution Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[73, 106], Operations: ['80+6=86', '20+86=106'] Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[86, 53], Operations: ['80+6=86', '73-20=53'] Exploring Operation: 86*53=4558, Resulting Numbers: [4558] 4558,97 unequal: No Solution Exploring Operation: 86+53=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[80, 47], Operations: ['20*6=120', '120-73=47'] Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,97 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[73, 54], Operations: ['20+6=26', '80-26=54'] Exploring Operation: 73*54=3942, Resulting Numbers: [3942] 3942,97 unequal: No Solution Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[120, 153], Operations: ['20*6=120', '80+73=153'] Exploring Operation: 120+153=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 153-120=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 120*153=18360, Resulting Numbers: [18360] 18360,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[73, 40], Operations: ['20*6=120', '120-80=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,97 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 66, 76, 99, 96 ]
68
[ "99*96=9504", "9504/66=144", "144-76=68" ]
Current State: 68:[66, 76, 99, 96], Operations: [] Exploring Operation: 99*96=9504, Resulting Numbers: [66, 76, 9504] Generated Node #2: [66, 76, 9504] from Operation: 99*96=9504 Current State: 68:[66, 76, 9504], Operations: ['99*96=9504'] Exploring Operation: 9504/66=144, Resulting Numbers: [76, 144] Generated Node #3: [76, 144] from Operation: 9504/66=144 Current State: 68:[76, 144], Operations: ['99*96=9504', '9504/66=144'] Exploring Operation: 144-76=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 76, 99, 96], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [66, 96, 23] Generated Node #0,0: 68:[66, 96, 23] Operation: 99-76=23 Exploring Operation: 99-96=3, Resulting Numbers: [66, 76, 3] Generated Node #0,1: 68:[66, 76, 3] Operation: 99-96=3 Exploring Operation: 99-66=33, Resulting Numbers: [76, 96, 33] Generated Node #0,2: 68:[76, 96, 33] Operation: 99-66=33 Exploring Operation: 96-76=20, Resulting Numbers: [66, 99, 20] Generated Node #0,3: 68:[66, 99, 20] Operation: 96-76=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[66, 76, 3], Operations: ['99-96=3'] Exploring Operation: 76-3=73, Resulting Numbers: [66, 73] Generated Node #0,1,0: 68:[66, 73] Operation: 76-3=73 Exploring Operation: 76-66=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 68:[3, 10] Operation: 76-66=10 Exploring Operation: 66+3=69, Resulting Numbers: [76, 69] Generated Node #0,1,2: 68:[76, 69] Operation: 66+3=69 Exploring Operation: 66-3=63, Resulting Numbers: [76, 63] Generated Node #0,1,3: 68:[76, 63] Operation: 66-3=63 Moving to Node #0,1,0 Current State: 68:[66, 73], Operations: ['99-96=3', '76-3=73'] Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,68 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[3, 10], Operations: ['99-96=3', '76-66=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[76, 69], Operations: ['99-96=3', '66+3=69'] Exploring Operation: 76*69=5244, Resulting Numbers: [5244] 5244,68 unequal: No Solution Exploring Operation: 76+69=145, Resulting Numbers: [145] 145,68 unequal: No Solution Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[76, 63], Operations: ['99-96=3', '66-3=63'] Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,68 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,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 Current State: 68:[66, 96, 23], Operations: ['99-76=23'] Exploring Operation: 96-66=30, Resulting Numbers: [23, 30] Generated Node #0,0,0: 68:[23, 30] Operation: 96-66=30 Exploring Operation: 66-23=43, Resulting Numbers: [96, 43] Generated Node #0,0,1: 68:[96, 43] Operation: 66-23=43 Exploring Operation: 96-23=73, Resulting Numbers: [66, 73] Generated Node #0,0,2: 68:[66, 73] Operation: 96-23=73 Exploring Operation: 66+23=89, Resulting Numbers: [96, 89] Generated Node #0,0,3: 68:[96, 89] Operation: 66+23=89 Moving to Node #0,0,2 Current State: 68:[66, 73], Operations: ['99-76=23', '96-23=73'] Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[23, 30], Operations: ['99-76=23', '96-66=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,68 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[96, 43], Operations: ['99-76=23', '66-23=43'] Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,68 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[96, 89], Operations: ['99-76=23', '66+23=89'] Exploring Operation: 96+89=185, Resulting Numbers: [185] 185,68 unequal: No Solution Exploring Operation: 96-89=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 96*89=8544, Resulting Numbers: [8544] 8544,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,3 Current State: 68:[66, 99, 20], Operations: ['96-76=20'] Exploring Operation: 66+20=86, Resulting Numbers: [99, 86] Generated Node #0,3,0: 68:[99, 86] Operation: 66+20=86 Exploring Operation: 99-66=33, Resulting Numbers: [20, 33] Generated Node #0,3,1: 68:[20, 33] Operation: 99-66=33 Exploring Operation: 99-20=79, Resulting Numbers: [66, 79] Generated Node #0,3,2: 68:[66, 79] Operation: 99-20=79 Exploring Operation: 66-20=46, Resulting Numbers: [99, 46] Generated Node #0,3,3: 68:[99, 46] Operation: 66-20=46 Moving to Node #0,3,1 Current State: 68:[20, 33], Operations: ['96-76=20', '99-66=33'] Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[66, 79], Operations: ['96-76=20', '99-20=79'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,68 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[99, 46], Operations: ['96-76=20', '66-20=46'] Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,68 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[99, 86], Operations: ['96-76=20', '66+20=86'] Exploring Operation: 99-86=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 99*86=8514, Resulting Numbers: [8514] 8514,68 unequal: No Solution Exploring Operation: 99+86=185, Resulting Numbers: [185] 185,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,2 Current State: 68:[76, 96, 33], Operations: ['99-66=33'] Exploring Operation: 96-33=63, Resulting Numbers: [76, 63] Generated Node #0,2,0: 68:[76, 63] Operation: 96-33=63 Exploring Operation: 96-76=20, Resulting Numbers: [33, 20] Generated Node #0,2,1: 68:[33, 20] Operation: 96-76=20 Exploring Operation: 76-33=43, Resulting Numbers: [96, 43] Generated Node #0,2,2: 68:[96, 43] Operation: 76-33=43 Exploring Operation: 76+33=109, Resulting Numbers: [96, 109] Generated Node #0,2,3: 68:[96, 109] Operation: 76+33=109 Moving to Node #0,2,1 Current State: 68:[33, 20], Operations: ['99-66=33', '96-76=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[76, 63], Operations: ['99-66=33', '96-33=63'] Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,68 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[96, 43], Operations: ['99-66=33', '76-33=43'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[96, 109], Operations: ['99-66=33', '76+33=109'] Exploring Operation: 96*109=10464, Resulting Numbers: [10464] 10464,68 unequal: No Solution Exploring Operation: 109-96=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 96+109=205, Resulting Numbers: [205] 205,68 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
[ 3, 19, 24, 11 ]
16
[ "24/3=8", "19-11=8", "8+8=16" ]
Current State: 16:[3, 19, 24, 11], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [19, 11, 8] Generated Node #2: [19, 11, 8] from Operation: 24/3=8 Current State: 16:[19, 11, 8], Operations: ['24/3=8'] Exploring Operation: 19-11=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 19-11=8 Current State: 16:[8, 8], Operations: ['24/3=8', '19-11=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[3, 19, 24, 11], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [3, 11, 5] Generated Node #0,0: 16:[3, 11, 5] Operation: 24-19=5 Exploring Operation: 24-11=13, Resulting Numbers: [3, 19, 13] Generated Node #0,1: 16:[3, 19, 13] Operation: 24-11=13 Exploring Operation: 24/3=8, Resulting Numbers: [19, 11, 8] Generated Node #0,2: 16:[19, 11, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[3, 11, 5], Operations: ['24-19=5'] Exploring Operation: 11+5=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 16:[3, 16] Operation: 11+5=16 Exploring Operation: 3+11=14, Resulting Numbers: [5, 14] Generated Node #0,0,1: 16:[5, 14] Operation: 3+11=14 Exploring Operation: 11-3=8, Resulting Numbers: [5, 8] Generated Node #0,0,2: 16:[5, 8] Operation: 11-3=8 Moving to Node #0,0,0 Current State: 16:[3, 16], Operations: ['24-19=5', '11+5=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[5, 8], Operations: ['24-19=5', '11-3=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[5, 14], Operations: ['24-19=5', '3+11=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[19, 11, 8], Operations: ['24/3=8'] Exploring Operation: 11-8=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 16:[19, 3] Operation: 11-8=3 Exploring Operation: 19-8=11, Resulting Numbers: [11, 11] Generated Node #0,2,1: 16:[11, 11] Operation: 19-8=11 Exploring Operation: 19-11=8, Resulting Numbers: [8, 8] Generated Node #0,2,2: 16:[8, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[8, 8], Operations: ['24/3=8', '19-11=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[3, 19, 24, 11], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [19, 11, 8] Generated Node #0,2: 16:[19, 11, 8] Operation: 24/3=8 Moving to Node #0,2 Current State: 16:[19, 11, 8], Operations: ['24/3=8'] Exploring Operation: 19-11=8, Resulting Numbers: [8, 8] Generated Node #0,2,2: 16:[8, 8] Operation: 19-11=8 Moving to Node #0,2,2 Current State: 16:[8, 8], Operations: ['24/3=8', '19-11=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 58, 52, 60, 85 ]
75
[ "58-52=6", "60/6=10", "85-10=75" ]
Current State: 75:[58, 52, 60, 85], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [60, 85, 6] Generated Node #2: [60, 85, 6] from Operation: 58-52=6 Current State: 75:[60, 85, 6], Operations: ['58-52=6'] Exploring Operation: 60/6=10, Resulting Numbers: [85, 10] Generated Node #3: [85, 10] from Operation: 60/6=10 Current State: 75:[85, 10], Operations: ['58-52=6', '60/6=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[58, 52, 60, 85], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [58, 85, 8] Generated Node #0,0: 75:[58, 85, 8] Operation: 60-52=8 Exploring Operation: 58-52=6, Resulting Numbers: [60, 85, 6] Generated Node #0,1: 75:[60, 85, 6] Operation: 58-52=6 Moving to Node #0,1 Current State: 75:[60, 85, 6], Operations: ['58-52=6'] Exploring Operation: 85-60=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 75:[6, 25] Operation: 85-60=25 Exploring Operation: 60/6=10, Resulting Numbers: [85, 10] Generated Node #0,1,1: 75:[85, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 75:[58, 85, 8], Operations: ['60-52=8'] Exploring Operation: 85-58=27, Resulting Numbers: [8, 27] Generated Node #0,0,0: 75:[8, 27] Operation: 85-58=27 Exploring Operation: 58+8=66, Resulting Numbers: [85, 66] Generated Node #0,0,1: 75:[85, 66] Operation: 58+8=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[8, 27], Operations: ['60-52=8', '85-58=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,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,1 Current State: 75:[85, 66], Operations: ['60-52=8', '58+8=66'] Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 85+66=151, Resulting Numbers: [151] 151,75 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: 75:[6, 25], Operations: ['58-52=6', '85-60=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[85, 10], Operations: ['58-52=6', '60/6=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[58, 52, 60, 85], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [60, 85, 6] Generated Node #0,1: 75:[60, 85, 6] Operation: 58-52=6 Moving to Node #0,1 Current State: 75:[60, 85, 6], Operations: ['58-52=6'] Exploring Operation: 60/6=10, Resulting Numbers: [85, 10] Generated Node #0,1,1: 75:[85, 10] Operation: 60/6=10 Moving to Node #0,1,1 Current State: 75:[85, 10], Operations: ['58-52=6', '60/6=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 2, 1, 92, 58 ]
62
[ "58/2=29", "92-1=91", "91-29=62" ]
Current State: 62:[2, 1, 92, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [1, 92, 29] Generated Node #2: [1, 92, 29] from Operation: 58/2=29 Current State: 62:[1, 92, 29], Operations: ['58/2=29'] Exploring Operation: 92-1=91, Resulting Numbers: [29, 91] Generated Node #3: [29, 91] from Operation: 92-1=91 Current State: 62:[29, 91], Operations: ['58/2=29', '92-1=91'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 1, 92, 58], Operations: [] Exploring Operation: 92-2=90, Resulting Numbers: [1, 58, 90] Generated Node #0,0: 62:[1, 58, 90] Operation: 92-2=90 Exploring Operation: 92/2=46, Resulting Numbers: [1, 58, 46] Generated Node #0,1: 62:[1, 58, 46] Operation: 92/2=46 Exploring Operation: 2+58=60, Resulting Numbers: [1, 92, 60] Generated Node #0,2: 62:[1, 92, 60] Operation: 2+58=60 Exploring Operation: 58/2=29, Resulting Numbers: [1, 92, 29] Generated Node #0,3: 62:[1, 92, 29] Operation: 58/2=29 Exploring Operation: 92-58=34, Resulting Numbers: [2, 1, 34] Generated Node #0,4: 62:[2, 1, 34] Operation: 92-58=34 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[2, 1, 34], Operations: ['92-58=34'] Exploring Operation: 2*1=2, Resulting Numbers: [34, 2] Generated Node #0,4,0: 62:[34, 2] Operation: 2*1=2 Exploring Operation: 34-2=32, Resulting Numbers: [1, 32] Generated Node #0,4,1: 62:[1, 32] Operation: 34-2=32 Exploring Operation: 1*34=34, Resulting Numbers: [2, 34] Generated Node #0,4,2: 62:[2, 34] Operation: 1*34=34 Exploring Operation: 34-1=33, Resulting Numbers: [2, 33] Generated Node #0,4,3: 62:[2, 33] Operation: 34-1=33 Exploring Operation: 2/1=2, Resulting Numbers: [34, 2] Generated Node #0,4,4: 62:[34, 2] Operation: 2/1=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[1, 32], Operations: ['92-58=34', '34-2=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[2, 33], Operations: ['92-58=34', '34-1=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 62:[34, 2], Operations: ['92-58=34', '2*1=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 62:[2, 34], Operations: ['92-58=34', '1*34=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[34, 2], Operations: ['92-58=34', '2/1=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[1, 58, 46], Operations: ['92/2=46'] Exploring Operation: 58-46=12, Resulting Numbers: [1, 12] Generated Node #0,1,0: 62:[1, 12] Operation: 58-46=12 Exploring Operation: 1+58=59, Resulting Numbers: [46, 59] Generated Node #0,1,1: 62:[46, 59] Operation: 1+58=59 Exploring Operation: 58/1=58, Resulting Numbers: [46, 58] Generated Node #0,1,2: 62:[46, 58] Operation: 58/1=58 Exploring Operation: 46-1=45, Resulting Numbers: [58, 45] Generated Node #0,1,3: 62:[58, 45] Operation: 46-1=45 Exploring Operation: 1*58=58, Resulting Numbers: [46, 58] Generated Node #0,1,4: 62:[46, 58] Operation: 1*58=58 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[1, 12], Operations: ['92/2=46', '58-46=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[46, 59], Operations: ['92/2=46', '1+58=59'] Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,62 unequal: No Solution Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,62 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[58, 45], Operations: ['92/2=46', '46-1=45'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,62 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[46, 58], Operations: ['92/2=46', '58/1=58'] Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,62 unequal: No Solution Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,62 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 62:[46, 58], Operations: ['92/2=46', '1*58=58'] Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,62 unequal: No Solution Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,62 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[1, 58, 90], Operations: ['92-2=90'] Exploring Operation: 90-58=32, Resulting Numbers: [1, 32] Generated Node #0,0,0: 62:[1, 32] Operation: 90-58=32 Exploring Operation: 58/1=58, Resulting Numbers: [90, 58] Generated Node #0,0,1: 62:[90, 58] Operation: 58/1=58 Exploring Operation: 1+58=59, Resulting Numbers: [90, 59] Generated Node #0,0,2: 62:[90, 59] Operation: 1+58=59 Exploring Operation: 90-1=89, Resulting Numbers: [58, 89] Generated Node #0,0,3: 62:[58, 89] Operation: 90-1=89 Exploring Operation: 1*58=58, Resulting Numbers: [90, 58] Generated Node #0,0,4: 62:[90, 58] Operation: 1*58=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[1, 32], Operations: ['92-2=90', '90-58=32'] Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[90, 59], Operations: ['92-2=90', '1+58=59'] Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,62 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[58, 89], Operations: ['92-2=90', '90-1=89'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,62 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[90, 58], Operations: ['92-2=90', '58/1=58'] Exploring Operation: 90*58=5220, Resulting Numbers: [5220] 5220,62 unequal: No Solution Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,62 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[90, 58], Operations: ['92-2=90', '1*58=58'] Exploring Operation: 90*58=5220, Resulting Numbers: [5220] 5220,62 unequal: No Solution Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,62 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[1, 92, 60], Operations: ['2+58=60'] Exploring Operation: 92-60=32, Resulting Numbers: [1, 32] Generated Node #0,2,0: 62:[1, 32] Operation: 92-60=32 Exploring Operation: 92/1=92, Resulting Numbers: [60, 92] Generated Node #0,2,1: 62:[60, 92] Operation: 92/1=92 Exploring Operation: 1*92=92, Resulting Numbers: [60, 92] Generated Node #0,2,2: 62:[60, 92] Operation: 1*92=92 Exploring Operation: 1+60=61, Resulting Numbers: [92, 61] Generated Node #0,2,3: 62:[92, 61] Operation: 1+60=61 Exploring Operation: 92-1=91, Resulting Numbers: [60, 91] Generated Node #0,2,4: 62:[60, 91] Operation: 92-1=91 Moving to Node #0,2,0 Current State: 62:[1, 32], Operations: ['2+58=60', '92-60=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[60, 91], Operations: ['2+58=60', '92-1=91'] Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,62 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[92, 61], Operations: ['2+58=60', '1+60=61'] Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,62 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[60, 92], Operations: ['2+58=60', '92/1=92'] Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,62 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[60, 92], Operations: ['2+58=60', '1*92=92'] Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,62 unequal: No Solution Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,62 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[1, 92, 29], Operations: ['58/2=29'] Exploring Operation: 1*92=92, Resulting Numbers: [29, 92] Generated Node #0,3,0: 62:[29, 92] Operation: 1*92=92 Exploring Operation: 92-1=91, Resulting Numbers: [29, 91] Generated Node #0,3,1: 62:[29, 91] Operation: 92-1=91 Exploring Operation: 92/1=92, Resulting Numbers: [29, 92] Generated Node #0,3,2: 62:[29, 92] Operation: 92/1=92 Exploring Operation: 92-29=63, Resulting Numbers: [1, 63] Generated Node #0,3,3: 62:[1, 63] Operation: 92-29=63 Exploring Operation: 1+29=30, Resulting Numbers: [92, 30] Generated Node #0,3,4: 62:[92, 30] Operation: 1+29=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[1, 63], Operations: ['58/2=29', '92-29=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[2, 1, 92, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [1, 92, 29] Generated Node #0,3: 62:[1, 92, 29] Operation: 58/2=29 Moving to Node #0,3 Current State: 62:[1, 92, 29], Operations: ['58/2=29'] Exploring Operation: 92-29=63, Resulting Numbers: [1, 63] Generated Node #0,3,3: 62:[1, 63] Operation: 92-29=63 Moving to Node #0,3,3 Current State: 62:[1, 63], Operations: ['58/2=29', '92-29=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.909722
hs_5
mult_heuristic
[ 92, 32, 64, 23 ]
72
[ "92/23=4", "32/4=8", "64+8=72" ]
Current State: 72:[92, 32, 64, 23], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [32, 64, 4] Generated Node #2: [32, 64, 4] from Operation: 92/23=4 Current State: 72:[32, 64, 4], Operations: ['92/23=4'] Exploring Operation: 32/4=8, Resulting Numbers: [64, 8] Generated Node #3: [64, 8] from Operation: 32/4=8 Current State: 72:[64, 8], Operations: ['92/23=4', '32/4=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[92, 32, 64, 23], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [32, 23, 28] Generated Node #0,0: 72:[32, 23, 28] Operation: 92-64=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[32, 23, 28], Operations: ['92-64=28'] Exploring Operation: 32-28=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 72:[23, 4] Operation: 32-28=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[23, 4], Operations: ['92-64=28', '32-28=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,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_1
sum_heuristic
[ 15, 6, 58, 4 ]
97
[ "15+58=73", "6*4=24", "73+24=97" ]
Current State: 97:[15, 6, 58, 4], Operations: [] Exploring Operation: 15+58=73, Resulting Numbers: [6, 4, 73] Generated Node #2: [6, 4, 73] from Operation: 15+58=73 Current State: 97:[6, 4, 73], Operations: ['15+58=73'] Exploring Operation: 6*4=24, Resulting Numbers: [73, 24] Generated Node #3: [73, 24] from Operation: 6*4=24 Current State: 97:[73, 24], Operations: ['15+58=73', '6*4=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 6, 58, 4], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [15, 58, 24] Generated Node #0,0: 97:[15, 58, 24] Operation: 6*4=24 Exploring Operation: 15*4=60, Resulting Numbers: [6, 58, 60] Generated Node #0,1: 97:[6, 58, 60] Operation: 15*4=60 Exploring Operation: 15+6=21, Resulting Numbers: [58, 4, 21] Generated Node #0,2: 97:[58, 4, 21] Operation: 15+6=21 Exploring Operation: 15*6=90, Resulting Numbers: [58, 4, 90] Generated Node #0,3: 97:[58, 4, 90] Operation: 15*6=90 Moving to Node #0,3 Current State: 97:[58, 4, 90], Operations: ['15*6=90'] Exploring Operation: 58+4=62, Resulting Numbers: [90, 62] Generated Node #0,3,0: 97:[90, 62] Operation: 58+4=62 Exploring Operation: 90-4=86, Resulting Numbers: [58, 86] Generated Node #0,3,1: 97:[58, 86] Operation: 90-4=86 Exploring Operation: 58-4=54, Resulting Numbers: [90, 54] Generated Node #0,3,2: 97:[90, 54] Operation: 58-4=54 Exploring Operation: 4+90=94, Resulting Numbers: [58, 94] Generated Node #0,3,3: 97:[58, 94] Operation: 4+90=94 Moving to Node #0,1 Current State: 97:[6, 58, 60], Operations: ['15*4=60'] Exploring Operation: 58-6=52, Resulting Numbers: [60, 52] Generated Node #0,1,0: 97:[60, 52] Operation: 58-6=52 Exploring Operation: 60-6=54, Resulting Numbers: [58, 54] Generated Node #0,1,1: 97:[58, 54] Operation: 60-6=54 Exploring Operation: 6+58=64, Resulting Numbers: [60, 64] Generated Node #0,1,2: 97:[60, 64] Operation: 6+58=64 Exploring Operation: 6+60=66, Resulting Numbers: [58, 66] Generated Node #0,1,3: 97:[58, 66] Operation: 6+60=66 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[60, 64], Operations: ['15*4=60', '6+58=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[58, 66], Operations: ['15*4=60', '6+60=66'] Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,97 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[60, 52], Operations: ['15*4=60', '58-6=52'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,97 unequal: No Solution Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[58, 54], Operations: ['15*4=60', '60-6=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,97 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,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:[15, 58, 24], Operations: ['6*4=24'] Exploring Operation: 15+24=39, Resulting Numbers: [58, 39] Generated Node #0,0,0: 97:[58, 39] Operation: 15+24=39 Exploring Operation: 58+24=82, Resulting Numbers: [15, 82] Generated Node #0,0,1: 97:[15, 82] Operation: 58+24=82 Exploring Operation: 15+58=73, Resulting Numbers: [24, 73] Generated Node #0,0,2: 97:[24, 73] Operation: 15+58=73 Exploring Operation: 58-15=43, Resulting Numbers: [24, 43] Generated Node #0,0,3: 97:[24, 43] Operation: 58-15=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[58, 39], Operations: ['6*4=24', '15+24=39'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[15, 6, 58, 4], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [15, 58, 24] Generated Node #0,0: 97:[15, 58, 24] Operation: 6*4=24 Moving to Node #0,0 Current State: 97:[15, 58, 24], Operations: ['6*4=24'] Exploring Operation: 15+24=39, Resulting Numbers: [58, 39] Generated Node #0,0,0: 97:[58, 39] Operation: 15+24=39 Moving to Node #0,0,0 Current State: 97:[58, 39], Operations: ['6*4=24', '15+24=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 92, 75, 42, 2 ]
25
[ "92-42=50", "2*50=100", "100-75=25" ]
Current State: 25:[92, 75, 42, 2], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [75, 2, 50] Generated Node #2: [75, 2, 50] from Operation: 92-42=50 Current State: 25:[75, 2, 50], Operations: ['92-42=50'] Exploring Operation: 2*50=100, Resulting Numbers: [75, 100] Generated Node #3: [75, 100] from Operation: 2*50=100 Current State: 25:[75, 100], Operations: ['92-42=50', '2*50=100'] Exploring Operation: 100-75=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[92, 75, 42, 2], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [92, 75, 21] Generated Node #0,0: 25:[92, 75, 21] Operation: 42/2=21 Exploring Operation: 92-42=50, Resulting Numbers: [75, 2, 50] Generated Node #0,1: 25:[75, 2, 50] Operation: 92-42=50 Exploring Operation: 92-75=17, Resulting Numbers: [42, 2, 17] Generated Node #0,2: 25:[42, 2, 17] Operation: 92-75=17 Exploring Operation: 92/2=46, Resulting Numbers: [75, 42, 46] Generated Node #0,3: 25:[75, 42, 46] Operation: 92/2=46 Exploring Operation: 75-42=33, Resulting Numbers: [92, 2, 33] Generated Node #0,4: 25:[92, 2, 33] Operation: 75-42=33 Moving to Node #0,2 Current State: 25:[42, 2, 17], Operations: ['92-75=17'] Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 25:[2, 25] Operation: 42-17=25 Exploring Operation: 2+17=19, Resulting Numbers: [42, 19] Generated Node #0,2,1: 25:[42, 19] Operation: 2+17=19 Exploring Operation: 42/2=21, Resulting Numbers: [17, 21] Generated Node #0,2,2: 25:[17, 21] Operation: 42/2=21 Exploring Operation: 2*17=34, Resulting Numbers: [42, 34] Generated Node #0,2,3: 25:[42, 34] Operation: 2*17=34 Exploring Operation: 42-2=40, Resulting Numbers: [17, 40] Generated Node #0,2,4: 25:[17, 40] Operation: 42-2=40 Moving to Node #0,4 Current State: 25:[92, 2, 33], Operations: ['75-42=33'] Exploring Operation: 92-2=90, Resulting Numbers: [33, 90] Generated Node #0,4,0: 25:[33, 90] Operation: 92-2=90 Exploring Operation: 92-33=59, Resulting Numbers: [2, 59] Generated Node #0,4,1: 25:[2, 59] Operation: 92-33=59 Exploring Operation: 33-2=31, Resulting Numbers: [92, 31] Generated Node #0,4,2: 25:[92, 31] Operation: 33-2=31 Exploring Operation: 92+2=94, Resulting Numbers: [33, 94] Generated Node #0,4,3: 25:[33, 94] Operation: 92+2=94 Exploring Operation: 92/2=46, Resulting Numbers: [33, 46] Generated Node #0,4,4: 25:[33, 46] Operation: 92/2=46 Moving to Node #0,1 Current State: 25:[75, 2, 50], Operations: ['92-42=50'] Exploring Operation: 75-2=73, Resulting Numbers: [50, 73] Generated Node #0,1,0: 25:[50, 73] Operation: 75-2=73 Exploring Operation: 75-50=25, Resulting Numbers: [2, 25] Generated Node #0,1,1: 25:[2, 25] Operation: 75-50=25 Exploring Operation: 50/2=25, Resulting Numbers: [75, 25] Generated Node #0,1,2: 25:[75, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [75, 48] Generated Node #0,1,3: 25:[75, 48] Operation: 50-2=48 Exploring Operation: 75+2=77, Resulting Numbers: [50, 77] Generated Node #0,1,4: 25:[50, 77] Operation: 75+2=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[2, 25], Operations: ['92-42=50', '75-50=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[75, 25], Operations: ['92-42=50', '50/2=25'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[50, 73], Operations: ['92-42=50', '75-2=73'] Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,25 unequal: No Solution Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,25 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[75, 48], Operations: ['92-42=50', '50-2=48'] Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,25 unequal: No Solution Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[50, 77], Operations: ['92-42=50', '75+2=77'] Exploring Operation: 50+77=127, Resulting Numbers: [127] 127,25 unequal: No Solution Exploring Operation: 50*77=3850, Resulting Numbers: [3850] 3850,25 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,25 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: 25:[75, 42, 46], Operations: ['92/2=46'] Exploring Operation: 46-42=4, Resulting Numbers: [75, 4] Generated Node #0,3,0: 25:[75, 4] Operation: 46-42=4 Exploring Operation: 75+42=117, Resulting Numbers: [46, 117] Generated Node #0,3,1: 25:[46, 117] Operation: 75+42=117 Exploring Operation: 75-46=29, Resulting Numbers: [42, 29] Generated Node #0,3,2: 25:[42, 29] Operation: 75-46=29 Exploring Operation: 75-42=33, Resulting Numbers: [46, 33] Generated Node #0,3,3: 25:[46, 33] Operation: 75-42=33 Exploring Operation: 75+46=121, Resulting Numbers: [42, 121] Generated Node #0,3,4: 25:[42, 121] Operation: 75+46=121 Moving to Node #0,0 Current State: 25:[92, 75, 21], Operations: ['42/2=21'] Exploring Operation: 75-21=54, Resulting Numbers: [92, 54] Generated Node #0,0,0: 25:[92, 54] Operation: 75-21=54 Exploring Operation: 75+21=96, Resulting Numbers: [92, 96] Generated Node #0,0,1: 25:[92, 96] Operation: 75+21=96 Exploring Operation: 92+21=113, Resulting Numbers: [75, 113] Generated Node #0,0,2: 25:[75, 113] Operation: 92+21=113 Exploring Operation: 92-21=71, Resulting Numbers: [75, 71] Generated Node #0,0,3: 25:[75, 71] Operation: 92-21=71 Exploring Operation: 92-75=17, Resulting Numbers: [21, 17] Generated Node #0,0,4: 25:[21, 17] Operation: 92-75=17 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 25:[21, 17], Operations: ['42/2=21', '92-75=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,25 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[92, 54], Operations: ['42/2=21', '75-21=54'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,25 unequal: No Solution Exploring Operation: 92*54=4968, Resulting Numbers: [4968] 4968,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[75, 71], Operations: ['42/2=21', '92-21=71'] Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,25 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[92, 96], Operations: ['42/2=21', '75+21=96'] Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,25 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[75, 113], Operations: ['42/2=21', '92+21=113'] Exploring Operation: 75*113=8475, Resulting Numbers: [8475] 8475,25 unequal: No Solution Exploring Operation: 75+113=188, Resulting Numbers: [188] 188,25 unequal: No Solution Exploring Operation: 113-75=38, Resulting Numbers: [38] 38,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 25:[2, 25], Operations: ['92-75=17', '42-17=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[17, 21], Operations: ['92-75=17', '42/2=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,25 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[42, 29], Operations: ['92/2=46', '75-46=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[42, 19], Operations: ['92-75=17', '2+17=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[17, 40], Operations: ['92-75=17', '42-2=40'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,25 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[42, 34], Operations: ['92-75=17', '2*17=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[33, 46], Operations: ['75-42=33', '92/2=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[46, 33], Operations: ['92/2=46', '75-42=33'] Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,25 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[2, 59], Operations: ['75-42=33', '92-33=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,25 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[75, 4], Operations: ['92/2=46', '46-42=4'] Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,25 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[33, 90], Operations: ['75-42=33', '92-2=90'] Exploring Operation: 33*90=2970, Resulting Numbers: [2970] 2970,25 unequal: No Solution Exploring Operation: 33+90=123, Resulting Numbers: [123] 123,25 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[92, 31], Operations: ['75-42=33', '33-2=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,25 unequal: No Solution Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[33, 94], Operations: ['75-42=33', '92+2=94'] Exploring Operation: 33+94=127, Resulting Numbers: [127] 127,25 unequal: No Solution Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 33*94=3102, Resulting Numbers: [3102] 3102,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[46, 117], Operations: ['92/2=46', '75+42=117'] Exploring Operation: 46+117=163, Resulting Numbers: [163] 163,25 unequal: No Solution Exploring Operation: 46*117=5382, Resulting Numbers: [5382] 5382,25 unequal: No Solution Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[42, 121], Operations: ['92/2=46', '75+46=121'] Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,25 unequal: No Solution Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 18, 56, 40, 8 ]
48
[ "18*8=144", "56+40=96", "144-96=48" ]
Current State: 48:[18, 56, 40, 8], Operations: [] Exploring Operation: 18*8=144, Resulting Numbers: [56, 40, 144] Generated Node #2: [56, 40, 144] from Operation: 18*8=144 Current State: 48:[56, 40, 144], Operations: ['18*8=144'] Exploring Operation: 56+40=96, Resulting Numbers: [144, 96] Generated Node #3: [144, 96] from Operation: 56+40=96 Current State: 48:[144, 96], Operations: ['18*8=144', '56+40=96'] Exploring Operation: 144-96=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[18, 56, 40, 8], Operations: [] Exploring Operation: 56-8=48, Resulting Numbers: [18, 40, 48] Generated Node #0,0: 48:[18, 40, 48] Operation: 56-8=48 Exploring Operation: 40-18=22, Resulting Numbers: [56, 8, 22] Generated Node #0,1: 48:[56, 8, 22] Operation: 40-18=22 Exploring Operation: 56-40=16, Resulting Numbers: [18, 8, 16] Generated Node #0,2: 48:[18, 8, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[18, 8, 16], Operations: ['56-40=16'] Exploring Operation: 18+8=26, Resulting Numbers: [16, 26] Generated Node #0,2,0: 48:[16, 26] Operation: 18+8=26 Exploring Operation: 18-8=10, Resulting Numbers: [16, 10] Generated Node #0,2,1: 48:[16, 10] Operation: 18-8=10 Exploring Operation: 18-16=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 48:[8, 2] Operation: 18-16=2 Moving to Node #0,2,2 Current State: 48:[8, 2], Operations: ['56-40=16', '18-16=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[16, 26], Operations: ['56-40=16', '18+8=26'] Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,48 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[16, 10], Operations: ['56-40=16', '18-8=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,48 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[18, 40, 48], Operations: ['56-8=48'] Exploring Operation: 40-18=22, Resulting Numbers: [48, 22] Generated Node #0,0,0: 48:[48, 22] Operation: 40-18=22 Exploring Operation: 18+40=58, Resulting Numbers: [48, 58] Generated Node #0,0,1: 48:[48, 58] Operation: 18+40=58 Exploring Operation: 48-40=8, Resulting Numbers: [18, 8] Generated Node #0,0,2: 48:[18, 8] Operation: 48-40=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[48, 22], Operations: ['56-8=48', '40-18=22'] Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[18, 8], Operations: ['56-8=48', '48-40=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,48 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[48, 58], Operations: ['56-8=48', '18+40=58'] Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,48 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,48 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: 48:[56, 8, 22], Operations: ['40-18=22'] Exploring Operation: 56-8=48, Resulting Numbers: [22, 48] Generated Node #0,1,0: 48:[22, 48] Operation: 56-8=48 Exploring Operation: 56-22=34, Resulting Numbers: [8, 34] Generated Node #0,1,1: 48:[8, 34] Operation: 56-22=34 Exploring Operation: 56/8=7, Resulting Numbers: [22, 7] Generated Node #0,1,2: 48:[22, 7] Operation: 56/8=7 Moving to Node #0,1,0 Current State: 48:[22, 48], Operations: ['40-18=22', '56-8=48'] Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,48 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[22, 7], Operations: ['40-18=22', '56/8=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[8, 34], Operations: ['40-18=22', '56-22=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,48 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
[ 76, 32, 46, 96 ]
94
[ "76-32=44", "96-46=50", "44+50=94" ]
Current State: 94:[76, 32, 46, 96], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [46, 96, 44] Generated Node #2: [46, 96, 44] from Operation: 76-32=44 Current State: 94:[46, 96, 44], Operations: ['76-32=44'] Exploring Operation: 96-46=50, Resulting Numbers: [44, 50] Generated Node #3: [44, 50] from Operation: 96-46=50 Current State: 94:[44, 50], Operations: ['76-32=44', '96-46=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[76, 32, 46, 96], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [76, 46, 3] Generated Node #0,0: 94:[76, 46, 3] Operation: 96/32=3 Exploring Operation: 76-32=44, Resulting Numbers: [46, 96, 44] Generated Node #0,1: 94:[46, 96, 44] Operation: 76-32=44 Exploring Operation: 76+32=108, Resulting Numbers: [46, 96, 108] Generated Node #0,2: 94:[46, 96, 108] Operation: 76+32=108 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[46, 96, 44], Operations: ['76-32=44'] Exploring Operation: 46+44=90, Resulting Numbers: [96, 90] Generated Node #0,1,0: 94:[96, 90] Operation: 46+44=90 Exploring Operation: 96-46=50, Resulting Numbers: [44, 50] Generated Node #0,1,1: 94:[44, 50] Operation: 96-46=50 Exploring Operation: 46-44=2, Resulting Numbers: [96, 2] Generated Node #0,1,2: 94:[96, 2] Operation: 46-44=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[96, 2], Operations: ['76-32=44', '46-44=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[76, 32, 46, 96], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [46, 96, 44] Generated Node #0,1: 94:[46, 96, 44] Operation: 76-32=44 Moving to Node #0,1 Current State: 94:[46, 96, 44], Operations: ['76-32=44'] Exploring Operation: 46-44=2, Resulting Numbers: [96, 2] Generated Node #0,1,2: 94:[96, 2] Operation: 46-44=2 Moving to Node #0,1,2 Current State: 94:[96, 2], Operations: ['76-32=44', '46-44=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic