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
[ 34, 48, 36, 34 ]
84
[ "34+48=82", "36-34=2", "82+2=84" ]
Current State: 84:[34, 48, 36, 34], Operations: [] Exploring Operation: 34+48=82, Resulting Numbers: [36, 82] Generated Node #2: [36, 82] from Operation: 34+48=82 Current State: 84:[36, 82], Operations: ['34+48=82'] Exploring Operation: 36-34=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 36-34=2 Current State: 84:[82, 2], Operations: ['34+48=82', '36-34=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[34, 48, 36, 34], Operations: [] Exploring Operation: 48+36=84, Resulting Numbers: [34, 34, 84] Generated Node #0,0: 84:[34, 34, 84] Operation: 48+36=84 Exploring Operation: 48-36=12, Resulting Numbers: [34, 34, 12] Generated Node #0,1: 84:[34, 34, 12] Operation: 48-36=12 Exploring Operation: 48-34=14, Resulting Numbers: [36, 34, 14] Generated Node #0,2: 84:[36, 34, 14] Operation: 48-34=14 Exploring Operation: 36-34=2, Resulting Numbers: [48, 34, 2] Generated Node #0,3: 84:[48, 34, 2] Operation: 36-34=2 Exploring Operation: 48-34=14, Resulting Numbers: [34, 36, 14] Generated Node #0,4: 84:[34, 36, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[34, 34, 84], Operations: ['48+36=84'] Exploring Operation: 84-34=50, Resulting Numbers: [34, 50] Generated Node #0,0,0: 84:[34, 50] Operation: 84-34=50 Exploring Operation: 34/34=1, Resulting Numbers: [84, 1] Generated Node #0,0,1: 84:[84, 1] Operation: 34/34=1 Exploring Operation: 84-34=50, Resulting Numbers: [34, 50] Generated Node #0,0,2: 84:[34, 50] Operation: 84-34=50 Exploring Operation: 34+34=68, Resulting Numbers: [84, 68] Generated Node #0,0,3: 84:[84, 68] Operation: 34+34=68 Exploring Operation: 34-34=0, Resulting Numbers: [84, 0] Generated Node #0,0,4: 84:[84, 0] Operation: 34-34=0 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[84, 1], Operations: ['48+36=84', '34/34=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[34, 48, 36, 34], Operations: [] Exploring Operation: 48+36=84, Resulting Numbers: [34, 34, 84] Generated Node #0,0: 84:[34, 34, 84] Operation: 48+36=84 Moving to Node #0,0 Current State: 84:[34, 34, 84], Operations: ['48+36=84'] Exploring Operation: 34/34=1, Resulting Numbers: [84, 1] Generated Node #0,0,1: 84:[84, 1] Operation: 34/34=1 Moving to Node #0,0,1 Current State: 84:[84, 1], Operations: ['48+36=84', '34/34=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 66, 22, 46, 37 ]
38
[ "66*22=1452", "1452-46=1406", "1406/37=38" ]
Current State: 38:[66, 22, 46, 37], Operations: [] Exploring Operation: 66*22=1452, Resulting Numbers: [46, 37, 1452] Generated Node #2: [46, 37, 1452] from Operation: 66*22=1452 Current State: 38:[46, 37, 1452], Operations: ['66*22=1452'] Exploring Operation: 1452-46=1406, Resulting Numbers: [37, 1406] Generated Node #3: [37, 1406] from Operation: 1452-46=1406 Current State: 38:[37, 1406], Operations: ['66*22=1452', '1452-46=1406'] Exploring Operation: 1406/37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[66, 22, 46, 37], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [22, 37, 20] Generated Node #0,0: 38:[22, 37, 20] Operation: 66-46=20 Exploring Operation: 66/22=3, Resulting Numbers: [46, 37, 3] Generated Node #0,1: 38:[46, 37, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[22, 37, 20], Operations: ['66-46=20'] Exploring Operation: 22-20=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 38:[37, 2] Operation: 22-20=2 Exploring Operation: 37-22=15, Resulting Numbers: [20, 15] Generated Node #0,0,1: 38:[20, 15] Operation: 37-22=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[37, 2], Operations: ['66-46=20', '22-20=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[20, 15], Operations: ['66-46=20', '37-22=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[46, 37, 3], Operations: ['66/22=3'] Exploring Operation: 46-3=43, Resulting Numbers: [37, 43] Generated Node #0,1,0: 38:[37, 43] Operation: 46-3=43 Exploring Operation: 46-37=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 38:[3, 9] Operation: 46-37=9 Moving to Node #0,1,0 Current State: 38:[37, 43], Operations: ['66/22=3', '46-3=43'] Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[3, 9], Operations: ['66/22=3', '46-37=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,38 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
[ 10, 3, 47, 86 ]
91
[ "3+47=50", "50/10=5", "86+5=91" ]
Current State: 91:[10, 3, 47, 86], Operations: [] Exploring Operation: 3+47=50, Resulting Numbers: [10, 86, 50] Generated Node #2: [10, 86, 50] from Operation: 3+47=50 Current State: 91:[10, 86, 50], Operations: ['3+47=50'] Exploring Operation: 50/10=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 50/10=5 Current State: 91:[86, 5], Operations: ['3+47=50', '50/10=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[10, 3, 47, 86], Operations: [] Exploring Operation: 86-47=39, Resulting Numbers: [10, 3, 39] Generated Node #0,0: 91:[10, 3, 39] Operation: 86-47=39 Exploring Operation: 10+3=13, Resulting Numbers: [47, 86, 13] Generated Node #0,1: 91:[47, 86, 13] Operation: 10+3=13 Exploring Operation: 10-3=7, Resulting Numbers: [47, 86, 7] Generated Node #0,2: 91:[47, 86, 7] Operation: 10-3=7 Exploring Operation: 47-10=37, Resulting Numbers: [3, 86, 37] Generated Node #0,3: 91:[3, 86, 37] Operation: 47-10=37 Exploring Operation: 47-3=44, Resulting Numbers: [10, 86, 44] Generated Node #0,4: 91:[10, 86, 44] Operation: 47-3=44 Moving to Node #0,0 Current State: 91:[10, 3, 39], Operations: ['86-47=39'] Exploring Operation: 10+3=13, Resulting Numbers: [39, 13] Generated Node #0,0,0: 91:[39, 13] Operation: 10+3=13 Exploring Operation: 39-3=36, Resulting Numbers: [10, 36] Generated Node #0,0,1: 91:[10, 36] Operation: 39-3=36 Exploring Operation: 10-3=7, Resulting Numbers: [39, 7] Generated Node #0,0,2: 91:[39, 7] Operation: 10-3=7 Exploring Operation: 39/3=13, Resulting Numbers: [10, 13] Generated Node #0,0,3: 91:[10, 13] Operation: 39/3=13 Exploring Operation: 39-10=29, Resulting Numbers: [3, 29] Generated Node #0,0,4: 91:[3, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[10, 13], Operations: ['86-47=39', '39/3=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,91 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[3, 29], Operations: ['86-47=39', '39-10=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[39, 13], Operations: ['86-47=39', '10+3=13'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[10, 36], Operations: ['86-47=39', '39-3=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,91 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[39, 7], Operations: ['86-47=39', '10-3=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[3, 86, 37], Operations: ['47-10=37'] Exploring Operation: 37-3=34, Resulting Numbers: [86, 34] Generated Node #0,3,0: 91:[86, 34] Operation: 37-3=34 Exploring Operation: 3*37=111, Resulting Numbers: [86, 111] Generated Node #0,3,1: 91:[86, 111] Operation: 3*37=111 Exploring Operation: 86-3=83, Resulting Numbers: [37, 83] Generated Node #0,3,2: 91:[37, 83] Operation: 86-3=83 Exploring Operation: 3+86=89, Resulting Numbers: [37, 89] Generated Node #0,3,3: 91:[37, 89] Operation: 3+86=89 Exploring Operation: 3+37=40, Resulting Numbers: [86, 40] Generated Node #0,3,4: 91:[86, 40] Operation: 3+37=40 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[86, 111], Operations: ['47-10=37', '3*37=111'] Exploring Operation: 111-86=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 86+111=197, Resulting Numbers: [197] 197,91 unequal: No Solution Exploring Operation: 86*111=9546, Resulting Numbers: [9546] 9546,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[86, 34], Operations: ['47-10=37', '37-3=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,91 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[37, 89], Operations: ['47-10=37', '3+86=89'] Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 37+89=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 37*89=3293, Resulting Numbers: [3293] 3293,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[37, 83], Operations: ['47-10=37', '86-3=83'] Exploring Operation: 37+83=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 37*83=3071, Resulting Numbers: [3071] 3071,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[86, 40], Operations: ['47-10=37', '3+37=40'] Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,91 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[47, 86, 13], Operations: ['10+3=13'] Exploring Operation: 86+13=99, Resulting Numbers: [47, 99] Generated Node #0,1,0: 91:[47, 99] Operation: 86+13=99 Exploring Operation: 47+86=133, Resulting Numbers: [13, 133] Generated Node #0,1,1: 91:[13, 133] Operation: 47+86=133 Exploring Operation: 47-13=34, Resulting Numbers: [86, 34] Generated Node #0,1,2: 91:[86, 34] Operation: 47-13=34 Exploring Operation: 86-47=39, Resulting Numbers: [13, 39] Generated Node #0,1,3: 91:[13, 39] Operation: 86-47=39 Exploring Operation: 47+13=60, Resulting Numbers: [86, 60] Generated Node #0,1,4: 91:[86, 60] Operation: 47+13=60 Moving to Node #0,2 Current State: 91:[47, 86, 7], Operations: ['10-3=7'] Exploring Operation: 47+7=54, Resulting Numbers: [86, 54] Generated Node #0,2,0: 91:[86, 54] Operation: 47+7=54 Exploring Operation: 47-7=40, Resulting Numbers: [86, 40] Generated Node #0,2,1: 91:[86, 40] Operation: 47-7=40 Exploring Operation: 47+86=133, Resulting Numbers: [7, 133] Generated Node #0,2,2: 91:[7, 133] Operation: 47+86=133 Exploring Operation: 86+7=93, Resulting Numbers: [47, 93] Generated Node #0,2,3: 91:[47, 93] Operation: 86+7=93 Exploring Operation: 86-47=39, Resulting Numbers: [7, 39] Generated Node #0,2,4: 91:[7, 39] Operation: 86-47=39 Moving to Node #0,4 Current State: 91:[10, 86, 44], Operations: ['47-3=44'] Exploring Operation: 10+44=54, Resulting Numbers: [86, 54] Generated Node #0,4,0: 91:[86, 54] Operation: 10+44=54 Exploring Operation: 10+86=96, Resulting Numbers: [44, 96] Generated Node #0,4,1: 91:[44, 96] Operation: 10+86=96 Exploring Operation: 86-44=42, Resulting Numbers: [10, 42] Generated Node #0,4,2: 91:[10, 42] Operation: 86-44=42 Exploring Operation: 44-10=34, Resulting Numbers: [86, 34] Generated Node #0,4,3: 91:[86, 34] Operation: 44-10=34 Exploring Operation: 86+44=130, Resulting Numbers: [10, 130] Generated Node #0,4,4: 91:[10, 130] Operation: 86+44=130 Moving to Node #0,1,2 Current State: 91:[86, 34], Operations: ['10+3=13', '47-13=34'] Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,91 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[7, 39], Operations: ['10-3=7', '86-47=39'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[13, 39], Operations: ['10+3=13', '86-47=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,91 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[86, 34], Operations: ['47-3=44', '44-10=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,91 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[86, 40], Operations: ['10-3=7', '47-7=40'] Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,91 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[10, 42], Operations: ['47-3=44', '86-44=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[86, 60], Operations: ['10+3=13', '47+13=60'] Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,91 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[47, 93], Operations: ['10-3=7', '86+7=93'] Exploring Operation: 47*93=4371, Resulting Numbers: [4371] 4371,91 unequal: No Solution Exploring Operation: 47+93=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[44, 96], Operations: ['47-3=44', '10+86=96'] Exploring Operation: 44+96=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 44*96=4224, Resulting Numbers: [4224] 4224,91 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[86, 54], Operations: ['47-3=44', '10+44=54'] Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,91 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[10, 130], Operations: ['47-3=44', '86+44=130'] Exploring Operation: 130-10=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 10*130=1300, Resulting Numbers: [1300] 1300,91 unequal: No Solution Exploring Operation: 10+130=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 130/10=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[7, 133], Operations: ['10-3=7', '47+86=133'] Exploring Operation: 7*133=931, Resulting Numbers: [931] 931,91 unequal: No Solution Exploring Operation: 133/7=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 7+133=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 133-7=126, Resulting Numbers: [126] 126,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[86, 54], Operations: ['10-3=7', '47+7=54'] Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,91 unequal: No Solution Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[13, 133], Operations: ['10+3=13', '47+86=133'] Exploring Operation: 13*133=1729, Resulting Numbers: [1729] 1729,91 unequal: No Solution Exploring Operation: 13+133=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 133-13=120, Resulting Numbers: [120] 120,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[47, 99], Operations: ['10+3=13', '86+13=99'] Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 47*99=4653, Resulting Numbers: [4653] 4653,91 unequal: No Solution Exploring Operation: 47+99=146, Resulting Numbers: [146] 146,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 82, 57, 56, 14 ]
45
[ "82-57=25", "56+14=70", "70-25=45" ]
Current State: 45:[82, 57, 56, 14], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [56, 14, 25] Generated Node #2: [56, 14, 25] from Operation: 82-57=25 Current State: 45:[56, 14, 25], Operations: ['82-57=25'] Exploring Operation: 56+14=70, Resulting Numbers: [25, 70] Generated Node #3: [25, 70] from Operation: 56+14=70 Current State: 45:[25, 70], Operations: ['82-57=25', '56+14=70'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[82, 57, 56, 14], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [56, 14, 25] Generated Node #0,0: 45:[56, 14, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 45:[56, 14, 25], Operations: ['82-57=25'] Exploring Operation: 56/14=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 45:[25, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[25, 4], Operations: ['82-57=25', '56/14=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,45 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
[ 6, 90, 51, 57 ]
55
[ "51-6=45", "90/45=2", "57-2=55" ]
Current State: 55:[6, 90, 51, 57], Operations: [] Exploring Operation: 51-6=45, Resulting Numbers: [90, 57, 45] Generated Node #2: [90, 57, 45] from Operation: 51-6=45 Current State: 55:[90, 57, 45], Operations: ['51-6=45'] Exploring Operation: 90/45=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 90/45=2 Current State: 55:[57, 2], Operations: ['51-6=45', '90/45=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[6, 90, 51, 57], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [51, 57, 15] Generated Node #0,0: 55:[51, 57, 15] Operation: 90/6=15 Exploring Operation: 90-57=33, Resulting Numbers: [6, 51, 33] Generated Node #0,1: 55:[6, 51, 33] Operation: 90-57=33 Exploring Operation: 90-51=39, Resulting Numbers: [6, 57, 39] Generated Node #0,2: 55:[6, 57, 39] Operation: 90-51=39 Exploring Operation: 90-6=84, Resulting Numbers: [51, 57, 84] Generated Node #0,3: 55:[51, 57, 84] Operation: 90-6=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[51, 57, 15], Operations: ['90/6=15'] Exploring Operation: 57-15=42, Resulting Numbers: [51, 42] Generated Node #0,0,0: 55:[51, 42] Operation: 57-15=42 Exploring Operation: 51+15=66, Resulting Numbers: [57, 66] Generated Node #0,0,1: 55:[57, 66] Operation: 51+15=66 Exploring Operation: 57-51=6, Resulting Numbers: [15, 6] Generated Node #0,0,2: 55:[15, 6] Operation: 57-51=6 Exploring Operation: 51-15=36, Resulting Numbers: [57, 36] Generated Node #0,0,3: 55:[57, 36] Operation: 51-15=36 Moving to Node #0,0,2 Current State: 55:[15, 6], Operations: ['90/6=15', '57-51=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[57, 66], Operations: ['90/6=15', '51+15=66'] Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,55 unequal: No Solution Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[51, 42], Operations: ['90/6=15', '57-15=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,55 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[57, 36], Operations: ['90/6=15', '51-15=36'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,55 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,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:[6, 57, 39], Operations: ['90-51=39'] Exploring Operation: 6+39=45, Resulting Numbers: [57, 45] Generated Node #0,2,0: 55:[57, 45] Operation: 6+39=45 Exploring Operation: 57-39=18, Resulting Numbers: [6, 18] Generated Node #0,2,1: 55:[6, 18] Operation: 57-39=18 Exploring Operation: 6+57=63, Resulting Numbers: [39, 63] Generated Node #0,2,2: 55:[39, 63] Operation: 6+57=63 Exploring Operation: 57-6=51, Resulting Numbers: [39, 51] Generated Node #0,2,3: 55:[39, 51] Operation: 57-6=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[6, 18], Operations: ['90-51=39', '57-39=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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:[57, 45], Operations: ['90-51=39', '6+39=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,55 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,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:[39, 51], Operations: ['90-51=39', '57-6=51'] Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,55 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,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:[39, 63], Operations: ['90-51=39', '6+57=63'] Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,55 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,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:[6, 51, 33], Operations: ['90-57=33'] Exploring Operation: 51-33=18, Resulting Numbers: [6, 18] Generated Node #0,1,0: 55:[6, 18] Operation: 51-33=18 Exploring Operation: 6+51=57, Resulting Numbers: [33, 57] Generated Node #0,1,1: 55:[33, 57] Operation: 6+51=57 Exploring Operation: 33-6=27, Resulting Numbers: [51, 27] Generated Node #0,1,2: 55:[51, 27] Operation: 33-6=27 Exploring Operation: 6+33=39, Resulting Numbers: [51, 39] Generated Node #0,1,3: 55:[51, 39] Operation: 6+33=39 Moving to Node #0,1,0 Current State: 55:[6, 18], Operations: ['90-57=33', '51-33=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[51, 39], Operations: ['90-57=33', '6+33=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[51, 27], Operations: ['90-57=33', '33-6=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[33, 57], Operations: ['90-57=33', '6+51=57'] Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,55 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,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,3 Current State: 55:[51, 57, 84], Operations: ['90-6=84'] Exploring Operation: 57-51=6, Resulting Numbers: [84, 6] Generated Node #0,3,0: 55:[84, 6] Operation: 57-51=6 Exploring Operation: 84-51=33, Resulting Numbers: [57, 33] Generated Node #0,3,1: 55:[57, 33] Operation: 84-51=33 Exploring Operation: 51+57=108, Resulting Numbers: [84, 108] Generated Node #0,3,2: 55:[84, 108] Operation: 51+57=108 Exploring Operation: 84-57=27, Resulting Numbers: [51, 27] Generated Node #0,3,3: 55:[51, 27] Operation: 84-57=27 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[51, 27], Operations: ['90-6=84', '84-57=27'] Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,55 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,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:[57, 33], Operations: ['90-6=84', '84-51=33'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,55 unequal: No Solution Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,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:[84, 6], Operations: ['90-6=84', '57-51=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,55 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,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:[84, 108], Operations: ['90-6=84', '51+57=108'] Exploring Operation: 84*108=9072, Resulting Numbers: [9072] 9072,55 unequal: No Solution Exploring Operation: 84+108=192, Resulting Numbers: [192] 192,55 unequal: No Solution Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_4
mult_heuristic
[ 72, 77, 22, 64 ]
47
[ "77-72=5", "64-22=42", "5+42=47" ]
Current State: 47:[72, 77, 22, 64], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [22, 64, 5] Generated Node #2: [22, 64, 5] from Operation: 77-72=5 Current State: 47:[22, 64, 5], Operations: ['77-72=5'] Exploring Operation: 64-22=42, Resulting Numbers: [5, 42] Generated Node #3: [5, 42] from Operation: 64-22=42 Current State: 47:[5, 42], Operations: ['77-72=5', '64-22=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[72, 77, 22, 64], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [72, 77, 42] Generated Node #0,0: 47:[72, 77, 42] Operation: 64-22=42 Exploring Operation: 72-22=50, Resulting Numbers: [77, 64, 50] Generated Node #0,1: 47:[77, 64, 50] Operation: 72-22=50 Exploring Operation: 77-22=55, Resulting Numbers: [72, 64, 55] Generated Node #0,2: 47:[72, 64, 55] Operation: 77-22=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[77, 64, 50], Operations: ['72-22=50'] Exploring Operation: 64-50=14, Resulting Numbers: [77, 14] Generated Node #0,1,0: 47:[77, 14] Operation: 64-50=14 Exploring Operation: 77-50=27, Resulting Numbers: [64, 27] Generated Node #0,1,1: 47:[64, 27] Operation: 77-50=27 Exploring Operation: 77-64=13, Resulting Numbers: [50, 13] Generated Node #0,1,2: 47:[50, 13] Operation: 77-64=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[64, 27], Operations: ['72-22=50', '77-50=27'] Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,47 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[50, 13], Operations: ['72-22=50', '77-64=13'] Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,47 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[77, 14], Operations: ['72-22=50', '64-50=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[72, 64, 55], Operations: ['77-22=55'] Exploring Operation: 64-55=9, Resulting Numbers: [72, 9] Generated Node #0,2,0: 47:[72, 9] Operation: 64-55=9 Exploring Operation: 72-64=8, Resulting Numbers: [55, 8] Generated Node #0,2,1: 47:[55, 8] Operation: 72-64=8 Exploring Operation: 72-55=17, Resulting Numbers: [64, 17] Generated Node #0,2,2: 47:[64, 17] Operation: 72-55=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[55, 8], Operations: ['77-22=55', '72-64=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,47 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[72, 77, 22, 64], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [72, 64, 55] Generated Node #0,2: 47:[72, 64, 55] Operation: 77-22=55 Moving to Node #0,2 Current State: 47:[72, 64, 55], Operations: ['77-22=55'] Exploring Operation: 72-64=8, Resulting Numbers: [55, 8] Generated Node #0,2,1: 47:[55, 8] Operation: 72-64=8 Moving to Node #0,2,1 Current State: 47:[55, 8], Operations: ['77-22=55', '72-64=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 52, 80, 82, 47 ]
63
[ "80-52=28", "82-47=35", "28+35=63" ]
Current State: 63:[52, 80, 82, 47], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [82, 47, 28] Generated Node #2: [82, 47, 28] from Operation: 80-52=28 Current State: 63:[82, 47, 28], Operations: ['80-52=28'] Exploring Operation: 82-47=35, Resulting Numbers: [28, 35] Generated Node #3: [28, 35] from Operation: 82-47=35 Current State: 63:[28, 35], Operations: ['80-52=28', '82-47=35'] Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[52, 80, 82, 47], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [80, 82, 5] Generated Node #0,0: 63:[80, 82, 5] Operation: 52-47=5 Exploring Operation: 82-80=2, Resulting Numbers: [52, 47, 2] Generated Node #0,1: 63:[52, 47, 2] Operation: 82-80=2 Exploring Operation: 80-47=33, Resulting Numbers: [52, 82, 33] Generated Node #0,2: 63:[52, 82, 33] Operation: 80-47=33 Exploring Operation: 80-52=28, Resulting Numbers: [82, 47, 28] Generated Node #0,3: 63:[82, 47, 28] Operation: 80-52=28 Exploring Operation: 82-52=30, Resulting Numbers: [80, 47, 30] Generated Node #0,4: 63:[80, 47, 30] Operation: 82-52=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[52, 47, 2], Operations: ['82-80=2'] Exploring Operation: 47+2=49, Resulting Numbers: [52, 49] Generated Node #0,1,0: 63:[52, 49] Operation: 47+2=49 Exploring Operation: 52/2=26, Resulting Numbers: [47, 26] Generated Node #0,1,1: 63:[47, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [47, 50] Generated Node #0,1,2: 63:[47, 50] Operation: 52-2=50 Exploring Operation: 52-47=5, Resulting Numbers: [2, 5] Generated Node #0,1,3: 63:[2, 5] Operation: 52-47=5 Exploring Operation: 52+2=54, Resulting Numbers: [47, 54] Generated Node #0,1,4: 63:[47, 54] Operation: 52+2=54 Moving to Node #0,1,3 Current State: 63:[2, 5], Operations: ['82-80=2', '52-47=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[47, 26], Operations: ['82-80=2', '52/2=26'] Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,63 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[52, 49], Operations: ['82-80=2', '47+2=49'] Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,63 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[47, 54], Operations: ['82-80=2', '52+2=54'] Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,63 unequal: No Solution Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,63 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[47, 50], Operations: ['82-80=2', '52-2=50'] Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,63 unequal: No Solution Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,63 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[80, 82, 5], Operations: ['52-47=5'] Exploring Operation: 80+5=85, Resulting Numbers: [82, 85] Generated Node #0,0,0: 63:[82, 85] Operation: 80+5=85 Exploring Operation: 82-80=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 63:[5, 2] Operation: 82-80=2 Exploring Operation: 80-5=75, Resulting Numbers: [82, 75] Generated Node #0,0,2: 63:[82, 75] Operation: 80-5=75 Exploring Operation: 82-5=77, Resulting Numbers: [80, 77] Generated Node #0,0,3: 63:[80, 77] Operation: 82-5=77 Exploring Operation: 80/5=16, Resulting Numbers: [82, 16] Generated Node #0,0,4: 63:[82, 16] Operation: 80/5=16 Moving to Node #0,0,1 Current State: 63:[5, 2], Operations: ['52-47=5', '82-80=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[82, 16], Operations: ['52-47=5', '80/5=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,63 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[82, 75], Operations: ['52-47=5', '80-5=75'] Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,63 unequal: No Solution Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,63 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[80, 77], Operations: ['52-47=5', '82-5=77'] Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,63 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[82, 85], Operations: ['52-47=5', '80+5=85'] Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,63 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[52, 82, 33], Operations: ['80-47=33'] Exploring Operation: 82-33=49, Resulting Numbers: [52, 49] Generated Node #0,2,0: 63:[52, 49] Operation: 82-33=49 Exploring Operation: 82-52=30, Resulting Numbers: [33, 30] Generated Node #0,2,1: 63:[33, 30] Operation: 82-52=30 Exploring Operation: 52-33=19, Resulting Numbers: [82, 19] Generated Node #0,2,2: 63:[82, 19] Operation: 52-33=19 Exploring Operation: 82+33=115, Resulting Numbers: [52, 115] Generated Node #0,2,3: 63:[52, 115] Operation: 82+33=115 Exploring Operation: 52+33=85, Resulting Numbers: [82, 85] Generated Node #0,2,4: 63:[82, 85] Operation: 52+33=85 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[33, 30], Operations: ['80-47=33', '82-52=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[52, 80, 82, 47], Operations: [] Exploring Operation: 80-47=33, Resulting Numbers: [52, 82, 33] Generated Node #0,2: 63:[52, 82, 33] Operation: 80-47=33 Moving to Node #0,2 Current State: 63:[52, 82, 33], Operations: ['80-47=33'] Exploring Operation: 82-52=30, Resulting Numbers: [33, 30] Generated Node #0,2,1: 63:[33, 30] Operation: 82-52=30 Moving to Node #0,2,1 Current State: 63:[33, 30], Operations: ['80-47=33', '82-52=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 6, 14, 52, 15 ]
57
[ "6+14=20", "52-15=37", "20+37=57" ]
Current State: 57:[6, 14, 52, 15], Operations: [] Exploring Operation: 6+14=20, Resulting Numbers: [52, 15, 20] Generated Node #2: [52, 15, 20] from Operation: 6+14=20 Current State: 57:[52, 15, 20], Operations: ['6+14=20'] Exploring Operation: 52-15=37, Resulting Numbers: [20, 37] Generated Node #3: [20, 37] from Operation: 52-15=37 Current State: 57:[20, 37], Operations: ['6+14=20', '52-15=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[6, 14, 52, 15], Operations: [] Exploring Operation: 6+14=20, Resulting Numbers: [52, 15, 20] Generated Node #0,0: 57:[52, 15, 20] Operation: 6+14=20 Exploring Operation: 6+52=58, Resulting Numbers: [14, 15, 58] Generated Node #0,1: 57:[14, 15, 58] Operation: 6+52=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[52, 15, 20], Operations: ['6+14=20'] Exploring Operation: 20-15=5, Resulting Numbers: [52, 5] Generated Node #0,0,0: 57:[52, 5] Operation: 20-15=5 Exploring Operation: 52+15=67, Resulting Numbers: [20, 67] Generated Node #0,0,1: 57:[20, 67] Operation: 52+15=67 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[52, 5], Operations: ['6+14=20', '20-15=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[6, 14, 52, 15], Operations: [] Exploring Operation: 6+14=20, Resulting Numbers: [52, 15, 20] Generated Node #0,0: 57:[52, 15, 20] Operation: 6+14=20 Moving to Node #0,0 Current State: 57:[52, 15, 20], Operations: ['6+14=20'] Exploring Operation: 20-15=5, Resulting Numbers: [52, 5] Generated Node #0,0,0: 57:[52, 5] Operation: 20-15=5 Moving to Node #0,0,0 Current State: 57:[52, 5], Operations: ['6+14=20', '20-15=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 76, 94, 32, 48 ]
20
[ "76*48=3648", "3648/32=114", "114-94=20" ]
Current State: 20:[76, 94, 32, 48], Operations: [] Exploring Operation: 76*48=3648, Resulting Numbers: [94, 32, 3648] Generated Node #2: [94, 32, 3648] from Operation: 76*48=3648 Current State: 20:[94, 32, 3648], Operations: ['76*48=3648'] Exploring Operation: 3648/32=114, Resulting Numbers: [94, 114] Generated Node #3: [94, 114] from Operation: 3648/32=114 Current State: 20:[94, 114], Operations: ['76*48=3648', '3648/32=114'] Exploring Operation: 114-94=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[76, 94, 32, 48], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [32, 48, 18] Generated Node #0,0: 20:[32, 48, 18] Operation: 94-76=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[32, 48, 18], Operations: ['94-76=18'] Exploring Operation: 48-32=16, Resulting Numbers: [18, 16] Generated Node #0,0,0: 20:[18, 16] Operation: 48-32=16 Moving to Node #0,0,0 Current State: 20:[18, 16], Operations: ['94-76=18', '48-32=16'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,20 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, 36, 18, 16 ]
15
[ "48/16=3", "36-18=18", "18-3=15" ]
Current State: 15:[48, 36, 18, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [36, 18, 3] Generated Node #2: [36, 18, 3] from Operation: 48/16=3 Current State: 15:[36, 18, 3], Operations: ['48/16=3'] Exploring Operation: 36-18=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 36-18=18 Current State: 15:[3, 18], Operations: ['48/16=3', '36-18=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[48, 36, 18, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [36, 18, 3] Generated Node #0,0: 15:[36, 18, 3] Operation: 48/16=3 Exploring Operation: 48-36=12, Resulting Numbers: [18, 16, 12] Generated Node #0,1: 15:[18, 16, 12] Operation: 48-36=12 Moving to Node #0,1 Current State: 15:[18, 16, 12], Operations: ['48-36=12'] Exploring Operation: 18-12=6, Resulting Numbers: [16, 6] Generated Node #0,1,0: 15:[16, 6] Operation: 18-12=6 Exploring Operation: 18-16=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 15:[12, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[16, 6], Operations: ['48-36=12', '18-12=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,15 unequal: No Solution No 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: 15:[12, 2], Operations: ['48-36=12', '18-16=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,15 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: 15:[36, 18, 3], Operations: ['48/16=3'] Exploring Operation: 36-18=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 15:[3, 18] Operation: 36-18=18 Exploring Operation: 36/18=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 15:[3, 2] Operation: 36/18=2 Moving to Node #0,0,1 Current State: 15:[3, 2], Operations: ['48/16=3', '36/18=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[3, 18], Operations: ['48/16=3', '36-18=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[48, 36, 18, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [36, 18, 3] Generated Node #0,0: 15:[36, 18, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 15:[36, 18, 3], Operations: ['48/16=3'] Exploring Operation: 36-18=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 15:[3, 18] Operation: 36-18=18 Moving to Node #0,0,0 Current State: 15:[3, 18], Operations: ['48/16=3', '36-18=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 15, 2, 58, 97 ]
49
[ "15+58=73", "2*73=146", "146-97=49" ]
Current State: 49:[15, 2, 58, 97], Operations: [] Exploring Operation: 15+58=73, Resulting Numbers: [2, 97, 73] Generated Node #2: [2, 97, 73] from Operation: 15+58=73 Current State: 49:[2, 97, 73], Operations: ['15+58=73'] Exploring Operation: 2*73=146, Resulting Numbers: [97, 146] Generated Node #3: [97, 146] from Operation: 2*73=146 Current State: 49:[97, 146], Operations: ['15+58=73', '2*73=146'] Exploring Operation: 146-97=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[15, 2, 58, 97], Operations: [] Exploring Operation: 97-15=82, Resulting Numbers: [2, 58, 82] Generated Node #0,0: 49:[2, 58, 82] Operation: 97-15=82 Exploring Operation: 97-58=39, Resulting Numbers: [15, 2, 39] Generated Node #0,1: 49:[15, 2, 39] Operation: 97-58=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[15, 2, 39], Operations: ['97-58=39'] Exploring Operation: 15+39=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 49:[2, 54] Operation: 15+39=54 Exploring Operation: 15-2=13, Resulting Numbers: [39, 13] Generated Node #0,1,1: 49:[39, 13] Operation: 15-2=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[2, 54], Operations: ['97-58=39', '15+39=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,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,1,1 Current State: 49:[39, 13], Operations: ['97-58=39', '15-2=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,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,0 Current State: 49:[2, 58, 82], Operations: ['97-15=82'] Exploring Operation: 82/2=41, Resulting Numbers: [58, 41] Generated Node #0,0,0: 49:[58, 41] Operation: 82/2=41 Exploring Operation: 82-58=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 49:[2, 24] Operation: 82-58=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[58, 41], Operations: ['97-15=82', '82/2=41'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,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:[2, 24], Operations: ['97-15=82', '82-58=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,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_2
mult_heuristic
[ 6, 90, 60, 76 ]
67
[ "6*90=540", "540/60=9", "76-9=67" ]
Current State: 67:[6, 90, 60, 76], Operations: [] Exploring Operation: 6*90=540, Resulting Numbers: [60, 76, 540] Generated Node #2: [60, 76, 540] from Operation: 6*90=540 Current State: 67:[60, 76, 540], Operations: ['6*90=540'] Exploring Operation: 540/60=9, Resulting Numbers: [76, 9] Generated Node #3: [76, 9] from Operation: 540/60=9 Current State: 67:[76, 9], Operations: ['6*90=540', '540/60=9'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[6, 90, 60, 76], Operations: [] Exploring Operation: 76-6=70, Resulting Numbers: [90, 60, 70] Generated Node #0,0: 67:[90, 60, 70] Operation: 76-6=70 Exploring Operation: 6+60=66, Resulting Numbers: [90, 76, 66] Generated Node #0,1: 67:[90, 76, 66] Operation: 6+60=66 Exploring Operation: 90-6=84, Resulting Numbers: [60, 76, 84] Generated Node #0,2: 67:[60, 76, 84] Operation: 90-6=84 Moving to Node #0,0 Current State: 67:[90, 60, 70], Operations: ['76-6=70'] Exploring Operation: 90-60=30, Resulting Numbers: [70, 30] Generated Node #0,0,0: 67:[70, 30] Operation: 90-60=30 Exploring Operation: 90-70=20, Resulting Numbers: [60, 20] Generated Node #0,0,1: 67:[60, 20] Operation: 90-70=20 Exploring Operation: 70-60=10, Resulting Numbers: [90, 10] Generated Node #0,0,2: 67:[90, 10] Operation: 70-60=10 Moving to Node #0,1 Current State: 67:[90, 76, 66], Operations: ['6+60=66'] Exploring Operation: 90-66=24, Resulting Numbers: [76, 24] Generated Node #0,1,0: 67:[76, 24] Operation: 90-66=24 Exploring Operation: 76-66=10, Resulting Numbers: [90, 10] Generated Node #0,1,1: 67:[90, 10] Operation: 76-66=10 Exploring Operation: 90-76=14, Resulting Numbers: [66, 14] Generated Node #0,1,2: 67:[66, 14] Operation: 90-76=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[76, 24], Operations: ['6+60=66', '90-66=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,67 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,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,2 Current State: 67:[66, 14], Operations: ['6+60=66', '90-76=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,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,1 Current State: 67:[90, 10], Operations: ['6+60=66', '76-66=10'] Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,67 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: 67:[60, 76, 84], Operations: ['90-6=84'] Exploring Operation: 76-60=16, Resulting Numbers: [84, 16] Generated Node #0,2,0: 67:[84, 16] Operation: 76-60=16 Exploring Operation: 84-60=24, Resulting Numbers: [76, 24] Generated Node #0,2,1: 67:[76, 24] Operation: 84-60=24 Exploring Operation: 84-76=8, Resulting Numbers: [60, 8] Generated Node #0,2,2: 67:[60, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[76, 24], Operations: ['90-6=84', '84-60=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,67 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,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,2 Current State: 67:[60, 8], Operations: ['90-6=84', '84-76=8'] Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,67 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,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,0 Current State: 67:[84, 16], Operations: ['90-6=84', '76-60=16'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,67 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,67 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: 67:[70, 30], Operations: ['76-6=70', '90-60=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[60, 20], Operations: ['76-6=70', '90-70=20'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[90, 10], Operations: ['76-6=70', '70-60=10'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 34, 45, 87, 66 ]
93
[ "45-34=11", "66/11=6", "87+6=93" ]
Current State: 93:[34, 45, 87, 66], Operations: [] Exploring Operation: 45-34=11, Resulting Numbers: [87, 66, 11] Generated Node #2: [87, 66, 11] from Operation: 45-34=11 Current State: 93:[87, 66, 11], Operations: ['45-34=11'] Exploring Operation: 66/11=6, Resulting Numbers: [87, 6] Generated Node #3: [87, 6] from Operation: 66/11=6 Current State: 93:[87, 6], Operations: ['45-34=11', '66/11=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[34, 45, 87, 66], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [34, 87, 21] Generated Node #0,0: 93:[34, 87, 21] Operation: 66-45=21 Exploring Operation: 66-34=32, Resulting Numbers: [45, 87, 32] Generated Node #0,1: 93:[45, 87, 32] Operation: 66-34=32 Moving to Node #0,0 Current State: 93:[34, 87, 21], Operations: ['66-45=21'] Exploring Operation: 87+21=108, Resulting Numbers: [34, 108] Generated Node #0,0,0: 93:[34, 108] Operation: 87+21=108 Exploring Operation: 34-21=13, Resulting Numbers: [87, 13] Generated Node #0,0,1: 93:[87, 13] Operation: 34-21=13 Moving to Node #0,1 Current State: 93:[45, 87, 32], Operations: ['66-34=32'] Exploring Operation: 87-45=42, Resulting Numbers: [32, 42] Generated Node #0,1,0: 93:[32, 42] Operation: 87-45=42 Exploring Operation: 45-32=13, Resulting Numbers: [87, 13] Generated Node #0,1,1: 93:[87, 13] Operation: 45-32=13 Moving to Node #0,1,0 Current State: 93:[32, 42], Operations: ['66-34=32', '87-45=42'] Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[87, 13], Operations: ['66-45=21', '34-21=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[87, 13], Operations: ['66-34=32', '45-32=13'] Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,93 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[34, 108], Operations: ['66-45=21', '87+21=108'] Exploring Operation: 34+108=142, Resulting Numbers: [142] 142,93 unequal: No Solution Exploring Operation: 108-34=74, Resulting Numbers: [74] 74,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 95, 92, 23, 2 ]
56
[ "95-23=72", "72/2=36", "92-36=56" ]
Current State: 56:[95, 92, 23, 2], Operations: [] Exploring Operation: 95-23=72, Resulting Numbers: [92, 2, 72] Generated Node #2: [92, 2, 72] from Operation: 95-23=72 Current State: 56:[92, 2, 72], Operations: ['95-23=72'] Exploring Operation: 72/2=36, Resulting Numbers: [92, 36] Generated Node #3: [92, 36] from Operation: 72/2=36 Current State: 56:[92, 36], Operations: ['95-23=72', '72/2=36'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[95, 92, 23, 2], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [23, 2, 3] Generated Node #0,0: 56:[23, 2, 3] Operation: 95-92=3 Exploring Operation: 92-23=69, Resulting Numbers: [95, 2, 69] Generated Node #0,1: 56:[95, 2, 69] Operation: 92-23=69 Exploring Operation: 95-23=72, Resulting Numbers: [92, 2, 72] Generated Node #0,2: 56:[92, 2, 72] Operation: 95-23=72 Exploring Operation: 92/23=4, Resulting Numbers: [95, 2, 4] Generated Node #0,3: 56:[95, 2, 4] Operation: 92/23=4 Exploring Operation: 92/2=46, Resulting Numbers: [95, 23, 46] Generated Node #0,4: 56:[95, 23, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[23, 2, 3], Operations: ['95-92=3'] Exploring Operation: 2*3=6, Resulting Numbers: [23, 6] Generated Node #0,0,0: 56:[23, 6] Operation: 2*3=6 Exploring Operation: 23+3=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 56:[2, 26] Operation: 23+3=26 Exploring Operation: 23+2=25, Resulting Numbers: [3, 25] Generated Node #0,0,2: 56:[3, 25] Operation: 23+2=25 Exploring Operation: 23-3=20, Resulting Numbers: [2, 20] Generated Node #0,0,3: 56:[2, 20] Operation: 23-3=20 Exploring Operation: 2+3=5, Resulting Numbers: [23, 5] Generated Node #0,0,4: 56:[23, 5] Operation: 2+3=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[2, 26], Operations: ['95-92=3', '23+3=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,56 unequal: No Solution No 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: 56:[3, 25], Operations: ['95-92=3', '23+2=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,56 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,56 unequal: No Solution No 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: 56:[23, 6], Operations: ['95-92=3', '2*3=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,56 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,56 unequal: No Solution No 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: 56:[2, 20], Operations: ['95-92=3', '23-3=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,56 unequal: No Solution No 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: 56:[23, 5], Operations: ['95-92=3', '2+3=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,56 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: 56:[95, 2, 4], Operations: ['92/23=4'] Exploring Operation: 95-2=93, Resulting Numbers: [4, 93] Generated Node #0,3,0: 56:[4, 93] Operation: 95-2=93 Exploring Operation: 4-2=2, Resulting Numbers: [95, 2] Generated Node #0,3,1: 56:[95, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [95, 2] Generated Node #0,3,2: 56:[95, 2] Operation: 4/2=2 Exploring Operation: 95-4=91, Resulting Numbers: [2, 91] Generated Node #0,3,3: 56:[2, 91] Operation: 95-4=91 Exploring Operation: 2*4=8, Resulting Numbers: [95, 8] Generated Node #0,3,4: 56:[95, 8] Operation: 2*4=8 Moving to Node #0,3,3 Current State: 56:[2, 91], Operations: ['92/23=4', '95-4=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,56 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[4, 93], Operations: ['92/23=4', '95-2=93'] Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[95, 2], Operations: ['92/23=4', '4-2=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,56 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[95, 2], Operations: ['92/23=4', '4/2=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,56 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[95, 8], Operations: ['92/23=4', '2*4=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,56 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,56 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[95, 2, 69], Operations: ['92-23=69'] Exploring Operation: 95-69=26, Resulting Numbers: [2, 26] Generated Node #0,1,0: 56:[2, 26] Operation: 95-69=26 Exploring Operation: 2+69=71, Resulting Numbers: [95, 71] Generated Node #0,1,1: 56:[95, 71] Operation: 2+69=71 Exploring Operation: 69-2=67, Resulting Numbers: [95, 67] Generated Node #0,1,2: 56:[95, 67] Operation: 69-2=67 Exploring Operation: 95+2=97, Resulting Numbers: [69, 97] Generated Node #0,1,3: 56:[69, 97] Operation: 95+2=97 Exploring Operation: 95-2=93, Resulting Numbers: [69, 93] Generated Node #0,1,4: 56:[69, 93] Operation: 95-2=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[2, 26], Operations: ['92-23=69', '95-69=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,56 unequal: No Solution No 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: 56:[95, 67], Operations: ['92-23=69', '69-2=67'] Exploring Operation: 95*67=6365, Resulting Numbers: [6365] 6365,56 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 95+67=162, Resulting Numbers: [162] 162,56 unequal: No Solution No 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: 56:[69, 93], Operations: ['92-23=69', '95-2=93'] Exploring Operation: 69+93=162, Resulting Numbers: [162] 162,56 unequal: No Solution Exploring Operation: 69*93=6417, Resulting Numbers: [6417] 6417,56 unequal: No Solution Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,56 unequal: No Solution No 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: 56:[95, 71], Operations: ['92-23=69', '2+69=71'] Exploring Operation: 95*71=6745, Resulting Numbers: [6745] 6745,56 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 95+71=166, Resulting Numbers: [166] 166,56 unequal: No Solution No 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: 56:[69, 97], Operations: ['92-23=69', '95+2=97'] Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 69*97=6693, Resulting Numbers: [6693] 6693,56 unequal: No Solution Exploring Operation: 69+97=166, Resulting Numbers: [166] 166,56 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: 56:[92, 2, 72], Operations: ['95-23=72'] Exploring Operation: 92/2=46, Resulting Numbers: [72, 46] Generated Node #0,2,0: 56:[72, 46] Operation: 92/2=46 Exploring Operation: 92-72=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 56:[2, 20] Operation: 92-72=20 Exploring Operation: 72-2=70, Resulting Numbers: [92, 70] Generated Node #0,2,2: 56:[92, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [92, 36] Generated Node #0,2,3: 56:[92, 36] Operation: 72/2=36 Exploring Operation: 92-2=90, Resulting Numbers: [72, 90] Generated Node #0,2,4: 56:[72, 90] Operation: 92-2=90 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[2, 20], Operations: ['95-23=72', '92-72=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,56 unequal: No Solution No 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: 56:[72, 46], Operations: ['95-23=72', '92/2=46'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 72+46=118, Resulting Numbers: [118] 118,56 unequal: No Solution Exploring Operation: 72*46=3312, Resulting Numbers: [3312] 3312,56 unequal: No Solution No 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: 56:[92, 36], Operations: ['95-23=72', '72/2=36'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[95, 92, 23, 2], Operations: [] Exploring Operation: 95-23=72, Resulting Numbers: [92, 2, 72] Generated Node #0,2: 56:[92, 2, 72] Operation: 95-23=72 Moving to Node #0,2 Current State: 56:[92, 2, 72], Operations: ['95-23=72'] Exploring Operation: 72/2=36, Resulting Numbers: [92, 36] Generated Node #0,2,3: 56:[92, 36] Operation: 72/2=36 Moving to Node #0,2,3 Current State: 56:[92, 36], Operations: ['95-23=72', '72/2=36'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.926215
hs_5
sum_heuristic
[ 85, 83, 58, 74 ]
45
[ "85-83=2", "58/2=29", "74-29=45" ]
Current State: 45:[85, 83, 58, 74], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [58, 74, 2] Generated Node #2: [58, 74, 2] from Operation: 85-83=2 Current State: 45:[58, 74, 2], Operations: ['85-83=2'] Exploring Operation: 58/2=29, Resulting Numbers: [74, 29] Generated Node #3: [74, 29] from Operation: 58/2=29 Current State: 45:[74, 29], Operations: ['85-83=2', '58/2=29'] Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[85, 83, 58, 74], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [83, 58, 11] Generated Node #0,0: 45:[83, 58, 11] Operation: 85-74=11 Exploring Operation: 85-83=2, Resulting Numbers: [58, 74, 2] Generated Node #0,1: 45:[58, 74, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[58, 74, 2], Operations: ['85-83=2'] Exploring Operation: 74/2=37, Resulting Numbers: [58, 37] Generated Node #0,1,0: 45:[58, 37] Operation: 74/2=37 Exploring Operation: 74-58=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 45:[2, 16] Operation: 74-58=16 Moving to Node #0,1,1 Current State: 45:[2, 16], Operations: ['85-83=2', '74-58=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[58, 37], Operations: ['85-83=2', '74/2=37'] Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,45 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[83, 58, 11], Operations: ['85-74=11'] Exploring Operation: 83-58=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 45:[11, 25] Operation: 83-58=25 Exploring Operation: 83-11=72, Resulting Numbers: [58, 72] Generated Node #0,0,1: 45:[58, 72] Operation: 83-11=72 Moving to Node #0,0,0 Current State: 45:[11, 25], Operations: ['85-74=11', '83-58=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[58, 72], Operations: ['85-74=11', '83-11=72'] Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,45 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
[ 94, 30, 8, 7 ]
15
[ "94-30=64", "64/8=8", "7+8=15" ]
Current State: 15:[94, 30, 8, 7], Operations: [] Exploring Operation: 94-30=64, Resulting Numbers: [8, 7, 64] Generated Node #2: [8, 7, 64] from Operation: 94-30=64 Current State: 15:[8, 7, 64], Operations: ['94-30=64'] Exploring Operation: 64/8=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 64/8=8 Current State: 15:[7, 8], Operations: ['94-30=64', '64/8=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[94, 30, 8, 7], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [30, 7, 86] Generated Node #0,0: 15:[30, 7, 86] Operation: 94-8=86 Exploring Operation: 94-30=64, Resulting Numbers: [8, 7, 64] Generated Node #0,1: 15:[8, 7, 64] Operation: 94-30=64 Exploring Operation: 30-8=22, Resulting Numbers: [94, 7, 22] Generated Node #0,2: 15:[94, 7, 22] Operation: 30-8=22 Exploring Operation: 30-7=23, Resulting Numbers: [94, 8, 23] Generated Node #0,3: 15:[94, 8, 23] Operation: 30-7=23 Exploring Operation: 94-7=87, Resulting Numbers: [30, 8, 87] Generated Node #0,4: 15:[30, 8, 87] Operation: 94-7=87 Moving to Node #0,1 Current State: 15:[8, 7, 64], Operations: ['94-30=64'] Exploring Operation: 8+7=15, Resulting Numbers: [64, 15] Generated Node #0,1,0: 15:[64, 15] Operation: 8+7=15 Exploring Operation: 64-7=57, Resulting Numbers: [8, 57] Generated Node #0,1,1: 15:[8, 57] Operation: 64-7=57 Exploring Operation: 64-8=56, Resulting Numbers: [7, 56] Generated Node #0,1,2: 15:[7, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [7, 8] Generated Node #0,1,3: 15:[7, 8] Operation: 64/8=8 Exploring Operation: 8-7=1, Resulting Numbers: [64, 1] Generated Node #0,1,4: 15:[64, 1] Operation: 8-7=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[7, 8], Operations: ['94-30=64', '64/8=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[94, 30, 8, 7], Operations: [] Exploring Operation: 94-30=64, Resulting Numbers: [8, 7, 64] Generated Node #0,1: 15:[8, 7, 64] Operation: 94-30=64 Moving to Node #0,1 Current State: 15:[8, 7, 64], Operations: ['94-30=64'] Exploring Operation: 64/8=8, Resulting Numbers: [7, 8] Generated Node #0,1,3: 15:[7, 8] Operation: 64/8=8 Moving to Node #0,1,3 Current State: 15:[7, 8], Operations: ['94-30=64', '64/8=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 86, 4, 92, 56 ]
66
[ "86-4=82", "92+56=148", "148-82=66" ]
Current State: 66:[86, 4, 92, 56], Operations: [] Exploring Operation: 86-4=82, Resulting Numbers: [92, 56, 82] Generated Node #2: [92, 56, 82] from Operation: 86-4=82 Current State: 66:[92, 56, 82], Operations: ['86-4=82'] Exploring Operation: 92+56=148, Resulting Numbers: [82, 148] Generated Node #3: [82, 148] from Operation: 92+56=148 Current State: 66:[82, 148], Operations: ['86-4=82', '92+56=148'] Exploring Operation: 148-82=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[86, 4, 92, 56], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [4, 92, 30] Generated Node #0,0: 66:[4, 92, 30] Operation: 86-56=30 Exploring Operation: 92/4=23, Resulting Numbers: [86, 56, 23] Generated Node #0,1: 66:[86, 56, 23] Operation: 92/4=23 Exploring Operation: 56/4=14, Resulting Numbers: [86, 92, 14] Generated Node #0,2: 66:[86, 92, 14] Operation: 56/4=14 Exploring Operation: 92-86=6, Resulting Numbers: [4, 56, 6] Generated Node #0,3: 66:[4, 56, 6] Operation: 92-86=6 Exploring Operation: 92-56=36, Resulting Numbers: [86, 4, 36] Generated Node #0,4: 66:[86, 4, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[4, 56, 6], Operations: ['92-86=6'] Exploring Operation: 56+6=62, Resulting Numbers: [4, 62] Generated Node #0,3,0: 66:[4, 62] Operation: 56+6=62 Exploring Operation: 6-4=2, Resulting Numbers: [56, 2] Generated Node #0,3,1: 66:[56, 2] Operation: 6-4=2 Exploring Operation: 56/4=14, Resulting Numbers: [6, 14] Generated Node #0,3,2: 66:[6, 14] Operation: 56/4=14 Exploring Operation: 4+56=60, Resulting Numbers: [6, 60] Generated Node #0,3,3: 66:[6, 60] Operation: 4+56=60 Exploring Operation: 4+6=10, Resulting Numbers: [56, 10] Generated Node #0,3,4: 66:[56, 10] Operation: 4+6=10 Moving to Node #0,3,2 Current State: 66:[6, 14], Operations: ['92-86=6', '56/4=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[4, 62], Operations: ['92-86=6', '56+6=62'] Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[86, 4, 92, 56], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [4, 56, 6] Generated Node #0,3: 66:[4, 56, 6] Operation: 92-86=6 Moving to Node #0,3 Current State: 66:[4, 56, 6], Operations: ['92-86=6'] Exploring Operation: 56+6=62, Resulting Numbers: [4, 62] Generated Node #0,3,0: 66:[4, 62] Operation: 56+6=62 Moving to Node #0,3,0 Current State: 66:[4, 62], Operations: ['92-86=6', '56+6=62'] Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 62, 57, 23, 21 ]
75
[ "62+57=119", "23+21=44", "119-44=75" ]
Current State: 75:[62, 57, 23, 21], Operations: [] Exploring Operation: 62+57=119, Resulting Numbers: [23, 21, 119] Generated Node #2: [23, 21, 119] from Operation: 62+57=119 Current State: 75:[23, 21, 119], Operations: ['62+57=119'] Exploring Operation: 23+21=44, Resulting Numbers: [119, 44] Generated Node #3: [119, 44] from Operation: 23+21=44 Current State: 75:[119, 44], Operations: ['62+57=119', '23+21=44'] Exploring Operation: 119-44=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[62, 57, 23, 21], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [23, 21, 5] Generated Node #0,0: 75:[23, 21, 5] Operation: 62-57=5 Exploring Operation: 57+21=78, Resulting Numbers: [62, 23, 78] Generated Node #0,1: 75:[62, 23, 78] Operation: 57+21=78 Exploring Operation: 57+23=80, Resulting Numbers: [62, 21, 80] Generated Node #0,2: 75:[62, 21, 80] Operation: 57+23=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[23, 21, 5], Operations: ['62-57=5'] Exploring Operation: 21-5=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 75:[23, 16] Operation: 21-5=16 Exploring Operation: 23-21=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 75:[5, 2] Operation: 23-21=2 Exploring Operation: 21+5=26, Resulting Numbers: [23, 26] Generated Node #0,0,2: 75:[23, 26] Operation: 21+5=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[5, 2], Operations: ['62-57=5', '23-21=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[23, 16], Operations: ['62-57=5', '21-5=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,75 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[23, 26], Operations: ['62-57=5', '21+5=26'] Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[62, 23, 78], Operations: ['57+21=78'] Exploring Operation: 78-62=16, Resulting Numbers: [23, 16] Generated Node #0,1,0: 75:[23, 16] Operation: 78-62=16 Exploring Operation: 62+23=85, Resulting Numbers: [78, 85] Generated Node #0,1,1: 75:[78, 85] Operation: 62+23=85 Exploring Operation: 62-23=39, Resulting Numbers: [78, 39] Generated Node #0,1,2: 75:[78, 39] Operation: 62-23=39 Moving to Node #0,1,0 Current State: 75:[23, 16], Operations: ['57+21=78', '78-62=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,75 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[78, 85], Operations: ['57+21=78', '62+23=85'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,75 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[78, 39], Operations: ['57+21=78', '62-23=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,75 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,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,2 Current State: 75:[62, 21, 80], Operations: ['57+23=80'] Exploring Operation: 80-62=18, Resulting Numbers: [21, 18] Generated Node #0,2,0: 75:[21, 18] Operation: 80-62=18 Exploring Operation: 62-21=41, Resulting Numbers: [80, 41] Generated Node #0,2,1: 75:[80, 41] Operation: 62-21=41 Exploring Operation: 62+21=83, Resulting Numbers: [80, 83] Generated Node #0,2,2: 75:[80, 83] Operation: 62+21=83 Moving to Node #0,2,0 Current State: 75:[21, 18], Operations: ['57+23=80', '80-62=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,75 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[80, 83], Operations: ['57+23=80', '62+21=83'] Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,75 unequal: No Solution Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,75 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[80, 41], Operations: ['57+23=80', '62-21=41'] Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,75 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,75 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 46, 50, 38, 52 ]
82
[ "46+50=96", "52-38=14", "96-14=82" ]
Current State: 82:[46, 50, 38, 52], Operations: [] Exploring Operation: 46+50=96, Resulting Numbers: [38, 52, 96] Generated Node #2: [38, 52, 96] from Operation: 46+50=96 Current State: 82:[38, 52, 96], Operations: ['46+50=96'] Exploring Operation: 52-38=14, Resulting Numbers: [96, 14] Generated Node #3: [96, 14] from Operation: 52-38=14 Current State: 82:[96, 14], Operations: ['46+50=96', '52-38=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[46, 50, 38, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [46, 38, 2] Generated Node #0,0: 82:[46, 38, 2] Operation: 52-50=2 Exploring Operation: 50-46=4, Resulting Numbers: [38, 52, 4] Generated Node #0,1: 82:[38, 52, 4] Operation: 50-46=4 Moving to Node #0,0 Current State: 82:[46, 38, 2], Operations: ['52-50=2'] Exploring Operation: 46-38=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 82:[2, 8] Operation: 46-38=8 Exploring Operation: 46+38=84, Resulting Numbers: [2, 84] Generated Node #0,0,1: 82:[2, 84] Operation: 46+38=84 Moving to Node #0,1 Current State: 82:[38, 52, 4], Operations: ['50-46=4'] Exploring Operation: 38+52=90, Resulting Numbers: [4, 90] Generated Node #0,1,0: 82:[4, 90] Operation: 38+52=90 Exploring Operation: 52-4=48, Resulting Numbers: [38, 48] Generated Node #0,1,1: 82:[38, 48] Operation: 52-4=48 Moving to Node #0,0,1 Current State: 82:[2, 84], Operations: ['52-50=2', '46+38=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[46, 50, 38, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [46, 38, 2] Generated Node #0,0: 82:[46, 38, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 82:[46, 38, 2], Operations: ['52-50=2'] Exploring Operation: 46+38=84, Resulting Numbers: [2, 84] Generated Node #0,0,1: 82:[2, 84] Operation: 46+38=84 Moving to Node #0,0,1 Current State: 82:[2, 84], Operations: ['52-50=2', '46+38=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 10, 48, 73, 77 ]
54
[ "10+48=58", "77-73=4", "58-4=54" ]
Current State: 54:[10, 48, 73, 77], Operations: [] Exploring Operation: 10+48=58, Resulting Numbers: [73, 77, 58] Generated Node #2: [73, 77, 58] from Operation: 10+48=58 Current State: 54:[73, 77, 58], Operations: ['10+48=58'] Exploring Operation: 77-73=4, Resulting Numbers: [58, 4] Generated Node #3: [58, 4] from Operation: 77-73=4 Current State: 54:[58, 4], Operations: ['10+48=58', '77-73=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[10, 48, 73, 77], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [10, 48, 4] Generated Node #0,0: 54:[10, 48, 4] Operation: 77-73=4 Moving to Node #0,0 Current State: 54:[10, 48, 4], Operations: ['77-73=4'] Exploring Operation: 48+4=52, Resulting Numbers: [10, 52] Generated Node #0,0,0: 54:[10, 52] Operation: 48+4=52 Moving to Node #0,0,0 Current State: 54:[10, 52], Operations: ['77-73=4', '48+4=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,54 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 65, 39, 8, 93 ]
68
[ "39-8=31", "93/31=3", "65+3=68" ]
Current State: 68:[65, 39, 8, 93], Operations: [] Exploring Operation: 39-8=31, Resulting Numbers: [65, 93, 31] Generated Node #2: [65, 93, 31] from Operation: 39-8=31 Current State: 68:[65, 93, 31], Operations: ['39-8=31'] Exploring Operation: 93/31=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 93/31=3 Current State: 68:[65, 3], Operations: ['39-8=31', '93/31=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[65, 39, 8, 93], Operations: [] Exploring Operation: 65+8=73, Resulting Numbers: [39, 93, 73] Generated Node #0,0: 68:[39, 93, 73] Operation: 65+8=73 Exploring Operation: 93-39=54, Resulting Numbers: [65, 8, 54] Generated Node #0,1: 68:[65, 8, 54] Operation: 93-39=54 Exploring Operation: 39-8=31, Resulting Numbers: [65, 93, 31] Generated Node #0,2: 68:[65, 93, 31] Operation: 39-8=31 Exploring Operation: 93-8=85, Resulting Numbers: [65, 39, 85] Generated Node #0,3: 68:[65, 39, 85] Operation: 93-8=85 Exploring Operation: 93-65=28, Resulting Numbers: [39, 8, 28] Generated Node #0,4: 68:[39, 8, 28] Operation: 93-65=28 Start Sub Search at level 1: Moving to Node #0,4 Current State: 68:[39, 8, 28], Operations: ['93-65=28'] Exploring Operation: 28-8=20, Resulting Numbers: [39, 20] Generated Node #0,4,0: 68:[39, 20] Operation: 28-8=20 Exploring Operation: 8+28=36, Resulting Numbers: [39, 36] Generated Node #0,4,1: 68:[39, 36] Operation: 8+28=36 Exploring Operation: 39-28=11, Resulting Numbers: [8, 11] Generated Node #0,4,2: 68:[8, 11] Operation: 39-28=11 Exploring Operation: 39+28=67, Resulting Numbers: [8, 67] Generated Node #0,4,3: 68:[8, 67] Operation: 39+28=67 Exploring Operation: 39-8=31, Resulting Numbers: [28, 31] Generated Node #0,4,4: 68:[28, 31] Operation: 39-8=31 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 68:[8, 67], Operations: ['93-65=28', '39+28=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,68 unequal: No Solution No 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: 68:[39, 36], Operations: ['93-65=28', '8+28=36'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,68 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,68 unequal: No Solution No 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: 68:[39, 20], Operations: ['93-65=28', '28-8=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,68 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,68 unequal: No Solution No 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: 68:[28, 31], Operations: ['93-65=28', '39-8=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,68 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 68:[8, 11], Operations: ['93-65=28', '39-28=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,68 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,68 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: 68:[65, 8, 54], Operations: ['93-39=54'] Exploring Operation: 65-54=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 68:[8, 11] Operation: 65-54=11 Exploring Operation: 54-8=46, Resulting Numbers: [65, 46] Generated Node #0,1,1: 68:[65, 46] Operation: 54-8=46 Exploring Operation: 65-8=57, Resulting Numbers: [54, 57] Generated Node #0,1,2: 68:[54, 57] Operation: 65-8=57 Exploring Operation: 65+8=73, Resulting Numbers: [54, 73] Generated Node #0,1,3: 68:[54, 73] Operation: 65+8=73 Exploring Operation: 8+54=62, Resulting Numbers: [65, 62] Generated Node #0,1,4: 68:[65, 62] Operation: 8+54=62 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 68:[65, 62], Operations: ['93-39=54', '8+54=62'] Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,68 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,68 unequal: No Solution No 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: 68:[8, 11], Operations: ['93-39=54', '65-54=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,68 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,68 unequal: No Solution No 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: 68:[65, 46], Operations: ['93-39=54', '54-8=46'] Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,68 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,68 unequal: No Solution No 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: 68:[54, 73], Operations: ['93-39=54', '65+8=73'] Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,68 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,68 unequal: No Solution No 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: 68:[54, 57], Operations: ['93-39=54', '65-8=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,68 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,68 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: 68:[65, 39, 85], Operations: ['93-8=85'] Exploring Operation: 85-39=46, Resulting Numbers: [65, 46] Generated Node #0,3,0: 68:[65, 46] Operation: 85-39=46 Exploring Operation: 85-65=20, Resulting Numbers: [39, 20] Generated Node #0,3,1: 68:[39, 20] Operation: 85-65=20 Exploring Operation: 65+39=104, Resulting Numbers: [85, 104] Generated Node #0,3,2: 68:[85, 104] Operation: 65+39=104 Exploring Operation: 65-39=26, Resulting Numbers: [85, 26] Generated Node #0,3,3: 68:[85, 26] Operation: 65-39=26 Exploring Operation: 39+85=124, Resulting Numbers: [65, 124] Generated Node #0,3,4: 68:[65, 124] Operation: 39+85=124 Moving to Node #0,3,1 Current State: 68:[39, 20], Operations: ['93-8=85', '85-65=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,68 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[65, 46], Operations: ['93-8=85', '85-39=46'] Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,68 unequal: No Solution Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[85, 26], Operations: ['93-8=85', '65-39=26'] Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,68 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[85, 104], Operations: ['93-8=85', '65+39=104'] Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,68 unequal: No Solution Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,68 unequal: No Solution Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[65, 124], Operations: ['93-8=85', '39+85=124'] Exploring Operation: 124-65=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 65*124=8060, Resulting Numbers: [8060] 8060,68 unequal: No Solution Exploring Operation: 65+124=189, Resulting Numbers: [189] 189,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[65, 93, 31], Operations: ['39-8=31'] Exploring Operation: 93/31=3, Resulting Numbers: [65, 3] Generated Node #0,2,0: 68:[65, 3] Operation: 93/31=3 Exploring Operation: 65+31=96, Resulting Numbers: [93, 96] Generated Node #0,2,1: 68:[93, 96] Operation: 65+31=96 Exploring Operation: 93-65=28, Resulting Numbers: [31, 28] Generated Node #0,2,2: 68:[31, 28] Operation: 93-65=28 Exploring Operation: 93-31=62, Resulting Numbers: [65, 62] Generated Node #0,2,3: 68:[65, 62] Operation: 93-31=62 Exploring Operation: 65-31=34, Resulting Numbers: [93, 34] Generated Node #0,2,4: 68:[93, 34] Operation: 65-31=34 Moving to Node #0,2,0 Current State: 68:[65, 3], Operations: ['39-8=31', '93/31=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[65, 39, 8, 93], Operations: [] Exploring Operation: 39-8=31, Resulting Numbers: [65, 93, 31] Generated Node #0,2: 68:[65, 93, 31] Operation: 39-8=31 Moving to Node #0,2 Current State: 68:[65, 93, 31], Operations: ['39-8=31'] Exploring Operation: 93/31=3, Resulting Numbers: [65, 3] Generated Node #0,2,0: 68:[65, 3] Operation: 93/31=3 Moving to Node #0,2,0 Current State: 68:[65, 3], Operations: ['39-8=31', '93/31=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 97, 40, 22, 11 ]
55
[ "97-40=57", "22/11=2", "57-2=55" ]
Current State: 55:[97, 40, 22, 11], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [22, 11, 57] Generated Node #2: [22, 11, 57] from Operation: 97-40=57 Current State: 55:[22, 11, 57], Operations: ['97-40=57'] Exploring Operation: 22/11=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 22/11=2 Current State: 55:[57, 2], Operations: ['97-40=57', '22/11=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[97, 40, 22, 11], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [22, 11, 57] Generated Node #0,0: 55:[22, 11, 57] Operation: 97-40=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[22, 11, 57], Operations: ['97-40=57'] Exploring Operation: 22-11=11, Resulting Numbers: [57, 11] Generated Node #0,0,0: 55:[57, 11] Operation: 22-11=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[57, 11], Operations: ['97-40=57', '22-11=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,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 No solution found.
0
hs_1
sum_heuristic
[ 78, 36, 24, 35 ]
87
[ "78*24=1872", "1872/36=52", "35+52=87" ]
Current State: 87:[78, 36, 24, 35], Operations: [] Exploring Operation: 78*24=1872, Resulting Numbers: [36, 35, 1872] Generated Node #2: [36, 35, 1872] from Operation: 78*24=1872 Current State: 87:[36, 35, 1872], Operations: ['78*24=1872'] Exploring Operation: 1872/36=52, Resulting Numbers: [35, 52] Generated Node #3: [35, 52] from Operation: 1872/36=52 Current State: 87:[35, 52], Operations: ['78*24=1872', '1872/36=52'] Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[78, 36, 24, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [78, 36, 11] Generated Node #0,0: 87:[78, 36, 11] Operation: 35-24=11 Exploring Operation: 78-36=42, Resulting Numbers: [24, 35, 42] Generated Node #0,1: 87:[24, 35, 42] Operation: 78-36=42 Exploring Operation: 78-35=43, Resulting Numbers: [36, 24, 43] Generated Node #0,2: 87:[36, 24, 43] Operation: 78-35=43 Exploring Operation: 36-35=1, Resulting Numbers: [78, 24, 1] Generated Node #0,3: 87:[78, 24, 1] Operation: 36-35=1 Exploring Operation: 36-24=12, Resulting Numbers: [78, 35, 12] Generated Node #0,4: 87:[78, 35, 12] Operation: 36-24=12 Moving to Node #0,3 Current State: 87:[78, 24, 1], Operations: ['36-35=1'] Exploring Operation: 78*1=78, Resulting Numbers: [24, 78] Generated Node #0,3,0: 87:[24, 78] Operation: 78*1=78 Exploring Operation: 78+1=79, Resulting Numbers: [24, 79] Generated Node #0,3,1: 87:[24, 79] Operation: 78+1=79 Exploring Operation: 78/1=78, Resulting Numbers: [24, 78] Generated Node #0,3,2: 87:[24, 78] Operation: 78/1=78 Exploring Operation: 24*1=24, Resulting Numbers: [78, 24] Generated Node #0,3,3: 87:[78, 24] Operation: 24*1=24 Exploring Operation: 24+1=25, Resulting Numbers: [78, 25] Generated Node #0,3,4: 87:[78, 25] Operation: 24+1=25 Moving to Node #0,1 Current State: 87:[24, 35, 42], Operations: ['78-36=42'] Exploring Operation: 35+42=77, Resulting Numbers: [24, 77] Generated Node #0,1,0: 87:[24, 77] Operation: 35+42=77 Exploring Operation: 35-24=11, Resulting Numbers: [42, 11] Generated Node #0,1,1: 87:[42, 11] Operation: 35-24=11 Exploring Operation: 42-35=7, Resulting Numbers: [24, 7] Generated Node #0,1,2: 87:[24, 7] Operation: 42-35=7 Exploring Operation: 42-24=18, Resulting Numbers: [35, 18] Generated Node #0,1,3: 87:[35, 18] Operation: 42-24=18 Exploring Operation: 24+42=66, Resulting Numbers: [35, 66] Generated Node #0,1,4: 87:[35, 66] Operation: 24+42=66 Moving to Node #0,0 Current State: 87:[78, 36, 11], Operations: ['35-24=11'] Exploring Operation: 78+11=89, Resulting Numbers: [36, 89] Generated Node #0,0,0: 87:[36, 89] Operation: 78+11=89 Exploring Operation: 36+11=47, Resulting Numbers: [78, 47] Generated Node #0,0,1: 87:[78, 47] Operation: 36+11=47 Exploring Operation: 36-11=25, Resulting Numbers: [78, 25] Generated Node #0,0,2: 87:[78, 25] Operation: 36-11=25 Exploring Operation: 78-36=42, Resulting Numbers: [11, 42] Generated Node #0,0,3: 87:[11, 42] Operation: 78-36=42 Exploring Operation: 78-11=67, Resulting Numbers: [36, 67] Generated Node #0,0,4: 87:[36, 67] Operation: 78-11=67 Moving to Node #0,4 Current State: 87:[78, 35, 12], Operations: ['36-24=12'] Exploring Operation: 35+12=47, Resulting Numbers: [78, 47] Generated Node #0,4,0: 87:[78, 47] Operation: 35+12=47 Exploring Operation: 35-12=23, Resulting Numbers: [78, 23] Generated Node #0,4,1: 87:[78, 23] Operation: 35-12=23 Exploring Operation: 78-12=66, Resulting Numbers: [35, 66] Generated Node #0,4,2: 87:[35, 66] Operation: 78-12=66 Exploring Operation: 78+12=90, Resulting Numbers: [35, 90] Generated Node #0,4,3: 87:[35, 90] Operation: 78+12=90 Exploring Operation: 78-35=43, Resulting Numbers: [12, 43] Generated Node #0,4,4: 87:[12, 43] Operation: 78-35=43 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 87:[35, 90], Operations: ['36-24=12', '78+12=90'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 35*90=3150, Resulting Numbers: [3150] 3150,87 unequal: No Solution Exploring Operation: 35+90=125, Resulting Numbers: [125] 125,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,4,1 Current State: 87:[78, 23], Operations: ['36-24=12', '35-12=23'] Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,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,4,4 Current State: 87:[12, 43], Operations: ['36-24=12', '78-35=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,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,4,0 Current State: 87:[78, 47], Operations: ['36-24=12', '35+12=47'] Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 78*47=3666, Resulting Numbers: [3666] 3666,87 unequal: No Solution Exploring Operation: 78+47=125, Resulting Numbers: [125] 125,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,4,2 Current State: 87:[35, 66], Operations: ['36-24=12', '78-12=66'] Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 87:[36, 24, 43], Operations: ['78-35=43'] Exploring Operation: 43-36=7, Resulting Numbers: [24, 7] Generated Node #0,2,0: 87:[24, 7] Operation: 43-36=7 Exploring Operation: 36+43=79, Resulting Numbers: [24, 79] Generated Node #0,2,1: 87:[24, 79] Operation: 36+43=79 Exploring Operation: 43-24=19, Resulting Numbers: [36, 19] Generated Node #0,2,2: 87:[36, 19] Operation: 43-24=19 Exploring Operation: 24+43=67, Resulting Numbers: [36, 67] Generated Node #0,2,3: 87:[36, 67] Operation: 24+43=67 Exploring Operation: 36-24=12, Resulting Numbers: [43, 12] Generated Node #0,2,4: 87:[43, 12] Operation: 36-24=12 Moving to Node #0,1,2 Current State: 87:[24, 7], Operations: ['78-36=42', '42-35=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[36, 89], Operations: ['35-24=11', '78+11=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,87 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[24, 7], Operations: ['78-35=43', '43-36=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,87 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[24, 79], Operations: ['36-35=1', '78+1=79'] Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,87 unequal: No Solution Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[78, 25], Operations: ['35-24=11', '36-11=25'] Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,87 unequal: No Solution Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,3,4 Current State: 87:[78, 25], Operations: ['36-35=1', '24+1=25'] Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,87 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[24, 79], Operations: ['78-35=43', '36+43=79'] Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[24, 78], Operations: ['36-35=1', '78*1=78'] Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,87 unequal: No Solution Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,87 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[78, 24], Operations: ['36-35=1', '24*1=24'] Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,87 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[24, 78], Operations: ['36-35=1', '78/1=78'] Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,87 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[24, 77], Operations: ['78-36=42', '35+42=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,87 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[36, 19], Operations: ['78-35=43', '43-24=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,87 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[35, 18], Operations: ['78-36=42', '42-24=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,87 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[11, 42], Operations: ['35-24=11', '78-36=42'] Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,87 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[42, 11], Operations: ['78-36=42', '35-24=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[43, 12], Operations: ['78-35=43', '36-24=12'] Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,87 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[78, 47], Operations: ['35-24=11', '36+11=47'] Exploring Operation: 78+47=125, Resulting Numbers: [125] 125,87 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 78*47=3666, Resulting Numbers: [3666] 3666,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[36, 67], Operations: ['35-24=11', '78-11=67'] Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[36, 67], Operations: ['78-35=43', '24+43=67'] Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,87 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[35, 66], Operations: ['78-36=42', '24+42=66'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,87 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 91, 7, 9, 18 ]
71
[ "91+7=98", "9+18=27", "98-27=71" ]
Current State: 71:[91, 7, 9, 18], Operations: [] Exploring Operation: 91+7=98, Resulting Numbers: [9, 18, 98] Generated Node #2: [9, 18, 98] from Operation: 91+7=98 Current State: 71:[9, 18, 98], Operations: ['91+7=98'] Exploring Operation: 9+18=27, Resulting Numbers: [98, 27] Generated Node #3: [98, 27] from Operation: 9+18=27 Current State: 71:[98, 27], Operations: ['91+7=98', '9+18=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[91, 7, 9, 18], Operations: [] Exploring Operation: 91-7=84, Resulting Numbers: [9, 18, 84] Generated Node #0,0: 71:[9, 18, 84] Operation: 91-7=84 Exploring Operation: 7*9=63, Resulting Numbers: [91, 18, 63] Generated Node #0,1: 71:[91, 18, 63] Operation: 7*9=63 Moving to Node #0,1 Current State: 71:[91, 18, 63], Operations: ['7*9=63'] Exploring Operation: 18+63=81, Resulting Numbers: [91, 81] Generated Node #0,1,0: 71:[91, 81] Operation: 18+63=81 Exploring Operation: 91-18=73, Resulting Numbers: [63, 73] Generated Node #0,1,1: 71:[63, 73] Operation: 91-18=73 Moving to Node #0,0 Current State: 71:[9, 18, 84], Operations: ['91-7=84'] Exploring Operation: 84-9=75, Resulting Numbers: [18, 75] Generated Node #0,0,0: 71:[18, 75] Operation: 84-9=75 Exploring Operation: 9+18=27, Resulting Numbers: [84, 27] Generated Node #0,0,1: 71:[84, 27] Operation: 9+18=27 Moving to Node #0,1,1 Current State: 71:[63, 73], Operations: ['7*9=63', '91-18=73'] Exploring Operation: 73-63=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 63+73=136, Resulting Numbers: [136] 136,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[91, 81], Operations: ['7*9=63', '18+63=81'] Exploring Operation: 91+81=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[84, 27], Operations: ['91-7=84', '9+18=27'] Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[18, 75], Operations: ['91-7=84', '84-9=75'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,71 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 94, 49, 63, 47 ]
56
[ "94/47=2", "49+63=112", "112/2=56" ]
Current State: 56:[94, 49, 63, 47], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [49, 63, 2] Generated Node #2: [49, 63, 2] from Operation: 94/47=2 Current State: 56:[49, 63, 2], Operations: ['94/47=2'] Exploring Operation: 49+63=112, Resulting Numbers: [2, 112] Generated Node #3: [2, 112] from Operation: 49+63=112 Current State: 56:[2, 112], Operations: ['94/47=2', '49+63=112'] Exploring Operation: 112/2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[94, 49, 63, 47], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [49, 47, 31] Generated Node #0,0: 56:[49, 47, 31] Operation: 94-63=31 Exploring Operation: 94/47=2, Resulting Numbers: [49, 63, 2] Generated Node #0,1: 56:[49, 63, 2] Operation: 94/47=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[49, 63, 2], Operations: ['94/47=2'] Exploring Operation: 63-49=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 56:[2, 14] Operation: 63-49=14 Exploring Operation: 49+2=51, Resulting Numbers: [63, 51] Generated Node #0,1,1: 56:[63, 51] Operation: 49+2=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[2, 14], Operations: ['94/47=2', '63-49=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution No 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: 56:[63, 51], Operations: ['94/47=2', '49+2=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,56 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: 56:[49, 47, 31], Operations: ['94-63=31'] Exploring Operation: 49-47=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 56:[31, 2] Operation: 49-47=2 Exploring Operation: 47-31=16, Resulting Numbers: [49, 16] Generated Node #0,0,1: 56:[49, 16] Operation: 47-31=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[31, 2], Operations: ['94-63=31', '49-47=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,56 unequal: No Solution No 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: 56:[49, 16], Operations: ['94-63=31', '47-31=16'] Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,56 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
[ 10, 94, 3, 15 ]
23
[ "94-10=84", "84-15=69", "69/3=23" ]
Current State: 23:[10, 94, 3, 15], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [3, 15, 84] Generated Node #2: [3, 15, 84] from Operation: 94-10=84 Current State: 23:[3, 15, 84], Operations: ['94-10=84'] Exploring Operation: 84-15=69, Resulting Numbers: [3, 69] Generated Node #3: [3, 69] from Operation: 84-15=69 Current State: 23:[3, 69], Operations: ['94-10=84', '84-15=69'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[10, 94, 3, 15], Operations: [] Exploring Operation: 10*3=30, Resulting Numbers: [94, 15, 30] Generated Node #0,0: 23:[94, 15, 30] Operation: 10*3=30 Exploring Operation: 94-10=84, Resulting Numbers: [3, 15, 84] Generated Node #0,1: 23:[3, 15, 84] Operation: 94-10=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[94, 15, 30], Operations: ['10*3=30'] Exploring Operation: 94-30=64, Resulting Numbers: [15, 64] Generated Node #0,0,0: 23:[15, 64] Operation: 94-30=64 Exploring Operation: 94-15=79, Resulting Numbers: [30, 79] Generated Node #0,0,1: 23:[30, 79] Operation: 94-15=79 Moving to Node #0,0,0 Current State: 23:[15, 64], Operations: ['10*3=30', '94-30=64'] Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[30, 79], Operations: ['10*3=30', '94-15=79'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,23 unequal: No Solution No 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: 23:[3, 15, 84], Operations: ['94-10=84'] Exploring Operation: 3+15=18, Resulting Numbers: [84, 18] Generated Node #0,1,0: 23:[84, 18] Operation: 3+15=18 Exploring Operation: 84/3=28, Resulting Numbers: [15, 28] Generated Node #0,1,1: 23:[15, 28] Operation: 84/3=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[15, 28], Operations: ['94-10=84', '84/3=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,23 unequal: No Solution No 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: 23:[84, 18], Operations: ['94-10=84', '3+15=18'] Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,23 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
[ 40, 18, 50, 29 ]
25
[ "40+18=58", "50*29=1450", "1450/58=25" ]
Current State: 25:[40, 18, 50, 29], Operations: [] Exploring Operation: 40+18=58, Resulting Numbers: [50, 29, 58] Generated Node #2: [50, 29, 58] from Operation: 40+18=58 Current State: 25:[50, 29, 58], Operations: ['40+18=58'] Exploring Operation: 50*29=1450, Resulting Numbers: [58, 1450] Generated Node #3: [58, 1450] from Operation: 50*29=1450 Current State: 25:[58, 1450], Operations: ['40+18=58', '50*29=1450'] Exploring Operation: 1450/58=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[40, 18, 50, 29], Operations: [] Exploring Operation: 50-18=32, Resulting Numbers: [40, 29, 32] Generated Node #0,0: 25:[40, 29, 32] Operation: 50-18=32 Exploring Operation: 50-40=10, Resulting Numbers: [18, 29, 10] Generated Node #0,1: 25:[18, 29, 10] Operation: 50-40=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[18, 29, 10], Operations: ['50-40=10'] Exploring Operation: 18-10=8, Resulting Numbers: [29, 8] Generated Node #0,1,0: 25:[29, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [29, 28] Generated Node #0,1,1: 25:[29, 28] Operation: 18+10=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[29, 8], Operations: ['50-40=10', '18-10=8'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,25 unequal: No Solution No 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: 25:[29, 28], Operations: ['50-40=10', '18+10=28'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[40, 29, 32], Operations: ['50-18=32'] Exploring Operation: 40-32=8, Resulting Numbers: [29, 8] Generated Node #0,0,0: 25:[29, 8] Operation: 40-32=8 Exploring Operation: 40-29=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 25:[32, 11] Operation: 40-29=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[29, 8], Operations: ['50-18=32', '40-32=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,25 unequal: No Solution No 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: 25:[32, 11], Operations: ['50-18=32', '40-29=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 21, 74, 90 ]
100
[ "4*21=84", "90-74=16", "84+16=100" ]
Current State: 100:[4, 21, 74, 90], Operations: [] Exploring Operation: 4*21=84, Resulting Numbers: [74, 90, 84] Generated Node #2: [74, 90, 84] from Operation: 4*21=84 Current State: 100:[74, 90, 84], Operations: ['4*21=84'] Exploring Operation: 90-74=16, Resulting Numbers: [84, 16] Generated Node #3: [84, 16] from Operation: 90-74=16 Current State: 100:[84, 16], Operations: ['4*21=84', '90-74=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 21, 74, 90], Operations: [] Exploring Operation: 74-21=53, Resulting Numbers: [4, 90, 53] Generated Node #0,0: 100:[4, 90, 53] Operation: 74-21=53 Exploring Operation: 90-74=16, Resulting Numbers: [4, 21, 16] Generated Node #0,1: 100:[4, 21, 16] Operation: 90-74=16 Moving to Node #0,1 Current State: 100:[4, 21, 16], Operations: ['90-74=16'] Exploring Operation: 4+16=20, Resulting Numbers: [21, 20] Generated Node #0,1,0: 100:[21, 20] Operation: 4+16=20 Exploring Operation: 21-16=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 100:[4, 5] Operation: 21-16=5 Moving to Node #0,0 Current State: 100:[4, 90, 53], Operations: ['74-21=53'] Exploring Operation: 53-4=49, Resulting Numbers: [90, 49] Generated Node #0,0,0: 100:[90, 49] Operation: 53-4=49 Exploring Operation: 4+90=94, Resulting Numbers: [53, 94] Generated Node #0,0,1: 100:[53, 94] Operation: 4+90=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[53, 94], Operations: ['74-21=53', '4+90=94'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,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,0 Current State: 100:[90, 49], Operations: ['74-21=53', '53-4=49'] Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,100 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,100 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: 100:[4, 5], Operations: ['90-74=16', '21-16=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[21, 20], Operations: ['90-74=16', '4+16=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 72, 68, 70, 7 ]
59
[ "72-68=4", "70-7=63", "63-4=59" ]
Current State: 59:[72, 68, 70, 7], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [70, 7, 4] Generated Node #2: [70, 7, 4] from Operation: 72-68=4 Current State: 59:[70, 7, 4], Operations: ['72-68=4'] Exploring Operation: 70-7=63, Resulting Numbers: [4, 63] Generated Node #3: [4, 63] from Operation: 70-7=63 Current State: 59:[4, 63], Operations: ['72-68=4', '70-7=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[72, 68, 70, 7], Operations: [] Exploring Operation: 72-7=65, Resulting Numbers: [68, 70, 65] Generated Node #0,0: 59:[68, 70, 65] Operation: 72-7=65 Exploring Operation: 70-7=63, Resulting Numbers: [72, 68, 63] Generated Node #0,1: 59:[72, 68, 63] Operation: 70-7=63 Exploring Operation: 72+7=79, Resulting Numbers: [68, 70, 79] Generated Node #0,2: 59:[68, 70, 79] Operation: 72+7=79 Exploring Operation: 68-7=61, Resulting Numbers: [72, 70, 61] Generated Node #0,3: 59:[72, 70, 61] Operation: 68-7=61 Moving to Node #0,0 Current State: 59:[68, 70, 65], Operations: ['72-7=65'] Exploring Operation: 68+70=138, Resulting Numbers: [65, 138] Generated Node #0,0,0: 59:[65, 138] Operation: 68+70=138 Exploring Operation: 70-68=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 59:[65, 2] Operation: 70-68=2 Exploring Operation: 68-65=3, Resulting Numbers: [70, 3] Generated Node #0,0,2: 59:[70, 3] Operation: 68-65=3 Exploring Operation: 70-65=5, Resulting Numbers: [68, 5] Generated Node #0,0,3: 59:[68, 5] Operation: 70-65=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[65, 2], Operations: ['72-7=65', '70-68=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[68, 5], Operations: ['72-7=65', '70-65=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,59 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[70, 3], Operations: ['72-7=65', '68-65=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,59 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[65, 138], Operations: ['72-7=65', '68+70=138'] Exploring Operation: 65*138=8970, Resulting Numbers: [8970] 8970,59 unequal: No Solution Exploring Operation: 138-65=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 65+138=203, Resulting Numbers: [203] 203,59 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: 59:[72, 70, 61], Operations: ['68-7=61'] Exploring Operation: 72+70=142, Resulting Numbers: [61, 142] Generated Node #0,3,0: 59:[61, 142] Operation: 72+70=142 Exploring Operation: 72-70=2, Resulting Numbers: [61, 2] Generated Node #0,3,1: 59:[61, 2] Operation: 72-70=2 Exploring Operation: 72-61=11, Resulting Numbers: [70, 11] Generated Node #0,3,2: 59:[70, 11] Operation: 72-61=11 Exploring Operation: 70-61=9, Resulting Numbers: [72, 9] Generated Node #0,3,3: 59:[72, 9] Operation: 70-61=9 Moving to Node #0,1 Current State: 59:[72, 68, 63], Operations: ['70-7=63'] Exploring Operation: 72-63=9, Resulting Numbers: [68, 9] Generated Node #0,1,0: 59:[68, 9] Operation: 72-63=9 Exploring Operation: 68-63=5, Resulting Numbers: [72, 5] Generated Node #0,1,1: 59:[72, 5] Operation: 68-63=5 Exploring Operation: 72+68=140, Resulting Numbers: [63, 140] Generated Node #0,1,2: 59:[63, 140] Operation: 72+68=140 Exploring Operation: 72-68=4, Resulting Numbers: [63, 4] Generated Node #0,1,3: 59:[63, 4] Operation: 72-68=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[68, 9], Operations: ['70-7=63', '72-63=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,59 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[72, 68, 70, 7], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [72, 68, 63] Generated Node #0,1: 59:[72, 68, 63] Operation: 70-7=63 Moving to Node #0,1 Current State: 59:[72, 68, 63], Operations: ['70-7=63'] Exploring Operation: 72-63=9, Resulting Numbers: [68, 9] Generated Node #0,1,0: 59:[68, 9] Operation: 72-63=9 Moving to Node #0,1,0 Current State: 59:[68, 9], Operations: ['70-7=63', '72-63=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 50, 64, 7, 62 ]
93
[ "64-62=2", "50*2=100", "100-7=93" ]
Current State: 93:[50, 64, 7, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [50, 7, 2] Generated Node #2: [50, 7, 2] from Operation: 64-62=2 Current State: 93:[50, 7, 2], Operations: ['64-62=2'] Exploring Operation: 50*2=100, Resulting Numbers: [7, 100] Generated Node #3: [7, 100] from Operation: 50*2=100 Current State: 93:[7, 100], Operations: ['64-62=2', '50*2=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[50, 64, 7, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [50, 7, 2] Generated Node #0,0: 93:[50, 7, 2] Operation: 64-62=2 Exploring Operation: 62-50=12, Resulting Numbers: [64, 7, 12] Generated Node #0,1: 93:[64, 7, 12] Operation: 62-50=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[50, 7, 2], Operations: ['64-62=2'] Exploring Operation: 50*2=100, Resulting Numbers: [7, 100] Generated Node #0,0,0: 93:[7, 100] Operation: 50*2=100 Exploring Operation: 50/2=25, Resulting Numbers: [7, 25] Generated Node #0,0,1: 93:[7, 25] Operation: 50/2=25 Moving to Node #0,0,1 Current State: 93:[7, 25], Operations: ['64-62=2', '50/2=25'] Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[7, 100], Operations: ['64-62=2', '50*2=100'] Exploring Operation: 7+100=107, Resulting Numbers: [107] 107,93 unequal: No Solution Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[50, 64, 7, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [50, 7, 2] Generated Node #0,0: 93:[50, 7, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 93:[50, 7, 2], Operations: ['64-62=2'] Exploring Operation: 50*2=100, Resulting Numbers: [7, 100] Generated Node #0,0,0: 93:[7, 100] Operation: 50*2=100 Moving to Node #0,0,0 Current State: 93:[7, 100], Operations: ['64-62=2', '50*2=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 24, 90, 70, 45 ]
23
[ "70-24=46", "90/45=2", "46/2=23" ]
Current State: 23:[24, 90, 70, 45], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [90, 45, 46] Generated Node #2: [90, 45, 46] from Operation: 70-24=46 Current State: 23:[90, 45, 46], Operations: ['70-24=46'] Exploring Operation: 90/45=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 90/45=2 Current State: 23:[46, 2], Operations: ['70-24=46', '90/45=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[24, 90, 70, 45], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [24, 45, 20] Generated Node #0,0: 23:[24, 45, 20] Operation: 90-70=20 Exploring Operation: 90-45=45, Resulting Numbers: [24, 70, 45] Generated Node #0,1: 23:[24, 70, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [24, 70, 2] Generated Node #0,2: 23:[24, 70, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[24, 45, 20], Operations: ['90-70=20'] Exploring Operation: 24-20=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 23:[45, 4] Operation: 24-20=4 Exploring Operation: 45-24=21, Resulting Numbers: [20, 21] Generated Node #0,0,1: 23:[20, 21] Operation: 45-24=21 Exploring Operation: 45-20=25, Resulting Numbers: [24, 25] Generated Node #0,0,2: 23:[24, 25] Operation: 45-20=25 Moving to Node #0,0,2 Current State: 23:[24, 25], Operations: ['90-70=20', '45-20=25'] Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,23 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[20, 21], Operations: ['90-70=20', '45-24=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,23 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[45, 4], Operations: ['90-70=20', '24-20=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,23 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,23 unequal: No Solution No 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: 23:[24, 70, 2], Operations: ['90/45=2'] Exploring Operation: 70-2=68, Resulting Numbers: [24, 68] Generated Node #0,2,0: 23:[24, 68] Operation: 70-2=68 Exploring Operation: 70-24=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 23:[2, 46] Operation: 70-24=46 Exploring Operation: 70/2=35, Resulting Numbers: [24, 35] Generated Node #0,2,2: 23:[24, 35] Operation: 70/2=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[24, 35], Operations: ['90/45=2', '70/2=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,23 unequal: No Solution No 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: 23:[2, 46], Operations: ['90/45=2', '70-24=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[24, 90, 70, 45], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [24, 70, 2] Generated Node #0,2: 23:[24, 70, 2] Operation: 90/45=2 Moving to Node #0,2 Current State: 23:[24, 70, 2], Operations: ['90/45=2'] Exploring Operation: 70-24=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 23:[2, 46] Operation: 70-24=46 Moving to Node #0,2,1 Current State: 23:[2, 46], Operations: ['90/45=2', '70-24=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 29, 87, 52, 8 ]
97
[ "52-29=23", "8*23=184", "184-87=97" ]
Current State: 97:[29, 87, 52, 8], Operations: [] Exploring Operation: 52-29=23, Resulting Numbers: [87, 8, 23] Generated Node #2: [87, 8, 23] from Operation: 52-29=23 Current State: 97:[87, 8, 23], Operations: ['52-29=23'] Exploring Operation: 8*23=184, Resulting Numbers: [87, 184] Generated Node #3: [87, 184] from Operation: 8*23=184 Current State: 97:[87, 184], Operations: ['52-29=23', '8*23=184'] Exploring Operation: 184-87=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 87, 52, 8], Operations: [] Exploring Operation: 52+8=60, Resulting Numbers: [29, 87, 60] Generated Node #0,0: 97:[29, 87, 60] Operation: 52+8=60 Exploring Operation: 29-8=21, Resulting Numbers: [87, 52, 21] Generated Node #0,1: 97:[87, 52, 21] Operation: 29-8=21 Exploring Operation: 29+8=37, Resulting Numbers: [87, 52, 37] Generated Node #0,2: 97:[87, 52, 37] Operation: 29+8=37 Exploring Operation: 29+52=81, Resulting Numbers: [87, 8, 81] Generated Node #0,3: 97:[87, 8, 81] Operation: 29+52=81 Exploring Operation: 87+8=95, Resulting Numbers: [29, 52, 95] Generated Node #0,4: 97:[29, 52, 95] Operation: 87+8=95 Moving to Node #0,0 Current State: 97:[29, 87, 60], Operations: ['52+8=60'] Exploring Operation: 60-29=31, Resulting Numbers: [87, 31] Generated Node #0,0,0: 97:[87, 31] Operation: 60-29=31 Exploring Operation: 29+60=89, Resulting Numbers: [87, 89] Generated Node #0,0,1: 97:[87, 89] Operation: 29+60=89 Exploring Operation: 29+87=116, Resulting Numbers: [60, 116] Generated Node #0,0,2: 97:[60, 116] Operation: 29+87=116 Exploring Operation: 87-29=58, Resulting Numbers: [60, 58] Generated Node #0,0,3: 97:[60, 58] Operation: 87-29=58 Exploring Operation: 87+60=147, Resulting Numbers: [29, 147] Generated Node #0,0,4: 97:[29, 147] Operation: 87+60=147 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[87, 89], Operations: ['52+8=60', '29+60=89'] Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[60, 116], Operations: ['52+8=60', '29+87=116'] Exploring Operation: 60*116=6960, Resulting Numbers: [6960] 6960,97 unequal: No Solution Exploring Operation: 60+116=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 116-60=56, Resulting Numbers: [56] 56,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[87, 31], Operations: ['52+8=60', '60-29=31'] Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,97 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[60, 58], Operations: ['52+8=60', '87-29=58'] Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[29, 147], Operations: ['52+8=60', '87+60=147'] Exploring Operation: 29*147=4263, Resulting Numbers: [4263] 4263,97 unequal: No Solution Exploring Operation: 147-29=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 29+147=176, Resulting Numbers: [176] 176,97 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: 97:[87, 8, 81], Operations: ['29+52=81'] Exploring Operation: 87+81=168, Resulting Numbers: [8, 168] Generated Node #0,3,0: 97:[8, 168] Operation: 87+81=168 Exploring Operation: 87-8=79, Resulting Numbers: [81, 79] Generated Node #0,3,1: 97:[81, 79] Operation: 87-8=79 Exploring Operation: 81-8=73, Resulting Numbers: [87, 73] Generated Node #0,3,2: 97:[87, 73] Operation: 81-8=73 Exploring Operation: 8+81=89, Resulting Numbers: [87, 89] Generated Node #0,3,3: 97:[87, 89] Operation: 8+81=89 Exploring Operation: 87+8=95, Resulting Numbers: [81, 95] Generated Node #0,3,4: 97:[81, 95] Operation: 87+8=95 Moving to Node #0,2 Current State: 97:[87, 52, 37], Operations: ['29+8=37'] Exploring Operation: 87-37=50, Resulting Numbers: [52, 50] Generated Node #0,2,0: 97:[52, 50] Operation: 87-37=50 Exploring Operation: 52-37=15, Resulting Numbers: [87, 15] Generated Node #0,2,1: 97:[87, 15] Operation: 52-37=15 Exploring Operation: 87+37=124, Resulting Numbers: [52, 124] Generated Node #0,2,2: 97:[52, 124] Operation: 87+37=124 Exploring Operation: 87+52=139, Resulting Numbers: [37, 139] Generated Node #0,2,3: 97:[37, 139] Operation: 87+52=139 Exploring Operation: 52+37=89, Resulting Numbers: [87, 89] Generated Node #0,2,4: 97:[87, 89] Operation: 52+37=89 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[87, 89], Operations: ['29+8=37', '52+37=89'] Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,97 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[52, 124], Operations: ['29+8=37', '87+37=124'] Exploring Operation: 52*124=6448, Resulting Numbers: [6448] 6448,97 unequal: No Solution Exploring Operation: 124-52=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 52+124=176, Resulting Numbers: [176] 176,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[52, 50], Operations: ['29+8=37', '87-37=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,97 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[87, 15], Operations: ['29+8=37', '52-37=15'] Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,97 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[37, 139], Operations: ['29+8=37', '87+52=139'] Exploring Operation: 37+139=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 139-37=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 37*139=5143, Resulting Numbers: [5143] 5143,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 97:[29, 52, 95], Operations: ['87+8=95'] Exploring Operation: 29+52=81, Resulting Numbers: [95, 81] Generated Node #0,4,0: 97:[95, 81] Operation: 29+52=81 Exploring Operation: 29+95=124, Resulting Numbers: [52, 124] Generated Node #0,4,1: 97:[52, 124] Operation: 29+95=124 Exploring Operation: 52-29=23, Resulting Numbers: [95, 23] Generated Node #0,4,2: 97:[95, 23] Operation: 52-29=23 Exploring Operation: 52+95=147, Resulting Numbers: [29, 147] Generated Node #0,4,3: 97:[29, 147] Operation: 52+95=147 Exploring Operation: 95-29=66, Resulting Numbers: [52, 66] Generated Node #0,4,4: 97:[52, 66] Operation: 95-29=66 Moving to Node #0,1 Current State: 97:[87, 52, 21], Operations: ['29-8=21'] Exploring Operation: 87+21=108, Resulting Numbers: [52, 108] Generated Node #0,1,0: 97:[52, 108] Operation: 87+21=108 Exploring Operation: 87+52=139, Resulting Numbers: [21, 139] Generated Node #0,1,1: 97:[21, 139] Operation: 87+52=139 Exploring Operation: 52+21=73, Resulting Numbers: [87, 73] Generated Node #0,1,2: 97:[87, 73] Operation: 52+21=73 Exploring Operation: 87-21=66, Resulting Numbers: [52, 66] Generated Node #0,1,3: 97:[52, 66] Operation: 87-21=66 Exploring Operation: 52-21=31, Resulting Numbers: [87, 31] Generated Node #0,1,4: 97:[87, 31] Operation: 52-21=31 Moving to Node #0,3,3 Current State: 97:[87, 89], Operations: ['29+52=81', '8+81=89'] Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,97 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[95, 81], Operations: ['87+8=95', '29+52=81'] Exploring Operation: 95*81=7695, Resulting Numbers: [7695] 7695,97 unequal: No Solution Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 95+81=176, Resulting Numbers: [176] 176,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[81, 95], Operations: ['29+52=81', '87+8=95'] Exploring Operation: 81+95=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 81*95=7695, Resulting Numbers: [7695] 7695,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[81, 79], Operations: ['29+52=81', '87-8=79'] Exploring Operation: 81+79=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 81*79=6399, Resulting Numbers: [6399] 6399,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[87, 73], Operations: ['29-8=21', '52+21=73'] Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[87, 73], Operations: ['29+52=81', '81-8=73'] Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,97 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[52, 108], Operations: ['29-8=21', '87+21=108'] Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 52*108=5616, Resulting Numbers: [5616] 5616,97 unequal: No Solution Exploring Operation: 52+108=160, Resulting Numbers: [160] 160,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[52, 124], Operations: ['87+8=95', '29+95=124'] Exploring Operation: 52+124=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 124-52=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 52*124=6448, Resulting Numbers: [6448] 6448,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[52, 66], Operations: ['29-8=21', '87-21=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,97 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[95, 23], Operations: ['87+8=95', '52-29=23'] Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,97 unequal: No Solution Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[87, 31], Operations: ['29-8=21', '52-21=31'] Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[52, 66], Operations: ['87+8=95', '95-29=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[21, 139], Operations: ['29-8=21', '87+52=139'] Exploring Operation: 21+139=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 21*139=2919, Resulting Numbers: [2919] 2919,97 unequal: No Solution Exploring Operation: 139-21=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[29, 147], Operations: ['87+8=95', '52+95=147'] Exploring Operation: 29*147=4263, Resulting Numbers: [4263] 4263,97 unequal: No Solution Exploring Operation: 147-29=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 29+147=176, Resulting Numbers: [176] 176,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[8, 168], Operations: ['29+52=81', '87+81=168'] Exploring Operation: 8+168=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 168-8=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 8*168=1344, Resulting Numbers: [1344] 1344,97 unequal: No Solution Exploring Operation: 168/8=21, Resulting Numbers: [21] 21,97 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 95, 30, 24, 30 ]
11
[ "95-30=65", "24+30=54", "65-54=11" ]
Current State: 11:[95, 30, 24, 30], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [24, 65] Generated Node #2: [24, 65] from Operation: 95-30=65 Current State: 11:[24, 65], Operations: ['95-30=65'] Exploring Operation: 24+30=54, Resulting Numbers: [65, 54] Generated Node #3: [65, 54] from Operation: 24+30=54 Current State: 11:[65, 54], Operations: ['95-30=65', '24+30=54'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[95, 30, 24, 30], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [30, 24, 65] Generated Node #0,0: 11:[30, 24, 65] Operation: 95-30=65 Exploring Operation: 95-30=65, Resulting Numbers: [24, 30, 65] Generated Node #0,1: 11:[24, 30, 65] Operation: 95-30=65 Moving to Node #0,0 Current State: 11:[30, 24, 65], Operations: ['95-30=65'] Exploring Operation: 65-24=41, Resulting Numbers: [30, 41] Generated Node #0,0,0: 11:[30, 41] Operation: 65-24=41 Exploring Operation: 65-30=35, Resulting Numbers: [24, 35] Generated Node #0,0,1: 11:[24, 35] Operation: 65-30=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[24, 35], Operations: ['95-30=65', '65-30=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[95, 30, 24, 30], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [30, 24, 65] Generated Node #0,0: 11:[30, 24, 65] Operation: 95-30=65 Moving to Node #0,0 Current State: 11:[30, 24, 65], Operations: ['95-30=65'] Exploring Operation: 65-30=35, Resulting Numbers: [24, 35] Generated Node #0,0,1: 11:[24, 35] Operation: 65-30=35 Moving to Node #0,0,1 Current State: 11:[24, 35], Operations: ['95-30=65', '65-30=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 36, 76, 79, 24 ]
12
[ "79-76=3", "36/3=12", "24-12=12" ]
Current State: 12:[36, 76, 79, 24], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [36, 24, 3] Generated Node #2: [36, 24, 3] from Operation: 79-76=3 Current State: 12:[36, 24, 3], Operations: ['79-76=3'] Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #3: [24, 12] from Operation: 36/3=12 Current State: 12:[24, 12], Operations: ['79-76=3', '36/3=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 76, 79, 24], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [76, 24, 43] Generated Node #0,0: 12:[76, 24, 43] Operation: 79-36=43 Exploring Operation: 79-76=3, Resulting Numbers: [36, 24, 3] Generated Node #0,1: 12:[36, 24, 3] Operation: 79-76=3 Exploring Operation: 76-36=40, Resulting Numbers: [79, 24, 40] Generated Node #0,2: 12:[79, 24, 40] Operation: 76-36=40 Exploring Operation: 36-24=12, Resulting Numbers: [76, 79, 12] Generated Node #0,3: 12:[76, 79, 12] Operation: 36-24=12 Moving to Node #0,1 Current State: 12:[36, 24, 3], Operations: ['79-76=3'] Exploring Operation: 36-3=33, Resulting Numbers: [24, 33] Generated Node #0,1,0: 12:[24, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #0,1,1: 12:[24, 12] Operation: 36/3=12 Exploring Operation: 24/3=8, Resulting Numbers: [36, 8] Generated Node #0,1,2: 12:[36, 8] Operation: 24/3=8 Exploring Operation: 36-24=12, Resulting Numbers: [3, 12] Generated Node #0,1,3: 12:[3, 12] Operation: 36-24=12 Moving to Node #0,2 Current State: 12:[79, 24, 40], Operations: ['76-36=40'] Exploring Operation: 79-24=55, Resulting Numbers: [40, 55] Generated Node #0,2,0: 12:[40, 55] Operation: 79-24=55 Exploring Operation: 40-24=16, Resulting Numbers: [79, 16] Generated Node #0,2,1: 12:[79, 16] Operation: 40-24=16 Exploring Operation: 79+24=103, Resulting Numbers: [40, 103] Generated Node #0,2,2: 12:[40, 103] Operation: 79+24=103 Exploring Operation: 79-40=39, Resulting Numbers: [24, 39] Generated Node #0,2,3: 12:[24, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[24, 39], Operations: ['76-36=40', '79-40=39'] Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[40, 55], Operations: ['76-36=40', '79-24=55'] Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,12 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[79, 16], Operations: ['76-36=40', '40-24=16'] Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 79*16=1264, Resulting Numbers: [1264] 1264,12 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[40, 103], Operations: ['76-36=40', '79+24=103'] Exploring Operation: 40*103=4120, Resulting Numbers: [4120] 4120,12 unequal: No Solution Exploring Operation: 40+103=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,12 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: 12:[76, 24, 43], Operations: ['79-36=43'] Exploring Operation: 76+24=100, Resulting Numbers: [43, 100] Generated Node #0,0,0: 12:[43, 100] Operation: 76+24=100 Exploring Operation: 76-24=52, Resulting Numbers: [43, 52] Generated Node #0,0,1: 12:[43, 52] Operation: 76-24=52 Exploring Operation: 43-24=19, Resulting Numbers: [76, 19] Generated Node #0,0,2: 12:[76, 19] Operation: 43-24=19 Exploring Operation: 76-43=33, Resulting Numbers: [24, 33] Generated Node #0,0,3: 12:[24, 33] Operation: 76-43=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[24, 33], Operations: ['79-36=43', '76-43=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,12 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[43, 52], Operations: ['79-36=43', '76-24=52'] Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,12 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[76, 19], Operations: ['79-36=43', '43-24=19'] Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,12 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[43, 100], Operations: ['79-36=43', '76+24=100'] Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,12 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: 12:[76, 79, 12], Operations: ['36-24=12'] Exploring Operation: 76+79=155, Resulting Numbers: [12, 155] Generated Node #0,3,0: 12:[12, 155] Operation: 76+79=155 Exploring Operation: 79-76=3, Resulting Numbers: [12, 3] Generated Node #0,3,1: 12:[12, 3] Operation: 79-76=3 Exploring Operation: 79-12=67, Resulting Numbers: [76, 67] Generated Node #0,3,2: 12:[76, 67] Operation: 79-12=67 Exploring Operation: 76-12=64, Resulting Numbers: [79, 64] Generated Node #0,3,3: 12:[79, 64] Operation: 76-12=64 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[12, 3], Operations: ['36-24=12', '79-76=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[76, 67], Operations: ['36-24=12', '79-12=67'] Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 76*67=5092, Resulting Numbers: [5092] 5092,12 unequal: No Solution Exploring Operation: 76+67=143, Resulting Numbers: [143] 143,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[79, 64], Operations: ['36-24=12', '76-12=64'] Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[12, 155], Operations: ['36-24=12', '76+79=155'] Exploring Operation: 155-12=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 12*155=1860, Resulting Numbers: [1860] 1860,12 unequal: No Solution Exploring Operation: 12+155=167, Resulting Numbers: [167] 167,12 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: 12:[3, 12], Operations: ['79-76=3', '36-24=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[24, 12], Operations: ['79-76=3', '36/3=12'] Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,12 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[36, 76, 79, 24], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [36, 24, 3] Generated Node #0,1: 12:[36, 24, 3] Operation: 79-76=3 Moving to Node #0,1 Current State: 12:[36, 24, 3], Operations: ['79-76=3'] Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #0,1,1: 12:[24, 12] Operation: 36/3=12 Moving to Node #0,1,1 Current State: 12:[24, 12], Operations: ['79-76=3', '36/3=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 38, 75, 77, 50 ]
69
[ "77-75=2", "38/2=19", "50+19=69" ]
Current State: 69:[38, 75, 77, 50], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [38, 50, 2] Generated Node #2: [38, 50, 2] from Operation: 77-75=2 Current State: 69:[38, 50, 2], Operations: ['77-75=2'] Exploring Operation: 38/2=19, Resulting Numbers: [50, 19] Generated Node #3: [50, 19] from Operation: 38/2=19 Current State: 69:[50, 19], Operations: ['77-75=2', '38/2=19'] Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[38, 75, 77, 50], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [75, 77, 12] Generated Node #0,0: 69:[75, 77, 12] Operation: 50-38=12 Moving to Node #0,0 Current State: 69:[75, 77, 12], Operations: ['50-38=12'] Exploring Operation: 77-75=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 69:[12, 2] Operation: 77-75=2 Moving to Node #0,0,0 Current State: 69:[12, 2], Operations: ['50-38=12', '77-75=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 60, 72, 89, 95 ]
62
[ "95-89=6", "60/6=10", "72-10=62" ]
Current State: 62:[60, 72, 89, 95], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [60, 72, 6] Generated Node #2: [60, 72, 6] from Operation: 95-89=6 Current State: 62:[60, 72, 6], Operations: ['95-89=6'] Exploring Operation: 60/6=10, Resulting Numbers: [72, 10] Generated Node #3: [72, 10] from Operation: 60/6=10 Current State: 62:[72, 10], Operations: ['95-89=6', '60/6=10'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[60, 72, 89, 95], Operations: [] Exploring Operation: 95-60=35, Resulting Numbers: [72, 89, 35] Generated Node #0,0: 62:[72, 89, 35] Operation: 95-60=35 Exploring Operation: 95-72=23, Resulting Numbers: [60, 89, 23] Generated Node #0,1: 62:[60, 89, 23] Operation: 95-72=23 Exploring Operation: 89-72=17, Resulting Numbers: [60, 95, 17] Generated Node #0,2: 62:[60, 95, 17] Operation: 89-72=17 Exploring Operation: 95-89=6, Resulting Numbers: [60, 72, 6] Generated Node #0,3: 62:[60, 72, 6] Operation: 95-89=6 Exploring Operation: 89-60=29, Resulting Numbers: [72, 95, 29] Generated Node #0,4: 62:[72, 95, 29] Operation: 89-60=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[60, 72, 6], Operations: ['95-89=6'] Exploring Operation: 60-6=54, Resulting Numbers: [72, 54] Generated Node #0,3,0: 62:[72, 54] Operation: 60-6=54 Exploring Operation: 72-60=12, Resulting Numbers: [6, 12] Generated Node #0,3,1: 62:[6, 12] Operation: 72-60=12 Exploring Operation: 72-6=66, Resulting Numbers: [60, 66] Generated Node #0,3,2: 62:[60, 66] Operation: 72-6=66 Exploring Operation: 60+6=66, Resulting Numbers: [72, 66] Generated Node #0,3,3: 62:[72, 66] Operation: 60+6=66 Exploring Operation: 72/6=12, Resulting Numbers: [60, 12] Generated Node #0,3,4: 62:[60, 12] Operation: 72/6=12 Moving to Node #0,3,2 Current State: 62:[60, 66], Operations: ['95-89=6', '72-6=66'] Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,62 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[60, 12], Operations: ['95-89=6', '72/6=12'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,62 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[6, 12], Operations: ['95-89=6', '72-60=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[72, 66], Operations: ['95-89=6', '60+6=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,62 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[72, 54], Operations: ['95-89=6', '60-6=54'] Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,62 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[60, 89, 23], Operations: ['95-72=23'] Exploring Operation: 60-23=37, Resulting Numbers: [89, 37] Generated Node #0,1,0: 62:[89, 37] Operation: 60-23=37 Exploring Operation: 89-23=66, Resulting Numbers: [60, 66] Generated Node #0,1,1: 62:[60, 66] Operation: 89-23=66 Exploring Operation: 89-60=29, Resulting Numbers: [23, 29] Generated Node #0,1,2: 62:[23, 29] Operation: 89-60=29 Exploring Operation: 60+23=83, Resulting Numbers: [89, 83] Generated Node #0,1,3: 62:[89, 83] Operation: 60+23=83 Exploring Operation: 89+23=112, Resulting Numbers: [60, 112] Generated Node #0,1,4: 62:[60, 112] Operation: 89+23=112 Moving to Node #0,1,1 Current State: 62:[60, 66], Operations: ['95-72=23', '89-23=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,62 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[23, 29], Operations: ['95-72=23', '89-60=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,62 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[89, 37], Operations: ['95-72=23', '60-23=37'] Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[89, 83], Operations: ['95-72=23', '60+23=83'] Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,62 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[60, 112], Operations: ['95-72=23', '89+23=112'] Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,62 unequal: No Solution Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[72, 89, 35], Operations: ['95-60=35'] Exploring Operation: 89+35=124, Resulting Numbers: [72, 124] Generated Node #0,0,0: 62:[72, 124] Operation: 89+35=124 Exploring Operation: 89-35=54, Resulting Numbers: [72, 54] Generated Node #0,0,1: 62:[72, 54] Operation: 89-35=54 Exploring Operation: 89-72=17, Resulting Numbers: [35, 17] Generated Node #0,0,2: 62:[35, 17] Operation: 89-72=17 Exploring Operation: 72+35=107, Resulting Numbers: [89, 107] Generated Node #0,0,3: 62:[89, 107] Operation: 72+35=107 Exploring Operation: 72-35=37, Resulting Numbers: [89, 37] Generated Node #0,0,4: 62:[89, 37] Operation: 72-35=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[72, 54], Operations: ['95-60=35', '89-35=54'] Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,62 unequal: No Solution Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[35, 17], Operations: ['95-60=35', '89-72=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,62 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[89, 37], Operations: ['95-60=35', '72-35=37'] Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[72, 124], Operations: ['95-60=35', '89+35=124'] Exploring Operation: 124-72=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 72*124=8928, Resulting Numbers: [8928] 8928,62 unequal: No Solution Exploring Operation: 72+124=196, Resulting Numbers: [196] 196,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[89, 107], Operations: ['95-60=35', '72+35=107'] Exploring Operation: 107-89=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 89*107=9523, Resulting Numbers: [9523] 9523,62 unequal: No Solution Exploring Operation: 89+107=196, Resulting Numbers: [196] 196,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[72, 95, 29], Operations: ['89-60=29'] Exploring Operation: 72-29=43, Resulting Numbers: [95, 43] Generated Node #0,4,0: 62:[95, 43] Operation: 72-29=43 Exploring Operation: 95+29=124, Resulting Numbers: [72, 124] Generated Node #0,4,1: 62:[72, 124] Operation: 95+29=124 Exploring Operation: 95-72=23, Resulting Numbers: [29, 23] Generated Node #0,4,2: 62:[29, 23] Operation: 95-72=23 Exploring Operation: 95-29=66, Resulting Numbers: [72, 66] Generated Node #0,4,3: 62:[72, 66] Operation: 95-29=66 Exploring Operation: 72+29=101, Resulting Numbers: [95, 101] Generated Node #0,4,4: 62:[95, 101] Operation: 72+29=101 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 62:[29, 23], Operations: ['89-60=29', '95-72=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,62 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[72, 66], Operations: ['89-60=29', '95-29=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,62 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 62:[95, 43], Operations: ['89-60=29', '72-29=43'] Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[72, 124], Operations: ['89-60=29', '95+29=124'] Exploring Operation: 124-72=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 72+124=196, Resulting Numbers: [196] 196,62 unequal: No Solution Exploring Operation: 72*124=8928, Resulting Numbers: [8928] 8928,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[95, 101], Operations: ['89-60=29', '72+29=101'] Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,62 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[60, 95, 17], Operations: ['89-72=17'] Exploring Operation: 95-60=35, Resulting Numbers: [17, 35] Generated Node #0,2,0: 62:[17, 35] Operation: 95-60=35 Exploring Operation: 95+17=112, Resulting Numbers: [60, 112] Generated Node #0,2,1: 62:[60, 112] Operation: 95+17=112 Exploring Operation: 60-17=43, Resulting Numbers: [95, 43] Generated Node #0,2,2: 62:[95, 43] Operation: 60-17=43 Exploring Operation: 60+17=77, Resulting Numbers: [95, 77] Generated Node #0,2,3: 62:[95, 77] Operation: 60+17=77 Exploring Operation: 95-17=78, Resulting Numbers: [60, 78] Generated Node #0,2,4: 62:[60, 78] Operation: 95-17=78 Moving to Node #0,2,0 Current State: 62:[17, 35], Operations: ['89-72=17', '95-60=35'] Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,62 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[60, 78], Operations: ['89-72=17', '95-17=78'] Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,62 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[95, 43], Operations: ['89-72=17', '60-17=43'] Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,62 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[95, 77], Operations: ['89-72=17', '60+17=77'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 95*77=7315, Resulting Numbers: [7315] 7315,62 unequal: No Solution Exploring Operation: 95+77=172, Resulting Numbers: [172] 172,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[60, 112], Operations: ['89-72=17', '95+17=112'] Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,62 unequal: No Solution Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 3, 26, 5, 72 ]
23
[ "5-3=2", "72-26=46", "46/2=23" ]
Current State: 23:[3, 26, 5, 72], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [26, 72, 2] Generated Node #2: [26, 72, 2] from Operation: 5-3=2 Current State: 23:[26, 72, 2], Operations: ['5-3=2'] Exploring Operation: 72-26=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 72-26=46 Current State: 23:[2, 46], Operations: ['5-3=2', '72-26=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 26, 5, 72], Operations: [] Exploring Operation: 3+5=8, Resulting Numbers: [26, 72, 8] Generated Node #0,0: 23:[26, 72, 8] Operation: 3+5=8 Exploring Operation: 72/3=24, Resulting Numbers: [26, 5, 24] Generated Node #0,1: 23:[26, 5, 24] Operation: 72/3=24 Exploring Operation: 26-3=23, Resulting Numbers: [5, 72, 23] Generated Node #0,2: 23:[5, 72, 23] Operation: 26-3=23 Exploring Operation: 3*5=15, Resulting Numbers: [26, 72, 15] Generated Node #0,3: 23:[26, 72, 15] Operation: 3*5=15 Exploring Operation: 72-26=46, Resulting Numbers: [3, 5, 46] Generated Node #0,4: 23:[3, 5, 46] Operation: 72-26=46 Moving to Node #0,1 Current State: 23:[26, 5, 24], Operations: ['72/3=24'] Exploring Operation: 24-5=19, Resulting Numbers: [26, 19] Generated Node #0,1,0: 23:[26, 19] Operation: 24-5=19 Exploring Operation: 26-5=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 23:[24, 21] Operation: 26-5=21 Exploring Operation: 5+24=29, Resulting Numbers: [26, 29] Generated Node #0,1,2: 23:[26, 29] Operation: 5+24=29 Exploring Operation: 26+5=31, Resulting Numbers: [24, 31] Generated Node #0,1,3: 23:[24, 31] Operation: 26+5=31 Exploring Operation: 26-24=2, Resulting Numbers: [5, 2] Generated Node #0,1,4: 23:[5, 2] Operation: 26-24=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[24, 21], Operations: ['72/3=24', '26-5=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,23 unequal: No Solution No 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: 23:[26, 19], Operations: ['72/3=24', '24-5=19'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,23 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,23 unequal: No Solution No 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: 23:[26, 29], Operations: ['72/3=24', '5+24=29'] Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,23 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,23 unequal: No Solution No 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: 23:[24, 31], Operations: ['72/3=24', '26+5=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,23 unequal: No Solution No 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: 23:[5, 2], Operations: ['72/3=24', '26-24=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,23 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: 23:[26, 72, 15], Operations: ['3*5=15'] Exploring Operation: 72-26=46, Resulting Numbers: [15, 46] Generated Node #0,3,0: 23:[15, 46] Operation: 72-26=46 Exploring Operation: 72-15=57, Resulting Numbers: [26, 57] Generated Node #0,3,1: 23:[26, 57] Operation: 72-15=57 Exploring Operation: 26-15=11, Resulting Numbers: [72, 11] Generated Node #0,3,2: 23:[72, 11] Operation: 26-15=11 Exploring Operation: 26+15=41, Resulting Numbers: [72, 41] Generated Node #0,3,3: 23:[72, 41] Operation: 26+15=41 Exploring Operation: 72+15=87, Resulting Numbers: [26, 87] Generated Node #0,3,4: 23:[26, 87] Operation: 72+15=87 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[15, 46], Operations: ['3*5=15', '72-26=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,23 unequal: No Solution No 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: 23:[26, 57], Operations: ['3*5=15', '72-15=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,23 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,23 unequal: No Solution No 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: 23:[72, 11], Operations: ['3*5=15', '26-15=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,23 unequal: No Solution No 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: 23:[72, 41], Operations: ['3*5=15', '26+15=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,23 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,23 unequal: No Solution No 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: 23:[26, 87], Operations: ['3*5=15', '72+15=87'] Exploring Operation: 26*87=2262, Resulting Numbers: [2262] 2262,23 unequal: No Solution Exploring Operation: 26+87=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 23:[3, 5, 46], Operations: ['72-26=46'] Exploring Operation: 3*5=15, Resulting Numbers: [46, 15] Generated Node #0,4,0: 23:[46, 15] Operation: 3*5=15 Exploring Operation: 5-3=2, Resulting Numbers: [46, 2] Generated Node #0,4,1: 23:[46, 2] Operation: 5-3=2 Exploring Operation: 46-3=43, Resulting Numbers: [5, 43] Generated Node #0,4,2: 23:[5, 43] Operation: 46-3=43 Exploring Operation: 3+5=8, Resulting Numbers: [46, 8] Generated Node #0,4,3: 23:[46, 8] Operation: 3+5=8 Exploring Operation: 46-5=41, Resulting Numbers: [3, 41] Generated Node #0,4,4: 23:[3, 41] Operation: 46-5=41 Moving to Node #0,0 Current State: 23:[26, 72, 8], Operations: ['3+5=8'] Exploring Operation: 72/8=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 23:[26, 9] Operation: 72/8=9 Exploring Operation: 26-8=18, Resulting Numbers: [72, 18] Generated Node #0,0,1: 23:[72, 18] Operation: 26-8=18 Exploring Operation: 26+8=34, Resulting Numbers: [72, 34] Generated Node #0,0,2: 23:[72, 34] Operation: 26+8=34 Exploring Operation: 72-8=64, Resulting Numbers: [26, 64] Generated Node #0,0,3: 23:[26, 64] Operation: 72-8=64 Exploring Operation: 72-26=46, Resulting Numbers: [8, 46] Generated Node #0,0,4: 23:[8, 46] Operation: 72-26=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[26, 9], Operations: ['3+5=8', '72/8=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,23 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[8, 46], Operations: ['3+5=8', '72-26=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,23 unequal: No Solution No 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: 23:[26, 64], Operations: ['3+5=8', '72-8=64'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,23 unequal: No Solution No 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: 23:[72, 18], Operations: ['3+5=8', '26-8=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,23 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,23 unequal: No Solution No 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: 23:[72, 34], Operations: ['3+5=8', '26+8=34'] Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,23 unequal: No Solution Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,23 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,23 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: 23:[5, 72, 23], Operations: ['26-3=23'] Exploring Operation: 5+72=77, Resulting Numbers: [23, 77] Generated Node #0,2,0: 23:[23, 77] Operation: 5+72=77 Exploring Operation: 5+23=28, Resulting Numbers: [72, 28] Generated Node #0,2,1: 23:[72, 28] Operation: 5+23=28 Exploring Operation: 72-23=49, Resulting Numbers: [5, 49] Generated Node #0,2,2: 23:[5, 49] Operation: 72-23=49 Exploring Operation: 72-5=67, Resulting Numbers: [23, 67] Generated Node #0,2,3: 23:[23, 67] Operation: 72-5=67 Exploring Operation: 23-5=18, Resulting Numbers: [72, 18] Generated Node #0,2,4: 23:[72, 18] Operation: 23-5=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[5, 49], Operations: ['26-3=23', '72-23=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,23 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,23 unequal: No Solution No 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: 23:[23, 67], Operations: ['26-3=23', '72-5=67'] Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,23 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,23 unequal: No Solution No 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: 23:[23, 77], Operations: ['26-3=23', '5+72=77'] Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,23 unequal: No Solution Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,23 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,23 unequal: No Solution No 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: 23:[72, 28], Operations: ['26-3=23', '5+23=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,23 unequal: No Solution Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,23 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,23 unequal: No Solution No 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: 23:[72, 18], Operations: ['26-3=23', '23-5=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 23:[46, 15], Operations: ['72-26=46', '3*5=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[46, 8], Operations: ['72-26=46', '3+5=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,23 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[5, 43], Operations: ['72-26=46', '46-3=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[3, 41], Operations: ['72-26=46', '46-5=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[46, 2], Operations: ['72-26=46', '5-3=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[3, 26, 5, 72], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [3, 5, 46] Generated Node #0,4: 23:[3, 5, 46] Operation: 72-26=46 Moving to Node #0,4 Current State: 23:[3, 5, 46], Operations: ['72-26=46'] Exploring Operation: 5-3=2, Resulting Numbers: [46, 2] Generated Node #0,4,1: 23:[46, 2] Operation: 5-3=2 Moving to Node #0,4,1 Current State: 23:[46, 2], Operations: ['72-26=46', '5-3=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.903646
hs_5
mult_heuristic
[ 63, 69, 21, 68 ]
53
[ "69-63=6", "68-21=47", "6+47=53" ]
Current State: 53:[63, 69, 21, 68], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [21, 68, 6] Generated Node #2: [21, 68, 6] from Operation: 69-63=6 Current State: 53:[21, 68, 6], Operations: ['69-63=6'] Exploring Operation: 68-21=47, Resulting Numbers: [6, 47] Generated Node #3: [6, 47] from Operation: 68-21=47 Current State: 53:[6, 47], Operations: ['69-63=6', '68-21=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[63, 69, 21, 68], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [69, 68, 42] Generated Node #0,0: 53:[69, 68, 42] Operation: 63-21=42 Exploring Operation: 68-21=47, Resulting Numbers: [63, 69, 47] Generated Node #0,1: 53:[63, 69, 47] Operation: 68-21=47 Exploring Operation: 69-21=48, Resulting Numbers: [63, 68, 48] Generated Node #0,2: 53:[63, 68, 48] Operation: 69-21=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[63, 68, 48], Operations: ['69-21=48'] Exploring Operation: 68-48=20, Resulting Numbers: [63, 20] Generated Node #0,2,0: 53:[63, 20] Operation: 68-48=20 Exploring Operation: 63-48=15, Resulting Numbers: [68, 15] Generated Node #0,2,1: 53:[68, 15] Operation: 63-48=15 Exploring Operation: 68-63=5, Resulting Numbers: [48, 5] Generated Node #0,2,2: 53:[48, 5] Operation: 68-63=5 Moving to Node #0,2,0 Current State: 53:[63, 20], Operations: ['69-21=48', '68-48=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[68, 15], Operations: ['69-21=48', '63-48=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[63, 69, 21, 68], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [63, 68, 48] Generated Node #0,2: 53:[63, 68, 48] Operation: 69-21=48 Moving to Node #0,2 Current State: 53:[63, 68, 48], Operations: ['69-21=48'] Exploring Operation: 63-48=15, Resulting Numbers: [68, 15] Generated Node #0,2,1: 53:[68, 15] Operation: 63-48=15 Moving to Node #0,2,1 Current State: 53:[68, 15], Operations: ['69-21=48', '63-48=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 52, 85, 51, 42 ]
44
[ "52+85=137", "51+42=93", "137-93=44" ]
Current State: 44:[52, 85, 51, 42], Operations: [] Exploring Operation: 52+85=137, Resulting Numbers: [51, 42, 137] Generated Node #2: [51, 42, 137] from Operation: 52+85=137 Current State: 44:[51, 42, 137], Operations: ['52+85=137'] Exploring Operation: 51+42=93, Resulting Numbers: [137, 93] Generated Node #3: [137, 93] from Operation: 51+42=93 Current State: 44:[137, 93], Operations: ['52+85=137', '51+42=93'] Exploring Operation: 137-93=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[52, 85, 51, 42], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [85, 51, 10] Generated Node #0,0: 44:[85, 51, 10] Operation: 52-42=10 Exploring Operation: 85-42=43, Resulting Numbers: [52, 51, 43] Generated Node #0,1: 44:[52, 51, 43] Operation: 85-42=43 Exploring Operation: 85-52=33, Resulting Numbers: [51, 42, 33] Generated Node #0,2: 44:[51, 42, 33] Operation: 85-52=33 Exploring Operation: 52-51=1, Resulting Numbers: [85, 42, 1] Generated Node #0,3: 44:[85, 42, 1] Operation: 52-51=1 Exploring Operation: 85-51=34, Resulting Numbers: [52, 42, 34] Generated Node #0,4: 44:[52, 42, 34] Operation: 85-51=34 Moving to Node #0,1 Current State: 44:[52, 51, 43], Operations: ['85-42=43'] Exploring Operation: 51+43=94, Resulting Numbers: [52, 94] Generated Node #0,1,0: 44:[52, 94] Operation: 51+43=94 Exploring Operation: 52-51=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 44:[43, 1] Operation: 52-51=1 Exploring Operation: 52-43=9, Resulting Numbers: [51, 9] Generated Node #0,1,2: 44:[51, 9] Operation: 52-43=9 Exploring Operation: 51-43=8, Resulting Numbers: [52, 8] Generated Node #0,1,3: 44:[52, 8] Operation: 51-43=8 Exploring Operation: 52+43=95, Resulting Numbers: [51, 95] Generated Node #0,1,4: 44:[51, 95] Operation: 52+43=95 Moving to Node #0,4 Current State: 44:[52, 42, 34], Operations: ['85-51=34'] Exploring Operation: 42+34=76, Resulting Numbers: [52, 76] Generated Node #0,4,0: 44:[52, 76] Operation: 42+34=76 Exploring Operation: 52-42=10, Resulting Numbers: [34, 10] Generated Node #0,4,1: 44:[34, 10] Operation: 52-42=10 Exploring Operation: 52+34=86, Resulting Numbers: [42, 86] Generated Node #0,4,2: 44:[42, 86] Operation: 52+34=86 Exploring Operation: 52-34=18, Resulting Numbers: [42, 18] Generated Node #0,4,3: 44:[42, 18] Operation: 52-34=18 Exploring Operation: 42-34=8, Resulting Numbers: [52, 8] Generated Node #0,4,4: 44:[52, 8] Operation: 42-34=8 Moving to Node #0,2 Current State: 44:[51, 42, 33], Operations: ['85-52=33'] Exploring Operation: 42+33=75, Resulting Numbers: [51, 75] Generated Node #0,2,0: 44:[51, 75] Operation: 42+33=75 Exploring Operation: 42-33=9, Resulting Numbers: [51, 9] Generated Node #0,2,1: 44:[51, 9] Operation: 42-33=9 Exploring Operation: 51-42=9, Resulting Numbers: [33, 9] Generated Node #0,2,2: 44:[33, 9] Operation: 51-42=9 Exploring Operation: 51+33=84, Resulting Numbers: [42, 84] Generated Node #0,2,3: 44:[42, 84] Operation: 51+33=84 Exploring Operation: 51-33=18, Resulting Numbers: [42, 18] Generated Node #0,2,4: 44:[42, 18] Operation: 51-33=18 Moving to Node #0,3 Current State: 44:[85, 42, 1], Operations: ['52-51=1'] Exploring Operation: 85/1=85, Resulting Numbers: [42, 85] Generated Node #0,3,0: 44:[42, 85] Operation: 85/1=85 Exploring Operation: 85-42=43, Resulting Numbers: [1, 43] Generated Node #0,3,1: 44:[1, 43] Operation: 85-42=43 Exploring Operation: 85*1=85, Resulting Numbers: [42, 85] Generated Node #0,3,2: 44:[42, 85] Operation: 85*1=85 Exploring Operation: 42+1=43, Resulting Numbers: [85, 43] Generated Node #0,3,3: 44:[85, 43] Operation: 42+1=43 Exploring Operation: 85-1=84, Resulting Numbers: [42, 84] Generated Node #0,3,4: 44:[42, 84] Operation: 85-1=84 Moving to Node #0,0 Current State: 44:[85, 51, 10], Operations: ['52-42=10'] Exploring Operation: 85-10=75, Resulting Numbers: [51, 75] Generated Node #0,0,0: 44:[51, 75] Operation: 85-10=75 Exploring Operation: 51-10=41, Resulting Numbers: [85, 41] Generated Node #0,0,1: 44:[85, 41] Operation: 51-10=41 Exploring Operation: 85-51=34, Resulting Numbers: [10, 34] Generated Node #0,0,2: 44:[10, 34] Operation: 85-51=34 Exploring Operation: 85+10=95, Resulting Numbers: [51, 95] Generated Node #0,0,3: 44:[51, 95] Operation: 85+10=95 Exploring Operation: 51+10=61, Resulting Numbers: [85, 61] Generated Node #0,0,4: 44:[85, 61] Operation: 51+10=61 Moving to Node #0,1,1 Current State: 44:[43, 1], Operations: ['85-42=43', '52-51=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[52, 85, 51, 42], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [52, 51, 43] Generated Node #0,1: 44:[52, 51, 43] Operation: 85-42=43 Moving to Node #0,1 Current State: 44:[52, 51, 43], Operations: ['85-42=43'] Exploring Operation: 52-51=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 44:[43, 1] Operation: 52-51=1 Moving to Node #0,1,1 Current State: 44:[43, 1], Operations: ['85-42=43', '52-51=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.969618
hs_5
mult_heuristic
[ 55, 9, 46, 17 ]
93
[ "55+9=64", "46-17=29", "64+29=93" ]
Current State: 93:[55, 9, 46, 17], Operations: [] Exploring Operation: 55+9=64, Resulting Numbers: [46, 17, 64] Generated Node #2: [46, 17, 64] from Operation: 55+9=64 Current State: 93:[46, 17, 64], Operations: ['55+9=64'] Exploring Operation: 46-17=29, Resulting Numbers: [64, 29] Generated Node #3: [64, 29] from Operation: 46-17=29 Current State: 93:[64, 29], Operations: ['55+9=64', '46-17=29'] Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[55, 9, 46, 17], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [9, 17, 9] Generated Node #0,0: 93:[9, 17, 9] Operation: 55-46=9 Exploring Operation: 55+46=101, Resulting Numbers: [9, 17, 101] Generated Node #0,1: 93:[9, 17, 101] Operation: 55+46=101 Moving to Node #0,0 Current State: 93:[9, 17, 9], Operations: ['55-46=9'] Exploring Operation: 17-9=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 93:[9, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [9, 26] Generated Node #0,0,1: 93:[9, 26] Operation: 9+17=26 Moving to Node #0,1 Current State: 93:[9, 17, 101], Operations: ['55+46=101'] Exploring Operation: 17-9=8, Resulting Numbers: [101, 8] Generated Node #0,1,0: 93:[101, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [101, 26] Generated Node #0,1,1: 93:[101, 26] Operation: 9+17=26 Moving to Node #0,0,0 Current State: 93:[9, 8], Operations: ['55-46=9', '17-9=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[9, 26], Operations: ['55-46=9', '9+17=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[101, 26], Operations: ['55+46=101', '9+17=26'] Exploring Operation: 101+26=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 101-26=75, Resulting Numbers: [75] 75,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[101, 8], Operations: ['55+46=101', '17-9=8'] Exploring Operation: 101+8=109, Resulting Numbers: [109] 109,93 unequal: No Solution Exploring Operation: 101-8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[55, 9, 46, 17], Operations: [] Exploring Operation: 55+46=101, Resulting Numbers: [9, 17, 101] Generated Node #0,1: 93:[9, 17, 101] Operation: 55+46=101 Moving to Node #0,1 Current State: 93:[9, 17, 101], Operations: ['55+46=101'] Exploring Operation: 17-9=8, Resulting Numbers: [101, 8] Generated Node #0,1,0: 93:[101, 8] Operation: 17-9=8 Moving to Node #0,1,0 Current State: 93:[101, 8], Operations: ['55+46=101', '17-9=8'] Exploring Operation: 101-8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 11, 9, 54, 24 ]
21
[ "11*9=99", "54+24=78", "99-78=21" ]
Current State: 21:[11, 9, 54, 24], Operations: [] Exploring Operation: 11*9=99, Resulting Numbers: [54, 24, 99] Generated Node #2: [54, 24, 99] from Operation: 11*9=99 Current State: 21:[54, 24, 99], Operations: ['11*9=99'] Exploring Operation: 54+24=78, Resulting Numbers: [99, 78] Generated Node #3: [99, 78] from Operation: 54+24=78 Current State: 21:[99, 78], Operations: ['11*9=99', '54+24=78'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[11, 9, 54, 24], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [11, 24, 6] Generated Node #0,0: 21:[11, 24, 6] Operation: 54/9=6 Moving to Node #0,0 Current State: 21:[11, 24, 6], Operations: ['54/9=6'] Exploring Operation: 11-6=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 21:[24, 5] Operation: 11-6=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[24, 5], Operations: ['54/9=6', '11-6=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 8, 34, 53 ]
12
[ "53-2=51", "8*51=408", "408/34=12" ]
Current State: 12:[2, 8, 34, 53], Operations: [] Exploring Operation: 53-2=51, Resulting Numbers: [8, 34, 51] Generated Node #2: [8, 34, 51] from Operation: 53-2=51 Current State: 12:[8, 34, 51], Operations: ['53-2=51'] Exploring Operation: 8*51=408, Resulting Numbers: [34, 408] Generated Node #3: [34, 408] from Operation: 8*51=408 Current State: 12:[34, 408], Operations: ['53-2=51', '8*51=408'] Exploring Operation: 408/34=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[2, 8, 34, 53], Operations: [] Exploring Operation: 53-8=45, Resulting Numbers: [2, 34, 45] Generated Node #0,0: 12:[2, 34, 45] Operation: 53-8=45 Exploring Operation: 34/2=17, Resulting Numbers: [8, 53, 17] Generated Node #0,1: 12:[8, 53, 17] Operation: 34/2=17 Exploring Operation: 34-8=26, Resulting Numbers: [2, 53, 26] Generated Node #0,2: 12:[2, 53, 26] Operation: 34-8=26 Exploring Operation: 8-2=6, Resulting Numbers: [34, 53, 6] Generated Node #0,3: 12:[34, 53, 6] Operation: 8-2=6 Exploring Operation: 53-34=19, Resulting Numbers: [2, 8, 19] Generated Node #0,4: 12:[2, 8, 19] Operation: 53-34=19 Moving to Node #0,4 Current State: 12:[2, 8, 19], Operations: ['53-34=19'] Exploring Operation: 8/2=4, Resulting Numbers: [19, 4] Generated Node #0,4,0: 12:[19, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [19, 6] Generated Node #0,4,1: 12:[19, 6] Operation: 8-2=6 Exploring Operation: 2+8=10, Resulting Numbers: [19, 10] Generated Node #0,4,2: 12:[19, 10] Operation: 2+8=10 Exploring Operation: 19-8=11, Resulting Numbers: [2, 11] Generated Node #0,4,3: 12:[2, 11] Operation: 19-8=11 Exploring Operation: 19-2=17, Resulting Numbers: [8, 17] Generated Node #0,4,4: 12:[8, 17] Operation: 19-2=17 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 12:[2, 11], Operations: ['53-34=19', '19-8=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 12:[19, 4], Operations: ['53-34=19', '8/2=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 12:[19, 6], Operations: ['53-34=19', '8-2=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 12:[8, 17], Operations: ['53-34=19', '19-2=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 12:[19, 10], Operations: ['53-34=19', '2+8=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,12 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: 12:[8, 53, 17], Operations: ['34/2=17'] Exploring Operation: 17-8=9, Resulting Numbers: [53, 9] Generated Node #0,1,0: 12:[53, 9] Operation: 17-8=9 Exploring Operation: 53-8=45, Resulting Numbers: [17, 45] Generated Node #0,1,1: 12:[17, 45] Operation: 53-8=45 Exploring Operation: 8+53=61, Resulting Numbers: [17, 61] Generated Node #0,1,2: 12:[17, 61] Operation: 8+53=61 Exploring Operation: 53-17=36, Resulting Numbers: [8, 36] Generated Node #0,1,3: 12:[8, 36] Operation: 53-17=36 Exploring Operation: 8+17=25, Resulting Numbers: [53, 25] Generated Node #0,1,4: 12:[53, 25] Operation: 8+17=25 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[8, 36], Operations: ['34/2=17', '53-17=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,12 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[17, 45], Operations: ['34/2=17', '53-8=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,12 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[53, 9], Operations: ['34/2=17', '17-8=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[17, 61], Operations: ['34/2=17', '8+53=61'] Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,12 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 12:[53, 25], Operations: ['34/2=17', '8+17=25'] Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,12 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,12 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: 12:[2, 34, 45], Operations: ['53-8=45'] Exploring Operation: 34/2=17, Resulting Numbers: [45, 17] Generated Node #0,0,0: 12:[45, 17] Operation: 34/2=17 Exploring Operation: 2+34=36, Resulting Numbers: [45, 36] Generated Node #0,0,1: 12:[45, 36] Operation: 2+34=36 Exploring Operation: 34-2=32, Resulting Numbers: [45, 32] Generated Node #0,0,2: 12:[45, 32] Operation: 34-2=32 Exploring Operation: 45-2=43, Resulting Numbers: [34, 43] Generated Node #0,0,3: 12:[34, 43] Operation: 45-2=43 Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,0,4: 12:[2, 11] Operation: 45-34=11 Moving to Node #0,2 Current State: 12:[2, 53, 26], Operations: ['34-8=26'] Exploring Operation: 53-26=27, Resulting Numbers: [2, 27] Generated Node #0,2,0: 12:[2, 27] Operation: 53-26=27 Exploring Operation: 26/2=13, Resulting Numbers: [53, 13] Generated Node #0,2,1: 12:[53, 13] Operation: 26/2=13 Exploring Operation: 2+53=55, Resulting Numbers: [26, 55] Generated Node #0,2,2: 12:[26, 55] Operation: 2+53=55 Exploring Operation: 26-2=24, Resulting Numbers: [53, 24] Generated Node #0,2,3: 12:[53, 24] Operation: 26-2=24 Exploring Operation: 53-2=51, Resulting Numbers: [26, 51] Generated Node #0,2,4: 12:[26, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[2, 27], Operations: ['34-8=26', '53-26=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[53, 13], Operations: ['34-8=26', '26/2=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,12 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[53, 24], Operations: ['34-8=26', '26-2=24'] Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,12 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[26, 51], Operations: ['34-8=26', '53-2=51'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,12 unequal: No Solution Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[26, 55], Operations: ['34-8=26', '2+53=55'] Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,12 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: 12:[34, 53, 6], Operations: ['8-2=6'] Exploring Operation: 53+6=59, Resulting Numbers: [34, 59] Generated Node #0,3,0: 12:[34, 59] Operation: 53+6=59 Exploring Operation: 53-34=19, Resulting Numbers: [6, 19] Generated Node #0,3,1: 12:[6, 19] Operation: 53-34=19 Exploring Operation: 34+6=40, Resulting Numbers: [53, 40] Generated Node #0,3,2: 12:[53, 40] Operation: 34+6=40 Exploring Operation: 34-6=28, Resulting Numbers: [53, 28] Generated Node #0,3,3: 12:[53, 28] Operation: 34-6=28 Exploring Operation: 53-6=47, Resulting Numbers: [34, 47] Generated Node #0,3,4: 12:[34, 47] Operation: 53-6=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[6, 19], Operations: ['8-2=6', '53-34=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[53, 28], Operations: ['8-2=6', '34-6=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,12 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 12:[34, 47], Operations: ['8-2=6', '53-6=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,12 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[34, 59], Operations: ['8-2=6', '53+6=59'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 34*59=2006, Resulting Numbers: [2006] 2006,12 unequal: No Solution Exploring Operation: 34+59=93, Resulting Numbers: [93] 93,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[53, 40], Operations: ['8-2=6', '34+6=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,12 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,12 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 12:[2, 11], Operations: ['53-8=45', '45-34=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[45, 17], Operations: ['53-8=45', '34/2=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,12 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[45, 32], Operations: ['53-8=45', '34-2=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,12 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[34, 43], Operations: ['53-8=45', '45-2=43'] Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,12 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[45, 36], Operations: ['53-8=45', '2+34=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,12 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 33, 79, 28, 67 ]
63
[ "33+79=112", "112/28=4", "67-4=63" ]
Current State: 63:[33, 79, 28, 67], Operations: [] Exploring Operation: 33+79=112, Resulting Numbers: [28, 67, 112] Generated Node #2: [28, 67, 112] from Operation: 33+79=112 Current State: 63:[28, 67, 112], Operations: ['33+79=112'] Exploring Operation: 112/28=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 112/28=4 Current State: 63:[67, 4], Operations: ['33+79=112', '112/28=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[33, 79, 28, 67], Operations: [] Exploring Operation: 33+28=61, Resulting Numbers: [79, 67, 61] Generated Node #0,0: 63:[79, 67, 61] Operation: 33+28=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[79, 67, 61], Operations: ['33+28=61'] Exploring Operation: 79-67=12, Resulting Numbers: [61, 12] Generated Node #0,0,0: 63:[61, 12] Operation: 79-67=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[61, 12], Operations: ['33+28=61', '79-67=12'] Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,63 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
[ 56, 1, 41, 39 ]
59
[ "56+1=57", "41-39=2", "57+2=59" ]
Current State: 59:[56, 1, 41, 39], Operations: [] Exploring Operation: 56+1=57, Resulting Numbers: [41, 39, 57] Generated Node #2: [41, 39, 57] from Operation: 56+1=57 Current State: 59:[41, 39, 57], Operations: ['56+1=57'] Exploring Operation: 41-39=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 41-39=2 Current State: 59:[57, 2], Operations: ['56+1=57', '41-39=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[56, 1, 41, 39], Operations: [] Exploring Operation: 56+1=57, Resulting Numbers: [41, 39, 57] Generated Node #0,0: 59:[41, 39, 57] Operation: 56+1=57 Exploring Operation: 1+41=42, Resulting Numbers: [56, 39, 42] Generated Node #0,1: 59:[56, 39, 42] Operation: 1+41=42 Exploring Operation: 56/1=56, Resulting Numbers: [41, 39, 56] Generated Node #0,2: 59:[41, 39, 56] Operation: 56/1=56 Exploring Operation: 1+39=40, Resulting Numbers: [56, 41, 40] Generated Node #0,3: 59:[56, 41, 40] Operation: 1+39=40 Exploring Operation: 56*1=56, Resulting Numbers: [41, 39, 56] Generated Node #0,4: 59:[41, 39, 56] Operation: 56*1=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[41, 39, 57], Operations: ['56+1=57'] Exploring Operation: 41+39=80, Resulting Numbers: [57, 80] Generated Node #0,0,0: 59:[57, 80] Operation: 41+39=80 Exploring Operation: 39+57=96, Resulting Numbers: [41, 96] Generated Node #0,0,1: 59:[41, 96] Operation: 39+57=96 Exploring Operation: 41-39=2, Resulting Numbers: [57, 2] Generated Node #0,0,2: 59:[57, 2] Operation: 41-39=2 Exploring Operation: 41+57=98, Resulting Numbers: [39, 98] Generated Node #0,0,3: 59:[39, 98] Operation: 41+57=98 Exploring Operation: 57-39=18, Resulting Numbers: [41, 18] Generated Node #0,0,4: 59:[41, 18] Operation: 57-39=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[57, 80], Operations: ['56+1=57', '41+39=80'] Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,59 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[41, 96], Operations: ['56+1=57', '39+57=96'] Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,59 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[57, 2], Operations: ['56+1=57', '41-39=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[56, 1, 41, 39], Operations: [] Exploring Operation: 56+1=57, Resulting Numbers: [41, 39, 57] Generated Node #0,0: 59:[41, 39, 57] Operation: 56+1=57 Moving to Node #0,0 Current State: 59:[41, 39, 57], Operations: ['56+1=57'] Exploring Operation: 41-39=2, Resulting Numbers: [57, 2] Generated Node #0,0,2: 59:[57, 2] Operation: 41-39=2 Moving to Node #0,0,2 Current State: 59:[57, 2], Operations: ['56+1=57', '41-39=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 36, 34, 25, 20 ]
65
[ "36+34=70", "25-20=5", "70-5=65" ]
Current State: 65:[36, 34, 25, 20], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [25, 20, 70] Generated Node #2: [25, 20, 70] from Operation: 36+34=70 Current State: 65:[25, 20, 70], Operations: ['36+34=70'] Exploring Operation: 25-20=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 25-20=5 Current State: 65:[70, 5], Operations: ['36+34=70', '25-20=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[36, 34, 25, 20], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [25, 20, 70] Generated Node #0,0: 65:[25, 20, 70] Operation: 36+34=70 Exploring Operation: 36-25=11, Resulting Numbers: [34, 20, 11] Generated Node #0,1: 65:[34, 20, 11] Operation: 36-25=11 Exploring Operation: 36-34=2, Resulting Numbers: [25, 20, 2] Generated Node #0,2: 65:[25, 20, 2] Operation: 36-34=2 Exploring Operation: 36+25=61, Resulting Numbers: [34, 20, 61] Generated Node #0,3: 65:[34, 20, 61] Operation: 36+25=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[25, 20, 2], Operations: ['36-34=2'] Exploring Operation: 25-2=23, Resulting Numbers: [20, 23] Generated Node #0,2,0: 65:[20, 23] Operation: 25-2=23 Exploring Operation: 20-2=18, Resulting Numbers: [25, 18] Generated Node #0,2,1: 65:[25, 18] Operation: 20-2=18 Exploring Operation: 25-20=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 65:[2, 5] Operation: 25-20=5 Exploring Operation: 20/2=10, Resulting Numbers: [25, 10] Generated Node #0,2,3: 65:[25, 10] Operation: 20/2=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[2, 5], Operations: ['36-34=2', '25-20=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,2,3 Current State: 65:[25, 10], Operations: ['36-34=2', '20/2=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,65 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,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,2,0 Current State: 65:[20, 23], Operations: ['36-34=2', '25-2=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,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,2,1 Current State: 65:[25, 18], Operations: ['36-34=2', '20-2=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,65 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,65 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: 65:[25, 20, 70], Operations: ['36+34=70'] Exploring Operation: 25+20=45, Resulting Numbers: [70, 45] Generated Node #0,0,0: 65:[70, 45] Operation: 25+20=45 Exploring Operation: 70-20=50, Resulting Numbers: [25, 50] Generated Node #0,0,1: 65:[25, 50] Operation: 70-20=50 Exploring Operation: 70-25=45, Resulting Numbers: [20, 45] Generated Node #0,0,2: 65:[20, 45] Operation: 70-25=45 Exploring Operation: 25-20=5, Resulting Numbers: [70, 5] Generated Node #0,0,3: 65:[70, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 65:[70, 5], Operations: ['36+34=70', '25-20=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[36, 34, 25, 20], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [25, 20, 70] Generated Node #0,0: 65:[25, 20, 70] Operation: 36+34=70 Moving to Node #0,0 Current State: 65:[25, 20, 70], Operations: ['36+34=70'] Exploring Operation: 25-20=5, Resulting Numbers: [70, 5] Generated Node #0,0,3: 65:[70, 5] Operation: 25-20=5 Moving to Node #0,0,3 Current State: 65:[70, 5], Operations: ['36+34=70', '25-20=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 7, 59, 61, 60 ]
51
[ "59-7=52", "61-60=1", "52-1=51" ]
Current State: 51:[7, 59, 61, 60], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [61, 60, 52] Generated Node #2: [61, 60, 52] from Operation: 59-7=52 Current State: 51:[61, 60, 52], Operations: ['59-7=52'] Exploring Operation: 61-60=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 61-60=1 Current State: 51:[52, 1], Operations: ['59-7=52', '61-60=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[7, 59, 61, 60], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [7, 61, 1] Generated Node #0,0: 51:[7, 61, 1] Operation: 60-59=1 Exploring Operation: 61-60=1, Resulting Numbers: [7, 59, 1] Generated Node #0,1: 51:[7, 59, 1] Operation: 61-60=1 Exploring Operation: 61-59=2, Resulting Numbers: [7, 60, 2] Generated Node #0,2: 51:[7, 60, 2] Operation: 61-59=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[7, 59, 1], Operations: ['61-60=1'] Exploring Operation: 59-1=58, Resulting Numbers: [7, 58] Generated Node #0,1,0: 51:[7, 58] Operation: 59-1=58 Exploring Operation: 59-7=52, Resulting Numbers: [1, 52] Generated Node #0,1,1: 51:[1, 52] Operation: 59-7=52 Exploring Operation: 7-1=6, Resulting Numbers: [59, 6] Generated Node #0,1,2: 51:[59, 6] Operation: 7-1=6 Moving to Node #0,1,1 Current State: 51:[1, 52], Operations: ['61-60=1', '59-7=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[7, 59, 61, 60], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [7, 59, 1] Generated Node #0,1: 51:[7, 59, 1] Operation: 61-60=1 Moving to Node #0,1 Current State: 51:[7, 59, 1], Operations: ['61-60=1'] Exploring Operation: 59-7=52, Resulting Numbers: [1, 52] Generated Node #0,1,1: 51:[1, 52] Operation: 59-7=52 Moving to Node #0,1,1 Current State: 51:[1, 52], Operations: ['61-60=1', '59-7=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 16, 77, 21, 63 ]
23
[ "77-16=61", "21+63=84", "84-61=23" ]
Current State: 23:[16, 77, 21, 63], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [21, 63, 61] Generated Node #2: [21, 63, 61] from Operation: 77-16=61 Current State: 23:[21, 63, 61], Operations: ['77-16=61'] Exploring Operation: 21+63=84, Resulting Numbers: [61, 84] Generated Node #3: [61, 84] from Operation: 21+63=84 Current State: 23:[61, 84], Operations: ['77-16=61', '21+63=84'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[16, 77, 21, 63], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [21, 63, 61] Generated Node #0,0: 23:[21, 63, 61] Operation: 77-16=61 Exploring Operation: 77-63=14, Resulting Numbers: [16, 21, 14] Generated Node #0,1: 23:[16, 21, 14] Operation: 77-63=14 Exploring Operation: 63-16=47, Resulting Numbers: [77, 21, 47] Generated Node #0,2: 23:[77, 21, 47] Operation: 63-16=47 Exploring Operation: 77-21=56, Resulting Numbers: [16, 63, 56] Generated Node #0,3: 23:[16, 63, 56] Operation: 77-21=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[16, 21, 14], Operations: ['77-63=14'] Exploring Operation: 21+14=35, Resulting Numbers: [16, 35] Generated Node #0,1,0: 23:[16, 35] Operation: 21+14=35 Exploring Operation: 16-14=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 23:[21, 2] Operation: 16-14=2 Exploring Operation: 16+14=30, Resulting Numbers: [21, 30] Generated Node #0,1,2: 23:[21, 30] Operation: 16+14=30 Exploring Operation: 16+21=37, Resulting Numbers: [14, 37] Generated Node #0,1,3: 23:[14, 37] Operation: 16+21=37 Moving to Node #0,1,2 Current State: 23:[21, 30], Operations: ['77-63=14', '16+14=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,23 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[16, 35], Operations: ['77-63=14', '21+14=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,23 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[14, 37], Operations: ['77-63=14', '16+21=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[16, 77, 21, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [16, 21, 14] Generated Node #0,1: 23:[16, 21, 14] Operation: 77-63=14 Moving to Node #0,1 Current State: 23:[16, 21, 14], Operations: ['77-63=14'] Exploring Operation: 16+21=37, Resulting Numbers: [14, 37] Generated Node #0,1,3: 23:[14, 37] Operation: 16+21=37 Moving to Node #0,1,3 Current State: 23:[14, 37], Operations: ['77-63=14', '16+21=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 32, 3, 32, 60 ]
44
[ "32+32=64", "60/3=20", "64-20=44" ]
Current State: 44:[32, 3, 32, 60], Operations: [] Exploring Operation: 32+32=64, Resulting Numbers: [3, 60, 64] Generated Node #2: [3, 60, 64] from Operation: 32+32=64 Current State: 44:[3, 60, 64], Operations: ['32+32=64'] Exploring Operation: 60/3=20, Resulting Numbers: [64, 20] Generated Node #3: [64, 20] from Operation: 60/3=20 Current State: 44:[64, 20], Operations: ['32+32=64', '60/3=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[32, 3, 32, 60], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [3, 32, 28] Generated Node #0,0: 44:[3, 32, 28] Operation: 60-32=28 Exploring Operation: 60-32=28, Resulting Numbers: [32, 3, 28] Generated Node #0,1: 44:[32, 3, 28] Operation: 60-32=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[3, 32, 28], Operations: ['60-32=28'] Exploring Operation: 32-3=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 44:[28, 29] Operation: 32-3=29 Exploring Operation: 32-28=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 44:[3, 4] Operation: 32-28=4 Moving to Node #0,0,1 Current State: 44:[3, 4], Operations: ['60-32=28', '32-28=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[28, 29], Operations: ['60-32=28', '32-3=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[32, 3, 28], Operations: ['60-32=28'] Exploring Operation: 32-3=29, Resulting Numbers: [28, 29] Generated Node #0,1,0: 44:[28, 29] Operation: 32-3=29 Exploring Operation: 32-28=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 44:[3, 4] Operation: 32-28=4 Moving to Node #0,1,1 Current State: 44:[3, 4], Operations: ['60-32=28', '32-28=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[28, 29], Operations: ['60-32=28', '32-3=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,44 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
[ 17, 78, 67, 15 ]
22
[ "17-15=2", "78-67=11", "2*11=22" ]
Current State: 22:[17, 78, 67, 15], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [78, 67, 2] Generated Node #2: [78, 67, 2] from Operation: 17-15=2 Current State: 22:[78, 67, 2], Operations: ['17-15=2'] Exploring Operation: 78-67=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 78-67=11 Current State: 22:[2, 11], Operations: ['17-15=2', '78-67=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[17, 78, 67, 15], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [78, 15, 50] Generated Node #0,0: 22:[78, 15, 50] Operation: 67-17=50 Exploring Operation: 78-17=61, Resulting Numbers: [67, 15, 61] Generated Node #0,1: 22:[67, 15, 61] Operation: 78-17=61 Exploring Operation: 78-67=11, Resulting Numbers: [17, 15, 11] Generated Node #0,2: 22:[17, 15, 11] Operation: 78-67=11 Moving to Node #0,2 Current State: 22:[17, 15, 11], Operations: ['78-67=11'] Exploring Operation: 17-11=6, Resulting Numbers: [15, 6] Generated Node #0,2,0: 22:[15, 6] Operation: 17-11=6 Exploring Operation: 15-11=4, Resulting Numbers: [17, 4] Generated Node #0,2,1: 22:[17, 4] Operation: 15-11=4 Exploring Operation: 17-15=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 22:[11, 2] Operation: 17-15=2 Moving to Node #0,0 Current State: 22:[78, 15, 50], Operations: ['67-17=50'] Exploring Operation: 78-15=63, Resulting Numbers: [50, 63] Generated Node #0,0,0: 22:[50, 63] Operation: 78-15=63 Exploring Operation: 50-15=35, Resulting Numbers: [78, 35] Generated Node #0,0,1: 22:[78, 35] Operation: 50-15=35 Exploring Operation: 78-50=28, Resulting Numbers: [15, 28] Generated Node #0,0,2: 22:[15, 28] Operation: 78-50=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[15, 28], Operations: ['67-17=50', '78-50=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,22 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,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,0,0 Current State: 22:[50, 63], Operations: ['67-17=50', '78-15=63'] Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,22 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,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,0,1 Current State: 22:[78, 35], Operations: ['67-17=50', '50-15=35'] Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,22 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,22 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: 22:[67, 15, 61], Operations: ['78-17=61'] Exploring Operation: 67-61=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 22:[15, 6] Operation: 67-61=6 Exploring Operation: 67-15=52, Resulting Numbers: [61, 52] Generated Node #0,1,1: 22:[61, 52] Operation: 67-15=52 Exploring Operation: 61-15=46, Resulting Numbers: [67, 46] Generated Node #0,1,2: 22:[67, 46] Operation: 61-15=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[15, 6], Operations: ['78-17=61', '67-61=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,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,1,1 Current State: 22:[61, 52], Operations: ['78-17=61', '67-15=52'] Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,22 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,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,1,2 Current State: 22:[67, 46], Operations: ['78-17=61', '61-15=46'] Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,22 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,22 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 22:[11, 2], Operations: ['78-67=11', '17-15=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[17, 78, 67, 15], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [17, 15, 11] Generated Node #0,2: 22:[17, 15, 11] Operation: 78-67=11 Moving to Node #0,2 Current State: 22:[17, 15, 11], Operations: ['78-67=11'] Exploring Operation: 17-15=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 22:[11, 2] Operation: 17-15=2 Moving to Node #0,2,2 Current State: 22:[11, 2], Operations: ['78-67=11', '17-15=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 34, 82, 79, 39 ]
70
[ "82-34=48", "79+39=118", "118-48=70" ]
Current State: 70:[34, 82, 79, 39], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [79, 39, 48] Generated Node #2: [79, 39, 48] from Operation: 82-34=48 Current State: 70:[79, 39, 48], Operations: ['82-34=48'] Exploring Operation: 79+39=118, Resulting Numbers: [48, 118] Generated Node #3: [48, 118] from Operation: 79+39=118 Current State: 70:[48, 118], Operations: ['82-34=48', '79+39=118'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 82, 79, 39], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [34, 39, 3] Generated Node #0,0: 70:[34, 39, 3] Operation: 82-79=3 Moving to Node #0,0 Current State: 70:[34, 39, 3], Operations: ['82-79=3'] Exploring Operation: 39-34=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 70:[3, 5] Operation: 39-34=5 Moving to Node #0,0,0 Current State: 70:[3, 5], Operations: ['82-79=3', '39-34=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 85, 61, 17, 77 ]
21
[ "85/17=5", "77-61=16", "5+16=21" ]
Current State: 21:[85, 61, 17, 77], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [61, 77, 5] Generated Node #2: [61, 77, 5] from Operation: 85/17=5 Current State: 21:[61, 77, 5], Operations: ['85/17=5'] Exploring Operation: 77-61=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 77-61=16 Current State: 21:[5, 16], Operations: ['85/17=5', '77-61=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[85, 61, 17, 77], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [61, 17, 8] Generated Node #0,0: 21:[61, 17, 8] Operation: 85-77=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[61, 17, 8], Operations: ['85-77=8'] Exploring Operation: 61-17=44, Resulting Numbers: [8, 44] Generated Node #0,0,0: 21:[8, 44] Operation: 61-17=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[8, 44], Operations: ['85-77=8', '61-17=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,21 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
[ 87, 73, 47, 74 ]
39
[ "87+73=160", "47+74=121", "160-121=39" ]
Current State: 39:[87, 73, 47, 74], Operations: [] Exploring Operation: 87+73=160, Resulting Numbers: [47, 74, 160] Generated Node #2: [47, 74, 160] from Operation: 87+73=160 Current State: 39:[47, 74, 160], Operations: ['87+73=160'] Exploring Operation: 47+74=121, Resulting Numbers: [160, 121] Generated Node #3: [160, 121] from Operation: 47+74=121 Current State: 39:[160, 121], Operations: ['87+73=160', '47+74=121'] Exploring Operation: 160-121=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[87, 73, 47, 74], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [47, 74, 14] Generated Node #0,0: 39:[47, 74, 14] Operation: 87-73=14 Exploring Operation: 87-74=13, Resulting Numbers: [73, 47, 13] Generated Node #0,1: 39:[73, 47, 13] Operation: 87-74=13 Moving to Node #0,1 Current State: 39:[73, 47, 13], Operations: ['87-74=13'] Exploring Operation: 73-47=26, Resulting Numbers: [13, 26] Generated Node #0,1,0: 39:[13, 26] Operation: 73-47=26 Exploring Operation: 73-13=60, Resulting Numbers: [47, 60] Generated Node #0,1,1: 39:[47, 60] Operation: 73-13=60 Moving to Node #0,0 Current State: 39:[47, 74, 14], Operations: ['87-73=14'] Exploring Operation: 74-47=27, Resulting Numbers: [14, 27] Generated Node #0,0,0: 39:[14, 27] Operation: 74-47=27 Exploring Operation: 74-14=60, Resulting Numbers: [47, 60] Generated Node #0,0,1: 39:[47, 60] Operation: 74-14=60 Moving to Node #0,1,0 Current State: 39:[13, 26], Operations: ['87-74=13', '73-47=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[87, 73, 47, 74], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [73, 47, 13] Generated Node #0,1: 39:[73, 47, 13] Operation: 87-74=13 Moving to Node #0,1 Current State: 39:[73, 47, 13], Operations: ['87-74=13'] Exploring Operation: 73-47=26, Resulting Numbers: [13, 26] Generated Node #0,1,0: 39:[13, 26] Operation: 73-47=26 Moving to Node #0,1,0 Current State: 39:[13, 26], Operations: ['87-74=13', '73-47=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 24, 91, 14, 28 ]
64
[ "24*91=2184", "2184/28=78", "78-14=64" ]
Current State: 64:[24, 91, 14, 28], Operations: [] Exploring Operation: 24*91=2184, Resulting Numbers: [14, 28, 2184] Generated Node #2: [14, 28, 2184] from Operation: 24*91=2184 Current State: 64:[14, 28, 2184], Operations: ['24*91=2184'] Exploring Operation: 2184/28=78, Resulting Numbers: [14, 78] Generated Node #3: [14, 78] from Operation: 2184/28=78 Current State: 64:[14, 78], Operations: ['24*91=2184', '2184/28=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[24, 91, 14, 28], Operations: [] Exploring Operation: 91-24=67, Resulting Numbers: [14, 28, 67] Generated Node #0,0: 64:[14, 28, 67] Operation: 91-24=67 Moving to Node #0,0 Current State: 64:[14, 28, 67], Operations: ['91-24=67'] Exploring Operation: 28/14=2, Resulting Numbers: [67, 2] Generated Node #0,0,0: 64:[67, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[67, 2], Operations: ['91-24=67', '28/14=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,64 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
[ 59, 55, 12, 57 ]
54
[ "59-55=4", "12/4=3", "57-3=54" ]
Current State: 54:[59, 55, 12, 57], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [12, 57, 4] Generated Node #2: [12, 57, 4] from Operation: 59-55=4 Current State: 54:[12, 57, 4], Operations: ['59-55=4'] Exploring Operation: 12/4=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 12/4=3 Current State: 54:[57, 3], Operations: ['59-55=4', '12/4=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[59, 55, 12, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [55, 12, 2] Generated Node #0,0: 54:[55, 12, 2] Operation: 59-57=2 Exploring Operation: 57-55=2, Resulting Numbers: [59, 12, 2] Generated Node #0,1: 54:[59, 12, 2] Operation: 57-55=2 Exploring Operation: 59-55=4, Resulting Numbers: [12, 57, 4] Generated Node #0,2: 54:[12, 57, 4] Operation: 59-55=4 Exploring Operation: 59-12=47, Resulting Numbers: [55, 57, 47] Generated Node #0,3: 54:[55, 57, 47] Operation: 59-12=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[55, 12, 2], Operations: ['59-57=2'] Exploring Operation: 55-2=53, Resulting Numbers: [12, 53] Generated Node #0,0,0: 54:[12, 53] Operation: 55-2=53 Exploring Operation: 12-2=10, Resulting Numbers: [55, 10] Generated Node #0,0,1: 54:[55, 10] Operation: 12-2=10 Exploring Operation: 12*2=24, Resulting Numbers: [55, 24] Generated Node #0,0,2: 54:[55, 24] Operation: 12*2=24 Exploring Operation: 12/2=6, Resulting Numbers: [55, 6] Generated Node #0,0,3: 54:[55, 6] Operation: 12/2=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 54:[55, 6], Operations: ['59-57=2', '12/2=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,54 unequal: No Solution No 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: 54:[55, 10], Operations: ['59-57=2', '12-2=10'] Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,54 unequal: No Solution No 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: 54:[12, 53], Operations: ['59-57=2', '55-2=53'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 12*53=636, Resulting Numbers: [636] 636,54 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,54 unequal: No Solution No 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: 54:[55, 24], Operations: ['59-57=2', '12*2=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,54 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: 54:[12, 57, 4], Operations: ['59-55=4'] Exploring Operation: 12-4=8, Resulting Numbers: [57, 8] Generated Node #0,2,0: 54:[57, 8] Operation: 12-4=8 Exploring Operation: 57-4=53, Resulting Numbers: [12, 53] Generated Node #0,2,1: 54:[12, 53] Operation: 57-4=53 Exploring Operation: 12+4=16, Resulting Numbers: [57, 16] Generated Node #0,2,2: 54:[57, 16] Operation: 12+4=16 Exploring Operation: 12/4=3, Resulting Numbers: [57, 3] Generated Node #0,2,3: 54:[57, 3] Operation: 12/4=3 Moving to Node #0,2,3 Current State: 54:[57, 3], Operations: ['59-55=4', '12/4=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,54 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[59, 55, 12, 57], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [12, 57, 4] Generated Node #0,2: 54:[12, 57, 4] Operation: 59-55=4 Moving to Node #0,2 Current State: 54:[12, 57, 4], Operations: ['59-55=4'] Exploring Operation: 12/4=3, Resulting Numbers: [57, 3] Generated Node #0,2,3: 54:[57, 3] Operation: 12/4=3 Moving to Node #0,2,3 Current State: 54:[57, 3], Operations: ['59-55=4', '12/4=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 96, 70, 37, 90 ]
79
[ "96-70=26", "90-37=53", "26+53=79" ]
Current State: 79:[96, 70, 37, 90], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [37, 90, 26] Generated Node #2: [37, 90, 26] from Operation: 96-70=26 Current State: 79:[37, 90, 26], Operations: ['96-70=26'] Exploring Operation: 90-37=53, Resulting Numbers: [26, 53] Generated Node #3: [26, 53] from Operation: 90-37=53 Current State: 79:[26, 53], Operations: ['96-70=26', '90-37=53'] Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[96, 70, 37, 90], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [96, 70, 53] Generated Node #0,0: 79:[96, 70, 53] Operation: 90-37=53 Exploring Operation: 70+37=107, Resulting Numbers: [96, 90, 107] Generated Node #0,1: 79:[96, 90, 107] Operation: 70+37=107 Exploring Operation: 96-37=59, Resulting Numbers: [70, 90, 59] Generated Node #0,2: 79:[70, 90, 59] Operation: 96-37=59 Moving to Node #0,2 Current State: 79:[70, 90, 59], Operations: ['96-37=59'] Exploring Operation: 90-70=20, Resulting Numbers: [59, 20] Generated Node #0,2,0: 79:[59, 20] Operation: 90-70=20 Exploring Operation: 90-59=31, Resulting Numbers: [70, 31] Generated Node #0,2,1: 79:[70, 31] Operation: 90-59=31 Exploring Operation: 70+59=129, Resulting Numbers: [90, 129] Generated Node #0,2,2: 79:[90, 129] Operation: 70+59=129 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[70, 31], Operations: ['96-37=59', '90-59=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,79 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[90, 129], Operations: ['96-37=59', '70+59=129'] Exploring Operation: 90+129=219, Resulting Numbers: [219] 219,79 unequal: No Solution Exploring Operation: 90*129=11610, Resulting Numbers: [11610] 11610,79 unequal: No Solution Exploring Operation: 129-90=39, Resulting Numbers: [39] 39,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[59, 20], Operations: ['96-37=59', '90-70=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[96, 70, 37, 90], Operations: [] Exploring Operation: 96-37=59, Resulting Numbers: [70, 90, 59] Generated Node #0,2: 79:[70, 90, 59] Operation: 96-37=59 Moving to Node #0,2 Current State: 79:[70, 90, 59], Operations: ['96-37=59'] Exploring Operation: 90-70=20, Resulting Numbers: [59, 20] Generated Node #0,2,0: 79:[59, 20] Operation: 90-70=20 Moving to Node #0,2,0 Current State: 79:[59, 20], Operations: ['96-37=59', '90-70=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 40, 70, 19, 45 ]
34
[ "70-40=30", "19+45=64", "64-30=34" ]
Current State: 34:[40, 70, 19, 45], Operations: [] Exploring Operation: 70-40=30, Resulting Numbers: [19, 45, 30] Generated Node #2: [19, 45, 30] from Operation: 70-40=30 Current State: 34:[19, 45, 30], Operations: ['70-40=30'] Exploring Operation: 19+45=64, Resulting Numbers: [30, 64] Generated Node #3: [30, 64] from Operation: 19+45=64 Current State: 34:[30, 64], Operations: ['70-40=30', '19+45=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[40, 70, 19, 45], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [40, 19, 25] Generated Node #0,0: 34:[40, 19, 25] Operation: 70-45=25 Exploring Operation: 70-40=30, Resulting Numbers: [19, 45, 30] Generated Node #0,1: 34:[19, 45, 30] Operation: 70-40=30 Moving to Node #0,0 Current State: 34:[40, 19, 25], Operations: ['70-45=25'] Exploring Operation: 40-25=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 34:[19, 15] Operation: 40-25=15 Exploring Operation: 25-19=6, Resulting Numbers: [40, 6] Generated Node #0,0,1: 34:[40, 6] Operation: 25-19=6 Moving to Node #0,1 Current State: 34:[19, 45, 30], Operations: ['70-40=30'] Exploring Operation: 45-30=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 45-30=15 Exploring Operation: 45-19=26, Resulting Numbers: [30, 26] Generated Node #0,1,1: 34:[30, 26] Operation: 45-19=26 Moving to Node #0,0,0 Current State: 34:[19, 15], Operations: ['70-45=25', '40-25=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[40, 70, 19, 45], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [40, 19, 25] Generated Node #0,0: 34:[40, 19, 25] Operation: 70-45=25 Moving to Node #0,0 Current State: 34:[40, 19, 25], Operations: ['70-45=25'] Exploring Operation: 40-25=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 34:[19, 15] Operation: 40-25=15 Moving to Node #0,0,0 Current State: 34:[19, 15], Operations: ['70-45=25', '40-25=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 91, 55, 96, 99 ]
43
[ "99-91=8", "96/8=12", "55-12=43" ]
Current State: 43:[91, 55, 96, 99], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [55, 96, 8] Generated Node #2: [55, 96, 8] from Operation: 99-91=8 Current State: 43:[55, 96, 8], Operations: ['99-91=8'] Exploring Operation: 96/8=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 96/8=12 Current State: 43:[55, 12], Operations: ['99-91=8', '96/8=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[91, 55, 96, 99], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [55, 96, 8] Generated Node #0,0: 43:[55, 96, 8] Operation: 99-91=8 Moving to Node #0,0 Current State: 43:[55, 96, 8], Operations: ['99-91=8'] Exploring Operation: 96-55=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 43:[8, 41] Operation: 96-55=41 Moving to Node #0,0,0 Current State: 43:[8, 41], Operations: ['99-91=8', '96-55=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,43 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 66, 6, 98 ]
47
[ "66-9=57", "6+98=104", "104-57=47" ]
Current State: 47:[9, 66, 6, 98], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [6, 98, 57] Generated Node #2: [6, 98, 57] from Operation: 66-9=57 Current State: 47:[6, 98, 57], Operations: ['66-9=57'] Exploring Operation: 6+98=104, Resulting Numbers: [57, 104] Generated Node #3: [57, 104] from Operation: 6+98=104 Current State: 47:[57, 104], Operations: ['66-9=57', '6+98=104'] Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[9, 66, 6, 98], Operations: [] Exploring Operation: 9*6=54, Resulting Numbers: [66, 98, 54] Generated Node #0,0: 47:[66, 98, 54] Operation: 9*6=54 Exploring Operation: 66-9=57, Resulting Numbers: [6, 98, 57] Generated Node #0,1: 47:[6, 98, 57] Operation: 66-9=57 Exploring Operation: 9+6=15, Resulting Numbers: [66, 98, 15] Generated Node #0,2: 47:[66, 98, 15] Operation: 9+6=15 Exploring Operation: 98-66=32, Resulting Numbers: [9, 6, 32] Generated Node #0,3: 47:[9, 6, 32] Operation: 98-66=32 Moving to Node #0,0 Current State: 47:[66, 98, 54], Operations: ['9*6=54'] Exploring Operation: 98-66=32, Resulting Numbers: [54, 32] Generated Node #0,0,0: 47:[54, 32] Operation: 98-66=32 Exploring Operation: 98-54=44, Resulting Numbers: [66, 44] Generated Node #0,0,1: 47:[66, 44] Operation: 98-54=44 Exploring Operation: 66-54=12, Resulting Numbers: [98, 12] Generated Node #0,0,2: 47:[98, 12] Operation: 66-54=12 Exploring Operation: 66+98=164, Resulting Numbers: [54, 164] Generated Node #0,0,3: 47:[54, 164] Operation: 66+98=164 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[54, 32], Operations: ['9*6=54', '98-66=32'] Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,47 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,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,1 Current State: 47:[66, 44], Operations: ['9*6=54', '98-54=44'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 66*44=2904, Resulting Numbers: [2904] 2904,47 unequal: No Solution Exploring Operation: 66+44=110, Resulting Numbers: [110] 110,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,2 Current State: 47:[98, 12], Operations: ['9*6=54', '66-54=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,47 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,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:[54, 164], Operations: ['9*6=54', '66+98=164'] Exploring Operation: 54*164=8856, Resulting Numbers: [8856] 8856,47 unequal: No Solution Exploring Operation: 54+164=218, Resulting Numbers: [218] 218,47 unequal: No Solution Exploring Operation: 164-54=110, Resulting Numbers: [110] 110,47 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: 47:[9, 6, 32], Operations: ['98-66=32'] Exploring Operation: 9+32=41, Resulting Numbers: [6, 41] Generated Node #0,3,0: 47:[6, 41] Operation: 9+32=41 Exploring Operation: 6+32=38, Resulting Numbers: [9, 38] Generated Node #0,3,1: 47:[9, 38] Operation: 6+32=38 Exploring Operation: 9*6=54, Resulting Numbers: [32, 54] Generated Node #0,3,2: 47:[32, 54] Operation: 9*6=54 Exploring Operation: 9+6=15, Resulting Numbers: [32, 15] Generated Node #0,3,3: 47:[32, 15] Operation: 9+6=15 Moving to Node #0,2 Current State: 47:[66, 98, 15], Operations: ['9+6=15'] Exploring Operation: 66-15=51, Resulting Numbers: [98, 51] Generated Node #0,2,0: 47:[98, 51] Operation: 66-15=51 Exploring Operation: 66+15=81, Resulting Numbers: [98, 81] Generated Node #0,2,1: 47:[98, 81] Operation: 66+15=81 Exploring Operation: 98-15=83, Resulting Numbers: [66, 83] Generated Node #0,2,2: 47:[66, 83] Operation: 98-15=83 Exploring Operation: 98-66=32, Resulting Numbers: [15, 32] Generated Node #0,2,3: 47:[15, 32] Operation: 98-66=32 Moving to Node #0,1 Current State: 47:[6, 98, 57], Operations: ['66-9=57'] Exploring Operation: 98-57=41, Resulting Numbers: [6, 41] Generated Node #0,1,0: 47:[6, 41] Operation: 98-57=41 Exploring Operation: 98-6=92, Resulting Numbers: [57, 92] Generated Node #0,1,1: 47:[57, 92] Operation: 98-6=92 Exploring Operation: 57-6=51, Resulting Numbers: [98, 51] Generated Node #0,1,2: 47:[98, 51] Operation: 57-6=51 Exploring Operation: 6+98=104, Resulting Numbers: [57, 104] Generated Node #0,1,3: 47:[57, 104] Operation: 6+98=104 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[6, 41], Operations: ['66-9=57', '98-57=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[9, 66, 6, 98], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [6, 98, 57] Generated Node #0,1: 47:[6, 98, 57] Operation: 66-9=57 Moving to Node #0,1 Current State: 47:[6, 98, 57], Operations: ['66-9=57'] Exploring Operation: 98-57=41, Resulting Numbers: [6, 41] Generated Node #0,1,0: 47:[6, 41] Operation: 98-57=41 Moving to Node #0,1,0 Current State: 47:[6, 41], Operations: ['66-9=57', '98-57=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 17, 47, 10, 87 ]
68
[ "87-47=40", "17*40=680", "680/10=68" ]
Current State: 68:[17, 47, 10, 87], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [17, 10, 40] Generated Node #2: [17, 10, 40] from Operation: 87-47=40 Current State: 68:[17, 10, 40], Operations: ['87-47=40'] Exploring Operation: 17*40=680, Resulting Numbers: [10, 680] Generated Node #3: [10, 680] from Operation: 17*40=680 Current State: 68:[10, 680], Operations: ['87-47=40', '17*40=680'] Exploring Operation: 680/10=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 47, 10, 87], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [17, 87, 37] Generated Node #0,0: 68:[17, 87, 37] Operation: 47-10=37 Exploring Operation: 87-10=77, Resulting Numbers: [17, 47, 77] Generated Node #0,1: 68:[17, 47, 77] Operation: 87-10=77 Exploring Operation: 17+47=64, Resulting Numbers: [10, 87, 64] Generated Node #0,2: 68:[10, 87, 64] Operation: 17+47=64 Exploring Operation: 87-17=70, Resulting Numbers: [47, 10, 70] Generated Node #0,3: 68:[47, 10, 70] Operation: 87-17=70 Exploring Operation: 87-47=40, Resulting Numbers: [17, 10, 40] Generated Node #0,4: 68:[17, 10, 40] Operation: 87-47=40 Moving to Node #0,4 Current State: 68:[17, 10, 40], Operations: ['87-47=40'] Exploring Operation: 40-17=23, Resulting Numbers: [10, 23] Generated Node #0,4,0: 68:[10, 23] Operation: 40-17=23 Exploring Operation: 40/10=4, Resulting Numbers: [17, 4] Generated Node #0,4,1: 68:[17, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [17, 30] Generated Node #0,4,2: 68:[17, 30] Operation: 40-10=30 Exploring Operation: 17-10=7, Resulting Numbers: [40, 7] Generated Node #0,4,3: 68:[40, 7] Operation: 17-10=7 Exploring Operation: 17+10=27, Resulting Numbers: [40, 27] Generated Node #0,4,4: 68:[40, 27] Operation: 17+10=27 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 68:[17, 4], Operations: ['87-47=40', '40/10=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[17, 47, 10, 87], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [17, 10, 40] Generated Node #0,4: 68:[17, 10, 40] Operation: 87-47=40 Moving to Node #0,4 Current State: 68:[17, 10, 40], Operations: ['87-47=40'] Exploring Operation: 40/10=4, Resulting Numbers: [17, 4] Generated Node #0,4,1: 68:[17, 4] Operation: 40/10=4 Moving to Node #0,4,1 Current State: 68:[17, 4], Operations: ['87-47=40', '40/10=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 19, 44, 75, 14 ]
42
[ "44-19=25", "75*14=1050", "1050/25=42" ]
Current State: 42:[19, 44, 75, 14], Operations: [] Exploring Operation: 44-19=25, Resulting Numbers: [75, 14, 25] Generated Node #2: [75, 14, 25] from Operation: 44-19=25 Current State: 42:[75, 14, 25], Operations: ['44-19=25'] Exploring Operation: 75*14=1050, Resulting Numbers: [25, 1050] Generated Node #3: [25, 1050] from Operation: 75*14=1050 Current State: 42:[25, 1050], Operations: ['44-19=25', '75*14=1050'] Exploring Operation: 1050/25=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[19, 44, 75, 14], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [44, 75, 5] Generated Node #0,0: 42:[44, 75, 5] Operation: 19-14=5 Exploring Operation: 75-44=31, Resulting Numbers: [19, 14, 31] Generated Node #0,1: 42:[19, 14, 31] Operation: 75-44=31 Exploring Operation: 75-14=61, Resulting Numbers: [19, 44, 61] Generated Node #0,2: 42:[19, 44, 61] Operation: 75-14=61 Exploring Operation: 75-19=56, Resulting Numbers: [44, 14, 56] Generated Node #0,3: 42:[44, 14, 56] Operation: 75-19=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[19, 14, 31], Operations: ['75-44=31'] Exploring Operation: 14+31=45, Resulting Numbers: [19, 45] Generated Node #0,1,0: 42:[19, 45] Operation: 14+31=45 Exploring Operation: 31-14=17, Resulting Numbers: [19, 17] Generated Node #0,1,1: 42:[19, 17] Operation: 31-14=17 Exploring Operation: 31-19=12, Resulting Numbers: [14, 12] Generated Node #0,1,2: 42:[14, 12] Operation: 31-19=12 Exploring Operation: 19+31=50, Resulting Numbers: [14, 50] Generated Node #0,1,3: 42:[14, 50] Operation: 19+31=50 Moving to Node #0,1,2 Current State: 42:[14, 12], Operations: ['75-44=31', '31-19=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[19, 17], Operations: ['75-44=31', '31-14=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,42 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[19, 45], Operations: ['75-44=31', '14+31=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[14, 50], Operations: ['75-44=31', '19+31=50'] Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,42 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[44, 14, 56], Operations: ['75-19=56'] Exploring Operation: 56-14=42, Resulting Numbers: [44, 42] Generated Node #0,3,0: 42:[44, 42] Operation: 56-14=42 Exploring Operation: 44-14=30, Resulting Numbers: [56, 30] Generated Node #0,3,1: 42:[56, 30] Operation: 44-14=30 Exploring Operation: 56/14=4, Resulting Numbers: [44, 4] Generated Node #0,3,2: 42:[44, 4] Operation: 56/14=4 Exploring Operation: 56-44=12, Resulting Numbers: [14, 12] Generated Node #0,3,3: 42:[14, 12] Operation: 56-44=12 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[44, 42], Operations: ['75-19=56', '56-14=42'] Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[14, 12], Operations: ['75-19=56', '56-44=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[44, 4], Operations: ['75-19=56', '56/14=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,42 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[56, 30], Operations: ['75-19=56', '44-14=30'] Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,42 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[19, 44, 61], Operations: ['75-14=61'] Exploring Operation: 61-44=17, Resulting Numbers: [19, 17] Generated Node #0,2,0: 42:[19, 17] Operation: 61-44=17 Exploring Operation: 44-19=25, Resulting Numbers: [61, 25] Generated Node #0,2,1: 42:[61, 25] Operation: 44-19=25 Exploring Operation: 19+44=63, Resulting Numbers: [61, 63] Generated Node #0,2,2: 42:[61, 63] Operation: 19+44=63 Exploring Operation: 61-19=42, Resulting Numbers: [44, 42] Generated Node #0,2,3: 42:[44, 42] Operation: 61-19=42 Moving to Node #0,2,3 Current State: 42:[44, 42], Operations: ['75-14=61', '61-19=42'] Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[19, 17], Operations: ['75-14=61', '61-44=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,42 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[61, 25], Operations: ['75-14=61', '44-19=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,42 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[61, 63], Operations: ['75-14=61', '19+44=63'] Exploring Operation: 61+63=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 61*63=3843, Resulting Numbers: [3843] 3843,42 unequal: No Solution Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[44, 75, 5], Operations: ['19-14=5'] Exploring Operation: 44-5=39, Resulting Numbers: [75, 39] Generated Node #0,0,0: 42:[75, 39] Operation: 44-5=39 Exploring Operation: 75-44=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 42:[5, 31] Operation: 75-44=31 Exploring Operation: 75/5=15, Resulting Numbers: [44, 15] Generated Node #0,0,2: 42:[44, 15] Operation: 75/5=15 Exploring Operation: 75-5=70, Resulting Numbers: [44, 70] Generated Node #0,0,3: 42:[44, 70] Operation: 75-5=70 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[44, 15], Operations: ['19-14=5', '75/5=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[5, 31], Operations: ['19-14=5', '75-44=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,42 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[44, 70], Operations: ['19-14=5', '75-5=70'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,42 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[75, 39], Operations: ['19-14=5', '44-5=39'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,42 unequal: No Solution Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 4, 27, 48, 34 ]
26
[ "4*27=108", "48+34=82", "108-82=26" ]
Current State: 26:[4, 27, 48, 34], Operations: [] Exploring Operation: 4*27=108, Resulting Numbers: [48, 34, 108] Generated Node #2: [48, 34, 108] from Operation: 4*27=108 Current State: 26:[48, 34, 108], Operations: ['4*27=108'] Exploring Operation: 48+34=82, Resulting Numbers: [108, 82] Generated Node #3: [108, 82] from Operation: 48+34=82 Current State: 26:[108, 82], Operations: ['4*27=108', '48+34=82'] Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 27, 48, 34], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [27, 34, 12] Generated Node #0,0: 26:[27, 34, 12] Operation: 48/4=12 Exploring Operation: 48-4=44, Resulting Numbers: [27, 34, 44] Generated Node #0,1: 26:[27, 34, 44] Operation: 48-4=44 Exploring Operation: 48-34=14, Resulting Numbers: [4, 27, 14] Generated Node #0,2: 26:[4, 27, 14] Operation: 48-34=14 Exploring Operation: 34-4=30, Resulting Numbers: [27, 48, 30] Generated Node #0,3: 26:[27, 48, 30] Operation: 34-4=30 Exploring Operation: 48-27=21, Resulting Numbers: [4, 34, 21] Generated Node #0,4: 26:[4, 34, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[4, 27, 14], Operations: ['48-34=14'] Exploring Operation: 4+27=31, Resulting Numbers: [14, 31] Generated Node #0,2,0: 26:[14, 31] Operation: 4+27=31 Exploring Operation: 27-4=23, Resulting Numbers: [14, 23] Generated Node #0,2,1: 26:[14, 23] Operation: 27-4=23 Exploring Operation: 4+14=18, Resulting Numbers: [27, 18] Generated Node #0,2,2: 26:[27, 18] Operation: 4+14=18 Exploring Operation: 14-4=10, Resulting Numbers: [27, 10] Generated Node #0,2,3: 26:[27, 10] Operation: 14-4=10 Exploring Operation: 27-14=13, Resulting Numbers: [4, 13] Generated Node #0,2,4: 26:[4, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 26:[4, 13], Operations: ['48-34=14', '27-14=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,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,1 Current State: 26:[14, 23], Operations: ['48-34=14', '27-4=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,26 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,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,3 Current State: 26:[27, 10], Operations: ['48-34=14', '14-4=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,26 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,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:[14, 31], Operations: ['48-34=14', '4+27=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,26 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,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:[27, 18], Operations: ['48-34=14', '4+14=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,26 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,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,0 Current State: 26:[27, 34, 12], Operations: ['48/4=12'] Exploring Operation: 27+12=39, Resulting Numbers: [34, 39] Generated Node #0,0,0: 26:[34, 39] Operation: 27+12=39 Exploring Operation: 34-27=7, Resulting Numbers: [12, 7] Generated Node #0,0,1: 26:[12, 7] Operation: 34-27=7 Exploring Operation: 27-12=15, Resulting Numbers: [34, 15] Generated Node #0,0,2: 26:[34, 15] Operation: 27-12=15 Exploring Operation: 34-12=22, Resulting Numbers: [27, 22] Generated Node #0,0,3: 26:[27, 22] Operation: 34-12=22 Exploring Operation: 34+12=46, Resulting Numbers: [27, 46] Generated Node #0,0,4: 26:[27, 46] Operation: 34+12=46 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[27, 22], Operations: ['48/4=12', '34-12=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,26 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,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,1 Current State: 26:[12, 7], Operations: ['48/4=12', '34-27=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,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:[34, 15], Operations: ['48/4=12', '27-12=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,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:[34, 39], Operations: ['48/4=12', '27+12=39'] Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,26 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,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,4 Current State: 26:[27, 46], Operations: ['48/4=12', '34+12=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,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,4 Current State: 26:[4, 34, 21], Operations: ['48-27=21'] Exploring Operation: 21-4=17, Resulting Numbers: [34, 17] Generated Node #0,4,0: 26:[34, 17] Operation: 21-4=17 Exploring Operation: 34-4=30, Resulting Numbers: [21, 30] Generated Node #0,4,1: 26:[21, 30] Operation: 34-4=30 Exploring Operation: 4+34=38, Resulting Numbers: [21, 38] Generated Node #0,4,2: 26:[21, 38] Operation: 4+34=38 Exploring Operation: 4+21=25, Resulting Numbers: [34, 25] Generated Node #0,4,3: 26:[34, 25] Operation: 4+21=25 Exploring Operation: 34-21=13, Resulting Numbers: [4, 13] Generated Node #0,4,4: 26:[4, 13] Operation: 34-21=13 Moving to Node #0,4,4 Current State: 26:[4, 13], Operations: ['48-27=21', '34-21=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[34, 25], Operations: ['48-27=21', '4+21=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,26 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[21, 30], Operations: ['48-27=21', '34-4=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,26 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[34, 17], Operations: ['48-27=21', '21-4=17'] Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,26 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,26 unequal: No Solution Moving to Node #0,4,2 Current State: 26:[21, 38], Operations: ['48-27=21', '4+34=38'] Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,26 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,26 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,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,1 Current State: 26:[27, 34, 44], Operations: ['48-4=44'] Exploring Operation: 27+44=71, Resulting Numbers: [34, 71] Generated Node #0,1,0: 26:[34, 71] Operation: 27+44=71 Exploring Operation: 44-34=10, Resulting Numbers: [27, 10] Generated Node #0,1,1: 26:[27, 10] Operation: 44-34=10 Exploring Operation: 27+34=61, Resulting Numbers: [44, 61] Generated Node #0,1,2: 26:[44, 61] Operation: 27+34=61 Exploring Operation: 34-27=7, Resulting Numbers: [44, 7] Generated Node #0,1,3: 26:[44, 7] Operation: 34-27=7 Exploring Operation: 44-27=17, Resulting Numbers: [34, 17] Generated Node #0,1,4: 26:[34, 17] Operation: 44-27=17 Moving to Node #0,1,1 Current State: 26:[27, 10], Operations: ['48-4=44', '44-34=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,26 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[34, 17], Operations: ['48-4=44', '44-27=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[44, 7], Operations: ['48-4=44', '34-27=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[34, 71], Operations: ['48-4=44', '27+44=71'] Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,26 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[44, 61], Operations: ['48-4=44', '27+34=61'] Exploring Operation: 44*61=2684, Resulting Numbers: [2684] 2684,26 unequal: No Solution Exploring Operation: 44+61=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,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,3 Current State: 26:[27, 48, 30], Operations: ['34-4=30'] Exploring Operation: 30-27=3, Resulting Numbers: [48, 3] Generated Node #0,3,0: 26:[48, 3] Operation: 30-27=3 Exploring Operation: 27+48=75, Resulting Numbers: [30, 75] Generated Node #0,3,1: 26:[30, 75] Operation: 27+48=75 Exploring Operation: 48-27=21, Resulting Numbers: [30, 21] Generated Node #0,3,2: 26:[30, 21] Operation: 48-27=21 Exploring Operation: 48-30=18, Resulting Numbers: [27, 18] Generated Node #0,3,3: 26:[27, 18] Operation: 48-30=18 Exploring Operation: 27+30=57, Resulting Numbers: [48, 57] Generated Node #0,3,4: 26:[48, 57] Operation: 27+30=57 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[27, 18], Operations: ['34-4=30', '48-30=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,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,3,2 Current State: 26:[30, 21], Operations: ['34-4=30', '48-27=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,26 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,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,3,0 Current State: 26:[48, 3], Operations: ['34-4=30', '30-27=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,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,3,1 Current State: 26:[30, 75], Operations: ['34-4=30', '27+48=75'] Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,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,3,4 Current State: 26:[48, 57], Operations: ['34-4=30', '27+30=57'] Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,26 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,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_5
mult_heuristic
[ 17, 7, 1, 78 ]
89
[ "17-7=10", "1+78=79", "10+79=89" ]
Current State: 89:[17, 7, 1, 78], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [1, 78, 10] Generated Node #2: [1, 78, 10] from Operation: 17-7=10 Current State: 89:[1, 78, 10], Operations: ['17-7=10'] Exploring Operation: 1+78=79, Resulting Numbers: [10, 79] Generated Node #3: [10, 79] from Operation: 1+78=79 Current State: 89:[10, 79], Operations: ['17-7=10', '1+78=79'] Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[17, 7, 1, 78], Operations: [] Exploring Operation: 17*7=119, Resulting Numbers: [1, 78, 119] Generated Node #0,0: 89:[1, 78, 119] Operation: 17*7=119 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[1, 78, 119], Operations: ['17*7=119'] Exploring Operation: 1+78=79, Resulting Numbers: [119, 79] Generated Node #0,0,0: 89:[119, 79] Operation: 1+78=79 Moving to Node #0,0,0 Current State: 89:[119, 79], Operations: ['17*7=119', '1+78=79'] Exploring Operation: 119-79=40, Resulting Numbers: [40] 40,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 72, 36, 3 ]
14
[ "91-72=19", "36-3=33", "33-19=14" ]
Current State: 14:[91, 72, 36, 3], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [36, 3, 19] Generated Node #2: [36, 3, 19] from Operation: 91-72=19 Current State: 14:[36, 3, 19], Operations: ['91-72=19'] Exploring Operation: 36-3=33, Resulting Numbers: [19, 33] Generated Node #3: [19, 33] from Operation: 36-3=33 Current State: 14:[19, 33], Operations: ['91-72=19', '36-3=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[91, 72, 36, 3], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [36, 3, 19] Generated Node #0,0: 14:[36, 3, 19] Operation: 91-72=19 Exploring Operation: 72/36=2, Resulting Numbers: [91, 3, 2] Generated Node #0,1: 14:[91, 3, 2] Operation: 72/36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[36, 3, 19], Operations: ['91-72=19'] Exploring Operation: 36/3=12, Resulting Numbers: [19, 12] Generated Node #0,0,0: 14:[19, 12] Operation: 36/3=12 Exploring Operation: 36-19=17, Resulting Numbers: [3, 17] Generated Node #0,0,1: 14:[3, 17] Operation: 36-19=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[3, 17], Operations: ['91-72=19', '36-19=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[91, 72, 36, 3], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [36, 3, 19] Generated Node #0,0: 14:[36, 3, 19] Operation: 91-72=19 Moving to Node #0,0 Current State: 14:[36, 3, 19], Operations: ['91-72=19'] Exploring Operation: 36-19=17, Resulting Numbers: [3, 17] Generated Node #0,0,1: 14:[3, 17] Operation: 36-19=17 Moving to Node #0,0,1 Current State: 14:[3, 17], Operations: ['91-72=19', '36-19=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 75, 27, 92, 50 ]
46
[ "75-27=48", "50-48=2", "92/2=46" ]
Current State: 46:[75, 27, 92, 50], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [92, 50, 48] Generated Node #2: [92, 50, 48] from Operation: 75-27=48 Current State: 46:[92, 50, 48], Operations: ['75-27=48'] Exploring Operation: 50-48=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 50-48=2 Current State: 46:[92, 2], Operations: ['75-27=48', '50-48=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[75, 27, 92, 50], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [27, 50, 17] Generated Node #0,0: 46:[27, 50, 17] Operation: 92-75=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[27, 50, 17], Operations: ['92-75=17'] Exploring Operation: 50-27=23, Resulting Numbers: [17, 23] Generated Node #0,0,0: 46:[17, 23] Operation: 50-27=23 Moving to Node #0,0,0 Current State: 46:[17, 23], Operations: ['92-75=17', '50-27=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,46 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
[ 86, 16, 67, 95 ]
98
[ "86-16=70", "95-67=28", "70+28=98" ]
Current State: 98:[86, 16, 67, 95], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [67, 95, 70] Generated Node #2: [67, 95, 70] from Operation: 86-16=70 Current State: 98:[67, 95, 70], Operations: ['86-16=70'] Exploring Operation: 95-67=28, Resulting Numbers: [70, 28] Generated Node #3: [70, 28] from Operation: 95-67=28 Current State: 98:[70, 28], Operations: ['86-16=70', '95-67=28'] Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[86, 16, 67, 95], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [86, 95, 51] Generated Node #0,0: 98:[86, 95, 51] Operation: 67-16=51 Exploring Operation: 86-67=19, Resulting Numbers: [16, 95, 19] Generated Node #0,1: 98:[16, 95, 19] Operation: 86-67=19 Exploring Operation: 86+16=102, Resulting Numbers: [67, 95, 102] Generated Node #0,2: 98:[67, 95, 102] Operation: 86+16=102 Exploring Operation: 95-86=9, Resulting Numbers: [16, 67, 9] Generated Node #0,3: 98:[16, 67, 9] Operation: 95-86=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[16, 95, 19], Operations: ['86-67=19'] Exploring Operation: 19-16=3, Resulting Numbers: [95, 3] Generated Node #0,1,0: 98:[95, 3] Operation: 19-16=3 Exploring Operation: 16+95=111, Resulting Numbers: [19, 111] Generated Node #0,1,1: 98:[19, 111] Operation: 16+95=111 Exploring Operation: 16+19=35, Resulting Numbers: [95, 35] Generated Node #0,1,2: 98:[95, 35] Operation: 16+19=35 Exploring Operation: 95/19=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 98:[16, 5] Operation: 95/19=5 Moving to Node #0,1,0 Current State: 98:[95, 3], Operations: ['86-67=19', '19-16=3'] Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,98 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[86, 16, 67, 95], Operations: [] Exploring Operation: 86-67=19, Resulting Numbers: [16, 95, 19] Generated Node #0,1: 98:[16, 95, 19] Operation: 86-67=19 Moving to Node #0,1 Current State: 98:[16, 95, 19], Operations: ['86-67=19'] Exploring Operation: 19-16=3, Resulting Numbers: [95, 3] Generated Node #0,1,0: 98:[95, 3] Operation: 19-16=3 Moving to Node #0,1,0 Current State: 98:[95, 3], Operations: ['86-67=19', '19-16=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 39, 36, 5, 89 ]
19
[ "39+36=75", "5+89=94", "94-75=19" ]
Current State: 19:[39, 36, 5, 89], Operations: [] Exploring Operation: 39+36=75, Resulting Numbers: [5, 89, 75] Generated Node #2: [5, 89, 75] from Operation: 39+36=75 Current State: 19:[5, 89, 75], Operations: ['39+36=75'] Exploring Operation: 5+89=94, Resulting Numbers: [75, 94] Generated Node #3: [75, 94] from Operation: 5+89=94 Current State: 19:[75, 94], Operations: ['39+36=75', '5+89=94'] Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[39, 36, 5, 89], Operations: [] Exploring Operation: 89-36=53, Resulting Numbers: [39, 5, 53] Generated Node #0,0: 19:[39, 5, 53] Operation: 89-36=53 Exploring Operation: 39-36=3, Resulting Numbers: [5, 89, 3] Generated Node #0,1: 19:[5, 89, 3] Operation: 39-36=3 Exploring Operation: 89-39=50, Resulting Numbers: [36, 5, 50] Generated Node #0,2: 19:[36, 5, 50] Operation: 89-39=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[36, 5, 50], Operations: ['89-39=50'] Exploring Operation: 50-36=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 19:[5, 14] Operation: 50-36=14 Exploring Operation: 50/5=10, Resulting Numbers: [36, 10] Generated Node #0,2,1: 19:[36, 10] Operation: 50/5=10 Exploring Operation: 36-5=31, Resulting Numbers: [50, 31] Generated Node #0,2,2: 19:[50, 31] Operation: 36-5=31 Moving to Node #0,2,0 Current State: 19:[5, 14], Operations: ['89-39=50', '50-36=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[39, 36, 5, 89], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [36, 5, 50] Generated Node #0,2: 19:[36, 5, 50] Operation: 89-39=50 Moving to Node #0,2 Current State: 19:[36, 5, 50], Operations: ['89-39=50'] Exploring Operation: 50-36=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 19:[5, 14] Operation: 50-36=14 Moving to Node #0,2,0 Current State: 19:[5, 14], Operations: ['89-39=50', '50-36=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 55, 42, 88, 77 ]
68
[ "55+42=97", "88+77=165", "165-97=68" ]
Current State: 68:[55, 42, 88, 77], Operations: [] Exploring Operation: 55+42=97, Resulting Numbers: [88, 77, 97] Generated Node #2: [88, 77, 97] from Operation: 55+42=97 Current State: 68:[88, 77, 97], Operations: ['55+42=97'] Exploring Operation: 88+77=165, Resulting Numbers: [97, 165] Generated Node #3: [97, 165] from Operation: 88+77=165 Current State: 68:[97, 165], Operations: ['55+42=97', '88+77=165'] Exploring Operation: 165-97=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[55, 42, 88, 77], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [42, 77, 33] Generated Node #0,0: 68:[42, 77, 33] Operation: 88-55=33 Exploring Operation: 88-77=11, Resulting Numbers: [55, 42, 11] Generated Node #0,1: 68:[55, 42, 11] Operation: 88-77=11 Exploring Operation: 55-42=13, Resulting Numbers: [88, 77, 13] Generated Node #0,2: 68:[88, 77, 13] Operation: 55-42=13 Moving to Node #0,0 Current State: 68:[42, 77, 33], Operations: ['88-55=33'] Exploring Operation: 42-33=9, Resulting Numbers: [77, 9] Generated Node #0,0,0: 68:[77, 9] Operation: 42-33=9 Exploring Operation: 42+33=75, Resulting Numbers: [77, 75] Generated Node #0,0,1: 68:[77, 75] Operation: 42+33=75 Exploring Operation: 77-42=35, Resulting Numbers: [33, 35] Generated Node #0,0,2: 68:[33, 35] Operation: 77-42=35 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[33, 35], Operations: ['88-55=33', '77-42=35'] Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,68 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[55, 42, 88, 77], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [42, 77, 33] Generated Node #0,0: 68:[42, 77, 33] Operation: 88-55=33 Moving to Node #0,0 Current State: 68:[42, 77, 33], Operations: ['88-55=33'] Exploring Operation: 77-42=35, Resulting Numbers: [33, 35] Generated Node #0,0,2: 68:[33, 35] Operation: 77-42=35 Moving to Node #0,0,2 Current State: 68:[33, 35], Operations: ['88-55=33', '77-42=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 50, 21, 28, 63 ]
59
[ "28-21=7", "63/7=9", "50+9=59" ]
Current State: 59:[50, 21, 28, 63], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [50, 63, 7] Generated Node #2: [50, 63, 7] from Operation: 28-21=7 Current State: 59:[50, 63, 7], Operations: ['28-21=7'] Exploring Operation: 63/7=9, Resulting Numbers: [50, 9] Generated Node #3: [50, 9] from Operation: 63/7=9 Current State: 59:[50, 9], Operations: ['28-21=7', '63/7=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[50, 21, 28, 63], Operations: [] Exploring Operation: 50+28=78, Resulting Numbers: [21, 63, 78] Generated Node #0,0: 59:[21, 63, 78] Operation: 50+28=78 Exploring Operation: 63-21=42, Resulting Numbers: [50, 28, 42] Generated Node #0,1: 59:[50, 28, 42] Operation: 63-21=42 Exploring Operation: 50+21=71, Resulting Numbers: [28, 63, 71] Generated Node #0,2: 59:[28, 63, 71] Operation: 50+21=71 Exploring Operation: 21+28=49, Resulting Numbers: [50, 63, 49] Generated Node #0,3: 59:[50, 63, 49] Operation: 21+28=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[50, 63, 49], Operations: ['21+28=49'] Exploring Operation: 50-49=1, Resulting Numbers: [63, 1] Generated Node #0,3,0: 59:[63, 1] Operation: 50-49=1 Exploring Operation: 50+49=99, Resulting Numbers: [63, 99] Generated Node #0,3,1: 59:[63, 99] Operation: 50+49=99 Exploring Operation: 63-50=13, Resulting Numbers: [49, 13] Generated Node #0,3,2: 59:[49, 13] Operation: 63-50=13 Exploring Operation: 63-49=14, Resulting Numbers: [50, 14] Generated Node #0,3,3: 59:[50, 14] Operation: 63-49=14 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[63, 99], Operations: ['21+28=49', '50+49=99'] Exploring Operation: 63+99=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 63*99=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[50, 14], Operations: ['21+28=49', '63-49=14'] Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,59 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[49, 13], Operations: ['21+28=49', '63-50=13'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,59 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[63, 1], Operations: ['21+28=49', '50-49=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[28, 63, 71], Operations: ['50+21=71'] Exploring Operation: 63-28=35, Resulting Numbers: [71, 35] Generated Node #0,2,0: 59:[71, 35] Operation: 63-28=35 Exploring Operation: 28+63=91, Resulting Numbers: [71, 91] Generated Node #0,2,1: 59:[71, 91] Operation: 28+63=91 Exploring Operation: 28+71=99, Resulting Numbers: [63, 99] Generated Node #0,2,2: 59:[63, 99] Operation: 28+71=99 Exploring Operation: 71-28=43, Resulting Numbers: [63, 43] Generated Node #0,2,3: 59:[63, 43] Operation: 71-28=43 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[63, 43], Operations: ['50+21=71', '71-28=43'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[71, 35], Operations: ['50+21=71', '63-28=35'] Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,59 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[71, 91], Operations: ['50+21=71', '28+63=91'] Exploring Operation: 91-71=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 71+91=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 71*91=6461, Resulting Numbers: [6461] 6461,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[63, 99], Operations: ['50+21=71', '28+71=99'] Exploring Operation: 63+99=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 63*99=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[50, 28, 42], Operations: ['63-21=42'] Exploring Operation: 50-28=22, Resulting Numbers: [42, 22] Generated Node #0,1,0: 59:[42, 22] Operation: 50-28=22 Exploring Operation: 50+28=78, Resulting Numbers: [42, 78] Generated Node #0,1,1: 59:[42, 78] Operation: 50+28=78 Exploring Operation: 28+42=70, Resulting Numbers: [50, 70] Generated Node #0,1,2: 59:[50, 70] Operation: 28+42=70 Exploring Operation: 42-28=14, Resulting Numbers: [50, 14] Generated Node #0,1,3: 59:[50, 14] Operation: 42-28=14 Moving to Node #0,1,2 Current State: 59:[50, 70], Operations: ['63-21=42', '28+42=70'] Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,59 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[42, 78], Operations: ['63-21=42', '50+28=78'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 42+78=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 42*78=3276, Resulting Numbers: [3276] 3276,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[50, 14], Operations: ['63-21=42', '42-28=14'] Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[42, 22], Operations: ['63-21=42', '50-28=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,59 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[21, 63, 78], Operations: ['50+28=78'] Exploring Operation: 21+63=84, Resulting Numbers: [78, 84] Generated Node #0,0,0: 59:[78, 84] Operation: 21+63=84 Exploring Operation: 63-21=42, Resulting Numbers: [78, 42] Generated Node #0,0,1: 59:[78, 42] Operation: 63-21=42 Exploring Operation: 21+78=99, Resulting Numbers: [63, 99] Generated Node #0,0,2: 59:[63, 99] Operation: 21+78=99 Exploring Operation: 78-21=57, Resulting Numbers: [63, 57] Generated Node #0,0,3: 59:[63, 57] Operation: 78-21=57 Moving to Node #0,0,3 Current State: 59:[63, 57], Operations: ['50+28=78', '78-21=57'] Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,59 unequal: No Solution Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[78, 42], Operations: ['50+28=78', '63-21=42'] Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,59 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[63, 99], Operations: ['50+28=78', '21+78=99'] Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 63+99=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 63*99=6237, Resulting Numbers: [6237] 6237,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[78, 84], Operations: ['50+28=78', '21+63=84'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,59 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,59 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
[ 28, 4, 1, 52 ]
14
[ "28-1=27", "52/4=13", "27-13=14" ]
Current State: 14:[28, 4, 1, 52], Operations: [] Exploring Operation: 28-1=27, Resulting Numbers: [4, 52, 27] Generated Node #2: [4, 52, 27] from Operation: 28-1=27 Current State: 14:[4, 52, 27], Operations: ['28-1=27'] Exploring Operation: 52/4=13, Resulting Numbers: [27, 13] Generated Node #3: [27, 13] from Operation: 52/4=13 Current State: 14:[27, 13], Operations: ['28-1=27', '52/4=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[28, 4, 1, 52], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [1, 52, 7] Generated Node #0,0: 14:[1, 52, 7] Operation: 28/4=7 Exploring Operation: 52-28=24, Resulting Numbers: [4, 1, 24] Generated Node #0,1: 14:[4, 1, 24] Operation: 52-28=24 Exploring Operation: 28-4=24, Resulting Numbers: [1, 52, 24] Generated Node #0,2: 14:[1, 52, 24] Operation: 28-4=24 Exploring Operation: 52/4=13, Resulting Numbers: [28, 1, 13] Generated Node #0,3: 14:[28, 1, 13] Operation: 52/4=13 Moving to Node #0,1 Current State: 14:[4, 1, 24], Operations: ['52-28=24'] Exploring Operation: 24-4=20, Resulting Numbers: [1, 20] Generated Node #0,1,0: 14:[1, 20] Operation: 24-4=20 Exploring Operation: 4-1=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 14:[24, 3] Operation: 4-1=3 Exploring Operation: 24-1=23, Resulting Numbers: [4, 23] Generated Node #0,1,2: 14:[4, 23] Operation: 24-1=23 Exploring Operation: 24/4=6, Resulting Numbers: [1, 6] Generated Node #0,1,3: 14:[1, 6] Operation: 24/4=6 Moving to Node #0,3 Current State: 14:[28, 1, 13], Operations: ['52/4=13'] Exploring Operation: 28-1=27, Resulting Numbers: [13, 27] Generated Node #0,3,0: 14:[13, 27] Operation: 28-1=27 Exploring Operation: 28-13=15, Resulting Numbers: [1, 15] Generated Node #0,3,1: 14:[1, 15] Operation: 28-13=15 Exploring Operation: 28*1=28, Resulting Numbers: [13, 28] Generated Node #0,3,2: 14:[13, 28] Operation: 28*1=28 Exploring Operation: 1+13=14, Resulting Numbers: [28, 14] Generated Node #0,3,3: 14:[28, 14] Operation: 1+13=14 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[1, 15], Operations: ['52/4=13', '28-13=15'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[28, 4, 1, 52], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [28, 1, 13] Generated Node #0,3: 14:[28, 1, 13] Operation: 52/4=13 Moving to Node #0,3 Current State: 14:[28, 1, 13], Operations: ['52/4=13'] Exploring Operation: 28-13=15, Resulting Numbers: [1, 15] Generated Node #0,3,1: 14:[1, 15] Operation: 28-13=15 Moving to Node #0,3,1 Current State: 14:[1, 15], Operations: ['52/4=13', '28-13=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 33, 21, 59, 84 ]
37
[ "33-21=12", "84-59=25", "12+25=37" ]
Current State: 37:[33, 21, 59, 84], Operations: [] Exploring Operation: 33-21=12, Resulting Numbers: [59, 84, 12] Generated Node #2: [59, 84, 12] from Operation: 33-21=12 Current State: 37:[59, 84, 12], Operations: ['33-21=12'] Exploring Operation: 84-59=25, Resulting Numbers: [12, 25] Generated Node #3: [12, 25] from Operation: 84-59=25 Current State: 37:[12, 25], Operations: ['33-21=12', '84-59=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[33, 21, 59, 84], Operations: [] Exploring Operation: 84-33=51, Resulting Numbers: [21, 59, 51] Generated Node #0,0: 37:[21, 59, 51] Operation: 84-33=51 Exploring Operation: 59-21=38, Resulting Numbers: [33, 84, 38] Generated Node #0,1: 37:[33, 84, 38] Operation: 59-21=38 Exploring Operation: 84-59=25, Resulting Numbers: [33, 21, 25] Generated Node #0,2: 37:[33, 21, 25] Operation: 84-59=25 Moving to Node #0,2 Current State: 37:[33, 21, 25], Operations: ['84-59=25'] Exploring Operation: 33+21=54, Resulting Numbers: [25, 54] Generated Node #0,2,0: 37:[25, 54] Operation: 33+21=54 Exploring Operation: 21+25=46, Resulting Numbers: [33, 46] Generated Node #0,2,1: 37:[33, 46] Operation: 21+25=46 Exploring Operation: 33-21=12, Resulting Numbers: [25, 12] Generated Node #0,2,2: 37:[25, 12] Operation: 33-21=12 Moving to Node #0,0 Current State: 37:[21, 59, 51], Operations: ['84-33=51'] Exploring Operation: 59-51=8, Resulting Numbers: [21, 8] Generated Node #0,0,0: 37:[21, 8] Operation: 59-51=8 Exploring Operation: 59-21=38, Resulting Numbers: [51, 38] Generated Node #0,0,1: 37:[51, 38] Operation: 59-21=38 Exploring Operation: 51-21=30, Resulting Numbers: [59, 30] Generated Node #0,0,2: 37:[59, 30] Operation: 51-21=30 Moving to Node #0,1 Current State: 37:[33, 84, 38], Operations: ['59-21=38'] Exploring Operation: 84-33=51, Resulting Numbers: [38, 51] Generated Node #0,1,0: 37:[38, 51] Operation: 84-33=51 Exploring Operation: 38-33=5, Resulting Numbers: [84, 5] Generated Node #0,1,1: 37:[84, 5] Operation: 38-33=5 Exploring Operation: 84-38=46, Resulting Numbers: [33, 46] Generated Node #0,1,2: 37:[33, 46] Operation: 84-38=46 Moving to Node #0,2,1 Current State: 37:[33, 46], Operations: ['84-59=25', '21+25=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[33, 46], Operations: ['59-21=38', '84-38=46'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[51, 38], Operations: ['84-33=51', '59-21=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[38, 51], Operations: ['59-21=38', '84-33=51'] Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,37 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[59, 30], Operations: ['84-33=51', '51-21=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,37 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[25, 54], Operations: ['84-59=25', '33+21=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,37 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[25, 12], Operations: ['84-59=25', '33-21=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[33, 21, 59, 84], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [33, 21, 25] Generated Node #0,2: 37:[33, 21, 25] Operation: 84-59=25 Moving to Node #0,2 Current State: 37:[33, 21, 25], Operations: ['84-59=25'] Exploring Operation: 33-21=12, Resulting Numbers: [25, 12] Generated Node #0,2,2: 37:[25, 12] Operation: 33-21=12 Moving to Node #0,2,2 Current State: 37:[25, 12], Operations: ['84-59=25', '33-21=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 71, 48, 81, 69 ]
75
[ "81-69=12", "48/12=4", "71+4=75" ]
Current State: 75:[71, 48, 81, 69], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [71, 48, 12] Generated Node #2: [71, 48, 12] from Operation: 81-69=12 Current State: 75:[71, 48, 12], Operations: ['81-69=12'] Exploring Operation: 48/12=4, Resulting Numbers: [71, 4] Generated Node #3: [71, 4] from Operation: 48/12=4 Current State: 75:[71, 4], Operations: ['81-69=12', '48/12=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[71, 48, 81, 69], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [81, 69, 23] Generated Node #0,0: 75:[81, 69, 23] Operation: 71-48=23 Exploring Operation: 69-48=21, Resulting Numbers: [71, 81, 21] Generated Node #0,1: 75:[71, 81, 21] Operation: 69-48=21 Exploring Operation: 81-48=33, Resulting Numbers: [71, 69, 33] Generated Node #0,2: 75:[71, 69, 33] Operation: 81-48=33 Moving to Node #0,0 Current State: 75:[81, 69, 23], Operations: ['71-48=23'] Exploring Operation: 81-23=58, Resulting Numbers: [69, 58] Generated Node #0,0,0: 75:[69, 58] Operation: 81-23=58 Exploring Operation: 81-69=12, Resulting Numbers: [23, 12] Generated Node #0,0,1: 75:[23, 12] Operation: 81-69=12 Exploring Operation: 69/23=3, Resulting Numbers: [81, 3] Generated Node #0,0,2: 75:[81, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[23, 12], Operations: ['71-48=23', '81-69=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,75 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,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:[81, 3], Operations: ['71-48=23', '69/23=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,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:[69, 58], Operations: ['71-48=23', '81-23=58'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,75 unequal: No Solution Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,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:[71, 81, 21], Operations: ['69-48=21'] Exploring Operation: 81-71=10, Resulting Numbers: [21, 10] Generated Node #0,1,0: 75:[21, 10] Operation: 81-71=10 Exploring Operation: 81-21=60, Resulting Numbers: [71, 60] Generated Node #0,1,1: 75:[71, 60] Operation: 81-21=60 Exploring Operation: 71+21=92, Resulting Numbers: [81, 92] Generated Node #0,1,2: 75:[81, 92] Operation: 71+21=92 Moving to Node #0,2 Current State: 75:[71, 69, 33], Operations: ['81-48=33'] Exploring Operation: 71-33=38, Resulting Numbers: [69, 38] Generated Node #0,2,0: 75:[69, 38] Operation: 71-33=38 Exploring Operation: 69-33=36, Resulting Numbers: [71, 36] Generated Node #0,2,1: 75:[71, 36] Operation: 69-33=36 Exploring Operation: 71-69=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 75:[33, 2] Operation: 71-69=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[33, 2], Operations: ['81-48=33', '71-69=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,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,2,1 Current State: 75:[71, 36], Operations: ['81-48=33', '69-33=36'] Exploring Operation: 71+36=107, Resulting Numbers: [107] 107,75 unequal: No Solution Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 71*36=2556, Resulting Numbers: [2556] 2556,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,2,0 Current State: 75:[69, 38], Operations: ['81-48=33', '71-33=38'] Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,75 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 75:[21, 10], Operations: ['69-48=21', '81-71=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[71, 60], Operations: ['69-48=21', '81-21=60'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 71*60=4260, Resulting Numbers: [4260] 4260,75 unequal: No Solution Exploring Operation: 71+60=131, Resulting Numbers: [131] 131,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[81, 92], Operations: ['69-48=21', '71+21=92'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 81*92=7452, Resulting Numbers: [7452] 7452,75 unequal: No Solution Exploring Operation: 81+92=173, Resulting Numbers: [173] 173,75 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 13, 20, 42 ]
87
[ "60/20=3", "42-13=29", "3*29=87" ]
Current State: 87:[60, 13, 20, 42], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [13, 42, 3] Generated Node #2: [13, 42, 3] from Operation: 60/20=3 Current State: 87:[13, 42, 3], Operations: ['60/20=3'] Exploring Operation: 42-13=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 42-13=29 Current State: 87:[3, 29], Operations: ['60/20=3', '42-13=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[60, 13, 20, 42], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [13, 20, 18] Generated Node #0,0: 87:[13, 20, 18] Operation: 60-42=18 Exploring Operation: 60/20=3, Resulting Numbers: [13, 42, 3] Generated Node #0,1: 87:[13, 42, 3] Operation: 60/20=3 Exploring Operation: 60+20=80, Resulting Numbers: [13, 42, 80] Generated Node #0,2: 87:[13, 42, 80] Operation: 60+20=80 Moving to Node #0,1 Current State: 87:[13, 42, 3], Operations: ['60/20=3'] Exploring Operation: 13-3=10, Resulting Numbers: [42, 10] Generated Node #0,1,0: 87:[42, 10] Operation: 13-3=10 Exploring Operation: 42-13=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 87:[3, 29] Operation: 42-13=29 Exploring Operation: 42-3=39, Resulting Numbers: [13, 39] Generated Node #0,1,2: 87:[13, 39] Operation: 42-3=39 Moving to Node #0,0 Current State: 87:[13, 20, 18], Operations: ['60-42=18'] Exploring Operation: 13+18=31, Resulting Numbers: [20, 31] Generated Node #0,0,0: 87:[20, 31] Operation: 13+18=31 Exploring Operation: 18-13=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 87:[20, 5] Operation: 18-13=5 Exploring Operation: 20-18=2, Resulting Numbers: [13, 2] Generated Node #0,0,2: 87:[13, 2] Operation: 20-18=2 Moving to Node #0,2 Current State: 87:[13, 42, 80], Operations: ['60+20=80'] Exploring Operation: 13+80=93, Resulting Numbers: [42, 93] Generated Node #0,2,0: 87:[42, 93] Operation: 13+80=93 Exploring Operation: 80-42=38, Resulting Numbers: [13, 38] Generated Node #0,2,1: 87:[13, 38] Operation: 80-42=38 Exploring Operation: 42-13=29, Resulting Numbers: [80, 29] Generated Node #0,2,2: 87:[80, 29] Operation: 42-13=29 Moving to Node #0,1,1 Current State: 87:[3, 29], Operations: ['60/20=3', '42-13=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[60, 13, 20, 42], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [13, 42, 3] Generated Node #0,1: 87:[13, 42, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 87:[13, 42, 3], Operations: ['60/20=3'] Exploring Operation: 42-13=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 87:[3, 29] Operation: 42-13=29 Moving to Node #0,1,1 Current State: 87:[3, 29], Operations: ['60/20=3', '42-13=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.984375
hs_3
mult_heuristic
[ 16, 90, 85, 18 ]
96
[ "16+85=101", "90/18=5", "101-5=96" ]
Current State: 96:[16, 90, 85, 18], Operations: [] Exploring Operation: 16+85=101, Resulting Numbers: [90, 18, 101] Generated Node #2: [90, 18, 101] from Operation: 16+85=101 Current State: 96:[90, 18, 101], Operations: ['16+85=101'] Exploring Operation: 90/18=5, Resulting Numbers: [101, 5] Generated Node #3: [101, 5] from Operation: 90/18=5 Current State: 96:[101, 5], Operations: ['16+85=101', '90/18=5'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[16, 90, 85, 18], Operations: [] Exploring Operation: 16+85=101, Resulting Numbers: [90, 18, 101] Generated Node #0,0: 96:[90, 18, 101] Operation: 16+85=101 Exploring Operation: 90-85=5, Resulting Numbers: [16, 18, 5] Generated Node #0,1: 96:[16, 18, 5] Operation: 90-85=5 Exploring Operation: 90/18=5, Resulting Numbers: [16, 85, 5] Generated Node #0,2: 96:[16, 85, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[16, 18, 5], Operations: ['90-85=5'] Exploring Operation: 18+5=23, Resulting Numbers: [16, 23] Generated Node #0,1,0: 96:[16, 23] Operation: 18+5=23 Exploring Operation: 18-16=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 96:[5, 2] Operation: 18-16=2 Exploring Operation: 18-5=13, Resulting Numbers: [16, 13] Generated Node #0,1,2: 96:[16, 13] Operation: 18-5=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[16, 23], Operations: ['90-85=5', '18+5=23'] Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,96 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[5, 2], Operations: ['90-85=5', '18-16=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[16, 13], Operations: ['90-85=5', '18-5=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[16, 85, 5], Operations: ['90/18=5'] Exploring Operation: 85/5=17, Resulting Numbers: [16, 17] Generated Node #0,2,0: 96:[16, 17] Operation: 85/5=17 Exploring Operation: 16+85=101, Resulting Numbers: [5, 101] Generated Node #0,2,1: 96:[5, 101] Operation: 16+85=101 Exploring Operation: 85+5=90, Resulting Numbers: [16, 90] Generated Node #0,2,2: 96:[16, 90] Operation: 85+5=90 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[16, 17], Operations: ['90/18=5', '85/5=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,96 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[5, 101], Operations: ['90/18=5', '16+85=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[16, 90, 85, 18], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [16, 85, 5] Generated Node #0,2: 96:[16, 85, 5] Operation: 90/18=5 Moving to Node #0,2 Current State: 96:[16, 85, 5], Operations: ['90/18=5'] Exploring Operation: 16+85=101, Resulting Numbers: [5, 101] Generated Node #0,2,1: 96:[5, 101] Operation: 16+85=101 Moving to Node #0,2,1 Current State: 96:[5, 101], Operations: ['90/18=5', '16+85=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 12, 87, 98, 85 ]
43
[ "98-12=86", "87-85=2", "86/2=43" ]
Current State: 43:[12, 87, 98, 85], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [87, 85, 86] Generated Node #2: [87, 85, 86] from Operation: 98-12=86 Current State: 43:[87, 85, 86], Operations: ['98-12=86'] Exploring Operation: 87-85=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 87-85=2 Current State: 43:[86, 2], Operations: ['98-12=86', '87-85=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 87, 98, 85], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [12, 85, 11] Generated Node #0,0: 43:[12, 85, 11] Operation: 98-87=11 Exploring Operation: 98-85=13, Resulting Numbers: [12, 87, 13] Generated Node #0,1: 43:[12, 87, 13] Operation: 98-85=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[12, 85, 11], Operations: ['98-87=11'] Exploring Operation: 85-12=73, Resulting Numbers: [11, 73] Generated Node #0,0,0: 43:[11, 73] Operation: 85-12=73 Exploring Operation: 12+11=23, Resulting Numbers: [85, 23] Generated Node #0,0,1: 43:[85, 23] Operation: 12+11=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[11, 73], Operations: ['98-87=11', '85-12=73'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[85, 23], Operations: ['98-87=11', '12+11=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,43 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: 43:[12, 87, 13], Operations: ['98-85=13'] Exploring Operation: 12+13=25, Resulting Numbers: [87, 25] Generated Node #0,1,0: 43:[87, 25] Operation: 12+13=25 Exploring Operation: 87-12=75, Resulting Numbers: [13, 75] Generated Node #0,1,1: 43:[13, 75] Operation: 87-12=75 Moving to Node #0,1,0 Current State: 43:[87, 25], Operations: ['98-85=13', '12+13=25'] Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[13, 75], Operations: ['98-85=13', '87-12=75'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,43 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
[ 59, 79, 72, 93 ]
27
[ "59+79=138", "72+93=165", "165-138=27" ]
Current State: 27:[59, 79, 72, 93], Operations: [] Exploring Operation: 59+79=138, Resulting Numbers: [72, 93, 138] Generated Node #2: [72, 93, 138] from Operation: 59+79=138 Current State: 27:[72, 93, 138], Operations: ['59+79=138'] Exploring Operation: 72+93=165, Resulting Numbers: [138, 165] Generated Node #3: [138, 165] from Operation: 72+93=165 Current State: 27:[138, 165], Operations: ['59+79=138', '72+93=165'] Exploring Operation: 165-138=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[59, 79, 72, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [59, 72, 14] Generated Node #0,0: 27:[59, 72, 14] Operation: 93-79=14 Exploring Operation: 93-72=21, Resulting Numbers: [59, 79, 21] Generated Node #0,1: 27:[59, 79, 21] Operation: 93-72=21 Exploring Operation: 79-72=7, Resulting Numbers: [59, 93, 7] Generated Node #0,2: 27:[59, 93, 7] Operation: 79-72=7 Moving to Node #0,0 Current State: 27:[59, 72, 14], Operations: ['93-79=14'] Exploring Operation: 72-59=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 27:[14, 13] Operation: 72-59=13 Exploring Operation: 59-14=45, Resulting Numbers: [72, 45] Generated Node #0,0,1: 27:[72, 45] Operation: 59-14=45 Exploring Operation: 72-14=58, Resulting Numbers: [59, 58] Generated Node #0,0,2: 27:[59, 58] Operation: 72-14=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[14, 13], Operations: ['93-79=14', '72-59=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[59, 79, 72, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [59, 72, 14] Generated Node #0,0: 27:[59, 72, 14] Operation: 93-79=14 Moving to Node #0,0 Current State: 27:[59, 72, 14], Operations: ['93-79=14'] Exploring Operation: 72-59=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 27:[14, 13] Operation: 72-59=13 Moving to Node #0,0,0 Current State: 27:[14, 13], Operations: ['93-79=14', '72-59=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 65, 14, 73, 17 ]
46
[ "65+73=138", "17-14=3", "138/3=46" ]
Current State: 46:[65, 14, 73, 17], Operations: [] Exploring Operation: 65+73=138, Resulting Numbers: [14, 17, 138] Generated Node #2: [14, 17, 138] from Operation: 65+73=138 Current State: 46:[14, 17, 138], Operations: ['65+73=138'] Exploring Operation: 17-14=3, Resulting Numbers: [138, 3] Generated Node #3: [138, 3] from Operation: 17-14=3 Current State: 46:[138, 3], Operations: ['65+73=138', '17-14=3'] Exploring Operation: 138/3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[65, 14, 73, 17], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [14, 17, 8] Generated Node #0,0: 46:[14, 17, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 46:[14, 17, 8], Operations: ['73-65=8'] Exploring Operation: 17-14=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 46:[8, 3] Operation: 17-14=3 Moving to Node #0,0,0 Current State: 46:[8, 3], Operations: ['73-65=8', '17-14=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 61, 10, 82, 80 ]
49
[ "61-10=51", "82-80=2", "51-2=49" ]
Current State: 49:[61, 10, 82, 80], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [82, 80, 51] Generated Node #2: [82, 80, 51] from Operation: 61-10=51 Current State: 49:[82, 80, 51], Operations: ['61-10=51'] Exploring Operation: 82-80=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 82-80=2 Current State: 49:[51, 2], Operations: ['61-10=51', '82-80=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 10, 82, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [10, 82, 19] Generated Node #0,0: 49:[10, 82, 19] Operation: 80-61=19 Exploring Operation: 82-80=2, Resulting Numbers: [61, 10, 2] Generated Node #0,1: 49:[61, 10, 2] Operation: 82-80=2 Exploring Operation: 82-61=21, Resulting Numbers: [10, 80, 21] Generated Node #0,2: 49:[10, 80, 21] Operation: 82-61=21 Exploring Operation: 80/10=8, Resulting Numbers: [61, 82, 8] Generated Node #0,3: 49:[61, 82, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[61, 10, 2], Operations: ['82-80=2'] Exploring Operation: 10/2=5, Resulting Numbers: [61, 5] Generated Node #0,1,0: 49:[61, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [61, 8] Generated Node #0,1,1: 49:[61, 8] Operation: 10-2=8 Exploring Operation: 61-10=51, Resulting Numbers: [2, 51] Generated Node #0,1,2: 49:[2, 51] Operation: 61-10=51 Exploring Operation: 61-2=59, Resulting Numbers: [10, 59] Generated Node #0,1,3: 49:[10, 59] Operation: 61-2=59 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[2, 51], Operations: ['82-80=2', '61-10=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[61, 10, 82, 80], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [61, 10, 2] Generated Node #0,1: 49:[61, 10, 2] Operation: 82-80=2 Moving to Node #0,1 Current State: 49:[61, 10, 2], Operations: ['82-80=2'] Exploring Operation: 61-10=51, Resulting Numbers: [2, 51] Generated Node #0,1,2: 49:[2, 51] Operation: 61-10=51 Moving to Node #0,1,2 Current State: 49:[2, 51], Operations: ['82-80=2', '61-10=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 4, 35, 98, 2 ]
55
[ "4*2=8", "98-35=63", "63-8=55" ]
Current State: 55:[4, 35, 98, 2], Operations: [] Exploring Operation: 4*2=8, Resulting Numbers: [35, 98, 8] Generated Node #2: [35, 98, 8] from Operation: 4*2=8 Current State: 55:[35, 98, 8], Operations: ['4*2=8'] Exploring Operation: 98-35=63, Resulting Numbers: [8, 63] Generated Node #3: [8, 63] from Operation: 98-35=63 Current State: 55:[8, 63], Operations: ['4*2=8', '98-35=63'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[4, 35, 98, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [4, 35, 49] Generated Node #0,0: 55:[4, 35, 49] Operation: 98/2=49 Exploring Operation: 35*2=70, Resulting Numbers: [4, 98, 70] Generated Node #0,1: 55:[4, 98, 70] Operation: 35*2=70 Exploring Operation: 98-35=63, Resulting Numbers: [4, 2, 63] Generated Node #0,2: 55:[4, 2, 63] Operation: 98-35=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[4, 2, 63], Operations: ['98-35=63'] Exploring Operation: 63-2=61, Resulting Numbers: [4, 61] Generated Node #0,2,0: 55:[4, 61] Operation: 63-2=61 Exploring Operation: 4+2=6, Resulting Numbers: [63, 6] Generated Node #0,2,1: 55:[63, 6] Operation: 4+2=6 Exploring Operation: 63-4=59, Resulting Numbers: [2, 59] Generated Node #0,2,2: 55:[2, 59] Operation: 63-4=59 Moving to Node #0,2,0 Current State: 55:[4, 61], Operations: ['98-35=63', '63-2=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,55 unequal: No Solution 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 Moving to Node #0,2,2 Current State: 55:[2, 59], Operations: ['98-35=63', '63-4=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,55 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[63, 6], Operations: ['98-35=63', '4+2=6'] Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,55 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,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,0 Current State: 55:[4, 35, 49], Operations: ['98/2=49'] Exploring Operation: 4+35=39, Resulting Numbers: [49, 39] Generated Node #0,0,0: 55:[49, 39] Operation: 4+35=39 Exploring Operation: 49-35=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 55:[4, 14] Operation: 49-35=14 Exploring Operation: 4+49=53, Resulting Numbers: [35, 53] Generated Node #0,0,2: 55:[35, 53] Operation: 4+49=53 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[4, 14], Operations: ['98/2=49', '49-35=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,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:[49, 39], Operations: ['98/2=49', '4+35=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,55 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[35, 53], Operations: ['98/2=49', '4+49=53'] Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,55 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,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:[4, 98, 70], Operations: ['35*2=70'] Exploring Operation: 98-70=28, Resulting Numbers: [4, 28] Generated Node #0,1,0: 55:[4, 28] Operation: 98-70=28 Exploring Operation: 70-4=66, Resulting Numbers: [98, 66] Generated Node #0,1,1: 55:[98, 66] Operation: 70-4=66 Exploring Operation: 98-4=94, Resulting Numbers: [70, 94] Generated Node #0,1,2: 55:[70, 94] Operation: 98-4=94 Moving to Node #0,1,0 Current State: 55:[4, 28], Operations: ['35*2=70', '98-70=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[98, 66], Operations: ['35*2=70', '70-4=66'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,55 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[70, 94], Operations: ['35*2=70', '98-4=94'] Exploring Operation: 70+94=164, Resulting Numbers: [164] 164,55 unequal: No Solution Exploring Operation: 70*94=6580, Resulting Numbers: [6580] 6580,55 unequal: No Solution Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 4, 35, 74, 11 ]
94
[ "35-4=31", "74-11=63", "31+63=94" ]
Current State: 94:[4, 35, 74, 11], Operations: [] Exploring Operation: 35-4=31, Resulting Numbers: [74, 11, 31] Generated Node #2: [74, 11, 31] from Operation: 35-4=31 Current State: 94:[74, 11, 31], Operations: ['35-4=31'] Exploring Operation: 74-11=63, Resulting Numbers: [31, 63] Generated Node #3: [31, 63] from Operation: 74-11=63 Current State: 94:[31, 63], Operations: ['35-4=31', '74-11=63'] Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[4, 35, 74, 11], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [4, 11, 39] Generated Node #0,0: 94:[4, 11, 39] Operation: 74-35=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[4, 11, 39], Operations: ['74-35=39'] Exploring Operation: 11+39=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 94:[4, 50] Operation: 11+39=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[4, 50], Operations: ['74-35=39', '11+39=50'] Exploring Operation: 50-4=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 No solution found.
0
hs_1
mult_heuristic
[ 10, 60, 12, 7 ]
62
[ "12-7=5", "10/5=2", "60+2=62" ]
Current State: 62:[10, 60, 12, 7], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [10, 60, 5] Generated Node #2: [10, 60, 5] from Operation: 12-7=5 Current State: 62:[10, 60, 5], Operations: ['12-7=5'] Exploring Operation: 10/5=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 10/5=2 Current State: 62:[60, 2], Operations: ['12-7=5', '10/5=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[10, 60, 12, 7], Operations: [] Exploring Operation: 10+12=22, Resulting Numbers: [60, 7, 22] Generated Node #0,0: 62:[60, 7, 22] Operation: 10+12=22 Exploring Operation: 10-7=3, Resulting Numbers: [60, 12, 3] Generated Node #0,1: 62:[60, 12, 3] Operation: 10-7=3 Exploring Operation: 12-7=5, Resulting Numbers: [10, 60, 5] Generated Node #0,2: 62:[10, 60, 5] Operation: 12-7=5 Exploring Operation: 60/12=5, Resulting Numbers: [10, 7, 5] Generated Node #0,3: 62:[10, 7, 5] Operation: 60/12=5 Exploring Operation: 12-10=2, Resulting Numbers: [60, 7, 2] Generated Node #0,4: 62:[60, 7, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[60, 7, 2], Operations: ['12-10=2'] Exploring Operation: 60+7=67, Resulting Numbers: [2, 67] Generated Node #0,4,0: 62:[2, 67] Operation: 60+7=67 Exploring Operation: 60-7=53, Resulting Numbers: [2, 53] Generated Node #0,4,1: 62:[2, 53] Operation: 60-7=53 Exploring Operation: 60+2=62, Resulting Numbers: [7, 62] Generated Node #0,4,2: 62:[7, 62] Operation: 60+2=62 Exploring Operation: 60/2=30, Resulting Numbers: [7, 30] Generated Node #0,4,3: 62:[7, 30] Operation: 60/2=30 Exploring Operation: 7-2=5, Resulting Numbers: [60, 5] Generated Node #0,4,4: 62:[60, 5] Operation: 7-2=5 Moving to Node #0,4,0 Current State: 62:[2, 67], Operations: ['12-10=2', '60+7=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,62 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[60, 5], Operations: ['12-10=2', '7-2=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,62 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[7, 62], Operations: ['12-10=2', '60+2=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[7, 30], Operations: ['12-10=2', '60/2=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,62 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[2, 53], Operations: ['12-10=2', '60-7=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[60, 12, 3], Operations: ['10-7=3'] Exploring Operation: 12-3=9, Resulting Numbers: [60, 9] Generated Node #0,1,0: 62:[60, 9] Operation: 12-3=9 Exploring Operation: 12*3=36, Resulting Numbers: [60, 36] Generated Node #0,1,1: 62:[60, 36] Operation: 12*3=36 Exploring Operation: 12/3=4, Resulting Numbers: [60, 4] Generated Node #0,1,2: 62:[60, 4] Operation: 12/3=4 Exploring Operation: 60/12=5, Resulting Numbers: [3, 5] Generated Node #0,1,3: 62:[3, 5] Operation: 60/12=5 Exploring Operation: 60+12=72, Resulting Numbers: [3, 72] Generated Node #0,1,4: 62:[3, 72] Operation: 60+12=72 Moving to Node #0,1,2 Current State: 62:[60, 4], Operations: ['10-7=3', '12/3=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,62 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[3, 5], Operations: ['10-7=3', '60/12=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[60, 36], Operations: ['10-7=3', '12*3=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,62 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[60, 9], Operations: ['10-7=3', '12-3=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,62 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[3, 72], Operations: ['10-7=3', '60+12=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 3+72=75, Resulting Numbers: [75] 75,62 unequal: No Solution Exploring Operation: 3*72=216, Resulting Numbers: [216] 216,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[10, 60, 5], Operations: ['12-7=5'] Exploring Operation: 60/10=6, Resulting Numbers: [5, 6] Generated Node #0,2,0: 62:[5, 6] Operation: 60/10=6 Exploring Operation: 10-5=5, Resulting Numbers: [60, 5] Generated Node #0,2,1: 62:[60, 5] Operation: 10-5=5 Exploring Operation: 10+60=70, Resulting Numbers: [5, 70] Generated Node #0,2,2: 62:[5, 70] Operation: 10+60=70 Exploring Operation: 60+5=65, Resulting Numbers: [10, 65] Generated Node #0,2,3: 62:[10, 65] Operation: 60+5=65 Exploring Operation: 10/5=2, Resulting Numbers: [60, 2] Generated Node #0,2,4: 62:[60, 2] Operation: 10/5=2 Moving to Node #0,2,4 Current State: 62:[60, 2], Operations: ['12-7=5', '10/5=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[10, 60, 12, 7], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [10, 60, 5] Generated Node #0,2: 62:[10, 60, 5] Operation: 12-7=5 Moving to Node #0,2 Current State: 62:[10, 60, 5], Operations: ['12-7=5'] Exploring Operation: 10/5=2, Resulting Numbers: [60, 2] Generated Node #0,2,4: 62:[60, 2] Operation: 10/5=2 Moving to Node #0,2,4 Current State: 62:[60, 2], Operations: ['12-7=5', '10/5=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 66, 69, 68, 43 ]
56
[ "68-66=2", "69+43=112", "112/2=56" ]
Current State: 56:[66, 69, 68, 43], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [69, 43, 2] Generated Node #2: [69, 43, 2] from Operation: 68-66=2 Current State: 56:[69, 43, 2], Operations: ['68-66=2'] Exploring Operation: 69+43=112, Resulting Numbers: [2, 112] Generated Node #3: [2, 112] from Operation: 69+43=112 Current State: 56:[2, 112], Operations: ['68-66=2', '69+43=112'] Exploring Operation: 112/2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[66, 69, 68, 43], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [66, 43, 1] Generated Node #0,0: 56:[66, 43, 1] Operation: 69-68=1 Exploring Operation: 69-43=26, Resulting Numbers: [66, 68, 26] Generated Node #0,1: 56:[66, 68, 26] Operation: 69-43=26 Moving to Node #0,0 Current State: 56:[66, 43, 1], Operations: ['69-68=1'] Exploring Operation: 66-43=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 56:[1, 23] Operation: 66-43=23 Exploring Operation: 66-1=65, Resulting Numbers: [43, 65] Generated Node #0,0,1: 56:[43, 65] Operation: 66-1=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[1, 23], Operations: ['69-68=1', '66-43=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[43, 65], Operations: ['69-68=1', '66-1=65'] Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,56 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: 56:[66, 68, 26], Operations: ['69-43=26'] Exploring Operation: 68-66=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 56:[26, 2] Operation: 68-66=2 Exploring Operation: 66-26=40, Resulting Numbers: [68, 40] Generated Node #0,1,1: 56:[68, 40] Operation: 66-26=40 Moving to Node #0,1,0 Current State: 56:[26, 2], Operations: ['69-43=26', '68-66=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[68, 40], Operations: ['69-43=26', '66-26=40'] Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,56 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 71, 81, 14, 2 ]
83
[ "71+81=152", "14+152=166", "166/2=83" ]
Current State: 83:[71, 81, 14, 2], Operations: [] Exploring Operation: 71+81=152, Resulting Numbers: [14, 2, 152] Generated Node #2: [14, 2, 152] from Operation: 71+81=152 Current State: 83:[14, 2, 152], Operations: ['71+81=152'] Exploring Operation: 14+152=166, Resulting Numbers: [2, 166] Generated Node #3: [2, 166] from Operation: 14+152=166 Current State: 83:[2, 166], Operations: ['71+81=152', '14+152=166'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[71, 81, 14, 2], Operations: [] Exploring Operation: 14*2=28, Resulting Numbers: [71, 81, 28] Generated Node #0,0: 83:[71, 81, 28] Operation: 14*2=28 Exploring Operation: 71+2=73, Resulting Numbers: [81, 14, 73] Generated Node #0,1: 83:[81, 14, 73] Operation: 71+2=73 Moving to Node #0,0 Current State: 83:[71, 81, 28], Operations: ['14*2=28'] Exploring Operation: 71+28=99, Resulting Numbers: [81, 99] Generated Node #0,0,0: 83:[81, 99] Operation: 71+28=99 Exploring Operation: 81+28=109, Resulting Numbers: [71, 109] Generated Node #0,0,1: 83:[71, 109] Operation: 81+28=109 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[81, 99], Operations: ['14*2=28', '71+28=99'] Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 81+99=180, Resulting Numbers: [180] 180,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,1 Current State: 83:[71, 109], Operations: ['14*2=28', '81+28=109'] Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[81, 14, 73], Operations: ['71+2=73'] Exploring Operation: 14+73=87, Resulting Numbers: [81, 87] Generated Node #0,1,0: 83:[81, 87] Operation: 14+73=87 Exploring Operation: 81+14=95, Resulting Numbers: [73, 95] Generated Node #0,1,1: 83:[73, 95] Operation: 81+14=95 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[81, 87], Operations: ['71+2=73', '14+73=87'] Exploring Operation: 87-81=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 81+87=168, Resulting Numbers: [168] 168,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:[73, 95], Operations: ['71+2=73', '81+14=95'] Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 73+95=168, Resulting Numbers: [168] 168,83 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
[ 85, 35, 36, 16 ]
100
[ "85+35=120", "36-16=20", "120-20=100" ]
Current State: 100:[85, 35, 36, 16], Operations: [] Exploring Operation: 85+35=120, Resulting Numbers: [36, 16, 120] Generated Node #2: [36, 16, 120] from Operation: 85+35=120 Current State: 100:[36, 16, 120], Operations: ['85+35=120'] Exploring Operation: 36-16=20, Resulting Numbers: [120, 20] Generated Node #3: [120, 20] from Operation: 36-16=20 Current State: 100:[120, 20], Operations: ['85+35=120', '36-16=20'] Exploring Operation: 120-20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[85, 35, 36, 16], Operations: [] Exploring Operation: 85+16=101, Resulting Numbers: [35, 36, 101] Generated Node #0,0: 100:[35, 36, 101] Operation: 85+16=101 Exploring Operation: 85-36=49, Resulting Numbers: [35, 16, 49] Generated Node #0,1: 100:[35, 16, 49] Operation: 85-36=49 Exploring Operation: 36-35=1, Resulting Numbers: [85, 16, 1] Generated Node #0,2: 100:[85, 16, 1] Operation: 36-35=1 Exploring Operation: 85-35=50, Resulting Numbers: [36, 16, 50] Generated Node #0,3: 100:[36, 16, 50] Operation: 85-35=50 Moving to Node #0,1 Current State: 100:[35, 16, 49], Operations: ['85-36=49'] Exploring Operation: 49-35=14, Resulting Numbers: [16, 14] Generated Node #0,1,0: 100:[16, 14] Operation: 49-35=14 Exploring Operation: 35+16=51, Resulting Numbers: [49, 51] Generated Node #0,1,1: 100:[49, 51] Operation: 35+16=51 Exploring Operation: 35-16=19, Resulting Numbers: [49, 19] Generated Node #0,1,2: 100:[49, 19] Operation: 35-16=19 Exploring Operation: 49-16=33, Resulting Numbers: [35, 33] Generated Node #0,1,3: 100:[35, 33] Operation: 49-16=33 Moving to Node #0,3 Current State: 100:[36, 16, 50], Operations: ['85-35=50'] Exploring Operation: 36-16=20, Resulting Numbers: [50, 20] Generated Node #0,3,0: 100:[50, 20] Operation: 36-16=20 Exploring Operation: 36+16=52, Resulting Numbers: [50, 52] Generated Node #0,3,1: 100:[50, 52] Operation: 36+16=52 Exploring Operation: 50-36=14, Resulting Numbers: [16, 14] Generated Node #0,3,2: 100:[16, 14] Operation: 50-36=14 Exploring Operation: 36+50=86, Resulting Numbers: [16, 86] Generated Node #0,3,3: 100:[16, 86] Operation: 36+50=86 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[50, 20], Operations: ['85-35=50', '36-16=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,100 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,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,1 Current State: 100:[50, 52], Operations: ['85-35=50', '36+16=52'] Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,100 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,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,2 Current State: 100:[16, 14], Operations: ['85-35=50', '50-36=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,100 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,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,3 Current State: 100:[16, 86], Operations: ['85-35=50', '36+50=86'] Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,100 unequal: No Solution Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,100 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 100:[85, 16, 1], Operations: ['36-35=1'] Exploring Operation: 85+1=86, Resulting Numbers: [16, 86] Generated Node #0,2,0: 100:[16, 86] Operation: 85+1=86 Exploring Operation: 85*1=85, Resulting Numbers: [16, 85] Generated Node #0,2,1: 100:[16, 85] Operation: 85*1=85 Exploring Operation: 16+1=17, Resulting Numbers: [85, 17] Generated Node #0,2,2: 100:[85, 17] Operation: 16+1=17 Exploring Operation: 85+16=101, Resulting Numbers: [1, 101] Generated Node #0,2,3: 100:[1, 101] Operation: 85+16=101 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[1, 101], Operations: ['36-35=1', '85+16=101'] Exploring Operation: 1+101=102, Resulting Numbers: [102] 102,100 unequal: No Solution Exploring Operation: 1*101=101, Resulting Numbers: [101] 101,100 unequal: No Solution Exploring Operation: 101/1=101, Resulting Numbers: [101] 101,100 unequal: No Solution Exploring Operation: 101-1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[85, 35, 36, 16], Operations: [] Exploring Operation: 36-35=1, Resulting Numbers: [85, 16, 1] Generated Node #0,2: 100:[85, 16, 1] Operation: 36-35=1 Moving to Node #0,2 Current State: 100:[85, 16, 1], Operations: ['36-35=1'] Exploring Operation: 85+16=101, Resulting Numbers: [1, 101] Generated Node #0,2,3: 100:[1, 101] Operation: 85+16=101 Moving to Node #0,2,3 Current State: 100:[1, 101], Operations: ['36-35=1', '85+16=101'] Exploring Operation: 101-1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 60, 38, 52, 48 ]
27
[ "60*52=3120", "3120/48=65", "65-38=27" ]
Current State: 27:[60, 38, 52, 48], Operations: [] Exploring Operation: 60*52=3120, Resulting Numbers: [38, 48, 3120] Generated Node #2: [38, 48, 3120] from Operation: 60*52=3120 Current State: 27:[38, 48, 3120], Operations: ['60*52=3120'] Exploring Operation: 3120/48=65, Resulting Numbers: [38, 65] Generated Node #3: [38, 65] from Operation: 3120/48=65 Current State: 27:[38, 65], Operations: ['60*52=3120', '3120/48=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[60, 38, 52, 48], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [60, 38, 4] Generated Node #0,0: 27:[60, 38, 4] Operation: 52-48=4 Exploring Operation: 60-48=12, Resulting Numbers: [38, 52, 12] Generated Node #0,1: 27:[38, 52, 12] Operation: 60-48=12 Exploring Operation: 60-52=8, Resulting Numbers: [38, 48, 8] Generated Node #0,2: 27:[38, 48, 8] Operation: 60-52=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[38, 48, 8], Operations: ['60-52=8'] Exploring Operation: 38-8=30, Resulting Numbers: [48, 30] Generated Node #0,2,0: 27:[48, 30] Operation: 38-8=30 Exploring Operation: 48-38=10, Resulting Numbers: [8, 10] Generated Node #0,2,1: 27:[8, 10] Operation: 48-38=10 Exploring Operation: 48/8=6, Resulting Numbers: [38, 6] Generated Node #0,2,2: 27:[38, 6] Operation: 48/8=6 Moving to Node #0,2,1 Current State: 27:[8, 10], Operations: ['60-52=8', '48-38=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[38, 6], Operations: ['60-52=8', '48/8=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,27 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[48, 30], Operations: ['60-52=8', '38-8=30'] Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,27 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[38, 52, 12], Operations: ['60-48=12'] Exploring Operation: 52-12=40, Resulting Numbers: [38, 40] Generated Node #0,1,0: 27:[38, 40] Operation: 52-12=40 Exploring Operation: 52-38=14, Resulting Numbers: [12, 14] Generated Node #0,1,1: 27:[12, 14] Operation: 52-38=14 Exploring Operation: 38-12=26, Resulting Numbers: [52, 26] Generated Node #0,1,2: 27:[52, 26] Operation: 38-12=26 Moving to Node #0,1,1 Current State: 27:[12, 14], Operations: ['60-48=12', '52-38=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[38, 40], Operations: ['60-48=12', '52-12=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,27 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[52, 26], Operations: ['60-48=12', '38-12=26'] Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,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 Current State: 27:[60, 38, 4], Operations: ['52-48=4'] Exploring Operation: 60-4=56, Resulting Numbers: [38, 56] Generated Node #0,0,0: 27:[38, 56] Operation: 60-4=56 Exploring Operation: 60-38=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 27:[4, 22] Operation: 60-38=22 Exploring Operation: 60/4=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 27:[38, 15] Operation: 60/4=15 Moving to Node #0,0,1 Current State: 27:[4, 22], Operations: ['52-48=4', '60-38=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[38, 15], Operations: ['52-48=4', '60/4=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,27 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[38, 56], Operations: ['52-48=4', '60-4=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,27 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 27, 81, 43, 39 ]
30
[ "81/27=3", "39/3=13", "43-13=30" ]
Current State: 30:[27, 81, 43, 39], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [43, 39, 3] Generated Node #2: [43, 39, 3] from Operation: 81/27=3 Current State: 30:[43, 39, 3], Operations: ['81/27=3'] Exploring Operation: 39/3=13, Resulting Numbers: [43, 13] Generated Node #3: [43, 13] from Operation: 39/3=13 Current State: 30:[43, 13], Operations: ['81/27=3', '39/3=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[27, 81, 43, 39], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [27, 39, 38] Generated Node #0,0: 30:[27, 39, 38] Operation: 81-43=38 Exploring Operation: 81/27=3, Resulting Numbers: [43, 39, 3] Generated Node #0,1: 30:[43, 39, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[27, 39, 38], Operations: ['81-43=38'] Exploring Operation: 39-38=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 30:[27, 1] Operation: 39-38=1 Exploring Operation: 39-27=12, Resulting Numbers: [38, 12] Generated Node #0,0,1: 30:[38, 12] Operation: 39-27=12 Moving to Node #0,0,0 Current State: 30:[27, 1], Operations: ['81-43=38', '39-38=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[38, 12], Operations: ['81-43=38', '39-27=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[43, 39, 3], Operations: ['81/27=3'] Exploring Operation: 39/3=13, Resulting Numbers: [43, 13] Generated Node #0,1,0: 30:[43, 13] Operation: 39/3=13 Exploring Operation: 43-39=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 30:[3, 4] Operation: 43-39=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[3, 4], Operations: ['81/27=3', '43-39=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,30 unequal: No Solution No 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: 30:[43, 13], Operations: ['81/27=3', '39/3=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[27, 81, 43, 39], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [43, 39, 3] Generated Node #0,1: 30:[43, 39, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 30:[43, 39, 3], Operations: ['81/27=3'] Exploring Operation: 39/3=13, Resulting Numbers: [43, 13] Generated Node #0,1,0: 30:[43, 13] Operation: 39/3=13 Moving to Node #0,1,0 Current State: 30:[43, 13], Operations: ['81/27=3', '39/3=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 18, 10, 96, 38 ]
46
[ "18*10=180", "96+38=134", "180-134=46" ]
Current State: 46:[18, 10, 96, 38], Operations: [] Exploring Operation: 18*10=180, Resulting Numbers: [96, 38, 180] Generated Node #2: [96, 38, 180] from Operation: 18*10=180 Current State: 46:[96, 38, 180], Operations: ['18*10=180'] Exploring Operation: 96+38=134, Resulting Numbers: [180, 134] Generated Node #3: [180, 134] from Operation: 96+38=134 Current State: 46:[180, 134], Operations: ['18*10=180', '96+38=134'] Exploring Operation: 180-134=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 10, 96, 38], Operations: [] Exploring Operation: 10+38=48, Resulting Numbers: [18, 96, 48] Generated Node #0,0: 46:[18, 96, 48] Operation: 10+38=48 Exploring Operation: 96-38=58, Resulting Numbers: [18, 10, 58] Generated Node #0,1: 46:[18, 10, 58] Operation: 96-38=58 Exploring Operation: 96-10=86, Resulting Numbers: [18, 38, 86] Generated Node #0,2: 46:[18, 38, 86] Operation: 96-10=86 Exploring Operation: 96-18=78, Resulting Numbers: [10, 38, 78] Generated Node #0,3: 46:[10, 38, 78] Operation: 96-18=78 Moving to Node #0,1 Current State: 46:[18, 10, 58], Operations: ['96-38=58'] Exploring Operation: 18-10=8, Resulting Numbers: [58, 8] Generated Node #0,1,0: 46:[58, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [58, 28] Generated Node #0,1,1: 46:[58, 28] Operation: 18+10=28 Exploring Operation: 58-18=40, Resulting Numbers: [10, 40] Generated Node #0,1,2: 46:[10, 40] Operation: 58-18=40 Exploring Operation: 58-10=48, Resulting Numbers: [18, 48] Generated Node #0,1,3: 46:[18, 48] Operation: 58-10=48 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[18, 48], Operations: ['96-38=58', '58-10=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,46 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[10, 40], Operations: ['96-38=58', '58-18=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,46 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[58, 28], Operations: ['96-38=58', '18+10=28'] Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,46 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[58, 8], Operations: ['96-38=58', '18-10=8'] Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,46 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,46 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: 46:[10, 38, 78], Operations: ['96-18=78'] Exploring Operation: 78-38=40, Resulting Numbers: [10, 40] Generated Node #0,3,0: 46:[10, 40] Operation: 78-38=40 Exploring Operation: 38-10=28, Resulting Numbers: [78, 28] Generated Node #0,3,1: 46:[78, 28] Operation: 38-10=28 Exploring Operation: 10+38=48, Resulting Numbers: [78, 48] Generated Node #0,3,2: 46:[78, 48] Operation: 10+38=48 Exploring Operation: 78-10=68, Resulting Numbers: [38, 68] Generated Node #0,3,3: 46:[38, 68] Operation: 78-10=68 Moving to Node #0,2 Current State: 46:[18, 38, 86], Operations: ['96-10=86'] Exploring Operation: 86-38=48, Resulting Numbers: [18, 48] Generated Node #0,2,0: 46:[18, 48] Operation: 86-38=48 Exploring Operation: 86-18=68, Resulting Numbers: [38, 68] Generated Node #0,2,1: 46:[38, 68] Operation: 86-18=68 Exploring Operation: 38-18=20, Resulting Numbers: [86, 20] Generated Node #0,2,2: 46:[86, 20] Operation: 38-18=20 Exploring Operation: 18+38=56, Resulting Numbers: [86, 56] Generated Node #0,2,3: 46:[86, 56] Operation: 18+38=56 Moving to Node #0,0 Current State: 46:[18, 96, 48], Operations: ['10+38=48'] Exploring Operation: 96/48=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 46:[18, 2] Operation: 96/48=2 Exploring Operation: 48-18=30, Resulting Numbers: [96, 30] Generated Node #0,0,1: 46:[96, 30] Operation: 48-18=30 Exploring Operation: 96-48=48, Resulting Numbers: [18, 48] Generated Node #0,0,2: 46:[18, 48] Operation: 96-48=48 Exploring Operation: 96-18=78, Resulting Numbers: [48, 78] Generated Node #0,0,3: 46:[48, 78] Operation: 96-18=78 Moving to Node #0,0,0 Current State: 46:[18, 2], Operations: ['10+38=48', '96/48=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[18, 48], Operations: ['96-10=86', '86-38=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[18, 48], Operations: ['10+38=48', '96-48=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,46 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[10, 40], Operations: ['96-18=78', '78-38=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[38, 68], Operations: ['96-10=86', '86-18=68'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,46 unequal: No Solution Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[38, 68], Operations: ['96-18=78', '78-10=68'] Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,46 unequal: No Solution Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,46 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[78, 48], Operations: ['96-18=78', '10+38=48'] Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,46 unequal: No Solution Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[48, 78], Operations: ['10+38=48', '96-18=78'] Exploring Operation: 48+78=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 48*78=3744, Resulting Numbers: [3744] 3744,46 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[78, 28], Operations: ['96-18=78', '38-10=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,46 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[86, 20], Operations: ['96-10=86', '38-18=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,46 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[86, 56], Operations: ['96-10=86', '18+38=56'] Exploring Operation: 86*56=4816, Resulting Numbers: [4816] 4816,46 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 86+56=142, Resulting Numbers: [142] 142,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[96, 30], Operations: ['10+38=48', '48-18=30'] Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 4, 92, 14 ]
34
[ "28*4=112", "92-14=78", "112-78=34" ]
Current State: 34:[28, 4, 92, 14], Operations: [] Exploring Operation: 28*4=112, Resulting Numbers: [92, 14, 112] Generated Node #2: [92, 14, 112] from Operation: 28*4=112 Current State: 34:[92, 14, 112], Operations: ['28*4=112'] Exploring Operation: 92-14=78, Resulting Numbers: [112, 78] Generated Node #3: [112, 78] from Operation: 92-14=78 Current State: 34:[112, 78], Operations: ['28*4=112', '92-14=78'] Exploring Operation: 112-78=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[28, 4, 92, 14], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [28, 14, 23] Generated Node #0,0: 34:[28, 14, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[28, 14, 23], Operations: ['92/4=23'] Exploring Operation: 28/14=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 34:[23, 2] Operation: 28/14=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[23, 2], Operations: ['92/4=23', '28/14=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,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 No solution found.
0
hs_1
mult_heuristic
[ 20, 44, 67, 32 ]
75
[ "44-20=24", "67+32=99", "99-24=75" ]
Current State: 75:[20, 44, 67, 32], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [67, 32, 24] Generated Node #2: [67, 32, 24] from Operation: 44-20=24 Current State: 75:[67, 32, 24], Operations: ['44-20=24'] Exploring Operation: 67+32=99, Resulting Numbers: [24, 99] Generated Node #3: [24, 99] from Operation: 67+32=99 Current State: 75:[24, 99], Operations: ['44-20=24', '67+32=99'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[20, 44, 67, 32], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [20, 32, 23] Generated Node #0,0: 75:[20, 32, 23] Operation: 67-44=23 Exploring Operation: 44-20=24, Resulting Numbers: [67, 32, 24] Generated Node #0,1: 75:[67, 32, 24] Operation: 44-20=24 Exploring Operation: 44-32=12, Resulting Numbers: [20, 67, 12] Generated Node #0,2: 75:[20, 67, 12] Operation: 44-32=12 Exploring Operation: 44+32=76, Resulting Numbers: [20, 67, 76] Generated Node #0,3: 75:[20, 67, 76] Operation: 44+32=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[20, 32, 23], Operations: ['67-44=23'] Exploring Operation: 32-23=9, Resulting Numbers: [20, 9] Generated Node #0,0,0: 75:[20, 9] Operation: 32-23=9 Exploring Operation: 23-20=3, Resulting Numbers: [32, 3] Generated Node #0,0,1: 75:[32, 3] Operation: 23-20=3 Exploring Operation: 20+32=52, Resulting Numbers: [23, 52] Generated Node #0,0,2: 75:[23, 52] Operation: 20+32=52 Exploring Operation: 32-20=12, Resulting Numbers: [23, 12] Generated Node #0,0,3: 75:[23, 12] Operation: 32-20=12 Moving to Node #0,0,3 Current State: 75:[23, 12], Operations: ['67-44=23', '32-20=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,75 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[32, 3], Operations: ['67-44=23', '23-20=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[20, 9], Operations: ['67-44=23', '32-23=9'] 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 Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[23, 52], Operations: ['67-44=23', '20+32=52'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[20, 44, 67, 32], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [20, 32, 23] Generated Node #0,0: 75:[20, 32, 23] Operation: 67-44=23 Moving to Node #0,0 Current State: 75:[20, 32, 23], Operations: ['67-44=23'] Exploring Operation: 20+32=52, Resulting Numbers: [23, 52] Generated Node #0,0,2: 75:[23, 52] Operation: 20+32=52 Moving to Node #0,0,2 Current State: 75:[23, 52], Operations: ['67-44=23', '20+32=52'] Exploring Operation: 23+52=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 80, 86, 43, 82 ]
41
[ "80+86=166", "43+82=125", "166-125=41" ]
Current State: 41:[80, 86, 43, 82], Operations: [] Exploring Operation: 80+86=166, Resulting Numbers: [43, 82, 166] Generated Node #2: [43, 82, 166] from Operation: 80+86=166 Current State: 41:[43, 82, 166], Operations: ['80+86=166'] Exploring Operation: 43+82=125, Resulting Numbers: [166, 125] Generated Node #3: [166, 125] from Operation: 43+82=125 Current State: 41:[166, 125], Operations: ['80+86=166', '43+82=125'] Exploring Operation: 166-125=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[80, 86, 43, 82], Operations: [] Exploring Operation: 86-80=6, Resulting Numbers: [43, 82, 6] Generated Node #0,0: 41:[43, 82, 6] Operation: 86-80=6 Exploring Operation: 86-43=43, Resulting Numbers: [80, 82, 43] Generated Node #0,1: 41:[80, 82, 43] Operation: 86-43=43 Exploring Operation: 86-82=4, Resulting Numbers: [80, 43, 4] Generated Node #0,2: 41:[80, 43, 4] Operation: 86-82=4 Moving to Node #0,0 Current State: 41:[43, 82, 6], Operations: ['86-80=6'] Exploring Operation: 82-43=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 41:[6, 39] Operation: 82-43=39 Exploring Operation: 82-6=76, Resulting Numbers: [43, 76] Generated Node #0,0,1: 41:[43, 76] Operation: 82-6=76 Exploring Operation: 43-6=37, Resulting Numbers: [82, 37] Generated Node #0,0,2: 41:[82, 37] Operation: 43-6=37 Moving to Node #0,2 Current State: 41:[80, 43, 4], Operations: ['86-82=4'] Exploring Operation: 80-4=76, Resulting Numbers: [43, 76] Generated Node #0,2,0: 41:[43, 76] Operation: 80-4=76 Exploring Operation: 80/4=20, Resulting Numbers: [43, 20] Generated Node #0,2,1: 41:[43, 20] Operation: 80/4=20 Exploring Operation: 80-43=37, Resulting Numbers: [4, 37] Generated Node #0,2,2: 41:[4, 37] Operation: 80-43=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[43, 20], Operations: ['86-82=4', '80/4=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,41 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[43, 76], Operations: ['86-82=4', '80-4=76'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,41 unequal: No Solution Exploring Operation: 43*76=3268, Resulting Numbers: [3268] 3268,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[4, 37], Operations: ['86-82=4', '80-43=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[80, 86, 43, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [80, 43, 4] Generated Node #0,2: 41:[80, 43, 4] Operation: 86-82=4 Moving to Node #0,2 Current State: 41:[80, 43, 4], Operations: ['86-82=4'] Exploring Operation: 80-43=37, Resulting Numbers: [4, 37] Generated Node #0,2,2: 41:[4, 37] Operation: 80-43=37 Moving to Node #0,2,2 Current State: 41:[4, 37], Operations: ['86-82=4', '80-43=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
mult_heuristic
[ 15, 42, 73, 27 ]
73
[ "42-15=27", "73+27=100", "100-27=73" ]
Current State: 73:[15, 42, 73, 27], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [73, 27, 27] Generated Node #2: [73, 27, 27] from Operation: 42-15=27 Current State: 73:[73, 27, 27], Operations: ['42-15=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,73 equal: Goal Reached Exploring Operation: 100-27=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[15, 42, 73, 27], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [73, 27, 27] Generated Node #0,0: 73:[73, 27, 27] Operation: 42-15=27 Exploring Operation: 42+27=69, Resulting Numbers: [15, 73, 69] Generated Node #0,1: 73:[15, 73, 69] Operation: 42+27=69 Exploring Operation: 15+27=42, Resulting Numbers: [42, 73, 42] Generated Node #0,2: 73:[42, 73, 42] Operation: 15+27=42 Exploring Operation: 15+42=57, Resulting Numbers: [73, 27, 57] Generated Node #0,3: 73:[73, 27, 57] Operation: 15+42=57 Moving to Node #0,1 Current State: 73:[15, 73, 69], Operations: ['42+27=69'] Exploring Operation: 69-15=54, Resulting Numbers: [73, 54] Generated Node #0,1,0: 73:[73, 54] Operation: 69-15=54 Exploring Operation: 15+73=88, Resulting Numbers: [69, 88] Generated Node #0,1,1: 73:[69, 88] Operation: 15+73=88 Exploring Operation: 73-15=58, Resulting Numbers: [69, 58] Generated Node #0,1,2: 73:[69, 58] Operation: 73-15=58 Exploring Operation: 15+69=84, Resulting Numbers: [73, 84] Generated Node #0,1,3: 73:[73, 84] Operation: 15+69=84 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[73, 84], Operations: ['42+27=69', '15+69=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[73, 54], Operations: ['42+27=69', '69-15=54'] Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 73*54=3942, Resulting Numbers: [3942] 3942,73 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[69, 88], Operations: ['42+27=69', '15+73=88'] Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,73 unequal: No Solution Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[69, 58], Operations: ['42+27=69', '73-15=58'] Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,73 unequal: No Solution Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,73 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: 73:[73, 27, 57], Operations: ['15+42=57'] Exploring Operation: 57-27=30, Resulting Numbers: [73, 30] Generated Node #0,3,0: 73:[73, 30] Operation: 57-27=30 Exploring Operation: 27+57=84, Resulting Numbers: [73, 84] Generated Node #0,3,1: 73:[73, 84] Operation: 27+57=84 Exploring Operation: 73+27=100, Resulting Numbers: [57, 100] Generated Node #0,3,2: 73:[57, 100] Operation: 73+27=100 Exploring Operation: 73-27=46, Resulting Numbers: [57, 46] Generated Node #0,3,3: 73:[57, 46] Operation: 73-27=46 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[73, 84], Operations: ['15+42=57', '27+57=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,73 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,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,3,0 Current State: 73:[73, 30], Operations: ['15+42=57', '57-27=30'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,73 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,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,3,2 Current State: 73:[57, 100], Operations: ['15+42=57', '73+27=100'] Exploring Operation: 100-57=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 57+100=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 57*100=5700, Resulting Numbers: [5700] 5700,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,3,3 Current State: 73:[57, 46], Operations: ['15+42=57', '73-27=46'] Exploring Operation: 57*46=2622, Resulting Numbers: [2622] 2622,73 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[42, 73, 42], Operations: ['15+27=42'] Exploring Operation: 42/42=1, Resulting Numbers: [73, 1] Generated Node #0,2,0: 73:[73, 1] Operation: 42/42=1 Exploring Operation: 73-42=31, Resulting Numbers: [42, 31] Generated Node #0,2,1: 73:[42, 31] Operation: 73-42=31 Exploring Operation: 42+73=115, Resulting Numbers: [42, 115] Generated Node #0,2,2: 73:[42, 115] Operation: 42+73=115 Exploring Operation: 42+42=84, Resulting Numbers: [73, 84] Generated Node #0,2,3: 73:[73, 84] Operation: 42+42=84 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[73, 84], Operations: ['15+27=42', '42+42=84'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,73 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[73, 1], Operations: ['15+27=42', '42/42=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[15, 42, 73, 27], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [42, 73, 42] Generated Node #0,2: 73:[42, 73, 42] Operation: 15+27=42 Moving to Node #0,2 Current State: 73:[42, 73, 42], Operations: ['15+27=42'] Exploring Operation: 42/42=1, Resulting Numbers: [73, 1] Generated Node #0,2,0: 73:[73, 1] Operation: 42/42=1 Moving to Node #0,2,0 Current State: 73:[73, 1], Operations: ['15+27=42', '42/42=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 4, 2, 70, 22 ]
86
[ "4+2=6", "70+22=92", "92-6=86" ]
Current State: 86:[4, 2, 70, 22], Operations: [] Exploring Operation: 4+2=6, Resulting Numbers: [70, 22, 6] Generated Node #2: [70, 22, 6] from Operation: 4+2=6 Current State: 86:[70, 22, 6], Operations: ['4+2=6'] Exploring Operation: 70+22=92, Resulting Numbers: [6, 92] Generated Node #3: [6, 92] from Operation: 70+22=92 Current State: 86:[6, 92], Operations: ['4+2=6', '70+22=92'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[4, 2, 70, 22], Operations: [] Exploring Operation: 4*22=88, Resulting Numbers: [2, 70, 88] Generated Node #0,0: 86:[2, 70, 88] Operation: 4*22=88 Exploring Operation: 70-22=48, Resulting Numbers: [4, 2, 48] Generated Node #0,1: 86:[4, 2, 48] Operation: 70-22=48 Exploring Operation: 70+22=92, Resulting Numbers: [4, 2, 92] Generated Node #0,2: 86:[4, 2, 92] Operation: 70+22=92 Moving to Node #0,1 Current State: 86:[4, 2, 48], Operations: ['70-22=48'] Exploring Operation: 48-4=44, Resulting Numbers: [2, 44] Generated Node #0,1,0: 86:[2, 44] Operation: 48-4=44 Exploring Operation: 4-2=2, Resulting Numbers: [48, 2] Generated Node #0,1,1: 86:[48, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [48, 2] Generated Node #0,1,2: 86:[48, 2] Operation: 4/2=2 Moving to Node #0,2 Current State: 86:[4, 2, 92], Operations: ['70+22=92'] Exploring Operation: 92/2=46, Resulting Numbers: [4, 46] Generated Node #0,2,0: 86:[4, 46] Operation: 92/2=46 Exploring Operation: 4-2=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 86:[92, 2] Operation: 4-2=2 Exploring Operation: 92-4=88, Resulting Numbers: [2, 88] Generated Node #0,2,2: 86:[2, 88] Operation: 92-4=88 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[2, 88], Operations: ['70+22=92', '92-4=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[4, 2, 70, 22], Operations: [] Exploring Operation: 70+22=92, Resulting Numbers: [4, 2, 92] Generated Node #0,2: 86:[4, 2, 92] Operation: 70+22=92 Moving to Node #0,2 Current State: 86:[4, 2, 92], Operations: ['70+22=92'] Exploring Operation: 92-4=88, Resulting Numbers: [2, 88] Generated Node #0,2,2: 86:[2, 88] Operation: 92-4=88 Moving to Node #0,2,2 Current State: 86:[2, 88], Operations: ['70+22=92', '92-4=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 81, 35, 79, 48 ]
15
[ "81-35=46", "79-48=31", "46-31=15" ]
Current State: 15:[81, 35, 79, 48], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [79, 48, 46] Generated Node #2: [79, 48, 46] from Operation: 81-35=46 Current State: 15:[79, 48, 46], Operations: ['81-35=46'] Exploring Operation: 79-48=31, Resulting Numbers: [46, 31] Generated Node #3: [46, 31] from Operation: 79-48=31 Current State: 15:[46, 31], Operations: ['81-35=46', '79-48=31'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[81, 35, 79, 48], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [35, 79, 33] Generated Node #0,0: 15:[35, 79, 33] Operation: 81-48=33 Exploring Operation: 79-35=44, Resulting Numbers: [81, 48, 44] Generated Node #0,1: 15:[81, 48, 44] Operation: 79-35=44 Exploring Operation: 81-79=2, Resulting Numbers: [35, 48, 2] Generated Node #0,2: 15:[35, 48, 2] Operation: 81-79=2 Exploring Operation: 79-48=31, Resulting Numbers: [81, 35, 31] Generated Node #0,3: 15:[81, 35, 31] Operation: 79-48=31 Exploring Operation: 81-35=46, Resulting Numbers: [79, 48, 46] Generated Node #0,4: 15:[79, 48, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[35, 48, 2], Operations: ['81-79=2'] Exploring Operation: 48/2=24, Resulting Numbers: [35, 24] Generated Node #0,2,0: 15:[35, 24] Operation: 48/2=24 Exploring Operation: 48-2=46, Resulting Numbers: [35, 46] Generated Node #0,2,1: 15:[35, 46] Operation: 48-2=46 Exploring Operation: 35-2=33, Resulting Numbers: [48, 33] Generated Node #0,2,2: 15:[48, 33] Operation: 35-2=33 Exploring Operation: 48-35=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 15:[2, 13] Operation: 48-35=13 Exploring Operation: 35+2=37, Resulting Numbers: [48, 37] Generated Node #0,2,4: 15:[48, 37] Operation: 35+2=37 Moving to Node #0,2,3 Current State: 15:[2, 13], Operations: ['81-79=2', '48-35=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[81, 35, 79, 48], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [35, 48, 2] Generated Node #0,2: 15:[35, 48, 2] Operation: 81-79=2 Moving to Node #0,2 Current State: 15:[35, 48, 2], Operations: ['81-79=2'] Exploring Operation: 48-35=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 15:[2, 13] Operation: 48-35=13 Moving to Node #0,2,3 Current State: 15:[2, 13], Operations: ['81-79=2', '48-35=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 83, 4, 55, 70 ]
64
[ "83-4=79", "70-55=15", "79-15=64" ]
Current State: 64:[83, 4, 55, 70], Operations: [] Exploring Operation: 83-4=79, Resulting Numbers: [55, 70, 79] Generated Node #2: [55, 70, 79] from Operation: 83-4=79 Current State: 64:[55, 70, 79], Operations: ['83-4=79'] Exploring Operation: 70-55=15, Resulting Numbers: [79, 15] Generated Node #3: [79, 15] from Operation: 70-55=15 Current State: 64:[79, 15], Operations: ['83-4=79', '70-55=15'] Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[83, 4, 55, 70], Operations: [] Exploring Operation: 83-4=79, Resulting Numbers: [55, 70, 79] Generated Node #0,0: 64:[55, 70, 79] Operation: 83-4=79 Exploring Operation: 83-55=28, Resulting Numbers: [4, 70, 28] Generated Node #0,1: 64:[4, 70, 28] Operation: 83-55=28 Exploring Operation: 70-55=15, Resulting Numbers: [83, 4, 15] Generated Node #0,2: 64:[83, 4, 15] Operation: 70-55=15 Exploring Operation: 83-70=13, Resulting Numbers: [4, 55, 13] Generated Node #0,3: 64:[4, 55, 13] Operation: 83-70=13 Moving to Node #0,1 Current State: 64:[4, 70, 28], Operations: ['83-55=28'] Exploring Operation: 70-28=42, Resulting Numbers: [4, 42] Generated Node #0,1,0: 64:[4, 42] Operation: 70-28=42 Exploring Operation: 28/4=7, Resulting Numbers: [70, 7] Generated Node #0,1,1: 64:[70, 7] Operation: 28/4=7 Exploring Operation: 4+28=32, Resulting Numbers: [70, 32] Generated Node #0,1,2: 64:[70, 32] Operation: 4+28=32 Exploring Operation: 70-4=66, Resulting Numbers: [28, 66] Generated Node #0,1,3: 64:[28, 66] Operation: 70-4=66 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[70, 32], Operations: ['83-55=28', '4+28=32'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,64 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,64 unequal: No Solution No 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: 64:[28, 66], Operations: ['83-55=28', '70-4=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,64 unequal: No Solution No 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: 64:[70, 7], Operations: ['83-55=28', '28/4=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,64 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[4, 42], Operations: ['83-55=28', '70-28=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,64 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,64 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: 64:[4, 55, 13], Operations: ['83-70=13'] Exploring Operation: 55+13=68, Resulting Numbers: [4, 68] Generated Node #0,3,0: 64:[4, 68] Operation: 55+13=68 Exploring Operation: 4+55=59, Resulting Numbers: [13, 59] Generated Node #0,3,1: 64:[13, 59] Operation: 4+55=59 Exploring Operation: 4+13=17, Resulting Numbers: [55, 17] Generated Node #0,3,2: 64:[55, 17] Operation: 4+13=17 Exploring Operation: 13-4=9, Resulting Numbers: [55, 9] Generated Node #0,3,3: 64:[55, 9] Operation: 13-4=9 Moving to Node #0,2 Current State: 64:[83, 4, 15], Operations: ['70-55=15'] Exploring Operation: 4+15=19, Resulting Numbers: [83, 19] Generated Node #0,2,0: 64:[83, 19] Operation: 4+15=19 Exploring Operation: 15-4=11, Resulting Numbers: [83, 11] Generated Node #0,2,1: 64:[83, 11] Operation: 15-4=11 Exploring Operation: 83-4=79, Resulting Numbers: [15, 79] Generated Node #0,2,2: 64:[15, 79] Operation: 83-4=79 Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,2,3: 64:[4, 68] Operation: 83-15=68 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[4, 68], Operations: ['70-55=15', '83-15=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[83, 4, 55, 70], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [83, 4, 15] Generated Node #0,2: 64:[83, 4, 15] Operation: 70-55=15 Moving to Node #0,2 Current State: 64:[83, 4, 15], Operations: ['70-55=15'] Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,2,3: 64:[4, 68] Operation: 83-15=68 Moving to Node #0,2,3 Current State: 64:[4, 68], Operations: ['70-55=15', '83-15=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 21, 48, 24, 78 ]
42
[ "24-21=3", "48+78=126", "126/3=42" ]
Current State: 42:[21, 48, 24, 78], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [48, 78, 3] Generated Node #2: [48, 78, 3] from Operation: 24-21=3 Current State: 42:[48, 78, 3], Operations: ['24-21=3'] Exploring Operation: 48+78=126, Resulting Numbers: [3, 126] Generated Node #3: [3, 126] from Operation: 48+78=126 Current State: 42:[3, 126], Operations: ['24-21=3', '48+78=126'] Exploring Operation: 126/3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[21, 48, 24, 78], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [21, 48, 54] Generated Node #0,0: 42:[21, 48, 54] Operation: 78-24=54 Exploring Operation: 48/24=2, Resulting Numbers: [21, 78, 2] Generated Node #0,1: 42:[21, 78, 2] Operation: 48/24=2 Exploring Operation: 78-21=57, Resulting Numbers: [48, 24, 57] Generated Node #0,2: 42:[48, 24, 57] Operation: 78-21=57 Exploring Operation: 78-48=30, Resulting Numbers: [21, 24, 30] Generated Node #0,3: 42:[21, 24, 30] Operation: 78-48=30 Exploring Operation: 48-24=24, Resulting Numbers: [21, 78, 24] Generated Node #0,4: 42:[21, 78, 24] Operation: 48-24=24 Moving to Node #0,3 Current State: 42:[21, 24, 30], Operations: ['78-48=30'] Exploring Operation: 24-21=3, Resulting Numbers: [30, 3] Generated Node #0,3,0: 42:[30, 3] Operation: 24-21=3 Exploring Operation: 30-21=9, Resulting Numbers: [24, 9] Generated Node #0,3,1: 42:[24, 9] Operation: 30-21=9 Exploring Operation: 21+24=45, Resulting Numbers: [30, 45] Generated Node #0,3,2: 42:[30, 45] Operation: 21+24=45 Exploring Operation: 30-24=6, Resulting Numbers: [21, 6] Generated Node #0,3,3: 42:[21, 6] Operation: 30-24=6 Exploring Operation: 21+30=51, Resulting Numbers: [24, 51] Generated Node #0,3,4: 42:[24, 51] Operation: 21+30=51 Moving to Node #0,0 Current State: 42:[21, 48, 54], Operations: ['78-24=54'] Exploring Operation: 21+54=75, Resulting Numbers: [48, 75] Generated Node #0,0,0: 42:[48, 75] Operation: 21+54=75 Exploring Operation: 21+48=69, Resulting Numbers: [54, 69] Generated Node #0,0,1: 42:[54, 69] Operation: 21+48=69 Exploring Operation: 54-21=33, Resulting Numbers: [48, 33] Generated Node #0,0,2: 42:[48, 33] Operation: 54-21=33 Exploring Operation: 54-48=6, Resulting Numbers: [21, 6] Generated Node #0,0,3: 42:[21, 6] Operation: 54-48=6 Exploring Operation: 48-21=27, Resulting Numbers: [54, 27] Generated Node #0,0,4: 42:[54, 27] Operation: 48-21=27 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[21, 6], Operations: ['78-24=54', '54-48=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[48, 33], Operations: ['78-24=54', '54-21=33'] Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,42 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 42:[54, 27], Operations: ['78-24=54', '48-21=27'] Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,42 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[48, 75], Operations: ['78-24=54', '21+54=75'] Exploring Operation: 48*75=3600, Resulting Numbers: [3600] 3600,42 unequal: No Solution Exploring Operation: 48+75=123, Resulting Numbers: [123] 123,42 unequal: No Solution Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[54, 69], Operations: ['78-24=54', '21+48=69'] Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,42 unequal: No Solution Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,42 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,42 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: 42:[48, 24, 57], Operations: ['78-21=57'] Exploring Operation: 48-24=24, Resulting Numbers: [57, 24] Generated Node #0,2,0: 42:[57, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [57, 72] Generated Node #0,2,1: 42:[57, 72] Operation: 48+24=72 Exploring Operation: 48/24=2, Resulting Numbers: [57, 2] Generated Node #0,2,2: 42:[57, 2] Operation: 48/24=2 Exploring Operation: 57-48=9, Resulting Numbers: [24, 9] Generated Node #0,2,3: 42:[24, 9] Operation: 57-48=9 Exploring Operation: 57-24=33, Resulting Numbers: [48, 33] Generated Node #0,2,4: 42:[48, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[24, 9], Operations: ['78-21=57', '57-48=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[57, 2], Operations: ['78-21=57', '48/24=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,42 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[48, 33], Operations: ['78-21=57', '57-24=33'] Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,42 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[57, 24], Operations: ['78-21=57', '48-24=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,42 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[57, 72], Operations: ['78-21=57', '48+24=72'] Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,42 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,42 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: 42:[21, 78, 2], Operations: ['48/24=2'] Exploring Operation: 21*2=42, Resulting Numbers: [78, 42] Generated Node #0,1,0: 42:[78, 42] Operation: 21*2=42 Exploring Operation: 78-21=57, Resulting Numbers: [2, 57] Generated Node #0,1,1: 42:[2, 57] Operation: 78-21=57 Exploring Operation: 78/2=39, Resulting Numbers: [21, 39] Generated Node #0,1,2: 42:[21, 39] Operation: 78/2=39 Exploring Operation: 21+2=23, Resulting Numbers: [78, 23] Generated Node #0,1,3: 42:[78, 23] Operation: 21+2=23 Exploring Operation: 78-2=76, Resulting Numbers: [21, 76] Generated Node #0,1,4: 42:[21, 76] Operation: 78-2=76 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[21, 39], Operations: ['48/24=2', '78/2=39'] Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,42 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[2, 57], Operations: ['48/24=2', '78-21=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,42 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 42:[21, 76], Operations: ['48/24=2', '78-2=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,42 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[78, 42], Operations: ['48/24=2', '21*2=42'] Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,42 unequal: No Solution Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,42 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[78, 23], Operations: ['48/24=2', '21+2=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 42:[21, 78, 24], Operations: ['48-24=24'] Exploring Operation: 21+78=99, Resulting Numbers: [24, 99] Generated Node #0,4,0: 42:[24, 99] Operation: 21+78=99 Exploring Operation: 21+24=45, Resulting Numbers: [78, 45] Generated Node #0,4,1: 42:[78, 45] Operation: 21+24=45 Exploring Operation: 24-21=3, Resulting Numbers: [78, 3] Generated Node #0,4,2: 42:[78, 3] Operation: 24-21=3 Exploring Operation: 78-21=57, Resulting Numbers: [24, 57] Generated Node #0,4,3: 42:[24, 57] Operation: 78-21=57 Exploring Operation: 78-24=54, Resulting Numbers: [21, 54] Generated Node #0,4,4: 42:[21, 54] Operation: 78-24=54 Moving to Node #0,3,3 Current State: 42:[21, 6], Operations: ['78-48=30', '30-24=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[24, 9], Operations: ['78-48=30', '30-21=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[30, 3], Operations: ['78-48=30', '24-21=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,4,4 Current State: 42:[21, 54], Operations: ['48-24=24', '78-24=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,42 unequal: No Solution Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,42 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[24, 51], Operations: ['78-48=30', '21+30=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,42 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[30, 45], Operations: ['78-48=30', '21+24=45'] Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,42 unequal: No Solution Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,42 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,4,3 Current State: 42:[24, 57], Operations: ['48-24=24', '78-21=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[78, 3], Operations: ['48-24=24', '24-21=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,42 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[78, 45], Operations: ['48-24=24', '21+24=45'] Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,42 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,42 unequal: No Solution Moving to Node #0,4,0 Current State: 42:[24, 99], Operations: ['48-24=24', '21+78=99'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,42 unequal: No Solution Exploring Operation: 24+99=123, Resulting Numbers: [123] 123,42 unequal: No Solution Exploring Operation: 24*99=2376, Resulting Numbers: [2376] 2376,42 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 14, 3, 18, 48 ]
56
[ "14+48=62", "18/3=6", "62-6=56" ]
Current State: 56:[14, 3, 18, 48], Operations: [] Exploring Operation: 14+48=62, Resulting Numbers: [3, 18, 62] Generated Node #2: [3, 18, 62] from Operation: 14+48=62 Current State: 56:[3, 18, 62], Operations: ['14+48=62'] Exploring Operation: 18/3=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 18/3=6 Current State: 56:[62, 6], Operations: ['14+48=62', '18/3=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[14, 3, 18, 48], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [3, 48, 4] Generated Node #0,0: 56:[3, 48, 4] Operation: 18-14=4 Exploring Operation: 18-3=15, Resulting Numbers: [14, 48, 15] Generated Node #0,1: 56:[14, 48, 15] Operation: 18-3=15 Exploring Operation: 48/3=16, Resulting Numbers: [14, 18, 16] Generated Node #0,2: 56:[14, 18, 16] Operation: 48/3=16 Exploring Operation: 48-18=30, Resulting Numbers: [14, 3, 30] Generated Node #0,3: 56:[14, 3, 30] Operation: 48-18=30 Exploring Operation: 18/3=6, Resulting Numbers: [14, 48, 6] Generated Node #0,4: 56:[14, 48, 6] Operation: 18/3=6 Moving to Node #0,3 Current State: 56:[14, 3, 30], Operations: ['48-18=30'] Exploring Operation: 30/3=10, Resulting Numbers: [14, 10] Generated Node #0,3,0: 56:[14, 10] Operation: 30/3=10 Exploring Operation: 14+3=17, Resulting Numbers: [30, 17] Generated Node #0,3,1: 56:[30, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [30, 11] Generated Node #0,3,2: 56:[30, 11] Operation: 14-3=11 Exploring Operation: 30-14=16, Resulting Numbers: [3, 16] Generated Node #0,3,3: 56:[3, 16] Operation: 30-14=16 Exploring Operation: 30-3=27, Resulting Numbers: [14, 27] Generated Node #0,3,4: 56:[14, 27] Operation: 30-3=27 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[14, 27], Operations: ['48-18=30', '30-3=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,56 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[14, 10], Operations: ['48-18=30', '30/3=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[3, 16], Operations: ['48-18=30', '30-14=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[30, 17], Operations: ['48-18=30', '14+3=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,56 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[30, 11], Operations: ['48-18=30', '14-3=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,56 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,56 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: 56:[14, 18, 16], Operations: ['48/3=16'] Exploring Operation: 18-14=4, Resulting Numbers: [16, 4] Generated Node #0,2,0: 56:[16, 4] Operation: 18-14=4 Exploring Operation: 18-16=2, Resulting Numbers: [14, 2] Generated Node #0,2,1: 56:[14, 2] Operation: 18-16=2 Exploring Operation: 14+16=30, Resulting Numbers: [18, 30] Generated Node #0,2,2: 56:[18, 30] Operation: 14+16=30 Exploring Operation: 16-14=2, Resulting Numbers: [18, 2] Generated Node #0,2,3: 56:[18, 2] Operation: 16-14=2 Exploring Operation: 14+18=32, Resulting Numbers: [16, 32] Generated Node #0,2,4: 56:[16, 32] Operation: 14+18=32 Moving to Node #0,0 Current State: 56:[3, 48, 4], Operations: ['18-14=4'] Exploring Operation: 3+4=7, Resulting Numbers: [48, 7] Generated Node #0,0,0: 56:[48, 7] Operation: 3+4=7 Exploring Operation: 3+48=51, Resulting Numbers: [4, 51] Generated Node #0,0,1: 56:[4, 51] Operation: 3+48=51 Exploring Operation: 48/4=12, Resulting Numbers: [3, 12] Generated Node #0,0,2: 56:[3, 12] Operation: 48/4=12 Exploring Operation: 48+4=52, Resulting Numbers: [3, 52] Generated Node #0,0,3: 56:[3, 52] Operation: 48+4=52 Exploring Operation: 48/3=16, Resulting Numbers: [4, 16] Generated Node #0,0,4: 56:[4, 16] Operation: 48/3=16 Moving to Node #0,1 Current State: 56:[14, 48, 15], Operations: ['18-3=15'] Exploring Operation: 48-15=33, Resulting Numbers: [14, 33] Generated Node #0,1,0: 56:[14, 33] Operation: 48-15=33 Exploring Operation: 14+15=29, Resulting Numbers: [48, 29] Generated Node #0,1,1: 56:[48, 29] Operation: 14+15=29 Exploring Operation: 14+48=62, Resulting Numbers: [15, 62] Generated Node #0,1,2: 56:[15, 62] Operation: 14+48=62 Exploring Operation: 48+15=63, Resulting Numbers: [14, 63] Generated Node #0,1,3: 56:[14, 63] Operation: 48+15=63 Exploring Operation: 48-14=34, Resulting Numbers: [15, 34] Generated Node #0,1,4: 56:[15, 34] Operation: 48-14=34 Moving to Node #0,4 Current State: 56:[14, 48, 6], Operations: ['18/3=6'] Exploring Operation: 14+48=62, Resulting Numbers: [6, 62] Generated Node #0,4,0: 56:[6, 62] Operation: 14+48=62 Exploring Operation: 48/6=8, Resulting Numbers: [14, 8] Generated Node #0,4,1: 56:[14, 8] Operation: 48/6=8 Exploring Operation: 14-6=8, Resulting Numbers: [48, 8] Generated Node #0,4,2: 56:[48, 8] Operation: 14-6=8 Exploring Operation: 48-14=34, Resulting Numbers: [6, 34] Generated Node #0,4,3: 56:[6, 34] Operation: 48-14=34 Exploring Operation: 48+6=54, Resulting Numbers: [14, 54] Generated Node #0,4,4: 56:[14, 54] Operation: 48+6=54 Moving to Node #0,2,1 Current State: 56:[14, 2], Operations: ['48/3=16', '18-16=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[14, 8], Operations: ['18/3=6', '48/6=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[4, 16], Operations: ['18-14=4', '48/3=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[16, 4], Operations: ['48/3=16', '18-14=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[14, 54], Operations: ['18/3=6', '48+6=54'] Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,56 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[3, 12], Operations: ['18-14=4', '48/4=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[18, 2], Operations: ['48/3=16', '16-14=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[14, 33], Operations: ['18-3=15', '48-15=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[3, 52], Operations: ['18-14=4', '48+4=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,56 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[4, 51], Operations: ['18-14=4', '3+48=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[18, 30], Operations: ['48/3=16', '14+16=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,56 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[16, 32], Operations: ['48/3=16', '14+18=32'] Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,56 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[15, 34], Operations: ['18-3=15', '48-14=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,56 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[14, 63], Operations: ['18-3=15', '48+15=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[6, 34], Operations: ['18/3=6', '48-14=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,56 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[15, 62], Operations: ['18-3=15', '14+48=62'] Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[6, 62], Operations: ['18/3=6', '14+48=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,56 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[14, 3, 18, 48], Operations: [] Exploring Operation: 18/3=6, Resulting Numbers: [14, 48, 6] Generated Node #0,4: 56:[14, 48, 6] Operation: 18/3=6 Moving to Node #0,4 Current State: 56:[14, 48, 6], Operations: ['18/3=6'] Exploring Operation: 14+48=62, Resulting Numbers: [6, 62] Generated Node #0,4,0: 56:[6, 62] Operation: 14+48=62 Moving to Node #0,4,0 Current State: 56:[6, 62], Operations: ['18/3=6', '14+48=62'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.907986
hs_5
mult_heuristic
[ 14, 24, 51, 86 ]
99
[ "14+24=38", "51+86=137", "137-38=99" ]
Current State: 99:[14, 24, 51, 86], Operations: [] Exploring Operation: 14+24=38, Resulting Numbers: [51, 86, 38] Generated Node #2: [51, 86, 38] from Operation: 14+24=38 Current State: 99:[51, 86, 38], Operations: ['14+24=38'] Exploring Operation: 51+86=137, Resulting Numbers: [38, 137] Generated Node #3: [38, 137] from Operation: 51+86=137 Current State: 99:[38, 137], Operations: ['14+24=38', '51+86=137'] Exploring Operation: 137-38=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[14, 24, 51, 86], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [14, 86, 27] Generated Node #0,0: 99:[14, 86, 27] Operation: 51-24=27 Exploring Operation: 86-51=35, Resulting Numbers: [14, 24, 35] Generated Node #0,1: 99:[14, 24, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[14, 24, 35], Operations: ['86-51=35'] Exploring Operation: 24-14=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 99:[35, 10] Operation: 24-14=10 Exploring Operation: 35-24=11, Resulting Numbers: [14, 11] Generated Node #0,1,1: 99:[14, 11] Operation: 35-24=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[35, 10], Operations: ['86-51=35', '24-14=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,99 unequal: No Solution No 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: 99:[14, 11], Operations: ['86-51=35', '35-24=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,99 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: 99:[14, 86, 27], Operations: ['51-24=27'] Exploring Operation: 14+86=100, Resulting Numbers: [27, 100] Generated Node #0,0,0: 99:[27, 100] Operation: 14+86=100 Exploring Operation: 27-14=13, Resulting Numbers: [86, 13] Generated Node #0,0,1: 99:[86, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[27, 100], Operations: ['51-24=27', '14+86=100'] Exploring Operation: 27+100=127, Resulting Numbers: [127] 127,99 unequal: No Solution Exploring Operation: 100-27=73, Resulting Numbers: [73] 73,99 unequal: No Solution No 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: 99:[86, 13], Operations: ['51-24=27', '27-14=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[14, 24, 51, 86], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [14, 86, 27] Generated Node #0,0: 99:[14, 86, 27] Operation: 51-24=27 Moving to Node #0,0 Current State: 99:[14, 86, 27], Operations: ['51-24=27'] Exploring Operation: 27-14=13, Resulting Numbers: [86, 13] Generated Node #0,0,1: 99:[86, 13] Operation: 27-14=13 Moving to Node #0,0,1 Current State: 99:[86, 13], Operations: ['51-24=27', '27-14=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 13, 2, 16, 73 ]
72
[ "13+2=15", "73-16=57", "15+57=72" ]
Current State: 72:[13, 2, 16, 73], Operations: [] Exploring Operation: 13+2=15, Resulting Numbers: [16, 73, 15] Generated Node #2: [16, 73, 15] from Operation: 13+2=15 Current State: 72:[16, 73, 15], Operations: ['13+2=15'] Exploring Operation: 73-16=57, Resulting Numbers: [15, 57] Generated Node #3: [15, 57] from Operation: 73-16=57 Current State: 72:[15, 57], Operations: ['13+2=15', '73-16=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[13, 2, 16, 73], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [2, 73, 3] Generated Node #0,0: 72:[2, 73, 3] Operation: 16-13=3 Exploring Operation: 2+16=18, Resulting Numbers: [13, 73, 18] Generated Node #0,1: 72:[13, 73, 18] Operation: 2+16=18 Moving to Node #0,0 Current State: 72:[2, 73, 3], Operations: ['16-13=3'] Exploring Operation: 73-2=71, Resulting Numbers: [3, 71] Generated Node #0,0,0: 72:[3, 71] Operation: 73-2=71 Exploring Operation: 2*3=6, Resulting Numbers: [73, 6] Generated Node #0,0,1: 72:[73, 6] Operation: 2*3=6 Moving to Node #0,1 Current State: 72:[13, 73, 18], Operations: ['2+16=18'] Exploring Operation: 13+18=31, Resulting Numbers: [73, 31] Generated Node #0,1,0: 72:[73, 31] Operation: 13+18=31 Exploring Operation: 18-13=5, Resulting Numbers: [73, 5] Generated Node #0,1,1: 72:[73, 5] Operation: 18-13=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[73, 5], Operations: ['2+16=18', '18-13=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,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,1,0 Current State: 72:[73, 31], Operations: ['2+16=18', '13+18=31'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,72 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: 72:[3, 71], Operations: ['16-13=3', '73-2=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,72 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[73, 6], Operations: ['16-13=3', '2*3=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,72 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 76, 26, 99 ]
19
[ "76+99=175", "175/25=7", "26-7=19" ]
Current State: 19:[25, 76, 26, 99], Operations: [] Exploring Operation: 76+99=175, Resulting Numbers: [25, 26, 175] Generated Node #2: [25, 26, 175] from Operation: 76+99=175 Current State: 19:[25, 26, 175], Operations: ['76+99=175'] Exploring Operation: 175/25=7, Resulting Numbers: [26, 7] Generated Node #3: [26, 7] from Operation: 175/25=7 Current State: 19:[26, 7], Operations: ['76+99=175', '175/25=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[25, 76, 26, 99], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [25, 76, 73] Generated Node #0,0: 19:[25, 76, 73] Operation: 99-26=73 Exploring Operation: 99-76=23, Resulting Numbers: [25, 26, 23] Generated Node #0,1: 19:[25, 26, 23] Operation: 99-76=23 Exploring Operation: 76-26=50, Resulting Numbers: [25, 99, 50] Generated Node #0,2: 19:[25, 99, 50] Operation: 76-26=50 Moving to Node #0,1 Current State: 19:[25, 26, 23], Operations: ['99-76=23'] Exploring Operation: 25-23=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 19:[26, 2] Operation: 25-23=2 Exploring Operation: 26-23=3, Resulting Numbers: [25, 3] Generated Node #0,1,1: 19:[25, 3] Operation: 26-23=3 Exploring Operation: 26-25=1, Resulting Numbers: [23, 1] Generated Node #0,1,2: 19:[23, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[25, 3], Operations: ['99-76=23', '26-23=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,19 unequal: No Solution No 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: 19:[23, 1], Operations: ['99-76=23', '26-25=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,19 unequal: No Solution No 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: 19:[26, 2], Operations: ['99-76=23', '25-23=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,19 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: 19:[25, 76, 73], Operations: ['99-26=73'] Exploring Operation: 73-25=48, Resulting Numbers: [76, 48] Generated Node #0,0,0: 19:[76, 48] Operation: 73-25=48 Exploring Operation: 76-73=3, Resulting Numbers: [25, 3] Generated Node #0,0,1: 19:[25, 3] Operation: 76-73=3 Exploring Operation: 76-25=51, Resulting Numbers: [73, 51] Generated Node #0,0,2: 19:[73, 51] Operation: 76-25=51 Moving to Node #0,2 Current State: 19:[25, 99, 50], Operations: ['76-26=50'] Exploring Operation: 50-25=25, Resulting Numbers: [99, 25] Generated Node #0,2,0: 19:[99, 25] Operation: 50-25=25 Exploring Operation: 99-25=74, Resulting Numbers: [50, 74] Generated Node #0,2,1: 19:[50, 74] Operation: 99-25=74 Exploring Operation: 99-50=49, Resulting Numbers: [25, 49] Generated Node #0,2,2: 19:[25, 49] Operation: 99-50=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[25, 49], Operations: ['76-26=50', '99-50=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,19 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,19 unequal: No Solution No 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: 19:[99, 25], Operations: ['76-26=50', '50-25=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,19 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,19 unequal: No Solution No 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: 19:[50, 74], Operations: ['76-26=50', '99-25=74'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,19 unequal: No Solution Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 19:[25, 3], Operations: ['99-26=73', '76-73=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[76, 48], Operations: ['99-26=73', '73-25=48'] Exploring Operation: 76*48=3648, Resulting Numbers: [3648] 3648,19 unequal: No Solution Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 76+48=124, Resulting Numbers: [124] 124,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[73, 51], Operations: ['99-26=73', '76-25=51'] Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,19 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,19 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 45, 36, 63, 49 ]
81
[ "49-45=4", "36*4=144", "144-63=81" ]
Current State: 81:[45, 36, 63, 49], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [36, 63, 4] Generated Node #2: [36, 63, 4] from Operation: 49-45=4 Current State: 81:[36, 63, 4], Operations: ['49-45=4'] Exploring Operation: 36*4=144, Resulting Numbers: [63, 144] Generated Node #3: [63, 144] from Operation: 36*4=144 Current State: 81:[63, 144], Operations: ['49-45=4', '36*4=144'] Exploring Operation: 144-63=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[45, 36, 63, 49], Operations: [] Exploring Operation: 45+36=81, Resulting Numbers: [63, 49, 81] Generated Node #0,0: 81:[63, 49, 81] Operation: 45+36=81 Exploring Operation: 49-45=4, Resulting Numbers: [36, 63, 4] Generated Node #0,1: 81:[36, 63, 4] Operation: 49-45=4 Exploring Operation: 63-49=14, Resulting Numbers: [45, 36, 14] Generated Node #0,2: 81:[45, 36, 14] Operation: 63-49=14 Moving to Node #0,1 Current State: 81:[36, 63, 4], Operations: ['49-45=4'] Exploring Operation: 36+63=99, Resulting Numbers: [4, 99] Generated Node #0,1,0: 81:[4, 99] Operation: 36+63=99 Exploring Operation: 36/4=9, Resulting Numbers: [63, 9] Generated Node #0,1,1: 81:[63, 9] Operation: 36/4=9 Exploring Operation: 63-36=27, Resulting Numbers: [4, 27] Generated Node #0,1,2: 81:[4, 27] Operation: 63-36=27 Moving to Node #0,2 Current State: 81:[45, 36, 14], Operations: ['63-49=14'] Exploring Operation: 45+36=81, Resulting Numbers: [14, 81] Generated Node #0,2,0: 81:[14, 81] Operation: 45+36=81 Exploring Operation: 45-14=31, Resulting Numbers: [36, 31] Generated Node #0,2,1: 81:[36, 31] Operation: 45-14=31 Exploring Operation: 45-36=9, Resulting Numbers: [14, 9] Generated Node #0,2,2: 81:[14, 9] Operation: 45-36=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[14, 81], Operations: ['63-49=14', '45+36=81'] Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,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:[14, 9], Operations: ['63-49=14', '45-36=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,81 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,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,1 Current State: 81:[36, 31], Operations: ['63-49=14', '45-14=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,81 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,81 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: 81:[63, 49, 81], Operations: ['45+36=81'] Exploring Operation: 81-49=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 81:[63, 32] Operation: 81-49=32 Exploring Operation: 63-49=14, Resulting Numbers: [81, 14] Generated Node #0,0,1: 81:[81, 14] Operation: 63-49=14 Exploring Operation: 63+49=112, Resulting Numbers: [81, 112] Generated Node #0,0,2: 81:[81, 112] Operation: 63+49=112 Moving to Node #0,1,2 Current State: 81:[4, 27], Operations: ['49-45=4', '63-36=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,81 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[81, 14], Operations: ['45+36=81', '63-49=14'] Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,81 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[63, 9], Operations: ['49-45=4', '36/4=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[4, 99], Operations: ['49-45=4', '36+63=99'] Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,81 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[63, 32], Operations: ['45+36=81', '81-49=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[81, 112], Operations: ['45+36=81', '63+49=112'] Exploring Operation: 81*112=9072, Resulting Numbers: [9072] 9072,81 unequal: No Solution Exploring Operation: 81+112=193, Resulting Numbers: [193] 193,81 unequal: No Solution Exploring Operation: 112-81=31, Resulting Numbers: [31] 31,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 31, 62, 25, 22 ]
94
[ "62/31=2", "25+22=47", "2*47=94" ]
Current State: 94:[31, 62, 25, 22], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [25, 22, 2] Generated Node #2: [25, 22, 2] from Operation: 62/31=2 Current State: 94:[25, 22, 2], Operations: ['62/31=2'] Exploring Operation: 25+22=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 25+22=47 Current State: 94:[2, 47], Operations: ['62/31=2', '25+22=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[31, 62, 25, 22], Operations: [] Exploring Operation: 25+22=47, Resulting Numbers: [31, 62, 47] Generated Node #0,0: 94:[31, 62, 47] Operation: 25+22=47 Moving to Node #0,0 Current State: 94:[31, 62, 47], Operations: ['25+22=47'] Exploring Operation: 62/31=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 62/31=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['25+22=47', '62/31=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[31, 62, 25, 22], Operations: [] Exploring Operation: 25+22=47, Resulting Numbers: [31, 62, 47] Generated Node #0,0: 94:[31, 62, 47] Operation: 25+22=47 Moving to Node #0,0 Current State: 94:[31, 62, 47], Operations: ['25+22=47'] Exploring Operation: 62/31=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 94:[47, 2] Operation: 62/31=2 Moving to Node #0,0,0 Current State: 94:[47, 2], Operations: ['25+22=47', '62/31=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic