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
[ 95, 38, 72, 53 ]
76
[ "95-38=57", "72-53=19", "57+19=76" ]
Current State: 76:[95, 38, 72, 53], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [72, 53, 57] Generated Node #2: [72, 53, 57] from Operation: 95-38=57 Current State: 76:[72, 53, 57], Operations: ['95-38=57'] Exploring Operation: 72-53=19, Resulting Numbers: [57, 19] Generated Node #3: [57, 19] from Operation: 72-53=19 Current State: 76:[57, 19], Operations: ['95-38=57', '72-53=19'] Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[95, 38, 72, 53], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [38, 53, 23] Generated Node #0,0: 76:[38, 53, 23] Operation: 95-72=23 Exploring Operation: 95-53=42, Resulting Numbers: [38, 72, 42] Generated Node #0,1: 76:[38, 72, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 76:[38, 72, 42], Operations: ['95-53=42'] Exploring Operation: 42-38=4, Resulting Numbers: [72, 4] Generated Node #0,1,0: 76:[72, 4] Operation: 42-38=4 Exploring Operation: 72-38=34, Resulting Numbers: [42, 34] Generated Node #0,1,1: 76:[42, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[72, 4], Operations: ['95-53=42', '42-38=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[95, 38, 72, 53], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [38, 72, 42] Generated Node #0,1: 76:[38, 72, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 76:[38, 72, 42], Operations: ['95-53=42'] Exploring Operation: 42-38=4, Resulting Numbers: [72, 4] Generated Node #0,1,0: 76:[72, 4] Operation: 42-38=4 Moving to Node #0,1,0 Current State: 76:[72, 4], Operations: ['95-53=42', '42-38=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 81, 40, 85, 19 ]
17
[ "81+40=121", "85+19=104", "121-104=17" ]
Current State: 17:[81, 40, 85, 19], Operations: [] Exploring Operation: 81+40=121, Resulting Numbers: [85, 19, 121] Generated Node #2: [85, 19, 121] from Operation: 81+40=121 Current State: 17:[85, 19, 121], Operations: ['81+40=121'] Exploring Operation: 85+19=104, Resulting Numbers: [121, 104] Generated Node #3: [121, 104] from Operation: 85+19=104 Current State: 17:[121, 104], Operations: ['81+40=121', '85+19=104'] Exploring Operation: 121-104=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[81, 40, 85, 19], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [40, 19, 4] Generated Node #0,0: 17:[40, 19, 4] Operation: 85-81=4 Exploring Operation: 85-40=45, Resulting Numbers: [81, 19, 45] Generated Node #0,1: 17:[81, 19, 45] Operation: 85-40=45 Exploring Operation: 81-19=62, Resulting Numbers: [40, 85, 62] Generated Node #0,2: 17:[40, 85, 62] Operation: 81-19=62 Exploring Operation: 81-40=41, Resulting Numbers: [85, 19, 41] Generated Node #0,3: 17:[85, 19, 41] Operation: 81-40=41 Moving to Node #0,0 Current State: 17:[40, 19, 4], Operations: ['85-81=4'] Exploring Operation: 40-4=36, Resulting Numbers: [19, 36] Generated Node #0,0,0: 17:[19, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [19, 10] Generated Node #0,0,1: 17:[19, 10] Operation: 40/4=10 Exploring Operation: 19-4=15, Resulting Numbers: [40, 15] Generated Node #0,0,2: 17:[40, 15] Operation: 19-4=15 Exploring Operation: 40-19=21, Resulting Numbers: [4, 21] Generated Node #0,0,3: 17:[4, 21] Operation: 40-19=21 Moving to Node #0,3 Current State: 17:[85, 19, 41], Operations: ['81-40=41'] Exploring Operation: 41-19=22, Resulting Numbers: [85, 22] Generated Node #0,3,0: 17:[85, 22] Operation: 41-19=22 Exploring Operation: 85-41=44, Resulting Numbers: [19, 44] Generated Node #0,3,1: 17:[19, 44] Operation: 85-41=44 Exploring Operation: 85-19=66, Resulting Numbers: [41, 66] Generated Node #0,3,2: 17:[41, 66] Operation: 85-19=66 Exploring Operation: 85+19=104, Resulting Numbers: [41, 104] Generated Node #0,3,3: 17:[41, 104] Operation: 85+19=104 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[19, 44], Operations: ['81-40=41', '85-41=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,17 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[85, 22], Operations: ['81-40=41', '41-19=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,17 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,17 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[41, 66], Operations: ['81-40=41', '85-19=66'] Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,17 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[41, 104], Operations: ['81-40=41', '85+19=104'] Exploring Operation: 41*104=4264, Resulting Numbers: [4264] 4264,17 unequal: No Solution Exploring Operation: 104-41=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 41+104=145, Resulting Numbers: [145] 145,17 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: 17:[81, 19, 45], Operations: ['85-40=45'] Exploring Operation: 81-45=36, Resulting Numbers: [19, 36] Generated Node #0,1,0: 17:[19, 36] Operation: 81-45=36 Exploring Operation: 45-19=26, Resulting Numbers: [81, 26] Generated Node #0,1,1: 17:[81, 26] Operation: 45-19=26 Exploring Operation: 81-19=62, Resulting Numbers: [45, 62] Generated Node #0,1,2: 17:[45, 62] Operation: 81-19=62 Exploring Operation: 81+19=100, Resulting Numbers: [45, 100] Generated Node #0,1,3: 17:[45, 100] Operation: 81+19=100 Moving to Node #0,2 Current State: 17:[40, 85, 62], Operations: ['81-19=62'] Exploring Operation: 85-62=23, Resulting Numbers: [40, 23] Generated Node #0,2,0: 17:[40, 23] Operation: 85-62=23 Exploring Operation: 85-40=45, Resulting Numbers: [62, 45] Generated Node #0,2,1: 17:[62, 45] Operation: 85-40=45 Exploring Operation: 62-40=22, Resulting Numbers: [85, 22] Generated Node #0,2,2: 17:[85, 22] Operation: 62-40=22 Exploring Operation: 40+85=125, Resulting Numbers: [62, 125] Generated Node #0,2,3: 17:[62, 125] Operation: 40+85=125 Moving to Node #0,0,1 Current State: 17:[19, 10], Operations: ['85-81=4', '40/4=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,17 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[4, 21], Operations: ['85-81=4', '40-19=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[81, 40, 85, 19], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [40, 19, 4] Generated Node #0,0: 17:[40, 19, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 17:[40, 19, 4], Operations: ['85-81=4'] Exploring Operation: 40-19=21, Resulting Numbers: [4, 21] Generated Node #0,0,3: 17:[4, 21] Operation: 40-19=21 Moving to Node #0,0,3 Current State: 17:[4, 21], Operations: ['85-81=4', '40-19=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 29, 20, 44, 38 ]
33
[ "29+20=49", "44+38=82", "82-49=33" ]
Current State: 33:[29, 20, 44, 38], Operations: [] Exploring Operation: 29+20=49, Resulting Numbers: [44, 38, 49] Generated Node #2: [44, 38, 49] from Operation: 29+20=49 Current State: 33:[44, 38, 49], Operations: ['29+20=49'] Exploring Operation: 44+38=82, Resulting Numbers: [49, 82] Generated Node #3: [49, 82] from Operation: 44+38=82 Current State: 33:[49, 82], Operations: ['29+20=49', '44+38=82'] Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[29, 20, 44, 38], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [20, 38, 15] Generated Node #0,0: 33:[20, 38, 15] Operation: 44-29=15 Exploring Operation: 44-20=24, Resulting Numbers: [29, 38, 24] Generated Node #0,1: 33:[29, 38, 24] Operation: 44-20=24 Exploring Operation: 29-20=9, Resulting Numbers: [44, 38, 9] Generated Node #0,2: 33:[44, 38, 9] Operation: 29-20=9 Exploring Operation: 44-38=6, Resulting Numbers: [29, 20, 6] Generated Node #0,3: 33:[29, 20, 6] Operation: 44-38=6 Moving to Node #0,3 Current State: 33:[29, 20, 6], Operations: ['44-38=6'] Exploring Operation: 29+6=35, Resulting Numbers: [20, 35] Generated Node #0,3,0: 33:[20, 35] Operation: 29+6=35 Exploring Operation: 29-20=9, Resulting Numbers: [6, 9] Generated Node #0,3,1: 33:[6, 9] Operation: 29-20=9 Exploring Operation: 20+6=26, Resulting Numbers: [29, 26] Generated Node #0,3,2: 33:[29, 26] Operation: 20+6=26 Exploring Operation: 20-6=14, Resulting Numbers: [29, 14] Generated Node #0,3,3: 33:[29, 14] Operation: 20-6=14 Moving to Node #0,1 Current State: 33:[29, 38, 24], Operations: ['44-20=24'] Exploring Operation: 29+24=53, Resulting Numbers: [38, 53] Generated Node #0,1,0: 33:[38, 53] Operation: 29+24=53 Exploring Operation: 38-24=14, Resulting Numbers: [29, 14] Generated Node #0,1,1: 33:[29, 14] Operation: 38-24=14 Exploring Operation: 29-24=5, Resulting Numbers: [38, 5] Generated Node #0,1,2: 33:[38, 5] Operation: 29-24=5 Exploring Operation: 38-29=9, Resulting Numbers: [24, 9] Generated Node #0,1,3: 33:[24, 9] Operation: 38-29=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[29, 14], Operations: ['44-20=24', '38-24=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,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,1,2 Current State: 33:[38, 5], Operations: ['44-20=24', '29-24=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,33 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[29, 20, 44, 38], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [29, 38, 24] Generated Node #0,1: 33:[29, 38, 24] Operation: 44-20=24 Moving to Node #0,1 Current State: 33:[29, 38, 24], Operations: ['44-20=24'] Exploring Operation: 29-24=5, Resulting Numbers: [38, 5] Generated Node #0,1,2: 33:[38, 5] Operation: 29-24=5 Moving to Node #0,1,2 Current State: 33:[38, 5], Operations: ['44-20=24', '29-24=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 79, 59, 98, 40 ]
78
[ "79-59=20", "98-40=58", "20+58=78" ]
Current State: 78:[79, 59, 98, 40], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [98, 40, 20] Generated Node #2: [98, 40, 20] from Operation: 79-59=20 Current State: 78:[98, 40, 20], Operations: ['79-59=20'] Exploring Operation: 98-40=58, Resulting Numbers: [20, 58] Generated Node #3: [20, 58] from Operation: 98-40=58 Current State: 78:[20, 58], Operations: ['79-59=20', '98-40=58'] Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[79, 59, 98, 40], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [79, 40, 39] Generated Node #0,0: 78:[79, 40, 39] Operation: 98-59=39 Exploring Operation: 98-79=19, Resulting Numbers: [59, 40, 19] Generated Node #0,1: 78:[59, 40, 19] Operation: 98-79=19 Exploring Operation: 79-59=20, Resulting Numbers: [98, 40, 20] Generated Node #0,2: 78:[98, 40, 20] Operation: 79-59=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[79, 40, 39], Operations: ['98-59=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79, 79] Generated Node #0,0,0: 78:[79, 79] Operation: 40+39=79 Exploring Operation: 79-39=40, Resulting Numbers: [40, 40] Generated Node #0,0,1: 78:[40, 40] Operation: 79-39=40 Exploring Operation: 79-40=39, Resulting Numbers: [39, 39] Generated Node #0,0,2: 78:[39, 39] Operation: 79-40=39 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[39, 39], Operations: ['98-59=39', '79-40=39'] Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[79, 59, 98, 40], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [79, 40, 39] Generated Node #0,0: 78:[79, 40, 39] Operation: 98-59=39 Moving to Node #0,0 Current State: 78:[79, 40, 39], Operations: ['98-59=39'] Exploring Operation: 79-40=39, Resulting Numbers: [39, 39] Generated Node #0,0,2: 78:[39, 39] Operation: 79-40=39 Moving to Node #0,0,2 Current State: 78:[39, 39], Operations: ['98-59=39', '79-40=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 46, 86, 6, 8 ]
56
[ "86-6=80", "80/8=10", "46+10=56" ]
Current State: 56:[46, 86, 6, 8], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [46, 8, 80] Generated Node #2: [46, 8, 80] from Operation: 86-6=80 Current State: 56:[46, 8, 80], Operations: ['86-6=80'] Exploring Operation: 80/8=10, Resulting Numbers: [46, 10] Generated Node #3: [46, 10] from Operation: 80/8=10 Current State: 56:[46, 10], Operations: ['86-6=80', '80/8=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[46, 86, 6, 8], Operations: [] Exploring Operation: 86-46=40, Resulting Numbers: [6, 8, 40] Generated Node #0,0: 56:[6, 8, 40] Operation: 86-46=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[6, 8, 40], Operations: ['86-46=40'] Exploring Operation: 40/8=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 56:[6, 5] Operation: 40/8=5 Moving to Node #0,0,0 Current State: 56:[6, 5], Operations: ['86-46=40', '40/8=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 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
[ 48, 4, 52, 74 ]
40
[ "74-52=22", "4*22=88", "88-48=40" ]
Current State: 40:[48, 4, 52, 74], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [48, 4, 22] Generated Node #2: [48, 4, 22] from Operation: 74-52=22 Current State: 40:[48, 4, 22], Operations: ['74-52=22'] Exploring Operation: 4*22=88, Resulting Numbers: [48, 88] Generated Node #3: [48, 88] from Operation: 4*22=88 Current State: 40:[48, 88], Operations: ['74-52=22', '4*22=88'] Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[48, 4, 52, 74], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [48, 4, 22] Generated Node #0,0: 40:[48, 4, 22] Operation: 74-52=22 Exploring Operation: 74-48=26, Resulting Numbers: [4, 52, 26] Generated Node #0,1: 40:[4, 52, 26] Operation: 74-48=26 Moving to Node #0,0 Current State: 40:[48, 4, 22], Operations: ['74-52=22'] Exploring Operation: 48-4=44, Resulting Numbers: [22, 44] Generated Node #0,0,0: 40:[22, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [22, 12] Generated Node #0,0,1: 40:[22, 12] Operation: 48/4=12 Moving to Node #0,1 Current State: 40:[4, 52, 26], Operations: ['74-48=26'] Exploring Operation: 52/26=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 40:[4, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [4, 26] Generated Node #0,1,1: 40:[4, 26] Operation: 52-26=26 Moving to Node #0,1,0 Current State: 40:[4, 2], Operations: ['74-48=26', '52/26=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[22, 12], Operations: ['74-52=22', '48/4=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[22, 44], Operations: ['74-52=22', '48-4=44'] Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[4, 26], Operations: ['74-48=26', '52-26=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,40 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 14, 2, 84, 90 ]
96
[ "14+2=16", "90-84=6", "16*6=96" ]
Current State: 96:[14, 2, 84, 90], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [84, 90, 16] Generated Node #2: [84, 90, 16] from Operation: 14+2=16 Current State: 96:[84, 90, 16], Operations: ['14+2=16'] Exploring Operation: 90-84=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 90-84=6 Current State: 96:[16, 6], Operations: ['14+2=16', '90-84=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[14, 2, 84, 90], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [14, 2, 6] Generated Node #0,0: 96:[14, 2, 6] Operation: 90-84=6 Exploring Operation: 84/14=6, Resulting Numbers: [2, 90, 6] Generated Node #0,1: 96:[2, 90, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[14, 2, 6], Operations: ['90-84=6'] Exploring Operation: 14+2=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 14+2=16 Exploring Operation: 14-2=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 96:[6, 12] Operation: 14-2=12 Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['90-84=6', '14+2=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[14, 2, 84, 90], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [14, 2, 6] Generated Node #0,0: 96:[14, 2, 6] Operation: 90-84=6 Moving to Node #0,0 Current State: 96:[14, 2, 6], Operations: ['90-84=6'] Exploring Operation: 14+2=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 14+2=16 Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['90-84=6', '14+2=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 18, 14, 49, 62 ]
45
[ "18+14=32", "62-49=13", "32+13=45" ]
Current State: 45:[18, 14, 49, 62], Operations: [] Exploring Operation: 18+14=32, Resulting Numbers: [49, 62, 32] Generated Node #2: [49, 62, 32] from Operation: 18+14=32 Current State: 45:[49, 62, 32], Operations: ['18+14=32'] Exploring Operation: 62-49=13, Resulting Numbers: [32, 13] Generated Node #3: [32, 13] from Operation: 62-49=13 Current State: 45:[32, 13], Operations: ['18+14=32', '62-49=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[18, 14, 49, 62], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [49, 62, 4] Generated Node #0,0: 45:[49, 62, 4] Operation: 18-14=4 Exploring Operation: 62-49=13, Resulting Numbers: [18, 14, 13] Generated Node #0,1: 45:[18, 14, 13] Operation: 62-49=13 Exploring Operation: 62-14=48, Resulting Numbers: [18, 49, 48] Generated Node #0,2: 45:[18, 49, 48] Operation: 62-14=48 Exploring Operation: 62-18=44, Resulting Numbers: [14, 49, 44] Generated Node #0,3: 45:[14, 49, 44] Operation: 62-18=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[18, 14, 13], Operations: ['62-49=13'] Exploring Operation: 18+14=32, Resulting Numbers: [13, 32] Generated Node #0,1,0: 45:[13, 32] Operation: 18+14=32 Exploring Operation: 18-14=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 45:[13, 4] Operation: 18-14=4 Exploring Operation: 14-13=1, Resulting Numbers: [18, 1] Generated Node #0,1,2: 45:[18, 1] Operation: 14-13=1 Exploring Operation: 18-13=5, Resulting Numbers: [14, 5] Generated Node #0,1,3: 45:[14, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[14, 5], Operations: ['62-49=13', '18-13=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[13, 4], Operations: ['62-49=13', '18-14=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[18, 1], Operations: ['62-49=13', '14-13=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[13, 32], Operations: ['62-49=13', '18+14=32'] Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,45 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[18, 14, 49, 62], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [18, 14, 13] Generated Node #0,1: 45:[18, 14, 13] Operation: 62-49=13 Moving to Node #0,1 Current State: 45:[18, 14, 13], Operations: ['62-49=13'] Exploring Operation: 18+14=32, Resulting Numbers: [13, 32] Generated Node #0,1,0: 45:[13, 32] Operation: 18+14=32 Moving to Node #0,1,0 Current State: 45:[13, 32], Operations: ['62-49=13', '18+14=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 12, 2, 44, 67 ]
83
[ "44-12=32", "32/2=16", "67+16=83" ]
Current State: 83:[12, 2, 44, 67], Operations: [] Exploring Operation: 44-12=32, Resulting Numbers: [2, 67, 32] Generated Node #2: [2, 67, 32] from Operation: 44-12=32 Current State: 83:[2, 67, 32], Operations: ['44-12=32'] Exploring Operation: 32/2=16, Resulting Numbers: [67, 16] Generated Node #3: [67, 16] from Operation: 32/2=16 Current State: 83:[67, 16], Operations: ['44-12=32', '32/2=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[12, 2, 44, 67], Operations: [] Exploring Operation: 12+44=56, Resulting Numbers: [2, 67, 56] Generated Node #0,0: 83:[2, 67, 56] Operation: 12+44=56 Exploring Operation: 2*44=88, Resulting Numbers: [12, 67, 88] Generated Node #0,1: 83:[12, 67, 88] Operation: 2*44=88 Exploring Operation: 12+2=14, Resulting Numbers: [44, 67, 14] Generated Node #0,2: 83:[44, 67, 14] Operation: 12+2=14 Exploring Operation: 12*2=24, Resulting Numbers: [44, 67, 24] Generated Node #0,3: 83:[44, 67, 24] Operation: 12*2=24 Moving to Node #0,1 Current State: 83:[12, 67, 88], Operations: ['2*44=88'] Exploring Operation: 67-12=55, Resulting Numbers: [88, 55] Generated Node #0,1,0: 83:[88, 55] Operation: 67-12=55 Exploring Operation: 12+88=100, Resulting Numbers: [67, 100] Generated Node #0,1,1: 83:[67, 100] Operation: 12+88=100 Exploring Operation: 88-12=76, Resulting Numbers: [67, 76] Generated Node #0,1,2: 83:[67, 76] Operation: 88-12=76 Exploring Operation: 12+67=79, Resulting Numbers: [88, 79] Generated Node #0,1,3: 83:[88, 79] Operation: 12+67=79 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[88, 79], Operations: ['2*44=88', '12+67=79'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 88+79=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 88*79=6952, Resulting Numbers: [6952] 6952,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[67, 76], Operations: ['2*44=88', '88-12=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,83 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[88, 55], Operations: ['2*44=88', '67-12=55'] Exploring Operation: 88+55=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 88*55=4840, Resulting Numbers: [4840] 4840,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[67, 100], Operations: ['2*44=88', '12+88=100'] Exploring Operation: 100-67=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 67+100=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 67*100=6700, Resulting Numbers: [6700] 6700,83 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: 83:[44, 67, 24], Operations: ['12*2=24'] Exploring Operation: 67-24=43, Resulting Numbers: [44, 43] Generated Node #0,3,0: 83:[44, 43] Operation: 67-24=43 Exploring Operation: 44+24=68, Resulting Numbers: [67, 68] Generated Node #0,3,1: 83:[67, 68] Operation: 44+24=68 Exploring Operation: 67+24=91, Resulting Numbers: [44, 91] Generated Node #0,3,2: 83:[44, 91] Operation: 67+24=91 Exploring Operation: 44-24=20, Resulting Numbers: [67, 20] Generated Node #0,3,3: 83:[67, 20] Operation: 44-24=20 Moving to Node #0,2 Current State: 83:[44, 67, 14], Operations: ['12+2=14'] Exploring Operation: 44+14=58, Resulting Numbers: [67, 58] Generated Node #0,2,0: 83:[67, 58] Operation: 44+14=58 Exploring Operation: 44-14=30, Resulting Numbers: [67, 30] Generated Node #0,2,1: 83:[67, 30] Operation: 44-14=30 Exploring Operation: 67+14=81, Resulting Numbers: [44, 81] Generated Node #0,2,2: 83:[44, 81] Operation: 67+14=81 Exploring Operation: 67-14=53, Resulting Numbers: [44, 53] Generated Node #0,2,3: 83:[44, 53] Operation: 67-14=53 Moving to Node #0,0 Current State: 83:[2, 67, 56], Operations: ['12+44=56'] Exploring Operation: 2*56=112, Resulting Numbers: [67, 112] Generated Node #0,0,0: 83:[67, 112] Operation: 2*56=112 Exploring Operation: 2+67=69, Resulting Numbers: [56, 69] Generated Node #0,0,1: 83:[56, 69] Operation: 2+67=69 Exploring Operation: 2+56=58, Resulting Numbers: [67, 58] Generated Node #0,0,2: 83:[67, 58] Operation: 2+56=58 Exploring Operation: 67-2=65, Resulting Numbers: [56, 65] Generated Node #0,0,3: 83:[56, 65] Operation: 67-2=65 Moving to Node #0,3,1 Current State: 83:[67, 68], Operations: ['12*2=24', '44+24=68'] Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,83 unequal: No Solution Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[44, 81], Operations: ['12+2=14', '67+14=81'] Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,83 unequal: No Solution Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[67, 58], Operations: ['12+2=14', '44+14=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[67, 58], Operations: ['12+44=56', '2+56=58'] Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[56, 69], Operations: ['12+44=56', '2+67=69'] Exploring Operation: 56*69=3864, Resulting Numbers: [3864] 3864,83 unequal: No Solution Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[56, 65], Operations: ['12+44=56', '67-2=65'] Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,83 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 56*65=3640, Resulting Numbers: [3640] 3640,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[67, 112], Operations: ['12+44=56', '2*56=112'] Exploring Operation: 67*112=7504, Resulting Numbers: [7504] 7504,83 unequal: No Solution Exploring Operation: 112-67=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 67+112=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[44, 91], Operations: ['12*2=24', '67+24=91'] Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,83 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[67, 30], Operations: ['12+2=14', '44-14=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,83 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[44, 53], Operations: ['12+2=14', '67-14=53'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 44*53=2332, Resulting Numbers: [2332] 2332,83 unequal: No Solution Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[67, 20], Operations: ['12*2=24', '44-24=20'] Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,83 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[44, 43], Operations: ['12*2=24', '67-24=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 73, 19, 42, 11 ]
39
[ "73+19=92", "42+11=53", "92-53=39" ]
Current State: 39:[73, 19, 42, 11], Operations: [] Exploring Operation: 73+19=92, Resulting Numbers: [42, 11, 92] Generated Node #2: [42, 11, 92] from Operation: 73+19=92 Current State: 39:[42, 11, 92], Operations: ['73+19=92'] Exploring Operation: 42+11=53, Resulting Numbers: [92, 53] Generated Node #3: [92, 53] from Operation: 42+11=53 Current State: 39:[92, 53], Operations: ['73+19=92', '42+11=53'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[73, 19, 42, 11], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [42, 11, 54] Generated Node #0,0: 39:[42, 11, 54] Operation: 73-19=54 Exploring Operation: 73-11=62, Resulting Numbers: [19, 42, 62] Generated Node #0,1: 39:[19, 42, 62] Operation: 73-11=62 Exploring Operation: 19-11=8, Resulting Numbers: [73, 42, 8] Generated Node #0,2: 39:[73, 42, 8] Operation: 19-11=8 Exploring Operation: 73-42=31, Resulting Numbers: [19, 11, 31] Generated Node #0,3: 39:[19, 11, 31] Operation: 73-42=31 Moving to Node #0,3 Current State: 39:[19, 11, 31], Operations: ['73-42=31'] Exploring Operation: 19+31=50, Resulting Numbers: [11, 50] Generated Node #0,3,0: 39:[11, 50] Operation: 19+31=50 Exploring Operation: 11+31=42, Resulting Numbers: [19, 42] Generated Node #0,3,1: 39:[19, 42] Operation: 11+31=42 Exploring Operation: 19-11=8, Resulting Numbers: [31, 8] Generated Node #0,3,2: 39:[31, 8] Operation: 19-11=8 Exploring Operation: 31-19=12, Resulting Numbers: [11, 12] Generated Node #0,3,3: 39:[11, 12] Operation: 31-19=12 Moving to Node #0,0 Current State: 39:[42, 11, 54], Operations: ['73-19=54'] Exploring Operation: 42-11=31, Resulting Numbers: [54, 31] Generated Node #0,0,0: 39:[54, 31] Operation: 42-11=31 Exploring Operation: 54-11=43, Resulting Numbers: [42, 43] Generated Node #0,0,1: 39:[42, 43] Operation: 54-11=43 Exploring Operation: 54-42=12, Resulting Numbers: [11, 12] Generated Node #0,0,2: 39:[11, 12] Operation: 54-42=12 Exploring Operation: 42+11=53, Resulting Numbers: [54, 53] Generated Node #0,0,3: 39:[54, 53] Operation: 42+11=53 Moving to Node #0,1 Current State: 39:[19, 42, 62], Operations: ['73-11=62'] Exploring Operation: 19+42=61, Resulting Numbers: [62, 61] Generated Node #0,1,0: 39:[62, 61] Operation: 19+42=61 Exploring Operation: 62-19=43, Resulting Numbers: [42, 43] Generated Node #0,1,1: 39:[42, 43] Operation: 62-19=43 Exploring Operation: 62-42=20, Resulting Numbers: [19, 20] Generated Node #0,1,2: 39:[19, 20] Operation: 62-42=20 Exploring Operation: 42-19=23, Resulting Numbers: [62, 23] Generated Node #0,1,3: 39:[62, 23] Operation: 42-19=23 Moving to Node #0,2 Current State: 39:[73, 42, 8], Operations: ['19-11=8'] Exploring Operation: 42-8=34, Resulting Numbers: [73, 34] Generated Node #0,2,0: 39:[73, 34] Operation: 42-8=34 Exploring Operation: 73-8=65, Resulting Numbers: [42, 65] Generated Node #0,2,1: 39:[42, 65] Operation: 73-8=65 Exploring Operation: 73+8=81, Resulting Numbers: [42, 81] Generated Node #0,2,2: 39:[42, 81] Operation: 73+8=81 Exploring Operation: 73-42=31, Resulting Numbers: [8, 31] Generated Node #0,2,3: 39:[8, 31] Operation: 73-42=31 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[8, 31], Operations: ['19-11=8', '73-42=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[73, 19, 42, 11], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [73, 42, 8] Generated Node #0,2: 39:[73, 42, 8] Operation: 19-11=8 Moving to Node #0,2 Current State: 39:[73, 42, 8], Operations: ['19-11=8'] Exploring Operation: 73-42=31, Resulting Numbers: [8, 31] Generated Node #0,2,3: 39:[8, 31] Operation: 73-42=31 Moving to Node #0,2,3 Current State: 39:[8, 31], Operations: ['19-11=8', '73-42=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 20, 37, 7, 53 ]
77
[ "37-20=17", "7+53=60", "17+60=77" ]
Current State: 77:[20, 37, 7, 53], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [7, 53, 17] Generated Node #2: [7, 53, 17] from Operation: 37-20=17 Current State: 77:[7, 53, 17], Operations: ['37-20=17'] Exploring Operation: 7+53=60, Resulting Numbers: [17, 60] Generated Node #3: [17, 60] from Operation: 7+53=60 Current State: 77:[17, 60], Operations: ['37-20=17', '7+53=60'] Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 37, 7, 53], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [7, 53, 17] Generated Node #0,0: 77:[7, 53, 17] Operation: 37-20=17 Exploring Operation: 37+53=90, Resulting Numbers: [20, 7, 90] Generated Node #0,1: 77:[20, 7, 90] Operation: 37+53=90 Exploring Operation: 53-37=16, Resulting Numbers: [20, 7, 16] Generated Node #0,2: 77:[20, 7, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[20, 7, 16], Operations: ['53-37=16'] Exploring Operation: 20-7=13, Resulting Numbers: [16, 13] Generated Node #0,2,0: 77:[16, 13] Operation: 20-7=13 Exploring Operation: 16-7=9, Resulting Numbers: [20, 9] Generated Node #0,2,1: 77:[20, 9] Operation: 16-7=9 Exploring Operation: 20-16=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 77:[7, 4] Operation: 20-16=4 Moving to Node #0,2,2 Current State: 77:[7, 4], Operations: ['53-37=16', '20-16=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[16, 13], Operations: ['53-37=16', '20-7=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,77 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[20, 9], Operations: ['53-37=16', '16-7=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[20, 7, 90], Operations: ['37+53=90'] Exploring Operation: 90-20=70, Resulting Numbers: [7, 70] Generated Node #0,1,0: 77:[7, 70] Operation: 90-20=70 Exploring Operation: 90-7=83, Resulting Numbers: [20, 83] Generated Node #0,1,1: 77:[20, 83] Operation: 90-7=83 Exploring Operation: 20-7=13, Resulting Numbers: [90, 13] Generated Node #0,1,2: 77:[90, 13] Operation: 20-7=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[7, 70], Operations: ['37+53=90', '90-20=70'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[20, 37, 7, 53], Operations: [] Exploring Operation: 37+53=90, Resulting Numbers: [20, 7, 90] Generated Node #0,1: 77:[20, 7, 90] Operation: 37+53=90 Moving to Node #0,1 Current State: 77:[20, 7, 90], Operations: ['37+53=90'] Exploring Operation: 90-20=70, Resulting Numbers: [7, 70] Generated Node #0,1,0: 77:[7, 70] Operation: 90-20=70 Moving to Node #0,1,0 Current State: 77:[7, 70], Operations: ['37+53=90', '90-20=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 18, 30, 55, 6 ]
22
[ "18-6=12", "55*12=660", "660/30=22" ]
Current State: 22:[18, 30, 55, 6], Operations: [] Exploring Operation: 18-6=12, Resulting Numbers: [30, 55, 12] Generated Node #2: [30, 55, 12] from Operation: 18-6=12 Current State: 22:[30, 55, 12], Operations: ['18-6=12'] Exploring Operation: 55*12=660, Resulting Numbers: [30, 660] Generated Node #3: [30, 660] from Operation: 55*12=660 Current State: 22:[30, 660], Operations: ['18-6=12', '55*12=660'] Exploring Operation: 660/30=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 30, 55, 6], Operations: [] Exploring Operation: 55-18=37, Resulting Numbers: [30, 6, 37] Generated Node #0,0: 22:[30, 6, 37] Operation: 55-18=37 Exploring Operation: 55-6=49, Resulting Numbers: [18, 30, 49] Generated Node #0,1: 22:[18, 30, 49] Operation: 55-6=49 Exploring Operation: 55-30=25, Resulting Numbers: [18, 6, 25] Generated Node #0,2: 22:[18, 6, 25] Operation: 55-30=25 Exploring Operation: 30-6=24, Resulting Numbers: [18, 55, 24] Generated Node #0,3: 22:[18, 55, 24] Operation: 30-6=24 Exploring Operation: 30-18=12, Resulting Numbers: [55, 6, 12] Generated Node #0,4: 22:[55, 6, 12] Operation: 30-18=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[18, 6, 25], Operations: ['55-30=25'] Exploring Operation: 25-6=19, Resulting Numbers: [18, 19] Generated Node #0,2,0: 22:[18, 19] Operation: 25-6=19 Exploring Operation: 18+6=24, Resulting Numbers: [25, 24] Generated Node #0,2,1: 22:[25, 24] Operation: 18+6=24 Exploring Operation: 25-18=7, Resulting Numbers: [6, 7] Generated Node #0,2,2: 22:[6, 7] Operation: 25-18=7 Exploring Operation: 18-6=12, Resulting Numbers: [25, 12] Generated Node #0,2,3: 22:[25, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [25, 3] Generated Node #0,2,4: 22:[25, 3] Operation: 18/6=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 22:[25, 12], Operations: ['55-30=25', '18-6=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,22 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,22 unequal: No Solution No 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: 22:[25, 3], Operations: ['55-30=25', '18/6=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[18, 30, 55, 6], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [18, 6, 25] Generated Node #0,2: 22:[18, 6, 25] Operation: 55-30=25 Moving to Node #0,2 Current State: 22:[18, 6, 25], Operations: ['55-30=25'] Exploring Operation: 18/6=3, Resulting Numbers: [25, 3] Generated Node #0,2,4: 22:[25, 3] Operation: 18/6=3 Moving to Node #0,2,4 Current State: 22:[25, 3], Operations: ['55-30=25', '18/6=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 90, 61, 40, 30 ]
63
[ "90/30=3", "61-40=21", "3*21=63" ]
Current State: 63:[90, 61, 40, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [61, 40, 3] Generated Node #2: [61, 40, 3] from Operation: 90/30=3 Current State: 63:[61, 40, 3], Operations: ['90/30=3'] Exploring Operation: 61-40=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 61-40=21 Current State: 63:[3, 21], Operations: ['90/30=3', '61-40=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[90, 61, 40, 30], Operations: [] Exploring Operation: 90-30=60, Resulting Numbers: [61, 40, 60] Generated Node #0,0: 63:[61, 40, 60] Operation: 90-30=60 Exploring Operation: 40-30=10, Resulting Numbers: [90, 61, 10] Generated Node #0,1: 63:[90, 61, 10] Operation: 40-30=10 Exploring Operation: 90-40=50, Resulting Numbers: [61, 30, 50] Generated Node #0,2: 63:[61, 30, 50] Operation: 90-40=50 Exploring Operation: 90/30=3, Resulting Numbers: [61, 40, 3] Generated Node #0,3: 63:[61, 40, 3] Operation: 90/30=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[61, 40, 3], Operations: ['90/30=3'] Exploring Operation: 61-40=21, Resulting Numbers: [3, 21] Generated Node #0,3,0: 63:[3, 21] Operation: 61-40=21 Exploring Operation: 40-3=37, Resulting Numbers: [61, 37] Generated Node #0,3,1: 63:[61, 37] Operation: 40-3=37 Exploring Operation: 61+3=64, Resulting Numbers: [40, 64] Generated Node #0,3,2: 63:[40, 64] Operation: 61+3=64 Exploring Operation: 40+3=43, Resulting Numbers: [61, 43] Generated Node #0,3,3: 63:[61, 43] Operation: 40+3=43 Moving to Node #0,3,0 Current State: 63:[3, 21], Operations: ['90/30=3', '61-40=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[90, 61, 40, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [61, 40, 3] Generated Node #0,3: 63:[61, 40, 3] Operation: 90/30=3 Moving to Node #0,3 Current State: 63:[61, 40, 3], Operations: ['90/30=3'] Exploring Operation: 61-40=21, Resulting Numbers: [3, 21] Generated Node #0,3,0: 63:[3, 21] Operation: 61-40=21 Moving to Node #0,3,0 Current State: 63:[3, 21], Operations: ['90/30=3', '61-40=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 20, 83, 47, 66 ]
44
[ "83-20=63", "66-47=19", "63-19=44" ]
Current State: 44:[20, 83, 47, 66], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [47, 66, 63] Generated Node #2: [47, 66, 63] from Operation: 83-20=63 Current State: 44:[47, 66, 63], Operations: ['83-20=63'] Exploring Operation: 66-47=19, Resulting Numbers: [63, 19] Generated Node #3: [63, 19] from Operation: 66-47=19 Current State: 44:[63, 19], Operations: ['83-20=63', '66-47=19'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[20, 83, 47, 66], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [83, 47, 46] Generated Node #0,0: 44:[83, 47, 46] Operation: 66-20=46 Exploring Operation: 66-47=19, Resulting Numbers: [20, 83, 19] Generated Node #0,1: 44:[20, 83, 19] Operation: 66-47=19 Exploring Operation: 83-47=36, Resulting Numbers: [20, 66, 36] Generated Node #0,2: 44:[20, 66, 36] Operation: 83-47=36 Exploring Operation: 83-20=63, Resulting Numbers: [47, 66, 63] Generated Node #0,3: 44:[47, 66, 63] Operation: 83-20=63 Exploring Operation: 83-66=17, Resulting Numbers: [20, 47, 17] Generated Node #0,4: 44:[20, 47, 17] Operation: 83-66=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[20, 47, 17], Operations: ['83-66=17'] Exploring Operation: 20+17=37, Resulting Numbers: [47, 37] Generated Node #0,4,0: 44:[47, 37] Operation: 20+17=37 Exploring Operation: 47+17=64, Resulting Numbers: [20, 64] Generated Node #0,4,1: 44:[20, 64] Operation: 47+17=64 Exploring Operation: 47-20=27, Resulting Numbers: [17, 27] Generated Node #0,4,2: 44:[17, 27] Operation: 47-20=27 Exploring Operation: 47-17=30, Resulting Numbers: [20, 30] Generated Node #0,4,3: 44:[20, 30] Operation: 47-17=30 Exploring Operation: 20-17=3, Resulting Numbers: [47, 3] Generated Node #0,4,4: 44:[47, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 44:[47, 3], Operations: ['83-66=17', '20-17=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,44 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[20, 83, 47, 66], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [20, 47, 17] Generated Node #0,4: 44:[20, 47, 17] Operation: 83-66=17 Moving to Node #0,4 Current State: 44:[20, 47, 17], Operations: ['83-66=17'] Exploring Operation: 20-17=3, Resulting Numbers: [47, 3] Generated Node #0,4,4: 44:[47, 3] Operation: 20-17=3 Moving to Node #0,4,4 Current State: 44:[47, 3], Operations: ['83-66=17', '20-17=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 24, 19, 41, 95 ]
22
[ "24-19=5", "95/5=19", "41-19=22" ]
Current State: 22:[24, 19, 41, 95], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [41, 95, 5] Generated Node #2: [41, 95, 5] from Operation: 24-19=5 Current State: 22:[41, 95, 5], Operations: ['24-19=5'] Exploring Operation: 95/5=19, Resulting Numbers: [41, 19] Generated Node #3: [41, 19] from Operation: 95/5=19 Current State: 22:[41, 19], Operations: ['24-19=5', '95/5=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[24, 19, 41, 95], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [24, 41, 5] Generated Node #0,0: 22:[24, 41, 5] Operation: 95/19=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[24, 41, 5], Operations: ['95/19=5'] Exploring Operation: 41-24=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 22:[5, 17] Operation: 41-24=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[5, 17], Operations: ['95/19=5', '41-24=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[24, 19, 41, 95], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [24, 41, 5] Generated Node #0,0: 22:[24, 41, 5] Operation: 95/19=5 Moving to Node #0,0 Current State: 22:[24, 41, 5], Operations: ['95/19=5'] Exploring Operation: 41-24=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 22:[5, 17] Operation: 41-24=17 Moving to Node #0,0,0 Current State: 22:[5, 17], Operations: ['95/19=5', '41-24=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 70, 53, 57, 44 ]
81
[ "57-53=4", "44/4=11", "70+11=81" ]
Current State: 81:[70, 53, 57, 44], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [70, 44, 4] Generated Node #2: [70, 44, 4] from Operation: 57-53=4 Current State: 81:[70, 44, 4], Operations: ['57-53=4'] Exploring Operation: 44/4=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 44/4=11 Current State: 81:[70, 11], Operations: ['57-53=4', '44/4=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 53, 57, 44], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [70, 44, 4] Generated Node #0,0: 81:[70, 44, 4] Operation: 57-53=4 Exploring Operation: 53-44=9, Resulting Numbers: [70, 57, 9] Generated Node #0,1: 81:[70, 57, 9] Operation: 53-44=9 Exploring Operation: 57-44=13, Resulting Numbers: [70, 53, 13] Generated Node #0,2: 81:[70, 53, 13] Operation: 57-44=13 Moving to Node #0,0 Current State: 81:[70, 44, 4], Operations: ['57-53=4'] Exploring Operation: 70-44=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 81:[4, 26] Operation: 70-44=26 Exploring Operation: 44/4=11, Resulting Numbers: [70, 11] Generated Node #0,0,1: 81:[70, 11] Operation: 44/4=11 Exploring Operation: 70+4=74, Resulting Numbers: [44, 74] Generated Node #0,0,2: 81:[44, 74] Operation: 70+4=74 Moving to Node #0,1 Current State: 81:[70, 57, 9], Operations: ['53-44=9'] Exploring Operation: 70-57=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 81:[9, 13] Operation: 70-57=13 Exploring Operation: 57+9=66, Resulting Numbers: [70, 66] Generated Node #0,1,1: 81:[70, 66] Operation: 57+9=66 Exploring Operation: 70+9=79, Resulting Numbers: [57, 79] Generated Node #0,1,2: 81:[57, 79] Operation: 70+9=79 Moving to Node #0,2 Current State: 81:[70, 53, 13], Operations: ['57-44=13'] Exploring Operation: 53-13=40, Resulting Numbers: [70, 40] Generated Node #0,2,0: 81:[70, 40] Operation: 53-13=40 Exploring Operation: 70-53=17, Resulting Numbers: [13, 17] Generated Node #0,2,1: 81:[13, 17] Operation: 70-53=17 Exploring Operation: 53+13=66, Resulting Numbers: [70, 66] Generated Node #0,2,2: 81:[70, 66] Operation: 53+13=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[13, 17], Operations: ['57-44=13', '70-53=17'] Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,81 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[70, 40], Operations: ['57-44=13', '53-13=40'] Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,81 unequal: No Solution Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,81 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[70, 66], Operations: ['57-44=13', '53+13=66'] Exploring Operation: 70*66=4620, Resulting Numbers: [4620] 4620,81 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 70+66=136, Resulting Numbers: [136] 136,81 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: 81:[4, 26], Operations: ['57-53=4', '70-44=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[9, 13], Operations: ['53-44=9', '70-57=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[70, 11], Operations: ['57-53=4', '44/4=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,81 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[70, 53, 57, 44], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [70, 44, 4] Generated Node #0,0: 81:[70, 44, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 81:[70, 44, 4], Operations: ['57-53=4'] Exploring Operation: 44/4=11, Resulting Numbers: [70, 11] Generated Node #0,0,1: 81:[70, 11] Operation: 44/4=11 Moving to Node #0,0,1 Current State: 81:[70, 11], Operations: ['57-53=4', '44/4=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.971354
hs_3
mult_heuristic
[ 90, 29, 29, 76 ]
90
[ "29-29=0", "76*0=0", "90+0=90" ]
Current State: 90:[90, 29, 29, 76], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [90, 76, 0] Generated Node #2: [90, 76, 0] from Operation: 29-29=0 Current State: 90:[90, 76, 0], Operations: ['29-29=0'] Exploring Operation: 76*0=0, Resulting Numbers: [90, 0] Generated Node #3: [90, 0] from Operation: 76*0=0 Current State: 90:[90, 0], Operations: ['29-29=0', '76*0=0'] Exploring Operation: 90+0=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[90, 29, 29, 76], Operations: [] Exploring Operation: 29/29=1, Resulting Numbers: [90, 76, 1] Generated Node #0,0: 90:[90, 76, 1] Operation: 29/29=1 Exploring Operation: 76-29=47, Resulting Numbers: [90, 29, 47] Generated Node #0,1: 90:[90, 29, 47] Operation: 76-29=47 Exploring Operation: 90-76=14, Resulting Numbers: [29, 29, 14] Generated Node #0,2: 90:[29, 29, 14] Operation: 90-76=14 Exploring Operation: 76-29=47, Resulting Numbers: [90, 29, 47] Generated Node #0,3: 90:[90, 29, 47] Operation: 76-29=47 Exploring Operation: 29-29=0, Resulting Numbers: [90, 76, 0] Generated Node #0,4: 90:[90, 76, 0] Operation: 29-29=0 Moving to Node #0,1 Current State: 90:[90, 29, 47], Operations: ['76-29=47'] Exploring Operation: 90+29=119, Resulting Numbers: [47, 119] Generated Node #0,1,0: 90:[47, 119] Operation: 90+29=119 Exploring Operation: 29+47=76, Resulting Numbers: [90, 76] Generated Node #0,1,1: 90:[90, 76] Operation: 29+47=76 Exploring Operation: 90-47=43, Resulting Numbers: [29, 43] Generated Node #0,1,2: 90:[29, 43] Operation: 90-47=43 Exploring Operation: 47-29=18, Resulting Numbers: [90, 18] Generated Node #0,1,3: 90:[90, 18] Operation: 47-29=18 Exploring Operation: 90-29=61, Resulting Numbers: [47, 61] Generated Node #0,1,4: 90:[47, 61] Operation: 90-29=61 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[90, 18], Operations: ['76-29=47', '47-29=18'] Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,90 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,90 unequal: No Solution No 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: 90:[29, 43], Operations: ['76-29=47', '90-47=43'] Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,90 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,90 unequal: No Solution No 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: 90:[90, 76], Operations: ['76-29=47', '29+47=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,90 unequal: No Solution Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,90 unequal: No Solution No 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: 90:[47, 61], Operations: ['76-29=47', '90-29=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,90 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,90 unequal: No Solution No 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: 90:[47, 119], Operations: ['76-29=47', '90+29=119'] Exploring Operation: 119-47=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 47*119=5593, Resulting Numbers: [5593] 5593,90 unequal: No Solution Exploring Operation: 47+119=166, Resulting Numbers: [166] 166,90 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: 90:[90, 29, 47], Operations: ['76-29=47'] Exploring Operation: 90+29=119, Resulting Numbers: [47, 119] Generated Node #0,3,0: 90:[47, 119] Operation: 90+29=119 Exploring Operation: 29+47=76, Resulting Numbers: [90, 76] Generated Node #0,3,1: 90:[90, 76] Operation: 29+47=76 Exploring Operation: 47-29=18, Resulting Numbers: [90, 18] Generated Node #0,3,2: 90:[90, 18] Operation: 47-29=18 Exploring Operation: 90-29=61, Resulting Numbers: [47, 61] Generated Node #0,3,3: 90:[47, 61] Operation: 90-29=61 Exploring Operation: 90-47=43, Resulting Numbers: [29, 43] Generated Node #0,3,4: 90:[29, 43] Operation: 90-47=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[90, 18], Operations: ['76-29=47', '47-29=18'] Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,90 unequal: No Solution No 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: 90:[29, 43], Operations: ['76-29=47', '90-47=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,90 unequal: No Solution No 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: 90:[90, 76], Operations: ['76-29=47', '29+47=76'] Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,90 unequal: No Solution Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,90 unequal: No Solution No 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: 90:[47, 61], Operations: ['76-29=47', '90-29=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,90 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,90 unequal: No Solution No 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: 90:[47, 119], Operations: ['76-29=47', '90+29=119'] Exploring Operation: 119-47=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 47*119=5593, Resulting Numbers: [5593] 5593,90 unequal: No Solution Exploring Operation: 47+119=166, Resulting Numbers: [166] 166,90 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: 90:[29, 29, 14], Operations: ['90-76=14'] Exploring Operation: 29+14=43, Resulting Numbers: [29, 43] Generated Node #0,2,0: 90:[29, 43] Operation: 29+14=43 Exploring Operation: 29-14=15, Resulting Numbers: [29, 15] Generated Node #0,2,1: 90:[29, 15] Operation: 29-14=15 Exploring Operation: 29-14=15, Resulting Numbers: [29, 15] Generated Node #0,2,2: 90:[29, 15] Operation: 29-14=15 Exploring Operation: 29-29=0, Resulting Numbers: [14, 0] Generated Node #0,2,3: 90:[14, 0] Operation: 29-29=0 Exploring Operation: 29/29=1, Resulting Numbers: [14, 1] Generated Node #0,2,4: 90:[14, 1] Operation: 29/29=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[29, 15], Operations: ['90-76=14', '29-14=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,90 unequal: No Solution No 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: 90:[29, 15], Operations: ['90-76=14', '29-14=15'] Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,90 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,90 unequal: No Solution No 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: 90:[14, 1], Operations: ['90-76=14', '29/29=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,90 unequal: No Solution No 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: 90:[29, 43], Operations: ['90-76=14', '29+14=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,90 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,90 unequal: No Solution No 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: 90:[14, 0], Operations: ['90-76=14', '29-29=0'] Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,90 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: 90:[90, 76, 1], Operations: ['29/29=1'] Exploring Operation: 90-76=14, Resulting Numbers: [1, 14] Generated Node #0,0,0: 90:[1, 14] Operation: 90-76=14 Exploring Operation: 90*1=90, Resulting Numbers: [76, 90] Generated Node #0,0,1: 90:[76, 90] Operation: 90*1=90 Exploring Operation: 76*1=76, Resulting Numbers: [90, 76] Generated Node #0,0,2: 90:[90, 76] Operation: 76*1=76 Exploring Operation: 76+1=77, Resulting Numbers: [90, 77] Generated Node #0,0,3: 90:[90, 77] Operation: 76+1=77 Exploring Operation: 90/1=90, Resulting Numbers: [76, 90] Generated Node #0,0,4: 90:[76, 90] Operation: 90/1=90 Moving to Node #0,4 Current State: 90:[90, 76, 0], Operations: ['29-29=0'] Exploring Operation: 90-0=90, Resulting Numbers: [76, 90] Generated Node #0,4,0: 90:[76, 90] Operation: 90-0=90 Exploring Operation: 90-76=14, Resulting Numbers: [0, 14] Generated Node #0,4,1: 90:[0, 14] Operation: 90-76=14 Exploring Operation: 76+0=76, Resulting Numbers: [90, 76] Generated Node #0,4,2: 90:[90, 76] Operation: 76+0=76 Exploring Operation: 76*0=0, Resulting Numbers: [90, 0] Generated Node #0,4,3: 90:[90, 0] Operation: 76*0=0 Exploring Operation: 90+0=90, Resulting Numbers: [76, 90] Generated Node #0,4,4: 90:[76, 90] Operation: 90+0=90 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 90:[90, 0], Operations: ['29-29=0', '76*0=0'] Exploring Operation: 90-0=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[90, 29, 29, 76], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [90, 76, 0] Generated Node #0,4: 90:[90, 76, 0] Operation: 29-29=0 Moving to Node #0,4 Current State: 90:[90, 76, 0], Operations: ['29-29=0'] Exploring Operation: 76*0=0, Resulting Numbers: [90, 0] Generated Node #0,4,3: 90:[90, 0] Operation: 76*0=0 Moving to Node #0,4,3 Current State: 90:[90, 0], Operations: ['29-29=0', '76*0=0'] Exploring Operation: 90-0=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
mult_heuristic
[ 97, 49, 66, 71 ]
100
[ "71-49=22", "66/22=3", "97+3=100" ]
Current State: 100:[97, 49, 66, 71], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [97, 66, 22] Generated Node #2: [97, 66, 22] from Operation: 71-49=22 Current State: 100:[97, 66, 22], Operations: ['71-49=22'] Exploring Operation: 66/22=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 66/22=3 Current State: 100:[97, 3], Operations: ['71-49=22', '66/22=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[97, 49, 66, 71], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [49, 66, 26] Generated Node #0,0: 100:[49, 66, 26] Operation: 97-71=26 Exploring Operation: 71-49=22, Resulting Numbers: [97, 66, 22] Generated Node #0,1: 100:[97, 66, 22] Operation: 71-49=22 Exploring Operation: 97-66=31, Resulting Numbers: [49, 71, 31] Generated Node #0,2: 100:[49, 71, 31] Operation: 97-66=31 Exploring Operation: 71-66=5, Resulting Numbers: [97, 49, 5] Generated Node #0,3: 100:[97, 49, 5] Operation: 71-66=5 Exploring Operation: 66-49=17, Resulting Numbers: [97, 71, 17] Generated Node #0,4: 100:[97, 71, 17] Operation: 66-49=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[97, 49, 5], Operations: ['71-66=5'] Exploring Operation: 97-5=92, Resulting Numbers: [49, 92] Generated Node #0,3,0: 100:[49, 92] Operation: 97-5=92 Exploring Operation: 49+5=54, Resulting Numbers: [97, 54] Generated Node #0,3,1: 100:[97, 54] Operation: 49+5=54 Exploring Operation: 97+5=102, Resulting Numbers: [49, 102] Generated Node #0,3,2: 100:[49, 102] Operation: 97+5=102 Exploring Operation: 49-5=44, Resulting Numbers: [97, 44] Generated Node #0,3,3: 100:[97, 44] Operation: 49-5=44 Exploring Operation: 97-49=48, Resulting Numbers: [5, 48] Generated Node #0,3,4: 100:[5, 48] Operation: 97-49=48 Moving to Node #0,3,4 Current State: 100:[5, 48], Operations: ['71-66=5', '97-49=48'] Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[49, 102], Operations: ['71-66=5', '97+5=102'] Exploring Operation: 49+102=151, Resulting Numbers: [151] 151,100 unequal: No Solution Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 49*102=4998, Resulting Numbers: [4998] 4998,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[97, 54], Operations: ['71-66=5', '49+5=54'] Exploring Operation: 97+54=151, Resulting Numbers: [151] 151,100 unequal: No Solution Exploring Operation: 97*54=5238, Resulting Numbers: [5238] 5238,100 unequal: No Solution Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[49, 92], Operations: ['71-66=5', '97-5=92'] Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,100 unequal: No Solution Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,100 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[97, 44], Operations: ['71-66=5', '49-5=44'] Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,100 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,100 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,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 Current State: 100:[49, 66, 26], Operations: ['97-71=26'] Exploring Operation: 66+26=92, Resulting Numbers: [49, 92] Generated Node #0,0,0: 100:[49, 92] Operation: 66+26=92 Exploring Operation: 66-49=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 100:[26, 17] Operation: 66-49=17 Exploring Operation: 49-26=23, Resulting Numbers: [66, 23] Generated Node #0,0,2: 100:[66, 23] Operation: 49-26=23 Exploring Operation: 66-26=40, Resulting Numbers: [49, 40] Generated Node #0,0,3: 100:[49, 40] Operation: 66-26=40 Exploring Operation: 49+66=115, Resulting Numbers: [26, 115] Generated Node #0,0,4: 100:[26, 115] Operation: 49+66=115 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[26, 17], Operations: ['97-71=26', '66-49=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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[49, 92], Operations: ['97-71=26', '66+26=92'] Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,100 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[49, 40], Operations: ['97-71=26', '66-26=40'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,100 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 100:[26, 115], Operations: ['97-71=26', '49+66=115'] Exploring Operation: 26+115=141, Resulting Numbers: [141] 141,100 unequal: No Solution Exploring Operation: 26*115=2990, Resulting Numbers: [2990] 2990,100 unequal: No Solution Exploring Operation: 115-26=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[66, 23], Operations: ['97-71=26', '49-26=23'] Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,100 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[97, 66, 22], Operations: ['71-49=22'] Exploring Operation: 97+22=119, Resulting Numbers: [66, 119] Generated Node #0,1,0: 100:[66, 119] Operation: 97+22=119 Exploring Operation: 97-66=31, Resulting Numbers: [22, 31] Generated Node #0,1,1: 100:[22, 31] Operation: 97-66=31 Exploring Operation: 66/22=3, Resulting Numbers: [97, 3] Generated Node #0,1,2: 100:[97, 3] Operation: 66/22=3 Exploring Operation: 66+22=88, Resulting Numbers: [97, 88] Generated Node #0,1,3: 100:[97, 88] Operation: 66+22=88 Exploring Operation: 66-22=44, Resulting Numbers: [97, 44] Generated Node #0,1,4: 100:[97, 44] Operation: 66-22=44 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[97, 3], Operations: ['71-49=22', '66/22=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[97, 49, 66, 71], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [97, 66, 22] Generated Node #0,1: 100:[97, 66, 22] Operation: 71-49=22 Moving to Node #0,1 Current State: 100:[97, 66, 22], Operations: ['71-49=22'] Exploring Operation: 66/22=3, Resulting Numbers: [97, 3] Generated Node #0,1,2: 100:[97, 3] Operation: 66/22=3 Moving to Node #0,1,2 Current State: 100:[97, 3], Operations: ['71-49=22', '66/22=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 68, 46, 51, 31 ]
87
[ "51-46=5", "31*5=155", "155-68=87" ]
Current State: 87:[68, 46, 51, 31], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [68, 31, 5] Generated Node #2: [68, 31, 5] from Operation: 51-46=5 Current State: 87:[68, 31, 5], Operations: ['51-46=5'] Exploring Operation: 31*5=155, Resulting Numbers: [68, 155] Generated Node #3: [68, 155] from Operation: 31*5=155 Current State: 87:[68, 155], Operations: ['51-46=5', '31*5=155'] Exploring Operation: 155-68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[68, 46, 51, 31], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [51, 31, 22] Generated Node #0,0: 87:[51, 31, 22] Operation: 68-46=22 Exploring Operation: 51-46=5, Resulting Numbers: [68, 31, 5] Generated Node #0,1: 87:[68, 31, 5] Operation: 51-46=5 Moving to Node #0,1 Current State: 87:[68, 31, 5], Operations: ['51-46=5'] Exploring Operation: 68-31=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 87:[5, 37] Operation: 68-31=37 Exploring Operation: 68+31=99, Resulting Numbers: [5, 99] Generated Node #0,1,1: 87:[5, 99] Operation: 68+31=99 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[5, 37], Operations: ['51-46=5', '68-31=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[5, 99], Operations: ['51-46=5', '68+31=99'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,87 unequal: No Solution Exploring Operation: 5+99=104, Resulting Numbers: [104] 104,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:[51, 31, 22], Operations: ['68-46=22'] Exploring Operation: 51+31=82, Resulting Numbers: [22, 82] Generated Node #0,0,0: 87:[22, 82] Operation: 51+31=82 Exploring Operation: 51-22=29, Resulting Numbers: [31, 29] Generated Node #0,0,1: 87:[31, 29] Operation: 51-22=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[31, 29], Operations: ['68-46=22', '51-22=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,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,0,0 Current State: 87:[22, 82], Operations: ['68-46=22', '51+31=82'] Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,87 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
[ 11, 54, 43, 53 ]
75
[ "11+54=65", "53-43=10", "65+10=75" ]
Current State: 75:[11, 54, 43, 53], Operations: [] Exploring Operation: 11+54=65, Resulting Numbers: [43, 53, 65] Generated Node #2: [43, 53, 65] from Operation: 11+54=65 Current State: 75:[43, 53, 65], Operations: ['11+54=65'] Exploring Operation: 53-43=10, Resulting Numbers: [65, 10] Generated Node #3: [65, 10] from Operation: 53-43=10 Current State: 75:[65, 10], Operations: ['11+54=65', '53-43=10'] Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 54, 43, 53], Operations: [] Exploring Operation: 43+53=96, Resulting Numbers: [11, 54, 96] Generated Node #0,0: 75:[11, 54, 96] Operation: 43+53=96 Exploring Operation: 54-53=1, Resulting Numbers: [11, 43, 1] Generated Node #0,1: 75:[11, 43, 1] Operation: 54-53=1 Exploring Operation: 53-43=10, Resulting Numbers: [11, 54, 10] Generated Node #0,2: 75:[11, 54, 10] Operation: 53-43=10 Exploring Operation: 54-43=11, Resulting Numbers: [11, 53, 11] Generated Node #0,3: 75:[11, 53, 11] Operation: 54-43=11 Moving to Node #0,1 Current State: 75:[11, 43, 1], Operations: ['54-53=1'] Exploring Operation: 11*1=11, Resulting Numbers: [43, 11] Generated Node #0,1,0: 75:[43, 11] Operation: 11*1=11 Exploring Operation: 11+1=12, Resulting Numbers: [43, 12] Generated Node #0,1,1: 75:[43, 12] Operation: 11+1=12 Exploring Operation: 43-1=42, Resulting Numbers: [11, 42] Generated Node #0,1,2: 75:[11, 42] Operation: 43-1=42 Exploring Operation: 43-11=32, Resulting Numbers: [1, 32] Generated Node #0,1,3: 75:[1, 32] Operation: 43-11=32 Moving to Node #0,3 Current State: 75:[11, 53, 11], Operations: ['54-43=11'] Exploring Operation: 53+11=64, Resulting Numbers: [11, 64] Generated Node #0,3,0: 75:[11, 64] Operation: 53+11=64 Exploring Operation: 11+53=64, Resulting Numbers: [11, 64] Generated Node #0,3,1: 75:[11, 64] Operation: 11+53=64 Exploring Operation: 53-11=42, Resulting Numbers: [11, 42] Generated Node #0,3,2: 75:[11, 42] Operation: 53-11=42 Exploring Operation: 53-11=42, Resulting Numbers: [11, 42] Generated Node #0,3,3: 75:[11, 42] Operation: 53-11=42 Moving to Node #0,2 Current State: 75:[11, 54, 10], Operations: ['53-43=10'] Exploring Operation: 11+54=65, Resulting Numbers: [10, 65] Generated Node #0,2,0: 75:[10, 65] Operation: 11+54=65 Exploring Operation: 11-10=1, Resulting Numbers: [54, 1] Generated Node #0,2,1: 75:[54, 1] Operation: 11-10=1 Exploring Operation: 54-11=43, Resulting Numbers: [10, 43] Generated Node #0,2,2: 75:[10, 43] Operation: 54-11=43 Exploring Operation: 54+10=64, Resulting Numbers: [11, 64] Generated Node #0,2,3: 75:[11, 64] Operation: 54+10=64 Moving to Node #0,0 Current State: 75:[11, 54, 96], Operations: ['43+53=96'] Exploring Operation: 54-11=43, Resulting Numbers: [96, 43] Generated Node #0,0,0: 75:[96, 43] Operation: 54-11=43 Exploring Operation: 96-54=42, Resulting Numbers: [11, 42] Generated Node #0,0,1: 75:[11, 42] Operation: 96-54=42 Exploring Operation: 96-11=85, Resulting Numbers: [54, 85] Generated Node #0,0,2: 75:[54, 85] Operation: 96-11=85 Exploring Operation: 11+54=65, Resulting Numbers: [96, 65] Generated Node #0,0,3: 75:[96, 65] Operation: 11+54=65 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[11, 42], Operations: ['43+53=96', '96-54=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,75 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[54, 85], Operations: ['43+53=96', '96-11=85'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 54+85=139, Resulting Numbers: [139] 139,75 unequal: No Solution Exploring Operation: 54*85=4590, Resulting Numbers: [4590] 4590,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[96, 65], Operations: ['43+53=96', '11+54=65'] Exploring Operation: 96*65=6240, Resulting Numbers: [6240] 6240,75 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 96+65=161, Resulting Numbers: [161] 161,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[96, 43], Operations: ['43+53=96', '54-11=43'] Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,75 unequal: No Solution Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,75 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,75 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: 75:[1, 32], Operations: ['54-53=1', '43-11=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[11, 64], Operations: ['54-43=11', '11+53=64'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 11*64=704, Resulting Numbers: [704] 704,75 unequal: No Solution Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[11, 54, 43, 53], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [11, 53, 11] Generated Node #0,3: 75:[11, 53, 11] Operation: 54-43=11 Moving to Node #0,3 Current State: 75:[11, 53, 11], Operations: ['54-43=11'] Exploring Operation: 11+53=64, Resulting Numbers: [11, 64] Generated Node #0,3,1: 75:[11, 64] Operation: 11+53=64 Moving to Node #0,3,1 Current State: 75:[11, 64], Operations: ['54-43=11', '11+53=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.962674
hs_4
sum_heuristic
[ 33, 16, 94, 49 ]
94
[ "33+16=49", "94+49=143", "143-49=94" ]
Current State: 94:[33, 16, 94, 49], Operations: [] Exploring Operation: 33+16=49, Resulting Numbers: [94, 49, 49] Generated Node #2: [94, 49, 49] from Operation: 33+16=49 Current State: 94:[94, 49, 49], Operations: ['33+16=49'] Exploring Operation: 94+49=143, Resulting Numbers: [143] 143,94 equal: Goal Reached Exploring Operation: 143-49=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[33, 16, 94, 49], Operations: [] Exploring Operation: 33+16=49, Resulting Numbers: [94, 49, 49] Generated Node #0,0: 94:[94, 49, 49] Operation: 33+16=49 Exploring Operation: 33-16=17, Resulting Numbers: [94, 49, 17] Generated Node #0,1: 94:[94, 49, 17] Operation: 33-16=17 Exploring Operation: 33+49=82, Resulting Numbers: [16, 94, 82] Generated Node #0,2: 94:[16, 94, 82] Operation: 33+49=82 Exploring Operation: 49-33=16, Resulting Numbers: [16, 94, 16] Generated Node #0,3: 94:[16, 94, 16] Operation: 49-33=16 Moving to Node #0,0 Current State: 94:[94, 49, 49], Operations: ['33+16=49'] Exploring Operation: 94-49=45, Resulting Numbers: [49, 45] Generated Node #0,0,0: 94:[49, 45] Operation: 94-49=45 Exploring Operation: 49-49=0, Resulting Numbers: [94, 0] Generated Node #0,0,1: 94:[94, 0] Operation: 49-49=0 Exploring Operation: 49/49=1, Resulting Numbers: [94, 1] Generated Node #0,0,2: 94:[94, 1] Operation: 49/49=1 Exploring Operation: 94-49=45, Resulting Numbers: [49, 45] Generated Node #0,0,3: 94:[49, 45] Operation: 94-49=45 Moving to Node #0,1 Current State: 94:[94, 49, 17], Operations: ['33-16=17'] Exploring Operation: 94+17=111, Resulting Numbers: [49, 111] Generated Node #0,1,0: 94:[49, 111] Operation: 94+17=111 Exploring Operation: 94-49=45, Resulting Numbers: [17, 45] Generated Node #0,1,1: 94:[17, 45] Operation: 94-49=45 Exploring Operation: 49-17=32, Resulting Numbers: [94, 32] Generated Node #0,1,2: 94:[94, 32] Operation: 49-17=32 Exploring Operation: 94-17=77, Resulting Numbers: [49, 77] Generated Node #0,1,3: 94:[49, 77] Operation: 94-17=77 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[94, 32], Operations: ['33-16=17', '49-17=32'] Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,94 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,94 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[17, 45], Operations: ['33-16=17', '94-49=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,94 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[49, 111], Operations: ['33-16=17', '94+17=111'] Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,94 unequal: No Solution Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[49, 77], Operations: ['33-16=17', '94-17=77'] Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,94 unequal: No Solution Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,94 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,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:[16, 94, 82], Operations: ['33+49=82'] Exploring Operation: 16+82=98, Resulting Numbers: [94, 98] Generated Node #0,2,0: 94:[94, 98] Operation: 16+82=98 Exploring Operation: 16+94=110, Resulting Numbers: [82, 110] Generated Node #0,2,1: 94:[82, 110] Operation: 16+94=110 Exploring Operation: 94-82=12, Resulting Numbers: [16, 12] Generated Node #0,2,2: 94:[16, 12] Operation: 94-82=12 Exploring Operation: 82-16=66, Resulting Numbers: [94, 66] Generated Node #0,2,3: 94:[94, 66] Operation: 82-16=66 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[94, 98], Operations: ['33+49=82', '16+82=98'] Exploring Operation: 94+98=192, Resulting Numbers: [192] 192,94 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 94*98=9212, Resulting Numbers: [9212] 9212,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[94, 66], Operations: ['33+49=82', '82-16=66'] Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,94 unequal: No Solution Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,94 unequal: No Solution Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[16, 12], Operations: ['33+49=82', '94-82=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[82, 110], Operations: ['33+49=82', '16+94=110'] Exploring Operation: 82*110=9020, Resulting Numbers: [9020] 9020,94 unequal: No Solution Exploring Operation: 110-82=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 82+110=192, Resulting Numbers: [192] 192,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 94:[16, 94, 16], Operations: ['49-33=16'] Exploring Operation: 16+16=32, Resulting Numbers: [94, 32] Generated Node #0,3,0: 94:[94, 32] Operation: 16+16=32 Exploring Operation: 16+94=110, Resulting Numbers: [16, 110] Generated Node #0,3,1: 94:[16, 110] Operation: 16+94=110 Exploring Operation: 16/16=1, Resulting Numbers: [94, 1] Generated Node #0,3,2: 94:[94, 1] Operation: 16/16=1 Exploring Operation: 16-16=0, Resulting Numbers: [94, 0] Generated Node #0,3,3: 94:[94, 0] Operation: 16-16=0 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[94, 1], Operations: ['49-33=16', '16/16=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[33, 16, 94, 49], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [16, 94, 16] Generated Node #0,3: 94:[16, 94, 16] Operation: 49-33=16 Moving to Node #0,3 Current State: 94:[16, 94, 16], Operations: ['49-33=16'] Exploring Operation: 16/16=1, Resulting Numbers: [94, 1] Generated Node #0,3,2: 94:[94, 1] Operation: 16/16=1 Moving to Node #0,3,2 Current State: 94:[94, 1], Operations: ['49-33=16', '16/16=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 58, 76, 54, 71 ]
10
[ "71-58=13", "76+54=130", "130/13=10" ]
Current State: 10:[58, 76, 54, 71], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [76, 54, 13] Generated Node #2: [76, 54, 13] from Operation: 71-58=13 Current State: 10:[76, 54, 13], Operations: ['71-58=13'] Exploring Operation: 76+54=130, Resulting Numbers: [13, 130] Generated Node #3: [13, 130] from Operation: 76+54=130 Current State: 10:[13, 130], Operations: ['71-58=13', '76+54=130'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[58, 76, 54, 71], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [58, 76, 17] Generated Node #0,0: 10:[58, 76, 17] Operation: 71-54=17 Exploring Operation: 76-71=5, Resulting Numbers: [58, 54, 5] Generated Node #0,1: 10:[58, 54, 5] Operation: 76-71=5 Exploring Operation: 71-58=13, Resulting Numbers: [76, 54, 13] Generated Node #0,2: 10:[76, 54, 13] Operation: 71-58=13 Exploring Operation: 76-58=18, Resulting Numbers: [54, 71, 18] Generated Node #0,3: 10:[54, 71, 18] Operation: 76-58=18 Exploring Operation: 76-54=22, Resulting Numbers: [58, 71, 22] Generated Node #0,4: 10:[58, 71, 22] Operation: 76-54=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[58, 54, 5], Operations: ['76-71=5'] Exploring Operation: 58-5=53, Resulting Numbers: [54, 53] Generated Node #0,1,0: 10:[54, 53] Operation: 58-5=53 Exploring Operation: 54-5=49, Resulting Numbers: [58, 49] Generated Node #0,1,1: 10:[58, 49] Operation: 54-5=49 Exploring Operation: 58-54=4, Resulting Numbers: [5, 4] Generated Node #0,1,2: 10:[5, 4] Operation: 58-54=4 Exploring Operation: 54+5=59, Resulting Numbers: [58, 59] Generated Node #0,1,3: 10:[58, 59] Operation: 54+5=59 Exploring Operation: 58+5=63, Resulting Numbers: [54, 63] Generated Node #0,1,4: 10:[54, 63] Operation: 58+5=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[5, 4], Operations: ['76-71=5', '58-54=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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,1,0 Current State: 10:[54, 53], Operations: ['76-71=5', '58-5=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,10 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,10 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,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,1,1 Current State: 10:[58, 49], Operations: ['76-71=5', '54-5=49'] Exploring Operation: 58*49=2842, Resulting Numbers: [2842] 2842,10 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 58+49=107, Resulting Numbers: [107] 107,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,1,3 Current State: 10:[58, 59], Operations: ['76-71=5', '54+5=59'] Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,10 unequal: No Solution Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,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,1,4 Current State: 10:[54, 63], Operations: ['76-71=5', '58+5=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,10 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,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,2 Current State: 10:[76, 54, 13], Operations: ['71-58=13'] Exploring Operation: 76+13=89, Resulting Numbers: [54, 89] Generated Node #0,2,0: 10:[54, 89] Operation: 76+13=89 Exploring Operation: 76+54=130, Resulting Numbers: [13, 130] Generated Node #0,2,1: 10:[13, 130] Operation: 76+54=130 Exploring Operation: 54-13=41, Resulting Numbers: [76, 41] Generated Node #0,2,2: 10:[76, 41] Operation: 54-13=41 Exploring Operation: 76-13=63, Resulting Numbers: [54, 63] Generated Node #0,2,3: 10:[54, 63] Operation: 76-13=63 Exploring Operation: 76-54=22, Resulting Numbers: [13, 22] Generated Node #0,2,4: 10:[13, 22] Operation: 76-54=22 Moving to Node #0,2,4 Current State: 10:[13, 22], Operations: ['71-58=13', '76-54=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,10 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[54, 63], Operations: ['71-58=13', '76-13=63'] Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,10 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[76, 41], Operations: ['71-58=13', '54-13=41'] Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[54, 89], Operations: ['71-58=13', '76+13=89'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[13, 130], Operations: ['71-58=13', '76+54=130'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[58, 76, 54, 71], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [76, 54, 13] Generated Node #0,2: 10:[76, 54, 13] Operation: 71-58=13 Moving to Node #0,2 Current State: 10:[76, 54, 13], Operations: ['71-58=13'] Exploring Operation: 76+54=130, Resulting Numbers: [13, 130] Generated Node #0,2,1: 10:[13, 130] Operation: 76+54=130 Moving to Node #0,2,1 Current State: 10:[13, 130], Operations: ['71-58=13', '76+54=130'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 16, 80, 53, 8 ]
26
[ "16*53=848", "848/8=106", "106-80=26" ]
Current State: 26:[16, 80, 53, 8], Operations: [] Exploring Operation: 16*53=848, Resulting Numbers: [80, 8, 848] Generated Node #2: [80, 8, 848] from Operation: 16*53=848 Current State: 26:[80, 8, 848], Operations: ['16*53=848'] Exploring Operation: 848/8=106, Resulting Numbers: [80, 106] Generated Node #3: [80, 106] from Operation: 848/8=106 Current State: 26:[80, 106], Operations: ['16*53=848', '848/8=106'] Exploring Operation: 106-80=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[16, 80, 53, 8], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [16, 8, 27] Generated Node #0,0: 26:[16, 8, 27] Operation: 80-53=27 Moving to Node #0,0 Current State: 26:[16, 8, 27], Operations: ['80-53=27'] Exploring Operation: 16/8=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 26:[27, 2] Operation: 16/8=2 Moving to Node #0,0,0 Current State: 26:[27, 2], Operations: ['80-53=27', '16/8=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 13, 59, 78, 80 ]
44
[ "59-13=46", "80-78=2", "46-2=44" ]
Current State: 44:[13, 59, 78, 80], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [78, 80, 46] Generated Node #2: [78, 80, 46] from Operation: 59-13=46 Current State: 44:[78, 80, 46], Operations: ['59-13=46'] Exploring Operation: 80-78=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 80-78=2 Current State: 44:[46, 2], Operations: ['59-13=46', '80-78=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 59, 78, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [13, 59, 2] Generated Node #0,0: 44:[13, 59, 2] Operation: 80-78=2 Moving to Node #0,0 Current State: 44:[13, 59, 2], Operations: ['80-78=2'] Exploring Operation: 59-13=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 44:[2, 46] Operation: 59-13=46 Moving to Node #0,0,0 Current State: 44:[2, 46], Operations: ['80-78=2', '59-13=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[13, 59, 78, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [13, 59, 2] Generated Node #0,0: 44:[13, 59, 2] Operation: 80-78=2 Moving to Node #0,0 Current State: 44:[13, 59, 2], Operations: ['80-78=2'] Exploring Operation: 59-13=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 44:[2, 46] Operation: 59-13=46 Moving to Node #0,0,0 Current State: 44:[2, 46], Operations: ['80-78=2', '59-13=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 3, 9, 42, 54 ]
36
[ "9/3=3", "54-42=12", "3*12=36" ]
Current State: 36:[3, 9, 42, 54], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [42, 54, 3] Generated Node #2: [42, 54, 3] from Operation: 9/3=3 Current State: 36:[42, 54, 3], Operations: ['9/3=3'] Exploring Operation: 54-42=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 54-42=12 Current State: 36:[3, 12], Operations: ['9/3=3', '54-42=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[3, 9, 42, 54], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [3, 42, 6] Generated Node #0,0: 36:[3, 42, 6] Operation: 54/9=6 Exploring Operation: 54/3=18, Resulting Numbers: [9, 42, 18] Generated Node #0,1: 36:[9, 42, 18] Operation: 54/3=18 Exploring Operation: 42/3=14, Resulting Numbers: [9, 54, 14] Generated Node #0,2: 36:[9, 54, 14] Operation: 42/3=14 Exploring Operation: 54-42=12, Resulting Numbers: [3, 9, 12] Generated Node #0,3: 36:[3, 9, 12] Operation: 54-42=12 Exploring Operation: 54-9=45, Resulting Numbers: [3, 42, 45] Generated Node #0,4: 36:[3, 42, 45] Operation: 54-9=45 Moving to Node #0,3 Current State: 36:[3, 9, 12], Operations: ['54-42=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9, 9] Generated Node #0,3,0: 36:[9, 9] Operation: 12-3=9 Exploring Operation: 3*12=36, Resulting Numbers: [9, 36] Generated Node #0,3,1: 36:[9, 36] Operation: 3*12=36 Exploring Operation: 3+9=12, Resulting Numbers: [12, 12] Generated Node #0,3,2: 36:[12, 12] Operation: 3+9=12 Exploring Operation: 9-3=6, Resulting Numbers: [12, 6] Generated Node #0,3,3: 36:[12, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [12, 3] Generated Node #0,3,4: 36:[12, 3] Operation: 9/3=3 Moving to Node #0,1 Current State: 36:[9, 42, 18], Operations: ['54/3=18'] Exploring Operation: 42-18=24, Resulting Numbers: [9, 24] Generated Node #0,1,0: 36:[9, 24] Operation: 42-18=24 Exploring Operation: 18/9=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 36:[42, 2] Operation: 18/9=2 Exploring Operation: 9+42=51, Resulting Numbers: [18, 51] Generated Node #0,1,2: 36:[18, 51] Operation: 9+42=51 Exploring Operation: 42-9=33, Resulting Numbers: [18, 33] Generated Node #0,1,3: 36:[18, 33] Operation: 42-9=33 Exploring Operation: 18-9=9, Resulting Numbers: [42, 9] Generated Node #0,1,4: 36:[42, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[18, 33], Operations: ['54/3=18', '42-9=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,36 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[9, 24], Operations: ['54/3=18', '42-18=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[42, 2], Operations: ['54/3=18', '18/9=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[42, 9], Operations: ['54/3=18', '18-9=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,36 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[18, 51], Operations: ['54/3=18', '9+42=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,36 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: 36:[3, 42, 6], Operations: ['54/9=6'] Exploring Operation: 3+6=9, Resulting Numbers: [42, 9] Generated Node #0,0,0: 36:[42, 9] Operation: 3+6=9 Exploring Operation: 42-3=39, Resulting Numbers: [6, 39] Generated Node #0,0,1: 36:[6, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [6, 14] Generated Node #0,0,2: 36:[6, 14] Operation: 42/3=14 Exploring Operation: 42/6=7, Resulting Numbers: [3, 7] Generated Node #0,0,3: 36:[3, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [3, 36] Generated Node #0,0,4: 36:[3, 36] Operation: 42-6=36 Moving to Node #0,4 Current State: 36:[3, 42, 45], Operations: ['54-9=45'] Exploring Operation: 42/3=14, Resulting Numbers: [45, 14] Generated Node #0,4,0: 36:[45, 14] Operation: 42/3=14 Exploring Operation: 45-3=42, Resulting Numbers: [42, 42] Generated Node #0,4,1: 36:[42, 42] Operation: 45-3=42 Exploring Operation: 45/3=15, Resulting Numbers: [42, 15] Generated Node #0,4,2: 36:[42, 15] Operation: 45/3=15 Exploring Operation: 42-3=39, Resulting Numbers: [45, 39] Generated Node #0,4,3: 36:[45, 39] Operation: 42-3=39 Exploring Operation: 45-42=3, Resulting Numbers: [3, 3] Generated Node #0,4,4: 36:[3, 3] Operation: 45-42=3 Moving to Node #0,2 Current State: 36:[9, 54, 14], Operations: ['42/3=14'] Exploring Operation: 54-14=40, Resulting Numbers: [9, 40] Generated Node #0,2,0: 36:[9, 40] Operation: 54-14=40 Exploring Operation: 54-9=45, Resulting Numbers: [14, 45] Generated Node #0,2,1: 36:[14, 45] Operation: 54-9=45 Exploring Operation: 9+14=23, Resulting Numbers: [54, 23] Generated Node #0,2,2: 36:[54, 23] Operation: 9+14=23 Exploring Operation: 54/9=6, Resulting Numbers: [14, 6] Generated Node #0,2,3: 36:[14, 6] Operation: 54/9=6 Exploring Operation: 14-9=5, Resulting Numbers: [54, 5] Generated Node #0,2,4: 36:[54, 5] Operation: 14-9=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[14, 6], Operations: ['42/3=14', '54/9=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,36 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[9, 40], Operations: ['42/3=14', '54-14=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,36 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[14, 45], Operations: ['42/3=14', '54-9=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,36 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[54, 5], Operations: ['42/3=14', '14-9=5'] Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,36 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[54, 23], Operations: ['42/3=14', '9+14=23'] Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,36 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,36 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 36:[9, 9], Operations: ['54-42=12', '12-3=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,36 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[12, 12], Operations: ['54-42=12', '3+9=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[3, 36], Operations: ['54/9=6', '42-6=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[9, 36], Operations: ['54-42=12', '3*12=36'] Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,36 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[12, 3], Operations: ['54-42=12', '9/3=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[3, 9, 42, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [3, 9, 12] Generated Node #0,3: 36:[3, 9, 12] Operation: 54-42=12 Moving to Node #0,3 Current State: 36:[3, 9, 12], Operations: ['54-42=12'] Exploring Operation: 9/3=3, Resulting Numbers: [12, 3] Generated Node #0,3,4: 36:[12, 3] Operation: 9/3=3 Moving to Node #0,3,4 Current State: 36:[12, 3], Operations: ['54-42=12', '9/3=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.927951
hs_5
mult_heuristic
[ 8, 24, 34, 25 ]
22
[ "25-8=17", "34/17=2", "24-2=22" ]
Current State: 22:[8, 24, 34, 25], Operations: [] Exploring Operation: 25-8=17, Resulting Numbers: [24, 34, 17] Generated Node #2: [24, 34, 17] from Operation: 25-8=17 Current State: 22:[24, 34, 17], Operations: ['25-8=17'] Exploring Operation: 34/17=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 34/17=2 Current State: 22:[24, 2], Operations: ['25-8=17', '34/17=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 24, 34, 25], Operations: [] Exploring Operation: 34-25=9, Resulting Numbers: [8, 24, 9] Generated Node #0,0: 22:[8, 24, 9] Operation: 34-25=9 Exploring Operation: 34-24=10, Resulting Numbers: [8, 25, 10] Generated Node #0,1: 22:[8, 25, 10] Operation: 34-24=10 Exploring Operation: 34-8=26, Resulting Numbers: [24, 25, 26] Generated Node #0,2: 22:[24, 25, 26] Operation: 34-8=26 Exploring Operation: 24/8=3, Resulting Numbers: [34, 25, 3] Generated Node #0,3: 22:[34, 25, 3] Operation: 24/8=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[8, 24, 9], Operations: ['34-25=9'] Exploring Operation: 9-8=1, Resulting Numbers: [24, 1] Generated Node #0,0,0: 22:[24, 1] Operation: 9-8=1 Exploring Operation: 24-8=16, Resulting Numbers: [9, 16] Generated Node #0,0,1: 22:[9, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 22:[9, 3] Operation: 24/8=3 Exploring Operation: 8+9=17, Resulting Numbers: [24, 17] Generated Node #0,0,3: 22:[24, 17] Operation: 8+9=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[24, 1], Operations: ['34-25=9', '9-8=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,22 unequal: No Solution No 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: 22:[9, 3], Operations: ['34-25=9', '24/8=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,22 unequal: No Solution No 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: 22:[9, 16], Operations: ['34-25=9', '24-8=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,22 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,22 unequal: No Solution No 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: 22:[24, 17], Operations: ['34-25=9', '8+9=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,22 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 25, 10], Operations: ['34-24=10'] Exploring Operation: 10-8=2, Resulting Numbers: [25, 2] Generated Node #0,1,0: 22:[25, 2] Operation: 10-8=2 Exploring Operation: 25-10=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 22:[8, 15] Operation: 25-10=15 Exploring Operation: 8+10=18, Resulting Numbers: [25, 18] Generated Node #0,1,2: 22:[25, 18] Operation: 8+10=18 Exploring Operation: 25-8=17, Resulting Numbers: [10, 17] Generated Node #0,1,3: 22:[10, 17] Operation: 25-8=17 Moving to Node #0,1,0 Current State: 22:[25, 2], Operations: ['34-24=10', '10-8=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,22 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[10, 17], Operations: ['34-24=10', '25-8=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,22 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[25, 18], Operations: ['34-24=10', '8+10=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,22 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[8, 15], Operations: ['34-24=10', '25-10=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,22 unequal: No Solution No 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: 22:[24, 25, 26], Operations: ['34-8=26'] Exploring Operation: 25-24=1, Resulting Numbers: [26, 1] Generated Node #0,2,0: 22:[26, 1] Operation: 25-24=1 Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,2,1: 22:[25, 2] Operation: 26-24=2 Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,2,2: 22:[24, 1] Operation: 26-25=1 Exploring Operation: 24+25=49, Resulting Numbers: [26, 49] Generated Node #0,2,3: 22:[26, 49] Operation: 24+25=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 22:[25, 2], Operations: ['34-8=26', '26-24=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,22 unequal: No Solution No 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: 22:[24, 1], Operations: ['34-8=26', '26-25=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,22 unequal: No Solution No 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: 22:[26, 1], Operations: ['34-8=26', '25-24=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,22 unequal: No Solution No 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: 22:[26, 49], Operations: ['34-8=26', '24+25=49'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[34, 25, 3], Operations: ['24/8=3'] Exploring Operation: 25-3=22, Resulting Numbers: [34, 22] Generated Node #0,3,0: 22:[34, 22] Operation: 25-3=22 Exploring Operation: 34-25=9, Resulting Numbers: [3, 9] Generated Node #0,3,1: 22:[3, 9] Operation: 34-25=9 Exploring Operation: 34+3=37, Resulting Numbers: [25, 37] Generated Node #0,3,2: 22:[25, 37] Operation: 34+3=37 Exploring Operation: 34-3=31, Resulting Numbers: [25, 31] Generated Node #0,3,3: 22:[25, 31] Operation: 34-3=31 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[3, 9], Operations: ['24/8=3', '34-25=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,22 unequal: No Solution No 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: 22:[34, 22], Operations: ['24/8=3', '25-3=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,22 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,22 unequal: No Solution No 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: 22:[25, 31], Operations: ['24/8=3', '34-3=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,22 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,22 unequal: No Solution No 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: 22:[25, 37], Operations: ['24/8=3', '34+3=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,22 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 70, 74, 10, 27 ]
33
[ "74-70=4", "10+27=37", "37-4=33" ]
Current State: 33:[70, 74, 10, 27], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [10, 27, 4] Generated Node #2: [10, 27, 4] from Operation: 74-70=4 Current State: 33:[10, 27, 4], Operations: ['74-70=4'] Exploring Operation: 10+27=37, Resulting Numbers: [4, 37] Generated Node #3: [4, 37] from Operation: 10+27=37 Current State: 33:[4, 37], Operations: ['74-70=4', '10+27=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[70, 74, 10, 27], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [70, 10, 47] Generated Node #0,0: 33:[70, 10, 47] Operation: 74-27=47 Exploring Operation: 70-10=60, Resulting Numbers: [74, 27, 60] Generated Node #0,1: 33:[74, 27, 60] Operation: 70-10=60 Exploring Operation: 70-27=43, Resulting Numbers: [74, 10, 43] Generated Node #0,2: 33:[74, 10, 43] Operation: 70-27=43 Exploring Operation: 74-70=4, Resulting Numbers: [10, 27, 4] Generated Node #0,3: 33:[10, 27, 4] Operation: 74-70=4 Exploring Operation: 70/10=7, Resulting Numbers: [74, 27, 7] Generated Node #0,4: 33:[74, 27, 7] Operation: 70/10=7 Moving to Node #0,3 Current State: 33:[10, 27, 4], Operations: ['74-70=4'] Exploring Operation: 27+4=31, Resulting Numbers: [10, 31] Generated Node #0,3,0: 33:[10, 31] Operation: 27+4=31 Exploring Operation: 10-4=6, Resulting Numbers: [27, 6] Generated Node #0,3,1: 33:[27, 6] Operation: 10-4=6 Exploring Operation: 10+27=37, Resulting Numbers: [4, 37] Generated Node #0,3,2: 33:[4, 37] Operation: 10+27=37 Exploring Operation: 10+4=14, Resulting Numbers: [27, 14] Generated Node #0,3,3: 33:[27, 14] Operation: 10+4=14 Exploring Operation: 27-10=17, Resulting Numbers: [4, 17] Generated Node #0,3,4: 33:[4, 17] Operation: 27-10=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[10, 31], Operations: ['74-70=4', '27+4=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,33 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,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,3,2 Current State: 33:[4, 37], Operations: ['74-70=4', '10+27=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[70, 74, 10, 27], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [10, 27, 4] Generated Node #0,3: 33:[10, 27, 4] Operation: 74-70=4 Moving to Node #0,3 Current State: 33:[10, 27, 4], Operations: ['74-70=4'] Exploring Operation: 10+27=37, Resulting Numbers: [4, 37] Generated Node #0,3,2: 33:[4, 37] Operation: 10+27=37 Moving to Node #0,3,2 Current State: 33:[4, 37], Operations: ['74-70=4', '10+27=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 38, 4, 35, 28 ]
35
[ "38+4=42", "35-28=7", "42-7=35" ]
Current State: 35:[38, 4, 35, 28], Operations: [] Exploring Operation: 38+4=42, Resulting Numbers: [35, 28, 42] Generated Node #2: [35, 28, 42] from Operation: 38+4=42 Current State: 35:[35, 28, 42], Operations: ['38+4=42'] Exploring Operation: 35-28=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 35-28=7 Current State: 35:[42, 7], Operations: ['38+4=42', '35-28=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[38, 4, 35, 28], Operations: [] Exploring Operation: 4+28=32, Resulting Numbers: [38, 35, 32] Generated Node #0,0: 35:[38, 35, 32] Operation: 4+28=32 Exploring Operation: 35-28=7, Resulting Numbers: [38, 4, 7] Generated Node #0,1: 35:[38, 4, 7] Operation: 35-28=7 Exploring Operation: 28/4=7, Resulting Numbers: [38, 35, 7] Generated Node #0,2: 35:[38, 35, 7] Operation: 28/4=7 Exploring Operation: 38-28=10, Resulting Numbers: [4, 35, 10] Generated Node #0,3: 35:[4, 35, 10] Operation: 38-28=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[38, 35, 7], Operations: ['28/4=7'] Exploring Operation: 38-7=31, Resulting Numbers: [35, 31] Generated Node #0,2,0: 35:[35, 31] Operation: 38-7=31 Exploring Operation: 35/7=5, Resulting Numbers: [38, 5] Generated Node #0,2,1: 35:[38, 5] Operation: 35/7=5 Exploring Operation: 38-35=3, Resulting Numbers: [7, 3] Generated Node #0,2,2: 35:[7, 3] Operation: 38-35=3 Exploring Operation: 38+7=45, Resulting Numbers: [35, 45] Generated Node #0,2,3: 35:[35, 45] Operation: 38+7=45 Moving to Node #0,2,2 Current State: 35:[7, 3], Operations: ['28/4=7', '38-35=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[38, 5], Operations: ['28/4=7', '35/7=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[35, 31], Operations: ['28/4=7', '38-7=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[35, 45], Operations: ['28/4=7', '38+7=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,35 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,35 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[38, 4, 7], Operations: ['35-28=7'] Exploring Operation: 7-4=3, Resulting Numbers: [38, 3] Generated Node #0,1,0: 35:[38, 3] Operation: 7-4=3 Exploring Operation: 38-4=34, Resulting Numbers: [7, 34] Generated Node #0,1,1: 35:[7, 34] Operation: 38-4=34 Exploring Operation: 38+4=42, Resulting Numbers: [7, 42] Generated Node #0,1,2: 35:[7, 42] Operation: 38+4=42 Exploring Operation: 38-7=31, Resulting Numbers: [4, 31] Generated Node #0,1,3: 35:[4, 31] Operation: 38-7=31 Moving to Node #0,1,1 Current State: 35:[7, 34], Operations: ['35-28=7', '38-4=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[4, 31], Operations: ['35-28=7', '38-7=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[38, 4, 35, 28], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [38, 4, 7] Generated Node #0,1: 35:[38, 4, 7] Operation: 35-28=7 Moving to Node #0,1 Current State: 35:[38, 4, 7], Operations: ['35-28=7'] Exploring Operation: 38-7=31, Resulting Numbers: [4, 31] Generated Node #0,1,3: 35:[4, 31] Operation: 38-7=31 Moving to Node #0,1,3 Current State: 35:[4, 31], Operations: ['35-28=7', '38-7=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 87, 17, 4, 9 ]
55
[ "17-9=8", "4*8=32", "87-32=55" ]
Current State: 55:[87, 17, 4, 9], Operations: [] Exploring Operation: 17-9=8, Resulting Numbers: [87, 4, 8] Generated Node #2: [87, 4, 8] from Operation: 17-9=8 Current State: 55:[87, 4, 8], Operations: ['17-9=8'] Exploring Operation: 4*8=32, Resulting Numbers: [87, 32] Generated Node #3: [87, 32] from Operation: 4*8=32 Current State: 55:[87, 32], Operations: ['17-9=8', '4*8=32'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[87, 17, 4, 9], Operations: [] Exploring Operation: 87-4=83, Resulting Numbers: [17, 9, 83] Generated Node #0,0: 55:[17, 9, 83] Operation: 87-4=83 Exploring Operation: 17-4=13, Resulting Numbers: [87, 9, 13] Generated Node #0,1: 55:[87, 9, 13] Operation: 17-4=13 Exploring Operation: 87-9=78, Resulting Numbers: [17, 4, 78] Generated Node #0,2: 55:[17, 4, 78] Operation: 87-9=78 Exploring Operation: 87-17=70, Resulting Numbers: [4, 9, 70] Generated Node #0,3: 55:[4, 9, 70] Operation: 87-17=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[4, 9, 70], Operations: ['87-17=70'] Exploring Operation: 9-4=5, Resulting Numbers: [70, 5] Generated Node #0,3,0: 55:[70, 5] Operation: 9-4=5 Exploring Operation: 70-4=66, Resulting Numbers: [9, 66] Generated Node #0,3,1: 55:[9, 66] Operation: 70-4=66 Exploring Operation: 4+9=13, Resulting Numbers: [70, 13] Generated Node #0,3,2: 55:[70, 13] Operation: 4+9=13 Exploring Operation: 70-9=61, Resulting Numbers: [4, 61] Generated Node #0,3,3: 55:[4, 61] Operation: 70-9=61 Moving to Node #0,3,3 Current State: 55:[4, 61], Operations: ['87-17=70', '70-9=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,55 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[9, 66], Operations: ['87-17=70', '70-4=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,55 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[70, 5], Operations: ['87-17=70', '9-4=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,55 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[70, 13], Operations: ['87-17=70', '4+9=13'] Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,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,2 Current State: 55:[17, 4, 78], Operations: ['87-9=78'] Exploring Operation: 17+4=21, Resulting Numbers: [78, 21] Generated Node #0,2,0: 55:[78, 21] Operation: 17+4=21 Exploring Operation: 17-4=13, Resulting Numbers: [78, 13] Generated Node #0,2,1: 55:[78, 13] Operation: 17-4=13 Exploring Operation: 78-4=74, Resulting Numbers: [17, 74] Generated Node #0,2,2: 55:[17, 74] Operation: 78-4=74 Exploring Operation: 78-17=61, Resulting Numbers: [4, 61] Generated Node #0,2,3: 55:[4, 61] Operation: 78-17=61 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[4, 61], Operations: ['87-9=78', '78-17=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,55 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,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,2,1 Current State: 55:[78, 13], Operations: ['87-9=78', '17-4=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,55 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,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,2,2 Current State: 55:[17, 74], Operations: ['87-9=78', '78-4=74'] Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,55 unequal: No Solution Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,55 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,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,2,0 Current State: 55:[78, 21], Operations: ['87-9=78', '17+4=21'] Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,55 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,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:[17, 9, 83], Operations: ['87-4=83'] Exploring Operation: 83-17=66, Resulting Numbers: [9, 66] Generated Node #0,0,0: 55:[9, 66] Operation: 83-17=66 Exploring Operation: 83-9=74, Resulting Numbers: [17, 74] Generated Node #0,0,1: 55:[17, 74] Operation: 83-9=74 Exploring Operation: 17-9=8, Resulting Numbers: [83, 8] Generated Node #0,0,2: 55:[83, 8] Operation: 17-9=8 Exploring Operation: 17+9=26, Resulting Numbers: [83, 26] Generated Node #0,0,3: 55:[83, 26] Operation: 17+9=26 Moving to Node #0,0,0 Current State: 55:[9, 66], Operations: ['87-4=83', '83-17=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[17, 74], Operations: ['87-4=83', '83-9=74'] Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,55 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[83, 8], Operations: ['87-4=83', '17-9=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,55 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,55 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[83, 26], Operations: ['87-4=83', '17+9=26'] Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,55 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,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:[87, 9, 13], Operations: ['17-4=13'] Exploring Operation: 87-9=78, Resulting Numbers: [13, 78] Generated Node #0,1,0: 55:[13, 78] Operation: 87-9=78 Exploring Operation: 87-13=74, Resulting Numbers: [9, 74] Generated Node #0,1,1: 55:[9, 74] Operation: 87-13=74 Exploring Operation: 87+9=96, Resulting Numbers: [13, 96] Generated Node #0,1,2: 55:[13, 96] Operation: 87+9=96 Exploring Operation: 13-9=4, Resulting Numbers: [87, 4] Generated Node #0,1,3: 55:[87, 4] Operation: 13-9=4 Moving to Node #0,1,1 Current State: 55:[9, 74], Operations: ['17-4=13', '87-13=74'] Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,55 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[13, 78], Operations: ['17-4=13', '87-9=78'] Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,55 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,55 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[87, 4], Operations: ['17-4=13', '13-9=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,55 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[13, 96], Operations: ['17-4=13', '87+9=96'] Exploring Operation: 13*96=1248, Resulting Numbers: [1248] 1248,55 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 13+96=109, Resulting Numbers: [109] 109,55 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
[ 58, 54, 50, 86 ]
37
[ "58*54=3132", "50+3132=3182", "3182/86=37" ]
Current State: 37:[58, 54, 50, 86], Operations: [] Exploring Operation: 58*54=3132, Resulting Numbers: [50, 86, 3132] Generated Node #2: [50, 86, 3132] from Operation: 58*54=3132 Current State: 37:[50, 86, 3132], Operations: ['58*54=3132'] Exploring Operation: 50+3132=3182, Resulting Numbers: [86, 3182] Generated Node #3: [86, 3182] from Operation: 50+3132=3182 Current State: 37:[86, 3182], Operations: ['58*54=3132', '50+3132=3182'] Exploring Operation: 3182/86=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[58, 54, 50, 86], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [58, 50, 32] Generated Node #0,0: 37:[58, 50, 32] Operation: 86-54=32 Exploring Operation: 86-50=36, Resulting Numbers: [58, 54, 36] Generated Node #0,1: 37:[58, 54, 36] Operation: 86-50=36 Exploring Operation: 86-58=28, Resulting Numbers: [54, 50, 28] Generated Node #0,2: 37:[54, 50, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 37:[58, 50, 32], Operations: ['86-54=32'] Exploring Operation: 50-32=18, Resulting Numbers: [58, 18] Generated Node #0,0,0: 37:[58, 18] Operation: 50-32=18 Exploring Operation: 58-50=8, Resulting Numbers: [32, 8] Generated Node #0,0,1: 37:[32, 8] Operation: 58-50=8 Exploring Operation: 58-32=26, Resulting Numbers: [50, 26] Generated Node #0,0,2: 37:[50, 26] Operation: 58-32=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[50, 26], Operations: ['86-54=32', '58-32=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,37 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[32, 8], Operations: ['86-54=32', '58-50=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[58, 18], Operations: ['86-54=32', '50-32=18'] Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 37:[58, 54, 36], Operations: ['86-50=36'] Exploring Operation: 58-36=22, Resulting Numbers: [54, 22] Generated Node #0,1,0: 37:[54, 22] Operation: 58-36=22 Exploring Operation: 58-54=4, Resulting Numbers: [36, 4] Generated Node #0,1,1: 37:[36, 4] Operation: 58-54=4 Exploring Operation: 54-36=18, Resulting Numbers: [58, 18] Generated Node #0,1,2: 37:[58, 18] Operation: 54-36=18 Moving to Node #0,2 Current State: 37:[54, 50, 28], Operations: ['86-58=28'] Exploring Operation: 50-28=22, Resulting Numbers: [54, 22] Generated Node #0,2,0: 37:[54, 22] Operation: 50-28=22 Exploring Operation: 54-50=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 37:[28, 4] Operation: 54-50=4 Exploring Operation: 54-28=26, Resulting Numbers: [50, 26] Generated Node #0,2,2: 37:[50, 26] Operation: 54-28=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[50, 26], Operations: ['86-58=28', '54-28=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[54, 22], Operations: ['86-58=28', '50-28=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[28, 4], Operations: ['86-58=28', '54-50=4'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 37:[54, 22], Operations: ['86-50=36', '58-36=22'] Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,37 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[36, 4], Operations: ['86-50=36', '58-54=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[58, 18], Operations: ['86-50=36', '54-36=18'] Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,37 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,37 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 15, 70, 3 ]
49
[ "9+15=24", "70+3=73", "73-24=49" ]
Current State: 49:[9, 15, 70, 3], Operations: [] Exploring Operation: 9+15=24, Resulting Numbers: [70, 3, 24] Generated Node #2: [70, 3, 24] from Operation: 9+15=24 Current State: 49:[70, 3, 24], Operations: ['9+15=24'] Exploring Operation: 70+3=73, Resulting Numbers: [24, 73] Generated Node #3: [24, 73] from Operation: 70+3=73 Current State: 49:[24, 73], Operations: ['9+15=24', '70+3=73'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[9, 15, 70, 3], Operations: [] Exploring Operation: 70-15=55, Resulting Numbers: [9, 3, 55] Generated Node #0,0: 49:[9, 3, 55] Operation: 70-15=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[9, 3, 55], Operations: ['70-15=55'] Exploring Operation: 55-3=52, Resulting Numbers: [9, 52] Generated Node #0,0,0: 49:[9, 52] Operation: 55-3=52 Moving to Node #0,0,0 Current State: 49:[9, 52], Operations: ['70-15=55', '55-3=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,49 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
[ 18, 59, 32, 20 ]
75
[ "20-18=2", "32/2=16", "59+16=75" ]
Current State: 75:[18, 59, 32, 20], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [59, 32, 2] Generated Node #2: [59, 32, 2] from Operation: 20-18=2 Current State: 75:[59, 32, 2], Operations: ['20-18=2'] Exploring Operation: 32/2=16, Resulting Numbers: [59, 16] Generated Node #3: [59, 16] from Operation: 32/2=16 Current State: 75:[59, 16], Operations: ['20-18=2', '32/2=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[18, 59, 32, 20], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [32, 20, 77] Generated Node #0,0: 75:[32, 20, 77] Operation: 18+59=77 Exploring Operation: 59+20=79, Resulting Numbers: [18, 32, 79] Generated Node #0,1: 75:[18, 32, 79] Operation: 59+20=79 Exploring Operation: 59-32=27, Resulting Numbers: [18, 20, 27] Generated Node #0,2: 75:[18, 20, 27] Operation: 59-32=27 Moving to Node #0,2 Current State: 75:[18, 20, 27], Operations: ['59-32=27'] Exploring Operation: 27-18=9, Resulting Numbers: [20, 9] Generated Node #0,2,0: 75:[20, 9] Operation: 27-18=9 Exploring Operation: 20-18=2, Resulting Numbers: [27, 2] Generated Node #0,2,1: 75:[27, 2] Operation: 20-18=2 Exploring Operation: 27-20=7, Resulting Numbers: [18, 7] Generated Node #0,2,2: 75:[18, 7] Operation: 27-20=7 Moving to Node #0,0 Current State: 75:[32, 20, 77], Operations: ['18+59=77'] Exploring Operation: 32-20=12, Resulting Numbers: [77, 12] Generated Node #0,0,0: 75:[77, 12] Operation: 32-20=12 Exploring Operation: 77-32=45, Resulting Numbers: [20, 45] Generated Node #0,0,1: 75:[20, 45] Operation: 77-32=45 Exploring Operation: 32+20=52, Resulting Numbers: [77, 52] Generated Node #0,0,2: 75:[77, 52] Operation: 32+20=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[77, 12], Operations: ['18+59=77', '32-20=12'] Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,75 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,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:[20, 45], Operations: ['18+59=77', '77-32=45'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 20*45=900, Resulting Numbers: [900] 900,75 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[77, 52], Operations: ['18+59=77', '32+20=52'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,75 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,75 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: 75:[18, 32, 79], Operations: ['59+20=79'] Exploring Operation: 79-18=61, Resulting Numbers: [32, 61] Generated Node #0,1,0: 75:[32, 61] Operation: 79-18=61 Exploring Operation: 79-32=47, Resulting Numbers: [18, 47] Generated Node #0,1,1: 75:[18, 47] Operation: 79-32=47 Exploring Operation: 32-18=14, Resulting Numbers: [79, 14] Generated Node #0,1,2: 75:[79, 14] Operation: 32-18=14 Moving to Node #0,2,1 Current State: 75:[27, 2], Operations: ['59-32=27', '20-18=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[18, 7], Operations: ['59-32=27', '27-20=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,75 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[79, 14], Operations: ['59+20=79', '32-18=14'] Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[20, 9], Operations: ['59-32=27', '27-18=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,75 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[32, 61], Operations: ['59+20=79', '79-18=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,75 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[18, 47], Operations: ['59+20=79', '79-32=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,75 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,75 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 52, 26, 2, 45 ]
35
[ "52+26=78", "45-2=43", "78-43=35" ]
Current State: 35:[52, 26, 2, 45], Operations: [] Exploring Operation: 52+26=78, Resulting Numbers: [2, 45, 78] Generated Node #2: [2, 45, 78] from Operation: 52+26=78 Current State: 35:[2, 45, 78], Operations: ['52+26=78'] Exploring Operation: 45-2=43, Resulting Numbers: [78, 43] Generated Node #3: [78, 43] from Operation: 45-2=43 Current State: 35:[78, 43], Operations: ['52+26=78', '45-2=43'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 26, 2, 45], Operations: [] Exploring Operation: 52-45=7, Resulting Numbers: [26, 2, 7] Generated Node #0,0: 35:[26, 2, 7] Operation: 52-45=7 Exploring Operation: 52/26=2, Resulting Numbers: [2, 45, 2] Generated Node #0,1: 35:[2, 45, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[26, 2, 7], Operations: ['52-45=7'] Exploring Operation: 26/2=13, Resulting Numbers: [7, 13] Generated Node #0,0,0: 35:[7, 13] Operation: 26/2=13 Exploring Operation: 26+7=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 35:[2, 33] Operation: 26+7=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[2, 33], Operations: ['52-45=7', '26+7=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[52, 26, 2, 45], Operations: [] Exploring Operation: 52-45=7, Resulting Numbers: [26, 2, 7] Generated Node #0,0: 35:[26, 2, 7] Operation: 52-45=7 Moving to Node #0,0 Current State: 35:[26, 2, 7], Operations: ['52-45=7'] Exploring Operation: 26+7=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 35:[2, 33] Operation: 26+7=33 Moving to Node #0,0,1 Current State: 35:[2, 33], Operations: ['52-45=7', '26+7=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 32, 4, 22, 60 ]
54
[ "32-4=28", "22+60=82", "82-28=54" ]
Current State: 54:[32, 4, 22, 60], Operations: [] Exploring Operation: 32-4=28, Resulting Numbers: [22, 60, 28] Generated Node #2: [22, 60, 28] from Operation: 32-4=28 Current State: 54:[22, 60, 28], Operations: ['32-4=28'] Exploring Operation: 22+60=82, Resulting Numbers: [28, 82] Generated Node #3: [28, 82] from Operation: 22+60=82 Current State: 54:[28, 82], Operations: ['32-4=28', '22+60=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 4, 22, 60], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [22, 60, 8] Generated Node #0,0: 54:[22, 60, 8] Operation: 32/4=8 Exploring Operation: 32+22=54, Resulting Numbers: [4, 60, 54] Generated Node #0,1: 54:[4, 60, 54] Operation: 32+22=54 Exploring Operation: 32-4=28, Resulting Numbers: [22, 60, 28] Generated Node #0,2: 54:[22, 60, 28] Operation: 32-4=28 Exploring Operation: 60-32=28, Resulting Numbers: [4, 22, 28] Generated Node #0,3: 54:[4, 22, 28] Operation: 60-32=28 Exploring Operation: 32-22=10, Resulting Numbers: [4, 60, 10] Generated Node #0,4: 54:[4, 60, 10] Operation: 32-22=10 Moving to Node #0,3 Current State: 54:[4, 22, 28], Operations: ['60-32=28'] Exploring Operation: 4+22=26, Resulting Numbers: [28, 26] Generated Node #0,3,0: 54:[28, 26] Operation: 4+22=26 Exploring Operation: 28/4=7, Resulting Numbers: [22, 7] Generated Node #0,3,1: 54:[22, 7] Operation: 28/4=7 Exploring Operation: 28-22=6, Resulting Numbers: [4, 6] Generated Node #0,3,2: 54:[4, 6] Operation: 28-22=6 Exploring Operation: 22-4=18, Resulting Numbers: [28, 18] Generated Node #0,3,3: 54:[28, 18] Operation: 22-4=18 Exploring Operation: 22+28=50, Resulting Numbers: [4, 50] Generated Node #0,3,4: 54:[4, 50] Operation: 22+28=50 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[4, 6], Operations: ['60-32=28', '28-22=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[28, 18], Operations: ['60-32=28', '22-4=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[28, 26], Operations: ['60-32=28', '4+22=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,54 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[32, 4, 22, 60], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [4, 22, 28] Generated Node #0,3: 54:[4, 22, 28] Operation: 60-32=28 Moving to Node #0,3 Current State: 54:[4, 22, 28], Operations: ['60-32=28'] Exploring Operation: 4+22=26, Resulting Numbers: [28, 26] Generated Node #0,3,0: 54:[28, 26] Operation: 4+22=26 Moving to Node #0,3,0 Current State: 54:[28, 26], Operations: ['60-32=28', '4+22=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 36, 30, 34, 50 ]
26
[ "36*50=1800", "1800/30=60", "60-34=26" ]
Current State: 26:[36, 30, 34, 50], Operations: [] Exploring Operation: 36*50=1800, Resulting Numbers: [30, 34, 1800] Generated Node #2: [30, 34, 1800] from Operation: 36*50=1800 Current State: 26:[30, 34, 1800], Operations: ['36*50=1800'] Exploring Operation: 1800/30=60, Resulting Numbers: [34, 60] Generated Node #3: [34, 60] from Operation: 1800/30=60 Current State: 26:[34, 60], Operations: ['36*50=1800', '1800/30=60'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[36, 30, 34, 50], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [36, 30, 16] Generated Node #0,0: 26:[36, 30, 16] Operation: 50-34=16 Exploring Operation: 50-36=14, Resulting Numbers: [30, 34, 14] Generated Node #0,1: 26:[30, 34, 14] Operation: 50-36=14 Exploring Operation: 50-30=20, Resulting Numbers: [36, 34, 20] Generated Node #0,2: 26:[36, 34, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[30, 34, 14], Operations: ['50-36=14'] Exploring Operation: 34-30=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 26:[14, 4] Operation: 34-30=4 Exploring Operation: 34-14=20, Resulting Numbers: [30, 20] Generated Node #0,1,1: 26:[30, 20] Operation: 34-14=20 Exploring Operation: 30-14=16, Resulting Numbers: [34, 16] Generated Node #0,1,2: 26:[34, 16] Operation: 30-14=16 Moving to Node #0,1,0 Current State: 26:[14, 4], Operations: ['50-36=14', '34-30=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[30, 20], Operations: ['50-36=14', '34-14=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[34, 16], Operations: ['50-36=14', '30-14=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,26 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[36, 30, 16], Operations: ['50-34=16'] Exploring Operation: 30-16=14, Resulting Numbers: [36, 14] Generated Node #0,0,0: 26:[36, 14] Operation: 30-16=14 Exploring Operation: 36-30=6, Resulting Numbers: [16, 6] Generated Node #0,0,1: 26:[16, 6] Operation: 36-30=6 Exploring Operation: 36-16=20, Resulting Numbers: [30, 20] Generated Node #0,0,2: 26:[30, 20] Operation: 36-16=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[16, 6], Operations: ['50-34=16', '36-30=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,26 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,26 unequal: No Solution No 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: 26:[30, 20], Operations: ['50-34=16', '36-16=20'] Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,26 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,26 unequal: No Solution No 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: 26:[36, 14], Operations: ['50-34=16', '30-16=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[36, 34, 20], Operations: ['50-30=20'] Exploring Operation: 36-20=16, Resulting Numbers: [34, 16] Generated Node #0,2,0: 26:[34, 16] Operation: 36-20=16 Exploring Operation: 36-34=2, Resulting Numbers: [20, 2] Generated Node #0,2,1: 26:[20, 2] Operation: 36-34=2 Exploring Operation: 34-20=14, Resulting Numbers: [36, 14] Generated Node #0,2,2: 26:[36, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[20, 2], Operations: ['50-30=20', '36-34=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,26 unequal: No Solution No 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: 26:[34, 16], Operations: ['50-30=20', '36-20=16'] Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,26 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,26 unequal: No Solution No 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: 26:[36, 14], Operations: ['50-30=20', '34-20=14'] Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,26 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 6, 58, 25, 4 ]
16
[ "58-4=54", "54/6=9", "25-9=16" ]
Current State: 16:[6, 58, 25, 4], Operations: [] Exploring Operation: 58-4=54, Resulting Numbers: [6, 25, 54] Generated Node #2: [6, 25, 54] from Operation: 58-4=54 Current State: 16:[6, 25, 54], Operations: ['58-4=54'] Exploring Operation: 54/6=9, Resulting Numbers: [25, 9] Generated Node #3: [25, 9] from Operation: 54/6=9 Current State: 16:[25, 9], Operations: ['58-4=54', '54/6=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 58, 25, 4], Operations: [] Exploring Operation: 58-6=52, Resulting Numbers: [25, 4, 52] Generated Node #0,0: 16:[25, 4, 52] Operation: 58-6=52 Exploring Operation: 25-6=19, Resulting Numbers: [58, 4, 19] Generated Node #0,1: 16:[58, 4, 19] Operation: 25-6=19 Exploring Operation: 58-25=33, Resulting Numbers: [6, 4, 33] Generated Node #0,2: 16:[6, 4, 33] Operation: 58-25=33 Moving to Node #0,2 Current State: 16:[6, 4, 33], Operations: ['58-25=33'] Exploring Operation: 33-4=29, Resulting Numbers: [6, 29] Generated Node #0,2,0: 16:[6, 29] Operation: 33-4=29 Exploring Operation: 33-6=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 16:[4, 27] Operation: 33-6=27 Exploring Operation: 6-4=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 16:[33, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[4, 27], Operations: ['58-25=33', '33-6=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[6, 29], Operations: ['58-25=33', '33-4=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,16 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[33, 2], Operations: ['58-25=33', '6-4=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,16 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,16 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: 16:[25, 4, 52], Operations: ['58-6=52'] Exploring Operation: 52-25=27, Resulting Numbers: [4, 27] Generated Node #0,0,0: 16:[4, 27] Operation: 52-25=27 Exploring Operation: 25-4=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 16:[52, 21] Operation: 25-4=21 Exploring Operation: 52/4=13, Resulting Numbers: [25, 13] Generated Node #0,0,2: 16:[25, 13] Operation: 52/4=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[4, 27], Operations: ['58-6=52', '52-25=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[25, 13], Operations: ['58-6=52', '52/4=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[52, 21], Operations: ['58-6=52', '25-4=21'] Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,16 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,16 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: 16:[58, 4, 19], Operations: ['25-6=19'] Exploring Operation: 58-4=54, Resulting Numbers: [19, 54] Generated Node #0,1,0: 16:[19, 54] Operation: 58-4=54 Exploring Operation: 58-19=39, Resulting Numbers: [4, 39] Generated Node #0,1,1: 16:[4, 39] Operation: 58-19=39 Exploring Operation: 19-4=15, Resulting Numbers: [58, 15] Generated Node #0,1,2: 16:[58, 15] Operation: 19-4=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[4, 39], Operations: ['25-6=19', '58-19=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,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,1,0 Current State: 16:[19, 54], Operations: ['25-6=19', '58-4=54'] Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,16 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,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,1,2 Current State: 16:[58, 15], Operations: ['25-6=19', '19-4=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,16 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,16 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
[ 85, 11, 23, 81 ]
67
[ "85-81=4", "11*4=44", "23+44=67" ]
Current State: 67:[85, 11, 23, 81], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [11, 23, 4] Generated Node #2: [11, 23, 4] from Operation: 85-81=4 Current State: 67:[11, 23, 4], Operations: ['85-81=4'] Exploring Operation: 11*4=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 11*4=44 Current State: 67:[23, 44], Operations: ['85-81=4', '11*4=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[85, 11, 23, 81], Operations: [] Exploring Operation: 11+23=34, Resulting Numbers: [85, 81, 34] Generated Node #0,0: 67:[85, 81, 34] Operation: 11+23=34 Exploring Operation: 81-11=70, Resulting Numbers: [85, 23, 70] Generated Node #0,1: 67:[85, 23, 70] Operation: 81-11=70 Exploring Operation: 85-23=62, Resulting Numbers: [11, 81, 62] Generated Node #0,2: 67:[11, 81, 62] Operation: 85-23=62 Exploring Operation: 81-23=58, Resulting Numbers: [85, 11, 58] Generated Node #0,3: 67:[85, 11, 58] Operation: 81-23=58 Exploring Operation: 85-11=74, Resulting Numbers: [23, 81, 74] Generated Node #0,4: 67:[23, 81, 74] Operation: 85-11=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[85, 81, 34], Operations: ['11+23=34'] Exploring Operation: 85+34=119, Resulting Numbers: [81, 119] Generated Node #0,0,0: 67:[81, 119] Operation: 85+34=119 Exploring Operation: 85-81=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 67:[34, 4] Operation: 85-81=4 Exploring Operation: 81-34=47, Resulting Numbers: [85, 47] Generated Node #0,0,2: 67:[85, 47] Operation: 81-34=47 Exploring Operation: 85-34=51, Resulting Numbers: [81, 51] Generated Node #0,0,3: 67:[81, 51] Operation: 85-34=51 Exploring Operation: 81+34=115, Resulting Numbers: [85, 115] Generated Node #0,0,4: 67:[85, 115] Operation: 81+34=115 Moving to Node #0,0,3 Current State: 67:[81, 51], Operations: ['11+23=34', '85-34=51'] Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[85, 47], Operations: ['11+23=34', '81-34=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[81, 119], Operations: ['11+23=34', '85+34=119'] Exploring Operation: 81*119=9639, Resulting Numbers: [9639] 9639,67 unequal: No Solution Exploring Operation: 81+119=200, Resulting Numbers: [200] 200,67 unequal: No Solution Exploring Operation: 119-81=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[85, 115], Operations: ['11+23=34', '81+34=115'] Exploring Operation: 115-85=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 85*115=9775, Resulting Numbers: [9775] 9775,67 unequal: No Solution Exploring Operation: 85+115=200, Resulting Numbers: [200] 200,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[34, 4], Operations: ['11+23=34', '85-81=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[85, 23, 70], Operations: ['81-11=70'] Exploring Operation: 85+23=108, Resulting Numbers: [70, 108] Generated Node #0,1,0: 67:[70, 108] Operation: 85+23=108 Exploring Operation: 85-70=15, Resulting Numbers: [23, 15] Generated Node #0,1,1: 67:[23, 15] Operation: 85-70=15 Exploring Operation: 85-23=62, Resulting Numbers: [70, 62] Generated Node #0,1,2: 67:[70, 62] Operation: 85-23=62 Exploring Operation: 70-23=47, Resulting Numbers: [85, 47] Generated Node #0,1,3: 67:[85, 47] Operation: 70-23=47 Exploring Operation: 23+70=93, Resulting Numbers: [85, 93] Generated Node #0,1,4: 67:[85, 93] Operation: 23+70=93 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[70, 62], Operations: ['81-11=70', '85-23=62'] Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[85, 47], Operations: ['81-11=70', '70-23=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,67 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,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:[70, 108], Operations: ['81-11=70', '85+23=108'] Exploring Operation: 70*108=7560, Resulting Numbers: [7560] 7560,67 unequal: No Solution Exploring Operation: 108-70=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 70+108=178, Resulting Numbers: [178] 178,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,4 Current State: 67:[85, 93], Operations: ['81-11=70', '23+70=93'] Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 85*93=7905, Resulting Numbers: [7905] 7905,67 unequal: No Solution Exploring Operation: 85+93=178, Resulting Numbers: [178] 178,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[23, 15], Operations: ['81-11=70', '85-70=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,67 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,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,4 Current State: 67:[23, 81, 74], Operations: ['85-11=74'] Exploring Operation: 23+74=97, Resulting Numbers: [81, 97] Generated Node #0,4,0: 67:[81, 97] Operation: 23+74=97 Exploring Operation: 81-74=7, Resulting Numbers: [23, 7] Generated Node #0,4,1: 67:[23, 7] Operation: 81-74=7 Exploring Operation: 74-23=51, Resulting Numbers: [81, 51] Generated Node #0,4,2: 67:[81, 51] Operation: 74-23=51 Exploring Operation: 23+81=104, Resulting Numbers: [74, 104] Generated Node #0,4,3: 67:[74, 104] Operation: 23+81=104 Exploring Operation: 81-23=58, Resulting Numbers: [74, 58] Generated Node #0,4,4: 67:[74, 58] Operation: 81-23=58 Moving to Node #0,4,4 Current State: 67:[74, 58], Operations: ['85-11=74', '81-23=58'] Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,67 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[81, 51], Operations: ['85-11=74', '74-23=51'] Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,67 unequal: No Solution Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[81, 97], Operations: ['85-11=74', '23+74=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,67 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[74, 104], Operations: ['85-11=74', '23+81=104'] Exploring Operation: 74+104=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 74*104=7696, Resulting Numbers: [7696] 7696,67 unequal: No Solution Exploring Operation: 104-74=30, Resulting Numbers: [30] 30,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[23, 7], Operations: ['85-11=74', '81-74=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,67 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[11, 81, 62], Operations: ['85-23=62'] Exploring Operation: 11+81=92, Resulting Numbers: [62, 92] Generated Node #0,2,0: 67:[62, 92] Operation: 11+81=92 Exploring Operation: 11+62=73, Resulting Numbers: [81, 73] Generated Node #0,2,1: 67:[81, 73] Operation: 11+62=73 Exploring Operation: 62-11=51, Resulting Numbers: [81, 51] Generated Node #0,2,2: 67:[81, 51] Operation: 62-11=51 Exploring Operation: 81-11=70, Resulting Numbers: [62, 70] Generated Node #0,2,3: 67:[62, 70] Operation: 81-11=70 Exploring Operation: 81-62=19, Resulting Numbers: [11, 19] Generated Node #0,2,4: 67:[11, 19] Operation: 81-62=19 Moving to Node #0,2,3 Current State: 67:[62, 70], Operations: ['85-23=62', '81-11=70'] Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 62*70=4340, Resulting Numbers: [4340] 4340,67 unequal: No Solution Exploring Operation: 62+70=132, Resulting Numbers: [132] 132,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[81, 73], Operations: ['85-23=62', '11+62=73'] Exploring Operation: 81+73=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 81*73=5913, Resulting Numbers: [5913] 5913,67 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[62, 92], Operations: ['85-23=62', '11+81=92'] Exploring Operation: 62+92=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 62*92=5704, Resulting Numbers: [5704] 5704,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[81, 51], Operations: ['85-23=62', '62-11=51'] Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[11, 19], Operations: ['85-23=62', '81-62=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[85, 11, 58], Operations: ['81-23=58'] Exploring Operation: 85-11=74, Resulting Numbers: [58, 74] Generated Node #0,3,0: 67:[58, 74] Operation: 85-11=74 Exploring Operation: 85+11=96, Resulting Numbers: [58, 96] Generated Node #0,3,1: 67:[58, 96] Operation: 85+11=96 Exploring Operation: 58-11=47, Resulting Numbers: [85, 47] Generated Node #0,3,2: 67:[85, 47] Operation: 58-11=47 Exploring Operation: 85-58=27, Resulting Numbers: [11, 27] Generated Node #0,3,3: 67:[11, 27] Operation: 85-58=27 Exploring Operation: 11+58=69, Resulting Numbers: [85, 69] Generated Node #0,3,4: 67:[85, 69] Operation: 11+58=69 Moving to Node #0,3,0 Current State: 67:[58, 74], Operations: ['81-23=58', '85-11=74'] Exploring Operation: 58+74=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 58*74=4292, Resulting Numbers: [4292] 4292,67 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[85, 69], Operations: ['81-23=58', '11+58=69'] Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,67 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[58, 96], Operations: ['81-23=58', '85+11=96'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 58+96=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 58*96=5568, Resulting Numbers: [5568] 5568,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[85, 47], Operations: ['81-23=58', '58-11=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,67 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[11, 27], Operations: ['81-23=58', '85-58=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,67 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
[ 85, 11, 48, 46 ]
72
[ "85-11=74", "48-46=2", "74-2=72" ]
Current State: 72:[85, 11, 48, 46], Operations: [] Exploring Operation: 85-11=74, Resulting Numbers: [48, 46, 74] Generated Node #2: [48, 46, 74] from Operation: 85-11=74 Current State: 72:[48, 46, 74], Operations: ['85-11=74'] Exploring Operation: 48-46=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 48-46=2 Current State: 72:[74, 2], Operations: ['85-11=74', '48-46=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[85, 11, 48, 46], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [85, 11, 2] Generated Node #0,0: 72:[85, 11, 2] Operation: 48-46=2 Exploring Operation: 85-48=37, Resulting Numbers: [11, 46, 37] Generated Node #0,1: 72:[11, 46, 37] Operation: 85-48=37 Exploring Operation: 85-46=39, Resulting Numbers: [11, 48, 39] Generated Node #0,2: 72:[11, 48, 39] Operation: 85-46=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[11, 46, 37], Operations: ['85-48=37'] Exploring Operation: 46-11=35, Resulting Numbers: [37, 35] Generated Node #0,1,0: 72:[37, 35] Operation: 46-11=35 Exploring Operation: 46-37=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 72:[11, 9] Operation: 46-37=9 Exploring Operation: 37-11=26, Resulting Numbers: [46, 26] Generated Node #0,1,2: 72:[46, 26] Operation: 37-11=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[11, 9], Operations: ['85-48=37', '46-37=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[37, 35], Operations: ['85-48=37', '46-11=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,72 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[85, 11, 48, 46], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [11, 46, 37] Generated Node #0,1: 72:[11, 46, 37] Operation: 85-48=37 Moving to Node #0,1 Current State: 72:[11, 46, 37], Operations: ['85-48=37'] Exploring Operation: 46-11=35, Resulting Numbers: [37, 35] Generated Node #0,1,0: 72:[37, 35] Operation: 46-11=35 Moving to Node #0,1,0 Current State: 72:[37, 35], Operations: ['85-48=37', '46-11=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 17, 78, 5, 37 ]
74
[ "37-17=20", "20/5=4", "78-4=74" ]
Current State: 74:[17, 78, 5, 37], Operations: [] Exploring Operation: 37-17=20, Resulting Numbers: [78, 5, 20] Generated Node #2: [78, 5, 20] from Operation: 37-17=20 Current State: 74:[78, 5, 20], Operations: ['37-17=20'] Exploring Operation: 20/5=4, Resulting Numbers: [78, 4] Generated Node #3: [78, 4] from Operation: 20/5=4 Current State: 74:[78, 4], Operations: ['37-17=20', '20/5=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[17, 78, 5, 37], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [5, 37, 61] Generated Node #0,0: 74:[5, 37, 61] Operation: 78-17=61 Exploring Operation: 17*5=85, Resulting Numbers: [78, 37, 85] Generated Node #0,1: 74:[78, 37, 85] Operation: 17*5=85 Exploring Operation: 17-5=12, Resulting Numbers: [78, 37, 12] Generated Node #0,2: 74:[78, 37, 12] Operation: 17-5=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[78, 37, 12], Operations: ['17-5=12'] Exploring Operation: 78-37=41, Resulting Numbers: [12, 41] Generated Node #0,2,0: 74:[12, 41] Operation: 78-37=41 Exploring Operation: 78+12=90, Resulting Numbers: [37, 90] Generated Node #0,2,1: 74:[37, 90] Operation: 78+12=90 Exploring Operation: 78-12=66, Resulting Numbers: [37, 66] Generated Node #0,2,2: 74:[37, 66] Operation: 78-12=66 Moving to Node #0,2,2 Current State: 74:[37, 66], Operations: ['17-5=12', '78-12=66'] Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,74 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[12, 41], Operations: ['17-5=12', '78-37=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,74 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[37, 90], Operations: ['17-5=12', '78+12=90'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 37+90=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 37*90=3330, Resulting Numbers: [3330] 3330,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 Current State: 74:[78, 37, 85], Operations: ['17*5=85'] Exploring Operation: 85-37=48, Resulting Numbers: [78, 48] Generated Node #0,1,0: 74:[78, 48] Operation: 85-37=48 Exploring Operation: 85-78=7, Resulting Numbers: [37, 7] Generated Node #0,1,1: 74:[37, 7] Operation: 85-78=7 Exploring Operation: 78-37=41, Resulting Numbers: [85, 41] Generated Node #0,1,2: 74:[85, 41] Operation: 78-37=41 Moving to Node #0,1,1 Current State: 74:[37, 7], Operations: ['17*5=85', '85-78=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,74 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[78, 48], Operations: ['17*5=85', '85-37=48'] Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,74 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[85, 41], Operations: ['17*5=85', '78-37=41'] Exploring Operation: 85+41=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 85*41=3485, Resulting Numbers: [3485] 3485,74 unequal: No Solution Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,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 Current State: 74:[5, 37, 61], Operations: ['78-17=61'] Exploring Operation: 5+37=42, Resulting Numbers: [61, 42] Generated Node #0,0,0: 74:[61, 42] Operation: 5+37=42 Exploring Operation: 5+61=66, Resulting Numbers: [37, 66] Generated Node #0,0,1: 74:[37, 66] Operation: 5+61=66 Exploring Operation: 61-37=24, Resulting Numbers: [5, 24] Generated Node #0,0,2: 74:[5, 24] Operation: 61-37=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[37, 66], Operations: ['78-17=61', '5+61=66'] Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,74 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,74 unequal: No Solution No 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: 74:[5, 24], Operations: ['78-17=61', '61-37=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,74 unequal: No Solution No 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: 74:[61, 42], Operations: ['78-17=61', '5+37=42'] Exploring Operation: 61*42=2562, Resulting Numbers: [2562] 2562,74 unequal: No Solution Exploring Operation: 61+42=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 1, 46, 46, 23 ]
44
[ "1*46=46", "46/23=2", "46-2=44" ]
Current State: 44:[1, 46, 46, 23], Operations: [] Exploring Operation: 1*46=46, Resulting Numbers: [23, 46] Generated Node #2: [23, 46] from Operation: 1*46=46 Current State: 44:[23, 46], Operations: ['1*46=46'] Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,44 equal: Goal Reached Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[1, 46, 46, 23], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [1, 46, 2] Generated Node #0,0: 44:[1, 46, 2] Operation: 46/23=2 Exploring Operation: 46/46=1, Resulting Numbers: [1, 23, 1] Generated Node #0,1: 44:[1, 23, 1] Operation: 46/46=1 Exploring Operation: 46/23=2, Resulting Numbers: [1, 46, 2] Generated Node #0,2: 44:[1, 46, 2] Operation: 46/23=2 Exploring Operation: 46-1=45, Resulting Numbers: [46, 23, 45] Generated Node #0,3: 44:[46, 23, 45] Operation: 46-1=45 Moving to Node #0,0 Current State: 44:[1, 46, 2], Operations: ['46/23=2'] Exploring Operation: 46-1=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 44:[2, 45] Operation: 46-1=45 Exploring Operation: 46/1=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 44:[2, 46] Operation: 46/1=46 Exploring Operation: 1*46=46, Resulting Numbers: [2, 46] Generated Node #0,0,2: 44:[2, 46] Operation: 1*46=46 Exploring Operation: 46-2=44, Resulting Numbers: [1, 44] Generated Node #0,0,3: 44:[1, 44] Operation: 46-2=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[2, 45], Operations: ['46/23=2', '46-1=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[1, 44], Operations: ['46/23=2', '46-2=44'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[1, 46, 46, 23], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [1, 46, 2] Generated Node #0,0: 44:[1, 46, 2] Operation: 46/23=2 Moving to Node #0,0 Current State: 44:[1, 46, 2], Operations: ['46/23=2'] Exploring Operation: 46-2=44, Resulting Numbers: [1, 44] Generated Node #0,0,3: 44:[1, 44] Operation: 46-2=44 Moving to Node #0,0,3 Current State: 44:[1, 44], Operations: ['46/23=2', '46-2=44'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 5, 32, 37, 7 ]
34
[ "5*7=35", "32+37=69", "69-35=34" ]
Current State: 34:[5, 32, 37, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [32, 37, 35] Generated Node #2: [32, 37, 35] from Operation: 5*7=35 Current State: 34:[32, 37, 35], Operations: ['5*7=35'] Exploring Operation: 32+37=69, Resulting Numbers: [35, 69] Generated Node #3: [35, 69] from Operation: 32+37=69 Current State: 34:[35, 69], Operations: ['5*7=35', '32+37=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[5, 32, 37, 7], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [32, 37, 2] Generated Node #0,0: 34:[32, 37, 2] Operation: 7-5=2 Exploring Operation: 5*7=35, Resulting Numbers: [32, 37, 35] Generated Node #0,1: 34:[32, 37, 35] Operation: 5*7=35 Exploring Operation: 37-5=32, Resulting Numbers: [32, 7, 32] Generated Node #0,2: 34:[32, 7, 32] Operation: 37-5=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[32, 37, 2], Operations: ['7-5=2'] Exploring Operation: 32+2=34, Resulting Numbers: [37, 34] Generated Node #0,0,0: 34:[37, 34] Operation: 32+2=34 Exploring Operation: 37-32=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 34:[2, 5] Operation: 37-32=5 Exploring Operation: 37-2=35, Resulting Numbers: [32, 35] Generated Node #0,0,2: 34:[32, 35] Operation: 37-2=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[37, 34], Operations: ['7-5=2', '32+2=34'] Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,34 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,34 unequal: No Solution No 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: 34:[2, 5], Operations: ['7-5=2', '37-32=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,34 unequal: No Solution No 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: 34:[32, 35], Operations: ['7-5=2', '37-2=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,34 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,34 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: 34:[32, 37, 35], Operations: ['5*7=35'] Exploring Operation: 37-32=5, Resulting Numbers: [35, 5] Generated Node #0,1,0: 34:[35, 5] Operation: 37-32=5 Exploring Operation: 37-35=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 34:[32, 2] Operation: 37-35=2 Exploring Operation: 35-32=3, Resulting Numbers: [37, 3] Generated Node #0,1,2: 34:[37, 3] Operation: 35-32=3 Moving to Node #0,1,1 Current State: 34:[32, 2], Operations: ['5*7=35', '37-35=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[5, 32, 37, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [32, 37, 35] Generated Node #0,1: 34:[32, 37, 35] Operation: 5*7=35 Moving to Node #0,1 Current State: 34:[32, 37, 35], Operations: ['5*7=35'] Exploring Operation: 37-35=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 34:[32, 2] Operation: 37-35=2 Moving to Node #0,1,1 Current State: 34:[32, 2], Operations: ['5*7=35', '37-35=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 84, 83, 88, 29 ]
58
[ "84-83=1", "88-29=59", "59-1=58" ]
Current State: 58:[84, 83, 88, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [88, 29, 1] Generated Node #2: [88, 29, 1] from Operation: 84-83=1 Current State: 58:[88, 29, 1], Operations: ['84-83=1'] Exploring Operation: 88-29=59, Resulting Numbers: [1, 59] Generated Node #3: [1, 59] from Operation: 88-29=59 Current State: 58:[1, 59], Operations: ['84-83=1', '88-29=59'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[84, 83, 88, 29], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [84, 29, 5] Generated Node #0,0: 58:[84, 29, 5] Operation: 88-83=5 Exploring Operation: 84-83=1, Resulting Numbers: [88, 29, 1] Generated Node #0,1: 58:[88, 29, 1] Operation: 84-83=1 Exploring Operation: 88-84=4, Resulting Numbers: [83, 29, 4] Generated Node #0,2: 58:[83, 29, 4] Operation: 88-84=4 Exploring Operation: 88-29=59, Resulting Numbers: [84, 83, 59] Generated Node #0,3: 58:[84, 83, 59] Operation: 88-29=59 Moving to Node #0,2 Current State: 58:[83, 29, 4], Operations: ['88-84=4'] Exploring Operation: 83-29=54, Resulting Numbers: [4, 54] Generated Node #0,2,0: 58:[4, 54] Operation: 83-29=54 Exploring Operation: 83+4=87, Resulting Numbers: [29, 87] Generated Node #0,2,1: 58:[29, 87] Operation: 83+4=87 Exploring Operation: 83-4=79, Resulting Numbers: [29, 79] Generated Node #0,2,2: 58:[29, 79] Operation: 83-4=79 Exploring Operation: 29+4=33, Resulting Numbers: [83, 33] Generated Node #0,2,3: 58:[83, 33] Operation: 29+4=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[4, 54], Operations: ['88-84=4', '83-29=54'] Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,58 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[84, 83, 88, 29], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [83, 29, 4] Generated Node #0,2: 58:[83, 29, 4] Operation: 88-84=4 Moving to Node #0,2 Current State: 58:[83, 29, 4], Operations: ['88-84=4'] Exploring Operation: 83-29=54, Resulting Numbers: [4, 54] Generated Node #0,2,0: 58:[4, 54] Operation: 83-29=54 Moving to Node #0,2,0 Current State: 58:[4, 54], Operations: ['88-84=4', '83-29=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 86, 92, 14, 47 ]
67
[ "92-86=6", "14+47=61", "6+61=67" ]
Current State: 67:[86, 92, 14, 47], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [14, 47, 6] Generated Node #2: [14, 47, 6] from Operation: 92-86=6 Current State: 67:[14, 47, 6], Operations: ['92-86=6'] Exploring Operation: 14+47=61, Resulting Numbers: [6, 61] Generated Node #3: [6, 61] from Operation: 14+47=61 Current State: 67:[6, 61], Operations: ['92-86=6', '14+47=61'] Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[86, 92, 14, 47], Operations: [] Exploring Operation: 86-14=72, Resulting Numbers: [92, 47, 72] Generated Node #0,0: 67:[92, 47, 72] Operation: 86-14=72 Exploring Operation: 92-14=78, Resulting Numbers: [86, 47, 78] Generated Node #0,1: 67:[86, 47, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 67:[92, 47, 72], Operations: ['86-14=72'] Exploring Operation: 92-72=20, Resulting Numbers: [47, 20] Generated Node #0,0,0: 67:[47, 20] Operation: 92-72=20 Exploring Operation: 92-47=45, Resulting Numbers: [72, 45] Generated Node #0,0,1: 67:[72, 45] Operation: 92-47=45 Moving to Node #0,1 Current State: 67:[86, 47, 78], Operations: ['92-14=78'] Exploring Operation: 86-47=39, Resulting Numbers: [78, 39] Generated Node #0,1,0: 67:[78, 39] Operation: 86-47=39 Exploring Operation: 78-47=31, Resulting Numbers: [86, 31] Generated Node #0,1,1: 67:[86, 31] Operation: 78-47=31 Moving to Node #0,0,1 Current State: 67:[72, 45], Operations: ['86-14=72', '92-47=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[78, 39], Operations: ['92-14=78', '86-47=39'] Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[86, 31], Operations: ['92-14=78', '78-47=31'] Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[47, 20], Operations: ['86-14=72', '92-72=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[86, 92, 14, 47], Operations: [] Exploring Operation: 86-14=72, Resulting Numbers: [92, 47, 72] Generated Node #0,0: 67:[92, 47, 72] Operation: 86-14=72 Moving to Node #0,0 Current State: 67:[92, 47, 72], Operations: ['86-14=72'] Exploring Operation: 92-72=20, Resulting Numbers: [47, 20] Generated Node #0,0,0: 67:[47, 20] Operation: 92-72=20 Moving to Node #0,0,0 Current State: 67:[47, 20], Operations: ['86-14=72', '92-72=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 15, 48, 65, 97 ]
10
[ "97-65=32", "15*32=480", "480/48=10" ]
Current State: 10:[15, 48, 65, 97], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [15, 48, 32] Generated Node #2: [15, 48, 32] from Operation: 97-65=32 Current State: 10:[15, 48, 32], Operations: ['97-65=32'] Exploring Operation: 15*32=480, Resulting Numbers: [48, 480] Generated Node #3: [48, 480] from Operation: 15*32=480 Current State: 10:[48, 480], Operations: ['97-65=32', '15*32=480'] Exploring Operation: 480/48=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 48, 65, 97], Operations: [] Exploring Operation: 48-15=33, Resulting Numbers: [65, 97, 33] Generated Node #0,0: 10:[65, 97, 33] Operation: 48-15=33 Exploring Operation: 97-48=49, Resulting Numbers: [15, 65, 49] Generated Node #0,1: 10:[15, 65, 49] Operation: 97-48=49 Exploring Operation: 97-65=32, Resulting Numbers: [15, 48, 32] Generated Node #0,2: 10:[15, 48, 32] Operation: 97-65=32 Exploring Operation: 65-15=50, Resulting Numbers: [48, 97, 50] Generated Node #0,3: 10:[48, 97, 50] Operation: 65-15=50 Exploring Operation: 65-48=17, Resulting Numbers: [15, 97, 17] Generated Node #0,4: 10:[15, 97, 17] Operation: 65-48=17 Moving to Node #0,2 Current State: 10:[15, 48, 32], Operations: ['97-65=32'] Exploring Operation: 15+32=47, Resulting Numbers: [48, 47] Generated Node #0,2,0: 10:[48, 47] Operation: 15+32=47 Exploring Operation: 48-32=16, Resulting Numbers: [15, 16] Generated Node #0,2,1: 10:[15, 16] Operation: 48-32=16 Exploring Operation: 15+48=63, Resulting Numbers: [32, 63] Generated Node #0,2,2: 10:[32, 63] Operation: 15+48=63 Exploring Operation: 32-15=17, Resulting Numbers: [48, 17] Generated Node #0,2,3: 10:[48, 17] Operation: 32-15=17 Exploring Operation: 48-15=33, Resulting Numbers: [32, 33] Generated Node #0,2,4: 10:[32, 33] Operation: 48-15=33 Moving to Node #0,4 Current State: 10:[15, 97, 17], Operations: ['65-48=17'] Exploring Operation: 17-15=2, Resulting Numbers: [97, 2] Generated Node #0,4,0: 10:[97, 2] Operation: 17-15=2 Exploring Operation: 97-15=82, Resulting Numbers: [17, 82] Generated Node #0,4,1: 10:[17, 82] Operation: 97-15=82 Exploring Operation: 15+17=32, Resulting Numbers: [97, 32] Generated Node #0,4,2: 10:[97, 32] Operation: 15+17=32 Exploring Operation: 97-17=80, Resulting Numbers: [15, 80] Generated Node #0,4,3: 10:[15, 80] Operation: 97-17=80 Exploring Operation: 15+97=112, Resulting Numbers: [17, 112] Generated Node #0,4,4: 10:[17, 112] Operation: 15+97=112 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[15, 80], Operations: ['65-48=17', '97-17=80'] Exploring Operation: 15*80=1200, Resulting Numbers: [1200] 1200,10 unequal: No Solution Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,10 unequal: No Solution No 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: 10:[17, 82], Operations: ['65-48=17', '97-15=82'] Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,10 unequal: No Solution No 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: 10:[97, 2], Operations: ['65-48=17', '17-15=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,10 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,10 unequal: No Solution No 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: 10:[97, 32], Operations: ['65-48=17', '15+17=32'] Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,10 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,10 unequal: No Solution No 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: 10:[17, 112], Operations: ['65-48=17', '15+97=112'] Exploring Operation: 112-17=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 17+112=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 17*112=1904, Resulting Numbers: [1904] 1904,10 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: 10:[15, 65, 49], Operations: ['97-48=49'] Exploring Operation: 65-49=16, Resulting Numbers: [15, 16] Generated Node #0,1,0: 10:[15, 16] Operation: 65-49=16 Exploring Operation: 15+49=64, Resulting Numbers: [65, 64] Generated Node #0,1,1: 10:[65, 64] Operation: 15+49=64 Exploring Operation: 65-15=50, Resulting Numbers: [49, 50] Generated Node #0,1,2: 10:[49, 50] Operation: 65-15=50 Exploring Operation: 15+65=80, Resulting Numbers: [49, 80] Generated Node #0,1,3: 10:[49, 80] Operation: 15+65=80 Exploring Operation: 49-15=34, Resulting Numbers: [65, 34] Generated Node #0,1,4: 10:[65, 34] Operation: 49-15=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[15, 16], Operations: ['97-48=49', '65-49=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,10 unequal: No Solution No 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: 10:[49, 50], Operations: ['97-48=49', '65-15=50'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,10 unequal: No Solution No 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: 10:[65, 34], Operations: ['97-48=49', '49-15=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,10 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,10 unequal: No Solution No 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: 10:[65, 64], Operations: ['97-48=49', '15+49=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,10 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,10 unequal: No Solution No 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: 10:[49, 80], Operations: ['97-48=49', '15+65=80'] Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,10 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,10 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: 10:[65, 97, 33], Operations: ['48-15=33'] Exploring Operation: 97-33=64, Resulting Numbers: [65, 64] Generated Node #0,0,0: 10:[65, 64] Operation: 97-33=64 Exploring Operation: 65-33=32, Resulting Numbers: [97, 32] Generated Node #0,0,1: 10:[97, 32] Operation: 65-33=32 Exploring Operation: 97-65=32, Resulting Numbers: [33, 32] Generated Node #0,0,2: 10:[33, 32] Operation: 97-65=32 Exploring Operation: 65+33=98, Resulting Numbers: [97, 98] Generated Node #0,0,3: 10:[97, 98] Operation: 65+33=98 Exploring Operation: 65+97=162, Resulting Numbers: [33, 162] Generated Node #0,0,4: 10:[33, 162] Operation: 65+97=162 Moving to Node #0,3 Current State: 10:[48, 97, 50], Operations: ['65-15=50'] Exploring Operation: 97-50=47, Resulting Numbers: [48, 47] Generated Node #0,3,0: 10:[48, 47] Operation: 97-50=47 Exploring Operation: 50-48=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 10:[97, 2] Operation: 50-48=2 Exploring Operation: 48+50=98, Resulting Numbers: [97, 98] Generated Node #0,3,2: 10:[97, 98] Operation: 48+50=98 Exploring Operation: 97-48=49, Resulting Numbers: [50, 49] Generated Node #0,3,3: 10:[50, 49] Operation: 97-48=49 Exploring Operation: 48+97=145, Resulting Numbers: [50, 145] Generated Node #0,3,4: 10:[50, 145] Operation: 48+97=145 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[48, 47], Operations: ['65-15=50', '97-50=47'] Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,10 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,10 unequal: No Solution No 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: 10:[50, 49], Operations: ['65-15=50', '97-48=49'] Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,10 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,10 unequal: No Solution No 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: 10:[97, 2], Operations: ['65-15=50', '50-48=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,10 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,10 unequal: No Solution No 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: 10:[97, 98], Operations: ['65-15=50', '48+50=98'] Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,10 unequal: No Solution No 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: 10:[50, 145], Operations: ['65-15=50', '48+97=145'] Exploring Operation: 50+145=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 50*145=7250, Resulting Numbers: [7250] 7250,10 unequal: No Solution Exploring Operation: 145-50=95, Resulting Numbers: [95] 95,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 10:[15, 16], Operations: ['97-65=32', '48-32=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,10 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[32, 33], Operations: ['97-65=32', '48-15=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,10 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[33, 32], Operations: ['48-15=33', '97-65=32'] Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[48, 17], Operations: ['97-65=32', '32-15=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[32, 63], Operations: ['97-65=32', '15+48=63'] Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 32*63=2016, Resulting Numbers: [2016] 2016,10 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[48, 47], Operations: ['97-65=32', '15+32=47'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[65, 64], Operations: ['48-15=33', '97-33=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[97, 32], Operations: ['48-15=33', '65-33=32'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[97, 98], Operations: ['48-15=33', '65+33=98'] Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,10 unequal: No Solution Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[33, 162], Operations: ['48-15=33', '65+97=162'] Exploring Operation: 33+162=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 162-33=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 33*162=5346, Resulting Numbers: [5346] 5346,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 76, 18, 26, 15 ]
47
[ "76-18=58", "26-15=11", "58-11=47" ]
Current State: 47:[76, 18, 26, 15], Operations: [] Exploring Operation: 76-18=58, Resulting Numbers: [26, 15, 58] Generated Node #2: [26, 15, 58] from Operation: 76-18=58 Current State: 47:[26, 15, 58], Operations: ['76-18=58'] Exploring Operation: 26-15=11, Resulting Numbers: [58, 11] Generated Node #3: [58, 11] from Operation: 26-15=11 Current State: 47:[58, 11], Operations: ['76-18=58', '26-15=11'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[76, 18, 26, 15], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [18, 15, 50] Generated Node #0,0: 47:[18, 15, 50] Operation: 76-26=50 Exploring Operation: 18+26=44, Resulting Numbers: [76, 15, 44] Generated Node #0,1: 47:[76, 15, 44] Operation: 18+26=44 Exploring Operation: 76-18=58, Resulting Numbers: [26, 15, 58] Generated Node #0,2: 47:[26, 15, 58] Operation: 76-18=58 Exploring Operation: 76-15=61, Resulting Numbers: [18, 26, 61] Generated Node #0,3: 47:[18, 26, 61] Operation: 76-15=61 Moving to Node #0,0 Current State: 47:[18, 15, 50], Operations: ['76-26=50'] Exploring Operation: 50-18=32, Resulting Numbers: [15, 32] Generated Node #0,0,0: 47:[15, 32] Operation: 50-18=32 Exploring Operation: 18+15=33, Resulting Numbers: [50, 33] Generated Node #0,0,1: 47:[50, 33] Operation: 18+15=33 Exploring Operation: 18-15=3, Resulting Numbers: [50, 3] Generated Node #0,0,2: 47:[50, 3] Operation: 18-15=3 Exploring Operation: 50-15=35, Resulting Numbers: [18, 35] Generated Node #0,0,3: 47:[18, 35] Operation: 50-15=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[50, 33], Operations: ['76-26=50', '18+15=33'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 50*33=1650, Resulting Numbers: [1650] 1650,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[18, 35], Operations: ['76-26=50', '50-15=35'] Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,47 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[15, 32], Operations: ['76-26=50', '50-18=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[76, 18, 26, 15], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [18, 15, 50] Generated Node #0,0: 47:[18, 15, 50] Operation: 76-26=50 Moving to Node #0,0 Current State: 47:[18, 15, 50], Operations: ['76-26=50'] Exploring Operation: 50-18=32, Resulting Numbers: [15, 32] Generated Node #0,0,0: 47:[15, 32] Operation: 50-18=32 Moving to Node #0,0,0 Current State: 47:[15, 32], Operations: ['76-26=50', '50-18=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 40, 92, 10, 41 ]
21
[ "92-40=52", "41-10=31", "52-31=21" ]
Current State: 21:[40, 92, 10, 41], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [10, 41, 52] Generated Node #2: [10, 41, 52] from Operation: 92-40=52 Current State: 21:[10, 41, 52], Operations: ['92-40=52'] Exploring Operation: 41-10=31, Resulting Numbers: [52, 31] Generated Node #3: [52, 31] from Operation: 41-10=31 Current State: 21:[52, 31], Operations: ['92-40=52', '41-10=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[40, 92, 10, 41], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [40, 10, 51] Generated Node #0,0: 21:[40, 10, 51] Operation: 92-41=51 Exploring Operation: 41-40=1, Resulting Numbers: [92, 10, 1] Generated Node #0,1: 21:[92, 10, 1] Operation: 41-40=1 Exploring Operation: 92-40=52, Resulting Numbers: [10, 41, 52] Generated Node #0,2: 21:[10, 41, 52] Operation: 92-40=52 Exploring Operation: 40-10=30, Resulting Numbers: [92, 41, 30] Generated Node #0,3: 21:[92, 41, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [92, 41, 4] Generated Node #0,4: 21:[92, 41, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[40, 10, 51], Operations: ['92-41=51'] Exploring Operation: 51-10=41, Resulting Numbers: [40, 41] Generated Node #0,0,0: 21:[40, 41] Operation: 51-10=41 Exploring Operation: 40+10=50, Resulting Numbers: [51, 50] Generated Node #0,0,1: 21:[51, 50] Operation: 40+10=50 Exploring Operation: 51-40=11, Resulting Numbers: [10, 11] Generated Node #0,0,2: 21:[10, 11] Operation: 51-40=11 Exploring Operation: 40-10=30, Resulting Numbers: [51, 30] Generated Node #0,0,3: 21:[51, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [51, 4] Generated Node #0,0,4: 21:[51, 4] Operation: 40/10=4 Moving to Node #0,0,2 Current State: 21:[10, 11], Operations: ['92-41=51', '51-40=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[40, 92, 10, 41], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [40, 10, 51] Generated Node #0,0: 21:[40, 10, 51] Operation: 92-41=51 Moving to Node #0,0 Current State: 21:[40, 10, 51], Operations: ['92-41=51'] Exploring Operation: 51-40=11, Resulting Numbers: [10, 11] Generated Node #0,0,2: 21:[10, 11] Operation: 51-40=11 Moving to Node #0,0,2 Current State: 21:[10, 11], Operations: ['92-41=51', '51-40=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 73, 10, 4, 5 ]
93
[ "10-5=5", "4*5=20", "73+20=93" ]
Current State: 93:[73, 10, 4, 5], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [73, 4, 5] Generated Node #2: [73, 4, 5] from Operation: 10-5=5 Current State: 93:[73, 4, 5], Operations: ['10-5=5'] Exploring Operation: 4*5=20, Resulting Numbers: [73, 20] Generated Node #3: [73, 20] from Operation: 4*5=20 Current State: 93:[73, 20], Operations: ['10-5=5', '4*5=20'] Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[73, 10, 4, 5], Operations: [] Exploring Operation: 73+10=83, Resulting Numbers: [4, 5, 83] Generated Node #0,0: 93:[4, 5, 83] Operation: 73+10=83 Exploring Operation: 10/5=2, Resulting Numbers: [73, 4, 2] Generated Node #0,1: 93:[73, 4, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[4, 5, 83], Operations: ['73+10=83'] Exploring Operation: 4+83=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 93:[5, 87] Operation: 4+83=87 Exploring Operation: 5+83=88, Resulting Numbers: [4, 88] Generated Node #0,0,1: 93:[4, 88] Operation: 5+83=88 Moving to Node #0,0,1 Current State: 93:[4, 88], Operations: ['73+10=83', '5+83=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[5, 87], Operations: ['73+10=83', '4+83=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[73, 4, 2], Operations: ['10/5=2'] Exploring Operation: 73+4=77, Resulting Numbers: [2, 77] Generated Node #0,1,0: 93:[2, 77] Operation: 73+4=77 Exploring Operation: 73+2=75, Resulting Numbers: [4, 75] Generated Node #0,1,1: 93:[4, 75] Operation: 73+2=75 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[2, 77], Operations: ['10/5=2', '73+4=77'] Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,93 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,93 unequal: No Solution No 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: 93:[4, 75], Operations: ['10/5=2', '73+2=75'] Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,93 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
[ 55, 6, 3, 84 ]
27
[ "84-55=29", "6/3=2", "29-2=27" ]
Current State: 27:[55, 6, 3, 84], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [6, 3, 29] Generated Node #2: [6, 3, 29] from Operation: 84-55=29 Current State: 27:[6, 3, 29], Operations: ['84-55=29'] Exploring Operation: 6/3=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 6/3=2 Current State: 27:[29, 2], Operations: ['84-55=29', '6/3=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[55, 6, 3, 84], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [6, 3, 29] Generated Node #0,0: 27:[6, 3, 29] Operation: 84-55=29 Exploring Operation: 84/3=28, Resulting Numbers: [55, 6, 28] Generated Node #0,1: 27:[55, 6, 28] Operation: 84/3=28 Moving to Node #0,0 Current State: 27:[6, 3, 29], Operations: ['84-55=29'] Exploring Operation: 6+3=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 27:[29, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 27:[29, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[29, 9], Operations: ['84-55=29', '6+3=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[29, 3], Operations: ['84-55=29', '6-3=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[55, 6, 28], Operations: ['84/3=28'] Exploring Operation: 55-28=27, Resulting Numbers: [6, 27] Generated Node #0,1,0: 27:[6, 27] Operation: 55-28=27 Exploring Operation: 55-6=49, Resulting Numbers: [28, 49] Generated Node #0,1,1: 27:[28, 49] Operation: 55-6=49 Moving to Node #0,1,0 Current State: 27:[6, 27], Operations: ['84/3=28', '55-28=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[28, 49], Operations: ['84/3=28', '55-6=49'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,27 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 80, 99, 64 ]
45
[ "1*80=80", "99-64=35", "80-35=45" ]
Current State: 45:[1, 80, 99, 64], Operations: [] Exploring Operation: 1*80=80, Resulting Numbers: [99, 64, 80] Generated Node #2: [99, 64, 80] from Operation: 1*80=80 Current State: 45:[99, 64, 80], Operations: ['1*80=80'] Exploring Operation: 99-64=35, Resulting Numbers: [80, 35] Generated Node #3: [80, 35] from Operation: 99-64=35 Current State: 45:[80, 35], Operations: ['1*80=80', '99-64=35'] Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[1, 80, 99, 64], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [1, 80, 35] Generated Node #0,0: 45:[1, 80, 35] Operation: 99-64=35 Exploring Operation: 80-64=16, Resulting Numbers: [1, 99, 16] Generated Node #0,1: 45:[1, 99, 16] Operation: 80-64=16 Exploring Operation: 99-80=19, Resulting Numbers: [1, 64, 19] Generated Node #0,2: 45:[1, 64, 19] Operation: 99-80=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[1, 64, 19], Operations: ['99-80=19'] Exploring Operation: 64-1=63, Resulting Numbers: [19, 63] Generated Node #0,2,0: 45:[19, 63] Operation: 64-1=63 Exploring Operation: 64-19=45, Resulting Numbers: [1, 45] Generated Node #0,2,1: 45:[1, 45] Operation: 64-19=45 Exploring Operation: 19-1=18, Resulting Numbers: [64, 18] Generated Node #0,2,2: 45:[64, 18] Operation: 19-1=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[1, 45], Operations: ['99-80=19', '64-19=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[1, 80, 99, 64], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [1, 64, 19] Generated Node #0,2: 45:[1, 64, 19] Operation: 99-80=19 Moving to Node #0,2 Current State: 45:[1, 64, 19], Operations: ['99-80=19'] Exploring Operation: 64-19=45, Resulting Numbers: [1, 45] Generated Node #0,2,1: 45:[1, 45] Operation: 64-19=45 Moving to Node #0,2,1 Current State: 45:[1, 45], Operations: ['99-80=19', '64-19=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 20, 37, 50, 14 ]
53
[ "37-20=17", "50-14=36", "17+36=53" ]
Current State: 53:[20, 37, 50, 14], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [50, 14, 17] Generated Node #2: [50, 14, 17] from Operation: 37-20=17 Current State: 53:[50, 14, 17], Operations: ['37-20=17'] Exploring Operation: 50-14=36, Resulting Numbers: [17, 36] Generated Node #3: [17, 36] from Operation: 50-14=36 Current State: 53:[17, 36], Operations: ['37-20=17', '50-14=36'] Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[20, 37, 50, 14], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [37, 50, 34] Generated Node #0,0: 53:[37, 50, 34] Operation: 20+14=34 Exploring Operation: 37+14=51, Resulting Numbers: [20, 50, 51] Generated Node #0,1: 53:[20, 50, 51] Operation: 37+14=51 Exploring Operation: 20+37=57, Resulting Numbers: [50, 14, 57] Generated Node #0,2: 53:[50, 14, 57] Operation: 20+37=57 Moving to Node #0,0 Current State: 53:[37, 50, 34], Operations: ['20+14=34'] Exploring Operation: 37+34=71, Resulting Numbers: [50, 71] Generated Node #0,0,0: 53:[50, 71] Operation: 37+34=71 Exploring Operation: 37+50=87, Resulting Numbers: [34, 87] Generated Node #0,0,1: 53:[34, 87] Operation: 37+50=87 Exploring Operation: 50+34=84, Resulting Numbers: [37, 84] Generated Node #0,0,2: 53:[37, 84] Operation: 50+34=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[50, 71], Operations: ['20+14=34', '37+34=71'] Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,53 unequal: No Solution Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[37, 84], Operations: ['20+14=34', '50+34=84'] Exploring Operation: 37*84=3108, Resulting Numbers: [3108] 3108,53 unequal: No Solution Exploring Operation: 37+84=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[34, 87], Operations: ['20+14=34', '37+50=87'] Exploring Operation: 34+87=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[20, 37, 50, 14], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [37, 50, 34] Generated Node #0,0: 53:[37, 50, 34] Operation: 20+14=34 Moving to Node #0,0 Current State: 53:[37, 50, 34], Operations: ['20+14=34'] Exploring Operation: 37+50=87, Resulting Numbers: [34, 87] Generated Node #0,0,1: 53:[34, 87] Operation: 37+50=87 Moving to Node #0,0,1 Current State: 53:[34, 87], Operations: ['20+14=34', '37+50=87'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 71, 15, 52, 42 ]
66
[ "71-15=56", "52-42=10", "56+10=66" ]
Current State: 66:[71, 15, 52, 42], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [52, 42, 56] Generated Node #2: [52, 42, 56] from Operation: 71-15=56 Current State: 66:[52, 42, 56], Operations: ['71-15=56'] Exploring Operation: 52-42=10, Resulting Numbers: [56, 10] Generated Node #3: [56, 10] from Operation: 52-42=10 Current State: 66:[56, 10], Operations: ['71-15=56', '52-42=10'] Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[71, 15, 52, 42], Operations: [] Exploring Operation: 15+52=67, Resulting Numbers: [71, 42, 67] Generated Node #0,0: 66:[71, 42, 67] Operation: 15+52=67 Exploring Operation: 52-42=10, Resulting Numbers: [71, 15, 10] Generated Node #0,1: 66:[71, 15, 10] Operation: 52-42=10 Exploring Operation: 71-52=19, Resulting Numbers: [15, 42, 19] Generated Node #0,2: 66:[15, 42, 19] Operation: 71-52=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[71, 15, 10], Operations: ['52-42=10'] Exploring Operation: 15+10=25, Resulting Numbers: [71, 25] Generated Node #0,1,0: 66:[71, 25] Operation: 15+10=25 Exploring Operation: 71-10=61, Resulting Numbers: [15, 61] Generated Node #0,1,1: 66:[15, 61] Operation: 71-10=61 Exploring Operation: 15-10=5, Resulting Numbers: [71, 5] Generated Node #0,1,2: 66:[71, 5] Operation: 15-10=5 Moving to Node #0,1,2 Current State: 66:[71, 5], Operations: ['52-42=10', '15-10=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[71, 15, 52, 42], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [71, 15, 10] Generated Node #0,1: 66:[71, 15, 10] Operation: 52-42=10 Moving to Node #0,1 Current State: 66:[71, 15, 10], Operations: ['52-42=10'] Exploring Operation: 15-10=5, Resulting Numbers: [71, 5] Generated Node #0,1,2: 66:[71, 5] Operation: 15-10=5 Moving to Node #0,1,2 Current State: 66:[71, 5], Operations: ['52-42=10', '15-10=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 5, 42, 14, 80 ]
84
[ "80/5=16", "16-14=2", "42*2=84" ]
Current State: 84:[5, 42, 14, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [42, 14, 16] Generated Node #2: [42, 14, 16] from Operation: 80/5=16 Current State: 84:[42, 14, 16], Operations: ['80/5=16'] Exploring Operation: 16-14=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 16-14=2 Current State: 84:[42, 2], Operations: ['80/5=16', '16-14=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[5, 42, 14, 80], Operations: [] Exploring Operation: 42-14=28, Resulting Numbers: [5, 80, 28] Generated Node #0,0: 84:[5, 80, 28] Operation: 42-14=28 Exploring Operation: 5+80=85, Resulting Numbers: [42, 14, 85] Generated Node #0,1: 84:[42, 14, 85] Operation: 5+80=85 Exploring Operation: 42/14=3, Resulting Numbers: [5, 80, 3] Generated Node #0,2: 84:[5, 80, 3] Operation: 42/14=3 Exploring Operation: 80/5=16, Resulting Numbers: [42, 14, 16] Generated Node #0,3: 84:[42, 14, 16] Operation: 80/5=16 Moving to Node #0,1 Current State: 84:[42, 14, 85], Operations: ['5+80=85'] Exploring Operation: 42-14=28, Resulting Numbers: [85, 28] Generated Node #0,1,0: 84:[85, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [85, 3] Generated Node #0,1,1: 84:[85, 3] Operation: 42/14=3 Exploring Operation: 85-14=71, Resulting Numbers: [42, 71] Generated Node #0,1,2: 84:[42, 71] Operation: 85-14=71 Exploring Operation: 85-42=43, Resulting Numbers: [14, 43] Generated Node #0,1,3: 84:[14, 43] Operation: 85-42=43 Moving to Node #0,3 Current State: 84:[42, 14, 16], Operations: ['80/5=16'] Exploring Operation: 42-16=26, Resulting Numbers: [14, 26] Generated Node #0,3,0: 84:[14, 26] Operation: 42-16=26 Exploring Operation: 16-14=2, Resulting Numbers: [42, 2] Generated Node #0,3,1: 84:[42, 2] Operation: 16-14=2 Exploring Operation: 42/14=3, Resulting Numbers: [16, 3] Generated Node #0,3,2: 84:[16, 3] Operation: 42/14=3 Exploring Operation: 42-14=28, Resulting Numbers: [16, 28] Generated Node #0,3,3: 84:[16, 28] Operation: 42-14=28 Moving to Node #0,2 Current State: 84:[5, 80, 3], Operations: ['42/14=3'] Exploring Operation: 80/5=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 84:[3, 16] Operation: 80/5=16 Exploring Operation: 5-3=2, Resulting Numbers: [80, 2] Generated Node #0,2,1: 84:[80, 2] Operation: 5-3=2 Exploring Operation: 5+80=85, Resulting Numbers: [3, 85] Generated Node #0,2,2: 84:[3, 85] Operation: 5+80=85 Exploring Operation: 80+3=83, Resulting Numbers: [5, 83] Generated Node #0,2,3: 84:[5, 83] Operation: 80+3=83 Moving to Node #0,0 Current State: 84:[5, 80, 28], Operations: ['42-14=28'] Exploring Operation: 80-5=75, Resulting Numbers: [28, 75] Generated Node #0,0,0: 84:[28, 75] Operation: 80-5=75 Exploring Operation: 28-5=23, Resulting Numbers: [80, 23] Generated Node #0,0,1: 84:[80, 23] Operation: 28-5=23 Exploring Operation: 5+80=85, Resulting Numbers: [28, 85] Generated Node #0,0,2: 84:[28, 85] Operation: 5+80=85 Exploring Operation: 80/5=16, Resulting Numbers: [28, 16] Generated Node #0,0,3: 84:[28, 16] Operation: 80/5=16 Moving to Node #0,3,1 Current State: 84:[42, 2], Operations: ['80/5=16', '16-14=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[5, 42, 14, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [42, 14, 16] Generated Node #0,3: 84:[42, 14, 16] Operation: 80/5=16 Moving to Node #0,3 Current State: 84:[42, 14, 16], Operations: ['80/5=16'] Exploring Operation: 16-14=2, Resulting Numbers: [42, 2] Generated Node #0,3,1: 84:[42, 2] Operation: 16-14=2 Moving to Node #0,3,1 Current State: 84:[42, 2], Operations: ['80/5=16', '16-14=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.975694
hs_4
mult_heuristic
[ 23, 4, 3, 18 ]
32
[ "23+3=26", "26-18=8", "4*8=32" ]
Current State: 32:[23, 4, 3, 18], Operations: [] Exploring Operation: 23+3=26, Resulting Numbers: [4, 18, 26] Generated Node #2: [4, 18, 26] from Operation: 23+3=26 Current State: 32:[4, 18, 26], Operations: ['23+3=26'] Exploring Operation: 26-18=8, Resulting Numbers: [4, 8] Generated Node #3: [4, 8] from Operation: 26-18=8 Current State: 32:[4, 8], Operations: ['23+3=26', '26-18=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[23, 4, 3, 18], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [4, 3, 5] Generated Node #0,0: 32:[4, 3, 5] Operation: 23-18=5 Exploring Operation: 23-4=19, Resulting Numbers: [3, 18, 19] Generated Node #0,1: 32:[3, 18, 19] Operation: 23-4=19 Exploring Operation: 23-3=20, Resulting Numbers: [4, 18, 20] Generated Node #0,2: 32:[4, 18, 20] Operation: 23-3=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[4, 3, 5], Operations: ['23-18=5'] Exploring Operation: 5-3=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 32:[4, 2] Operation: 5-3=2 Exploring Operation: 3*5=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 32:[4, 15] Operation: 3*5=15 Exploring Operation: 3+5=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 32:[4, 8] Operation: 3+5=8 Moving to Node #0,0,0 Current State: 32:[4, 2], Operations: ['23-18=5', '5-3=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[4, 8], Operations: ['23-18=5', '3+5=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[23, 4, 3, 18], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [4, 3, 5] Generated Node #0,0: 32:[4, 3, 5] Operation: 23-18=5 Moving to Node #0,0 Current State: 32:[4, 3, 5], Operations: ['23-18=5'] Exploring Operation: 3+5=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 32:[4, 8] Operation: 3+5=8 Moving to Node #0,0,2 Current State: 32:[4, 8], Operations: ['23-18=5', '3+5=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 6, 37, 26, 18 ]
13
[ "37-6=31", "26+18=44", "44-31=13" ]
Current State: 13:[6, 37, 26, 18], Operations: [] Exploring Operation: 37-6=31, Resulting Numbers: [26, 18, 31] Generated Node #2: [26, 18, 31] from Operation: 37-6=31 Current State: 13:[26, 18, 31], Operations: ['37-6=31'] Exploring Operation: 26+18=44, Resulting Numbers: [31, 44] Generated Node #3: [31, 44] from Operation: 26+18=44 Current State: 13:[31, 44], Operations: ['37-6=31', '26+18=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[6, 37, 26, 18], Operations: [] Exploring Operation: 37-18=19, Resulting Numbers: [6, 26, 19] Generated Node #0,0: 13:[6, 26, 19] Operation: 37-18=19 Exploring Operation: 37-26=11, Resulting Numbers: [6, 18, 11] Generated Node #0,1: 13:[6, 18, 11] Operation: 37-26=11 Exploring Operation: 37-6=31, Resulting Numbers: [26, 18, 31] Generated Node #0,2: 13:[26, 18, 31] Operation: 37-6=31 Moving to Node #0,1 Current State: 13:[6, 18, 11], Operations: ['37-26=11'] Exploring Operation: 6+11=17, Resulting Numbers: [18, 17] Generated Node #0,1,0: 13:[18, 17] Operation: 6+11=17 Exploring Operation: 18/6=3, Resulting Numbers: [11, 3] Generated Node #0,1,1: 13:[11, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [11, 12] Generated Node #0,1,2: 13:[11, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[11, 12], Operations: ['37-26=11', '18-6=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,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,1,0 Current State: 13:[18, 17], Operations: ['37-26=11', '6+11=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,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,1,1 Current State: 13:[11, 3], Operations: ['37-26=11', '18/6=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,13 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: 13:[6, 26, 19], Operations: ['37-18=19'] Exploring Operation: 26-6=20, Resulting Numbers: [19, 20] Generated Node #0,0,0: 13:[19, 20] Operation: 26-6=20 Exploring Operation: 19-6=13, Resulting Numbers: [26, 13] Generated Node #0,0,1: 13:[26, 13] Operation: 19-6=13 Exploring Operation: 26-19=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 13:[6, 7] Operation: 26-19=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[19, 20], Operations: ['37-18=19', '26-6=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,13 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,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,1 Current State: 13:[26, 13], Operations: ['37-18=19', '19-6=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[6, 37, 26, 18], Operations: [] Exploring Operation: 37-18=19, Resulting Numbers: [6, 26, 19] Generated Node #0,0: 13:[6, 26, 19] Operation: 37-18=19 Moving to Node #0,0 Current State: 13:[6, 26, 19], Operations: ['37-18=19'] Exploring Operation: 19-6=13, Resulting Numbers: [26, 13] Generated Node #0,0,1: 13:[26, 13] Operation: 19-6=13 Moving to Node #0,0,1 Current State: 13:[26, 13], Operations: ['37-18=19', '19-6=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 21, 51, 83, 56 ]
99
[ "21+51=72", "83-56=27", "72+27=99" ]
Current State: 99:[21, 51, 83, 56], Operations: [] Exploring Operation: 21+51=72, Resulting Numbers: [83, 56, 72] Generated Node #2: [83, 56, 72] from Operation: 21+51=72 Current State: 99:[83, 56, 72], Operations: ['21+51=72'] Exploring Operation: 83-56=27, Resulting Numbers: [72, 27] Generated Node #3: [72, 27] from Operation: 83-56=27 Current State: 99:[72, 27], Operations: ['21+51=72', '83-56=27'] Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[21, 51, 83, 56], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [21, 51, 27] Generated Node #0,0: 99:[21, 51, 27] Operation: 83-56=27 Exploring Operation: 56-21=35, Resulting Numbers: [51, 83, 35] Generated Node #0,1: 99:[51, 83, 35] Operation: 56-21=35 Exploring Operation: 51+56=107, Resulting Numbers: [21, 83, 107] Generated Node #0,2: 99:[21, 83, 107] Operation: 51+56=107 Exploring Operation: 56-51=5, Resulting Numbers: [21, 83, 5] Generated Node #0,3: 99:[21, 83, 5] Operation: 56-51=5 Exploring Operation: 83-51=32, Resulting Numbers: [21, 56, 32] Generated Node #0,4: 99:[21, 56, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[21, 83, 5], Operations: ['56-51=5'] Exploring Operation: 21*5=105, Resulting Numbers: [83, 105] Generated Node #0,3,0: 99:[83, 105] Operation: 21*5=105 Exploring Operation: 21+5=26, Resulting Numbers: [83, 26] Generated Node #0,3,1: 99:[83, 26] Operation: 21+5=26 Exploring Operation: 21+83=104, Resulting Numbers: [5, 104] Generated Node #0,3,2: 99:[5, 104] Operation: 21+83=104 Exploring Operation: 83+5=88, Resulting Numbers: [21, 88] Generated Node #0,3,3: 99:[21, 88] Operation: 83+5=88 Exploring Operation: 21-5=16, Resulting Numbers: [83, 16] Generated Node #0,3,4: 99:[83, 16] Operation: 21-5=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[5, 104], Operations: ['56-51=5', '21+83=104'] Exploring Operation: 5*104=520, Resulting Numbers: [520] 520,99 unequal: No Solution Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[21, 51, 83, 56], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [21, 83, 5] Generated Node #0,3: 99:[21, 83, 5] Operation: 56-51=5 Moving to Node #0,3 Current State: 99:[21, 83, 5], Operations: ['56-51=5'] Exploring Operation: 21+83=104, Resulting Numbers: [5, 104] Generated Node #0,3,2: 99:[5, 104] Operation: 21+83=104 Moving to Node #0,3,2 Current State: 99:[5, 104], Operations: ['56-51=5', '21+83=104'] Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 18, 96, 15, 10 ]
84
[ "18*10=180", "180/15=12", "96-12=84" ]
Current State: 84:[18, 96, 15, 10], Operations: [] Exploring Operation: 18*10=180, Resulting Numbers: [96, 15, 180] Generated Node #2: [96, 15, 180] from Operation: 18*10=180 Current State: 84:[96, 15, 180], Operations: ['18*10=180'] Exploring Operation: 180/15=12, Resulting Numbers: [96, 12] Generated Node #3: [96, 12] from Operation: 180/15=12 Current State: 84:[96, 12], Operations: ['18*10=180', '180/15=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[18, 96, 15, 10], Operations: [] Exploring Operation: 96-10=86, Resulting Numbers: [18, 15, 86] Generated Node #0,0: 84:[18, 15, 86] Operation: 96-10=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[18, 15, 86], Operations: ['96-10=86'] Exploring Operation: 18-15=3, Resulting Numbers: [86, 3] Generated Node #0,0,0: 84:[86, 3] Operation: 18-15=3 Moving to Node #0,0,0 Current State: 84:[86, 3], Operations: ['96-10=86', '18-15=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,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
[ 19, 76, 60, 42 ]
77
[ "19+76=95", "60-42=18", "95-18=77" ]
Current State: 77:[19, 76, 60, 42], Operations: [] Exploring Operation: 19+76=95, Resulting Numbers: [60, 42, 95] Generated Node #2: [60, 42, 95] from Operation: 19+76=95 Current State: 77:[60, 42, 95], Operations: ['19+76=95'] Exploring Operation: 60-42=18, Resulting Numbers: [95, 18] Generated Node #3: [95, 18] from Operation: 60-42=18 Current State: 77:[95, 18], Operations: ['19+76=95', '60-42=18'] Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[19, 76, 60, 42], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [19, 76, 18] Generated Node #0,0: 77:[19, 76, 18] Operation: 60-42=18 Moving to Node #0,0 Current State: 77:[19, 76, 18], Operations: ['60-42=18'] Exploring Operation: 19-18=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 77:[76, 1] Operation: 19-18=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[76, 1], Operations: ['60-42=18', '19-18=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[19, 76, 60, 42], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [19, 76, 18] Generated Node #0,0: 77:[19, 76, 18] Operation: 60-42=18 Moving to Node #0,0 Current State: 77:[19, 76, 18], Operations: ['60-42=18'] Exploring Operation: 19-18=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 77:[76, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 77:[76, 1], Operations: ['60-42=18', '19-18=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 65, 10, 77, 5 ]
89
[ "10*77=770", "770/5=154", "154-65=89" ]
Current State: 89:[65, 10, 77, 5], Operations: [] Exploring Operation: 10*77=770, Resulting Numbers: [65, 5, 770] Generated Node #2: [65, 5, 770] from Operation: 10*77=770 Current State: 89:[65, 5, 770], Operations: ['10*77=770'] Exploring Operation: 770/5=154, Resulting Numbers: [65, 154] Generated Node #3: [65, 154] from Operation: 770/5=154 Current State: 89:[65, 154], Operations: ['10*77=770', '770/5=154'] Exploring Operation: 154-65=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[65, 10, 77, 5], Operations: [] Exploring Operation: 65+10=75, Resulting Numbers: [77, 5, 75] Generated Node #0,0: 89:[77, 5, 75] Operation: 65+10=75 Exploring Operation: 65+5=70, Resulting Numbers: [10, 77, 70] Generated Node #0,1: 89:[10, 77, 70] Operation: 65+5=70 Exploring Operation: 10*5=50, Resulting Numbers: [65, 77, 50] Generated Node #0,2: 89:[65, 77, 50] Operation: 10*5=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[65, 77, 50], Operations: ['10*5=50'] Exploring Operation: 65+50=115, Resulting Numbers: [77, 115] Generated Node #0,2,0: 89:[77, 115] Operation: 65+50=115 Exploring Operation: 65-50=15, Resulting Numbers: [77, 15] Generated Node #0,2,1: 89:[77, 15] Operation: 65-50=15 Exploring Operation: 77+50=127, Resulting Numbers: [65, 127] Generated Node #0,2,2: 89:[65, 127] Operation: 77+50=127 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[77, 115], Operations: ['10*5=50', '65+50=115'] Exploring Operation: 77+115=192, Resulting Numbers: [192] 192,89 unequal: No Solution Exploring Operation: 77*115=8855, Resulting Numbers: [8855] 8855,89 unequal: No Solution Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[65, 127], Operations: ['10*5=50', '77+50=127'] Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 65*127=8255, Resulting Numbers: [8255] 8255,89 unequal: No Solution Exploring Operation: 65+127=192, Resulting Numbers: [192] 192,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[77, 15], Operations: ['10*5=50', '65-50=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,89 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[77, 5, 75], Operations: ['65+10=75'] Exploring Operation: 77-5=72, Resulting Numbers: [75, 72] Generated Node #0,0,0: 89:[75, 72] Operation: 77-5=72 Exploring Operation: 77+5=82, Resulting Numbers: [75, 82] Generated Node #0,0,1: 89:[75, 82] Operation: 77+5=82 Exploring Operation: 5+75=80, Resulting Numbers: [77, 80] Generated Node #0,0,2: 89:[77, 80] Operation: 5+75=80 Moving to Node #0,0,1 Current State: 89:[75, 82], Operations: ['65+10=75', '77+5=82'] Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 75+82=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 75*82=6150, Resulting Numbers: [6150] 6150,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[77, 80], Operations: ['65+10=75', '5+75=80'] Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 77+80=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 77*80=6160, Resulting Numbers: [6160] 6160,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[75, 72], Operations: ['65+10=75', '77-5=72'] Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 75+72=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 75*72=5400, Resulting Numbers: [5400] 5400,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:[10, 77, 70], Operations: ['65+5=70'] Exploring Operation: 10+77=87, Resulting Numbers: [70, 87] Generated Node #0,1,0: 89:[70, 87] Operation: 10+77=87 Exploring Operation: 77-10=67, Resulting Numbers: [70, 67] Generated Node #0,1,1: 89:[70, 67] Operation: 77-10=67 Exploring Operation: 10+70=80, Resulting Numbers: [77, 80] Generated Node #0,1,2: 89:[77, 80] Operation: 10+70=80 Moving to Node #0,1,0 Current State: 89:[70, 87], Operations: ['65+5=70', '10+77=87'] Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 70*87=6090, Resulting Numbers: [6090] 6090,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[77, 80], Operations: ['65+5=70', '10+70=80'] Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 77*80=6160, Resulting Numbers: [6160] 6160,89 unequal: No Solution Exploring Operation: 77+80=157, Resulting Numbers: [157] 157,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[70, 67], Operations: ['65+5=70', '77-10=67'] Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,89 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,89 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
[ 78, 95, 86, 6 ]
24
[ "95-86=9", "6*9=54", "78-54=24" ]
Current State: 24:[78, 95, 86, 6], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [78, 6, 9] Generated Node #2: [78, 6, 9] from Operation: 95-86=9 Current State: 24:[78, 6, 9], Operations: ['95-86=9'] Exploring Operation: 6*9=54, Resulting Numbers: [78, 54] Generated Node #3: [78, 54] from Operation: 6*9=54 Current State: 24:[78, 54], Operations: ['95-86=9', '6*9=54'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[78, 95, 86, 6], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [78, 6, 9] Generated Node #0,0: 24:[78, 6, 9] Operation: 95-86=9 Moving to Node #0,0 Current State: 24:[78, 6, 9], Operations: ['95-86=9'] Exploring Operation: 78/6=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 24:[9, 13] Operation: 78/6=13 Moving to Node #0,0,0 Current State: 24:[9, 13], Operations: ['95-86=9', '78/6=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 32, 38, 83 ]
29
[ "32-16=16", "83-38=45", "45-16=29" ]
Current State: 29:[16, 32, 38, 83], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [38, 83, 16] Generated Node #2: [38, 83, 16] from Operation: 32-16=16 Current State: 29:[38, 83, 16], Operations: ['32-16=16'] Exploring Operation: 83-38=45, Resulting Numbers: [16, 45] Generated Node #3: [16, 45] from Operation: 83-38=45 Current State: 29:[16, 45], Operations: ['32-16=16', '83-38=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 32, 38, 83], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [38, 83, 16] Generated Node #0,0: 29:[38, 83, 16] Operation: 32-16=16 Exploring Operation: 38-16=22, Resulting Numbers: [32, 83, 22] Generated Node #0,1: 29:[32, 83, 22] Operation: 38-16=22 Exploring Operation: 83-16=67, Resulting Numbers: [32, 38, 67] Generated Node #0,2: 29:[32, 38, 67] Operation: 83-16=67 Exploring Operation: 83-32=51, Resulting Numbers: [16, 38, 51] Generated Node #0,3: 29:[16, 38, 51] Operation: 83-32=51 Exploring Operation: 83-38=45, Resulting Numbers: [16, 32, 45] Generated Node #0,4: 29:[16, 32, 45] Operation: 83-38=45 Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[16, 32, 45], Operations: ['83-38=45'] Exploring Operation: 16+32=48, Resulting Numbers: [45, 48] Generated Node #0,4,0: 29:[45, 48] Operation: 16+32=48 Exploring Operation: 45-32=13, Resulting Numbers: [16, 13] Generated Node #0,4,1: 29:[16, 13] Operation: 45-32=13 Exploring Operation: 16+45=61, Resulting Numbers: [32, 61] Generated Node #0,4,2: 29:[32, 61] Operation: 16+45=61 Exploring Operation: 32-16=16, Resulting Numbers: [45, 16] Generated Node #0,4,3: 29:[45, 16] Operation: 32-16=16 Exploring Operation: 45-16=29, Resulting Numbers: [32, 29] Generated Node #0,4,4: 29:[32, 29] Operation: 45-16=29 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 29:[32, 29], Operations: ['83-38=45', '45-16=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,29 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,29 unequal: No Solution No 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: 29:[16, 13], Operations: ['83-38=45', '45-32=13'] Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,29 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[16, 32, 38, 83], Operations: [] Exploring Operation: 83-38=45, Resulting Numbers: [16, 32, 45] Generated Node #0,4: 29:[16, 32, 45] Operation: 83-38=45 Moving to Node #0,4 Current State: 29:[16, 32, 45], Operations: ['83-38=45'] Exploring Operation: 45-32=13, Resulting Numbers: [16, 13] Generated Node #0,4,1: 29:[16, 13] Operation: 45-32=13 Moving to Node #0,4,1 Current State: 29:[16, 13], Operations: ['83-38=45', '45-32=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 94, 71, 55, 45 ]
65
[ "94+71=165", "55+45=100", "165-100=65" ]
Current State: 65:[94, 71, 55, 45], Operations: [] Exploring Operation: 94+71=165, Resulting Numbers: [55, 45, 165] Generated Node #2: [55, 45, 165] from Operation: 94+71=165 Current State: 65:[55, 45, 165], Operations: ['94+71=165'] Exploring Operation: 55+45=100, Resulting Numbers: [165, 100] Generated Node #3: [165, 100] from Operation: 55+45=100 Current State: 65:[165, 100], Operations: ['94+71=165', '55+45=100'] Exploring Operation: 165-100=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[94, 71, 55, 45], Operations: [] Exploring Operation: 94-45=49, Resulting Numbers: [71, 55, 49] Generated Node #0,0: 65:[71, 55, 49] Operation: 94-45=49 Exploring Operation: 55-45=10, Resulting Numbers: [94, 71, 10] Generated Node #0,1: 65:[94, 71, 10] Operation: 55-45=10 Exploring Operation: 94-55=39, Resulting Numbers: [71, 45, 39] Generated Node #0,2: 65:[71, 45, 39] Operation: 94-55=39 Exploring Operation: 94-71=23, Resulting Numbers: [55, 45, 23] Generated Node #0,3: 65:[55, 45, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 65:[71, 55, 49], Operations: ['94-45=49'] Exploring Operation: 55+49=104, Resulting Numbers: [71, 104] Generated Node #0,0,0: 65:[71, 104] Operation: 55+49=104 Exploring Operation: 55-49=6, Resulting Numbers: [71, 6] Generated Node #0,0,1: 65:[71, 6] Operation: 55-49=6 Exploring Operation: 71-49=22, Resulting Numbers: [55, 22] Generated Node #0,0,2: 65:[55, 22] Operation: 71-49=22 Exploring Operation: 71-55=16, Resulting Numbers: [49, 16] Generated Node #0,0,3: 65:[49, 16] Operation: 71-55=16 Moving to Node #0,1 Current State: 65:[94, 71, 10], Operations: ['55-45=10'] Exploring Operation: 94+10=104, Resulting Numbers: [71, 104] Generated Node #0,1,0: 65:[71, 104] Operation: 94+10=104 Exploring Operation: 94-10=84, Resulting Numbers: [71, 84] Generated Node #0,1,1: 65:[71, 84] Operation: 94-10=84 Exploring Operation: 71-10=61, Resulting Numbers: [94, 61] Generated Node #0,1,2: 65:[94, 61] Operation: 71-10=61 Exploring Operation: 94-71=23, Resulting Numbers: [10, 23] Generated Node #0,1,3: 65:[10, 23] Operation: 94-71=23 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[10, 23], Operations: ['55-45=10', '94-71=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,65 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[71, 84], Operations: ['55-45=10', '94-10=84'] Exploring Operation: 71+84=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 71*84=5964, Resulting Numbers: [5964] 5964,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[94, 61], Operations: ['55-45=10', '71-10=61'] Exploring Operation: 94+61=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 94*61=5734, Resulting Numbers: [5734] 5734,65 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[71, 104], Operations: ['55-45=10', '94+10=104'] Exploring Operation: 71*104=7384, Resulting Numbers: [7384] 7384,65 unequal: No Solution Exploring Operation: 104-71=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 71+104=175, Resulting Numbers: [175] 175,65 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: 65:[55, 45, 23], Operations: ['94-71=23'] Exploring Operation: 45-23=22, Resulting Numbers: [55, 22] Generated Node #0,3,0: 65:[55, 22] Operation: 45-23=22 Exploring Operation: 55-45=10, Resulting Numbers: [23, 10] Generated Node #0,3,1: 65:[23, 10] Operation: 55-45=10 Exploring Operation: 55+23=78, Resulting Numbers: [45, 78] Generated Node #0,3,2: 65:[45, 78] Operation: 55+23=78 Exploring Operation: 45+23=68, Resulting Numbers: [55, 68] Generated Node #0,3,3: 65:[55, 68] Operation: 45+23=68 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[23, 10], Operations: ['94-71=23', '55-45=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,65 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[55, 68], Operations: ['94-71=23', '45+23=68'] Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 55*68=3740, Resulting Numbers: [3740] 3740,65 unequal: No Solution Exploring Operation: 55+68=123, Resulting Numbers: [123] 123,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[55, 22], Operations: ['94-71=23', '45-23=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,65 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[45, 78], Operations: ['94-71=23', '55+23=78'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,65 unequal: No Solution Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,65 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: 65:[71, 45, 39], Operations: ['94-55=39'] Exploring Operation: 45-39=6, Resulting Numbers: [71, 6] Generated Node #0,2,0: 65:[71, 6] Operation: 45-39=6 Exploring Operation: 45+39=84, Resulting Numbers: [71, 84] Generated Node #0,2,1: 65:[71, 84] Operation: 45+39=84 Exploring Operation: 71-39=32, Resulting Numbers: [45, 32] Generated Node #0,2,2: 65:[45, 32] Operation: 71-39=32 Exploring Operation: 71-45=26, Resulting Numbers: [39, 26] Generated Node #0,2,3: 65:[39, 26] Operation: 71-45=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[71, 6], Operations: ['94-55=39', '45-39=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,65 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[94, 71, 55, 45], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [71, 45, 39] Generated Node #0,2: 65:[71, 45, 39] Operation: 94-55=39 Moving to Node #0,2 Current State: 65:[71, 45, 39], Operations: ['94-55=39'] Exploring Operation: 45-39=6, Resulting Numbers: [71, 6] Generated Node #0,2,0: 65:[71, 6] Operation: 45-39=6 Moving to Node #0,2,0 Current State: 65:[71, 6], Operations: ['94-55=39', '45-39=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 96, 86, 6, 67 ]
83
[ "96-86=10", "6+67=73", "10+73=83" ]
Current State: 83:[96, 86, 6, 67], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [6, 67, 10] Generated Node #2: [6, 67, 10] from Operation: 96-86=10 Current State: 83:[6, 67, 10], Operations: ['96-86=10'] Exploring Operation: 6+67=73, Resulting Numbers: [10, 73] Generated Node #3: [10, 73] from Operation: 6+67=73 Current State: 83:[10, 73], Operations: ['96-86=10', '6+67=73'] Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[96, 86, 6, 67], Operations: [] Exploring Operation: 6+67=73, Resulting Numbers: [96, 86, 73] Generated Node #0,0: 83:[96, 86, 73] Operation: 6+67=73 Exploring Operation: 86+6=92, Resulting Numbers: [96, 67, 92] Generated Node #0,1: 83:[96, 67, 92] Operation: 86+6=92 Exploring Operation: 86-6=80, Resulting Numbers: [96, 67, 80] Generated Node #0,2: 83:[96, 67, 80] Operation: 86-6=80 Exploring Operation: 96-6=90, Resulting Numbers: [86, 67, 90] Generated Node #0,3: 83:[86, 67, 90] Operation: 96-6=90 Exploring Operation: 96+6=102, Resulting Numbers: [86, 67, 102] Generated Node #0,4: 83:[86, 67, 102] Operation: 96+6=102 Moving to Node #0,0 Current State: 83:[96, 86, 73], Operations: ['6+67=73'] Exploring Operation: 86-73=13, Resulting Numbers: [96, 13] Generated Node #0,0,0: 83:[96, 13] Operation: 86-73=13 Exploring Operation: 96-86=10, Resulting Numbers: [73, 10] Generated Node #0,0,1: 83:[73, 10] Operation: 96-86=10 Exploring Operation: 86+73=159, Resulting Numbers: [96, 159] Generated Node #0,0,2: 83:[96, 159] Operation: 86+73=159 Exploring Operation: 96-73=23, Resulting Numbers: [86, 23] Generated Node #0,0,3: 83:[86, 23] Operation: 96-73=23 Exploring Operation: 96+73=169, Resulting Numbers: [86, 169] Generated Node #0,0,4: 83:[86, 169] Operation: 96+73=169 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[86, 23], Operations: ['6+67=73', '96-73=23'] Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,83 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[96, 13], Operations: ['6+67=73', '86-73=13'] Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[96, 86, 6, 67], Operations: [] Exploring Operation: 6+67=73, Resulting Numbers: [96, 86, 73] Generated Node #0,0: 83:[96, 86, 73] Operation: 6+67=73 Moving to Node #0,0 Current State: 83:[96, 86, 73], Operations: ['6+67=73'] Exploring Operation: 86-73=13, Resulting Numbers: [96, 13] Generated Node #0,0,0: 83:[96, 13] Operation: 86-73=13 Moving to Node #0,0,0 Current State: 83:[96, 13], Operations: ['6+67=73', '86-73=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 11, 44, 96, 71 ]
30
[ "11+44=55", "96-71=25", "55-25=30" ]
Current State: 30:[11, 44, 96, 71], Operations: [] Exploring Operation: 11+44=55, Resulting Numbers: [96, 71, 55] Generated Node #2: [96, 71, 55] from Operation: 11+44=55 Current State: 30:[96, 71, 55], Operations: ['11+44=55'] Exploring Operation: 96-71=25, Resulting Numbers: [55, 25] Generated Node #3: [55, 25] from Operation: 96-71=25 Current State: 30:[55, 25], Operations: ['11+44=55', '96-71=25'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 44, 96, 71], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [11, 44, 25] Generated Node #0,0: 30:[11, 44, 25] Operation: 96-71=25 Exploring Operation: 96-44=52, Resulting Numbers: [11, 71, 52] Generated Node #0,1: 30:[11, 71, 52] Operation: 96-44=52 Moving to Node #0,0 Current State: 30:[11, 44, 25], Operations: ['96-71=25'] Exploring Operation: 44/11=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 30:[25, 4] Operation: 44/11=4 Exploring Operation: 44-25=19, Resulting Numbers: [11, 19] Generated Node #0,0,1: 30:[11, 19] Operation: 44-25=19 Moving to Node #0,1 Current State: 30:[11, 71, 52], Operations: ['96-44=52'] Exploring Operation: 71-11=60, Resulting Numbers: [52, 60] Generated Node #0,1,0: 30:[52, 60] Operation: 71-11=60 Exploring Operation: 71-52=19, Resulting Numbers: [11, 19] Generated Node #0,1,1: 30:[11, 19] Operation: 71-52=19 Moving to Node #0,0,1 Current State: 30:[11, 19], Operations: ['96-71=25', '44-25=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[11, 44, 96, 71], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [11, 44, 25] Generated Node #0,0: 30:[11, 44, 25] Operation: 96-71=25 Moving to Node #0,0 Current State: 30:[11, 44, 25], Operations: ['96-71=25'] Exploring Operation: 44-25=19, Resulting Numbers: [11, 19] Generated Node #0,0,1: 30:[11, 19] Operation: 44-25=19 Moving to Node #0,0,1 Current State: 30:[11, 19], Operations: ['96-71=25', '44-25=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 39, 2, 72, 47 ]
89
[ "72-47=25", "2*25=50", "39+50=89" ]
Current State: 89:[39, 2, 72, 47], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [39, 2, 25] Generated Node #2: [39, 2, 25] from Operation: 72-47=25 Current State: 89:[39, 2, 25], Operations: ['72-47=25'] Exploring Operation: 2*25=50, Resulting Numbers: [39, 50] Generated Node #3: [39, 50] from Operation: 2*25=50 Current State: 89:[39, 50], Operations: ['72-47=25', '2*25=50'] Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[39, 2, 72, 47], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [72, 47, 78] Generated Node #0,0: 89:[72, 47, 78] Operation: 39*2=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[72, 47, 78], Operations: ['39*2=78'] Exploring Operation: 72+47=119, Resulting Numbers: [78, 119] Generated Node #0,0,0: 89:[78, 119] Operation: 72+47=119 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[78, 119], Operations: ['39*2=78', '72+47=119'] Exploring Operation: 119-78=41, Resulting Numbers: [41] 41,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 12, 52, 6 ]
85
[ "35+52=87", "12/6=2", "87-2=85" ]
Current State: 85:[35, 12, 52, 6], Operations: [] Exploring Operation: 35+52=87, Resulting Numbers: [12, 6, 87] Generated Node #2: [12, 6, 87] from Operation: 35+52=87 Current State: 85:[12, 6, 87], Operations: ['35+52=87'] Exploring Operation: 12/6=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 12/6=2 Current State: 85:[87, 2], Operations: ['35+52=87', '12/6=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[35, 12, 52, 6], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [12, 6, 17] Generated Node #0,0: 85:[12, 6, 17] Operation: 52-35=17 Exploring Operation: 12+52=64, Resulting Numbers: [35, 6, 64] Generated Node #0,1: 85:[35, 6, 64] Operation: 12+52=64 Exploring Operation: 35-12=23, Resulting Numbers: [52, 6, 23] Generated Node #0,2: 85:[52, 6, 23] Operation: 35-12=23 Exploring Operation: 35+52=87, Resulting Numbers: [12, 6, 87] Generated Node #0,3: 85:[12, 6, 87] Operation: 35+52=87 Exploring Operation: 52-12=40, Resulting Numbers: [35, 6, 40] Generated Node #0,4: 85:[35, 6, 40] Operation: 52-12=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[12, 6, 17], Operations: ['52-35=17'] Exploring Operation: 12/6=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 85:[17, 2] Operation: 12/6=2 Exploring Operation: 6+17=23, Resulting Numbers: [12, 23] Generated Node #0,0,1: 85:[12, 23] Operation: 6+17=23 Exploring Operation: 12-6=6, Resulting Numbers: [17, 6] Generated Node #0,0,2: 85:[17, 6] Operation: 12-6=6 Exploring Operation: 12+6=18, Resulting Numbers: [17, 18] Generated Node #0,0,3: 85:[17, 18] Operation: 12+6=18 Exploring Operation: 17-12=5, Resulting Numbers: [6, 5] Generated Node #0,0,4: 85:[6, 5] Operation: 17-12=5 Moving to Node #0,0,2 Current State: 85:[17, 6], Operations: ['52-35=17', '12-6=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,85 unequal: No Solution Moving to Node #0,0,4 Current State: 85:[6, 5], Operations: ['52-35=17', '17-12=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[17, 18], Operations: ['52-35=17', '12+6=18'] Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,85 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[17, 2], Operations: ['52-35=17', '12/6=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[12, 23], Operations: ['52-35=17', '6+17=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,85 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[12, 6, 87], Operations: ['35+52=87'] Exploring Operation: 12/6=2, Resulting Numbers: [87, 2] Generated Node #0,3,0: 85:[87, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [87, 18] Generated Node #0,3,1: 85:[87, 18] Operation: 12+6=18 Exploring Operation: 12-6=6, Resulting Numbers: [87, 6] Generated Node #0,3,2: 85:[87, 6] Operation: 12-6=6 Exploring Operation: 87-12=75, Resulting Numbers: [6, 75] Generated Node #0,3,3: 85:[6, 75] Operation: 87-12=75 Exploring Operation: 87-6=81, Resulting Numbers: [12, 81] Generated Node #0,3,4: 85:[12, 81] Operation: 87-6=81 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[87, 18], Operations: ['35+52=87', '12+6=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,85 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[87, 6], Operations: ['35+52=87', '12-6=6'] Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,85 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 85:[87, 2], Operations: ['35+52=87', '12/6=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,85 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[35, 12, 52, 6], Operations: [] Exploring Operation: 35+52=87, Resulting Numbers: [12, 6, 87] Generated Node #0,3: 85:[12, 6, 87] Operation: 35+52=87 Moving to Node #0,3 Current State: 85:[12, 6, 87], Operations: ['35+52=87'] Exploring Operation: 12/6=2, Resulting Numbers: [87, 2] Generated Node #0,3,0: 85:[87, 2] Operation: 12/6=2 Moving to Node #0,3,0 Current State: 85:[87, 2], Operations: ['35+52=87', '12/6=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 62, 54, 72, 36 ]
27
[ "62-54=8", "72/8=9", "36-9=27" ]
Current State: 27:[62, 54, 72, 36], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [72, 36, 8] Generated Node #2: [72, 36, 8] from Operation: 62-54=8 Current State: 27:[72, 36, 8], Operations: ['62-54=8'] Exploring Operation: 72/8=9, Resulting Numbers: [36, 9] Generated Node #3: [36, 9] from Operation: 72/8=9 Current State: 27:[36, 9], Operations: ['62-54=8', '72/8=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[62, 54, 72, 36], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [62, 54, 2] Generated Node #0,0: 27:[62, 54, 2] Operation: 72/36=2 Exploring Operation: 72-62=10, Resulting Numbers: [54, 36, 10] Generated Node #0,1: 27:[54, 36, 10] Operation: 72-62=10 Exploring Operation: 72-54=18, Resulting Numbers: [62, 36, 18] Generated Node #0,2: 27:[62, 36, 18] Operation: 72-54=18 Exploring Operation: 62-54=8, Resulting Numbers: [72, 36, 8] Generated Node #0,3: 27:[72, 36, 8] Operation: 62-54=8 Exploring Operation: 72-36=36, Resulting Numbers: [62, 54, 36] Generated Node #0,4: 27:[62, 54, 36] Operation: 72-36=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[54, 36, 10], Operations: ['72-62=10'] Exploring Operation: 54-10=44, Resulting Numbers: [36, 44] Generated Node #0,1,0: 27:[36, 44] Operation: 54-10=44 Exploring Operation: 36-10=26, Resulting Numbers: [54, 26] Generated Node #0,1,1: 27:[54, 26] Operation: 36-10=26 Exploring Operation: 54-36=18, Resulting Numbers: [10, 18] Generated Node #0,1,2: 27:[10, 18] Operation: 54-36=18 Exploring Operation: 54+10=64, Resulting Numbers: [36, 64] Generated Node #0,1,3: 27:[36, 64] Operation: 54+10=64 Exploring Operation: 36+10=46, Resulting Numbers: [54, 46] Generated Node #0,1,4: 27:[54, 46] Operation: 36+10=46 Moving to Node #0,1,2 Current State: 27:[10, 18], Operations: ['72-62=10', '54-36=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,27 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[36, 44], Operations: ['72-62=10', '54-10=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[54, 26], Operations: ['72-62=10', '36-10=26'] Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,27 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[36, 64], Operations: ['72-62=10', '54+10=64'] Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[54, 46], Operations: ['72-62=10', '36+10=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[62, 36, 18], Operations: ['72-54=18'] Exploring Operation: 36/18=2, Resulting Numbers: [62, 2] Generated Node #0,2,0: 27:[62, 2] Operation: 36/18=2 Exploring Operation: 62-36=26, Resulting Numbers: [18, 26] Generated Node #0,2,1: 27:[18, 26] Operation: 62-36=26 Exploring Operation: 62+18=80, Resulting Numbers: [36, 80] Generated Node #0,2,2: 27:[36, 80] Operation: 62+18=80 Exploring Operation: 62-18=44, Resulting Numbers: [36, 44] Generated Node #0,2,3: 27:[36, 44] Operation: 62-18=44 Exploring Operation: 36-18=18, Resulting Numbers: [62, 18] Generated Node #0,2,4: 27:[62, 18] Operation: 36-18=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[18, 26], Operations: ['72-54=18', '62-36=26'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,27 unequal: No Solution No 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: 27:[36, 44], Operations: ['72-54=18', '62-18=44'] Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,27 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,27 unequal: No Solution No 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: 27:[62, 2], Operations: ['72-54=18', '36/18=2'] Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,27 unequal: No Solution No 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: 27:[62, 18], Operations: ['72-54=18', '36-18=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,27 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,27 unequal: No Solution No 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: 27:[36, 80], Operations: ['72-54=18', '62+18=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,27 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,27 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: 27:[72, 36, 8], Operations: ['62-54=8'] Exploring Operation: 36-8=28, Resulting Numbers: [72, 28] Generated Node #0,3,0: 27:[72, 28] Operation: 36-8=28 Exploring Operation: 72-36=36, Resulting Numbers: [8, 36] Generated Node #0,3,1: 27:[8, 36] Operation: 72-36=36 Exploring Operation: 72/8=9, Resulting Numbers: [36, 9] Generated Node #0,3,2: 27:[36, 9] Operation: 72/8=9 Exploring Operation: 72-8=64, Resulting Numbers: [36, 64] Generated Node #0,3,3: 27:[36, 64] Operation: 72-8=64 Exploring Operation: 72/36=2, Resulting Numbers: [8, 2] Generated Node #0,3,4: 27:[8, 2] Operation: 72/36=2 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 27:[8, 2], Operations: ['62-54=8', '72/36=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,27 unequal: No Solution No 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: 27:[36, 9], Operations: ['62-54=8', '72/8=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[62, 54, 72, 36], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [72, 36, 8] Generated Node #0,3: 27:[72, 36, 8] Operation: 62-54=8 Moving to Node #0,3 Current State: 27:[72, 36, 8], Operations: ['62-54=8'] Exploring Operation: 72/8=9, Resulting Numbers: [36, 9] Generated Node #0,3,2: 27:[36, 9] Operation: 72/8=9 Moving to Node #0,3,2 Current State: 27:[36, 9], Operations: ['62-54=8', '72/8=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 18, 23, 61, 57 ]
49
[ "61-57=4", "18*4=72", "72-23=49" ]
Current State: 49:[18, 23, 61, 57], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [18, 23, 4] Generated Node #2: [18, 23, 4] from Operation: 61-57=4 Current State: 49:[18, 23, 4], Operations: ['61-57=4'] Exploring Operation: 18*4=72, Resulting Numbers: [23, 72] Generated Node #3: [23, 72] from Operation: 18*4=72 Current State: 49:[23, 72], Operations: ['61-57=4', '18*4=72'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[18, 23, 61, 57], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [61, 57, 5] Generated Node #0,0: 49:[61, 57, 5] Operation: 23-18=5 Exploring Operation: 18+23=41, Resulting Numbers: [61, 57, 41] Generated Node #0,1: 49:[61, 57, 41] Operation: 18+23=41 Exploring Operation: 61-57=4, Resulting Numbers: [18, 23, 4] Generated Node #0,2: 49:[18, 23, 4] Operation: 61-57=4 Exploring Operation: 61-18=43, Resulting Numbers: [23, 57, 43] Generated Node #0,3: 49:[23, 57, 43] Operation: 61-18=43 Exploring Operation: 61-23=38, Resulting Numbers: [18, 57, 38] Generated Node #0,4: 49:[18, 57, 38] Operation: 61-23=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[61, 57, 5], Operations: ['23-18=5'] Exploring Operation: 57-5=52, Resulting Numbers: [61, 52] Generated Node #0,0,0: 49:[61, 52] Operation: 57-5=52 Exploring Operation: 61+5=66, Resulting Numbers: [57, 66] Generated Node #0,0,1: 49:[57, 66] Operation: 61+5=66 Exploring Operation: 61-5=56, Resulting Numbers: [57, 56] Generated Node #0,0,2: 49:[57, 56] Operation: 61-5=56 Exploring Operation: 57+5=62, Resulting Numbers: [61, 62] Generated Node #0,0,3: 49:[61, 62] Operation: 57+5=62 Exploring Operation: 61-57=4, Resulting Numbers: [5, 4] Generated Node #0,0,4: 49:[5, 4] Operation: 61-57=4 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[5, 4], Operations: ['23-18=5', '61-57=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[61, 52], Operations: ['23-18=5', '57-5=52'] Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,49 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[57, 56], Operations: ['23-18=5', '61-5=56'] Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,49 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[57, 66], Operations: ['23-18=5', '61+5=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,49 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[61, 62], Operations: ['23-18=5', '57+5=62'] Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,49 unequal: No Solution Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,49 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[61, 57, 41], Operations: ['18+23=41'] Exploring Operation: 57-41=16, Resulting Numbers: [61, 16] Generated Node #0,1,0: 49:[61, 16] Operation: 57-41=16 Exploring Operation: 57+41=98, Resulting Numbers: [61, 98] Generated Node #0,1,1: 49:[61, 98] Operation: 57+41=98 Exploring Operation: 61+41=102, Resulting Numbers: [57, 102] Generated Node #0,1,2: 49:[57, 102] Operation: 61+41=102 Exploring Operation: 61-57=4, Resulting Numbers: [41, 4] Generated Node #0,1,3: 49:[41, 4] Operation: 61-57=4 Exploring Operation: 61-41=20, Resulting Numbers: [57, 20] Generated Node #0,1,4: 49:[57, 20] Operation: 61-41=20 Moving to Node #0,1,3 Current State: 49:[41, 4], Operations: ['18+23=41', '61-57=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[57, 20], Operations: ['18+23=41', '61-41=20'] Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[61, 16], Operations: ['18+23=41', '57-41=16'] Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,49 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[61, 98], Operations: ['18+23=41', '57+41=98'] Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 61+98=159, Resulting Numbers: [159] 159,49 unequal: No Solution Exploring Operation: 61*98=5978, Resulting Numbers: [5978] 5978,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[57, 102], Operations: ['18+23=41', '61+41=102'] Exploring Operation: 102-57=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 57*102=5814, Resulting Numbers: [5814] 5814,49 unequal: No Solution Exploring Operation: 57+102=159, Resulting Numbers: [159] 159,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[18, 23, 4], Operations: ['61-57=4'] Exploring Operation: 23-18=5, Resulting Numbers: [4, 5] Generated Node #0,2,0: 49:[4, 5] Operation: 23-18=5 Exploring Operation: 23-4=19, Resulting Numbers: [18, 19] Generated Node #0,2,1: 49:[18, 19] Operation: 23-4=19 Exploring Operation: 18+4=22, Resulting Numbers: [23, 22] Generated Node #0,2,2: 49:[23, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [23, 14] Generated Node #0,2,3: 49:[23, 14] Operation: 18-4=14 Exploring Operation: 18+23=41, Resulting Numbers: [4, 41] Generated Node #0,2,4: 49:[4, 41] Operation: 18+23=41 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[4, 5], Operations: ['61-57=4', '23-18=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 49:[4, 41], Operations: ['61-57=4', '18+23=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,49 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[18, 19], Operations: ['61-57=4', '23-4=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,49 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[23, 14], Operations: ['61-57=4', '18-4=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,49 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[23, 22], Operations: ['61-57=4', '18+4=22'] Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,49 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[23, 57, 43], Operations: ['61-18=43'] Exploring Operation: 23+57=80, Resulting Numbers: [43, 80] Generated Node #0,3,0: 49:[43, 80] Operation: 23+57=80 Exploring Operation: 57-43=14, Resulting Numbers: [23, 14] Generated Node #0,3,1: 49:[23, 14] Operation: 57-43=14 Exploring Operation: 57-23=34, Resulting Numbers: [43, 34] Generated Node #0,3,2: 49:[43, 34] Operation: 57-23=34 Exploring Operation: 23+43=66, Resulting Numbers: [57, 66] Generated Node #0,3,3: 49:[57, 66] Operation: 23+43=66 Exploring Operation: 43-23=20, Resulting Numbers: [57, 20] Generated Node #0,3,4: 49:[57, 20] Operation: 43-23=20 Moving to Node #0,3,2 Current State: 49:[43, 34], Operations: ['61-18=43', '57-23=34'] Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,49 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[57, 20], Operations: ['61-18=43', '43-23=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[23, 14], Operations: ['61-18=43', '57-43=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,49 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[57, 66], Operations: ['61-18=43', '23+43=66'] Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,49 unequal: No Solution Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[43, 80], Operations: ['61-18=43', '23+57=80'] Exploring Operation: 43*80=3440, Resulting Numbers: [3440] 3440,49 unequal: No Solution Exploring Operation: 43+80=123, Resulting Numbers: [123] 123,49 unequal: No Solution Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[18, 57, 38], Operations: ['61-23=38'] Exploring Operation: 38-18=20, Resulting Numbers: [57, 20] Generated Node #0,4,0: 49:[57, 20] Operation: 38-18=20 Exploring Operation: 57-18=39, Resulting Numbers: [38, 39] Generated Node #0,4,1: 49:[38, 39] Operation: 57-18=39 Exploring Operation: 18+38=56, Resulting Numbers: [57, 56] Generated Node #0,4,2: 49:[57, 56] Operation: 18+38=56 Exploring Operation: 57-38=19, Resulting Numbers: [18, 19] Generated Node #0,4,3: 49:[18, 19] Operation: 57-38=19 Exploring Operation: 18+57=75, Resulting Numbers: [38, 75] Generated Node #0,4,4: 49:[38, 75] Operation: 18+57=75 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[57, 56], Operations: ['61-23=38', '18+38=56'] Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[57, 20], Operations: ['61-23=38', '38-18=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[38, 39], Operations: ['61-23=38', '57-18=39'] Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,49 unequal: No Solution Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[18, 19], Operations: ['61-23=38', '57-38=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[38, 75], Operations: ['61-23=38', '18+57=75'] Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,49 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 25, 3, 75, 74 ]
83
[ "75/25=3", "3*3=9", "74+9=83" ]
Current State: 83:[25, 3, 75, 74], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [3, 74, 3] Generated Node #2: [3, 74, 3] from Operation: 75/25=3 Current State: 83:[3, 74, 3], Operations: ['75/25=3'] Exploring Operation: 3*3=9, Resulting Numbers: [74, 9] Generated Node #3: [74, 9] from Operation: 3*3=9 Current State: 83:[74, 9], Operations: ['75/25=3', '3*3=9'] Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[25, 3, 75, 74], Operations: [] Exploring Operation: 25*3=75, Resulting Numbers: [75, 74, 75] Generated Node #0,0: 83:[75, 74, 75] Operation: 25*3=75 Moving to Node #0,0 Current State: 83:[75, 74, 75], Operations: ['25*3=75'] Exploring Operation: 75+74=149, Resulting Numbers: [75, 149] Generated Node #0,0,0: 83:[75, 149] Operation: 75+74=149 Moving to Node #0,0,0 Current State: 83:[75, 149], Operations: ['25*3=75', '75+74=149'] Exploring Operation: 149-75=74, Resulting Numbers: [74] 74,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 11, 88, 26, 52 ]
51
[ "88-11=77", "52-26=26", "77-26=51" ]
Current State: 51:[11, 88, 26, 52], Operations: [] Exploring Operation: 88-11=77, Resulting Numbers: [26, 52, 77] Generated Node #2: [26, 52, 77] from Operation: 88-11=77 Current State: 51:[26, 52, 77], Operations: ['88-11=77'] Exploring Operation: 52-26=26, Resulting Numbers: [77, 26] Generated Node #3: [77, 26] from Operation: 52-26=26 Current State: 51:[77, 26], Operations: ['88-11=77', '52-26=26'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[11, 88, 26, 52], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [26, 52, 8] Generated Node #0,0: 51:[26, 52, 8] Operation: 88/11=8 Exploring Operation: 88-11=77, Resulting Numbers: [26, 52, 77] Generated Node #0,1: 51:[26, 52, 77] Operation: 88-11=77 Exploring Operation: 88-26=62, Resulting Numbers: [11, 52, 62] Generated Node #0,2: 51:[11, 52, 62] Operation: 88-26=62 Exploring Operation: 88-52=36, Resulting Numbers: [11, 26, 36] Generated Node #0,3: 51:[11, 26, 36] Operation: 88-52=36 Moving to Node #0,0 Current State: 51:[26, 52, 8], Operations: ['88/11=8'] Exploring Operation: 26-8=18, Resulting Numbers: [52, 18] Generated Node #0,0,0: 51:[52, 18] Operation: 26-8=18 Exploring Operation: 52/26=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 51:[8, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [8, 26] Generated Node #0,0,2: 51:[8, 26] Operation: 52-26=26 Exploring Operation: 52-8=44, Resulting Numbers: [26, 44] Generated Node #0,0,3: 51:[26, 44] Operation: 52-8=44 Moving to Node #0,2 Current State: 51:[11, 52, 62], Operations: ['88-26=62'] Exploring Operation: 11+52=63, Resulting Numbers: [62, 63] Generated Node #0,2,0: 51:[62, 63] Operation: 11+52=63 Exploring Operation: 52-11=41, Resulting Numbers: [62, 41] Generated Node #0,2,1: 51:[62, 41] Operation: 52-11=41 Exploring Operation: 62-11=51, Resulting Numbers: [52, 51] Generated Node #0,2,2: 51:[52, 51] Operation: 62-11=51 Exploring Operation: 62-52=10, Resulting Numbers: [11, 10] Generated Node #0,2,3: 51:[11, 10] Operation: 62-52=10 Moving to Node #0,3 Current State: 51:[11, 26, 36], Operations: ['88-52=36'] Exploring Operation: 36-11=25, Resulting Numbers: [26, 25] Generated Node #0,3,0: 51:[26, 25] Operation: 36-11=25 Exploring Operation: 36-26=10, Resulting Numbers: [11, 10] Generated Node #0,3,1: 51:[11, 10] Operation: 36-26=10 Exploring Operation: 26-11=15, Resulting Numbers: [36, 15] Generated Node #0,3,2: 51:[36, 15] Operation: 26-11=15 Exploring Operation: 11+36=47, Resulting Numbers: [26, 47] Generated Node #0,3,3: 51:[26, 47] Operation: 11+36=47 Moving to Node #0,1 Current State: 51:[26, 52, 77], Operations: ['88-11=77'] Exploring Operation: 77-52=25, Resulting Numbers: [26, 25] Generated Node #0,1,0: 51:[26, 25] Operation: 77-52=25 Exploring Operation: 52-26=26, Resulting Numbers: [77, 26] Generated Node #0,1,1: 51:[77, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [77, 2] Generated Node #0,1,2: 51:[77, 2] Operation: 52/26=2 Exploring Operation: 77-26=51, Resulting Numbers: [52, 51] Generated Node #0,1,3: 51:[52, 51] Operation: 77-26=51 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[52, 51], Operations: ['88-11=77', '77-26=51'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,51 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,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,1,0 Current State: 51:[26, 25], Operations: ['88-11=77', '77-52=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,51 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[11, 88, 26, 52], Operations: [] Exploring Operation: 88-11=77, Resulting Numbers: [26, 52, 77] Generated Node #0,1: 51:[26, 52, 77] Operation: 88-11=77 Moving to Node #0,1 Current State: 51:[26, 52, 77], Operations: ['88-11=77'] Exploring Operation: 77-52=25, Resulting Numbers: [26, 25] Generated Node #0,1,0: 51:[26, 25] Operation: 77-52=25 Moving to Node #0,1,0 Current State: 51:[26, 25], Operations: ['88-11=77', '77-52=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 41, 47, 55, 47 ]
55
[ "47-47=0", "41*0=0", "55+0=55" ]
Current State: 55:[41, 47, 55, 47], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [41, 55, 0] Generated Node #2: [41, 55, 0] from Operation: 47-47=0 Current State: 55:[41, 55, 0], Operations: ['47-47=0'] Exploring Operation: 41*0=0, Resulting Numbers: [55, 0] Generated Node #3: [55, 0] from Operation: 41*0=0 Current State: 55:[55, 0], Operations: ['47-47=0', '41*0=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[41, 47, 55, 47], Operations: [] Exploring Operation: 47/47=1, Resulting Numbers: [41, 55, 1] Generated Node #0,0: 55:[41, 55, 1] Operation: 47/47=1 Exploring Operation: 55-41=14, Resulting Numbers: [47, 47, 14] Generated Node #0,1: 55:[47, 47, 14] Operation: 55-41=14 Exploring Operation: 47-41=6, Resulting Numbers: [47, 55, 6] Generated Node #0,2: 55:[47, 55, 6] Operation: 47-41=6 Exploring Operation: 47-41=6, Resulting Numbers: [55, 47, 6] Generated Node #0,3: 55:[55, 47, 6] Operation: 47-41=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[47, 55, 6], Operations: ['47-41=6'] Exploring Operation: 47-6=41, Resulting Numbers: [55, 41] Generated Node #0,2,0: 55:[55, 41] Operation: 47-6=41 Exploring Operation: 55-47=8, Resulting Numbers: [6, 8] Generated Node #0,2,1: 55:[6, 8] Operation: 55-47=8 Exploring Operation: 47+6=53, Resulting Numbers: [55, 53] Generated Node #0,2,2: 55:[55, 53] Operation: 47+6=53 Exploring Operation: 55+6=61, Resulting Numbers: [47, 61] Generated Node #0,2,3: 55:[47, 61] Operation: 55+6=61 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[55, 53], Operations: ['47-41=6', '47+6=53'] Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,55 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,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,2,1 Current State: 55:[6, 8], Operations: ['47-41=6', '55-47=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,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,2,0 Current State: 55:[55, 41], Operations: ['47-41=6', '47-6=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,55 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,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,2,3 Current State: 55:[47, 61], Operations: ['47-41=6', '55+6=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,55 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,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:[55, 47, 6], Operations: ['47-41=6'] Exploring Operation: 55-6=49, Resulting Numbers: [47, 49] Generated Node #0,3,0: 55:[47, 49] Operation: 55-6=49 Exploring Operation: 55-47=8, Resulting Numbers: [6, 8] Generated Node #0,3,1: 55:[6, 8] Operation: 55-47=8 Exploring Operation: 55+6=61, Resulting Numbers: [47, 61] Generated Node #0,3,2: 55:[47, 61] Operation: 55+6=61 Exploring Operation: 47+6=53, Resulting Numbers: [55, 53] Generated Node #0,3,3: 55:[55, 53] Operation: 47+6=53 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[55, 53], Operations: ['47-41=6', '47+6=53'] Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,55 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,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:[6, 8], Operations: ['47-41=6', '55-47=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,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:[47, 49], Operations: ['47-41=6', '55-6=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,55 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,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:[47, 61], Operations: ['47-41=6', '55+6=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,55 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,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:[41, 55, 1], Operations: ['47/47=1'] Exploring Operation: 41+1=42, Resulting Numbers: [55, 42] Generated Node #0,0,0: 55:[55, 42] Operation: 41+1=42 Exploring Operation: 41*1=41, Resulting Numbers: [55, 41] Generated Node #0,0,1: 55:[55, 41] Operation: 41*1=41 Exploring Operation: 55-41=14, Resulting Numbers: [1, 14] Generated Node #0,0,2: 55:[1, 14] Operation: 55-41=14 Exploring Operation: 41/1=41, Resulting Numbers: [55, 41] Generated Node #0,0,3: 55:[55, 41] Operation: 41/1=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[1, 14], Operations: ['47/47=1', '55-41=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,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:[55, 42], Operations: ['47/47=1', '41+1=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,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,1 Current State: 55:[55, 41], Operations: ['47/47=1', '41*1=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,55 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,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:[55, 41], Operations: ['47/47=1', '41/1=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,55 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,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,1 Current State: 55:[47, 47, 14], Operations: ['55-41=14'] Exploring Operation: 47/47=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 55:[14, 1] Operation: 47/47=1 Exploring Operation: 47+14=61, Resulting Numbers: [47, 61] Generated Node #0,1,1: 55:[47, 61] Operation: 47+14=61 Exploring Operation: 47-47=0, Resulting Numbers: [14, 0] Generated Node #0,1,2: 55:[14, 0] Operation: 47-47=0 Exploring Operation: 47+14=61, Resulting Numbers: [47, 61] Generated Node #0,1,3: 55:[47, 61] Operation: 47+14=61 Moving to Node #0,1,0 Current State: 55:[14, 1], Operations: ['55-41=14', '47/47=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[14, 0], Operations: ['55-41=14', '47-47=0'] Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[47, 61], Operations: ['55-41=14', '47+14=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,55 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[47, 61], Operations: ['55-41=14', '47+14=61'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,55 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,55 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
[ 54, 15, 24, 2 ]
61
[ "54-15=39", "24-2=22", "39+22=61" ]
Current State: 61:[54, 15, 24, 2], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [24, 2, 39] Generated Node #2: [24, 2, 39] from Operation: 54-15=39 Current State: 61:[24, 2, 39], Operations: ['54-15=39'] Exploring Operation: 24-2=22, Resulting Numbers: [39, 22] Generated Node #3: [39, 22] from Operation: 24-2=22 Current State: 61:[39, 22], Operations: ['54-15=39', '24-2=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[54, 15, 24, 2], Operations: [] Exploring Operation: 15+24=39, Resulting Numbers: [54, 2, 39] Generated Node #0,0: 61:[54, 2, 39] Operation: 15+24=39 Exploring Operation: 24*2=48, Resulting Numbers: [54, 15, 48] Generated Node #0,1: 61:[54, 15, 48] Operation: 24*2=48 Exploring Operation: 15+2=17, Resulting Numbers: [54, 24, 17] Generated Node #0,2: 61:[54, 24, 17] Operation: 15+2=17 Exploring Operation: 54+2=56, Resulting Numbers: [15, 24, 56] Generated Node #0,3: 61:[15, 24, 56] Operation: 54+2=56 Exploring Operation: 15*2=30, Resulting Numbers: [54, 24, 30] Generated Node #0,4: 61:[54, 24, 30] Operation: 15*2=30 Moving to Node #0,1 Current State: 61:[54, 15, 48], Operations: ['24*2=48'] Exploring Operation: 48-15=33, Resulting Numbers: [54, 33] Generated Node #0,1,0: 61:[54, 33] Operation: 48-15=33 Exploring Operation: 54+48=102, Resulting Numbers: [15, 102] Generated Node #0,1,1: 61:[15, 102] Operation: 54+48=102 Exploring Operation: 54+15=69, Resulting Numbers: [48, 69] Generated Node #0,1,2: 61:[48, 69] Operation: 54+15=69 Exploring Operation: 54-15=39, Resulting Numbers: [48, 39] Generated Node #0,1,3: 61:[48, 39] Operation: 54-15=39 Exploring Operation: 15+48=63, Resulting Numbers: [54, 63] Generated Node #0,1,4: 61:[54, 63] Operation: 15+48=63 Moving to Node #0,4 Current State: 61:[54, 24, 30], Operations: ['15*2=30'] Exploring Operation: 54+30=84, Resulting Numbers: [24, 84] Generated Node #0,4,0: 61:[24, 84] Operation: 54+30=84 Exploring Operation: 24+30=54, Resulting Numbers: [54, 54] Generated Node #0,4,1: 61:[54, 54] Operation: 24+30=54 Exploring Operation: 54+24=78, Resulting Numbers: [30, 78] Generated Node #0,4,2: 61:[30, 78] Operation: 54+24=78 Exploring Operation: 30-24=6, Resulting Numbers: [54, 6] Generated Node #0,4,3: 61:[54, 6] Operation: 30-24=6 Exploring Operation: 54-24=30, Resulting Numbers: [30, 30] Generated Node #0,4,4: 61:[30, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[54, 54], Operations: ['15*2=30', '24+30=54'] Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,61 unequal: No Solution Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,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,4,2 Current State: 61:[30, 78], Operations: ['15*2=30', '54+24=78'] Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,61 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,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,4,0 Current State: 61:[24, 84], Operations: ['15*2=30', '54+30=84'] Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 24*84=2016, Resulting Numbers: [2016] 2016,61 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,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,4,3 Current State: 61:[54, 6], Operations: ['15*2=30', '30-24=6'] Exploring Operation: 54*6=324, Resulting Numbers: [324] 324,61 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,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,4,4 Current State: 61:[30, 30], Operations: ['15*2=30', '54-24=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,61 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,61 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: 61:[54, 2, 39], Operations: ['15+24=39'] Exploring Operation: 54+2=56, Resulting Numbers: [39, 56] Generated Node #0,0,0: 61:[39, 56] Operation: 54+2=56 Exploring Operation: 54-2=52, Resulting Numbers: [39, 52] Generated Node #0,0,1: 61:[39, 52] Operation: 54-2=52 Exploring Operation: 2+39=41, Resulting Numbers: [54, 41] Generated Node #0,0,2: 61:[54, 41] Operation: 2+39=41 Exploring Operation: 39-2=37, Resulting Numbers: [54, 37] Generated Node #0,0,3: 61:[54, 37] Operation: 39-2=37 Exploring Operation: 2*39=78, Resulting Numbers: [54, 78] Generated Node #0,0,4: 61:[54, 78] Operation: 2*39=78 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[54, 78], Operations: ['15+24=39', '2*39=78'] Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,61 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,61 unequal: No Solution Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,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,0,0 Current State: 61:[39, 56], Operations: ['15+24=39', '54+2=56'] Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,61 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,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,0,2 Current State: 61:[54, 41], Operations: ['15+24=39', '2+39=41'] Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,61 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,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,0,1 Current State: 61:[39, 52], Operations: ['15+24=39', '54-2=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,61 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,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,0,3 Current State: 61:[54, 37], Operations: ['15+24=39', '39-2=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,61 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: 61:[54, 24, 17], Operations: ['15+2=17'] Exploring Operation: 24-17=7, Resulting Numbers: [54, 7] Generated Node #0,2,0: 61:[54, 7] Operation: 24-17=7 Exploring Operation: 54-17=37, Resulting Numbers: [24, 37] Generated Node #0,2,1: 61:[24, 37] Operation: 54-17=37 Exploring Operation: 54+24=78, Resulting Numbers: [17, 78] Generated Node #0,2,2: 61:[17, 78] Operation: 54+24=78 Exploring Operation: 24+17=41, Resulting Numbers: [54, 41] Generated Node #0,2,3: 61:[54, 41] Operation: 24+17=41 Exploring Operation: 54+17=71, Resulting Numbers: [24, 71] Generated Node #0,2,4: 61:[24, 71] Operation: 54+17=71 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[54, 41], Operations: ['15+2=17', '24+17=41'] Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,61 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[24, 71], Operations: ['15+2=17', '54+17=71'] Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[54, 7], Operations: ['15+2=17', '24-17=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[54, 15, 24, 2], Operations: [] Exploring Operation: 15+2=17, Resulting Numbers: [54, 24, 17] Generated Node #0,2: 61:[54, 24, 17] Operation: 15+2=17 Moving to Node #0,2 Current State: 61:[54, 24, 17], Operations: ['15+2=17'] Exploring Operation: 24-17=7, Resulting Numbers: [54, 7] Generated Node #0,2,0: 61:[54, 7] Operation: 24-17=7 Moving to Node #0,2,0 Current State: 61:[54, 7], Operations: ['15+2=17', '24-17=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.939236
hs_5
mult_heuristic
[ 53, 50, 81, 40 ]
38
[ "53-50=3", "81-40=41", "41-3=38" ]
Current State: 38:[53, 50, 81, 40], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [81, 40, 3] Generated Node #2: [81, 40, 3] from Operation: 53-50=3 Current State: 38:[81, 40, 3], Operations: ['53-50=3'] Exploring Operation: 81-40=41, Resulting Numbers: [3, 41] Generated Node #3: [3, 41] from Operation: 81-40=41 Current State: 38:[3, 41], Operations: ['53-50=3', '81-40=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[53, 50, 81, 40], Operations: [] Exploring Operation: 81-53=28, Resulting Numbers: [50, 40, 28] Generated Node #0,0: 38:[50, 40, 28] Operation: 81-53=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[50, 40, 28], Operations: ['81-53=28'] Exploring Operation: 50-28=22, Resulting Numbers: [40, 22] Generated Node #0,0,0: 38:[40, 22] Operation: 50-28=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[40, 22], Operations: ['81-53=28', '50-28=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 9, 18, 52 ]
98
[ "18/9=2", "52*2=104", "104-6=98" ]
Current State: 98:[6, 9, 18, 52], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [6, 52, 2] Generated Node #2: [6, 52, 2] from Operation: 18/9=2 Current State: 98:[6, 52, 2], Operations: ['18/9=2'] Exploring Operation: 52*2=104, Resulting Numbers: [6, 104] Generated Node #3: [6, 104] from Operation: 52*2=104 Current State: 98:[6, 104], Operations: ['18/9=2', '52*2=104'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[6, 9, 18, 52], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [6, 52, 2] Generated Node #0,0: 98:[6, 52, 2] Operation: 18/9=2 Moving to Node #0,0 Current State: 98:[6, 52, 2], Operations: ['18/9=2'] Exploring Operation: 52-2=50, Resulting Numbers: [6, 50] Generated Node #0,0,0: 98:[6, 50] Operation: 52-2=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[6, 50], Operations: ['18/9=2', '52-2=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,98 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
[ 75, 14, 79, 51 ]
73
[ "79-51=28", "28/14=2", "75-2=73" ]
Current State: 73:[75, 14, 79, 51], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [75, 14, 28] Generated Node #2: [75, 14, 28] from Operation: 79-51=28 Current State: 73:[75, 14, 28], Operations: ['79-51=28'] Exploring Operation: 28/14=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 28/14=2 Current State: 73:[75, 2], Operations: ['79-51=28', '28/14=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[75, 14, 79, 51], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [75, 51, 65] Generated Node #0,0: 73:[75, 51, 65] Operation: 79-14=65 Exploring Operation: 14+51=65, Resulting Numbers: [75, 79, 65] Generated Node #0,1: 73:[75, 79, 65] Operation: 14+51=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[75, 79, 65], Operations: ['14+51=65'] Exploring Operation: 75-65=10, Resulting Numbers: [79, 10] Generated Node #0,1,0: 73:[79, 10] Operation: 75-65=10 Exploring Operation: 79-65=14, Resulting Numbers: [75, 14] Generated Node #0,1,1: 73:[75, 14] Operation: 79-65=14 Moving to Node #0,1,1 Current State: 73:[75, 14], Operations: ['14+51=65', '79-65=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[79, 10], Operations: ['14+51=65', '75-65=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 51, 65], Operations: ['79-14=65'] Exploring Operation: 51+65=116, Resulting Numbers: [75, 116] Generated Node #0,0,0: 73:[75, 116] Operation: 51+65=116 Exploring Operation: 75-51=24, Resulting Numbers: [65, 24] Generated Node #0,0,1: 73:[65, 24] Operation: 75-51=24 Moving to Node #0,0,0 Current State: 73:[75, 116], Operations: ['79-14=65', '51+65=116'] Exploring Operation: 116-75=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 75+116=191, Resulting Numbers: [191] 191,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[65, 24], Operations: ['79-14=65', '75-51=24'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 80, 75, 33, 28 ]
65
[ "33-28=5", "75/5=15", "80-15=65" ]
Current State: 65:[80, 75, 33, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [80, 75, 5] Generated Node #2: [80, 75, 5] from Operation: 33-28=5 Current State: 65:[80, 75, 5], Operations: ['33-28=5'] Exploring Operation: 75/5=15, Resulting Numbers: [80, 15] Generated Node #3: [80, 15] from Operation: 75/5=15 Current State: 65:[80, 15], Operations: ['33-28=5', '75/5=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[80, 75, 33, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [80, 75, 5] Generated Node #0,0: 65:[80, 75, 5] Operation: 33-28=5 Exploring Operation: 80-75=5, Resulting Numbers: [33, 28, 5] Generated Node #0,1: 65:[33, 28, 5] Operation: 80-75=5 Exploring Operation: 33+28=61, Resulting Numbers: [80, 75, 61] Generated Node #0,2: 65:[80, 75, 61] Operation: 33+28=61 Exploring Operation: 80-33=47, Resulting Numbers: [75, 28, 47] Generated Node #0,3: 65:[75, 28, 47] Operation: 80-33=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[80, 75, 5], Operations: ['33-28=5'] Exploring Operation: 80-75=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 65:[5, 5] Operation: 80-75=5 Exploring Operation: 80-5=75, Resulting Numbers: [75, 75] Generated Node #0,0,1: 65:[75, 75] Operation: 80-5=75 Exploring Operation: 75/5=15, Resulting Numbers: [80, 15] Generated Node #0,0,2: 65:[80, 15] Operation: 75/5=15 Exploring Operation: 80/5=16, Resulting Numbers: [75, 16] Generated Node #0,0,3: 65:[75, 16] Operation: 80/5=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[5, 5], Operations: ['33-28=5', '80-75=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,65 unequal: No Solution No 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: 65:[75, 16], Operations: ['33-28=5', '80/5=16'] Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,65 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,65 unequal: No Solution No 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: 65:[80, 15], Operations: ['33-28=5', '75/5=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[80, 75, 33, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [80, 75, 5] Generated Node #0,0: 65:[80, 75, 5] Operation: 33-28=5 Moving to Node #0,0 Current State: 65:[80, 75, 5], Operations: ['33-28=5'] Exploring Operation: 75/5=15, Resulting Numbers: [80, 15] Generated Node #0,0,2: 65:[80, 15] Operation: 75/5=15 Moving to Node #0,0,2 Current State: 65:[80, 15], Operations: ['33-28=5', '75/5=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 64, 62, 2, 15 ]
18
[ "64-15=49", "62/2=31", "49-31=18" ]
Current State: 18:[64, 62, 2, 15], Operations: [] Exploring Operation: 64-15=49, Resulting Numbers: [62, 2, 49] Generated Node #2: [62, 2, 49] from Operation: 64-15=49 Current State: 18:[62, 2, 49], Operations: ['64-15=49'] Exploring Operation: 62/2=31, Resulting Numbers: [49, 31] Generated Node #3: [49, 31] from Operation: 62/2=31 Current State: 18:[49, 31], Operations: ['64-15=49', '62/2=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[64, 62, 2, 15], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [62, 15, 32] Generated Node #0,0: 18:[62, 15, 32] Operation: 64/2=32 Exploring Operation: 62/2=31, Resulting Numbers: [64, 15, 31] Generated Node #0,1: 18:[64, 15, 31] Operation: 62/2=31 Exploring Operation: 64-62=2, Resulting Numbers: [2, 15, 2] Generated Node #0,2: 18:[2, 15, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[2, 15, 2], Operations: ['64-62=2'] Exploring Operation: 15+2=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 18:[2, 17] Operation: 15+2=17 Exploring Operation: 2+15=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 18:[2, 17] Operation: 2+15=17 Exploring Operation: 15-2=13, Resulting Numbers: [2, 13] Generated Node #0,2,2: 18:[2, 13] Operation: 15-2=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[2, 17], Operations: ['64-62=2', '15+2=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution No 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: 18:[2, 17], Operations: ['64-62=2', '2+15=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,18 unequal: No Solution No 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: 18:[2, 13], Operations: ['64-62=2', '15-2=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,18 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: 18:[62, 15, 32], Operations: ['64/2=32'] Exploring Operation: 32-15=17, Resulting Numbers: [62, 17] Generated Node #0,0,0: 18:[62, 17] Operation: 32-15=17 Exploring Operation: 62-32=30, Resulting Numbers: [15, 30] Generated Node #0,0,1: 18:[15, 30] Operation: 62-32=30 Exploring Operation: 62-15=47, Resulting Numbers: [32, 47] Generated Node #0,0,2: 18:[32, 47] Operation: 62-15=47 Moving to Node #0,0,1 Current State: 18:[15, 30], Operations: ['64/2=32', '62-32=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[32, 47], Operations: ['64/2=32', '62-15=47'] Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,18 unequal: No Solution Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[62, 17], Operations: ['64/2=32', '32-15=17'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 62*17=1054, Resulting Numbers: [1054] 1054,18 unequal: No Solution Exploring Operation: 62+17=79, Resulting Numbers: [79] 79,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[64, 15, 31], Operations: ['62/2=31'] Exploring Operation: 31-15=16, Resulting Numbers: [64, 16] Generated Node #0,1,0: 18:[64, 16] Operation: 31-15=16 Exploring Operation: 64-15=49, Resulting Numbers: [31, 49] Generated Node #0,1,1: 18:[31, 49] Operation: 64-15=49 Exploring Operation: 64-31=33, Resulting Numbers: [15, 33] Generated Node #0,1,2: 18:[15, 33] Operation: 64-31=33 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[15, 33], Operations: ['62/2=31', '64-31=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[64, 62, 2, 15], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [64, 15, 31] Generated Node #0,1: 18:[64, 15, 31] Operation: 62/2=31 Moving to Node #0,1 Current State: 18:[64, 15, 31], Operations: ['62/2=31'] Exploring Operation: 64-31=33, Resulting Numbers: [15, 33] Generated Node #0,1,2: 18:[15, 33] Operation: 64-31=33 Moving to Node #0,1,2 Current State: 18:[15, 33], Operations: ['62/2=31', '64-31=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 40, 39, 49, 36 ]
84
[ "40-39=1", "49+36=85", "85-1=84" ]
Current State: 84:[40, 39, 49, 36], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [49, 36, 1] Generated Node #2: [49, 36, 1] from Operation: 40-39=1 Current State: 84:[49, 36, 1], Operations: ['40-39=1'] Exploring Operation: 49+36=85, Resulting Numbers: [1, 85] Generated Node #3: [1, 85] from Operation: 49+36=85 Current State: 84:[1, 85], Operations: ['40-39=1', '49+36=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[40, 39, 49, 36], Operations: [] Exploring Operation: 49-36=13, Resulting Numbers: [40, 39, 13] Generated Node #0,0: 84:[40, 39, 13] Operation: 49-36=13 Exploring Operation: 49+36=85, Resulting Numbers: [40, 39, 85] Generated Node #0,1: 84:[40, 39, 85] Operation: 49+36=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[40, 39, 13], Operations: ['49-36=13'] Exploring Operation: 39/13=3, Resulting Numbers: [40, 3] Generated Node #0,0,0: 84:[40, 3] Operation: 39/13=3 Exploring Operation: 40-39=1, Resulting Numbers: [13, 1] Generated Node #0,0,1: 84:[13, 1] Operation: 40-39=1 Moving to Node #0,0,0 Current State: 84:[40, 3], Operations: ['49-36=13', '39/13=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[13, 1], Operations: ['49-36=13', '40-39=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,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 Current State: 84:[40, 39, 85], Operations: ['49+36=85'] Exploring Operation: 40+39=79, Resulting Numbers: [85, 79] Generated Node #0,1,0: 84:[85, 79] Operation: 40+39=79 Exploring Operation: 40-39=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 84:[85, 1] Operation: 40-39=1 Moving to Node #0,1,1 Current State: 84:[85, 1], Operations: ['49+36=85', '40-39=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[40, 39, 49, 36], Operations: [] Exploring Operation: 49+36=85, Resulting Numbers: [40, 39, 85] Generated Node #0,1: 84:[40, 39, 85] Operation: 49+36=85 Moving to Node #0,1 Current State: 84:[40, 39, 85], Operations: ['49+36=85'] Exploring Operation: 40-39=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 84:[85, 1] Operation: 40-39=1 Moving to Node #0,1,1 Current State: 84:[85, 1], Operations: ['49+36=85', '40-39=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 2, 60, 97, 24 ]
11
[ "2+60=62", "97-24=73", "73-62=11" ]
Current State: 11:[2, 60, 97, 24], Operations: [] Exploring Operation: 2+60=62, Resulting Numbers: [97, 24, 62] Generated Node #2: [97, 24, 62] from Operation: 2+60=62 Current State: 11:[97, 24, 62], Operations: ['2+60=62'] Exploring Operation: 97-24=73, Resulting Numbers: [62, 73] Generated Node #3: [62, 73] from Operation: 97-24=73 Current State: 11:[62, 73], Operations: ['2+60=62', '97-24=73'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 60, 97, 24], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [2, 24, 37] Generated Node #0,0: 11:[2, 24, 37] Operation: 97-60=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[2, 24, 37], Operations: ['97-60=37'] Exploring Operation: 37-24=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 11:[2, 13] Operation: 37-24=13 Moving to Node #0,0,0 Current State: 11:[2, 13], Operations: ['97-60=37', '37-24=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[2, 60, 97, 24], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [2, 24, 37] Generated Node #0,0: 11:[2, 24, 37] Operation: 97-60=37 Moving to Node #0,0 Current State: 11:[2, 24, 37], Operations: ['97-60=37'] Exploring Operation: 37-24=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 11:[2, 13] Operation: 37-24=13 Moving to Node #0,0,0 Current State: 11:[2, 13], Operations: ['97-60=37', '37-24=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 53, 95, 61, 66 ]
37
[ "95-53=42", "66-61=5", "42-5=37" ]
Current State: 37:[53, 95, 61, 66], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [61, 66, 42] Generated Node #2: [61, 66, 42] from Operation: 95-53=42 Current State: 37:[61, 66, 42], Operations: ['95-53=42'] Exploring Operation: 66-61=5, Resulting Numbers: [42, 5] Generated Node #3: [42, 5] from Operation: 66-61=5 Current State: 37:[42, 5], Operations: ['95-53=42', '66-61=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[53, 95, 61, 66], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [53, 61, 29] Generated Node #0,0: 37:[53, 61, 29] Operation: 95-66=29 Exploring Operation: 66-53=13, Resulting Numbers: [95, 61, 13] Generated Node #0,1: 37:[95, 61, 13] Operation: 66-53=13 Exploring Operation: 95-53=42, Resulting Numbers: [61, 66, 42] Generated Node #0,2: 37:[61, 66, 42] Operation: 95-53=42 Exploring Operation: 66-61=5, Resulting Numbers: [53, 95, 5] Generated Node #0,3: 37:[53, 95, 5] Operation: 66-61=5 Exploring Operation: 95-61=34, Resulting Numbers: [53, 66, 34] Generated Node #0,4: 37:[53, 66, 34] Operation: 95-61=34 Moving to Node #0,0 Current State: 37:[53, 61, 29], Operations: ['95-66=29'] Exploring Operation: 61-53=8, Resulting Numbers: [29, 8] Generated Node #0,0,0: 37:[29, 8] Operation: 61-53=8 Exploring Operation: 53+29=82, Resulting Numbers: [61, 82] Generated Node #0,0,1: 37:[61, 82] Operation: 53+29=82 Exploring Operation: 61-29=32, Resulting Numbers: [53, 32] Generated Node #0,0,2: 37:[53, 32] Operation: 61-29=32 Exploring Operation: 61+29=90, Resulting Numbers: [53, 90] Generated Node #0,0,3: 37:[53, 90] Operation: 61+29=90 Exploring Operation: 53-29=24, Resulting Numbers: [61, 24] Generated Node #0,0,4: 37:[61, 24] Operation: 53-29=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[53, 32], Operations: ['95-66=29', '61-29=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,37 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[29, 8], Operations: ['95-66=29', '61-53=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[53, 95, 61, 66], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [53, 61, 29] Generated Node #0,0: 37:[53, 61, 29] Operation: 95-66=29 Moving to Node #0,0 Current State: 37:[53, 61, 29], Operations: ['95-66=29'] Exploring Operation: 61-53=8, Resulting Numbers: [29, 8] Generated Node #0,0,0: 37:[29, 8] Operation: 61-53=8 Moving to Node #0,0,0 Current State: 37:[29, 8], Operations: ['95-66=29', '61-53=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 55, 53, 49, 96 ]
31
[ "53-49=4", "96/4=24", "55-24=31" ]
Current State: 31:[55, 53, 49, 96], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [55, 96, 4] Generated Node #2: [55, 96, 4] from Operation: 53-49=4 Current State: 31:[55, 96, 4], Operations: ['53-49=4'] Exploring Operation: 96/4=24, Resulting Numbers: [55, 24] Generated Node #3: [55, 24] from Operation: 96/4=24 Current State: 31:[55, 24], Operations: ['53-49=4', '96/4=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[55, 53, 49, 96], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [53, 49, 41] Generated Node #0,0: 31:[53, 49, 41] Operation: 96-55=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[53, 49, 41], Operations: ['96-55=41'] Exploring Operation: 53-49=4, Resulting Numbers: [41, 4] Generated Node #0,0,0: 31:[41, 4] Operation: 53-49=4 Moving to Node #0,0,0 Current State: 31:[41, 4], Operations: ['96-55=41', '53-49=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,31 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
[ 40, 5, 14, 4 ]
34
[ "40+14=54", "5*4=20", "54-20=34" ]
Current State: 34:[40, 5, 14, 4], Operations: [] Exploring Operation: 40+14=54, Resulting Numbers: [5, 4, 54] Generated Node #2: [5, 4, 54] from Operation: 40+14=54 Current State: 34:[5, 4, 54], Operations: ['40+14=54'] Exploring Operation: 5*4=20, Resulting Numbers: [54, 20] Generated Node #3: [54, 20] from Operation: 5*4=20 Current State: 34:[54, 20], Operations: ['40+14=54', '5*4=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[40, 5, 14, 4], Operations: [] Exploring Operation: 40-5=35, Resulting Numbers: [14, 4, 35] Generated Node #0,0: 34:[14, 4, 35] Operation: 40-5=35 Moving to Node #0,0 Current State: 34:[14, 4, 35], Operations: ['40-5=35'] Exploring Operation: 14+4=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 34:[35, 18] Operation: 14+4=18 Moving to Node #0,0,0 Current State: 34:[35, 18], Operations: ['40-5=35', '14+4=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 18, 11, 62 ]
54
[ "76-11=65", "65-62=3", "18*3=54" ]
Current State: 54:[76, 18, 11, 62], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [18, 62, 65] Generated Node #2: [18, 62, 65] from Operation: 76-11=65 Current State: 54:[18, 62, 65], Operations: ['76-11=65'] Exploring Operation: 65-62=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 65-62=3 Current State: 54:[18, 3], Operations: ['76-11=65', '65-62=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[76, 18, 11, 62], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [18, 11, 14] Generated Node #0,0: 54:[18, 11, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 54:[18, 11, 14], Operations: ['76-62=14'] Exploring Operation: 14-11=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 14-11=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['76-62=14', '14-11=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[76, 18, 11, 62], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [18, 11, 14] Generated Node #0,0: 54:[18, 11, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 54:[18, 11, 14], Operations: ['76-62=14'] Exploring Operation: 14-11=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 14-11=3 Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['76-62=14', '14-11=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 41, 60, 41, 94 ]
35
[ "41/41=1", "94-60=34", "1+34=35" ]
Current State: 35:[41, 60, 41, 94], Operations: [] Exploring Operation: 41/41=1, Resulting Numbers: [60, 94, 1] Generated Node #2: [60, 94, 1] from Operation: 41/41=1 Current State: 35:[60, 94, 1], Operations: ['41/41=1'] Exploring Operation: 94-60=34, Resulting Numbers: [1, 34] Generated Node #3: [1, 34] from Operation: 94-60=34 Current State: 35:[1, 34], Operations: ['41/41=1', '94-60=34'] Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[41, 60, 41, 94], Operations: [] Exploring Operation: 94-41=53, Resulting Numbers: [60, 41, 53] Generated Node #0,0: 35:[60, 41, 53] Operation: 94-41=53 Exploring Operation: 94-60=34, Resulting Numbers: [41, 41, 34] Generated Node #0,1: 35:[41, 41, 34] Operation: 94-60=34 Exploring Operation: 94-41=53, Resulting Numbers: [41, 60, 53] Generated Node #0,2: 35:[41, 60, 53] Operation: 94-41=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[41, 41, 34], Operations: ['94-60=34'] Exploring Operation: 41-34=7, Resulting Numbers: [41, 7] Generated Node #0,1,0: 35:[41, 7] Operation: 41-34=7 Exploring Operation: 41/41=1, Resulting Numbers: [34, 1] Generated Node #0,1,1: 35:[34, 1] Operation: 41/41=1 Exploring Operation: 41-41=0, Resulting Numbers: [34, 0] Generated Node #0,1,2: 35:[34, 0] Operation: 41-41=0 Moving to Node #0,1,1 Current State: 35:[34, 1], Operations: ['94-60=34', '41/41=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[41, 60, 41, 94], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [41, 41, 34] Generated Node #0,1: 35:[41, 41, 34] Operation: 94-60=34 Moving to Node #0,1 Current State: 35:[41, 41, 34], Operations: ['94-60=34'] Exploring Operation: 41/41=1, Resulting Numbers: [34, 1] Generated Node #0,1,1: 35:[34, 1] Operation: 41/41=1 Moving to Node #0,1,1 Current State: 35:[34, 1], Operations: ['94-60=34', '41/41=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 56, 91, 15, 30 ]
75
[ "91-56=35", "35-30=5", "15*5=75" ]
Current State: 75:[56, 91, 15, 30], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [15, 30, 35] Generated Node #2: [15, 30, 35] from Operation: 91-56=35 Current State: 75:[15, 30, 35], Operations: ['91-56=35'] Exploring Operation: 35-30=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 35-30=5 Current State: 75:[15, 5], Operations: ['91-56=35', '35-30=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[56, 91, 15, 30], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [15, 30, 35] Generated Node #0,0: 75:[15, 30, 35] Operation: 91-56=35 Exploring Operation: 56-30=26, Resulting Numbers: [91, 15, 26] Generated Node #0,1: 75:[91, 15, 26] Operation: 56-30=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[15, 30, 35], Operations: ['91-56=35'] Exploring Operation: 35-30=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 35-30=5 Exploring Operation: 30-15=15, Resulting Numbers: [35, 15] Generated Node #0,0,1: 75:[35, 15] Operation: 30-15=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['91-56=35', '35-30=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[56, 91, 15, 30], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [15, 30, 35] Generated Node #0,0: 75:[15, 30, 35] Operation: 91-56=35 Moving to Node #0,0 Current State: 75:[15, 30, 35], Operations: ['91-56=35'] Exploring Operation: 35-30=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['91-56=35', '35-30=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 66, 75, 75, 4 ]
61
[ "66-4=62", "75/75=1", "62-1=61" ]
Current State: 61:[66, 75, 75, 4], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [75, 75, 62] Generated Node #2: [75, 75, 62] from Operation: 66-4=62 Current State: 61:[75, 75, 62], Operations: ['66-4=62'] Exploring Operation: 75/75=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 75/75=1 Current State: 61:[62, 1], Operations: ['66-4=62', '75/75=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[66, 75, 75, 4], Operations: [] Exploring Operation: 75-4=71, Resulting Numbers: [66, 75, 71] Generated Node #0,0: 61:[66, 75, 71] Operation: 75-4=71 Exploring Operation: 66-4=62, Resulting Numbers: [75, 75, 62] Generated Node #0,1: 61:[75, 75, 62] Operation: 66-4=62 Moving to Node #0,0 Current State: 61:[66, 75, 71], Operations: ['75-4=71'] Exploring Operation: 75-66=9, Resulting Numbers: [71, 9] Generated Node #0,0,0: 61:[71, 9] Operation: 75-66=9 Exploring Operation: 75-71=4, Resulting Numbers: [66, 4] Generated Node #0,0,1: 61:[66, 4] Operation: 75-71=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[71, 9], Operations: ['75-4=71', '75-66=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,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,0,1 Current State: 61:[66, 4], Operations: ['75-4=71', '75-71=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[75, 75, 62], Operations: ['66-4=62'] Exploring Operation: 75-75=0, Resulting Numbers: [62, 0] Generated Node #0,1,0: 61:[62, 0] Operation: 75-75=0 Exploring Operation: 75/75=1, Resulting Numbers: [62, 1] Generated Node #0,1,1: 61:[62, 1] Operation: 75/75=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[62, 1], Operations: ['66-4=62', '75/75=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[66, 75, 75, 4], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [75, 75, 62] Generated Node #0,1: 61:[75, 75, 62] Operation: 66-4=62 Moving to Node #0,1 Current State: 61:[75, 75, 62], Operations: ['66-4=62'] Exploring Operation: 75/75=1, Resulting Numbers: [62, 1] Generated Node #0,1,1: 61:[62, 1] Operation: 75/75=1 Moving to Node #0,1,1 Current State: 61:[62, 1], Operations: ['66-4=62', '75/75=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 34, 40, 78, 85 ]
72
[ "40-34=6", "78/6=13", "85-13=72" ]
Current State: 72:[34, 40, 78, 85], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [78, 85, 6] Generated Node #2: [78, 85, 6] from Operation: 40-34=6 Current State: 72:[78, 85, 6], Operations: ['40-34=6'] Exploring Operation: 78/6=13, Resulting Numbers: [85, 13] Generated Node #3: [85, 13] from Operation: 78/6=13 Current State: 72:[85, 13], Operations: ['40-34=6', '78/6=13'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[34, 40, 78, 85], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [34, 85, 38] Generated Node #0,0: 72:[34, 85, 38] Operation: 78-40=38 Exploring Operation: 85-78=7, Resulting Numbers: [34, 40, 7] Generated Node #0,1: 72:[34, 40, 7] Operation: 85-78=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[34, 40, 7], Operations: ['85-78=7'] Exploring Operation: 40-34=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 72:[7, 6] Operation: 40-34=6 Exploring Operation: 34+40=74, Resulting Numbers: [7, 74] Generated Node #0,1,1: 72:[7, 74] Operation: 34+40=74 Moving to Node #0,1,0 Current State: 72:[7, 6], Operations: ['85-78=7', '40-34=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[7, 74], Operations: ['85-78=7', '34+40=74'] Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[34, 85, 38], Operations: ['78-40=38'] Exploring Operation: 34+38=72, Resulting Numbers: [85, 72] Generated Node #0,0,0: 72:[85, 72] Operation: 34+38=72 Exploring Operation: 38-34=4, Resulting Numbers: [85, 4] Generated Node #0,0,1: 72:[85, 4] Operation: 38-34=4 Moving to Node #0,0,0 Current State: 72:[85, 72], Operations: ['78-40=38', '34+38=72'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[85, 4], Operations: ['78-40=38', '38-34=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 71, 1, 25, 1 ]
94
[ "71-1=70", "25-1=24", "70+24=94" ]
Current State: 94:[71, 1, 25, 1], Operations: [] Exploring Operation: 71-1=70, Resulting Numbers: [25, 70] Generated Node #2: [25, 70] from Operation: 71-1=70 Current State: 94:[25, 70], Operations: ['71-1=70'] Exploring Operation: 25-1=24, Resulting Numbers: [70, 24] Generated Node #3: [70, 24] from Operation: 25-1=24 Current State: 94:[70, 24], Operations: ['71-1=70', '25-1=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[71, 1, 25, 1], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [1, 1, 46] Generated Node #0,0: 94:[1, 1, 46] Operation: 71-25=46 Exploring Operation: 71+1=72, Resulting Numbers: [1, 25, 72] Generated Node #0,1: 94:[1, 25, 72] Operation: 71+1=72 Exploring Operation: 71+1=72, Resulting Numbers: [25, 1, 72] Generated Node #0,2: 94:[25, 1, 72] Operation: 71+1=72 Exploring Operation: 71+25=96, Resulting Numbers: [1, 1, 96] Generated Node #0,3: 94:[1, 1, 96] Operation: 71+25=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[1, 1, 46], Operations: ['71-25=46'] Exploring Operation: 1+46=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 94:[1, 47] Operation: 1+46=47 Exploring Operation: 1+46=47, Resulting Numbers: [1, 47] Generated Node #0,0,1: 94:[1, 47] Operation: 1+46=47 Exploring Operation: 1*1=1, Resulting Numbers: [46, 1] Generated Node #0,0,2: 94:[46, 1] Operation: 1*1=1 Exploring Operation: 1+1=2, Resulting Numbers: [46, 2] Generated Node #0,0,3: 94:[46, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[1, 47], Operations: ['71-25=46', '1+46=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[1, 47], Operations: ['71-25=46', '1+46=47'] Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[46, 2], Operations: ['71-25=46', '1+1=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,94 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[46, 1], Operations: ['71-25=46', '1*1=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,94 unequal: No Solution 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: 94:[1, 1, 96], Operations: ['71+25=96'] Exploring Operation: 96-1=95, Resulting Numbers: [1, 95] Generated Node #0,3,0: 94:[1, 95] Operation: 96-1=95 Exploring Operation: 1+1=2, Resulting Numbers: [96, 2] Generated Node #0,3,1: 94:[96, 2] Operation: 1+1=2 Exploring Operation: 96-1=95, Resulting Numbers: [1, 95] Generated Node #0,3,2: 94:[1, 95] Operation: 96-1=95 Exploring Operation: 1*1=1, Resulting Numbers: [96, 1] Generated Node #0,3,3: 94:[96, 1] Operation: 1*1=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[1, 95], Operations: ['71+25=96', '96-1=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[71, 1, 25, 1], Operations: [] Exploring Operation: 71+25=96, Resulting Numbers: [1, 1, 96] Generated Node #0,3: 94:[1, 1, 96] Operation: 71+25=96 Moving to Node #0,3 Current State: 94:[1, 1, 96], Operations: ['71+25=96'] Exploring Operation: 96-1=95, Resulting Numbers: [1, 95] Generated Node #0,3,0: 94:[1, 95] Operation: 96-1=95 Moving to Node #0,3,0 Current State: 94:[1, 95], Operations: ['71+25=96', '96-1=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 32, 22, 36, 5 ]
86
[ "32-22=10", "5*10=50", "36+50=86" ]
Current State: 86:[32, 22, 36, 5], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [36, 5, 10] Generated Node #2: [36, 5, 10] from Operation: 32-22=10 Current State: 86:[36, 5, 10], Operations: ['32-22=10'] Exploring Operation: 5*10=50, Resulting Numbers: [36, 50] Generated Node #3: [36, 50] from Operation: 5*10=50 Current State: 86:[36, 50], Operations: ['32-22=10', '5*10=50'] Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[32, 22, 36, 5], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [22, 5, 4] Generated Node #0,0: 86:[22, 5, 4] Operation: 36-32=4 Exploring Operation: 32-22=10, Resulting Numbers: [36, 5, 10] Generated Node #0,1: 86:[36, 5, 10] Operation: 32-22=10 Exploring Operation: 32+22=54, Resulting Numbers: [36, 5, 54] Generated Node #0,2: 86:[36, 5, 54] Operation: 32+22=54 Exploring Operation: 36-22=14, Resulting Numbers: [32, 5, 14] Generated Node #0,3: 86:[32, 5, 14] Operation: 36-22=14 Moving to Node #0,1 Current State: 86:[36, 5, 10], Operations: ['32-22=10'] Exploring Operation: 10-5=5, Resulting Numbers: [36, 5] Generated Node #0,1,0: 86:[36, 5] Operation: 10-5=5 Exploring Operation: 36+10=46, Resulting Numbers: [5, 46] Generated Node #0,1,1: 86:[5, 46] Operation: 36+10=46 Exploring Operation: 36+5=41, Resulting Numbers: [10, 41] Generated Node #0,1,2: 86:[10, 41] Operation: 36+5=41 Exploring Operation: 10/5=2, Resulting Numbers: [36, 2] Generated Node #0,1,3: 86:[36, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[5, 46], Operations: ['32-22=10', '36+10=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,86 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[36, 2], Operations: ['32-22=10', '10/5=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[36, 5], Operations: ['32-22=10', '10-5=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[10, 41], Operations: ['32-22=10', '36+5=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,86 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: 86:[36, 5, 54], Operations: ['32+22=54'] Exploring Operation: 54-5=49, Resulting Numbers: [36, 49] Generated Node #0,2,0: 86:[36, 49] Operation: 54-5=49 Exploring Operation: 36+54=90, Resulting Numbers: [5, 90] Generated Node #0,2,1: 86:[5, 90] Operation: 36+54=90 Exploring Operation: 36+5=41, Resulting Numbers: [54, 41] Generated Node #0,2,2: 86:[54, 41] Operation: 36+5=41 Exploring Operation: 54-36=18, Resulting Numbers: [5, 18] Generated Node #0,2,3: 86:[5, 18] Operation: 54-36=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[5, 90], Operations: ['32+22=54', '36+54=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,86 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[36, 49], Operations: ['32+22=54', '54-5=49'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[54, 41], Operations: ['32+22=54', '36+5=41'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,86 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[5, 18], Operations: ['32+22=54', '54-36=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,86 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: 86:[22, 5, 4], Operations: ['36-32=4'] Exploring Operation: 22-5=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 86:[4, 17] Operation: 22-5=17 Exploring Operation: 22*4=88, Resulting Numbers: [5, 88] Generated Node #0,0,1: 86:[5, 88] Operation: 22*4=88 Exploring Operation: 22+5=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 86:[4, 27] Operation: 22+5=27 Exploring Operation: 22-4=18, Resulting Numbers: [5, 18] Generated Node #0,0,3: 86:[5, 18] Operation: 22-4=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[5, 88], Operations: ['36-32=4', '22*4=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,86 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[4, 17], Operations: ['36-32=4', '22-5=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[4, 27], Operations: ['36-32=4', '22+5=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,86 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[5, 18], Operations: ['36-32=4', '22-4=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,86 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: 86:[32, 5, 14], Operations: ['36-22=14'] Exploring Operation: 32+14=46, Resulting Numbers: [5, 46] Generated Node #0,3,0: 86:[5, 46] Operation: 32+14=46 Exploring Operation: 14-5=9, Resulting Numbers: [32, 9] Generated Node #0,3,1: 86:[32, 9] Operation: 14-5=9 Exploring Operation: 32-14=18, Resulting Numbers: [5, 18] Generated Node #0,3,2: 86:[5, 18] Operation: 32-14=18 Exploring Operation: 32+5=37, Resulting Numbers: [14, 37] Generated Node #0,3,3: 86:[14, 37] Operation: 32+5=37 Moving to Node #0,3,0 Current State: 86:[5, 46], Operations: ['36-22=14', '32+14=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[14, 37], Operations: ['36-22=14', '32+5=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[32, 9], Operations: ['36-22=14', '14-5=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,86 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[5, 18], Operations: ['36-22=14', '32-14=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 76, 87, 9 ]
78
[ "80+76=156", "87-9=78", "156-78=78" ]
Current State: 78:[80, 76, 87, 9], Operations: [] Exploring Operation: 80+76=156, Resulting Numbers: [87, 9, 156] Generated Node #2: [87, 9, 156] from Operation: 80+76=156 Current State: 78:[87, 9, 156], Operations: ['80+76=156'] Exploring Operation: 87-9=78, Resulting Numbers: [156, 78] Generated Node #3: [156, 78] from Operation: 87-9=78 Current State: 78:[156, 78], Operations: ['80+76=156', '87-9=78'] Exploring Operation: 156-78=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[80, 76, 87, 9], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [87, 9, 4] Generated Node #0,0: 78:[87, 9, 4] Operation: 80-76=4 Exploring Operation: 87-80=7, Resulting Numbers: [76, 9, 7] Generated Node #0,1: 78:[76, 9, 7] Operation: 87-80=7 Exploring Operation: 87-9=78, Resulting Numbers: [80, 76, 78] Generated Node #0,2: 78:[80, 76, 78] Operation: 87-9=78 Exploring Operation: 87-76=11, Resulting Numbers: [80, 9, 11] Generated Node #0,3: 78:[80, 9, 11] Operation: 87-76=11 Moving to Node #0,2 Current State: 78:[80, 76, 78], Operations: ['87-9=78'] Exploring Operation: 80-76=4, Resulting Numbers: [78, 4] Generated Node #0,2,0: 78:[78, 4] Operation: 80-76=4 Exploring Operation: 80-78=2, Resulting Numbers: [76, 2] Generated Node #0,2,1: 78:[76, 2] Operation: 80-78=2 Exploring Operation: 80+76=156, Resulting Numbers: [78, 156] Generated Node #0,2,2: 78:[78, 156] Operation: 80+76=156 Exploring Operation: 78-76=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 78:[80, 2] Operation: 78-76=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[78, 4], Operations: ['87-9=78', '80-76=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,78 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[76, 2], Operations: ['87-9=78', '80-78=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[80, 76, 87, 9], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [80, 76, 78] Generated Node #0,2: 78:[80, 76, 78] Operation: 87-9=78 Moving to Node #0,2 Current State: 78:[80, 76, 78], Operations: ['87-9=78'] Exploring Operation: 80-78=2, Resulting Numbers: [76, 2] Generated Node #0,2,1: 78:[76, 2] Operation: 80-78=2 Moving to Node #0,2,1 Current State: 78:[76, 2], Operations: ['87-9=78', '80-78=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 19, 74, 50, 86 ]
81
[ "74-19=55", "50+86=136", "136-55=81" ]
Current State: 81:[19, 74, 50, 86], Operations: [] Exploring Operation: 74-19=55, Resulting Numbers: [50, 86, 55] Generated Node #2: [50, 86, 55] from Operation: 74-19=55 Current State: 81:[50, 86, 55], Operations: ['74-19=55'] Exploring Operation: 50+86=136, Resulting Numbers: [55, 136] Generated Node #3: [55, 136] from Operation: 50+86=136 Current State: 81:[55, 136], Operations: ['74-19=55', '50+86=136'] Exploring Operation: 136-55=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[19, 74, 50, 86], Operations: [] Exploring Operation: 19+50=69, Resulting Numbers: [74, 86, 69] Generated Node #0,0: 81:[74, 86, 69] Operation: 19+50=69 Exploring Operation: 74-50=24, Resulting Numbers: [19, 86, 24] Generated Node #0,1: 81:[19, 86, 24] Operation: 74-50=24 Exploring Operation: 50-19=31, Resulting Numbers: [74, 86, 31] Generated Node #0,2: 81:[74, 86, 31] Operation: 50-19=31 Exploring Operation: 86-50=36, Resulting Numbers: [19, 74, 36] Generated Node #0,3: 81:[19, 74, 36] Operation: 86-50=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[19, 86, 24], Operations: ['74-50=24'] Exploring Operation: 86-19=67, Resulting Numbers: [24, 67] Generated Node #0,1,0: 81:[24, 67] Operation: 86-19=67 Exploring Operation: 24-19=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 81:[86, 5] Operation: 24-19=5 Exploring Operation: 19+24=43, Resulting Numbers: [86, 43] Generated Node #0,1,2: 81:[86, 43] Operation: 19+24=43 Exploring Operation: 19+86=105, Resulting Numbers: [24, 105] Generated Node #0,1,3: 81:[24, 105] Operation: 19+86=105 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[86, 5], Operations: ['74-50=24', '24-19=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[19, 74, 50, 86], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [19, 86, 24] Generated Node #0,1: 81:[19, 86, 24] Operation: 74-50=24 Moving to Node #0,1 Current State: 81:[19, 86, 24], Operations: ['74-50=24'] Exploring Operation: 24-19=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 81:[86, 5] Operation: 24-19=5 Moving to Node #0,1,1 Current State: 81:[86, 5], Operations: ['74-50=24', '24-19=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 73, 29, 56, 1 ]
100
[ "73-29=44", "56*1=56", "44+56=100" ]
Current State: 100:[73, 29, 56, 1], Operations: [] Exploring Operation: 73-29=44, Resulting Numbers: [56, 1, 44] Generated Node #2: [56, 1, 44] from Operation: 73-29=44 Current State: 100:[56, 1, 44], Operations: ['73-29=44'] Exploring Operation: 56*1=56, Resulting Numbers: [44, 56] Generated Node #3: [44, 56] from Operation: 56*1=56 Current State: 100:[44, 56], Operations: ['73-29=44', '56*1=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[73, 29, 56, 1], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [29, 1, 17] Generated Node #0,0: 100:[29, 1, 17] Operation: 73-56=17 Exploring Operation: 73+29=102, Resulting Numbers: [56, 1, 102] Generated Node #0,1: 100:[56, 1, 102] Operation: 73+29=102 Exploring Operation: 73-29=44, Resulting Numbers: [56, 1, 44] Generated Node #0,2: 100:[56, 1, 44] Operation: 73-29=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[29, 1, 17], Operations: ['73-56=17'] Exploring Operation: 29-17=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 100:[1, 12] Operation: 29-17=12 Exploring Operation: 29-1=28, Resulting Numbers: [17, 28] Generated Node #0,0,1: 100:[17, 28] Operation: 29-1=28 Exploring Operation: 29+17=46, Resulting Numbers: [1, 46] Generated Node #0,0,2: 100:[1, 46] Operation: 29+17=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[1, 12], Operations: ['73-56=17', '29-17=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[1, 46], Operations: ['73-56=17', '29+17=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[17, 28], Operations: ['73-56=17', '29-1=28'] Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,100 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[56, 1, 102], Operations: ['73+29=102'] Exploring Operation: 56-1=55, Resulting Numbers: [102, 55] Generated Node #0,1,0: 100:[102, 55] Operation: 56-1=55 Exploring Operation: 102-1=101, Resulting Numbers: [56, 101] Generated Node #0,1,1: 100:[56, 101] Operation: 102-1=101 Exploring Operation: 102-56=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 100:[1, 46] Operation: 102-56=46 Moving to Node #0,1,2 Current State: 100:[1, 46], Operations: ['73+29=102', '102-56=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[102, 55], Operations: ['73+29=102', '56-1=55'] Exploring Operation: 102*55=5610, Resulting Numbers: [5610] 5610,100 unequal: No Solution Exploring Operation: 102+55=157, Resulting Numbers: [157] 157,100 unequal: No Solution Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[56, 101], Operations: ['73+29=102', '102-1=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,100 unequal: No Solution Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,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 Current State: 100:[56, 1, 44], Operations: ['73-29=44'] Exploring Operation: 56-1=55, Resulting Numbers: [44, 55] Generated Node #0,2,0: 100:[44, 55] Operation: 56-1=55 Exploring Operation: 56+44=100, Resulting Numbers: [1, 100] Generated Node #0,2,1: 100:[1, 100] Operation: 56+44=100 Exploring Operation: 56-44=12, Resulting Numbers: [1, 12] Generated Node #0,2,2: 100:[1, 12] Operation: 56-44=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[1, 100], Operations: ['73-29=44', '56+44=100'] Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[73, 29, 56, 1], Operations: [] Exploring Operation: 73-29=44, Resulting Numbers: [56, 1, 44] Generated Node #0,2: 100:[56, 1, 44] Operation: 73-29=44 Moving to Node #0,2 Current State: 100:[56, 1, 44], Operations: ['73-29=44'] Exploring Operation: 56+44=100, Resulting Numbers: [1, 100] Generated Node #0,2,1: 100:[1, 100] Operation: 56+44=100 Moving to Node #0,2,1 Current State: 100:[1, 100], Operations: ['73-29=44', '56+44=100'] Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 75, 85, 27, 75 ]
38
[ "85-75=10", "75-27=48", "48-10=38" ]
Current State: 38:[75, 85, 27, 75], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [27, 10] Generated Node #2: [27, 10] from Operation: 85-75=10 Current State: 38:[27, 10], Operations: ['85-75=10'] Exploring Operation: 75-27=48, Resulting Numbers: [10, 48] Generated Node #3: [10, 48] from Operation: 75-27=48 Current State: 38:[10, 48], Operations: ['85-75=10', '75-27=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[75, 85, 27, 75], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [75, 27, 10] Generated Node #0,0: 38:[75, 27, 10] Operation: 85-75=10 Exploring Operation: 85-75=10, Resulting Numbers: [27, 75, 10] Generated Node #0,1: 38:[27, 75, 10] Operation: 85-75=10 Moving to Node #0,0 Current State: 38:[75, 27, 10], Operations: ['85-75=10'] Exploring Operation: 75-27=48, Resulting Numbers: [10, 48] Generated Node #0,0,0: 38:[10, 48] Operation: 75-27=48 Exploring Operation: 75-10=65, Resulting Numbers: [27, 65] Generated Node #0,0,1: 38:[27, 65] Operation: 75-10=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[10, 48], Operations: ['85-75=10', '75-27=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[75, 85, 27, 75], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [75, 27, 10] Generated Node #0,0: 38:[75, 27, 10] Operation: 85-75=10 Moving to Node #0,0 Current State: 38:[75, 27, 10], Operations: ['85-75=10'] Exploring Operation: 75-27=48, Resulting Numbers: [10, 48] Generated Node #0,0,0: 38:[10, 48] Operation: 75-27=48 Moving to Node #0,0,0 Current State: 38:[10, 48], Operations: ['85-75=10', '75-27=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 96, 8, 15, 34 ]
39
[ "96-8=88", "15+34=49", "88-49=39" ]
Current State: 39:[96, 8, 15, 34], Operations: [] Exploring Operation: 96-8=88, Resulting Numbers: [15, 34, 88] Generated Node #2: [15, 34, 88] from Operation: 96-8=88 Current State: 39:[15, 34, 88], Operations: ['96-8=88'] Exploring Operation: 15+34=49, Resulting Numbers: [88, 49] Generated Node #3: [88, 49] from Operation: 15+34=49 Current State: 39:[88, 49], Operations: ['96-8=88', '15+34=49'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[96, 8, 15, 34], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [8, 34, 81] Generated Node #0,0: 39:[8, 34, 81] Operation: 96-15=81 Exploring Operation: 96/8=12, Resulting Numbers: [15, 34, 12] Generated Node #0,1: 39:[15, 34, 12] Operation: 96/8=12 Exploring Operation: 96-34=62, Resulting Numbers: [8, 15, 62] Generated Node #0,2: 39:[8, 15, 62] Operation: 96-34=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[15, 34, 12], Operations: ['96/8=12'] Exploring Operation: 34+12=46, Resulting Numbers: [15, 46] Generated Node #0,1,0: 39:[15, 46] Operation: 34+12=46 Exploring Operation: 34-15=19, Resulting Numbers: [12, 19] Generated Node #0,1,1: 39:[12, 19] Operation: 34-15=19 Exploring Operation: 15-12=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 39:[34, 3] Operation: 15-12=3 Moving to Node #0,1,2 Current State: 39:[34, 3], Operations: ['96/8=12', '15-12=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[12, 19], Operations: ['96/8=12', '34-15=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,39 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[15, 46], Operations: ['96/8=12', '34+12=46'] Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,39 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,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:[8, 15, 62], Operations: ['96-34=62'] Exploring Operation: 62-8=54, Resulting Numbers: [15, 54] Generated Node #0,2,0: 39:[15, 54] Operation: 62-8=54 Exploring Operation: 15-8=7, Resulting Numbers: [62, 7] Generated Node #0,2,1: 39:[62, 7] Operation: 15-8=7 Exploring Operation: 62-15=47, Resulting Numbers: [8, 47] Generated Node #0,2,2: 39:[8, 47] Operation: 62-15=47 Moving to Node #0,2,2 Current State: 39:[8, 47], Operations: ['96-34=62', '62-15=47'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[96, 8, 15, 34], Operations: [] Exploring Operation: 96-34=62, Resulting Numbers: [8, 15, 62] Generated Node #0,2: 39:[8, 15, 62] Operation: 96-34=62 Moving to Node #0,2 Current State: 39:[8, 15, 62], Operations: ['96-34=62'] Exploring Operation: 62-15=47, Resulting Numbers: [8, 47] Generated Node #0,2,2: 39:[8, 47] Operation: 62-15=47 Moving to Node #0,2,2 Current State: 39:[8, 47], Operations: ['96-34=62', '62-15=47'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 23, 50, 55, 10 ]
18
[ "50-23=27", "55-10=45", "45-27=18" ]
Current State: 18:[23, 50, 55, 10], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [55, 10, 27] Generated Node #2: [55, 10, 27] from Operation: 50-23=27 Current State: 18:[55, 10, 27], Operations: ['50-23=27'] Exploring Operation: 55-10=45, Resulting Numbers: [27, 45] Generated Node #3: [27, 45] from Operation: 55-10=45 Current State: 18:[27, 45], Operations: ['50-23=27', '55-10=45'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[23, 50, 55, 10], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [23, 55, 5] Generated Node #0,0: 18:[23, 55, 5] Operation: 50/10=5 Exploring Operation: 55-50=5, Resulting Numbers: [23, 10, 5] Generated Node #0,1: 18:[23, 10, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 18:[23, 10, 5], Operations: ['55-50=5'] Exploring Operation: 23-10=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 18:[5, 13] Operation: 23-10=13 Exploring Operation: 23-5=18, Resulting Numbers: [10, 18] Generated Node #0,1,1: 18:[10, 18] Operation: 23-5=18 Moving to Node #0,0 Current State: 18:[23, 55, 5], Operations: ['50/10=5'] Exploring Operation: 55/5=11, Resulting Numbers: [23, 11] Generated Node #0,0,0: 18:[23, 11] Operation: 55/5=11 Exploring Operation: 55-23=32, Resulting Numbers: [5, 32] Generated Node #0,0,1: 18:[5, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[23, 11], Operations: ['50/10=5', '55/5=11'] Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[5, 32], Operations: ['50/10=5', '55-23=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,18 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: 18:[10, 18], Operations: ['55-50=5', '23-5=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[5, 13], Operations: ['55-50=5', '23-10=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[23, 50, 55, 10], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [23, 10, 5] Generated Node #0,1: 18:[23, 10, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 18:[23, 10, 5], Operations: ['55-50=5'] Exploring Operation: 23-10=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 18:[5, 13] Operation: 23-10=13 Moving to Node #0,1,0 Current State: 18:[5, 13], Operations: ['55-50=5', '23-10=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 58, 64, 56, 60 ]
48
[ "60-58=2", "56*2=112", "112-64=48" ]
Current State: 48:[58, 64, 56, 60], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [64, 56, 2] Generated Node #2: [64, 56, 2] from Operation: 60-58=2 Current State: 48:[64, 56, 2], Operations: ['60-58=2'] Exploring Operation: 56*2=112, Resulting Numbers: [64, 112] Generated Node #3: [64, 112] from Operation: 56*2=112 Current State: 48:[64, 112], Operations: ['60-58=2', '56*2=112'] Exploring Operation: 112-64=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[58, 64, 56, 60], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [56, 60, 6] Generated Node #0,0: 48:[56, 60, 6] Operation: 64-58=6 Exploring Operation: 64-60=4, Resulting Numbers: [58, 56, 4] Generated Node #0,1: 48:[58, 56, 4] Operation: 64-60=4 Exploring Operation: 64-56=8, Resulting Numbers: [58, 60, 8] Generated Node #0,2: 48:[58, 60, 8] Operation: 64-56=8 Exploring Operation: 60-58=2, Resulting Numbers: [64, 56, 2] Generated Node #0,3: 48:[64, 56, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[58, 56, 4], Operations: ['64-60=4'] Exploring Operation: 58-56=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 48:[4, 2] Operation: 58-56=2 Exploring Operation: 56-4=52, Resulting Numbers: [58, 52] Generated Node #0,1,1: 48:[58, 52] Operation: 56-4=52 Exploring Operation: 56/4=14, Resulting Numbers: [58, 14] Generated Node #0,1,2: 48:[58, 14] Operation: 56/4=14 Exploring Operation: 58-4=54, Resulting Numbers: [56, 54] Generated Node #0,1,3: 48:[56, 54] Operation: 58-4=54 Moving to Node #0,1,0 Current State: 48:[4, 2], Operations: ['64-60=4', '58-56=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[58, 14], Operations: ['64-60=4', '56/4=14'] Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,48 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[56, 54], Operations: ['64-60=4', '58-4=54'] Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,48 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[58, 52], Operations: ['64-60=4', '56-4=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,48 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,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:[56, 60, 6], Operations: ['64-58=6'] Exploring Operation: 60-56=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 48:[6, 4] Operation: 60-56=4 Exploring Operation: 60-6=54, Resulting Numbers: [56, 54] Generated Node #0,0,1: 48:[56, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [56, 10] Generated Node #0,0,2: 48:[56, 10] Operation: 60/6=10 Exploring Operation: 56-6=50, Resulting Numbers: [60, 50] Generated Node #0,0,3: 48:[60, 50] Operation: 56-6=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[6, 4], Operations: ['64-58=6', '60-56=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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:[56, 10], Operations: ['64-58=6', '60/6=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,48 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,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:[56, 54], Operations: ['64-58=6', '60-6=54'] Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,48 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,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,3 Current State: 48:[60, 50], Operations: ['64-58=6', '56-6=50'] Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,48 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,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,2 Current State: 48:[58, 60, 8], Operations: ['64-56=8'] Exploring Operation: 58+8=66, Resulting Numbers: [60, 66] Generated Node #0,2,0: 48:[60, 66] Operation: 58+8=66 Exploring Operation: 60-58=2, Resulting Numbers: [8, 2] Generated Node #0,2,1: 48:[8, 2] Operation: 60-58=2 Exploring Operation: 58-8=50, Resulting Numbers: [60, 50] Generated Node #0,2,2: 48:[60, 50] Operation: 58-8=50 Exploring Operation: 60-8=52, Resulting Numbers: [58, 52] Generated Node #0,2,3: 48:[58, 52] Operation: 60-8=52 Moving to Node #0,2,1 Current State: 48:[8, 2], Operations: ['64-56=8', '60-58=2'] 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 Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[58, 52], Operations: ['64-56=8', '60-8=52'] Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,48 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[60, 50], Operations: ['64-56=8', '58-8=50'] Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[60, 66], Operations: ['64-56=8', '58+8=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[64, 56, 2], Operations: ['60-58=2'] Exploring Operation: 64-56=8, Resulting Numbers: [2, 8] Generated Node #0,3,0: 48:[2, 8] Operation: 64-56=8 Exploring Operation: 64/2=32, Resulting Numbers: [56, 32] Generated Node #0,3,1: 48:[56, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [56, 62] Generated Node #0,3,2: 48:[56, 62] Operation: 64-2=62 Exploring Operation: 56/2=28, Resulting Numbers: [64, 28] Generated Node #0,3,3: 48:[64, 28] Operation: 56/2=28 Moving to Node #0,3,0 Current State: 48:[2, 8], Operations: ['60-58=2', '64-56=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,48 unequal: No Solution 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 Moving to Node #0,3,1 Current State: 48:[56, 32], Operations: ['60-58=2', '64/2=32'] Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,48 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[64, 28], Operations: ['60-58=2', '56/2=28'] Exploring Operation: 64*28=1792, Resulting Numbers: [1792] 1792,48 unequal: No Solution Exploring Operation: 64+28=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[56, 62], Operations: ['60-58=2', '64-2=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,48 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 31, 12, 76, 24 ]
20
[ "31-12=19", "76/19=4", "24-4=20" ]
Current State: 20:[31, 12, 76, 24], Operations: [] Exploring Operation: 31-12=19, Resulting Numbers: [76, 24, 19] Generated Node #2: [76, 24, 19] from Operation: 31-12=19 Current State: 20:[76, 24, 19], Operations: ['31-12=19'] Exploring Operation: 76/19=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 76/19=4 Current State: 20:[24, 4], Operations: ['31-12=19', '76/19=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[31, 12, 76, 24], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [12, 24, 45] Generated Node #0,0: 20:[12, 24, 45] Operation: 76-31=45 Exploring Operation: 76-12=64, Resulting Numbers: [31, 24, 64] Generated Node #0,1: 20:[31, 24, 64] Operation: 76-12=64 Exploring Operation: 31-12=19, Resulting Numbers: [76, 24, 19] Generated Node #0,2: 20:[76, 24, 19] Operation: 31-12=19 Exploring Operation: 76-24=52, Resulting Numbers: [31, 12, 52] Generated Node #0,3: 20:[31, 12, 52] Operation: 76-24=52 Exploring Operation: 31-24=7, Resulting Numbers: [12, 76, 7] Generated Node #0,4: 20:[12, 76, 7] Operation: 31-24=7 Moving to Node #0,0 Current State: 20:[12, 24, 45], Operations: ['76-31=45'] Exploring Operation: 12+24=36, Resulting Numbers: [45, 36] Generated Node #0,0,0: 20:[45, 36] Operation: 12+24=36 Exploring Operation: 45-24=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 20:[12, 21] Operation: 45-24=21 Exploring Operation: 45-12=33, Resulting Numbers: [24, 33] Generated Node #0,0,2: 20:[24, 33] Operation: 45-12=33 Exploring Operation: 24/12=2, Resulting Numbers: [45, 2] Generated Node #0,0,3: 20:[45, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [45, 12] Generated Node #0,0,4: 20:[45, 12] Operation: 24-12=12 Moving to Node #0,3 Current State: 20:[31, 12, 52], Operations: ['76-24=52'] Exploring Operation: 31+12=43, Resulting Numbers: [52, 43] Generated Node #0,3,0: 20:[52, 43] Operation: 31+12=43 Exploring Operation: 52-12=40, Resulting Numbers: [31, 40] Generated Node #0,3,1: 20:[31, 40] Operation: 52-12=40 Exploring Operation: 52-31=21, Resulting Numbers: [12, 21] Generated Node #0,3,2: 20:[12, 21] Operation: 52-31=21 Exploring Operation: 31-12=19, Resulting Numbers: [52, 19] Generated Node #0,3,3: 20:[52, 19] Operation: 31-12=19 Exploring Operation: 12+52=64, Resulting Numbers: [31, 64] Generated Node #0,3,4: 20:[31, 64] Operation: 12+52=64 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[12, 21], Operations: ['76-24=52', '52-31=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,20 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[31, 40], Operations: ['76-24=52', '52-12=40'] Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,20 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 20:[52, 19], Operations: ['76-24=52', '31-12=19'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[52, 43], Operations: ['76-24=52', '31+12=43'] Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,20 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 20:[31, 64], Operations: ['76-24=52', '12+52=64'] Exploring Operation: 31+64=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 31*64=1984, Resulting Numbers: [1984] 1984,20 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,20 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: 20:[31, 24, 64], Operations: ['76-12=64'] Exploring Operation: 31+24=55, Resulting Numbers: [64, 55] Generated Node #0,1,0: 20:[64, 55] Operation: 31+24=55 Exploring Operation: 64-24=40, Resulting Numbers: [31, 40] Generated Node #0,1,1: 20:[31, 40] Operation: 64-24=40 Exploring Operation: 31-24=7, Resulting Numbers: [64, 7] Generated Node #0,1,2: 20:[64, 7] Operation: 31-24=7 Exploring Operation: 31+64=95, Resulting Numbers: [24, 95] Generated Node #0,1,3: 20:[24, 95] Operation: 31+64=95 Exploring Operation: 64-31=33, Resulting Numbers: [24, 33] Generated Node #0,1,4: 20:[24, 33] Operation: 64-31=33 Moving to Node #0,4 Current State: 20:[12, 76, 7], Operations: ['31-24=7'] Exploring Operation: 12-7=5, Resulting Numbers: [76, 5] Generated Node #0,4,0: 20:[76, 5] Operation: 12-7=5 Exploring Operation: 12+7=19, Resulting Numbers: [76, 19] Generated Node #0,4,1: 20:[76, 19] Operation: 12+7=19 Exploring Operation: 76-12=64, Resulting Numbers: [7, 64] Generated Node #0,4,2: 20:[7, 64] Operation: 76-12=64 Exploring Operation: 76-7=69, Resulting Numbers: [12, 69] Generated Node #0,4,3: 20:[12, 69] Operation: 76-7=69 Exploring Operation: 76+7=83, Resulting Numbers: [12, 83] Generated Node #0,4,4: 20:[12, 83] Operation: 76+7=83 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 20:[7, 64], Operations: ['31-24=7', '76-12=64'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 20:[12, 69], Operations: ['31-24=7', '76-7=69'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,20 unequal: No Solution Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 20:[76, 5], Operations: ['31-24=7', '12-7=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,20 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 20:[76, 19], Operations: ['31-24=7', '12+7=19'] Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 20:[12, 83], Operations: ['31-24=7', '76+7=83'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,20 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,20 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: 20:[76, 24, 19], Operations: ['31-12=19'] Exploring Operation: 76-19=57, Resulting Numbers: [24, 57] Generated Node #0,2,0: 20:[24, 57] Operation: 76-19=57 Exploring Operation: 76+19=95, Resulting Numbers: [24, 95] Generated Node #0,2,1: 20:[24, 95] Operation: 76+19=95 Exploring Operation: 76-24=52, Resulting Numbers: [19, 52] Generated Node #0,2,2: 20:[19, 52] Operation: 76-24=52 Exploring Operation: 76/19=4, Resulting Numbers: [24, 4] Generated Node #0,2,3: 20:[24, 4] Operation: 76/19=4 Exploring Operation: 24-19=5, Resulting Numbers: [76, 5] Generated Node #0,2,4: 20:[76, 5] Operation: 24-19=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 20:[24, 4], Operations: ['31-12=19', '76/19=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[31, 12, 76, 24], Operations: [] Exploring Operation: 31-12=19, Resulting Numbers: [76, 24, 19] Generated Node #0,2: 20:[76, 24, 19] Operation: 31-12=19 Moving to Node #0,2 Current State: 20:[76, 24, 19], Operations: ['31-12=19'] Exploring Operation: 76/19=4, Resulting Numbers: [24, 4] Generated Node #0,2,3: 20:[24, 4] Operation: 76/19=4 Moving to Node #0,2,3 Current State: 20:[24, 4], Operations: ['31-12=19', '76/19=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 18, 19, 29, 54 ]
51
[ "54/18=3", "19+29=48", "3+48=51" ]
Current State: 51:[18, 19, 29, 54], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [19, 29, 3] Generated Node #2: [19, 29, 3] from Operation: 54/18=3 Current State: 51:[19, 29, 3], Operations: ['54/18=3'] Exploring Operation: 19+29=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 19+29=48 Current State: 51:[3, 48], Operations: ['54/18=3', '19+29=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[18, 19, 29, 54], Operations: [] Exploring Operation: 19+29=48, Resulting Numbers: [18, 54, 48] Generated Node #0,0: 51:[18, 54, 48] Operation: 19+29=48 Moving to Node #0,0 Current State: 51:[18, 54, 48], Operations: ['19+29=48'] Exploring Operation: 54/18=3, Resulting Numbers: [48, 3] Generated Node #0,0,0: 51:[48, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[48, 3], Operations: ['19+29=48', '54/18=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[18, 19, 29, 54], Operations: [] Exploring Operation: 19+29=48, Resulting Numbers: [18, 54, 48] Generated Node #0,0: 51:[18, 54, 48] Operation: 19+29=48 Moving to Node #0,0 Current State: 51:[18, 54, 48], Operations: ['19+29=48'] Exploring Operation: 54/18=3, Resulting Numbers: [48, 3] Generated Node #0,0,0: 51:[48, 3] Operation: 54/18=3 Moving to Node #0,0,0 Current State: 51:[48, 3], Operations: ['19+29=48', '54/18=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 1, 19, 67 ]
21
[ "27*1=27", "67-19=48", "48-27=21" ]
Current State: 21:[27, 1, 19, 67], Operations: [] Exploring Operation: 27*1=27, Resulting Numbers: [19, 67, 27] Generated Node #2: [19, 67, 27] from Operation: 27*1=27 Current State: 21:[19, 67, 27], Operations: ['27*1=27'] Exploring Operation: 67-19=48, Resulting Numbers: [27, 48] Generated Node #3: [27, 48] from Operation: 67-19=48 Current State: 21:[27, 48], Operations: ['27*1=27', '67-19=48'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[27, 1, 19, 67], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [1, 19, 40] Generated Node #0,0: 21:[1, 19, 40] Operation: 67-27=40 Exploring Operation: 27-19=8, Resulting Numbers: [1, 67, 8] Generated Node #0,1: 21:[1, 67, 8] Operation: 27-19=8 Exploring Operation: 67-19=48, Resulting Numbers: [27, 1, 48] Generated Node #0,2: 21:[27, 1, 48] Operation: 67-19=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[1, 19, 40], Operations: ['67-27=40'] Exploring Operation: 40-19=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 21:[1, 21] Operation: 40-19=21 Exploring Operation: 1+19=20, Resulting Numbers: [40, 20] Generated Node #0,0,1: 21:[40, 20] Operation: 1+19=20 Exploring Operation: 40-1=39, Resulting Numbers: [19, 39] Generated Node #0,0,2: 21:[19, 39] Operation: 40-1=39 Moving to Node #0,0,0 Current State: 21:[1, 21], Operations: ['67-27=40', '40-19=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[27, 1, 19, 67], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [1, 19, 40] Generated Node #0,0: 21:[1, 19, 40] Operation: 67-27=40 Moving to Node #0,0 Current State: 21:[1, 19, 40], Operations: ['67-27=40'] Exploring Operation: 40-19=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 21:[1, 21] Operation: 40-19=21 Moving to Node #0,0,0 Current State: 21:[1, 21], Operations: ['67-27=40', '40-19=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 72, 9, 65, 88 ]
90
[ "72-9=63", "65+88=153", "153-63=90" ]
Current State: 90:[72, 9, 65, 88], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [65, 88, 63] Generated Node #2: [65, 88, 63] from Operation: 72-9=63 Current State: 90:[65, 88, 63], Operations: ['72-9=63'] Exploring Operation: 65+88=153, Resulting Numbers: [63, 153] Generated Node #3: [63, 153] from Operation: 65+88=153 Current State: 90:[63, 153], Operations: ['72-9=63', '65+88=153'] Exploring Operation: 153-63=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[72, 9, 65, 88], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [9, 88, 7] Generated Node #0,0: 90:[9, 88, 7] Operation: 72-65=7 Exploring Operation: 72+9=81, Resulting Numbers: [65, 88, 81] Generated Node #0,1: 90:[65, 88, 81] Operation: 72+9=81 Exploring Operation: 88-72=16, Resulting Numbers: [9, 65, 16] Generated Node #0,2: 90:[9, 65, 16] Operation: 88-72=16 Exploring Operation: 72/9=8, Resulting Numbers: [65, 88, 8] Generated Node #0,3: 90:[65, 88, 8] Operation: 72/9=8 Exploring Operation: 88-65=23, Resulting Numbers: [72, 9, 23] Generated Node #0,4: 90:[72, 9, 23] Operation: 88-65=23 Moving to Node #0,0 Current State: 90:[9, 88, 7], Operations: ['72-65=7'] Exploring Operation: 9-7=2, Resulting Numbers: [88, 2] Generated Node #0,0,0: 90:[88, 2] Operation: 9-7=2 Exploring Operation: 88-7=81, Resulting Numbers: [9, 81] Generated Node #0,0,1: 90:[9, 81] Operation: 88-7=81 Exploring Operation: 9+88=97, Resulting Numbers: [7, 97] Generated Node #0,0,2: 90:[7, 97] Operation: 9+88=97 Exploring Operation: 9+7=16, Resulting Numbers: [88, 16] Generated Node #0,0,3: 90:[88, 16] Operation: 9+7=16 Exploring Operation: 88+7=95, Resulting Numbers: [9, 95] Generated Node #0,0,4: 90:[9, 95] Operation: 88+7=95 Moving to Node #0,2 Current State: 90:[9, 65, 16], Operations: ['88-72=16'] Exploring Operation: 65-16=49, Resulting Numbers: [9, 49] Generated Node #0,2,0: 90:[9, 49] Operation: 65-16=49 Exploring Operation: 16-9=7, Resulting Numbers: [65, 7] Generated Node #0,2,1: 90:[65, 7] Operation: 16-9=7 Exploring Operation: 65+16=81, Resulting Numbers: [9, 81] Generated Node #0,2,2: 90:[9, 81] Operation: 65+16=81 Exploring Operation: 65-9=56, Resulting Numbers: [16, 56] Generated Node #0,2,3: 90:[16, 56] Operation: 65-9=56 Exploring Operation: 9+65=74, Resulting Numbers: [16, 74] Generated Node #0,2,4: 90:[16, 74] Operation: 9+65=74 Moving to Node #0,3 Current State: 90:[65, 88, 8], Operations: ['72/9=8'] Exploring Operation: 88+8=96, Resulting Numbers: [65, 96] Generated Node #0,3,0: 90:[65, 96] Operation: 88+8=96 Exploring Operation: 65+8=73, Resulting Numbers: [88, 73] Generated Node #0,3,1: 90:[88, 73] Operation: 65+8=73 Exploring Operation: 65-8=57, Resulting Numbers: [88, 57] Generated Node #0,3,2: 90:[88, 57] Operation: 65-8=57 Exploring Operation: 88/8=11, Resulting Numbers: [65, 11] Generated Node #0,3,3: 90:[65, 11] Operation: 88/8=11 Exploring Operation: 88-65=23, Resulting Numbers: [8, 23] Generated Node #0,3,4: 90:[8, 23] Operation: 88-65=23 Moving to Node #0,4 Current State: 90:[72, 9, 23], Operations: ['88-65=23'] Exploring Operation: 72/9=8, Resulting Numbers: [23, 8] Generated Node #0,4,0: 90:[23, 8] Operation: 72/9=8 Exploring Operation: 72-23=49, Resulting Numbers: [9, 49] Generated Node #0,4,1: 90:[9, 49] Operation: 72-23=49 Exploring Operation: 72+9=81, Resulting Numbers: [23, 81] Generated Node #0,4,2: 90:[23, 81] Operation: 72+9=81 Exploring Operation: 23-9=14, Resulting Numbers: [72, 14] Generated Node #0,4,3: 90:[72, 14] Operation: 23-9=14 Exploring Operation: 72+23=95, Resulting Numbers: [9, 95] Generated Node #0,4,4: 90:[9, 95] Operation: 72+23=95 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 90:[9, 49], Operations: ['88-65=23', '72-23=49'] Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,90 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,90 unequal: No Solution No 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: 90:[9, 95], Operations: ['88-65=23', '72+23=95'] Exploring Operation: 9*95=855, Resulting Numbers: [855] 855,90 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 9+95=104, Resulting Numbers: [104] 104,90 unequal: No Solution No 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: 90:[23, 8], Operations: ['88-65=23', '72/9=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,90 unequal: No Solution No 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: 90:[23, 81], Operations: ['88-65=23', '72+9=81'] Exploring Operation: 23+81=104, Resulting Numbers: [104] 104,90 unequal: No Solution Exploring Operation: 23*81=1863, Resulting Numbers: [1863] 1863,90 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,90 unequal: No Solution No 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: 90:[72, 14], Operations: ['88-65=23', '23-9=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,90 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: 90:[65, 88, 81], Operations: ['72+9=81'] Exploring Operation: 88-65=23, Resulting Numbers: [81, 23] Generated Node #0,1,0: 90:[81, 23] Operation: 88-65=23 Exploring Operation: 88-81=7, Resulting Numbers: [65, 7] Generated Node #0,1,1: 90:[65, 7] Operation: 88-81=7 Exploring Operation: 65+81=146, Resulting Numbers: [88, 146] Generated Node #0,1,2: 90:[88, 146] Operation: 65+81=146 Exploring Operation: 81-65=16, Resulting Numbers: [88, 16] Generated Node #0,1,3: 90:[88, 16] Operation: 81-65=16 Exploring Operation: 65+88=153, Resulting Numbers: [81, 153] Generated Node #0,1,4: 90:[81, 153] Operation: 65+88=153 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[88, 16], Operations: ['72+9=81', '81-65=16'] Exploring Operation: 88*16=1408, Resulting Numbers: [1408] 1408,90 unequal: No Solution Exploring Operation: 88+16=104, Resulting Numbers: [104] 104,90 unequal: No Solution Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,90 unequal: No Solution No 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: 90:[81, 23], Operations: ['72+9=81', '88-65=23'] Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,90 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,90 unequal: No Solution No 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: 90:[65, 7], Operations: ['72+9=81', '88-81=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,90 unequal: No Solution No 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: 90:[88, 146], Operations: ['72+9=81', '65+81=146'] Exploring Operation: 88+146=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 88*146=12848, Resulting Numbers: [12848] 12848,90 unequal: No Solution Exploring Operation: 146-88=58, Resulting Numbers: [58] 58,90 unequal: No Solution No 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: 90:[81, 153], Operations: ['72+9=81', '65+88=153'] Exploring Operation: 81*153=12393, Resulting Numbers: [12393] 12393,90 unequal: No Solution Exploring Operation: 153-81=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 81+153=234, Resulting Numbers: [234] 234,90 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: 90:[88, 2], Operations: ['72-65=7', '9-7=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[72, 9, 65, 88], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [9, 88, 7] Generated Node #0,0: 90:[9, 88, 7] Operation: 72-65=7 Moving to Node #0,0 Current State: 90:[9, 88, 7], Operations: ['72-65=7'] Exploring Operation: 9-7=2, Resulting Numbers: [88, 2] Generated Node #0,0,0: 90:[88, 2] Operation: 9-7=2 Moving to Node #0,0,0 Current State: 90:[88, 2], Operations: ['72-65=7', '9-7=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 24, 72, 15, 67 ]
100
[ "72-24=48", "67-15=52", "48+52=100" ]
Current State: 100:[24, 72, 15, 67], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [15, 67, 48] Generated Node #2: [15, 67, 48] from Operation: 72-24=48 Current State: 100:[15, 67, 48], Operations: ['72-24=48'] Exploring Operation: 67-15=52, Resulting Numbers: [48, 52] Generated Node #3: [48, 52] from Operation: 67-15=52 Current State: 100:[48, 52], Operations: ['72-24=48', '67-15=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[24, 72, 15, 67], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [15, 67, 48] Generated Node #0,0: 100:[15, 67, 48] Operation: 72-24=48 Exploring Operation: 72-15=57, Resulting Numbers: [24, 67, 57] Generated Node #0,1: 100:[24, 67, 57] Operation: 72-15=57 Exploring Operation: 72-67=5, Resulting Numbers: [24, 15, 5] Generated Node #0,2: 100:[24, 15, 5] Operation: 72-67=5 Exploring Operation: 72/24=3, Resulting Numbers: [15, 67, 3] Generated Node #0,3: 100:[15, 67, 3] Operation: 72/24=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[24, 15, 5], Operations: ['72-67=5'] Exploring Operation: 15+5=20, Resulting Numbers: [24, 20] Generated Node #0,2,0: 100:[24, 20] Operation: 15+5=20 Exploring Operation: 15-5=10, Resulting Numbers: [24, 10] Generated Node #0,2,1: 100:[24, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 100:[24, 3] Operation: 15/5=3 Exploring Operation: 24-15=9, Resulting Numbers: [5, 9] Generated Node #0,2,3: 100:[5, 9] Operation: 24-15=9 Moving to Node #0,2,0 Current State: 100:[24, 20], Operations: ['72-67=5', '15+5=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,100 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[5, 9], Operations: ['72-67=5', '24-15=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[24, 10], Operations: ['72-67=5', '15-5=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[24, 3], Operations: ['72-67=5', '15/5=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,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,3 Current State: 100:[15, 67, 3], Operations: ['72/24=3'] Exploring Operation: 15+3=18, Resulting Numbers: [67, 18] Generated Node #0,3,0: 100:[67, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [67, 5] Generated Node #0,3,1: 100:[67, 5] Operation: 15/3=5 Exploring Operation: 15+67=82, Resulting Numbers: [3, 82] Generated Node #0,3,2: 100:[3, 82] Operation: 15+67=82 Exploring Operation: 67-15=52, Resulting Numbers: [3, 52] Generated Node #0,3,3: 100:[3, 52] Operation: 67-15=52 Moving to Node #0,3,3 Current State: 100:[3, 52], Operations: ['72/24=3', '67-15=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,100 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[67, 5], Operations: ['72/24=3', '15/3=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,100 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[3, 82], Operations: ['72/24=3', '15+67=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[67, 18], Operations: ['72/24=3', '15+3=18'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 67*18=1206, Resulting Numbers: [1206] 1206,100 unequal: No Solution Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,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 Current State: 100:[15, 67, 48], Operations: ['72-24=48'] Exploring Operation: 15+67=82, Resulting Numbers: [48, 82] Generated Node #0,0,0: 100:[48, 82] Operation: 15+67=82 Exploring Operation: 67-48=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 100:[15, 19] Operation: 67-48=19 Exploring Operation: 67+48=115, Resulting Numbers: [15, 115] Generated Node #0,0,2: 100:[15, 115] Operation: 67+48=115 Exploring Operation: 67-15=52, Resulting Numbers: [48, 52] Generated Node #0,0,3: 100:[48, 52] Operation: 67-15=52 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[48, 52], Operations: ['72-24=48', '67-15=52'] Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,100 unequal: No Solution Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[24, 72, 15, 67], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [15, 67, 48] Generated Node #0,0: 100:[15, 67, 48] Operation: 72-24=48 Moving to Node #0,0 Current State: 100:[15, 67, 48], Operations: ['72-24=48'] Exploring Operation: 67-15=52, Resulting Numbers: [48, 52] Generated Node #0,0,3: 100:[48, 52] Operation: 67-15=52 Moving to Node #0,0,3 Current State: 100:[48, 52], Operations: ['72-24=48', '67-15=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic