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
[ 83, 75, 39, 22 ]
77
[ "83-39=44", "44/22=2", "75+2=77" ]
Current State: 77:[83, 75, 39, 22], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [75, 22, 44] Generated Node #2: [75, 22, 44] from Operation: 83-39=44 Current State: 77:[75, 22, 44], Operations: ['83-39=44'] Exploring Operation: 44/22=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 44/22=2 Current State: 77:[75, 2], Operations: ['83-39=44', '44/22=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[83, 75, 39, 22], Operations: [] Exploring Operation: 39+22=61, Resulting Numbers: [83, 75, 61] Generated Node #0,0: 77:[83, 75, 61] Operation: 39+22=61 Exploring Operation: 39-22=17, Resulting Numbers: [83, 75, 17] Generated Node #0,1: 77:[83, 75, 17] Operation: 39-22=17 Exploring Operation: 75-39=36, Resulting Numbers: [83, 22, 36] Generated Node #0,2: 77:[83, 22, 36] Operation: 75-39=36 Exploring Operation: 83-75=8, Resulting Numbers: [39, 22, 8] Generated Node #0,3: 77:[39, 22, 8] Operation: 83-75=8 Moving to Node #0,1 Current State: 77:[83, 75, 17], Operations: ['39-22=17'] Exploring Operation: 83-17=66, Resulting Numbers: [75, 66] Generated Node #0,1,0: 77:[75, 66] Operation: 83-17=66 Exploring Operation: 75+17=92, Resulting Numbers: [83, 92] Generated Node #0,1,1: 77:[83, 92] Operation: 75+17=92 Exploring Operation: 83+17=100, Resulting Numbers: [75, 100] Generated Node #0,1,2: 77:[75, 100] Operation: 83+17=100 Exploring Operation: 83-75=8, Resulting Numbers: [17, 8] Generated Node #0,1,3: 77:[17, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[17, 8], Operations: ['39-22=17', '83-75=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,77 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[75, 66], Operations: ['39-22=17', '83-17=66'] Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,77 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[83, 92], Operations: ['39-22=17', '75+17=92'] Exploring Operation: 83+92=175, Resulting Numbers: [175] 175,77 unequal: No Solution Exploring Operation: 83*92=7636, Resulting Numbers: [7636] 7636,77 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[75, 100], Operations: ['39-22=17', '83+17=100'] Exploring Operation: 75+100=175, Resulting Numbers: [175] 175,77 unequal: No Solution Exploring Operation: 100-75=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 75*100=7500, Resulting Numbers: [7500] 7500,77 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: 77:[83, 75, 61], Operations: ['39+22=61'] Exploring Operation: 83-61=22, Resulting Numbers: [75, 22] Generated Node #0,0,0: 77:[75, 22] Operation: 83-61=22 Exploring Operation: 75-61=14, Resulting Numbers: [83, 14] Generated Node #0,0,1: 77:[83, 14] Operation: 75-61=14 Exploring Operation: 75+61=136, Resulting Numbers: [83, 136] Generated Node #0,0,2: 77:[83, 136] Operation: 75+61=136 Exploring Operation: 83-75=8, Resulting Numbers: [61, 8] Generated Node #0,0,3: 77:[61, 8] Operation: 83-75=8 Moving to Node #0,3 Current State: 77:[39, 22, 8], Operations: ['83-75=8'] Exploring Operation: 39-8=31, Resulting Numbers: [22, 31] Generated Node #0,3,0: 77:[22, 31] Operation: 39-8=31 Exploring Operation: 22-8=14, Resulting Numbers: [39, 14] Generated Node #0,3,1: 77:[39, 14] Operation: 22-8=14 Exploring Operation: 39+22=61, Resulting Numbers: [8, 61] Generated Node #0,3,2: 77:[8, 61] Operation: 39+22=61 Exploring Operation: 39-22=17, Resulting Numbers: [8, 17] Generated Node #0,3,3: 77:[8, 17] Operation: 39-22=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[8, 17], Operations: ['83-75=8', '39-22=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,77 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[8, 61], Operations: ['83-75=8', '39+22=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,77 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[22, 31], Operations: ['83-75=8', '39-8=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[39, 14], Operations: ['83-75=8', '22-8=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,77 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: 77:[83, 22, 36], Operations: ['75-39=36'] Exploring Operation: 36-22=14, Resulting Numbers: [83, 14] Generated Node #0,2,0: 77:[83, 14] Operation: 36-22=14 Exploring Operation: 22+36=58, Resulting Numbers: [83, 58] Generated Node #0,2,1: 77:[83, 58] Operation: 22+36=58 Exploring Operation: 83-36=47, Resulting Numbers: [22, 47] Generated Node #0,2,2: 77:[22, 47] Operation: 83-36=47 Exploring Operation: 83-22=61, Resulting Numbers: [36, 61] Generated Node #0,2,3: 77:[36, 61] Operation: 83-22=61 Moving to Node #0,0,1 Current State: 77:[83, 14], Operations: ['39+22=61', '75-61=14'] Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,77 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[83, 14], Operations: ['75-39=36', '36-22=14'] Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,77 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[75, 22], Operations: ['39+22=61', '83-61=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,77 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[61, 8], Operations: ['39+22=61', '83-75=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,77 unequal: No Solution Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[83, 58], Operations: ['75-39=36', '22+36=58'] Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 83*58=4814, Resulting Numbers: [4814] 4814,77 unequal: No Solution Exploring Operation: 83+58=141, Resulting Numbers: [141] 141,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[36, 61], Operations: ['75-39=36', '83-22=61'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[22, 47], Operations: ['75-39=36', '83-36=47'] Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,77 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[83, 136], Operations: ['39+22=61', '75+61=136'] Exploring Operation: 83+136=219, Resulting Numbers: [219] 219,77 unequal: No Solution Exploring Operation: 136-83=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 83*136=11288, Resulting Numbers: [11288] 11288,77 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 22, 24, 59, 25 ]
81
[ "22+59=81", "25-24=1", "81*1=81" ]
Current State: 81:[22, 24, 59, 25], Operations: [] Exploring Operation: 22+59=81, Resulting Numbers: [24, 25, 81] Generated Node #2: [24, 25, 81] from Operation: 22+59=81 Current State: 81:[24, 25, 81], Operations: ['22+59=81'] Exploring Operation: 25-24=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 25-24=1 Current State: 81:[81, 1], Operations: ['22+59=81', '25-24=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[22, 24, 59, 25], Operations: [] Exploring Operation: 24+59=83, Resulting Numbers: [22, 25, 83] Generated Node #0,0: 81:[22, 25, 83] Operation: 24+59=83 Exploring Operation: 22+59=81, Resulting Numbers: [24, 25, 81] Generated Node #0,1: 81:[24, 25, 81] Operation: 22+59=81 Moving to Node #0,1 Current State: 81:[24, 25, 81], Operations: ['22+59=81'] Exploring Operation: 25-24=1, Resulting Numbers: [81, 1] Generated Node #0,1,0: 81:[81, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [81, 49] Generated Node #0,1,1: 81:[81, 49] Operation: 24+25=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[81, 1], Operations: ['22+59=81', '25-24=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[22, 24, 59, 25], Operations: [] Exploring Operation: 22+59=81, Resulting Numbers: [24, 25, 81] Generated Node #0,1: 81:[24, 25, 81] Operation: 22+59=81 Moving to Node #0,1 Current State: 81:[24, 25, 81], Operations: ['22+59=81'] Exploring Operation: 25-24=1, Resulting Numbers: [81, 1] Generated Node #0,1,0: 81:[81, 1] Operation: 25-24=1 Moving to Node #0,1,0 Current State: 81:[81, 1], Operations: ['22+59=81', '25-24=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 38, 18, 26, 50 ]
39
[ "50-38=12", "18*26=468", "468/12=39" ]
Current State: 39:[38, 18, 26, 50], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [18, 26, 12] Generated Node #2: [18, 26, 12] from Operation: 50-38=12 Current State: 39:[18, 26, 12], Operations: ['50-38=12'] Exploring Operation: 18*26=468, Resulting Numbers: [12, 468] Generated Node #3: [12, 468] from Operation: 18*26=468 Current State: 39:[12, 468], Operations: ['50-38=12', '18*26=468'] Exploring Operation: 468/12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[38, 18, 26, 50], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [38, 50, 8] Generated Node #0,0: 39:[38, 50, 8] Operation: 26-18=8 Exploring Operation: 18+26=44, Resulting Numbers: [38, 50, 44] Generated Node #0,1: 39:[38, 50, 44] Operation: 18+26=44 Exploring Operation: 38-26=12, Resulting Numbers: [18, 50, 12] Generated Node #0,2: 39:[18, 50, 12] Operation: 38-26=12 Moving to Node #0,0 Current State: 39:[38, 50, 8], Operations: ['26-18=8'] Exploring Operation: 50-8=42, Resulting Numbers: [38, 42] Generated Node #0,0,0: 39:[38, 42] Operation: 50-8=42 Exploring Operation: 50-38=12, Resulting Numbers: [8, 12] Generated Node #0,0,1: 39:[8, 12] Operation: 50-38=12 Exploring Operation: 38+8=46, Resulting Numbers: [50, 46] Generated Node #0,0,2: 39:[50, 46] Operation: 38+8=46 Moving to Node #0,1 Current State: 39:[38, 50, 44], Operations: ['18+26=44'] Exploring Operation: 44-38=6, Resulting Numbers: [50, 6] Generated Node #0,1,0: 39:[50, 6] Operation: 44-38=6 Exploring Operation: 50-38=12, Resulting Numbers: [44, 12] Generated Node #0,1,1: 39:[44, 12] Operation: 50-38=12 Exploring Operation: 50-44=6, Resulting Numbers: [38, 6] Generated Node #0,1,2: 39:[38, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[38, 6], Operations: ['18+26=44', '50-44=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[44, 12], Operations: ['18+26=44', '50-38=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[50, 6], Operations: ['18+26=44', '44-38=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,39 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,39 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: 39:[18, 50, 12], Operations: ['38-26=12'] Exploring Operation: 18-12=6, Resulting Numbers: [50, 6] Generated Node #0,2,0: 39:[50, 6] Operation: 18-12=6 Exploring Operation: 50-12=38, Resulting Numbers: [18, 38] Generated Node #0,2,1: 39:[18, 38] Operation: 50-12=38 Exploring Operation: 50-18=32, Resulting Numbers: [12, 32] Generated Node #0,2,2: 39:[12, 32] Operation: 50-18=32 Moving to Node #0,0,0 Current State: 39:[38, 42], Operations: ['26-18=8', '50-8=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,39 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[8, 12], Operations: ['26-18=8', '50-38=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[18, 38], Operations: ['38-26=12', '50-12=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[12, 32], Operations: ['38-26=12', '50-18=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[50, 6], Operations: ['38-26=12', '18-12=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,39 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[50, 46], Operations: ['26-18=8', '38+8=46'] Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,39 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,39 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 28, 93, 11, 77 ]
88
[ "28+93=121", "121/11=11", "77+11=88" ]
Current State: 88:[28, 93, 11, 77], Operations: [] Exploring Operation: 28+93=121, Resulting Numbers: [11, 77, 121] Generated Node #2: [11, 77, 121] from Operation: 28+93=121 Current State: 88:[11, 77, 121], Operations: ['28+93=121'] Exploring Operation: 121/11=11, Resulting Numbers: [77, 11] Generated Node #3: [77, 11] from Operation: 121/11=11 Current State: 88:[77, 11], Operations: ['28+93=121', '121/11=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[28, 93, 11, 77], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [93, 11, 49] Generated Node #0,0: 88:[93, 11, 49] Operation: 77-28=49 Moving to Node #0,0 Current State: 88:[93, 11, 49], Operations: ['77-28=49'] Exploring Operation: 93-49=44, Resulting Numbers: [11, 44] Generated Node #0,0,0: 88:[11, 44] Operation: 93-49=44 Moving to Node #0,0,0 Current State: 88:[11, 44], Operations: ['77-28=49', '93-49=44'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 69, 46, 93, 50 ]
28
[ "69+46=115", "93+50=143", "143-115=28" ]
Current State: 28:[69, 46, 93, 50], Operations: [] Exploring Operation: 69+46=115, Resulting Numbers: [93, 50, 115] Generated Node #2: [93, 50, 115] from Operation: 69+46=115 Current State: 28:[93, 50, 115], Operations: ['69+46=115'] Exploring Operation: 93+50=143, Resulting Numbers: [115, 143] Generated Node #3: [115, 143] from Operation: 93+50=143 Current State: 28:[115, 143], Operations: ['69+46=115', '93+50=143'] Exploring Operation: 143-115=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[69, 46, 93, 50], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [69, 46, 43] Generated Node #0,0: 28:[69, 46, 43] Operation: 93-50=43 Exploring Operation: 93-46=47, Resulting Numbers: [69, 50, 47] Generated Node #0,1: 28:[69, 50, 47] Operation: 93-46=47 Exploring Operation: 69-50=19, Resulting Numbers: [46, 93, 19] Generated Node #0,2: 28:[46, 93, 19] Operation: 69-50=19 Exploring Operation: 93-69=24, Resulting Numbers: [46, 50, 24] Generated Node #0,3: 28:[46, 50, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[46, 50, 24], Operations: ['93-69=24'] Exploring Operation: 46-24=22, Resulting Numbers: [50, 22] Generated Node #0,3,0: 28:[50, 22] Operation: 46-24=22 Exploring Operation: 46+24=70, Resulting Numbers: [50, 70] Generated Node #0,3,1: 28:[50, 70] Operation: 46+24=70 Exploring Operation: 50-24=26, Resulting Numbers: [46, 26] Generated Node #0,3,2: 28:[46, 26] Operation: 50-24=26 Exploring Operation: 50-46=4, Resulting Numbers: [24, 4] Generated Node #0,3,3: 28:[24, 4] Operation: 50-46=4 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[24, 4], Operations: ['93-69=24', '50-46=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[69, 46, 93, 50], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [46, 50, 24] Generated Node #0,3: 28:[46, 50, 24] Operation: 93-69=24 Moving to Node #0,3 Current State: 28:[46, 50, 24], Operations: ['93-69=24'] Exploring Operation: 50-46=4, Resulting Numbers: [24, 4] Generated Node #0,3,3: 28:[24, 4] Operation: 50-46=4 Moving to Node #0,3,3 Current State: 28:[24, 4], Operations: ['93-69=24', '50-46=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 11, 25, 44, 6 ]
52
[ "25-11=14", "44-6=38", "14+38=52" ]
Current State: 52:[11, 25, 44, 6], Operations: [] Exploring Operation: 25-11=14, Resulting Numbers: [44, 6, 14] Generated Node #2: [44, 6, 14] from Operation: 25-11=14 Current State: 52:[44, 6, 14], Operations: ['25-11=14'] Exploring Operation: 44-6=38, Resulting Numbers: [14, 38] Generated Node #3: [14, 38] from Operation: 44-6=38 Current State: 52:[14, 38], Operations: ['25-11=14', '44-6=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 25, 44, 6], Operations: [] Exploring Operation: 44+6=50, Resulting Numbers: [11, 25, 50] Generated Node #0,0: 52:[11, 25, 50] Operation: 44+6=50 Exploring Operation: 44/11=4, Resulting Numbers: [25, 6, 4] Generated Node #0,1: 52:[25, 6, 4] Operation: 44/11=4 Exploring Operation: 11-6=5, Resulting Numbers: [25, 44, 5] Generated Node #0,2: 52:[25, 44, 5] Operation: 11-6=5 Exploring Operation: 11+44=55, Resulting Numbers: [25, 6, 55] Generated Node #0,3: 52:[25, 6, 55] Operation: 11+44=55 Exploring Operation: 44-11=33, Resulting Numbers: [25, 6, 33] Generated Node #0,4: 52:[25, 6, 33] Operation: 44-11=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[25, 6, 4], Operations: ['44/11=4'] Exploring Operation: 25+4=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 52:[6, 29] Operation: 25+4=29 Exploring Operation: 6-4=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 52:[25, 2] Operation: 6-4=2 Exploring Operation: 6*4=24, Resulting Numbers: [25, 24] Generated Node #0,1,2: 52:[25, 24] Operation: 6*4=24 Exploring Operation: 6+4=10, Resulting Numbers: [25, 10] Generated Node #0,1,3: 52:[25, 10] Operation: 6+4=10 Exploring Operation: 25+6=31, Resulting Numbers: [4, 31] Generated Node #0,1,4: 52:[4, 31] Operation: 25+6=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[25, 2], Operations: ['44/11=4', '6-4=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,52 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,52 unequal: No Solution No 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: 52:[25, 24], Operations: ['44/11=4', '6*4=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,52 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,52 unequal: No Solution No 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: 52:[25, 10], Operations: ['44/11=4', '6+4=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,52 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,52 unequal: No Solution No 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: 52:[6, 29], Operations: ['44/11=4', '25+4=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,52 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,52 unequal: No Solution No 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: 52:[4, 31], Operations: ['44/11=4', '25+6=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,52 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: 52:[11, 25, 50], Operations: ['44+6=50'] Exploring Operation: 25-11=14, Resulting Numbers: [50, 14] Generated Node #0,0,0: 52:[50, 14] Operation: 25-11=14 Exploring Operation: 11+50=61, Resulting Numbers: [25, 61] Generated Node #0,0,1: 52:[25, 61] Operation: 11+50=61 Exploring Operation: 50-25=25, Resulting Numbers: [11, 25] Generated Node #0,0,2: 52:[11, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [11, 2] Generated Node #0,0,3: 52:[11, 2] Operation: 50/25=2 Exploring Operation: 11+25=36, Resulting Numbers: [50, 36] Generated Node #0,0,4: 52:[50, 36] Operation: 11+25=36 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[11, 2], Operations: ['44+6=50', '50/25=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,52 unequal: No Solution No 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: 52:[50, 14], Operations: ['44+6=50', '25-11=14'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,52 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,52 unequal: No Solution No 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: 52:[11, 25], Operations: ['44+6=50', '50-25=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,52 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,52 unequal: No Solution No 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: 52:[25, 61], Operations: ['44+6=50', '11+50=61'] Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,52 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[50, 36], Operations: ['44+6=50', '11+25=36'] Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,52 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,52 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: 52:[25, 6, 55], Operations: ['11+44=55'] Exploring Operation: 25-6=19, Resulting Numbers: [55, 19] Generated Node #0,3,0: 52:[55, 19] Operation: 25-6=19 Exploring Operation: 55-25=30, Resulting Numbers: [6, 30] Generated Node #0,3,1: 52:[6, 30] Operation: 55-25=30 Exploring Operation: 55-6=49, Resulting Numbers: [25, 49] Generated Node #0,3,2: 52:[25, 49] Operation: 55-6=49 Exploring Operation: 6+55=61, Resulting Numbers: [25, 61] Generated Node #0,3,3: 52:[25, 61] Operation: 6+55=61 Exploring Operation: 25+6=31, Resulting Numbers: [55, 31] Generated Node #0,3,4: 52:[55, 31] Operation: 25+6=31 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[25, 49], Operations: ['11+44=55', '55-6=49'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,52 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,52 unequal: No Solution No 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: 52:[6, 30], Operations: ['11+44=55', '55-25=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,52 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[55, 31], Operations: ['11+44=55', '25+6=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,52 unequal: No Solution No 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: 52:[55, 19], Operations: ['11+44=55', '25-6=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,52 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,52 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[25, 61], Operations: ['11+44=55', '6+55=61'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,52 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: 52:[25, 44, 5], Operations: ['11-6=5'] Exploring Operation: 25/5=5, Resulting Numbers: [44, 5] Generated Node #0,2,0: 52:[44, 5] Operation: 25/5=5 Exploring Operation: 44-25=19, Resulting Numbers: [5, 19] Generated Node #0,2,1: 52:[5, 19] Operation: 44-25=19 Exploring Operation: 44+5=49, Resulting Numbers: [25, 49] Generated Node #0,2,2: 52:[25, 49] Operation: 44+5=49 Exploring Operation: 25-5=20, Resulting Numbers: [44, 20] Generated Node #0,2,3: 52:[44, 20] Operation: 25-5=20 Exploring Operation: 25+5=30, Resulting Numbers: [44, 30] Generated Node #0,2,4: 52:[44, 30] Operation: 25+5=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[25, 49], Operations: ['11-6=5', '44+5=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,52 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,52 unequal: No Solution No 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: 52:[5, 19], Operations: ['11-6=5', '44-25=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,52 unequal: No Solution No 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: 52:[44, 5], Operations: ['11-6=5', '25/5=5'] Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,52 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[44, 30], Operations: ['11-6=5', '25+5=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,52 unequal: No Solution Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,52 unequal: No Solution No 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: 52:[44, 20], Operations: ['11-6=5', '25-5=20'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,52 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,52 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: 52:[25, 6, 33], Operations: ['44-11=33'] Exploring Operation: 25-6=19, Resulting Numbers: [33, 19] Generated Node #0,4,0: 52:[33, 19] Operation: 25-6=19 Exploring Operation: 25+6=31, Resulting Numbers: [33, 31] Generated Node #0,4,1: 52:[33, 31] Operation: 25+6=31 Exploring Operation: 33-6=27, Resulting Numbers: [25, 27] Generated Node #0,4,2: 52:[25, 27] Operation: 33-6=27 Exploring Operation: 25+33=58, Resulting Numbers: [6, 58] Generated Node #0,4,3: 52:[6, 58] Operation: 25+33=58 Exploring Operation: 33-25=8, Resulting Numbers: [6, 8] Generated Node #0,4,4: 52:[6, 8] Operation: 33-25=8 Moving to Node #0,4,2 Current State: 52:[25, 27], Operations: ['44-11=33', '33-6=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[11, 25, 44, 6], Operations: [] Exploring Operation: 44-11=33, Resulting Numbers: [25, 6, 33] Generated Node #0,4: 52:[25, 6, 33] Operation: 44-11=33 Moving to Node #0,4 Current State: 52:[25, 6, 33], Operations: ['44-11=33'] Exploring Operation: 33-6=27, Resulting Numbers: [25, 27] Generated Node #0,4,2: 52:[25, 27] Operation: 33-6=27 Moving to Node #0,4,2 Current State: 52:[25, 27], Operations: ['44-11=33', '33-6=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.916667
hs_5
mult_heuristic
[ 88, 19, 54, 88 ]
74
[ "88/88=1", "19+54=73", "1+73=74" ]
Current State: 74:[88, 19, 54, 88], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [19, 54, 1] Generated Node #2: [19, 54, 1] from Operation: 88/88=1 Current State: 74:[19, 54, 1], Operations: ['88/88=1'] Exploring Operation: 19+54=73, Resulting Numbers: [1, 73] Generated Node #3: [1, 73] from Operation: 19+54=73 Current State: 74:[1, 73], Operations: ['88/88=1', '19+54=73'] Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[88, 19, 54, 88], Operations: [] Exploring Operation: 88-54=34, Resulting Numbers: [19, 88, 34] Generated Node #0,0: 74:[19, 88, 34] Operation: 88-54=34 Exploring Operation: 54-19=35, Resulting Numbers: [88, 88, 35] Generated Node #0,1: 74:[88, 88, 35] Operation: 54-19=35 Exploring Operation: 19+54=73, Resulting Numbers: [88, 88, 73] Generated Node #0,2: 74:[88, 88, 73] Operation: 19+54=73 Moving to Node #0,2 Current State: 74:[88, 88, 73], Operations: ['19+54=73'] Exploring Operation: 88/88=1, Resulting Numbers: [73, 1] Generated Node #0,2,0: 74:[73, 1] Operation: 88/88=1 Exploring Operation: 88-88=0, Resulting Numbers: [73, 0] Generated Node #0,2,1: 74:[73, 0] Operation: 88-88=0 Exploring Operation: 88-73=15, Resulting Numbers: [88, 15] Generated Node #0,2,2: 74:[88, 15] Operation: 88-73=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[73, 1], Operations: ['19+54=73', '88/88=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[88, 19, 54, 88], Operations: [] Exploring Operation: 19+54=73, Resulting Numbers: [88, 88, 73] Generated Node #0,2: 74:[88, 88, 73] Operation: 19+54=73 Moving to Node #0,2 Current State: 74:[88, 88, 73], Operations: ['19+54=73'] Exploring Operation: 88/88=1, Resulting Numbers: [73, 1] Generated Node #0,2,0: 74:[73, 1] Operation: 88/88=1 Moving to Node #0,2,0 Current State: 74:[73, 1], Operations: ['19+54=73', '88/88=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 29, 90, 60, 93 ]
33
[ "60*93=5580", "5580/90=62", "62-29=33" ]
Current State: 33:[29, 90, 60, 93], Operations: [] Exploring Operation: 60*93=5580, Resulting Numbers: [29, 90, 5580] Generated Node #2: [29, 90, 5580] from Operation: 60*93=5580 Current State: 33:[29, 90, 5580], Operations: ['60*93=5580'] Exploring Operation: 5580/90=62, Resulting Numbers: [29, 62] Generated Node #3: [29, 62] from Operation: 5580/90=62 Current State: 33:[29, 62], Operations: ['60*93=5580', '5580/90=62'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[29, 90, 60, 93], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [29, 93, 30] Generated Node #0,0: 33:[29, 93, 30] Operation: 90-60=30 Exploring Operation: 93-60=33, Resulting Numbers: [29, 90, 33] Generated Node #0,1: 33:[29, 90, 33] Operation: 93-60=33 Exploring Operation: 93-90=3, Resulting Numbers: [29, 60, 3] Generated Node #0,2: 33:[29, 60, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[29, 60, 3], Operations: ['93-90=3'] Exploring Operation: 29+3=32, Resulting Numbers: [60, 32] Generated Node #0,2,0: 33:[60, 32] Operation: 29+3=32 Exploring Operation: 60-29=31, Resulting Numbers: [3, 31] Generated Node #0,2,1: 33:[3, 31] Operation: 60-29=31 Exploring Operation: 60/3=20, Resulting Numbers: [29, 20] Generated Node #0,2,2: 33:[29, 20] Operation: 60/3=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[3, 31], Operations: ['93-90=3', '60-29=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,33 unequal: No Solution No 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: 33:[29, 20], Operations: ['93-90=3', '60/3=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,33 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[60, 32], Operations: ['93-90=3', '29+3=32'] Exploring Operation: 60*32=1920, Resulting Numbers: [1920] 1920,33 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 60+32=92, Resulting Numbers: [92] 92,33 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: 33:[29, 90, 33], Operations: ['93-60=33'] Exploring Operation: 90-33=57, Resulting Numbers: [29, 57] Generated Node #0,1,0: 33:[29, 57] Operation: 90-33=57 Exploring Operation: 33-29=4, Resulting Numbers: [90, 4] Generated Node #0,1,1: 33:[90, 4] Operation: 33-29=4 Exploring Operation: 90-29=61, Resulting Numbers: [33, 61] Generated Node #0,1,2: 33:[33, 61] Operation: 90-29=61 Moving to Node #0,1,0 Current State: 33:[29, 57], Operations: ['93-60=33', '90-33=57'] Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,33 unequal: No Solution Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[33, 61], Operations: ['93-60=33', '90-29=61'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[90, 4], Operations: ['93-60=33', '33-29=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,33 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[29, 93, 30], Operations: ['90-60=30'] Exploring Operation: 93-30=63, Resulting Numbers: [29, 63] Generated Node #0,0,0: 33:[29, 63] Operation: 93-30=63 Exploring Operation: 93-29=64, Resulting Numbers: [30, 64] Generated Node #0,0,1: 33:[30, 64] Operation: 93-29=64 Exploring Operation: 30-29=1, Resulting Numbers: [93, 1] Generated Node #0,0,2: 33:[93, 1] Operation: 30-29=1 Moving to Node #0,0,0 Current State: 33:[29, 63], Operations: ['90-60=30', '93-30=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[30, 64], Operations: ['90-60=30', '93-29=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[93, 1], Operations: ['90-60=30', '30-29=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,33 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
[ 94, 91, 94, 76 ]
16
[ "94/94=1", "91-76=15", "1+15=16" ]
Current State: 16:[94, 91, 94, 76], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [91, 76, 1] Generated Node #2: [91, 76, 1] from Operation: 94/94=1 Current State: 16:[91, 76, 1], Operations: ['94/94=1'] Exploring Operation: 91-76=15, Resulting Numbers: [1, 15] Generated Node #3: [1, 15] from Operation: 91-76=15 Current State: 16:[1, 15], Operations: ['94/94=1', '91-76=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[94, 91, 94, 76], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [91, 76, 1] Generated Node #0,0: 16:[91, 76, 1] Operation: 94/94=1 Exploring Operation: 94-94=0, Resulting Numbers: [91, 76, 0] Generated Node #0,1: 16:[91, 76, 0] Operation: 94-94=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[91, 76, 1], Operations: ['94/94=1'] Exploring Operation: 91-1=90, Resulting Numbers: [76, 90] Generated Node #0,0,0: 16:[76, 90] Operation: 91-1=90 Exploring Operation: 91-76=15, Resulting Numbers: [1, 15] Generated Node #0,0,1: 16:[1, 15] Operation: 91-76=15 Moving to Node #0,0,1 Current State: 16:[1, 15], Operations: ['94/94=1', '91-76=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[94, 91, 94, 76], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [91, 76, 1] Generated Node #0,0: 16:[91, 76, 1] Operation: 94/94=1 Moving to Node #0,0 Current State: 16:[91, 76, 1], Operations: ['94/94=1'] Exploring Operation: 91-76=15, Resulting Numbers: [1, 15] Generated Node #0,0,1: 16:[1, 15] Operation: 91-76=15 Moving to Node #0,0,1 Current State: 16:[1, 15], Operations: ['94/94=1', '91-76=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 60, 25, 64, 17 ]
43
[ "64-60=4", "17*4=68", "68-25=43" ]
Current State: 43:[60, 25, 64, 17], Operations: [] Exploring Operation: 64-60=4, Resulting Numbers: [25, 17, 4] Generated Node #2: [25, 17, 4] from Operation: 64-60=4 Current State: 43:[25, 17, 4], Operations: ['64-60=4'] Exploring Operation: 17*4=68, Resulting Numbers: [25, 68] Generated Node #3: [25, 68] from Operation: 17*4=68 Current State: 43:[25, 68], Operations: ['64-60=4', '17*4=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[60, 25, 64, 17], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [60, 25, 47] Generated Node #0,0: 43:[60, 25, 47] Operation: 64-17=47 Exploring Operation: 25+17=42, Resulting Numbers: [60, 64, 42] Generated Node #0,1: 43:[60, 64, 42] Operation: 25+17=42 Exploring Operation: 64-25=39, Resulting Numbers: [60, 17, 39] Generated Node #0,2: 43:[60, 17, 39] Operation: 64-25=39 Exploring Operation: 60-17=43, Resulting Numbers: [25, 64, 43] Generated Node #0,3: 43:[25, 64, 43] Operation: 60-17=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[60, 25, 47], Operations: ['64-17=47'] Exploring Operation: 60-25=35, Resulting Numbers: [47, 35] Generated Node #0,0,0: 43:[47, 35] Operation: 60-25=35 Exploring Operation: 47-25=22, Resulting Numbers: [60, 22] Generated Node #0,0,1: 43:[60, 22] Operation: 47-25=22 Exploring Operation: 25+47=72, Resulting Numbers: [60, 72] Generated Node #0,0,2: 43:[60, 72] Operation: 25+47=72 Exploring Operation: 60+25=85, Resulting Numbers: [47, 85] Generated Node #0,0,3: 43:[47, 85] Operation: 60+25=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[47, 35], Operations: ['64-17=47', '60-25=35'] Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,43 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,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:[60, 22], Operations: ['64-17=47', '47-25=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,43 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,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,2 Current State: 43:[60, 72], Operations: ['64-17=47', '25+47=72'] Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,43 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,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,3 Current State: 43:[47, 85], Operations: ['64-17=47', '60+25=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,43 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,43 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,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:[60, 64, 42], Operations: ['25+17=42'] Exploring Operation: 60+42=102, Resulting Numbers: [64, 102] Generated Node #0,1,0: 43:[64, 102] Operation: 60+42=102 Exploring Operation: 64-60=4, Resulting Numbers: [42, 4] Generated Node #0,1,1: 43:[42, 4] Operation: 64-60=4 Exploring Operation: 60-42=18, Resulting Numbers: [64, 18] Generated Node #0,1,2: 43:[64, 18] Operation: 60-42=18 Exploring Operation: 64-42=22, Resulting Numbers: [60, 22] Generated Node #0,1,3: 43:[60, 22] Operation: 64-42=22 Moving to Node #0,1,3 Current State: 43:[60, 22], Operations: ['25+17=42', '64-42=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[42, 4], Operations: ['25+17=42', '64-60=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[64, 18], Operations: ['25+17=42', '60-42=18'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,43 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[64, 102], Operations: ['25+17=42', '60+42=102'] Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,43 unequal: No Solution Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[25, 64, 43], Operations: ['60-17=43'] Exploring Operation: 25+43=68, Resulting Numbers: [64, 68] Generated Node #0,3,0: 43:[64, 68] Operation: 25+43=68 Exploring Operation: 64-43=21, Resulting Numbers: [25, 21] Generated Node #0,3,1: 43:[25, 21] Operation: 64-43=21 Exploring Operation: 64-25=39, Resulting Numbers: [43, 39] Generated Node #0,3,2: 43:[43, 39] Operation: 64-25=39 Exploring Operation: 25+64=89, Resulting Numbers: [43, 89] Generated Node #0,3,3: 43:[43, 89] Operation: 25+64=89 Moving to Node #0,3,2 Current State: 43:[43, 39], Operations: ['60-17=43', '64-25=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[25, 21], Operations: ['60-17=43', '64-43=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[43, 89], Operations: ['60-17=43', '25+64=89'] Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,43 unequal: No Solution Exploring Operation: 43*89=3827, Resulting Numbers: [3827] 3827,43 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[64, 68], Operations: ['60-17=43', '25+43=68'] Exploring Operation: 64*68=4352, Resulting Numbers: [4352] 4352,43 unequal: No Solution Exploring Operation: 64+68=132, Resulting Numbers: [132] 132,43 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[60, 17, 39], Operations: ['64-25=39'] Exploring Operation: 39-17=22, Resulting Numbers: [60, 22] Generated Node #0,2,0: 43:[60, 22] Operation: 39-17=22 Exploring Operation: 60-17=43, Resulting Numbers: [39, 43] Generated Node #0,2,1: 43:[39, 43] Operation: 60-17=43 Exploring Operation: 60+17=77, Resulting Numbers: [39, 77] Generated Node #0,2,2: 43:[39, 77] Operation: 60+17=77 Exploring Operation: 17+39=56, Resulting Numbers: [60, 56] Generated Node #0,2,3: 43:[60, 56] Operation: 17+39=56 Moving to Node #0,2,1 Current State: 43:[39, 43], Operations: ['64-25=39', '60-17=43'] Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,43 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[60, 56], Operations: ['64-25=39', '17+39=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[39, 77], Operations: ['64-25=39', '60+17=77'] Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,43 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[60, 22], Operations: ['64-25=39', '39-17=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,43 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,43 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
[ 48, 91, 24, 82 ]
11
[ "48/24=2", "91-82=9", "2+9=11" ]
Current State: 11:[48, 91, 24, 82], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [91, 82, 2] Generated Node #2: [91, 82, 2] from Operation: 48/24=2 Current State: 11:[91, 82, 2], Operations: ['48/24=2'] Exploring Operation: 91-82=9, Resulting Numbers: [2, 9] Generated Node #3: [2, 9] from Operation: 91-82=9 Current State: 11:[2, 9], Operations: ['48/24=2', '91-82=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[48, 91, 24, 82], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [24, 82, 43] Generated Node #0,0: 11:[24, 82, 43] Operation: 91-48=43 Exploring Operation: 91-82=9, Resulting Numbers: [48, 24, 9] Generated Node #0,1: 11:[48, 24, 9] Operation: 91-82=9 Exploring Operation: 48/24=2, Resulting Numbers: [91, 82, 2] Generated Node #0,2: 11:[91, 82, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [91, 82, 24] Generated Node #0,3: 11:[91, 82, 24] Operation: 48-24=24 Exploring Operation: 82-48=34, Resulting Numbers: [91, 24, 34] Generated Node #0,4: 11:[91, 24, 34] Operation: 82-48=34 Moving to Node #0,1 Current State: 11:[48, 24, 9], Operations: ['91-82=9'] Exploring Operation: 24-9=15, Resulting Numbers: [48, 15] Generated Node #0,1,0: 11:[48, 15] Operation: 24-9=15 Exploring Operation: 48+9=57, Resulting Numbers: [24, 57] Generated Node #0,1,1: 11:[24, 57] Operation: 48+9=57 Exploring Operation: 48-9=39, Resulting Numbers: [24, 39] Generated Node #0,1,2: 11:[24, 39] Operation: 48-9=39 Exploring Operation: 48-24=24, Resulting Numbers: [9, 24] Generated Node #0,1,3: 11:[9, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [9, 2] Generated Node #0,1,4: 11:[9, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[9, 2], Operations: ['91-82=9', '48/24=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[48, 91, 24, 82], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [48, 24, 9] Generated Node #0,1: 11:[48, 24, 9] Operation: 91-82=9 Moving to Node #0,1 Current State: 11:[48, 24, 9], Operations: ['91-82=9'] Exploring Operation: 48/24=2, Resulting Numbers: [9, 2] Generated Node #0,1,4: 11:[9, 2] Operation: 48/24=2 Moving to Node #0,1,4 Current State: 11:[9, 2], Operations: ['91-82=9', '48/24=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 28, 6, 85, 60 ]
24
[ "28+6=34", "60*34=2040", "2040/85=24" ]
Current State: 24:[28, 6, 85, 60], Operations: [] Exploring Operation: 28+6=34, Resulting Numbers: [85, 60, 34] Generated Node #2: [85, 60, 34] from Operation: 28+6=34 Current State: 24:[85, 60, 34], Operations: ['28+6=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [85, 2040] Generated Node #3: [85, 2040] from Operation: 60*34=2040 Current State: 24:[85, 2040], Operations: ['28+6=34', '60*34=2040'] Exploring Operation: 2040/85=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[28, 6, 85, 60], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [28, 6, 25] Generated Node #0,0: 24:[28, 6, 25] Operation: 85-60=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[28, 6, 25], Operations: ['85-60=25'] Exploring Operation: 28-25=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 24:[6, 3] Operation: 28-25=3 Moving to Node #0,0,0 Current State: 24:[6, 3], Operations: ['85-60=25', '28-25=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,24 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
[ 31, 32, 75, 47 ]
26
[ "47-32=15", "75/15=5", "31-5=26" ]
Current State: 26:[31, 32, 75, 47], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [31, 75, 15] Generated Node #2: [31, 75, 15] from Operation: 47-32=15 Current State: 26:[31, 75, 15], Operations: ['47-32=15'] Exploring Operation: 75/15=5, Resulting Numbers: [31, 5] Generated Node #3: [31, 5] from Operation: 75/15=5 Current State: 26:[31, 5], Operations: ['47-32=15', '75/15=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[31, 32, 75, 47], Operations: [] Exploring Operation: 75-32=43, Resulting Numbers: [31, 47, 43] Generated Node #0,0: 26:[31, 47, 43] Operation: 75-32=43 Exploring Operation: 75-47=28, Resulting Numbers: [31, 32, 28] Generated Node #0,1: 26:[31, 32, 28] Operation: 75-47=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[31, 32, 28], Operations: ['75-47=28'] Exploring Operation: 31-28=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 26:[32, 3] Operation: 31-28=3 Exploring Operation: 32-31=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 26:[28, 1] Operation: 32-31=1 Moving to Node #0,1,1 Current State: 26:[28, 1], Operations: ['75-47=28', '32-31=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[32, 3], Operations: ['75-47=28', '31-28=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[31, 47, 43], Operations: ['75-32=43'] Exploring Operation: 47-31=16, Resulting Numbers: [43, 16] Generated Node #0,0,0: 26:[43, 16] Operation: 47-31=16 Exploring Operation: 47-43=4, Resulting Numbers: [31, 4] Generated Node #0,0,1: 26:[31, 4] Operation: 47-43=4 Moving to Node #0,0,1 Current State: 26:[31, 4], Operations: ['75-32=43', '47-43=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[43, 16], Operations: ['75-32=43', '47-31=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,26 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
[ 55, 55, 50, 1 ]
59
[ "55+55=110", "50+1=51", "110-51=59" ]
Current State: 59:[55, 55, 50, 1], Operations: [] Exploring Operation: 55+55=110, Resulting Numbers: [50, 1, 110] Generated Node #2: [50, 1, 110] from Operation: 55+55=110 Current State: 59:[50, 1, 110], Operations: ['55+55=110'] Exploring Operation: 50+1=51, Resulting Numbers: [110, 51] Generated Node #3: [110, 51] from Operation: 50+1=51 Current State: 59:[110, 51], Operations: ['55+55=110', '50+1=51'] Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[55, 55, 50, 1], Operations: [] Exploring Operation: 55+1=56, Resulting Numbers: [55, 50, 56] Generated Node #0,0: 59:[55, 50, 56] Operation: 55+1=56 Exploring Operation: 55+1=56, Resulting Numbers: [55, 50, 56] Generated Node #0,1: 59:[55, 50, 56] Operation: 55+1=56 Exploring Operation: 55*1=55, Resulting Numbers: [55, 50, 55] Generated Node #0,2: 59:[55, 50, 55] Operation: 55*1=55 Exploring Operation: 50+1=51, Resulting Numbers: [55, 55, 51] Generated Node #0,3: 59:[55, 55, 51] Operation: 50+1=51 Moving to Node #0,0 Current State: 59:[55, 50, 56], Operations: ['55+1=56'] Exploring Operation: 56-50=6, Resulting Numbers: [55, 6] Generated Node #0,0,0: 59:[55, 6] Operation: 56-50=6 Exploring Operation: 55+50=105, Resulting Numbers: [56, 105] Generated Node #0,0,1: 59:[56, 105] Operation: 55+50=105 Exploring Operation: 50+56=106, Resulting Numbers: [55, 106] Generated Node #0,0,2: 59:[55, 106] Operation: 50+56=106 Exploring Operation: 55-50=5, Resulting Numbers: [56, 5] Generated Node #0,0,3: 59:[56, 5] Operation: 55-50=5 Moving to Node #0,3 Current State: 59:[55, 55, 51], Operations: ['50+1=51'] Exploring Operation: 55-51=4, Resulting Numbers: [55, 4] Generated Node #0,3,0: 59:[55, 4] Operation: 55-51=4 Exploring Operation: 55+55=110, Resulting Numbers: [51, 110] Generated Node #0,3,1: 59:[51, 110] Operation: 55+55=110 Exploring Operation: 55+51=106, Resulting Numbers: [55, 106] Generated Node #0,3,2: 59:[55, 106] Operation: 55+51=106 Exploring Operation: 55+51=106, Resulting Numbers: [55, 106] Generated Node #0,3,3: 59:[55, 106] Operation: 55+51=106 Moving to Node #0,1 Current State: 59:[55, 50, 56], Operations: ['55+1=56'] Exploring Operation: 50+56=106, Resulting Numbers: [55, 106] Generated Node #0,1,0: 59:[55, 106] Operation: 50+56=106 Exploring Operation: 56-50=6, Resulting Numbers: [55, 6] Generated Node #0,1,1: 59:[55, 6] Operation: 56-50=6 Exploring Operation: 55-50=5, Resulting Numbers: [56, 5] Generated Node #0,1,2: 59:[56, 5] Operation: 55-50=5 Exploring Operation: 55+50=105, Resulting Numbers: [56, 105] Generated Node #0,1,3: 59:[56, 105] Operation: 55+50=105 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[56, 105], Operations: ['55+1=56', '55+50=105'] Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,59 unequal: No Solution Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[55, 106], Operations: ['55+1=56', '50+56=106'] Exploring Operation: 55+106=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 55*106=5830, Resulting Numbers: [5830] 5830,59 unequal: No Solution Exploring Operation: 106-55=51, Resulting Numbers: [51] 51,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[55, 6], Operations: ['55+1=56', '56-50=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[56, 5], Operations: ['55+1=56', '55-50=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,59 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[55, 50, 55], Operations: ['55*1=55'] Exploring Operation: 50+55=105, Resulting Numbers: [55, 105] Generated Node #0,2,0: 59:[55, 105] Operation: 50+55=105 Exploring Operation: 55-50=5, Resulting Numbers: [55, 5] Generated Node #0,2,1: 59:[55, 5] Operation: 55-50=5 Exploring Operation: 55+50=105, Resulting Numbers: [55, 105] Generated Node #0,2,2: 59:[55, 105] Operation: 55+50=105 Exploring Operation: 55-50=5, Resulting Numbers: [55, 5] Generated Node #0,2,3: 59:[55, 5] Operation: 55-50=5 Moving to Node #0,0,1 Current State: 59:[56, 105], Operations: ['55+1=56', '55+50=105'] Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,59 unequal: No Solution Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[55, 105], Operations: ['55*1=55', '50+55=105'] Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[55, 105], Operations: ['55*1=55', '55+50=105'] Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,59 unequal: No Solution Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[55, 106], Operations: ['50+1=51', '55+51=106'] Exploring Operation: 106-55=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 55*106=5830, Resulting Numbers: [5830] 5830,59 unequal: No Solution Exploring Operation: 55+106=161, Resulting Numbers: [161] 161,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[55, 106], Operations: ['50+1=51', '55+51=106'] Exploring Operation: 55*106=5830, Resulting Numbers: [5830] 5830,59 unequal: No Solution Exploring Operation: 106-55=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 55+106=161, Resulting Numbers: [161] 161,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[55, 106], Operations: ['55+1=56', '50+56=106'] Exploring Operation: 55*106=5830, Resulting Numbers: [5830] 5830,59 unequal: No Solution Exploring Operation: 55+106=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 106-55=51, Resulting Numbers: [51] 51,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[55, 6], Operations: ['55+1=56', '56-50=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,59 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[56, 5], Operations: ['55+1=56', '55-50=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,59 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[55, 5], Operations: ['55*1=55', '55-50=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[55, 5], Operations: ['55*1=55', '55-50=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,59 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[51, 110], Operations: ['50+1=51', '55+55=110'] Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[55, 55, 50, 1], Operations: [] Exploring Operation: 50+1=51, Resulting Numbers: [55, 55, 51] Generated Node #0,3: 59:[55, 55, 51] Operation: 50+1=51 Moving to Node #0,3 Current State: 59:[55, 55, 51], Operations: ['50+1=51'] Exploring Operation: 55+55=110, Resulting Numbers: [51, 110] Generated Node #0,3,1: 59:[51, 110] Operation: 55+55=110 Moving to Node #0,3,1 Current State: 59:[51, 110], Operations: ['50+1=51', '55+55=110'] Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.939236
hs_4
sum_heuristic
[ 38, 79, 54, 57 ]
76
[ "38*79=3002", "54*57=3078", "3078-3002=76" ]
Current State: 76:[38, 79, 54, 57], Operations: [] Exploring Operation: 38*79=3002, Resulting Numbers: [54, 57, 3002] Generated Node #2: [54, 57, 3002] from Operation: 38*79=3002 Current State: 76:[54, 57, 3002], Operations: ['38*79=3002'] Exploring Operation: 54*57=3078, Resulting Numbers: [3002, 3078] Generated Node #3: [3002, 3078] from Operation: 54*57=3078 Current State: 76:[3002, 3078], Operations: ['38*79=3002', '54*57=3078'] Exploring Operation: 3078-3002=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[38, 79, 54, 57], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [79, 57, 16] Generated Node #0,0: 76:[79, 57, 16] Operation: 54-38=16 Exploring Operation: 79-57=22, Resulting Numbers: [38, 54, 22] Generated Node #0,1: 76:[38, 54, 22] Operation: 79-57=22 Exploring Operation: 57-38=19, Resulting Numbers: [79, 54, 19] Generated Node #0,2: 76:[79, 54, 19] Operation: 57-38=19 Exploring Operation: 57-54=3, Resulting Numbers: [38, 79, 3] Generated Node #0,3: 76:[38, 79, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[38, 79, 3], Operations: ['57-54=3'] Exploring Operation: 79-38=41, Resulting Numbers: [3, 41] Generated Node #0,3,0: 76:[3, 41] Operation: 79-38=41 Exploring Operation: 38-3=35, Resulting Numbers: [79, 35] Generated Node #0,3,1: 76:[79, 35] Operation: 38-3=35 Exploring Operation: 79-3=76, Resulting Numbers: [38, 76] Generated Node #0,3,2: 76:[38, 76] Operation: 79-3=76 Exploring Operation: 38+3=41, Resulting Numbers: [79, 41] Generated Node #0,3,3: 76:[79, 41] Operation: 38+3=41 Moving to Node #0,3,2 Current State: 76:[38, 76], Operations: ['57-54=3', '79-3=76'] Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,76 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[3, 41], Operations: ['57-54=3', '79-38=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[79, 41], Operations: ['57-54=3', '38+3=41'] Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,76 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[79, 35], Operations: ['57-54=3', '38-3=35'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[38, 54, 22], Operations: ['79-57=22'] Exploring Operation: 54-38=16, Resulting Numbers: [22, 16] Generated Node #0,1,0: 76:[22, 16] Operation: 54-38=16 Exploring Operation: 54-22=32, Resulting Numbers: [38, 32] Generated Node #0,1,1: 76:[38, 32] Operation: 54-22=32 Exploring Operation: 38+54=92, Resulting Numbers: [22, 92] Generated Node #0,1,2: 76:[22, 92] Operation: 38+54=92 Exploring Operation: 54+22=76, Resulting Numbers: [38, 76] Generated Node #0,1,3: 76:[38, 76] Operation: 54+22=76 Moving to Node #0,1,3 Current State: 76:[38, 76], Operations: ['79-57=22', '54+22=76'] Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[38, 32], Operations: ['79-57=22', '54-22=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[22, 16], Operations: ['79-57=22', '54-38=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,76 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[22, 92], Operations: ['79-57=22', '38+54=92'] Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 22*92=2024, Resulting Numbers: [2024] 2024,76 unequal: No Solution Exploring Operation: 22+92=114, Resulting Numbers: [114] 114,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[79, 54, 19], Operations: ['57-38=19'] Exploring Operation: 79-54=25, Resulting Numbers: [19, 25] Generated Node #0,2,0: 76:[19, 25] Operation: 79-54=25 Exploring Operation: 54+19=73, Resulting Numbers: [79, 73] Generated Node #0,2,1: 76:[79, 73] Operation: 54+19=73 Exploring Operation: 79-19=60, Resulting Numbers: [54, 60] Generated Node #0,2,2: 76:[54, 60] Operation: 79-19=60 Exploring Operation: 54-19=35, Resulting Numbers: [79, 35] Generated Node #0,2,3: 76:[79, 35] Operation: 54-19=35 Moving to Node #0,2,0 Current State: 76:[19, 25], Operations: ['57-38=19', '79-54=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,76 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[79, 35], Operations: ['57-38=19', '54-19=35'] Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,76 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[79, 73], Operations: ['57-38=19', '54+19=73'] Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[54, 60], Operations: ['57-38=19', '79-19=60'] Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[79, 57, 16], Operations: ['54-38=16'] Exploring Operation: 79-57=22, Resulting Numbers: [16, 22] Generated Node #0,0,0: 76:[16, 22] Operation: 79-57=22 Exploring Operation: 57-16=41, Resulting Numbers: [79, 41] Generated Node #0,0,1: 76:[79, 41] Operation: 57-16=41 Exploring Operation: 57+16=73, Resulting Numbers: [79, 73] Generated Node #0,0,2: 76:[79, 73] Operation: 57+16=73 Exploring Operation: 79-16=63, Resulting Numbers: [57, 63] Generated Node #0,0,3: 76:[57, 63] Operation: 79-16=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[16, 22], Operations: ['54-38=16', '79-57=22'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,76 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[79, 41], Operations: ['54-38=16', '57-16=41'] Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,76 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[79, 73], Operations: ['54-38=16', '57+16=73'] Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,76 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 76:[57, 63], Operations: ['54-38=16', '79-16=63'] Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,76 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 54, 70, 80, 20 ]
63
[ "54*70=3780", "80-20=60", "3780/60=63" ]
Current State: 63:[54, 70, 80, 20], Operations: [] Exploring Operation: 54*70=3780, Resulting Numbers: [80, 20, 3780] Generated Node #2: [80, 20, 3780] from Operation: 54*70=3780 Current State: 63:[80, 20, 3780], Operations: ['54*70=3780'] Exploring Operation: 80-20=60, Resulting Numbers: [3780, 60] Generated Node #3: [3780, 60] from Operation: 80-20=60 Current State: 63:[3780, 60], Operations: ['54*70=3780', '80-20=60'] Exploring Operation: 3780/60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[54, 70, 80, 20], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [70, 20, 26] Generated Node #0,0: 63:[70, 20, 26] Operation: 80-54=26 Exploring Operation: 80-70=10, Resulting Numbers: [54, 20, 10] Generated Node #0,1: 63:[54, 20, 10] Operation: 80-70=10 Exploring Operation: 80/20=4, Resulting Numbers: [54, 70, 4] Generated Node #0,2: 63:[54, 70, 4] Operation: 80/20=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[54, 20, 10], Operations: ['80-70=10'] Exploring Operation: 20/10=2, Resulting Numbers: [54, 2] Generated Node #0,1,0: 63:[54, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [54, 10] Generated Node #0,1,1: 63:[54, 10] Operation: 20-10=10 Exploring Operation: 54+10=64, Resulting Numbers: [20, 64] Generated Node #0,1,2: 63:[20, 64] Operation: 54+10=64 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[20, 64], Operations: ['80-70=10', '54+10=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,63 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,63 unequal: No Solution No 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: 63:[54, 2], Operations: ['80-70=10', '20/10=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,63 unequal: No Solution No 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: 63:[54, 10], Operations: ['80-70=10', '20-10=10'] Exploring Operation: 54*10=540, Resulting Numbers: [540] 540,63 unequal: No Solution Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[70, 20, 26], Operations: ['80-54=26'] Exploring Operation: 70-26=44, Resulting Numbers: [20, 44] Generated Node #0,0,0: 63:[20, 44] Operation: 70-26=44 Exploring Operation: 26-20=6, Resulting Numbers: [70, 6] Generated Node #0,0,1: 63:[70, 6] Operation: 26-20=6 Exploring Operation: 70-20=50, Resulting Numbers: [26, 50] Generated Node #0,0,2: 63:[26, 50] Operation: 70-20=50 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[70, 6], Operations: ['80-54=26', '26-20=6'] Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,63 unequal: No Solution No 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: 63:[26, 50], Operations: ['80-54=26', '70-20=50'] Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,63 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,63 unequal: No Solution No 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: 63:[20, 44], Operations: ['80-54=26', '70-26=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[54, 70, 4], Operations: ['80/20=4'] Exploring Operation: 54+4=58, Resulting Numbers: [70, 58] Generated Node #0,2,0: 63:[70, 58] Operation: 54+4=58 Exploring Operation: 70-54=16, Resulting Numbers: [4, 16] Generated Node #0,2,1: 63:[4, 16] Operation: 70-54=16 Exploring Operation: 70-4=66, Resulting Numbers: [54, 66] Generated Node #0,2,2: 63:[54, 66] Operation: 70-4=66 Moving to Node #0,2,1 Current State: 63:[4, 16], Operations: ['80/20=4', '70-54=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[70, 58], Operations: ['80/20=4', '54+4=58'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[54, 66], Operations: ['80/20=4', '70-4=66'] Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,63 unequal: No Solution Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,63 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
[ 75, 79, 22, 82 ]
64
[ "79-75=4", "82-22=60", "4+60=64" ]
Current State: 64:[75, 79, 22, 82], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [22, 82, 4] Generated Node #2: [22, 82, 4] from Operation: 79-75=4 Current State: 64:[22, 82, 4], Operations: ['79-75=4'] Exploring Operation: 82-22=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 82-22=60 Current State: 64:[4, 60], Operations: ['79-75=4', '82-22=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[75, 79, 22, 82], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [22, 82, 4] Generated Node #0,0: 64:[22, 82, 4] Operation: 79-75=4 Exploring Operation: 82-79=3, Resulting Numbers: [75, 22, 3] Generated Node #0,1: 64:[75, 22, 3] Operation: 82-79=3 Exploring Operation: 82-75=7, Resulting Numbers: [79, 22, 7] Generated Node #0,2: 64:[79, 22, 7] Operation: 82-75=7 Moving to Node #0,1 Current State: 64:[75, 22, 3], Operations: ['82-79=3'] Exploring Operation: 22*3=66, Resulting Numbers: [75, 66] Generated Node #0,1,0: 64:[75, 66] Operation: 22*3=66 Exploring Operation: 75/3=25, Resulting Numbers: [22, 25] Generated Node #0,1,1: 64:[22, 25] Operation: 75/3=25 Exploring Operation: 75-22=53, Resulting Numbers: [3, 53] Generated Node #0,1,2: 64:[3, 53] Operation: 75-22=53 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[3, 53], Operations: ['82-79=3', '75-22=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,64 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,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:[75, 66], Operations: ['82-79=3', '22*3=66'] Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,64 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,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:[22, 25], Operations: ['82-79=3', '75/3=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,64 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,64 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: 64:[79, 22, 7], Operations: ['82-75=7'] Exploring Operation: 79-22=57, Resulting Numbers: [7, 57] Generated Node #0,2,0: 64:[7, 57] Operation: 79-22=57 Exploring Operation: 79-7=72, Resulting Numbers: [22, 72] Generated Node #0,2,1: 64:[22, 72] Operation: 79-7=72 Exploring Operation: 22-7=15, Resulting Numbers: [79, 15] Generated Node #0,2,2: 64:[79, 15] Operation: 22-7=15 Moving to Node #0,0 Current State: 64:[22, 82, 4], Operations: ['79-75=4'] Exploring Operation: 22-4=18, Resulting Numbers: [82, 18] Generated Node #0,0,0: 64:[82, 18] Operation: 22-4=18 Exploring Operation: 82-4=78, Resulting Numbers: [22, 78] Generated Node #0,0,1: 64:[22, 78] Operation: 82-4=78 Exploring Operation: 82-22=60, Resulting Numbers: [4, 60] Generated Node #0,0,2: 64:[4, 60] Operation: 82-22=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[4, 60], Operations: ['79-75=4', '82-22=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[75, 79, 22, 82], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [22, 82, 4] Generated Node #0,0: 64:[22, 82, 4] Operation: 79-75=4 Moving to Node #0,0 Current State: 64:[22, 82, 4], Operations: ['79-75=4'] Exploring Operation: 82-22=60, Resulting Numbers: [4, 60] Generated Node #0,0,2: 64:[4, 60] Operation: 82-22=60 Moving to Node #0,0,2 Current State: 64:[4, 60], Operations: ['79-75=4', '82-22=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 78, 88, 75, 10 ]
60
[ "78*10=780", "88-75=13", "780/13=60" ]
Current State: 60:[78, 88, 75, 10], Operations: [] Exploring Operation: 78*10=780, Resulting Numbers: [88, 75, 780] Generated Node #2: [88, 75, 780] from Operation: 78*10=780 Current State: 60:[88, 75, 780], Operations: ['78*10=780'] Exploring Operation: 88-75=13, Resulting Numbers: [780, 13] Generated Node #3: [780, 13] from Operation: 88-75=13 Current State: 60:[780, 13], Operations: ['78*10=780', '88-75=13'] Exploring Operation: 780/13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[78, 88, 75, 10], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [88, 10, 3] Generated Node #0,0: 60:[88, 10, 3] Operation: 78-75=3 Exploring Operation: 88-75=13, Resulting Numbers: [78, 10, 13] Generated Node #0,1: 60:[78, 10, 13] Operation: 88-75=13 Exploring Operation: 88-78=10, Resulting Numbers: [75, 10, 10] Generated Node #0,2: 60:[75, 10, 10] Operation: 88-78=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[75, 10, 10], Operations: ['88-78=10'] Exploring Operation: 75-10=65, Resulting Numbers: [10, 65] Generated Node #0,2,0: 60:[10, 65] Operation: 75-10=65 Exploring Operation: 75-10=65, Resulting Numbers: [10, 65] Generated Node #0,2,1: 60:[10, 65] Operation: 75-10=65 Exploring Operation: 10+10=20, Resulting Numbers: [75, 20] Generated Node #0,2,2: 60:[75, 20] Operation: 10+10=20 Moving to Node #0,2,0 Current State: 60:[10, 65], Operations: ['88-78=10', '75-10=65'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[10, 65], Operations: ['88-78=10', '75-10=65'] Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,60 unequal: No Solution Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[75, 20], Operations: ['88-78=10', '10+10=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,60 unequal: No Solution Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[78, 10, 13], Operations: ['88-75=13'] Exploring Operation: 78/13=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 60:[10, 6] Operation: 78/13=6 Exploring Operation: 78-13=65, Resulting Numbers: [10, 65] Generated Node #0,1,1: 60:[10, 65] Operation: 78-13=65 Exploring Operation: 78-10=68, Resulting Numbers: [13, 68] Generated Node #0,1,2: 60:[13, 68] Operation: 78-10=68 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[10, 6], Operations: ['88-75=13', '78/13=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[78, 88, 75, 10], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [78, 10, 13] Generated Node #0,1: 60:[78, 10, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 60:[78, 10, 13], Operations: ['88-75=13'] Exploring Operation: 78/13=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 60:[10, 6] Operation: 78/13=6 Moving to Node #0,1,0 Current State: 60:[10, 6], Operations: ['88-75=13', '78/13=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 5, 34, 50, 13 ]
93
[ "50-34=16", "5*16=80", "13+80=93" ]
Current State: 93:[5, 34, 50, 13], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [5, 13, 16] Generated Node #2: [5, 13, 16] from Operation: 50-34=16 Current State: 93:[5, 13, 16], Operations: ['50-34=16'] Exploring Operation: 5*16=80, Resulting Numbers: [13, 80] Generated Node #3: [13, 80] from Operation: 5*16=80 Current State: 93:[13, 80], Operations: ['50-34=16', '5*16=80'] Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 34, 50, 13], Operations: [] Exploring Operation: 34+50=84, Resulting Numbers: [5, 13, 84] Generated Node #0,0: 93:[5, 13, 84] Operation: 34+50=84 Exploring Operation: 50-13=37, Resulting Numbers: [5, 34, 37] Generated Node #0,1: 93:[5, 34, 37] Operation: 50-13=37 Exploring Operation: 50/5=10, Resulting Numbers: [34, 13, 10] Generated Node #0,2: 93:[34, 13, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[5, 34, 37], Operations: ['50-13=37'] Exploring Operation: 37-34=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 93:[5, 3] Operation: 37-34=3 Exploring Operation: 34-5=29, Resulting Numbers: [37, 29] Generated Node #0,1,1: 93:[37, 29] Operation: 34-5=29 Exploring Operation: 37-5=32, Resulting Numbers: [34, 32] Generated Node #0,1,2: 93:[34, 32] Operation: 37-5=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[5, 3], Operations: ['50-13=37', '37-34=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[34, 32], Operations: ['50-13=37', '37-5=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,93 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[37, 29], Operations: ['50-13=37', '34-5=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,93 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[34, 13, 10], Operations: ['50/5=10'] Exploring Operation: 13+10=23, Resulting Numbers: [34, 23] Generated Node #0,2,0: 93:[34, 23] Operation: 13+10=23 Exploring Operation: 13-10=3, Resulting Numbers: [34, 3] Generated Node #0,2,1: 93:[34, 3] Operation: 13-10=3 Exploring Operation: 34-13=21, Resulting Numbers: [10, 21] Generated Node #0,2,2: 93:[10, 21] Operation: 34-13=21 Moving to Node #0,2,1 Current State: 93:[34, 3], Operations: ['50/5=10', '13-10=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[34, 23], Operations: ['50/5=10', '13+10=23'] Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,93 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[10, 21], Operations: ['50/5=10', '34-13=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[5, 13, 84], Operations: ['34+50=84'] Exploring Operation: 13-5=8, Resulting Numbers: [84, 8] Generated Node #0,0,0: 93:[84, 8] Operation: 13-5=8 Exploring Operation: 13+84=97, Resulting Numbers: [5, 97] Generated Node #0,0,1: 93:[5, 97] Operation: 13+84=97 Exploring Operation: 5+84=89, Resulting Numbers: [13, 89] Generated Node #0,0,2: 93:[13, 89] Operation: 5+84=89 Moving to Node #0,0,1 Current State: 93:[5, 97], Operations: ['34+50=84', '13+84=97'] Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,93 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[84, 8], Operations: ['34+50=84', '13-5=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,93 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[13, 89], Operations: ['34+50=84', '5+84=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,93 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,93 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
[ 89, 18, 3, 68 ]
15
[ "89-68=21", "18/3=6", "21-6=15" ]
Current State: 15:[89, 18, 3, 68], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [18, 3, 21] Generated Node #2: [18, 3, 21] from Operation: 89-68=21 Current State: 15:[18, 3, 21], Operations: ['89-68=21'] Exploring Operation: 18/3=6, Resulting Numbers: [21, 6] Generated Node #3: [21, 6] from Operation: 18/3=6 Current State: 15:[21, 6], Operations: ['89-68=21', '18/3=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[89, 18, 3, 68], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [18, 3, 21] Generated Node #0,0: 15:[18, 3, 21] Operation: 89-68=21 Exploring Operation: 89-18=71, Resulting Numbers: [3, 68, 71] Generated Node #0,1: 15:[3, 68, 71] Operation: 89-18=71 Moving to Node #0,0 Current State: 15:[18, 3, 21], Operations: ['89-68=21'] Exploring Operation: 21/3=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 15:[18, 7] Operation: 21/3=7 Exploring Operation: 21-18=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 15:[3, 3] Operation: 21-18=3 Moving to Node #0,1 Current State: 15:[3, 68, 71], Operations: ['89-18=71'] Exploring Operation: 71-68=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 15:[3, 3] Operation: 71-68=3 Exploring Operation: 68-3=65, Resulting Numbers: [71, 65] Generated Node #0,1,1: 15:[71, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[3, 3], Operations: ['89-18=71', '71-68=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,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:[71, 65], Operations: ['89-18=71', '68-3=65'] Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,15 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: 15:[3, 3], Operations: ['89-68=21', '21-18=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[18, 7], Operations: ['89-68=21', '21/3=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,15 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 14, 5, 79 ]
48
[ "9*5=45", "14+79=93", "93-45=48" ]
Current State: 48:[9, 14, 5, 79], Operations: [] Exploring Operation: 9*5=45, Resulting Numbers: [14, 79, 45] Generated Node #2: [14, 79, 45] from Operation: 9*5=45 Current State: 48:[14, 79, 45], Operations: ['9*5=45'] Exploring Operation: 14+79=93, Resulting Numbers: [45, 93] Generated Node #3: [45, 93] from Operation: 14+79=93 Current State: 48:[45, 93], Operations: ['9*5=45', '14+79=93'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[9, 14, 5, 79], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [14, 5, 70] Generated Node #0,0: 48:[14, 5, 70] Operation: 79-9=70 Exploring Operation: 79-5=74, Resulting Numbers: [9, 14, 74] Generated Node #0,1: 48:[9, 14, 74] Operation: 79-5=74 Exploring Operation: 79-14=65, Resulting Numbers: [9, 5, 65] Generated Node #0,2: 48:[9, 5, 65] Operation: 79-14=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[9, 5, 65], Operations: ['79-14=65'] Exploring Operation: 65-9=56, Resulting Numbers: [5, 56] Generated Node #0,2,0: 48:[5, 56] Operation: 65-9=56 Exploring Operation: 65-5=60, Resulting Numbers: [9, 60] Generated Node #0,2,1: 48:[9, 60] Operation: 65-5=60 Exploring Operation: 65/5=13, Resulting Numbers: [9, 13] Generated Node #0,2,2: 48:[9, 13] Operation: 65/5=13 Moving to Node #0,2,2 Current State: 48:[9, 13], Operations: ['79-14=65', '65/5=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[5, 56], Operations: ['79-14=65', '65-9=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,48 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[9, 60], Operations: ['79-14=65', '65-5=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 9*60=540, Resulting Numbers: [540] 540,48 unequal: No Solution Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[14, 5, 70], Operations: ['79-9=70'] Exploring Operation: 70-14=56, Resulting Numbers: [5, 56] Generated Node #0,0,0: 48:[5, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 48:[5, 5] Operation: 70/14=5 Exploring Operation: 70/5=14, Resulting Numbers: [14, 14] Generated Node #0,0,2: 48:[14, 14] Operation: 70/5=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[5, 5], Operations: ['79-9=70', '70/14=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[14, 14], Operations: ['79-9=70', '70/5=14'] Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[5, 56], Operations: ['79-9=70', '70-14=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,48 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[9, 14, 74], Operations: ['79-5=74'] Exploring Operation: 9+14=23, Resulting Numbers: [74, 23] Generated Node #0,1,0: 48:[74, 23] Operation: 9+14=23 Exploring Operation: 74-9=65, Resulting Numbers: [14, 65] Generated Node #0,1,1: 48:[14, 65] Operation: 74-9=65 Exploring Operation: 74-14=60, Resulting Numbers: [9, 60] Generated Node #0,1,2: 48:[9, 60] Operation: 74-14=60 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[9, 60], Operations: ['79-5=74', '74-14=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 9*60=540, Resulting Numbers: [540] 540,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[14, 65], Operations: ['79-5=74', '74-9=65'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[74, 23], Operations: ['79-5=74', '9+14=23'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 74*23=1702, Resulting Numbers: [1702] 1702,48 unequal: No Solution Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 58, 80, 55, 81 ]
48
[ "80-58=22", "81-55=26", "22+26=48" ]
Current State: 48:[58, 80, 55, 81], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [55, 81, 22] Generated Node #2: [55, 81, 22] from Operation: 80-58=22 Current State: 48:[55, 81, 22], Operations: ['80-58=22'] Exploring Operation: 81-55=26, Resulting Numbers: [22, 26] Generated Node #3: [22, 26] from Operation: 81-55=26 Current State: 48:[22, 26], Operations: ['80-58=22', '81-55=26'] Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[58, 80, 55, 81], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [58, 55, 1] Generated Node #0,0: 48:[58, 55, 1] Operation: 81-80=1 Exploring Operation: 80-58=22, Resulting Numbers: [55, 81, 22] Generated Node #0,1: 48:[55, 81, 22] Operation: 80-58=22 Exploring Operation: 81-58=23, Resulting Numbers: [80, 55, 23] Generated Node #0,2: 48:[80, 55, 23] Operation: 81-58=23 Moving to Node #0,0 Current State: 48:[58, 55, 1], Operations: ['81-80=1'] Exploring Operation: 58-1=57, Resulting Numbers: [55, 57] Generated Node #0,0,0: 48:[55, 57] Operation: 58-1=57 Exploring Operation: 55-1=54, Resulting Numbers: [58, 54] Generated Node #0,0,1: 48:[58, 54] Operation: 55-1=54 Exploring Operation: 58-55=3, Resulting Numbers: [1, 3] Generated Node #0,0,2: 48:[1, 3] Operation: 58-55=3 Moving to Node #0,2 Current State: 48:[80, 55, 23], Operations: ['81-58=23'] Exploring Operation: 55-23=32, Resulting Numbers: [80, 32] Generated Node #0,2,0: 48:[80, 32] Operation: 55-23=32 Exploring Operation: 80-55=25, Resulting Numbers: [23, 25] Generated Node #0,2,1: 48:[23, 25] Operation: 80-55=25 Exploring Operation: 80-23=57, Resulting Numbers: [55, 57] Generated Node #0,2,2: 48:[55, 57] Operation: 80-23=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[23, 25], Operations: ['81-58=23', '80-55=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,48 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[58, 80, 55, 81], Operations: [] Exploring Operation: 81-58=23, Resulting Numbers: [80, 55, 23] Generated Node #0,2: 48:[80, 55, 23] Operation: 81-58=23 Moving to Node #0,2 Current State: 48:[80, 55, 23], Operations: ['81-58=23'] Exploring Operation: 80-55=25, Resulting Numbers: [23, 25] Generated Node #0,2,1: 48:[23, 25] Operation: 80-55=25 Moving to Node #0,2,1 Current State: 48:[23, 25], Operations: ['81-58=23', '80-55=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 2, 36, 5, 87 ]
83
[ "36-2=34", "5*34=170", "170-87=83" ]
Current State: 83:[2, 36, 5, 87], Operations: [] Exploring Operation: 36-2=34, Resulting Numbers: [5, 87, 34] Generated Node #2: [5, 87, 34] from Operation: 36-2=34 Current State: 83:[5, 87, 34], Operations: ['36-2=34'] Exploring Operation: 5*34=170, Resulting Numbers: [87, 170] Generated Node #3: [87, 170] from Operation: 5*34=170 Current State: 83:[87, 170], Operations: ['36-2=34', '5*34=170'] Exploring Operation: 170-87=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[2, 36, 5, 87], Operations: [] Exploring Operation: 2+5=7, Resulting Numbers: [36, 87, 7] Generated Node #0,0: 83:[36, 87, 7] Operation: 2+5=7 Exploring Operation: 2*5=10, Resulting Numbers: [36, 87, 10] Generated Node #0,1: 83:[36, 87, 10] Operation: 2*5=10 Exploring Operation: 2+36=38, Resulting Numbers: [5, 87, 38] Generated Node #0,2: 83:[5, 87, 38] Operation: 2+36=38 Exploring Operation: 2*36=72, Resulting Numbers: [5, 87, 72] Generated Node #0,3: 83:[5, 87, 72] Operation: 2*36=72 Exploring Operation: 87-2=85, Resulting Numbers: [36, 5, 85] Generated Node #0,4: 83:[36, 5, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[5, 87, 72], Operations: ['2*36=72'] Exploring Operation: 87-72=15, Resulting Numbers: [5, 15] Generated Node #0,3,0: 83:[5, 15] Operation: 87-72=15 Exploring Operation: 72-5=67, Resulting Numbers: [87, 67] Generated Node #0,3,1: 83:[87, 67] Operation: 72-5=67 Exploring Operation: 5+72=77, Resulting Numbers: [87, 77] Generated Node #0,3,2: 83:[87, 77] Operation: 5+72=77 Exploring Operation: 87-5=82, Resulting Numbers: [72, 82] Generated Node #0,3,3: 83:[72, 82] Operation: 87-5=82 Exploring Operation: 5+87=92, Resulting Numbers: [72, 92] Generated Node #0,3,4: 83:[72, 92] Operation: 5+87=92 Moving to Node #0,3,2 Current State: 83:[87, 77], Operations: ['2*36=72', '5+72=77'] Exploring Operation: 87+77=164, Resulting Numbers: [164] 164,83 unequal: No Solution Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 87*77=6699, Resulting Numbers: [6699] 6699,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[72, 82], Operations: ['2*36=72', '87-5=82'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[87, 67], Operations: ['2*36=72', '72-5=67'] Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 87*67=5829, Resulting Numbers: [5829] 5829,83 unequal: No Solution Exploring Operation: 87+67=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[72, 92], Operations: ['2*36=72', '5+87=92'] Exploring Operation: 72*92=6624, Resulting Numbers: [6624] 6624,83 unequal: No Solution Exploring Operation: 72+92=164, Resulting Numbers: [164] 164,83 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[5, 15], Operations: ['2*36=72', '87-72=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,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 Current State: 83:[36, 87, 10], Operations: ['2*5=10'] Exploring Operation: 36-10=26, Resulting Numbers: [87, 26] Generated Node #0,1,0: 83:[87, 26] Operation: 36-10=26 Exploring Operation: 87-10=77, Resulting Numbers: [36, 77] Generated Node #0,1,1: 83:[36, 77] Operation: 87-10=77 Exploring Operation: 87+10=97, Resulting Numbers: [36, 97] Generated Node #0,1,2: 83:[36, 97] Operation: 87+10=97 Exploring Operation: 87-36=51, Resulting Numbers: [10, 51] Generated Node #0,1,3: 83:[10, 51] Operation: 87-36=51 Exploring Operation: 36+10=46, Resulting Numbers: [87, 46] Generated Node #0,1,4: 83:[87, 46] Operation: 36+10=46 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 83:[87, 46], Operations: ['2*5=10', '36+10=46'] Exploring Operation: 87*46=4002, Resulting Numbers: [4002] 4002,83 unequal: No Solution Exploring Operation: 87+46=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[36, 77], Operations: ['2*5=10', '87-10=77'] Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,83 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[87, 26], Operations: ['2*5=10', '36-10=26'] Exploring Operation: 87+26=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 87*26=2262, Resulting Numbers: [2262] 2262,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[36, 97], Operations: ['2*5=10', '87+10=97'] Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 36*97=3492, Resulting Numbers: [3492] 3492,83 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[10, 51], Operations: ['2*5=10', '87-36=51'] Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,83 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: 83:[36, 87, 7], Operations: ['2+5=7'] Exploring Operation: 36-7=29, Resulting Numbers: [87, 29] Generated Node #0,0,0: 83:[87, 29] Operation: 36-7=29 Exploring Operation: 87+7=94, Resulting Numbers: [36, 94] Generated Node #0,0,1: 83:[36, 94] Operation: 87+7=94 Exploring Operation: 87-36=51, Resulting Numbers: [7, 51] Generated Node #0,0,2: 83:[7, 51] Operation: 87-36=51 Exploring Operation: 87-7=80, Resulting Numbers: [36, 80] Generated Node #0,0,3: 83:[36, 80] Operation: 87-7=80 Exploring Operation: 36+7=43, Resulting Numbers: [87, 43] Generated Node #0,0,4: 83:[87, 43] Operation: 36+7=43 Moving to Node #0,0,4 Current State: 83:[87, 43], Operations: ['2+5=7', '36+7=43'] Exploring Operation: 87+43=130, Resulting Numbers: [130] 130,83 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 87*43=3741, Resulting Numbers: [3741] 3741,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[36, 80], Operations: ['2+5=7', '87-7=80'] Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,83 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[87, 29], Operations: ['2+5=7', '36-7=29'] Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 87*29=2523, Resulting Numbers: [2523] 2523,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[36, 94], Operations: ['2+5=7', '87+7=94'] Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,83 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,83 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[7, 51], Operations: ['2+5=7', '87-36=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,83 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[5, 87, 38], Operations: ['2+36=38'] Exploring Operation: 5+87=92, Resulting Numbers: [38, 92] Generated Node #0,2,0: 83:[38, 92] Operation: 5+87=92 Exploring Operation: 38-5=33, Resulting Numbers: [87, 33] Generated Node #0,2,1: 83:[87, 33] Operation: 38-5=33 Exploring Operation: 5*38=190, Resulting Numbers: [87, 190] Generated Node #0,2,2: 83:[87, 190] Operation: 5*38=190 Exploring Operation: 5+38=43, Resulting Numbers: [87, 43] Generated Node #0,2,3: 83:[87, 43] Operation: 5+38=43 Exploring Operation: 87-5=82, Resulting Numbers: [38, 82] Generated Node #0,2,4: 83:[38, 82] Operation: 87-5=82 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[87, 43], Operations: ['2+36=38', '5+38=43'] Exploring Operation: 87+43=130, Resulting Numbers: [130] 130,83 unequal: No Solution Exploring Operation: 87*43=3741, Resulting Numbers: [3741] 3741,83 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[38, 82], Operations: ['2+36=38', '87-5=82'] Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,83 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[38, 92], Operations: ['2+36=38', '5+87=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 38*92=3496, Resulting Numbers: [3496] 3496,83 unequal: No Solution Exploring Operation: 38+92=130, Resulting Numbers: [130] 130,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[87, 33], Operations: ['2+36=38', '38-5=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[87, 190], Operations: ['2+36=38', '5*38=190'] Exploring Operation: 87*190=16530, Resulting Numbers: [16530] 16530,83 unequal: No Solution Exploring Operation: 190-87=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 87+190=277, Resulting Numbers: [277] 277,83 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: 83:[36, 5, 85], Operations: ['87-2=85'] Exploring Operation: 36+5=41, Resulting Numbers: [85, 41] Generated Node #0,4,0: 83:[85, 41] Operation: 36+5=41 Exploring Operation: 85-5=80, Resulting Numbers: [36, 80] Generated Node #0,4,1: 83:[36, 80] Operation: 85-5=80 Exploring Operation: 5+85=90, Resulting Numbers: [36, 90] Generated Node #0,4,2: 83:[36, 90] Operation: 5+85=90 Exploring Operation: 36-5=31, Resulting Numbers: [85, 31] Generated Node #0,4,3: 83:[85, 31] Operation: 36-5=31 Exploring Operation: 36*5=180, Resulting Numbers: [85, 180] Generated Node #0,4,4: 83:[85, 180] Operation: 36*5=180 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[85, 41], Operations: ['87-2=85', '36+5=41'] Exploring Operation: 85*41=3485, Resulting Numbers: [3485] 3485,83 unequal: No Solution Exploring Operation: 85+41=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 83:[36, 80], Operations: ['87-2=85', '85-5=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[36, 90], Operations: ['87-2=85', '5+85=90'] Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,83 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 83:[85, 31], Operations: ['87-2=85', '36-5=31'] Exploring Operation: 85+31=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 85*31=2635, Resulting Numbers: [2635] 2635,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[85, 180], Operations: ['87-2=85', '36*5=180'] Exploring Operation: 180-85=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 85+180=265, Resulting Numbers: [265] 265,83 unequal: No Solution Exploring Operation: 85*180=15300, Resulting Numbers: [15300] 15300,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 21, 10, 6, 87 ]
28
[ "21+87=108", "108/6=18", "10+18=28" ]
Current State: 28:[21, 10, 6, 87], Operations: [] Exploring Operation: 21+87=108, Resulting Numbers: [10, 6, 108] Generated Node #2: [10, 6, 108] from Operation: 21+87=108 Current State: 28:[10, 6, 108], Operations: ['21+87=108'] Exploring Operation: 108/6=18, Resulting Numbers: [10, 18] Generated Node #3: [10, 18] from Operation: 108/6=18 Current State: 28:[10, 18], Operations: ['21+87=108', '108/6=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[21, 10, 6, 87], Operations: [] Exploring Operation: 87-10=77, Resulting Numbers: [21, 6, 77] Generated Node #0,0: 28:[21, 6, 77] Operation: 87-10=77 Exploring Operation: 21+10=31, Resulting Numbers: [6, 87, 31] Generated Node #0,1: 28:[6, 87, 31] Operation: 21+10=31 Exploring Operation: 87-21=66, Resulting Numbers: [10, 6, 66] Generated Node #0,2: 28:[10, 6, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[10, 6, 66], Operations: ['87-21=66'] Exploring Operation: 66-10=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 28:[6, 56] Operation: 66-10=56 Exploring Operation: 66-6=60, Resulting Numbers: [10, 60] Generated Node #0,2,1: 28:[10, 60] Operation: 66-6=60 Exploring Operation: 66/6=11, Resulting Numbers: [10, 11] Generated Node #0,2,2: 28:[10, 11] Operation: 66/6=11 Moving to Node #0,2,2 Current State: 28:[10, 11], Operations: ['87-21=66', '66/6=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,28 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[6, 56], Operations: ['87-21=66', '66-10=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[10, 60], Operations: ['87-21=66', '66-6=60'] Exploring Operation: 10+60=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[21, 6, 77], Operations: ['87-10=77'] Exploring Operation: 77-21=56, Resulting Numbers: [6, 56] Generated Node #0,0,0: 28:[6, 56] Operation: 77-21=56 Exploring Operation: 21-6=15, Resulting Numbers: [77, 15] Generated Node #0,0,1: 28:[77, 15] Operation: 21-6=15 Exploring Operation: 21+6=27, Resulting Numbers: [77, 27] Generated Node #0,0,2: 28:[77, 27] Operation: 21+6=27 Moving to Node #0,0,0 Current State: 28:[6, 56], Operations: ['87-10=77', '77-21=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[77, 15], Operations: ['87-10=77', '21-6=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[77, 27], Operations: ['87-10=77', '21+6=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,28 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,28 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[6, 87, 31], Operations: ['21+10=31'] Exploring Operation: 87-6=81, Resulting Numbers: [31, 81] Generated Node #0,1,0: 28:[31, 81] Operation: 87-6=81 Exploring Operation: 87-31=56, Resulting Numbers: [6, 56] Generated Node #0,1,1: 28:[6, 56] Operation: 87-31=56 Exploring Operation: 31-6=25, Resulting Numbers: [87, 25] Generated Node #0,1,2: 28:[87, 25] Operation: 31-6=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[6, 56], Operations: ['21+10=31', '87-31=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[31, 81], Operations: ['21+10=31', '87-6=81'] Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[87, 25], Operations: ['21+10=31', '31-6=25'] Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 87*25=2175, Resulting Numbers: [2175] 2175,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 20, 67, 27, 74 ]
14
[ "20+67=87", "27+74=101", "101-87=14" ]
Current State: 14:[20, 67, 27, 74], Operations: [] Exploring Operation: 20+67=87, Resulting Numbers: [27, 74, 87] Generated Node #2: [27, 74, 87] from Operation: 20+67=87 Current State: 14:[27, 74, 87], Operations: ['20+67=87'] Exploring Operation: 27+74=101, Resulting Numbers: [87, 101] Generated Node #3: [87, 101] from Operation: 27+74=101 Current State: 14:[87, 101], Operations: ['20+67=87', '27+74=101'] Exploring Operation: 101-87=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[20, 67, 27, 74], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [20, 27, 7] Generated Node #0,0: 14:[20, 27, 7] Operation: 74-67=7 Exploring Operation: 67-27=40, Resulting Numbers: [20, 74, 40] Generated Node #0,1: 14:[20, 74, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[20, 27, 7], Operations: ['74-67=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 14:[20, 20] Operation: 27-7=20 Exploring Operation: 27-20=7, Resulting Numbers: [7, 7] Generated Node #0,0,1: 14:[7, 7] Operation: 27-20=7 Moving to Node #0,0,1 Current State: 14:[7, 7], Operations: ['74-67=7', '27-20=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[20, 67, 27, 74], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [20, 27, 7] Generated Node #0,0: 14:[20, 27, 7] Operation: 74-67=7 Moving to Node #0,0 Current State: 14:[20, 27, 7], Operations: ['74-67=7'] Exploring Operation: 27-20=7, Resulting Numbers: [7, 7] Generated Node #0,0,1: 14:[7, 7] Operation: 27-20=7 Moving to Node #0,0,1 Current State: 14:[7, 7], Operations: ['74-67=7', '27-20=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 12, 24, 1, 63 ]
63
[ "24/12=2", "2-1=1", "63*1=63" ]
Current State: 63:[12, 24, 1, 63], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [1, 63, 2] Generated Node #2: [1, 63, 2] from Operation: 24/12=2 Current State: 63:[1, 63, 2], Operations: ['24/12=2'] Exploring Operation: 2-1=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 2-1=1 Current State: 63:[63, 1], Operations: ['24/12=2', '2-1=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[12, 24, 1, 63], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [1, 63, 2] Generated Node #0,0: 63:[1, 63, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[1, 63, 2], Operations: ['24/12=2'] Exploring Operation: 1+2=3, Resulting Numbers: [63, 3] Generated Node #0,0,0: 63:[63, 3] Operation: 1+2=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[63, 3], Operations: ['24/12=2', '1+2=3'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,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
mult_heuristic
[ 7, 6, 58, 3 ]
63
[ "7+58=65", "6/3=2", "65-2=63" ]
Current State: 63:[7, 6, 58, 3], Operations: [] Exploring Operation: 7+58=65, Resulting Numbers: [6, 3, 65] Generated Node #2: [6, 3, 65] from Operation: 7+58=65 Current State: 63:[6, 3, 65], Operations: ['7+58=65'] Exploring Operation: 6/3=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 6/3=2 Current State: 63:[65, 2], Operations: ['7+58=65', '6/3=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 6, 58, 3], Operations: [] Exploring Operation: 6+58=64, Resulting Numbers: [7, 3, 64] Generated Node #0,0: 63:[7, 3, 64] Operation: 6+58=64 Exploring Operation: 7+58=65, Resulting Numbers: [6, 3, 65] Generated Node #0,1: 63:[6, 3, 65] Operation: 7+58=65 Moving to Node #0,0 Current State: 63:[7, 3, 64], Operations: ['6+58=64'] Exploring Operation: 7*3=21, Resulting Numbers: [64, 21] Generated Node #0,0,0: 63:[64, 21] Operation: 7*3=21 Exploring Operation: 7+3=10, Resulting Numbers: [64, 10] Generated Node #0,0,1: 63:[64, 10] Operation: 7+3=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[64, 21], Operations: ['6+58=64', '7*3=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,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,1 Current State: 63:[64, 10], Operations: ['6+58=64', '7+3=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,63 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: 63:[6, 3, 65], Operations: ['7+58=65'] Exploring Operation: 6+3=9, Resulting Numbers: [65, 9] Generated Node #0,1,0: 63:[65, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 63:[65, 3] Operation: 6-3=3 Moving to Node #0,1,0 Current State: 63:[65, 9], Operations: ['7+58=65', '6+3=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[65, 3], Operations: ['7+58=65', '6-3=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 51, 2, 20 ]
30
[ "54-51=3", "20/2=10", "3*10=30" ]
Current State: 30:[54, 51, 2, 20], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [2, 20, 3] Generated Node #2: [2, 20, 3] from Operation: 54-51=3 Current State: 30:[2, 20, 3], Operations: ['54-51=3'] Exploring Operation: 20/2=10, Resulting Numbers: [3, 10] Generated Node #3: [3, 10] from Operation: 20/2=10 Current State: 30:[3, 10], Operations: ['54-51=3', '20/2=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[54, 51, 2, 20], Operations: [] Exploring Operation: 54-20=34, Resulting Numbers: [51, 2, 34] Generated Node #0,0: 30:[51, 2, 34] Operation: 54-20=34 Exploring Operation: 51-20=31, Resulting Numbers: [54, 2, 31] Generated Node #0,1: 30:[54, 2, 31] Operation: 51-20=31 Exploring Operation: 54-51=3, Resulting Numbers: [2, 20, 3] Generated Node #0,2: 30:[2, 20, 3] Operation: 54-51=3 Moving to Node #0,2 Current State: 30:[2, 20, 3], Operations: ['54-51=3'] Exploring Operation: 20-3=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 30:[2, 17] Operation: 20-3=17 Exploring Operation: 20/2=10, Resulting Numbers: [3, 10] Generated Node #0,2,1: 30:[3, 10] Operation: 20/2=10 Exploring Operation: 20-2=18, Resulting Numbers: [3, 18] Generated Node #0,2,2: 30:[3, 18] Operation: 20-2=18 Moving to Node #0,0 Current State: 30:[51, 2, 34], Operations: ['54-20=34'] Exploring Operation: 51-34=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 30:[2, 17] Operation: 51-34=17 Exploring Operation: 51-2=49, Resulting Numbers: [34, 49] Generated Node #0,0,1: 30:[34, 49] Operation: 51-2=49 Exploring Operation: 34-2=32, Resulting Numbers: [51, 32] Generated Node #0,0,2: 30:[51, 32] Operation: 34-2=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[2, 17], Operations: ['54-20=34', '51-34=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[34, 49], Operations: ['54-20=34', '51-2=49'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[51, 32], Operations: ['54-20=34', '34-2=32'] Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,30 unequal: No Solution Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,30 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: 30:[54, 2, 31], Operations: ['51-20=31'] Exploring Operation: 54-31=23, Resulting Numbers: [2, 23] Generated Node #0,1,0: 30:[2, 23] Operation: 54-31=23 Exploring Operation: 54/2=27, Resulting Numbers: [31, 27] Generated Node #0,1,1: 30:[31, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [31, 52] Generated Node #0,1,2: 30:[31, 52] Operation: 54-2=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[31, 27], Operations: ['51-20=31', '54/2=27'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,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,0 Current State: 30:[2, 23], Operations: ['51-20=31', '54-31=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,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,2 Current State: 30:[31, 52], Operations: ['51-20=31', '54-2=52'] Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 30:[3, 10], Operations: ['54-51=3', '20/2=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[54, 51, 2, 20], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [2, 20, 3] Generated Node #0,2: 30:[2, 20, 3] Operation: 54-51=3 Moving to Node #0,2 Current State: 30:[2, 20, 3], Operations: ['54-51=3'] Exploring Operation: 20/2=10, Resulting Numbers: [3, 10] Generated Node #0,2,1: 30:[3, 10] Operation: 20/2=10 Moving to Node #0,2,1 Current State: 30:[3, 10], Operations: ['54-51=3', '20/2=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 38, 76, 22, 48 ]
46
[ "76/38=2", "48/2=24", "22+24=46" ]
Current State: 46:[38, 76, 22, 48], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [22, 48, 2] Generated Node #2: [22, 48, 2] from Operation: 76/38=2 Current State: 46:[22, 48, 2], Operations: ['76/38=2'] Exploring Operation: 48/2=24, Resulting Numbers: [22, 24] Generated Node #3: [22, 24] from Operation: 48/2=24 Current State: 46:[22, 24], Operations: ['76/38=2', '48/2=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[38, 76, 22, 48], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [22, 48, 2] Generated Node #0,0: 46:[22, 48, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [22, 48, 38] Generated Node #0,1: 46:[22, 48, 38] Operation: 76-38=38 Moving to Node #0,0 Current State: 46:[22, 48, 2], Operations: ['76/38=2'] Exploring Operation: 48-2=46, Resulting Numbers: [22, 46] Generated Node #0,0,0: 46:[22, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [22, 24] Generated Node #0,0,1: 46:[22, 24] Operation: 48/2=24 Moving to Node #0,1 Current State: 46:[22, 48, 38], Operations: ['76-38=38'] Exploring Operation: 48-38=10, Resulting Numbers: [22, 10] Generated Node #0,1,0: 46:[22, 10] Operation: 48-38=10 Exploring Operation: 38-22=16, Resulting Numbers: [48, 16] Generated Node #0,1,1: 46:[48, 16] Operation: 38-22=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[22, 10], Operations: ['76-38=38', '48-38=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,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:[48, 16], Operations: ['76-38=38', '38-22=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,46 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: 46:[22, 46], Operations: ['76/38=2', '48-2=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[22, 24], Operations: ['76/38=2', '48/2=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[38, 76, 22, 48], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [22, 48, 2] Generated Node #0,0: 46:[22, 48, 2] Operation: 76/38=2 Moving to Node #0,0 Current State: 46:[22, 48, 2], Operations: ['76/38=2'] Exploring Operation: 48/2=24, Resulting Numbers: [22, 24] Generated Node #0,0,1: 46:[22, 24] Operation: 48/2=24 Moving to Node #0,0,1 Current State: 46:[22, 24], Operations: ['76/38=2', '48/2=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 2, 55, 43, 39 ]
14
[ "43+39=82", "82/2=41", "55-41=14" ]
Current State: 14:[2, 55, 43, 39], Operations: [] Exploring Operation: 43+39=82, Resulting Numbers: [2, 55, 82] Generated Node #2: [2, 55, 82] from Operation: 43+39=82 Current State: 14:[2, 55, 82], Operations: ['43+39=82'] Exploring Operation: 82/2=41, Resulting Numbers: [55, 41] Generated Node #3: [55, 41] from Operation: 82/2=41 Current State: 14:[55, 41], Operations: ['43+39=82', '82/2=41'] Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[2, 55, 43, 39], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [2, 39, 12] Generated Node #0,0: 14:[2, 39, 12] Operation: 55-43=12 Exploring Operation: 55-39=16, Resulting Numbers: [2, 43, 16] Generated Node #0,1: 14:[2, 43, 16] Operation: 55-39=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[2, 39, 12], Operations: ['55-43=12'] Exploring Operation: 39-2=37, Resulting Numbers: [12, 37] Generated Node #0,0,0: 14:[12, 37] Operation: 39-2=37 Exploring Operation: 39-12=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 14:[2, 27] Operation: 39-12=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[2, 27], Operations: ['55-43=12', '39-12=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[12, 37], Operations: ['55-43=12', '39-2=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,14 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: 14:[2, 43, 16], Operations: ['55-39=16'] Exploring Operation: 43-2=41, Resulting Numbers: [16, 41] Generated Node #0,1,0: 14:[16, 41] Operation: 43-2=41 Exploring Operation: 43-16=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 14:[2, 27] Operation: 43-16=27 Moving to Node #0,1,1 Current State: 14:[2, 27], Operations: ['55-39=16', '43-16=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[16, 41], Operations: ['55-39=16', '43-2=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,14 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
[ 3, 32, 6, 28 ]
18
[ "6/3=2", "28/2=14", "32-14=18" ]
Current State: 18:[3, 32, 6, 28], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [32, 28, 2] Generated Node #2: [32, 28, 2] from Operation: 6/3=2 Current State: 18:[32, 28, 2], Operations: ['6/3=2'] Exploring Operation: 28/2=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 28/2=14 Current State: 18:[32, 14], Operations: ['6/3=2', '28/2=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[3, 32, 6, 28], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [3, 6, 4] Generated Node #0,0: 18:[3, 6, 4] Operation: 32-28=4 Exploring Operation: 28-6=22, Resulting Numbers: [3, 32, 22] Generated Node #0,1: 18:[3, 32, 22] Operation: 28-6=22 Exploring Operation: 32-6=26, Resulting Numbers: [3, 28, 26] Generated Node #0,2: 18:[3, 28, 26] Operation: 32-6=26 Exploring Operation: 28-3=25, Resulting Numbers: [32, 6, 25] Generated Node #0,3: 18:[32, 6, 25] Operation: 28-3=25 Exploring Operation: 32-3=29, Resulting Numbers: [6, 28, 29] Generated Node #0,4: 18:[6, 28, 29] Operation: 32-3=29 Moving to Node #0,0 Current State: 18:[3, 6, 4], Operations: ['32-28=4'] Exploring Operation: 6/3=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 18:[4, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [4, 3] Generated Node #0,0,1: 18:[4, 3] Operation: 6-3=3 Exploring Operation: 3*6=18, Resulting Numbers: [4, 18] Generated Node #0,0,2: 18:[4, 18] Operation: 3*6=18 Exploring Operation: 6-4=2, Resulting Numbers: [3, 2] Generated Node #0,0,3: 18:[3, 2] Operation: 6-4=2 Exploring Operation: 3+6=9, Resulting Numbers: [4, 9] Generated Node #0,0,4: 18:[4, 9] Operation: 3+6=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[3, 2], Operations: ['32-28=4', '6-4=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[4, 2], Operations: ['32-28=4', '6/3=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[4, 3], Operations: ['32-28=4', '6-3=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[4, 18], Operations: ['32-28=4', '3*6=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 18:[4, 9], Operations: ['32-28=4', '3+6=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,18 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: 18:[3, 28, 26], Operations: ['32-6=26'] Exploring Operation: 3+26=29, Resulting Numbers: [28, 29] Generated Node #0,2,0: 18:[28, 29] Operation: 3+26=29 Exploring Operation: 28-26=2, Resulting Numbers: [3, 2] Generated Node #0,2,1: 18:[3, 2] Operation: 28-26=2 Exploring Operation: 3+28=31, Resulting Numbers: [26, 31] Generated Node #0,2,2: 18:[26, 31] Operation: 3+28=31 Exploring Operation: 28-3=25, Resulting Numbers: [26, 25] Generated Node #0,2,3: 18:[26, 25] Operation: 28-3=25 Exploring Operation: 26-3=23, Resulting Numbers: [28, 23] Generated Node #0,2,4: 18:[28, 23] Operation: 26-3=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[3, 2], Operations: ['32-6=26', '28-26=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[26, 25], Operations: ['32-6=26', '28-3=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,18 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[28, 23], Operations: ['32-6=26', '26-3=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,18 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[28, 29], Operations: ['32-6=26', '3+26=29'] Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,18 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[26, 31], Operations: ['32-6=26', '3+28=31'] Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,18 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[3, 32, 22], Operations: ['28-6=22'] Exploring Operation: 3+22=25, Resulting Numbers: [32, 25] Generated Node #0,1,0: 18:[32, 25] Operation: 3+22=25 Exploring Operation: 3+32=35, Resulting Numbers: [22, 35] Generated Node #0,1,1: 18:[22, 35] Operation: 3+32=35 Exploring Operation: 32-22=10, Resulting Numbers: [3, 10] Generated Node #0,1,2: 18:[3, 10] Operation: 32-22=10 Exploring Operation: 22-3=19, Resulting Numbers: [32, 19] Generated Node #0,1,3: 18:[32, 19] Operation: 22-3=19 Exploring Operation: 32-3=29, Resulting Numbers: [22, 29] Generated Node #0,1,4: 18:[22, 29] Operation: 32-3=29 Moving to Node #0,3 Current State: 18:[32, 6, 25], Operations: ['28-3=25'] Exploring Operation: 25-6=19, Resulting Numbers: [32, 19] Generated Node #0,3,0: 18:[32, 19] Operation: 25-6=19 Exploring Operation: 6+25=31, Resulting Numbers: [32, 31] Generated Node #0,3,1: 18:[32, 31] Operation: 6+25=31 Exploring Operation: 32-6=26, Resulting Numbers: [25, 26] Generated Node #0,3,2: 18:[25, 26] Operation: 32-6=26 Exploring Operation: 32-25=7, Resulting Numbers: [6, 7] Generated Node #0,3,3: 18:[6, 7] Operation: 32-25=7 Exploring Operation: 32+6=38, Resulting Numbers: [25, 38] Generated Node #0,3,4: 18:[25, 38] Operation: 32+6=38 Moving to Node #0,4 Current State: 18:[6, 28, 29], Operations: ['32-3=29'] Exploring Operation: 6+29=35, Resulting Numbers: [28, 35] Generated Node #0,4,0: 18:[28, 35] Operation: 6+29=35 Exploring Operation: 6+28=34, Resulting Numbers: [29, 34] Generated Node #0,4,1: 18:[29, 34] Operation: 6+28=34 Exploring Operation: 29-6=23, Resulting Numbers: [28, 23] Generated Node #0,4,2: 18:[28, 23] Operation: 29-6=23 Exploring Operation: 29-28=1, Resulting Numbers: [6, 1] Generated Node #0,4,3: 18:[6, 1] Operation: 29-28=1 Exploring Operation: 28-6=22, Resulting Numbers: [29, 22] Generated Node #0,4,4: 18:[29, 22] Operation: 28-6=22 Moving to Node #0,1,2 Current State: 18:[3, 10], Operations: ['28-6=22', '32-22=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[6, 7], Operations: ['28-3=25', '32-25=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[6, 1], Operations: ['32-3=29', '29-28=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[32, 19], Operations: ['28-3=25', '25-6=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,18 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[22, 29], Operations: ['28-6=22', '32-3=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,18 unequal: No Solution Moving to Node #0,4,2 Current State: 18:[28, 23], Operations: ['32-3=29', '29-6=23'] Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[29, 22], Operations: ['32-3=29', '28-6=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,18 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[32, 19], Operations: ['28-6=22', '22-3=19'] Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,18 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[25, 26], Operations: ['28-3=25', '32-6=26'] Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,18 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[22, 35], Operations: ['28-6=22', '3+32=35'] Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,18 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[32, 25], Operations: ['28-6=22', '3+22=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,18 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[28, 35], Operations: ['32-3=29', '6+29=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,18 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[29, 34], Operations: ['32-3=29', '6+28=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[32, 31], Operations: ['28-3=25', '6+25=31'] Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,18 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,3,4 Current State: 18:[25, 38], Operations: ['28-3=25', '32+6=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,18 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 10, 52, 9, 99 ]
58
[ "10*99=990", "990/9=110", "110-52=58" ]
Current State: 58:[10, 52, 9, 99], Operations: [] Exploring Operation: 10*99=990, Resulting Numbers: [52, 9, 990] Generated Node #2: [52, 9, 990] from Operation: 10*99=990 Current State: 58:[52, 9, 990], Operations: ['10*99=990'] Exploring Operation: 990/9=110, Resulting Numbers: [52, 110] Generated Node #3: [52, 110] from Operation: 990/9=110 Current State: 58:[52, 110], Operations: ['10*99=990', '990/9=110'] Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[10, 52, 9, 99], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [52, 9, 89] Generated Node #0,0: 58:[52, 9, 89] Operation: 99-10=89 Exploring Operation: 99-52=47, Resulting Numbers: [10, 9, 47] Generated Node #0,1: 58:[10, 9, 47] Operation: 99-52=47 Exploring Operation: 99/9=11, Resulting Numbers: [10, 52, 11] Generated Node #0,2: 58:[10, 52, 11] Operation: 99/9=11 Exploring Operation: 99-9=90, Resulting Numbers: [10, 52, 90] Generated Node #0,3: 58:[10, 52, 90] Operation: 99-9=90 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[10, 52, 11], Operations: ['99/9=11'] Exploring Operation: 10+52=62, Resulting Numbers: [11, 62] Generated Node #0,2,0: 58:[11, 62] Operation: 10+52=62 Exploring Operation: 11-10=1, Resulting Numbers: [52, 1] Generated Node #0,2,1: 58:[52, 1] Operation: 11-10=1 Exploring Operation: 52+11=63, Resulting Numbers: [10, 63] Generated Node #0,2,2: 58:[10, 63] Operation: 52+11=63 Exploring Operation: 10+11=21, Resulting Numbers: [52, 21] Generated Node #0,2,3: 58:[52, 21] Operation: 10+11=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[52, 1], Operations: ['99/9=11', '11-10=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,58 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,58 unequal: No Solution No 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: 58:[11, 62], Operations: ['99/9=11', '10+52=62'] Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,58 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,58 unequal: No Solution No 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: 58:[10, 63], Operations: ['99/9=11', '52+11=63'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,58 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,58 unequal: No Solution No 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: 58:[52, 21], Operations: ['99/9=11', '10+11=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,58 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: 58:[10, 9, 47], Operations: ['99-52=47'] Exploring Operation: 47-10=37, Resulting Numbers: [9, 37] Generated Node #0,1,0: 58:[9, 37] Operation: 47-10=37 Exploring Operation: 10+47=57, Resulting Numbers: [9, 57] Generated Node #0,1,1: 58:[9, 57] Operation: 10+47=57 Exploring Operation: 9+47=56, Resulting Numbers: [10, 56] Generated Node #0,1,2: 58:[10, 56] Operation: 9+47=56 Exploring Operation: 10-9=1, Resulting Numbers: [47, 1] Generated Node #0,1,3: 58:[47, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[9, 57], Operations: ['99-52=47', '10+47=57'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,58 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,58 unequal: No Solution No 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: 58:[10, 56], Operations: ['99-52=47', '9+47=56'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,58 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,58 unequal: No Solution No 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: 58:[47, 1], Operations: ['99-52=47', '10-9=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,58 unequal: No Solution No 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: 58:[9, 37], Operations: ['99-52=47', '47-10=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,58 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: 58:[52, 9, 89], Operations: ['99-10=89'] Exploring Operation: 89-9=80, Resulting Numbers: [52, 80] Generated Node #0,0,0: 58:[52, 80] Operation: 89-9=80 Exploring Operation: 52-9=43, Resulting Numbers: [89, 43] Generated Node #0,0,1: 58:[89, 43] Operation: 52-9=43 Exploring Operation: 52+9=61, Resulting Numbers: [89, 61] Generated Node #0,0,2: 58:[89, 61] Operation: 52+9=61 Exploring Operation: 89-52=37, Resulting Numbers: [9, 37] Generated Node #0,0,3: 58:[9, 37] Operation: 89-52=37 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[9, 37], Operations: ['99-10=89', '89-52=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,58 unequal: No Solution No 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: 58:[52, 80], Operations: ['99-10=89', '89-9=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,58 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,58 unequal: No Solution No 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: 58:[89, 61], Operations: ['99-10=89', '52+9=61'] Exploring Operation: 89+61=150, Resulting Numbers: [150] 150,58 unequal: No Solution Exploring Operation: 89*61=5429, Resulting Numbers: [5429] 5429,58 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,58 unequal: No Solution No 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: 58:[89, 43], Operations: ['99-10=89', '52-9=43'] Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,58 unequal: No Solution Exploring Operation: 89*43=3827, Resulting Numbers: [3827] 3827,58 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: 58:[10, 52, 90], Operations: ['99-9=90'] Exploring Operation: 10+52=62, Resulting Numbers: [90, 62] Generated Node #0,3,0: 58:[90, 62] Operation: 10+52=62 Exploring Operation: 90-10=80, Resulting Numbers: [52, 80] Generated Node #0,3,1: 58:[52, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [52, 9] Generated Node #0,3,2: 58:[52, 9] Operation: 90/10=9 Exploring Operation: 90-52=38, Resulting Numbers: [10, 38] Generated Node #0,3,3: 58:[10, 38] Operation: 90-52=38 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[52, 9], Operations: ['99-9=90', '90/10=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,58 unequal: No Solution No 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: 58:[10, 38], Operations: ['99-9=90', '90-52=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,58 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,58 unequal: No Solution No 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: 58:[52, 80], Operations: ['99-9=90', '90-10=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,58 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,58 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,58 unequal: No Solution No 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: 58:[90, 62], Operations: ['99-9=90', '10+52=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,58 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 88, 48, 10, 55 ]
40
[ "48*55=2640", "2640/88=30", "10+30=40" ]
Current State: 40:[88, 48, 10, 55], Operations: [] Exploring Operation: 48*55=2640, Resulting Numbers: [88, 10, 2640] Generated Node #2: [88, 10, 2640] from Operation: 48*55=2640 Current State: 40:[88, 10, 2640], Operations: ['48*55=2640'] Exploring Operation: 2640/88=30, Resulting Numbers: [10, 30] Generated Node #3: [10, 30] from Operation: 2640/88=30 Current State: 40:[10, 30], Operations: ['48*55=2640', '2640/88=30'] Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[88, 48, 10, 55], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [48, 10, 33] Generated Node #0,0: 40:[48, 10, 33] Operation: 88-55=33 Exploring Operation: 88-48=40, Resulting Numbers: [10, 55, 40] Generated Node #0,1: 40:[10, 55, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[48, 10, 33], Operations: ['88-55=33'] Exploring Operation: 48-33=15, Resulting Numbers: [10, 15] Generated Node #0,0,0: 40:[10, 15] Operation: 48-33=15 Exploring Operation: 48-10=38, Resulting Numbers: [33, 38] Generated Node #0,0,1: 40:[33, 38] Operation: 48-10=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[10, 15], Operations: ['88-55=33', '48-33=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[33, 38], Operations: ['88-55=33', '48-10=38'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[10, 55, 40], Operations: ['88-48=40'] Exploring Operation: 55-10=45, Resulting Numbers: [40, 45] Generated Node #0,1,0: 40:[40, 45] Operation: 55-10=45 Exploring Operation: 55-40=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 40:[10, 15] Operation: 55-40=15 Moving to Node #0,1,0 Current State: 40:[40, 45], Operations: ['88-48=40', '55-10=45'] Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[10, 15], Operations: ['88-48=40', '55-40=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,40 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
[ 15, 67, 56, 64 ]
11
[ "67-64=3", "15*3=45", "56-45=11" ]
Current State: 11:[15, 67, 56, 64], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [15, 56, 3] Generated Node #2: [15, 56, 3] from Operation: 67-64=3 Current State: 11:[15, 56, 3], Operations: ['67-64=3'] Exploring Operation: 15*3=45, Resulting Numbers: [56, 45] Generated Node #3: [56, 45] from Operation: 15*3=45 Current State: 11:[56, 45], Operations: ['67-64=3', '15*3=45'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[15, 67, 56, 64], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [15, 56, 3] Generated Node #0,0: 11:[15, 56, 3] Operation: 67-64=3 Exploring Operation: 67-56=11, Resulting Numbers: [15, 64, 11] Generated Node #0,1: 11:[15, 64, 11] Operation: 67-56=11 Exploring Operation: 64-56=8, Resulting Numbers: [15, 67, 8] Generated Node #0,2: 11:[15, 67, 8] Operation: 64-56=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[15, 56, 3], Operations: ['67-64=3'] Exploring Operation: 15-3=12, Resulting Numbers: [56, 12] Generated Node #0,0,0: 11:[56, 12] Operation: 15-3=12 Exploring Operation: 56-3=53, Resulting Numbers: [15, 53] Generated Node #0,0,1: 11:[15, 53] Operation: 56-3=53 Exploring Operation: 56-15=41, Resulting Numbers: [3, 41] Generated Node #0,0,2: 11:[3, 41] Operation: 56-15=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[3, 41], Operations: ['67-64=3', '56-15=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,11 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[56, 12], Operations: ['67-64=3', '15-3=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,11 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[15, 53], Operations: ['67-64=3', '56-3=53'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,11 unequal: No Solution Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[15, 64, 11], Operations: ['67-56=11'] Exploring Operation: 64-11=53, Resulting Numbers: [15, 53] Generated Node #0,1,0: 11:[15, 53] Operation: 64-11=53 Exploring Operation: 15-11=4, Resulting Numbers: [64, 4] Generated Node #0,1,1: 11:[64, 4] Operation: 15-11=4 Exploring Operation: 64-15=49, Resulting Numbers: [11, 49] Generated Node #0,1,2: 11:[11, 49] Operation: 64-15=49 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[11, 49], Operations: ['67-56=11', '64-15=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,11 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[15, 53], Operations: ['67-56=11', '64-11=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[64, 4], Operations: ['67-56=11', '15-11=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[15, 67, 8], Operations: ['64-56=8'] Exploring Operation: 67-15=52, Resulting Numbers: [8, 52] Generated Node #0,2,0: 11:[8, 52] Operation: 67-15=52 Exploring Operation: 67-8=59, Resulting Numbers: [15, 59] Generated Node #0,2,1: 11:[15, 59] Operation: 67-8=59 Exploring Operation: 15-8=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 11:[67, 7] Operation: 15-8=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[8, 52], Operations: ['64-56=8', '67-15=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[15, 59], Operations: ['64-56=8', '67-8=59'] Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[67, 7], Operations: ['64-56=8', '15-8=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 56, 46, 25, 92 ]
15
[ "56+46=102", "25+92=117", "117-102=15" ]
Current State: 15:[56, 46, 25, 92], Operations: [] Exploring Operation: 56+46=102, Resulting Numbers: [25, 92, 102] Generated Node #2: [25, 92, 102] from Operation: 56+46=102 Current State: 15:[25, 92, 102], Operations: ['56+46=102'] Exploring Operation: 25+92=117, Resulting Numbers: [102, 117] Generated Node #3: [102, 117] from Operation: 25+92=117 Current State: 15:[102, 117], Operations: ['56+46=102', '25+92=117'] Exploring Operation: 117-102=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[56, 46, 25, 92], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [56, 25, 46] Generated Node #0,0: 15:[56, 25, 46] Operation: 92-46=46 Exploring Operation: 92-56=36, Resulting Numbers: [46, 25, 36] Generated Node #0,1: 15:[46, 25, 36] Operation: 92-56=36 Exploring Operation: 56-46=10, Resulting Numbers: [25, 92, 10] Generated Node #0,2: 15:[25, 92, 10] Operation: 56-46=10 Exploring Operation: 92/46=2, Resulting Numbers: [56, 25, 2] Generated Node #0,3: 15:[56, 25, 2] Operation: 92/46=2 Moving to Node #0,3 Current State: 15:[56, 25, 2], Operations: ['92/46=2'] Exploring Operation: 56-25=31, Resulting Numbers: [2, 31] Generated Node #0,3,0: 15:[2, 31] Operation: 56-25=31 Exploring Operation: 56-2=54, Resulting Numbers: [25, 54] Generated Node #0,3,1: 15:[25, 54] Operation: 56-2=54 Exploring Operation: 25-2=23, Resulting Numbers: [56, 23] Generated Node #0,3,2: 15:[56, 23] Operation: 25-2=23 Exploring Operation: 56/2=28, Resulting Numbers: [25, 28] Generated Node #0,3,3: 15:[25, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[2, 31], Operations: ['92/46=2', '56-25=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,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,3,3 Current State: 15:[25, 28], Operations: ['92/46=2', '56/2=28'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,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,3,1 Current State: 15:[25, 54], Operations: ['92/46=2', '56-2=54'] Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,15 unequal: No Solution Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,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,3,2 Current State: 15:[56, 23], Operations: ['92/46=2', '25-2=23'] Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,15 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,15 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: 15:[46, 25, 36], Operations: ['92-56=36'] Exploring Operation: 46+25=71, Resulting Numbers: [36, 71] Generated Node #0,1,0: 15:[36, 71] Operation: 46+25=71 Exploring Operation: 46-36=10, Resulting Numbers: [25, 10] Generated Node #0,1,1: 15:[25, 10] Operation: 46-36=10 Exploring Operation: 36-25=11, Resulting Numbers: [46, 11] Generated Node #0,1,2: 15:[46, 11] Operation: 36-25=11 Exploring Operation: 46-25=21, Resulting Numbers: [36, 21] Generated Node #0,1,3: 15:[36, 21] Operation: 46-25=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[25, 10], Operations: ['92-56=36', '46-36=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,15 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[56, 46, 25, 92], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [46, 25, 36] Generated Node #0,1: 15:[46, 25, 36] Operation: 92-56=36 Moving to Node #0,1 Current State: 15:[46, 25, 36], Operations: ['92-56=36'] Exploring Operation: 46-36=10, Resulting Numbers: [25, 10] Generated Node #0,1,1: 15:[25, 10] Operation: 46-36=10 Moving to Node #0,1,1 Current State: 15:[25, 10], Operations: ['92-56=36', '46-36=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 70, 65, 3, 13 ]
85
[ "65*3=195", "195/13=15", "70+15=85" ]
Current State: 85:[70, 65, 3, 13], Operations: [] Exploring Operation: 65*3=195, Resulting Numbers: [70, 13, 195] Generated Node #2: [70, 13, 195] from Operation: 65*3=195 Current State: 85:[70, 13, 195], Operations: ['65*3=195'] Exploring Operation: 195/13=15, Resulting Numbers: [70, 15] Generated Node #3: [70, 15] from Operation: 195/13=15 Current State: 85:[70, 15], Operations: ['65*3=195', '195/13=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[70, 65, 3, 13], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [3, 13, 5] Generated Node #0,0: 85:[3, 13, 5] Operation: 70-65=5 Exploring Operation: 65/13=5, Resulting Numbers: [70, 3, 5] Generated Node #0,1: 85:[70, 3, 5] Operation: 65/13=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[3, 13, 5], Operations: ['70-65=5'] Exploring Operation: 3+13=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 85:[5, 16] Operation: 3+13=16 Exploring Operation: 13+5=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 85:[3, 18] Operation: 13+5=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[5, 16], Operations: ['70-65=5', '3+13=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[3, 18], Operations: ['70-65=5', '13+5=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,85 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: 85:[70, 3, 5], Operations: ['65/13=5'] Exploring Operation: 70+3=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 85:[5, 73] Operation: 70+3=73 Exploring Operation: 70/5=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 85:[3, 14] Operation: 70/5=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[3, 14], Operations: ['65/13=5', '70/5=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[5, 73], Operations: ['65/13=5', '70+3=73'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,85 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
[ 18, 13, 76, 13 ]
32
[ "18+13=31", "76-13=63", "63-31=32" ]
Current State: 32:[18, 13, 76, 13], Operations: [] Exploring Operation: 18+13=31, Resulting Numbers: [76, 31] Generated Node #2: [76, 31] from Operation: 18+13=31 Current State: 32:[76, 31], Operations: ['18+13=31'] Exploring Operation: 76-13=63, Resulting Numbers: [31, 63] Generated Node #3: [31, 63] from Operation: 76-13=63 Current State: 32:[31, 63], Operations: ['18+13=31', '76-13=63'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[18, 13, 76, 13], Operations: [] Exploring Operation: 76-18=58, Resulting Numbers: [13, 13, 58] Generated Node #0,0: 32:[13, 13, 58] Operation: 76-18=58 Exploring Operation: 13/13=1, Resulting Numbers: [18, 76, 1] Generated Node #0,1: 32:[18, 76, 1] Operation: 13/13=1 Exploring Operation: 76-13=63, Resulting Numbers: [18, 13, 63] Generated Node #0,2: 32:[18, 13, 63] Operation: 76-13=63 Exploring Operation: 76-13=63, Resulting Numbers: [18, 13, 63] Generated Node #0,3: 32:[18, 13, 63] Operation: 76-13=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[13, 13, 58], Operations: ['76-18=58'] Exploring Operation: 13/13=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 32:[58, 1] Operation: 13/13=1 Exploring Operation: 13-13=0, Resulting Numbers: [58, 0] Generated Node #0,0,1: 32:[58, 0] Operation: 13-13=0 Exploring Operation: 58-13=45, Resulting Numbers: [13, 45] Generated Node #0,0,2: 32:[13, 45] Operation: 58-13=45 Exploring Operation: 58-13=45, Resulting Numbers: [13, 45] Generated Node #0,0,3: 32:[13, 45] Operation: 58-13=45 Moving to Node #0,0,2 Current State: 32:[13, 45], Operations: ['76-18=58', '58-13=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[18, 13, 76, 13], Operations: [] Exploring Operation: 76-18=58, Resulting Numbers: [13, 13, 58] Generated Node #0,0: 32:[13, 13, 58] Operation: 76-18=58 Moving to Node #0,0 Current State: 32:[13, 13, 58], Operations: ['76-18=58'] Exploring Operation: 58-13=45, Resulting Numbers: [13, 45] Generated Node #0,0,2: 32:[13, 45] Operation: 58-13=45 Moving to Node #0,0,2 Current State: 32:[13, 45], Operations: ['76-18=58', '58-13=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 32, 19, 80, 7 ]
60
[ "32-19=13", "80-7=73", "73-13=60" ]
Current State: 60:[32, 19, 80, 7], Operations: [] Exploring Operation: 32-19=13, Resulting Numbers: [80, 7, 13] Generated Node #2: [80, 7, 13] from Operation: 32-19=13 Current State: 60:[80, 7, 13], Operations: ['32-19=13'] Exploring Operation: 80-7=73, Resulting Numbers: [13, 73] Generated Node #3: [13, 73] from Operation: 80-7=73 Current State: 60:[13, 73], Operations: ['32-19=13', '80-7=73'] Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[32, 19, 80, 7], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [19, 7, 48] Generated Node #0,0: 60:[19, 7, 48] Operation: 80-32=48 Exploring Operation: 80-19=61, Resulting Numbers: [32, 7, 61] Generated Node #0,1: 60:[32, 7, 61] Operation: 80-19=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[32, 7, 61], Operations: ['80-19=61'] Exploring Operation: 32-7=25, Resulting Numbers: [61, 25] Generated Node #0,1,0: 60:[61, 25] Operation: 32-7=25 Exploring Operation: 61-32=29, Resulting Numbers: [7, 29] Generated Node #0,1,1: 60:[7, 29] Operation: 61-32=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[7, 29], Operations: ['80-19=61', '61-32=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[61, 25], Operations: ['80-19=61', '32-7=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[19, 7, 48], Operations: ['80-32=48'] Exploring Operation: 48-19=29, Resulting Numbers: [7, 29] Generated Node #0,0,0: 60:[7, 29] Operation: 48-19=29 Exploring Operation: 7+48=55, Resulting Numbers: [19, 55] Generated Node #0,0,1: 60:[19, 55] Operation: 7+48=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[7, 29], Operations: ['80-32=48', '48-19=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[19, 55], Operations: ['80-32=48', '7+48=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 36, 35, 7 ]
72
[ "63+7=70", "36*70=2520", "2520/35=72" ]
Current State: 72:[63, 36, 35, 7], Operations: [] Exploring Operation: 63+7=70, Resulting Numbers: [36, 35, 70] Generated Node #2: [36, 35, 70] from Operation: 63+7=70 Current State: 72:[36, 35, 70], Operations: ['63+7=70'] Exploring Operation: 36*70=2520, Resulting Numbers: [35, 2520] Generated Node #3: [35, 2520] from Operation: 36*70=2520 Current State: 72:[35, 2520], Operations: ['63+7=70', '36*70=2520'] Exploring Operation: 2520/35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[63, 36, 35, 7], Operations: [] Exploring Operation: 63+7=70, Resulting Numbers: [36, 35, 70] Generated Node #0,0: 72:[36, 35, 70] Operation: 63+7=70 Exploring Operation: 63-36=27, Resulting Numbers: [35, 7, 27] Generated Node #0,1: 72:[35, 7, 27] Operation: 63-36=27 Exploring Operation: 63/7=9, Resulting Numbers: [36, 35, 9] Generated Node #0,2: 72:[36, 35, 9] Operation: 63/7=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[36, 35, 9], Operations: ['63/7=9'] Exploring Operation: 36-35=1, Resulting Numbers: [9, 1] Generated Node #0,2,0: 72:[9, 1] Operation: 36-35=1 Exploring Operation: 36/9=4, Resulting Numbers: [35, 4] Generated Node #0,2,1: 72:[35, 4] Operation: 36/9=4 Exploring Operation: 36+35=71, Resulting Numbers: [9, 71] Generated Node #0,2,2: 72:[9, 71] Operation: 36+35=71 Moving to Node #0,2,0 Current State: 72:[9, 1], Operations: ['63/7=9', '36-35=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[35, 4], Operations: ['63/7=9', '36/9=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[9, 71], Operations: ['63/7=9', '36+35=71'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,72 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[36, 35, 70], Operations: ['63+7=70'] Exploring Operation: 70/35=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 72:[36, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [36, 35] Generated Node #0,0,1: 72:[36, 35] Operation: 70-35=35 Exploring Operation: 36+35=71, Resulting Numbers: [70, 71] Generated Node #0,0,2: 72:[70, 71] Operation: 36+35=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[36, 2], Operations: ['63+7=70', '70/35=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[63, 36, 35, 7], Operations: [] Exploring Operation: 63+7=70, Resulting Numbers: [36, 35, 70] Generated Node #0,0: 72:[36, 35, 70] Operation: 63+7=70 Moving to Node #0,0 Current State: 72:[36, 35, 70], Operations: ['63+7=70'] Exploring Operation: 70/35=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 72:[36, 2] Operation: 70/35=2 Moving to Node #0,0,0 Current State: 72:[36, 2], Operations: ['63+7=70', '70/35=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 53, 24, 61, 3 ]
19
[ "53+24=77", "61-3=58", "77-58=19" ]
Current State: 19:[53, 24, 61, 3], Operations: [] Exploring Operation: 53+24=77, Resulting Numbers: [61, 3, 77] Generated Node #2: [61, 3, 77] from Operation: 53+24=77 Current State: 19:[61, 3, 77], Operations: ['53+24=77'] Exploring Operation: 61-3=58, Resulting Numbers: [77, 58] Generated Node #3: [77, 58] from Operation: 61-3=58 Current State: 19:[77, 58], Operations: ['53+24=77', '61-3=58'] Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[53, 24, 61, 3], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [24, 3, 8] Generated Node #0,0: 19:[24, 3, 8] Operation: 61-53=8 Moving to Node #0,0 Current State: 19:[24, 3, 8], Operations: ['61-53=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 19:[24, 24] Operation: 3*8=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[24, 24], Operations: ['61-53=8', '3*8=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,19 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
[ 60, 41, 90, 94 ]
97
[ "60+41=101", "94-90=4", "101-4=97" ]
Current State: 97:[60, 41, 90, 94], Operations: [] Exploring Operation: 60+41=101, Resulting Numbers: [90, 94, 101] Generated Node #2: [90, 94, 101] from Operation: 60+41=101 Current State: 97:[90, 94, 101], Operations: ['60+41=101'] Exploring Operation: 94-90=4, Resulting Numbers: [101, 4] Generated Node #3: [101, 4] from Operation: 94-90=4 Current State: 97:[101, 4], Operations: ['60+41=101', '94-90=4'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[60, 41, 90, 94], Operations: [] Exploring Operation: 41+90=131, Resulting Numbers: [60, 94, 131] Generated Node #0,0: 97:[60, 94, 131] Operation: 41+90=131 Exploring Operation: 60-41=19, Resulting Numbers: [90, 94, 19] Generated Node #0,1: 97:[90, 94, 19] Operation: 60-41=19 Exploring Operation: 60+41=101, Resulting Numbers: [90, 94, 101] Generated Node #0,2: 97:[90, 94, 101] Operation: 60+41=101 Exploring Operation: 41+94=135, Resulting Numbers: [60, 90, 135] Generated Node #0,3: 97:[60, 90, 135] Operation: 41+94=135 Moving to Node #0,2 Current State: 97:[90, 94, 101], Operations: ['60+41=101'] Exploring Operation: 90+94=184, Resulting Numbers: [101, 184] Generated Node #0,2,0: 97:[101, 184] Operation: 90+94=184 Exploring Operation: 94-90=4, Resulting Numbers: [101, 4] Generated Node #0,2,1: 97:[101, 4] Operation: 94-90=4 Exploring Operation: 101-90=11, Resulting Numbers: [94, 11] Generated Node #0,2,2: 97:[94, 11] Operation: 101-90=11 Exploring Operation: 90+101=191, Resulting Numbers: [94, 191] Generated Node #0,2,3: 97:[94, 191] Operation: 90+101=191 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[94, 11], Operations: ['60+41=101', '101-90=11'] Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,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:[101, 184], Operations: ['60+41=101', '90+94=184'] Exploring Operation: 101+184=285, Resulting Numbers: [285] 285,97 unequal: No Solution Exploring Operation: 101*184=18584, Resulting Numbers: [18584] 18584,97 unequal: No Solution Exploring Operation: 184-101=83, Resulting Numbers: [83] 83,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:[101, 4], Operations: ['60+41=101', '94-90=4'] Exploring Operation: 101*4=404, Resulting Numbers: [404] 404,97 unequal: No Solution Exploring Operation: 101+4=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[60, 41, 90, 94], Operations: [] Exploring Operation: 60+41=101, Resulting Numbers: [90, 94, 101] Generated Node #0,2: 97:[90, 94, 101] Operation: 60+41=101 Moving to Node #0,2 Current State: 97:[90, 94, 101], Operations: ['60+41=101'] Exploring Operation: 94-90=4, Resulting Numbers: [101, 4] Generated Node #0,2,1: 97:[101, 4] Operation: 94-90=4 Moving to Node #0,2,1 Current State: 97:[101, 4], Operations: ['60+41=101', '94-90=4'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 61, 3, 87, 99 ]
25
[ "99-87=12", "3*12=36", "61-36=25" ]
Current State: 25:[61, 3, 87, 99], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [61, 3, 12] Generated Node #2: [61, 3, 12] from Operation: 99-87=12 Current State: 25:[61, 3, 12], Operations: ['99-87=12'] Exploring Operation: 3*12=36, Resulting Numbers: [61, 36] Generated Node #3: [61, 36] from Operation: 3*12=36 Current State: 25:[61, 36], Operations: ['99-87=12', '3*12=36'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[61, 3, 87, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [3, 87, 38] Generated Node #0,0: 25:[3, 87, 38] Operation: 99-61=38 Exploring Operation: 99-87=12, Resulting Numbers: [61, 3, 12] Generated Node #0,1: 25:[61, 3, 12] Operation: 99-87=12 Exploring Operation: 87-61=26, Resulting Numbers: [3, 99, 26] Generated Node #0,2: 25:[3, 99, 26] Operation: 87-61=26 Moving to Node #0,1 Current State: 25:[61, 3, 12], Operations: ['99-87=12'] Exploring Operation: 61-12=49, Resulting Numbers: [3, 49] Generated Node #0,1,0: 25:[3, 49] Operation: 61-12=49 Exploring Operation: 12/3=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 25:[61, 4] Operation: 12/3=4 Exploring Operation: 61-3=58, Resulting Numbers: [12, 58] Generated Node #0,1,2: 25:[12, 58] Operation: 61-3=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[3, 49], Operations: ['99-87=12', '61-12=49'] Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,25 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[61, 4], Operations: ['99-87=12', '12/3=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,25 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,25 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[12, 58], Operations: ['99-87=12', '61-3=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,25 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,25 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: 25:[3, 87, 38], Operations: ['99-61=38'] Exploring Operation: 87-3=84, Resulting Numbers: [38, 84] Generated Node #0,0,0: 25:[38, 84] Operation: 87-3=84 Exploring Operation: 87-38=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 25:[3, 49] Operation: 87-38=49 Exploring Operation: 87/3=29, Resulting Numbers: [38, 29] Generated Node #0,0,2: 25:[38, 29] Operation: 87/3=29 Moving to Node #0,2 Current State: 25:[3, 99, 26], Operations: ['87-61=26'] Exploring Operation: 99-26=73, Resulting Numbers: [3, 73] Generated Node #0,2,0: 25:[3, 73] Operation: 99-26=73 Exploring Operation: 99-3=96, Resulting Numbers: [26, 96] Generated Node #0,2,1: 25:[26, 96] Operation: 99-3=96 Exploring Operation: 99/3=33, Resulting Numbers: [26, 33] Generated Node #0,2,2: 25:[26, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[26, 33], Operations: ['87-61=26', '99/3=33'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[3, 73], Operations: ['87-61=26', '99-26=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[26, 96], Operations: ['87-61=26', '99-3=96'] Exploring Operation: 26+96=122, Resulting Numbers: [122] 122,25 unequal: No Solution Exploring Operation: 26*96=2496, Resulting Numbers: [2496] 2496,25 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 25:[38, 29], Operations: ['99-61=38', '87/3=29'] Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,25 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[3, 49], Operations: ['99-61=38', '87-38=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[38, 84], Operations: ['99-61=38', '87-3=84'] Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,25 unequal: No Solution Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,25 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 27, 19, 48, 33 ]
66
[ "27+19=46", "48-46=2", "33*2=66" ]
Current State: 66:[27, 19, 48, 33], Operations: [] Exploring Operation: 27+19=46, Resulting Numbers: [48, 33, 46] Generated Node #2: [48, 33, 46] from Operation: 27+19=46 Current State: 66:[48, 33, 46], Operations: ['27+19=46'] Exploring Operation: 48-46=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 48-46=2 Current State: 66:[33, 2], Operations: ['27+19=46', '48-46=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[27, 19, 48, 33], Operations: [] Exploring Operation: 27+48=75, Resulting Numbers: [19, 33, 75] Generated Node #0,0: 66:[19, 33, 75] Operation: 27+48=75 Exploring Operation: 48-33=15, Resulting Numbers: [27, 19, 15] Generated Node #0,1: 66:[27, 19, 15] Operation: 48-33=15 Exploring Operation: 19+48=67, Resulting Numbers: [27, 33, 67] Generated Node #0,2: 66:[27, 33, 67] Operation: 19+48=67 Exploring Operation: 48-27=21, Resulting Numbers: [19, 33, 21] Generated Node #0,3: 66:[19, 33, 21] Operation: 48-27=21 Exploring Operation: 48-19=29, Resulting Numbers: [27, 33, 29] Generated Node #0,4: 66:[27, 33, 29] Operation: 48-19=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[19, 33, 21], Operations: ['48-27=21'] Exploring Operation: 33-21=12, Resulting Numbers: [19, 12] Generated Node #0,3,0: 66:[19, 12] Operation: 33-21=12 Exploring Operation: 19+21=40, Resulting Numbers: [33, 40] Generated Node #0,3,1: 66:[33, 40] Operation: 19+21=40 Exploring Operation: 33-19=14, Resulting Numbers: [21, 14] Generated Node #0,3,2: 66:[21, 14] Operation: 33-19=14 Exploring Operation: 21-19=2, Resulting Numbers: [33, 2] Generated Node #0,3,3: 66:[33, 2] Operation: 21-19=2 Exploring Operation: 19+33=52, Resulting Numbers: [21, 52] Generated Node #0,3,4: 66:[21, 52] Operation: 19+33=52 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 66:[33, 2], Operations: ['48-27=21', '21-19=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[27, 19, 48, 33], Operations: [] Exploring Operation: 48-27=21, Resulting Numbers: [19, 33, 21] Generated Node #0,3: 66:[19, 33, 21] Operation: 48-27=21 Moving to Node #0,3 Current State: 66:[19, 33, 21], Operations: ['48-27=21'] Exploring Operation: 21-19=2, Resulting Numbers: [33, 2] Generated Node #0,3,3: 66:[33, 2] Operation: 21-19=2 Moving to Node #0,3,3 Current State: 66:[33, 2], Operations: ['48-27=21', '21-19=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 58, 9, 85, 84 ]
67
[ "58+9=67", "85-84=1", "67*1=67" ]
Current State: 67:[58, 9, 85, 84], Operations: [] Exploring Operation: 58+9=67, Resulting Numbers: [85, 84, 67] Generated Node #2: [85, 84, 67] from Operation: 58+9=67 Current State: 67:[85, 84, 67], Operations: ['58+9=67'] Exploring Operation: 85-84=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 85-84=1 Current State: 67:[67, 1], Operations: ['58+9=67', '85-84=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[58, 9, 85, 84], Operations: [] Exploring Operation: 58+9=67, Resulting Numbers: [85, 84, 67] Generated Node #0,0: 67:[85, 84, 67] Operation: 58+9=67 Exploring Operation: 85-9=76, Resulting Numbers: [58, 84, 76] Generated Node #0,1: 67:[58, 84, 76] Operation: 85-9=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[85, 84, 67], Operations: ['58+9=67'] Exploring Operation: 85-67=18, Resulting Numbers: [84, 18] Generated Node #0,0,0: 67:[84, 18] Operation: 85-67=18 Exploring Operation: 85-84=1, Resulting Numbers: [67, 1] Generated Node #0,0,1: 67:[67, 1] Operation: 85-84=1 Moving to Node #0,0,0 Current State: 67:[84, 18], Operations: ['58+9=67', '85-67=18'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[67, 1], Operations: ['58+9=67', '85-84=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[58, 9, 85, 84], Operations: [] Exploring Operation: 58+9=67, Resulting Numbers: [85, 84, 67] Generated Node #0,0: 67:[85, 84, 67] Operation: 58+9=67 Moving to Node #0,0 Current State: 67:[85, 84, 67], Operations: ['58+9=67'] Exploring Operation: 85-84=1, Resulting Numbers: [67, 1] Generated Node #0,0,1: 67:[67, 1] Operation: 85-84=1 Moving to Node #0,0,1 Current State: 67:[67, 1], Operations: ['58+9=67', '85-84=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 99, 95, 55, 81 ]
22
[ "99-95=4", "81-55=26", "26-4=22" ]
Current State: 22:[99, 95, 55, 81], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [55, 81, 4] Generated Node #2: [55, 81, 4] from Operation: 99-95=4 Current State: 22:[55, 81, 4], Operations: ['99-95=4'] Exploring Operation: 81-55=26, Resulting Numbers: [4, 26] Generated Node #3: [4, 26] from Operation: 81-55=26 Current State: 22:[4, 26], Operations: ['99-95=4', '81-55=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[99, 95, 55, 81], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [99, 55, 14] Generated Node #0,0: 22:[99, 55, 14] Operation: 95-81=14 Exploring Operation: 99-95=4, Resulting Numbers: [55, 81, 4] Generated Node #0,1: 22:[55, 81, 4] Operation: 99-95=4 Exploring Operation: 99-55=44, Resulting Numbers: [95, 81, 44] Generated Node #0,2: 22:[95, 81, 44] Operation: 99-55=44 Exploring Operation: 95-55=40, Resulting Numbers: [99, 81, 40] Generated Node #0,3: 22:[99, 81, 40] Operation: 95-55=40 Exploring Operation: 99-81=18, Resulting Numbers: [95, 55, 18] Generated Node #0,4: 22:[95, 55, 18] Operation: 99-81=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[55, 81, 4], Operations: ['99-95=4'] Exploring Operation: 55-4=51, Resulting Numbers: [81, 51] Generated Node #0,1,0: 22:[81, 51] Operation: 55-4=51 Exploring Operation: 81-4=77, Resulting Numbers: [55, 77] Generated Node #0,1,1: 22:[55, 77] Operation: 81-4=77 Exploring Operation: 81-55=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 22:[4, 26] Operation: 81-55=26 Exploring Operation: 55+4=59, Resulting Numbers: [81, 59] Generated Node #0,1,3: 22:[81, 59] Operation: 55+4=59 Exploring Operation: 81+4=85, Resulting Numbers: [55, 85] Generated Node #0,1,4: 22:[55, 85] Operation: 81+4=85 Moving to Node #0,1,2 Current State: 22:[4, 26], Operations: ['99-95=4', '81-55=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[99, 95, 55, 81], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [55, 81, 4] Generated Node #0,1: 22:[55, 81, 4] Operation: 99-95=4 Moving to Node #0,1 Current State: 22:[55, 81, 4], Operations: ['99-95=4'] Exploring Operation: 81-55=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 22:[4, 26] Operation: 81-55=26 Moving to Node #0,1,2 Current State: 22:[4, 26], Operations: ['99-95=4', '81-55=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 28, 54, 14, 57 ]
42
[ "28-14=14", "57-54=3", "14*3=42" ]
Current State: 42:[28, 54, 14, 57], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [54, 57, 14] Generated Node #2: [54, 57, 14] from Operation: 28-14=14 Current State: 42:[54, 57, 14], Operations: ['28-14=14'] Exploring Operation: 57-54=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 57-54=3 Current State: 42:[14, 3], Operations: ['28-14=14', '57-54=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[28, 54, 14, 57], Operations: [] Exploring Operation: 54-28=26, Resulting Numbers: [14, 57, 26] Generated Node #0,0: 42:[14, 57, 26] Operation: 54-28=26 Exploring Operation: 57-54=3, Resulting Numbers: [28, 14, 3] Generated Node #0,1: 42:[28, 14, 3] Operation: 57-54=3 Exploring Operation: 57-28=29, Resulting Numbers: [54, 14, 29] Generated Node #0,2: 42:[54, 14, 29] Operation: 57-28=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[28, 14, 3], Operations: ['57-54=3'] Exploring Operation: 28+14=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 42:[3, 42] Operation: 28+14=42 Exploring Operation: 28-14=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 42:[3, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 42:[3, 2] Operation: 28/14=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[3, 42], Operations: ['57-54=3', '28+14=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[3, 14], Operations: ['57-54=3', '28-14=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[28, 54, 14, 57], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [28, 14, 3] Generated Node #0,1: 42:[28, 14, 3] Operation: 57-54=3 Moving to Node #0,1 Current State: 42:[28, 14, 3], Operations: ['57-54=3'] Exploring Operation: 28-14=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 42:[3, 14] Operation: 28-14=14 Moving to Node #0,1,1 Current State: 42:[3, 14], Operations: ['57-54=3', '28-14=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 83, 65, 98, 58 ]
58
[ "83-65=18", "98-58=40", "18+40=58" ]
Current State: 58:[83, 65, 98, 58], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [98, 58, 18] Generated Node #2: [98, 58, 18] from Operation: 83-65=18 Current State: 58:[98, 58, 18], Operations: ['83-65=18'] Exploring Operation: 98-58=40, Resulting Numbers: [18, 40] Generated Node #3: [18, 40] from Operation: 98-58=40 Current State: 58:[18, 40], Operations: ['83-65=18', '98-58=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[83, 65, 98, 58], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [83, 65, 40] Generated Node #0,0: 58:[83, 65, 40] Operation: 98-58=40 Exploring Operation: 98-83=15, Resulting Numbers: [65, 58, 15] Generated Node #0,1: 58:[65, 58, 15] Operation: 98-83=15 Exploring Operation: 98-65=33, Resulting Numbers: [83, 58, 33] Generated Node #0,2: 58:[83, 58, 33] Operation: 98-65=33 Exploring Operation: 83-65=18, Resulting Numbers: [98, 58, 18] Generated Node #0,3: 58:[98, 58, 18] Operation: 83-65=18 Moving to Node #0,1 Current State: 58:[65, 58, 15], Operations: ['98-83=15'] Exploring Operation: 65+15=80, Resulting Numbers: [58, 80] Generated Node #0,1,0: 58:[58, 80] Operation: 65+15=80 Exploring Operation: 65-58=7, Resulting Numbers: [15, 7] Generated Node #0,1,1: 58:[15, 7] Operation: 65-58=7 Exploring Operation: 58-15=43, Resulting Numbers: [65, 43] Generated Node #0,1,2: 58:[65, 43] Operation: 58-15=43 Exploring Operation: 65-15=50, Resulting Numbers: [58, 50] Generated Node #0,1,3: 58:[58, 50] Operation: 65-15=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[58, 50], Operations: ['98-83=15', '65-15=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,58 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,58 unequal: No Solution No 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: 58:[15, 7], Operations: ['98-83=15', '65-58=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,58 unequal: No Solution No 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: 58:[65, 43], Operations: ['98-83=15', '58-15=43'] Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 65*43=2795, Resulting Numbers: [2795] 2795,58 unequal: No Solution No 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: 58:[58, 80], Operations: ['98-83=15', '65+15=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,58 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: 58:[83, 58, 33], Operations: ['98-65=33'] Exploring Operation: 83-33=50, Resulting Numbers: [58, 50] Generated Node #0,2,0: 58:[58, 50] Operation: 83-33=50 Exploring Operation: 83-58=25, Resulting Numbers: [33, 25] Generated Node #0,2,1: 58:[33, 25] Operation: 83-58=25 Exploring Operation: 58-33=25, Resulting Numbers: [83, 25] Generated Node #0,2,2: 58:[83, 25] Operation: 58-33=25 Exploring Operation: 83+33=116, Resulting Numbers: [58, 116] Generated Node #0,2,3: 58:[58, 116] Operation: 83+33=116 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[58, 50], Operations: ['98-65=33', '83-33=50'] Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,58 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,58 unequal: No Solution No 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: 58:[33, 25], Operations: ['98-65=33', '83-58=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[83, 65, 98, 58], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [83, 58, 33] Generated Node #0,2: 58:[83, 58, 33] Operation: 98-65=33 Moving to Node #0,2 Current State: 58:[83, 58, 33], Operations: ['98-65=33'] Exploring Operation: 83-58=25, Resulting Numbers: [33, 25] Generated Node #0,2,1: 58:[33, 25] Operation: 83-58=25 Moving to Node #0,2,1 Current State: 58:[33, 25], Operations: ['98-65=33', '83-58=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 16, 8, 40, 29 ]
24
[ "16-8=8", "40/8=5", "29-5=24" ]
Current State: 24:[16, 8, 40, 29], Operations: [] Exploring Operation: 16-8=8, Resulting Numbers: [40, 29, 8] Generated Node #2: [40, 29, 8] from Operation: 16-8=8 Current State: 24:[40, 29, 8], Operations: ['16-8=8'] Exploring Operation: 40/8=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 40/8=5 Current State: 24:[29, 5], Operations: ['16-8=8', '40/8=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[16, 8, 40, 29], Operations: [] Exploring Operation: 40-29=11, Resulting Numbers: [16, 8, 11] Generated Node #0,0: 24:[16, 8, 11] Operation: 40-29=11 Exploring Operation: 40-16=24, Resulting Numbers: [8, 29, 24] Generated Node #0,1: 24:[8, 29, 24] Operation: 40-16=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[16, 8, 11], Operations: ['40-29=11'] Exploring Operation: 16-8=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 24:[11, 8] Operation: 16-8=8 Exploring Operation: 16+8=24, Resulting Numbers: [11, 24] Generated Node #0,0,1: 24:[11, 24] Operation: 16+8=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[11, 8], Operations: ['40-29=11', '16-8=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,24 unequal: No Solution No 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: 24:[11, 24], Operations: ['40-29=11', '16+8=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,24 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: 24:[8, 29, 24], Operations: ['40-16=24'] Exploring Operation: 29-24=5, Resulting Numbers: [8, 5] Generated Node #0,1,0: 24:[8, 5] Operation: 29-24=5 Exploring Operation: 29-8=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 24:[24, 21] Operation: 29-8=21 Moving to Node #0,1,0 Current State: 24:[8, 5], Operations: ['40-16=24', '29-24=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[24, 21], Operations: ['40-16=24', '29-8=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 52, 27, 80 ]
33
[ "80/10=8", "52-27=25", "8+25=33" ]
Current State: 33:[10, 52, 27, 80], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [52, 27, 8] Generated Node #2: [52, 27, 8] from Operation: 80/10=8 Current State: 33:[52, 27, 8], Operations: ['80/10=8'] Exploring Operation: 52-27=25, Resulting Numbers: [8, 25] Generated Node #3: [8, 25] from Operation: 52-27=25 Current State: 33:[8, 25], Operations: ['80/10=8', '52-27=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 52, 27, 80], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [10, 80, 25] Generated Node #0,0: 33:[10, 80, 25] Operation: 52-27=25 Exploring Operation: 80/10=8, Resulting Numbers: [52, 27, 8] Generated Node #0,1: 33:[52, 27, 8] Operation: 80/10=8 Exploring Operation: 52-10=42, Resulting Numbers: [27, 80, 42] Generated Node #0,2: 33:[27, 80, 42] Operation: 52-10=42 Exploring Operation: 80-52=28, Resulting Numbers: [10, 27, 28] Generated Node #0,3: 33:[10, 27, 28] Operation: 80-52=28 Exploring Operation: 80-27=53, Resulting Numbers: [10, 52, 53] Generated Node #0,4: 33:[10, 52, 53] Operation: 80-27=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[10, 27, 28], Operations: ['80-52=28'] Exploring Operation: 28-10=18, Resulting Numbers: [27, 18] Generated Node #0,3,0: 33:[27, 18] Operation: 28-10=18 Exploring Operation: 28-27=1, Resulting Numbers: [10, 1] Generated Node #0,3,1: 33:[10, 1] Operation: 28-27=1 Exploring Operation: 10+28=38, Resulting Numbers: [27, 38] Generated Node #0,3,2: 33:[27, 38] Operation: 10+28=38 Exploring Operation: 27-10=17, Resulting Numbers: [28, 17] Generated Node #0,3,3: 33:[28, 17] Operation: 27-10=17 Exploring Operation: 10+27=37, Resulting Numbers: [28, 37] Generated Node #0,3,4: 33:[28, 37] Operation: 10+27=37 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[10, 1], Operations: ['80-52=28', '28-27=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,33 unequal: No Solution No 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: 33:[28, 37], Operations: ['80-52=28', '10+27=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,33 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[27, 38], Operations: ['80-52=28', '10+28=38'] Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,33 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,33 unequal: No Solution No 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: 33:[28, 17], Operations: ['80-52=28', '27-10=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,33 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,33 unequal: No Solution No 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: 33:[27, 18], Operations: ['80-52=28', '28-10=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,33 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,33 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: 33:[52, 27, 8], Operations: ['80/10=8'] Exploring Operation: 52+8=60, Resulting Numbers: [27, 60] Generated Node #0,1,0: 33:[27, 60] Operation: 52+8=60 Exploring Operation: 27-8=19, Resulting Numbers: [52, 19] Generated Node #0,1,1: 33:[52, 19] Operation: 27-8=19 Exploring Operation: 52-8=44, Resulting Numbers: [27, 44] Generated Node #0,1,2: 33:[27, 44] Operation: 52-8=44 Exploring Operation: 52-27=25, Resulting Numbers: [8, 25] Generated Node #0,1,3: 33:[8, 25] Operation: 52-27=25 Exploring Operation: 27+8=35, Resulting Numbers: [52, 35] Generated Node #0,1,4: 33:[52, 35] Operation: 27+8=35 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[8, 25], Operations: ['80/10=8', '52-27=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[10, 52, 27, 80], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [52, 27, 8] Generated Node #0,1: 33:[52, 27, 8] Operation: 80/10=8 Moving to Node #0,1 Current State: 33:[52, 27, 8], Operations: ['80/10=8'] Exploring Operation: 52-27=25, Resulting Numbers: [8, 25] Generated Node #0,1,3: 33:[8, 25] Operation: 52-27=25 Moving to Node #0,1,3 Current State: 33:[8, 25], Operations: ['80/10=8', '52-27=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 21, 51, 74, 2 ]
25
[ "74-51=23", "2*23=46", "46-21=25" ]
Current State: 25:[21, 51, 74, 2], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [21, 2, 23] Generated Node #2: [21, 2, 23] from Operation: 74-51=23 Current State: 25:[21, 2, 23], Operations: ['74-51=23'] Exploring Operation: 2*23=46, Resulting Numbers: [21, 46] Generated Node #3: [21, 46] from Operation: 2*23=46 Current State: 25:[21, 46], Operations: ['74-51=23', '2*23=46'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[21, 51, 74, 2], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [74, 2, 30] Generated Node #0,0: 25:[74, 2, 30] Operation: 51-21=30 Exploring Operation: 74/2=37, Resulting Numbers: [21, 51, 37] Generated Node #0,1: 25:[21, 51, 37] Operation: 74/2=37 Exploring Operation: 21+2=23, Resulting Numbers: [51, 74, 23] Generated Node #0,2: 25:[51, 74, 23] Operation: 21+2=23 Exploring Operation: 74-21=53, Resulting Numbers: [51, 2, 53] Generated Node #0,3: 25:[51, 2, 53] Operation: 74-21=53 Exploring Operation: 74-51=23, Resulting Numbers: [21, 2, 23] Generated Node #0,4: 25:[21, 2, 23] Operation: 74-51=23 Moving to Node #0,4 Current State: 25:[21, 2, 23], Operations: ['74-51=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21, 21] Generated Node #0,4,0: 25:[21, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [21, 25] Generated Node #0,4,1: 25:[21, 25] Operation: 2+23=25 Exploring Operation: 21+2=23, Resulting Numbers: [23, 23] Generated Node #0,4,2: 25:[23, 23] Operation: 21+2=23 Exploring Operation: 23-21=2, Resulting Numbers: [2, 2] Generated Node #0,4,3: 25:[2, 2] Operation: 23-21=2 Exploring Operation: 21-2=19, Resulting Numbers: [23, 19] Generated Node #0,4,4: 25:[23, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[21, 25], Operations: ['74-51=23', '2+23=25'] Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,25 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[23, 23], Operations: ['74-51=23', '21+2=23'] Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,25 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[2, 2], Operations: ['74-51=23', '23-21=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[21, 21], Operations: ['74-51=23', '23-2=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,25 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[23, 19], Operations: ['74-51=23', '21-2=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,25 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: 25:[21, 51, 37], Operations: ['74/2=37'] Exploring Operation: 51-21=30, Resulting Numbers: [37, 30] Generated Node #0,1,0: 25:[37, 30] Operation: 51-21=30 Exploring Operation: 21+51=72, Resulting Numbers: [37, 72] Generated Node #0,1,1: 25:[37, 72] Operation: 21+51=72 Exploring Operation: 37-21=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 25:[51, 16] Operation: 37-21=16 Exploring Operation: 21+37=58, Resulting Numbers: [51, 58] Generated Node #0,1,3: 25:[51, 58] Operation: 21+37=58 Exploring Operation: 51-37=14, Resulting Numbers: [21, 14] Generated Node #0,1,4: 25:[21, 14] Operation: 51-37=14 Moving to Node #0,0 Current State: 25:[74, 2, 30], Operations: ['51-21=30'] Exploring Operation: 30-2=28, Resulting Numbers: [74, 28] Generated Node #0,0,0: 25:[74, 28] Operation: 30-2=28 Exploring Operation: 74-30=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 25:[2, 44] Operation: 74-30=44 Exploring Operation: 74+2=76, Resulting Numbers: [30, 76] Generated Node #0,0,2: 25:[30, 76] Operation: 74+2=76 Exploring Operation: 74-2=72, Resulting Numbers: [30, 72] Generated Node #0,0,3: 25:[30, 72] Operation: 74-2=72 Exploring Operation: 74/2=37, Resulting Numbers: [30, 37] Generated Node #0,0,4: 25:[30, 37] Operation: 74/2=37 Moving to Node #0,3 Current State: 25:[51, 2, 53], Operations: ['74-21=53'] Exploring Operation: 51+2=53, Resulting Numbers: [53, 53] Generated Node #0,3,0: 25:[53, 53] Operation: 51+2=53 Exploring Operation: 2+53=55, Resulting Numbers: [51, 55] Generated Node #0,3,1: 25:[51, 55] Operation: 2+53=55 Exploring Operation: 53-51=2, Resulting Numbers: [2, 2] Generated Node #0,3,2: 25:[2, 2] Operation: 53-51=2 Exploring Operation: 51-2=49, Resulting Numbers: [53, 49] Generated Node #0,3,3: 25:[53, 49] Operation: 51-2=49 Exploring Operation: 53-2=51, Resulting Numbers: [51, 51] Generated Node #0,3,4: 25:[51, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[2, 2], Operations: ['74-21=53', '53-51=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[53, 49], Operations: ['74-21=53', '51-2=49'] Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,25 unequal: No Solution Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[51, 51], Operations: ['74-21=53', '53-2=51'] Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,25 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[53, 53], Operations: ['74-21=53', '51+2=53'] Exploring Operation: 53*53=2809, Resulting Numbers: [2809] 2809,25 unequal: No Solution Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[51, 55], Operations: ['74-21=53', '2+53=55'] Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,25 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,25 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: 25:[51, 74, 23], Operations: ['21+2=23'] Exploring Operation: 74+23=97, Resulting Numbers: [51, 97] Generated Node #0,2,0: 25:[51, 97] Operation: 74+23=97 Exploring Operation: 51-23=28, Resulting Numbers: [74, 28] Generated Node #0,2,1: 25:[74, 28] Operation: 51-23=28 Exploring Operation: 74-23=51, Resulting Numbers: [51, 51] Generated Node #0,2,2: 25:[51, 51] Operation: 74-23=51 Exploring Operation: 74-51=23, Resulting Numbers: [23, 23] Generated Node #0,2,3: 25:[23, 23] Operation: 74-51=23 Exploring Operation: 51+23=74, Resulting Numbers: [74, 74] Generated Node #0,2,4: 25:[74, 74] Operation: 51+23=74 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[23, 23], Operations: ['21+2=23', '74-51=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[74, 28], Operations: ['21+2=23', '51-23=28'] Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[51, 51], Operations: ['21+2=23', '74-23=51'] Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,25 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[51, 97], Operations: ['21+2=23', '74+23=97'] Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,25 unequal: No Solution Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 25:[74, 74], Operations: ['21+2=23', '51+23=74'] Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,25 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,25 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 25:[21, 14], Operations: ['74/2=37', '51-37=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,25 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[30, 37], Operations: ['51-21=30', '74/2=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[37, 30], Operations: ['74/2=37', '51-21=30'] Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,25 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[2, 44], Operations: ['51-21=30', '74-30=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[51, 16], Operations: ['74/2=37', '37-21=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,25 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[74, 28], Operations: ['51-21=30', '30-2=28'] Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,25 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[30, 72], Operations: ['51-21=30', '74-2=72'] Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[30, 76], Operations: ['51-21=30', '74+2=76'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,25 unequal: No Solution Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[51, 58], Operations: ['74/2=37', '21+37=58'] Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[37, 72], Operations: ['74/2=37', '21+51=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,25 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 16, 94, 40, 14 ]
84
[ "16+94=110", "40-14=26", "110-26=84" ]
Current State: 84:[16, 94, 40, 14], Operations: [] Exploring Operation: 16+94=110, Resulting Numbers: [40, 14, 110] Generated Node #2: [40, 14, 110] from Operation: 16+94=110 Current State: 84:[40, 14, 110], Operations: ['16+94=110'] Exploring Operation: 40-14=26, Resulting Numbers: [110, 26] Generated Node #3: [110, 26] from Operation: 40-14=26 Current State: 84:[110, 26], Operations: ['16+94=110', '40-14=26'] Exploring Operation: 110-26=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[16, 94, 40, 14], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [40, 14, 78] Generated Node #0,0: 84:[40, 14, 78] Operation: 94-16=78 Exploring Operation: 94-14=80, Resulting Numbers: [16, 40, 80] Generated Node #0,1: 84:[16, 40, 80] Operation: 94-14=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[40, 14, 78], Operations: ['94-16=78'] Exploring Operation: 40-14=26, Resulting Numbers: [78, 26] Generated Node #0,0,0: 84:[78, 26] Operation: 40-14=26 Exploring Operation: 78-40=38, Resulting Numbers: [14, 38] Generated Node #0,0,1: 84:[14, 38] Operation: 78-40=38 Moving to Node #0,0,1 Current State: 84:[14, 38], Operations: ['94-16=78', '78-40=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[78, 26], Operations: ['94-16=78', '40-14=26'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[16, 40, 80], Operations: ['94-14=80'] Exploring Operation: 80/40=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 84:[16, 2] Operation: 80/40=2 Exploring Operation: 80/16=5, Resulting Numbers: [40, 5] Generated Node #0,1,1: 84:[40, 5] Operation: 80/16=5 Moving to Node #0,1,0 Current State: 84:[16, 2], Operations: ['94-14=80', '80/40=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[40, 5], Operations: ['94-14=80', '80/16=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,84 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
[ 50, 45, 29, 60 ]
84
[ "50-45=5", "29+60=89", "89-5=84" ]
Current State: 84:[50, 45, 29, 60], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [29, 60, 5] Generated Node #2: [29, 60, 5] from Operation: 50-45=5 Current State: 84:[29, 60, 5], Operations: ['50-45=5'] Exploring Operation: 29+60=89, Resulting Numbers: [5, 89] Generated Node #3: [5, 89] from Operation: 29+60=89 Current State: 84:[5, 89], Operations: ['50-45=5', '29+60=89'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[50, 45, 29, 60], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [45, 29, 10] Generated Node #0,0: 84:[45, 29, 10] Operation: 60-50=10 Exploring Operation: 60-29=31, Resulting Numbers: [50, 45, 31] Generated Node #0,1: 84:[50, 45, 31] Operation: 60-29=31 Exploring Operation: 29+60=89, Resulting Numbers: [50, 45, 89] Generated Node #0,2: 84:[50, 45, 89] Operation: 29+60=89 Exploring Operation: 60-45=15, Resulting Numbers: [50, 29, 15] Generated Node #0,3: 84:[50, 29, 15] Operation: 60-45=15 Exploring Operation: 50-45=5, Resulting Numbers: [29, 60, 5] Generated Node #0,4: 84:[29, 60, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[45, 29, 10], Operations: ['60-50=10'] Exploring Operation: 45-10=35, Resulting Numbers: [29, 35] Generated Node #0,0,0: 84:[29, 35] Operation: 45-10=35 Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,0,1: 84:[45, 39] Operation: 29+10=39 Exploring Operation: 29-10=19, Resulting Numbers: [45, 19] Generated Node #0,0,2: 84:[45, 19] Operation: 29-10=19 Exploring Operation: 45-29=16, Resulting Numbers: [10, 16] Generated Node #0,0,3: 84:[10, 16] Operation: 45-29=16 Exploring Operation: 45+29=74, Resulting Numbers: [10, 74] Generated Node #0,0,4: 84:[10, 74] Operation: 45+29=74 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[10, 16], Operations: ['60-50=10', '45-29=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,84 unequal: No Solution No 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: 84:[45, 19], Operations: ['60-50=10', '29-10=19'] Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,84 unequal: No Solution No 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: 84:[45, 39], Operations: ['60-50=10', '29+10=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,84 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[50, 45, 29, 60], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [45, 29, 10] Generated Node #0,0: 84:[45, 29, 10] Operation: 60-50=10 Moving to Node #0,0 Current State: 84:[45, 29, 10], Operations: ['60-50=10'] Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,0,1: 84:[45, 39] Operation: 29+10=39 Moving to Node #0,0,1 Current State: 84:[45, 39], Operations: ['60-50=10', '29+10=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 50, 19, 10, 38 ]
79
[ "50-19=31", "10+38=48", "31+48=79" ]
Current State: 79:[50, 19, 10, 38], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [10, 38, 31] Generated Node #2: [10, 38, 31] from Operation: 50-19=31 Current State: 79:[10, 38, 31], Operations: ['50-19=31'] Exploring Operation: 10+38=48, Resulting Numbers: [31, 48] Generated Node #3: [31, 48] from Operation: 10+38=48 Current State: 79:[31, 48], Operations: ['50-19=31', '10+38=48'] Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[50, 19, 10, 38], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [50, 38, 29] Generated Node #0,0: 79:[50, 38, 29] Operation: 19+10=29 Exploring Operation: 50+19=69, Resulting Numbers: [10, 38, 69] Generated Node #0,1: 79:[10, 38, 69] Operation: 50+19=69 Exploring Operation: 19+38=57, Resulting Numbers: [50, 10, 57] Generated Node #0,2: 79:[50, 10, 57] Operation: 19+38=57 Exploring Operation: 50+10=60, Resulting Numbers: [19, 38, 60] Generated Node #0,3: 79:[19, 38, 60] Operation: 50+10=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[50, 38, 29], Operations: ['19+10=29'] Exploring Operation: 38+29=67, Resulting Numbers: [50, 67] Generated Node #0,0,0: 79:[50, 67] Operation: 38+29=67 Exploring Operation: 50+29=79, Resulting Numbers: [38, 79] Generated Node #0,0,1: 79:[38, 79] Operation: 50+29=79 Exploring Operation: 50+38=88, Resulting Numbers: [29, 88] Generated Node #0,0,2: 79:[29, 88] Operation: 50+38=88 Exploring Operation: 50-29=21, Resulting Numbers: [38, 21] Generated Node #0,0,3: 79:[38, 21] Operation: 50-29=21 Moving to Node #0,0,0 Current State: 79:[50, 67], Operations: ['19+10=29', '38+29=67'] Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,79 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[38, 79], Operations: ['19+10=29', '50+29=79'] Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,79 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[29, 88], Operations: ['19+10=29', '50+38=88'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 29*88=2552, Resulting Numbers: [2552] 2552,79 unequal: No Solution Exploring Operation: 29+88=117, Resulting Numbers: [117] 117,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[38, 21], Operations: ['19+10=29', '50-29=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,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,1 Current State: 79:[10, 38, 69], Operations: ['50+19=69'] Exploring Operation: 69-10=59, Resulting Numbers: [38, 59] Generated Node #0,1,0: 79:[38, 59] Operation: 69-10=59 Exploring Operation: 38-10=28, Resulting Numbers: [69, 28] Generated Node #0,1,1: 79:[69, 28] Operation: 38-10=28 Exploring Operation: 10+38=48, Resulting Numbers: [69, 48] Generated Node #0,1,2: 79:[69, 48] Operation: 10+38=48 Exploring Operation: 10+69=79, Resulting Numbers: [38, 79] Generated Node #0,1,3: 79:[38, 79] Operation: 10+69=79 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[69, 48], Operations: ['50+19=69', '10+38=48'] Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,79 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,79 unequal: No Solution No 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: 79:[38, 79], Operations: ['50+19=69', '10+69=79'] Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,79 unequal: No Solution No 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: 79:[38, 59], Operations: ['50+19=69', '69-10=59'] Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,79 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,79 unequal: No Solution No 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: 79:[69, 28], Operations: ['50+19=69', '38-10=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,79 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: 79:[50, 10, 57], Operations: ['19+38=57'] Exploring Operation: 50+10=60, Resulting Numbers: [57, 60] Generated Node #0,2,0: 79:[57, 60] Operation: 50+10=60 Exploring Operation: 50-10=40, Resulting Numbers: [57, 40] Generated Node #0,2,1: 79:[57, 40] Operation: 50-10=40 Exploring Operation: 57-10=47, Resulting Numbers: [50, 47] Generated Node #0,2,2: 79:[50, 47] Operation: 57-10=47 Exploring Operation: 10+57=67, Resulting Numbers: [50, 67] Generated Node #0,2,3: 79:[50, 67] Operation: 10+57=67 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[57, 60], Operations: ['19+38=57', '50+10=60'] Exploring Operation: 57*60=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,79 unequal: No Solution No 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: 79:[50, 67], Operations: ['19+38=57', '10+57=67'] Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,79 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,79 unequal: No Solution No 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: 79:[57, 40], Operations: ['19+38=57', '50-10=40'] Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,79 unequal: No Solution No 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: 79:[50, 47], Operations: ['19+38=57', '57-10=47'] Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,79 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,79 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: 79:[19, 38, 60], Operations: ['50+10=60'] Exploring Operation: 19+60=79, Resulting Numbers: [38, 79] Generated Node #0,3,0: 79:[38, 79] Operation: 19+60=79 Exploring Operation: 60-19=41, Resulting Numbers: [38, 41] Generated Node #0,3,1: 79:[38, 41] Operation: 60-19=41 Exploring Operation: 38-19=19, Resulting Numbers: [60, 19] Generated Node #0,3,2: 79:[60, 19] Operation: 38-19=19 Exploring Operation: 19+38=57, Resulting Numbers: [60, 57] Generated Node #0,3,3: 79:[60, 57] Operation: 19+38=57 Moving to Node #0,3,0 Current State: 79:[38, 79], Operations: ['50+10=60', '19+60=79'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[60, 57], Operations: ['50+10=60', '19+38=57'] Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[60, 19], Operations: ['50+10=60', '38-19=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[50, 19, 10, 38], Operations: [] Exploring Operation: 50+10=60, Resulting Numbers: [19, 38, 60] Generated Node #0,3: 79:[19, 38, 60] Operation: 50+10=60 Moving to Node #0,3 Current State: 79:[19, 38, 60], Operations: ['50+10=60'] Exploring Operation: 38-19=19, Resulting Numbers: [60, 19] Generated Node #0,3,2: 79:[60, 19] Operation: 38-19=19 Moving to Node #0,3,2 Current State: 79:[60, 19], Operations: ['50+10=60', '38-19=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_4
mult_heuristic
[ 55, 22, 15, 17 ]
79
[ "55+22=77", "17-15=2", "77+2=79" ]
Current State: 79:[55, 22, 15, 17], Operations: [] Exploring Operation: 55+22=77, Resulting Numbers: [15, 17, 77] Generated Node #2: [15, 17, 77] from Operation: 55+22=77 Current State: 79:[15, 17, 77], Operations: ['55+22=77'] Exploring Operation: 17-15=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 17-15=2 Current State: 79:[77, 2], Operations: ['55+22=77', '17-15=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[55, 22, 15, 17], Operations: [] Exploring Operation: 55+17=72, Resulting Numbers: [22, 15, 72] Generated Node #0,0: 79:[22, 15, 72] Operation: 55+17=72 Exploring Operation: 55+15=70, Resulting Numbers: [22, 17, 70] Generated Node #0,1: 79:[22, 17, 70] Operation: 55+15=70 Exploring Operation: 55+22=77, Resulting Numbers: [15, 17, 77] Generated Node #0,2: 79:[15, 17, 77] Operation: 55+22=77 Moving to Node #0,0 Current State: 79:[22, 15, 72], Operations: ['55+17=72'] Exploring Operation: 22-15=7, Resulting Numbers: [72, 7] Generated Node #0,0,0: 79:[72, 7] Operation: 22-15=7 Exploring Operation: 15+72=87, Resulting Numbers: [22, 87] Generated Node #0,0,1: 79:[22, 87] Operation: 15+72=87 Exploring Operation: 22+15=37, Resulting Numbers: [72, 37] Generated Node #0,0,2: 79:[72, 37] Operation: 22+15=37 Moving to Node #0,1 Current State: 79:[22, 17, 70], Operations: ['55+15=70'] Exploring Operation: 17+70=87, Resulting Numbers: [22, 87] Generated Node #0,1,0: 79:[22, 87] Operation: 17+70=87 Exploring Operation: 22+70=92, Resulting Numbers: [17, 92] Generated Node #0,1,1: 79:[17, 92] Operation: 22+70=92 Exploring Operation: 22+17=39, Resulting Numbers: [70, 39] Generated Node #0,1,2: 79:[70, 39] Operation: 22+17=39 Moving to Node #0,2 Current State: 79:[15, 17, 77], Operations: ['55+22=77'] Exploring Operation: 15+17=32, Resulting Numbers: [77, 32] Generated Node #0,2,0: 79:[77, 32] Operation: 15+17=32 Exploring Operation: 17-15=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 79:[77, 2] Operation: 17-15=2 Exploring Operation: 15+77=92, Resulting Numbers: [17, 92] Generated Node #0,2,2: 79:[17, 92] Operation: 15+77=92 Moving to Node #0,0,2 Current State: 79:[72, 37], Operations: ['55+17=72', '22+15=37'] Exploring Operation: 72+37=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 72*37=2664, Resulting Numbers: [2664] 2664,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[77, 32], Operations: ['55+22=77', '15+17=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,79 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[70, 39], Operations: ['55+15=70', '22+17=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[22, 87], Operations: ['55+15=70', '17+70=87'] Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,79 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[22, 87], Operations: ['55+17=72', '15+72=87'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,79 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[17, 92], Operations: ['55+15=70', '22+70=92'] Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[17, 92], Operations: ['55+22=77', '15+77=92'] Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,79 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[77, 2], Operations: ['55+22=77', '17-15=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[55, 22, 15, 17], Operations: [] Exploring Operation: 55+22=77, Resulting Numbers: [15, 17, 77] Generated Node #0,2: 79:[15, 17, 77] Operation: 55+22=77 Moving to Node #0,2 Current State: 79:[15, 17, 77], Operations: ['55+22=77'] Exploring Operation: 17-15=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 79:[77, 2] Operation: 17-15=2 Moving to Node #0,2,1 Current State: 79:[77, 2], Operations: ['55+22=77', '17-15=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 24, 80, 40, 60 ]
20
[ "24+40=64", "64-60=4", "80/4=20" ]
Current State: 20:[24, 80, 40, 60], Operations: [] Exploring Operation: 24+40=64, Resulting Numbers: [80, 60, 64] Generated Node #2: [80, 60, 64] from Operation: 24+40=64 Current State: 20:[80, 60, 64], Operations: ['24+40=64'] Exploring Operation: 64-60=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 64-60=4 Current State: 20:[80, 4], Operations: ['24+40=64', '64-60=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[24, 80, 40, 60], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [24, 40, 20] Generated Node #0,0: 20:[24, 40, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[24, 40, 20], Operations: ['80-60=20'] Exploring Operation: 40-24=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 20:[20, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 20:[20, 16], Operations: ['80-60=20', '40-24=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,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
[ 88, 67, 32, 56 ]
67
[ "88+67=155", "32+56=88", "155-88=67" ]
Current State: 67:[88, 67, 32, 56], Operations: [] Exploring Operation: 88+67=155, Resulting Numbers: [32, 56, 155] Generated Node #2: [32, 56, 155] from Operation: 88+67=155 Current State: 67:[32, 56, 155], Operations: ['88+67=155'] Exploring Operation: 32+56=88, Resulting Numbers: [155, 88] Generated Node #3: [155, 88] from Operation: 32+56=88 Current State: 67:[155, 88], Operations: ['88+67=155', '32+56=88'] Exploring Operation: 155-88=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[88, 67, 32, 56], Operations: [] Exploring Operation: 88+32=120, Resulting Numbers: [67, 56, 120] Generated Node #0,0: 67:[67, 56, 120] Operation: 88+32=120 Exploring Operation: 32+56=88, Resulting Numbers: [88, 67, 88] Generated Node #0,1: 67:[88, 67, 88] Operation: 32+56=88 Exploring Operation: 88-32=56, Resulting Numbers: [67, 56, 56] Generated Node #0,2: 67:[67, 56, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[67, 56, 56], Operations: ['88-32=56'] Exploring Operation: 56+56=112, Resulting Numbers: [67, 112] Generated Node #0,2,0: 67:[67, 112] Operation: 56+56=112 Exploring Operation: 67+56=123, Resulting Numbers: [56, 123] Generated Node #0,2,1: 67:[56, 123] Operation: 67+56=123 Exploring Operation: 56/56=1, Resulting Numbers: [67, 1] Generated Node #0,2,2: 67:[67, 1] Operation: 56/56=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[67, 112], Operations: ['88-32=56', '56+56=112'] Exploring Operation: 112-67=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 67+112=179, Resulting Numbers: [179] 179,67 unequal: No Solution Exploring Operation: 67*112=7504, Resulting Numbers: [7504] 7504,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[67, 1], Operations: ['88-32=56', '56/56=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[88, 67, 32, 56], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [67, 56, 56] Generated Node #0,2: 67:[67, 56, 56] Operation: 88-32=56 Moving to Node #0,2 Current State: 67:[67, 56, 56], Operations: ['88-32=56'] Exploring Operation: 56/56=1, Resulting Numbers: [67, 1] Generated Node #0,2,2: 67:[67, 1] Operation: 56/56=1 Moving to Node #0,2,2 Current State: 67:[67, 1], Operations: ['88-32=56', '56/56=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 21, 24, 56, 72 ]
63
[ "21*24=504", "504/56=9", "72-9=63" ]
Current State: 63:[21, 24, 56, 72], Operations: [] Exploring Operation: 21*24=504, Resulting Numbers: [56, 72, 504] Generated Node #2: [56, 72, 504] from Operation: 21*24=504 Current State: 63:[56, 72, 504], Operations: ['21*24=504'] Exploring Operation: 504/56=9, Resulting Numbers: [72, 9] Generated Node #3: [72, 9] from Operation: 504/56=9 Current State: 63:[72, 9], Operations: ['21*24=504', '504/56=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 24, 56, 72], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [21, 56, 3] Generated Node #0,0: 63:[21, 56, 3] Operation: 72/24=3 Exploring Operation: 56-24=32, Resulting Numbers: [21, 72, 32] Generated Node #0,1: 63:[21, 72, 32] Operation: 56-24=32 Exploring Operation: 72-56=16, Resulting Numbers: [21, 24, 16] Generated Node #0,2: 63:[21, 24, 16] Operation: 72-56=16 Exploring Operation: 24-21=3, Resulting Numbers: [56, 72, 3] Generated Node #0,3: 63:[56, 72, 3] Operation: 24-21=3 Exploring Operation: 72-21=51, Resulting Numbers: [24, 56, 51] Generated Node #0,4: 63:[24, 56, 51] Operation: 72-21=51 Moving to Node #0,0 Current State: 63:[21, 56, 3], Operations: ['72/24=3'] Exploring Operation: 21*3=63, Resulting Numbers: [56, 63] Generated Node #0,0,0: 63:[56, 63] Operation: 21*3=63 Exploring Operation: 21-3=18, Resulting Numbers: [56, 18] Generated Node #0,0,1: 63:[56, 18] Operation: 21-3=18 Exploring Operation: 56+3=59, Resulting Numbers: [21, 59] Generated Node #0,0,2: 63:[21, 59] Operation: 56+3=59 Exploring Operation: 21/3=7, Resulting Numbers: [56, 7] Generated Node #0,0,3: 63:[56, 7] Operation: 21/3=7 Exploring Operation: 21+3=24, Resulting Numbers: [56, 24] Generated Node #0,0,4: 63:[56, 24] Operation: 21+3=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[21, 59], Operations: ['72/24=3', '56+3=59'] Exploring Operation: 21*59=1239, Resulting Numbers: [1239] 1239,63 unequal: No Solution Exploring Operation: 21+59=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,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,0 Current State: 63:[56, 63], Operations: ['72/24=3', '21*3=63'] Exploring Operation: 56+63=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 56*63=3528, Resulting Numbers: [3528] 3528,63 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[56, 7], Operations: ['72/24=3', '21/3=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 24, 56, 72], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [21, 56, 3] Generated Node #0,0: 63:[21, 56, 3] Operation: 72/24=3 Moving to Node #0,0 Current State: 63:[21, 56, 3], Operations: ['72/24=3'] Exploring Operation: 21/3=7, Resulting Numbers: [56, 7] Generated Node #0,0,3: 63:[56, 7] Operation: 21/3=7 Moving to Node #0,0,3 Current State: 63:[56, 7], Operations: ['72/24=3', '21/3=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 65, 94, 99, 46 ]
24
[ "94-65=29", "99-46=53", "53-29=24" ]
Current State: 24:[65, 94, 99, 46], Operations: [] Exploring Operation: 94-65=29, Resulting Numbers: [99, 46, 29] Generated Node #2: [99, 46, 29] from Operation: 94-65=29 Current State: 24:[99, 46, 29], Operations: ['94-65=29'] Exploring Operation: 99-46=53, Resulting Numbers: [29, 53] Generated Node #3: [29, 53] from Operation: 99-46=53 Current State: 24:[29, 53], Operations: ['94-65=29', '99-46=53'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[65, 94, 99, 46], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [65, 46, 5] Generated Node #0,0: 24:[65, 46, 5] Operation: 99-94=5 Moving to Node #0,0 Current State: 24:[65, 46, 5], Operations: ['99-94=5'] Exploring Operation: 65-46=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 24:[5, 19] Operation: 65-46=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[5, 19], Operations: ['99-94=5', '65-46=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[65, 94, 99, 46], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [65, 46, 5] Generated Node #0,0: 24:[65, 46, 5] Operation: 99-94=5 Moving to Node #0,0 Current State: 24:[65, 46, 5], Operations: ['99-94=5'] Exploring Operation: 65-46=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 24:[5, 19] Operation: 65-46=19 Moving to Node #0,0,0 Current State: 24:[5, 19], Operations: ['99-94=5', '65-46=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 26, 36, 35, 4 ]
93
[ "26+36=62", "35-4=31", "62+31=93" ]
Current State: 93:[26, 36, 35, 4], Operations: [] Exploring Operation: 26+36=62, Resulting Numbers: [35, 4, 62] Generated Node #2: [35, 4, 62] from Operation: 26+36=62 Current State: 93:[35, 4, 62], Operations: ['26+36=62'] Exploring Operation: 35-4=31, Resulting Numbers: [62, 31] Generated Node #3: [62, 31] from Operation: 35-4=31 Current State: 93:[62, 31], Operations: ['26+36=62', '35-4=31'] Exploring Operation: 62+31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[26, 36, 35, 4], Operations: [] Exploring Operation: 26+4=30, Resulting Numbers: [36, 35, 30] Generated Node #0,0: 93:[36, 35, 30] Operation: 26+4=30 Exploring Operation: 36-35=1, Resulting Numbers: [26, 4, 1] Generated Node #0,1: 93:[26, 4, 1] Operation: 36-35=1 Exploring Operation: 36-4=32, Resulting Numbers: [26, 35, 32] Generated Node #0,2: 93:[26, 35, 32] Operation: 36-4=32 Moving to Node #0,1 Current State: 93:[26, 4, 1], Operations: ['36-35=1'] Exploring Operation: 26+4=30, Resulting Numbers: [1, 30] Generated Node #0,1,0: 93:[1, 30] Operation: 26+4=30 Exploring Operation: 26+1=27, Resulting Numbers: [4, 27] Generated Node #0,1,1: 93:[4, 27] Operation: 26+1=27 Exploring Operation: 4-1=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 93:[26, 3] Operation: 4-1=3 Moving to Node #0,0 Current State: 93:[36, 35, 30], Operations: ['26+4=30'] Exploring Operation: 36-30=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 93:[35, 6] Operation: 36-30=6 Exploring Operation: 36-35=1, Resulting Numbers: [30, 1] Generated Node #0,0,1: 93:[30, 1] Operation: 36-35=1 Exploring Operation: 35-30=5, Resulting Numbers: [36, 5] Generated Node #0,0,2: 93:[36, 5] Operation: 35-30=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[30, 1], Operations: ['26+4=30', '36-35=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,93 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[35, 6], Operations: ['26+4=30', '36-30=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,93 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[36, 5], Operations: ['26+4=30', '35-30=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[26, 35, 32], Operations: ['36-4=32'] Exploring Operation: 35-32=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 93:[26, 3] Operation: 35-32=3 Exploring Operation: 32-26=6, Resulting Numbers: [35, 6] Generated Node #0,2,1: 93:[35, 6] Operation: 32-26=6 Exploring Operation: 35-26=9, Resulting Numbers: [32, 9] Generated Node #0,2,2: 93:[32, 9] Operation: 35-26=9 Moving to Node #0,1,0 Current State: 93:[1, 30], Operations: ['36-35=1', '26+4=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,93 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[26, 3], Operations: ['36-35=1', '4-1=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[4, 27], Operations: ['36-35=1', '26+1=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[26, 3], Operations: ['36-4=32', '35-32=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[35, 6], Operations: ['36-4=32', '32-26=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[32, 9], Operations: ['36-4=32', '35-26=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,93 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 46, 6, 47, 5 ]
55
[ "46-6=40", "40/5=8", "47+8=55" ]
Current State: 55:[46, 6, 47, 5], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [47, 5, 40] Generated Node #2: [47, 5, 40] from Operation: 46-6=40 Current State: 55:[47, 5, 40], Operations: ['46-6=40'] Exploring Operation: 40/5=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 40/5=8 Current State: 55:[47, 8], Operations: ['46-6=40', '40/5=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[46, 6, 47, 5], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [6, 5, 1] Generated Node #0,0: 55:[6, 5, 1] Operation: 47-46=1 Exploring Operation: 6+47=53, Resulting Numbers: [46, 5, 53] Generated Node #0,1: 55:[46, 5, 53] Operation: 6+47=53 Exploring Operation: 46+6=52, Resulting Numbers: [47, 5, 52] Generated Node #0,2: 55:[47, 5, 52] Operation: 46+6=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[6, 5, 1], Operations: ['47-46=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 55:[5, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [5, 6] Generated Node #0,0,1: 55:[5, 6] Operation: 6*1=6 Exploring Operation: 6/1=6, Resulting Numbers: [5, 6] Generated Node #0,0,2: 55:[5, 6] Operation: 6/1=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[5, 5], Operations: ['47-46=1', '6-1=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[5, 6], Operations: ['47-46=1', '6*1=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[5, 6], Operations: ['47-46=1', '6/1=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,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:[46, 5, 53], Operations: ['6+47=53'] Exploring Operation: 46+5=51, Resulting Numbers: [53, 51] Generated Node #0,1,0: 55:[53, 51] Operation: 46+5=51 Exploring Operation: 5+53=58, Resulting Numbers: [46, 58] Generated Node #0,1,1: 55:[46, 58] Operation: 5+53=58 Exploring Operation: 53-46=7, Resulting Numbers: [5, 7] Generated Node #0,1,2: 55:[5, 7] Operation: 53-46=7 Moving to Node #0,1,2 Current State: 55:[5, 7], Operations: ['6+47=53', '53-46=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[53, 51], Operations: ['6+47=53', '46+5=51'] Exploring Operation: 53*51=2703, Resulting Numbers: [2703] 2703,55 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 53+51=104, Resulting Numbers: [104] 104,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[46, 58], Operations: ['6+47=53', '5+53=58'] Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,55 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,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:[47, 5, 52], Operations: ['46+6=52'] Exploring Operation: 47+5=52, Resulting Numbers: [52, 52] Generated Node #0,2,0: 55:[52, 52] Operation: 47+5=52 Exploring Operation: 5+52=57, Resulting Numbers: [47, 57] Generated Node #0,2,1: 55:[47, 57] Operation: 5+52=57 Exploring Operation: 52-47=5, Resulting Numbers: [5, 5] Generated Node #0,2,2: 55:[5, 5] Operation: 52-47=5 Moving to Node #0,2,2 Current State: 55:[5, 5], Operations: ['46+6=52', '52-47=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[52, 52], Operations: ['46+6=52', '47+5=52'] Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[47, 57], Operations: ['46+6=52', '5+52=57'] Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,55 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,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
[ 17, 53, 94, 62 ]
86
[ "17+53=70", "94+62=156", "156-70=86" ]
Current State: 86:[17, 53, 94, 62], Operations: [] Exploring Operation: 17+53=70, Resulting Numbers: [94, 62, 70] Generated Node #2: [94, 62, 70] from Operation: 17+53=70 Current State: 86:[94, 62, 70], Operations: ['17+53=70'] Exploring Operation: 94+62=156, Resulting Numbers: [70, 156] Generated Node #3: [70, 156] from Operation: 94+62=156 Current State: 86:[70, 156], Operations: ['17+53=70', '94+62=156'] Exploring Operation: 156-70=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[17, 53, 94, 62], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [17, 94, 9] Generated Node #0,0: 86:[17, 94, 9] Operation: 62-53=9 Exploring Operation: 17+62=79, Resulting Numbers: [53, 94, 79] Generated Node #0,1: 86:[53, 94, 79] Operation: 17+62=79 Exploring Operation: 62-17=45, Resulting Numbers: [53, 94, 45] Generated Node #0,2: 86:[53, 94, 45] Operation: 62-17=45 Exploring Operation: 53-17=36, Resulting Numbers: [94, 62, 36] Generated Node #0,3: 86:[94, 62, 36] Operation: 53-17=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[53, 94, 45], Operations: ['62-17=45'] Exploring Operation: 53-45=8, Resulting Numbers: [94, 8] Generated Node #0,2,0: 86:[94, 8] Operation: 53-45=8 Exploring Operation: 53+45=98, Resulting Numbers: [94, 98] Generated Node #0,2,1: 86:[94, 98] Operation: 53+45=98 Exploring Operation: 94-45=49, Resulting Numbers: [53, 49] Generated Node #0,2,2: 86:[53, 49] Operation: 94-45=49 Exploring Operation: 94-53=41, Resulting Numbers: [45, 41] Generated Node #0,2,3: 86:[45, 41] Operation: 94-53=41 Moving to Node #0,2,3 Current State: 86:[45, 41], Operations: ['62-17=45', '94-53=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[17, 53, 94, 62], Operations: [] Exploring Operation: 62-17=45, Resulting Numbers: [53, 94, 45] Generated Node #0,2: 86:[53, 94, 45] Operation: 62-17=45 Moving to Node #0,2 Current State: 86:[53, 94, 45], Operations: ['62-17=45'] Exploring Operation: 94-53=41, Resulting Numbers: [45, 41] Generated Node #0,2,3: 86:[45, 41] Operation: 94-53=41 Moving to Node #0,2,3 Current State: 86:[45, 41], Operations: ['62-17=45', '94-53=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 9, 2, 82, 6 ]
69
[ "9-2=7", "82-6=76", "76-7=69" ]
Current State: 69:[9, 2, 82, 6], Operations: [] Exploring Operation: 9-2=7, Resulting Numbers: [82, 6, 7] Generated Node #2: [82, 6, 7] from Operation: 9-2=7 Current State: 69:[82, 6, 7], Operations: ['9-2=7'] Exploring Operation: 82-6=76, Resulting Numbers: [7, 76] Generated Node #3: [7, 76] from Operation: 82-6=76 Current State: 69:[7, 76], Operations: ['9-2=7', '82-6=76'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 2, 82, 6], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [2, 82, 3] Generated Node #0,0: 69:[2, 82, 3] Operation: 9-6=3 Exploring Operation: 82-6=76, Resulting Numbers: [9, 2, 76] Generated Node #0,1: 69:[9, 2, 76] Operation: 82-6=76 Exploring Operation: 9-2=7, Resulting Numbers: [82, 6, 7] Generated Node #0,2: 69:[82, 6, 7] Operation: 9-2=7 Exploring Operation: 6/2=3, Resulting Numbers: [9, 82, 3] Generated Node #0,3: 69:[9, 82, 3] Operation: 6/2=3 Exploring Operation: 82-9=73, Resulting Numbers: [2, 6, 73] Generated Node #0,4: 69:[2, 6, 73] Operation: 82-9=73 Moving to Node #0,4 Current State: 69:[2, 6, 73], Operations: ['82-9=73'] Exploring Operation: 6-2=4, Resulting Numbers: [73, 4] Generated Node #0,4,0: 69:[73, 4] Operation: 6-2=4 Exploring Operation: 73-6=67, Resulting Numbers: [2, 67] Generated Node #0,4,1: 69:[2, 67] Operation: 73-6=67 Exploring Operation: 6/2=3, Resulting Numbers: [73, 3] Generated Node #0,4,2: 69:[73, 3] Operation: 6/2=3 Exploring Operation: 2+6=8, Resulting Numbers: [73, 8] Generated Node #0,4,3: 69:[73, 8] Operation: 2+6=8 Exploring Operation: 73-2=71, Resulting Numbers: [6, 71] Generated Node #0,4,4: 69:[6, 71] Operation: 73-2=71 Moving to Node #0,1 Current State: 69:[9, 2, 76], Operations: ['82-6=76'] Exploring Operation: 76-9=67, Resulting Numbers: [2, 67] Generated Node #0,1,0: 69:[2, 67] Operation: 76-9=67 Exploring Operation: 76-2=74, Resulting Numbers: [9, 74] Generated Node #0,1,1: 69:[9, 74] Operation: 76-2=74 Exploring Operation: 9+2=11, Resulting Numbers: [76, 11] Generated Node #0,1,2: 69:[76, 11] Operation: 9+2=11 Exploring Operation: 9-2=7, Resulting Numbers: [76, 7] Generated Node #0,1,3: 69:[76, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [76, 18] Generated Node #0,1,4: 69:[76, 18] Operation: 9*2=18 Moving to Node #0,0 Current State: 69:[2, 82, 3], Operations: ['9-6=3'] Exploring Operation: 3-2=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 69:[82, 1] Operation: 3-2=1 Exploring Operation: 2+82=84, Resulting Numbers: [3, 84] Generated Node #0,0,1: 69:[3, 84] Operation: 2+82=84 Exploring Operation: 82-3=79, Resulting Numbers: [2, 79] Generated Node #0,0,2: 69:[2, 79] Operation: 82-3=79 Exploring Operation: 82-2=80, Resulting Numbers: [3, 80] Generated Node #0,0,3: 69:[3, 80] Operation: 82-2=80 Exploring Operation: 2+3=5, Resulting Numbers: [82, 5] Generated Node #0,0,4: 69:[82, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[2, 79], Operations: ['9-6=3', '82-3=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,69 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[3, 80], Operations: ['9-6=3', '82-2=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[82, 1], Operations: ['9-6=3', '3-2=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[3, 84], Operations: ['9-6=3', '2+82=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,69 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 69:[82, 5], Operations: ['9-6=3', '2+3=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 69:[9, 82, 3], Operations: ['6/2=3'] Exploring Operation: 82-3=79, Resulting Numbers: [9, 79] Generated Node #0,3,0: 69:[9, 79] Operation: 82-3=79 Exploring Operation: 9*3=27, Resulting Numbers: [82, 27] Generated Node #0,3,1: 69:[82, 27] Operation: 9*3=27 Exploring Operation: 9-3=6, Resulting Numbers: [82, 6] Generated Node #0,3,2: 69:[82, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [82, 3] Generated Node #0,3,3: 69:[82, 3] Operation: 9/3=3 Exploring Operation: 82-9=73, Resulting Numbers: [3, 73] Generated Node #0,3,4: 69:[3, 73] Operation: 82-9=73 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 69:[3, 73], Operations: ['6/2=3', '82-9=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,69 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[82, 3], Operations: ['6/2=3', '9/3=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,69 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[9, 79], Operations: ['6/2=3', '82-3=79'] Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,69 unequal: No Solution Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[82, 6], Operations: ['6/2=3', '9-3=6'] Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,69 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[82, 27], Operations: ['6/2=3', '9*3=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,69 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,69 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: 69:[82, 6, 7], Operations: ['9-2=7'] Exploring Operation: 82-7=75, Resulting Numbers: [6, 75] Generated Node #0,2,0: 69:[6, 75] Operation: 82-7=75 Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,2,1: 69:[82, 1] Operation: 7-6=1 Exploring Operation: 82+7=89, Resulting Numbers: [6, 89] Generated Node #0,2,2: 69:[6, 89] Operation: 82+7=89 Exploring Operation: 82+6=88, Resulting Numbers: [7, 88] Generated Node #0,2,3: 69:[7, 88] Operation: 82+6=88 Exploring Operation: 82-6=76, Resulting Numbers: [7, 76] Generated Node #0,2,4: 69:[7, 76] Operation: 82-6=76 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[6, 75], Operations: ['9-2=7', '82-7=75'] Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,69 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[9, 2, 82, 6], Operations: [] Exploring Operation: 9-2=7, Resulting Numbers: [82, 6, 7] Generated Node #0,2: 69:[82, 6, 7] Operation: 9-2=7 Moving to Node #0,2 Current State: 69:[82, 6, 7], Operations: ['9-2=7'] Exploring Operation: 82-7=75, Resulting Numbers: [6, 75] Generated Node #0,2,0: 69:[6, 75] Operation: 82-7=75 Moving to Node #0,2,0 Current State: 69:[6, 75], Operations: ['9-2=7', '82-7=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
mult_heuristic
[ 57, 99, 5, 1 ]
31
[ "57+99=156", "156-1=155", "155/5=31" ]
Current State: 31:[57, 99, 5, 1], Operations: [] Exploring Operation: 57+99=156, Resulting Numbers: [5, 1, 156] Generated Node #2: [5, 1, 156] from Operation: 57+99=156 Current State: 31:[5, 1, 156], Operations: ['57+99=156'] Exploring Operation: 156-1=155, Resulting Numbers: [5, 155] Generated Node #3: [5, 155] from Operation: 156-1=155 Current State: 31:[5, 155], Operations: ['57+99=156', '156-1=155'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 99, 5, 1], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [99, 1, 52] Generated Node #0,0: 31:[99, 1, 52] Operation: 57-5=52 Exploring Operation: 99-57=42, Resulting Numbers: [5, 1, 42] Generated Node #0,1: 31:[5, 1, 42] Operation: 99-57=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[5, 1, 42], Operations: ['99-57=42'] Exploring Operation: 42-5=37, Resulting Numbers: [1, 37] Generated Node #0,1,0: 31:[1, 37] Operation: 42-5=37 Exploring Operation: 5+1=6, Resulting Numbers: [42, 6] Generated Node #0,1,1: 31:[42, 6] Operation: 5+1=6 Moving to Node #0,1,0 Current State: 31:[1, 37], Operations: ['99-57=42', '42-5=37'] Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[42, 6], Operations: ['99-57=42', '5+1=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[99, 1, 52], Operations: ['57-5=52'] Exploring Operation: 99-1=98, Resulting Numbers: [52, 98] Generated Node #0,0,0: 31:[52, 98] Operation: 99-1=98 Exploring Operation: 99-52=47, Resulting Numbers: [1, 47] Generated Node #0,0,1: 31:[1, 47] Operation: 99-52=47 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[1, 47], Operations: ['57-5=52', '99-52=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[52, 98], Operations: ['57-5=52', '99-1=98'] Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 52, 16, 17, 6 ]
61
[ "52-17=35", "16*6=96", "96-35=61" ]
Current State: 61:[52, 16, 17, 6], Operations: [] Exploring Operation: 52-17=35, Resulting Numbers: [16, 6, 35] Generated Node #2: [16, 6, 35] from Operation: 52-17=35 Current State: 61:[16, 6, 35], Operations: ['52-17=35'] Exploring Operation: 16*6=96, Resulting Numbers: [35, 96] Generated Node #3: [35, 96] from Operation: 16*6=96 Current State: 61:[35, 96], Operations: ['52-17=35', '16*6=96'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[52, 16, 17, 6], Operations: [] Exploring Operation: 16*6=96, Resulting Numbers: [52, 17, 96] Generated Node #0,0: 61:[52, 17, 96] Operation: 16*6=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[52, 17, 96], Operations: ['16*6=96'] Exploring Operation: 96-17=79, Resulting Numbers: [52, 79] Generated Node #0,0,0: 61:[52, 79] Operation: 96-17=79 Moving to Node #0,0,0 Current State: 61:[52, 79], Operations: ['16*6=96', '96-17=79'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 85, 54, 77, 94 ]
91
[ "85+77=162", "162/54=3", "94-3=91" ]
Current State: 91:[85, 54, 77, 94], Operations: [] Exploring Operation: 85+77=162, Resulting Numbers: [54, 94, 162] Generated Node #2: [54, 94, 162] from Operation: 85+77=162 Current State: 91:[54, 94, 162], Operations: ['85+77=162'] Exploring Operation: 162/54=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 162/54=3 Current State: 91:[94, 3], Operations: ['85+77=162', '162/54=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 54, 77, 94], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [85, 94, 23] Generated Node #0,0: 91:[85, 94, 23] Operation: 77-54=23 Exploring Operation: 85-77=8, Resulting Numbers: [54, 94, 8] Generated Node #0,1: 91:[54, 94, 8] Operation: 85-77=8 Exploring Operation: 85-54=31, Resulting Numbers: [77, 94, 31] Generated Node #0,2: 91:[77, 94, 31] Operation: 85-54=31 Exploring Operation: 94-54=40, Resulting Numbers: [85, 77, 40] Generated Node #0,3: 91:[85, 77, 40] Operation: 94-54=40 Moving to Node #0,0 Current State: 91:[85, 94, 23], Operations: ['77-54=23'] Exploring Operation: 85+23=108, Resulting Numbers: [94, 108] Generated Node #0,0,0: 91:[94, 108] Operation: 85+23=108 Exploring Operation: 85-23=62, Resulting Numbers: [94, 62] Generated Node #0,0,1: 91:[94, 62] Operation: 85-23=62 Exploring Operation: 94-23=71, Resulting Numbers: [85, 71] Generated Node #0,0,2: 91:[85, 71] Operation: 94-23=71 Exploring Operation: 94-85=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 91:[23, 9] Operation: 94-85=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[23, 9], Operations: ['77-54=23', '94-85=9'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,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:[94, 108], Operations: ['77-54=23', '85+23=108'] Exploring Operation: 108-94=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 94+108=202, Resulting Numbers: [202] 202,91 unequal: No Solution Exploring Operation: 94*108=10152, Resulting Numbers: [10152] 10152,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:[85, 71], Operations: ['77-54=23', '94-23=71'] Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 85+71=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 85*71=6035, Resulting Numbers: [6035] 6035,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:[94, 62], Operations: ['77-54=23', '85-23=62'] Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,91 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,91 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: 91:[77, 94, 31], Operations: ['85-54=31'] Exploring Operation: 94-31=63, Resulting Numbers: [77, 63] Generated Node #0,2,0: 91:[77, 63] Operation: 94-31=63 Exploring Operation: 94-77=17, Resulting Numbers: [31, 17] Generated Node #0,2,1: 91:[31, 17] Operation: 94-77=17 Exploring Operation: 77+31=108, Resulting Numbers: [94, 108] Generated Node #0,2,2: 91:[94, 108] Operation: 77+31=108 Exploring Operation: 77-31=46, Resulting Numbers: [94, 46] Generated Node #0,2,3: 91:[94, 46] Operation: 77-31=46 Moving to Node #0,1 Current State: 91:[54, 94, 8], Operations: ['85-77=8'] Exploring Operation: 54+8=62, Resulting Numbers: [94, 62] Generated Node #0,1,0: 91:[94, 62] Operation: 54+8=62 Exploring Operation: 54-8=46, Resulting Numbers: [94, 46] Generated Node #0,1,1: 91:[94, 46] Operation: 54-8=46 Exploring Operation: 94-54=40, Resulting Numbers: [8, 40] Generated Node #0,1,2: 91:[8, 40] Operation: 94-54=40 Exploring Operation: 94-8=86, Resulting Numbers: [54, 86] Generated Node #0,1,3: 91:[54, 86] Operation: 94-8=86 Moving to Node #0,3 Current State: 91:[85, 77, 40], Operations: ['94-54=40'] Exploring Operation: 77+40=117, Resulting Numbers: [85, 117] Generated Node #0,3,0: 91:[85, 117] Operation: 77+40=117 Exploring Operation: 77-40=37, Resulting Numbers: [85, 37] Generated Node #0,3,1: 91:[85, 37] Operation: 77-40=37 Exploring Operation: 85-77=8, Resulting Numbers: [40, 8] Generated Node #0,3,2: 91:[40, 8] Operation: 85-77=8 Exploring Operation: 85-40=45, Resulting Numbers: [77, 45] Generated Node #0,3,3: 91:[77, 45] Operation: 85-40=45 Moving to Node #0,2,2 Current State: 91:[94, 108], Operations: ['85-54=31', '77+31=108'] Exploring Operation: 94+108=202, Resulting Numbers: [202] 202,91 unequal: No Solution Exploring Operation: 94*108=10152, Resulting Numbers: [10152] 10152,91 unequal: No Solution Exploring Operation: 108-94=14, Resulting Numbers: [14] 14,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[31, 17], Operations: ['85-54=31', '94-77=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,91 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[8, 40], Operations: ['85-77=8', '94-54=40'] Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,91 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[40, 8], Operations: ['94-54=40', '85-77=8'] Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,91 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[85, 37], Operations: ['94-54=40', '77-40=37'] Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[94, 62], Operations: ['85-77=8', '54+8=62'] Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,91 unequal: No Solution Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[85, 117], Operations: ['94-54=40', '77+40=117'] Exploring Operation: 85+117=202, Resulting Numbers: [202] 202,91 unequal: No Solution Exploring Operation: 85*117=9945, Resulting Numbers: [9945] 9945,91 unequal: No Solution Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[94, 46], Operations: ['85-77=8', '54-8=46'] Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,91 unequal: No Solution Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[94, 46], Operations: ['85-54=31', '77-31=46'] Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[54, 86], Operations: ['85-77=8', '94-8=86'] Exploring Operation: 54+86=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 54*86=4644, Resulting Numbers: [4644] 4644,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[77, 63], Operations: ['85-54=31', '94-31=63'] Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,91 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[77, 45], Operations: ['94-54=40', '85-40=45'] Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,91 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 53, 49, 59, 32 ]
87
[ "53-49=4", "59+32=91", "91-4=87" ]
Current State: 87:[53, 49, 59, 32], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [59, 32, 4] Generated Node #2: [59, 32, 4] from Operation: 53-49=4 Current State: 87:[59, 32, 4], Operations: ['53-49=4'] Exploring Operation: 59+32=91, Resulting Numbers: [4, 91] Generated Node #3: [4, 91] from Operation: 59+32=91 Current State: 87:[4, 91], Operations: ['53-49=4', '59+32=91'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 49, 59, 32], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [49, 32, 6] Generated Node #0,0: 87:[49, 32, 6] Operation: 59-53=6 Exploring Operation: 53-49=4, Resulting Numbers: [59, 32, 4] Generated Node #0,1: 87:[59, 32, 4] Operation: 53-49=4 Moving to Node #0,0 Current State: 87:[49, 32, 6], Operations: ['59-53=6'] Exploring Operation: 49+32=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 87:[6, 81] Operation: 49+32=81 Exploring Operation: 49-32=17, Resulting Numbers: [6, 17] Generated Node #0,0,1: 87:[6, 17] Operation: 49-32=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[6, 81], Operations: ['59-53=6', '49+32=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 49, 59, 32], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [49, 32, 6] Generated Node #0,0: 87:[49, 32, 6] Operation: 59-53=6 Moving to Node #0,0 Current State: 87:[49, 32, 6], Operations: ['59-53=6'] Exploring Operation: 49+32=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 87:[6, 81] Operation: 49+32=81 Moving to Node #0,0,0 Current State: 87:[6, 81], Operations: ['59-53=6', '49+32=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 36, 34, 59, 35 ]
47
[ "36-34=2", "59+35=94", "94/2=47" ]
Current State: 47:[36, 34, 59, 35], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [59, 35, 2] Generated Node #2: [59, 35, 2] from Operation: 36-34=2 Current State: 47:[59, 35, 2], Operations: ['36-34=2'] Exploring Operation: 59+35=94, Resulting Numbers: [2, 94] Generated Node #3: [2, 94] from Operation: 59+35=94 Current State: 47:[2, 94], Operations: ['36-34=2', '59+35=94'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[36, 34, 59, 35], Operations: [] Exploring Operation: 36+34=70, Resulting Numbers: [59, 35, 70] Generated Node #0,0: 47:[59, 35, 70] Operation: 36+34=70 Exploring Operation: 59-34=25, Resulting Numbers: [36, 35, 25] Generated Node #0,1: 47:[36, 35, 25] Operation: 59-34=25 Exploring Operation: 59-35=24, Resulting Numbers: [36, 34, 24] Generated Node #0,2: 47:[36, 34, 24] Operation: 59-35=24 Exploring Operation: 34+35=69, Resulting Numbers: [36, 59, 69] Generated Node #0,3: 47:[36, 59, 69] Operation: 34+35=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[36, 35, 25], Operations: ['59-34=25'] Exploring Operation: 36-25=11, Resulting Numbers: [35, 11] Generated Node #0,1,0: 47:[35, 11] Operation: 36-25=11 Exploring Operation: 36+35=71, Resulting Numbers: [25, 71] Generated Node #0,1,1: 47:[25, 71] Operation: 36+35=71 Exploring Operation: 35+25=60, Resulting Numbers: [36, 60] Generated Node #0,1,2: 47:[36, 60] Operation: 35+25=60 Exploring Operation: 36+25=61, Resulting Numbers: [35, 61] Generated Node #0,1,3: 47:[35, 61] Operation: 36+25=61 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[36, 60], Operations: ['59-34=25', '35+25=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,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,3 Current State: 47:[35, 61], Operations: ['59-34=25', '36+25=61'] Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,47 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,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,1 Current State: 47:[25, 71], Operations: ['59-34=25', '36+35=71'] Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,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:[35, 11], Operations: ['59-34=25', '36-25=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,47 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,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,3 Current State: 47:[36, 59, 69], Operations: ['34+35=69'] Exploring Operation: 36+59=95, Resulting Numbers: [69, 95] Generated Node #0,3,0: 47:[69, 95] Operation: 36+59=95 Exploring Operation: 69-36=33, Resulting Numbers: [59, 33] Generated Node #0,3,1: 47:[59, 33] Operation: 69-36=33 Exploring Operation: 59-36=23, Resulting Numbers: [69, 23] Generated Node #0,3,2: 47:[69, 23] Operation: 59-36=23 Exploring Operation: 69-59=10, Resulting Numbers: [36, 10] Generated Node #0,3,3: 47:[36, 10] Operation: 69-59=10 Moving to Node #0,3,1 Current State: 47:[59, 33], Operations: ['34+35=69', '69-36=33'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,47 unequal: No Solution Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[69, 23], Operations: ['34+35=69', '59-36=23'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 69*23=1587, Resulting Numbers: [1587] 1587,47 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[36, 10], Operations: ['34+35=69', '69-59=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,47 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[69, 95], Operations: ['34+35=69', '36+59=95'] Exploring Operation: 69+95=164, Resulting Numbers: [164] 164,47 unequal: No Solution Exploring Operation: 69*95=6555, Resulting Numbers: [6555] 6555,47 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,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 Current State: 47:[59, 35, 70], Operations: ['36+34=70'] Exploring Operation: 59-35=24, Resulting Numbers: [70, 24] Generated Node #0,0,0: 47:[70, 24] Operation: 59-35=24 Exploring Operation: 70-59=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 47:[35, 11] Operation: 70-59=11 Exploring Operation: 70/35=2, Resulting Numbers: [59, 2] Generated Node #0,0,2: 47:[59, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [59, 35] Generated Node #0,0,3: 47:[59, 35] Operation: 70-35=35 Moving to Node #0,0,3 Current State: 47:[59, 35], Operations: ['36+34=70', '70-35=35'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,47 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[70, 24], Operations: ['36+34=70', '59-35=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[35, 11], Operations: ['36+34=70', '70-59=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[59, 2], Operations: ['36+34=70', '70/35=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[36, 34, 24], Operations: ['59-35=24'] Exploring Operation: 36-24=12, Resulting Numbers: [34, 12] Generated Node #0,2,0: 47:[34, 12] Operation: 36-24=12 Exploring Operation: 36+34=70, Resulting Numbers: [24, 70] Generated Node #0,2,1: 47:[24, 70] Operation: 36+34=70 Exploring Operation: 34+24=58, Resulting Numbers: [36, 58] Generated Node #0,2,2: 47:[36, 58] Operation: 34+24=58 Exploring Operation: 36+24=60, Resulting Numbers: [34, 60] Generated Node #0,2,3: 47:[34, 60] Operation: 36+24=60 Moving to Node #0,2,2 Current State: 47:[36, 58], Operations: ['59-35=24', '34+24=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,47 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[34, 60], Operations: ['59-35=24', '36+24=60'] Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,47 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[24, 70], Operations: ['59-35=24', '36+34=70'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[34, 12], Operations: ['59-35=24', '36-24=12'] Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,47 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,47 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
[ 23, 96, 90, 45 ]
93
[ "96-90=6", "23*6=138", "138-45=93" ]
Current State: 93:[23, 96, 90, 45], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [23, 45, 6] Generated Node #2: [23, 45, 6] from Operation: 96-90=6 Current State: 93:[23, 45, 6], Operations: ['96-90=6'] Exploring Operation: 23*6=138, Resulting Numbers: [45, 138] Generated Node #3: [45, 138] from Operation: 23*6=138 Current State: 93:[45, 138], Operations: ['96-90=6', '23*6=138'] Exploring Operation: 138-45=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[23, 96, 90, 45], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [23, 96, 2] Generated Node #0,0: 93:[23, 96, 2] Operation: 90/45=2 Exploring Operation: 45-23=22, Resulting Numbers: [96, 90, 22] Generated Node #0,1: 93:[96, 90, 22] Operation: 45-23=22 Moving to Node #0,0 Current State: 93:[23, 96, 2], Operations: ['90/45=2'] Exploring Operation: 23+2=25, Resulting Numbers: [96, 25] Generated Node #0,0,0: 93:[96, 25] Operation: 23+2=25 Exploring Operation: 96-2=94, Resulting Numbers: [23, 94] Generated Node #0,0,1: 93:[23, 94] Operation: 96-2=94 Moving to Node #0,1 Current State: 93:[96, 90, 22], Operations: ['45-23=22'] Exploring Operation: 96-22=74, Resulting Numbers: [90, 74] Generated Node #0,1,0: 93:[90, 74] Operation: 96-22=74 Exploring Operation: 96-90=6, Resulting Numbers: [22, 6] Generated Node #0,1,1: 93:[22, 6] Operation: 96-90=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[22, 6], Operations: ['45-23=22', '96-90=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[90, 74], Operations: ['45-23=22', '96-22=74'] Exploring Operation: 90+74=164, Resulting Numbers: [164] 164,93 unequal: No Solution Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,93 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: 93:[96, 25], Operations: ['90/45=2', '23+2=25'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 96+25=121, Resulting Numbers: [121] 121,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[23, 94], Operations: ['90/45=2', '96-2=94'] Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,93 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,93 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 4, 45, 21 ]
26
[ "4-2=2", "45-21=24", "2+24=26" ]
Current State: 26:[2, 4, 45, 21], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [45, 21, 2] Generated Node #2: [45, 21, 2] from Operation: 4-2=2 Current State: 26:[45, 21, 2], Operations: ['4-2=2'] Exploring Operation: 45-21=24, Resulting Numbers: [2, 24] Generated Node #3: [2, 24] from Operation: 45-21=24 Current State: 26:[2, 24], Operations: ['4-2=2', '45-21=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[2, 4, 45, 21], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [2, 4, 24] Generated Node #0,0: 26:[2, 4, 24] Operation: 45-21=24 Exploring Operation: 45-4=41, Resulting Numbers: [2, 21, 41] Generated Node #0,1: 26:[2, 21, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[2, 4, 24], Operations: ['45-21=24'] Exploring Operation: 4-2=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 26:[24, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 26:[24, 2] Operation: 4/2=2 Moving to Node #0,0,0 Current State: 26:[24, 2], Operations: ['45-21=24', '4-2=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[2, 4, 45, 21], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [2, 4, 24] Generated Node #0,0: 26:[2, 4, 24] Operation: 45-21=24 Moving to Node #0,0 Current State: 26:[2, 4, 24], Operations: ['45-21=24'] Exploring Operation: 4-2=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 26:[24, 2] Operation: 4-2=2 Moving to Node #0,0,0 Current State: 26:[24, 2], Operations: ['45-21=24', '4-2=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 8, 21, 25, 46 ]
97
[ "8*21=168", "25+46=71", "168-71=97" ]
Current State: 97:[8, 21, 25, 46], Operations: [] Exploring Operation: 8*21=168, Resulting Numbers: [25, 46, 168] Generated Node #2: [25, 46, 168] from Operation: 8*21=168 Current State: 97:[25, 46, 168], Operations: ['8*21=168'] Exploring Operation: 25+46=71, Resulting Numbers: [168, 71] Generated Node #3: [168, 71] from Operation: 25+46=71 Current State: 97:[168, 71], Operations: ['8*21=168', '25+46=71'] Exploring Operation: 168-71=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[8, 21, 25, 46], Operations: [] Exploring Operation: 8+21=29, Resulting Numbers: [25, 46, 29] Generated Node #0,0: 97:[25, 46, 29] Operation: 8+21=29 Exploring Operation: 8+25=33, Resulting Numbers: [21, 46, 33] Generated Node #0,1: 97:[21, 46, 33] Operation: 8+25=33 Exploring Operation: 8+46=54, Resulting Numbers: [21, 25, 54] Generated Node #0,2: 97:[21, 25, 54] Operation: 8+46=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[25, 46, 29], Operations: ['8+21=29'] Exploring Operation: 25+29=54, Resulting Numbers: [46, 54] Generated Node #0,0,0: 97:[46, 54] Operation: 25+29=54 Exploring Operation: 25+46=71, Resulting Numbers: [29, 71] Generated Node #0,0,1: 97:[29, 71] Operation: 25+46=71 Exploring Operation: 46+29=75, Resulting Numbers: [25, 75] Generated Node #0,0,2: 97:[25, 75] Operation: 46+29=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[46, 54], Operations: ['8+21=29', '25+29=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,97 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[29, 71], Operations: ['8+21=29', '25+46=71'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[25, 75], Operations: ['8+21=29', '46+29=75'] Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,97 unequal: No Solution Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[21, 46, 33], Operations: ['8+25=33'] Exploring Operation: 21+33=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 97:[46, 54] Operation: 21+33=54 Exploring Operation: 46+33=79, Resulting Numbers: [21, 79] Generated Node #0,1,1: 97:[21, 79] Operation: 46+33=79 Exploring Operation: 21+46=67, Resulting Numbers: [33, 67] Generated Node #0,1,2: 97:[33, 67] Operation: 21+46=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[46, 54], Operations: ['8+25=33', '21+33=54'] Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,97 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[21, 79], Operations: ['8+25=33', '46+33=79'] Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,97 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[33, 67], Operations: ['8+25=33', '21+46=67'] Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[21, 25, 54], Operations: ['8+46=54'] Exploring Operation: 25+54=79, Resulting Numbers: [21, 79] Generated Node #0,2,0: 97:[21, 79] Operation: 25+54=79 Exploring Operation: 21+54=75, Resulting Numbers: [25, 75] Generated Node #0,2,1: 97:[25, 75] Operation: 21+54=75 Exploring Operation: 21+25=46, Resulting Numbers: [54, 46] Generated Node #0,2,2: 97:[54, 46] Operation: 21+25=46 Moving to Node #0,2,0 Current State: 97:[21, 79], Operations: ['8+46=54', '25+54=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,97 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[25, 75], Operations: ['8+46=54', '21+54=75'] Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,97 unequal: No Solution Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[54, 46], Operations: ['8+46=54', '21+25=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,97 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,97 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
[ 58, 38, 76, 36 ]
40
[ "76-58=18", "36/18=2", "38+2=40" ]
Current State: 40:[58, 38, 76, 36], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [38, 36, 18] Generated Node #2: [38, 36, 18] from Operation: 76-58=18 Current State: 40:[38, 36, 18], Operations: ['76-58=18'] Exploring Operation: 36/18=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 36/18=2 Current State: 40:[38, 2], Operations: ['76-58=18', '36/18=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[58, 38, 76, 36], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [38, 36, 18] Generated Node #0,0: 40:[38, 36, 18] Operation: 76-58=18 Moving to Node #0,0 Current State: 40:[38, 36, 18], Operations: ['76-58=18'] Exploring Operation: 38-36=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 40:[18, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 40:[18, 2], Operations: ['76-58=18', '38-36=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,40 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 27, 33, 56 ]
46
[ "70-27=43", "33+56=89", "89-43=46" ]
Current State: 46:[70, 27, 33, 56], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [33, 56, 43] Generated Node #2: [33, 56, 43] from Operation: 70-27=43 Current State: 46:[33, 56, 43], Operations: ['70-27=43'] Exploring Operation: 33+56=89, Resulting Numbers: [43, 89] Generated Node #3: [43, 89] from Operation: 33+56=89 Current State: 46:[43, 89], Operations: ['70-27=43', '33+56=89'] Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[70, 27, 33, 56], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [33, 56, 43] Generated Node #0,0: 46:[33, 56, 43] Operation: 70-27=43 Moving to Node #0,0 Current State: 46:[33, 56, 43], Operations: ['70-27=43'] Exploring Operation: 56-33=23, Resulting Numbers: [43, 23] Generated Node #0,0,0: 46:[43, 23] Operation: 56-33=23 Moving to Node #0,0,0 Current State: 46:[43, 23], Operations: ['70-27=43', '56-33=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 62, 18, 28 ]
30
[ "49-18=31", "62/31=2", "28+2=30" ]
Current State: 30:[49, 62, 18, 28], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [62, 28, 31] Generated Node #2: [62, 28, 31] from Operation: 49-18=31 Current State: 30:[62, 28, 31], Operations: ['49-18=31'] Exploring Operation: 62/31=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 62/31=2 Current State: 30:[28, 2], Operations: ['49-18=31', '62/31=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 62, 18, 28], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [62, 28, 31] Generated Node #0,0: 30:[62, 28, 31] Operation: 49-18=31 Exploring Operation: 62-18=44, Resulting Numbers: [49, 28, 44] Generated Node #0,1: 30:[49, 28, 44] Operation: 62-18=44 Exploring Operation: 62-28=34, Resulting Numbers: [49, 18, 34] Generated Node #0,2: 30:[49, 18, 34] Operation: 62-28=34 Exploring Operation: 62-49=13, Resulting Numbers: [18, 28, 13] Generated Node #0,3: 30:[18, 28, 13] Operation: 62-49=13 Exploring Operation: 49-28=21, Resulting Numbers: [62, 18, 21] Generated Node #0,4: 30:[62, 18, 21] Operation: 49-28=21 Moving to Node #0,3 Current State: 30:[18, 28, 13], Operations: ['62-49=13'] Exploring Operation: 18+13=31, Resulting Numbers: [28, 31] Generated Node #0,3,0: 30:[28, 31] Operation: 18+13=31 Exploring Operation: 18-13=5, Resulting Numbers: [28, 5] Generated Node #0,3,1: 30:[28, 5] Operation: 18-13=5 Exploring Operation: 28-18=10, Resulting Numbers: [13, 10] Generated Node #0,3,2: 30:[13, 10] Operation: 28-18=10 Exploring Operation: 28+13=41, Resulting Numbers: [18, 41] Generated Node #0,3,3: 30:[18, 41] Operation: 28+13=41 Exploring Operation: 28-13=15, Resulting Numbers: [18, 15] Generated Node #0,3,4: 30:[18, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 30:[28, 5], Operations: ['62-49=13', '18-13=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,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,3,2 Current State: 30:[13, 10], Operations: ['62-49=13', '28-18=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,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,3,0 Current State: 30:[28, 31], Operations: ['62-49=13', '18+13=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,30 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,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,3,4 Current State: 30:[18, 15], Operations: ['62-49=13', '28-13=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,30 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,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,3,3 Current State: 30:[18, 41], Operations: ['62-49=13', '28+13=41'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 18*41=738, Resulting Numbers: [738] 738,30 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: 30:[49, 18, 34], Operations: ['62-28=34'] Exploring Operation: 49-34=15, Resulting Numbers: [18, 15] Generated Node #0,2,0: 30:[18, 15] Operation: 49-34=15 Exploring Operation: 18+34=52, Resulting Numbers: [49, 52] Generated Node #0,2,1: 30:[49, 52] Operation: 18+34=52 Exploring Operation: 34-18=16, Resulting Numbers: [49, 16] Generated Node #0,2,2: 30:[49, 16] Operation: 34-18=16 Exploring Operation: 49+18=67, Resulting Numbers: [34, 67] Generated Node #0,2,3: 30:[34, 67] Operation: 49+18=67 Exploring Operation: 49-18=31, Resulting Numbers: [34, 31] Generated Node #0,2,4: 30:[34, 31] Operation: 49-18=31 Moving to Node #0,0 Current State: 30:[62, 28, 31], Operations: ['49-18=31'] Exploring Operation: 62-31=31, Resulting Numbers: [28, 31] Generated Node #0,0,0: 30:[28, 31] Operation: 62-31=31 Exploring Operation: 62+28=90, Resulting Numbers: [31, 90] Generated Node #0,0,1: 30:[31, 90] Operation: 62+28=90 Exploring Operation: 62/31=2, Resulting Numbers: [28, 2] Generated Node #0,0,2: 30:[28, 2] Operation: 62/31=2 Exploring Operation: 62-28=34, Resulting Numbers: [31, 34] Generated Node #0,0,3: 30:[31, 34] Operation: 62-28=34 Exploring Operation: 31-28=3, Resulting Numbers: [62, 3] Generated Node #0,0,4: 30:[62, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[28, 2], Operations: ['49-18=31', '62/31=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[49, 62, 18, 28], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [62, 28, 31] Generated Node #0,0: 30:[62, 28, 31] Operation: 49-18=31 Moving to Node #0,0 Current State: 30:[62, 28, 31], Operations: ['49-18=31'] Exploring Operation: 62/31=2, Resulting Numbers: [28, 2] Generated Node #0,0,2: 30:[28, 2] Operation: 62/31=2 Moving to Node #0,0,2 Current State: 30:[28, 2], Operations: ['49-18=31', '62/31=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 89, 6, 17, 42 ]
30
[ "89-17=72", "72/6=12", "42-12=30" ]
Current State: 30:[89, 6, 17, 42], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [6, 42, 72] Generated Node #2: [6, 42, 72] from Operation: 89-17=72 Current State: 30:[6, 42, 72], Operations: ['89-17=72'] Exploring Operation: 72/6=12, Resulting Numbers: [42, 12] Generated Node #3: [42, 12] from Operation: 72/6=12 Current State: 30:[42, 12], Operations: ['89-17=72', '72/6=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[89, 6, 17, 42], Operations: [] Exploring Operation: 42-17=25, Resulting Numbers: [89, 6, 25] Generated Node #0,0: 30:[89, 6, 25] Operation: 42-17=25 Exploring Operation: 89-6=83, Resulting Numbers: [17, 42, 83] Generated Node #0,1: 30:[17, 42, 83] Operation: 89-6=83 Exploring Operation: 89-17=72, Resulting Numbers: [6, 42, 72] Generated Node #0,2: 30:[6, 42, 72] Operation: 89-17=72 Exploring Operation: 42/6=7, Resulting Numbers: [89, 17, 7] Generated Node #0,3: 30:[89, 17, 7] Operation: 42/6=7 Exploring Operation: 89-42=47, Resulting Numbers: [6, 17, 47] Generated Node #0,4: 30:[6, 17, 47] Operation: 89-42=47 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[6, 17, 47], Operations: ['89-42=47'] Exploring Operation: 17-6=11, Resulting Numbers: [47, 11] Generated Node #0,4,0: 30:[47, 11] Operation: 17-6=11 Exploring Operation: 47-6=41, Resulting Numbers: [17, 41] Generated Node #0,4,1: 30:[17, 41] Operation: 47-6=41 Exploring Operation: 6+17=23, Resulting Numbers: [47, 23] Generated Node #0,4,2: 30:[47, 23] Operation: 6+17=23 Exploring Operation: 47-17=30, Resulting Numbers: [6, 30] Generated Node #0,4,3: 30:[6, 30] Operation: 47-17=30 Exploring Operation: 6+47=53, Resulting Numbers: [17, 53] Generated Node #0,4,4: 30:[17, 53] Operation: 6+47=53 Moving to Node #0,4,3 Current State: 30:[6, 30], Operations: ['89-42=47', '47-17=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,30 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[17, 41], Operations: ['89-42=47', '47-6=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,30 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,30 unequal: No Solution Moving to Node #0,4,0 Current State: 30:[47, 11], Operations: ['89-42=47', '17-6=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[47, 23], Operations: ['89-42=47', '6+17=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,30 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[17, 53], Operations: ['89-42=47', '6+47=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,30 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,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,2 Current State: 30:[6, 42, 72], Operations: ['89-17=72'] Exploring Operation: 72-42=30, Resulting Numbers: [6, 30] Generated Node #0,2,0: 30:[6, 30] Operation: 72-42=30 Exploring Operation: 42-6=36, Resulting Numbers: [72, 36] Generated Node #0,2,1: 30:[72, 36] Operation: 42-6=36 Exploring Operation: 72/6=12, Resulting Numbers: [42, 12] Generated Node #0,2,2: 30:[42, 12] Operation: 72/6=12 Exploring Operation: 42/6=7, Resulting Numbers: [72, 7] Generated Node #0,2,3: 30:[72, 7] Operation: 42/6=7 Exploring Operation: 72-6=66, Resulting Numbers: [42, 66] Generated Node #0,2,4: 30:[42, 66] Operation: 72-6=66 Moving to Node #0,2,0 Current State: 30:[6, 30], Operations: ['89-17=72', '72-42=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,30 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[42, 12], Operations: ['89-17=72', '72/6=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,30 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[89, 6, 17, 42], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [6, 42, 72] Generated Node #0,2: 30:[6, 42, 72] Operation: 89-17=72 Moving to Node #0,2 Current State: 30:[6, 42, 72], Operations: ['89-17=72'] Exploring Operation: 72/6=12, Resulting Numbers: [42, 12] Generated Node #0,2,2: 30:[42, 12] Operation: 72/6=12 Moving to Node #0,2,2 Current State: 30:[42, 12], Operations: ['89-17=72', '72/6=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 75, 14, 76, 51 ]
11
[ "76-51=25", "75/25=3", "14-3=11" ]
Current State: 11:[75, 14, 76, 51], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [75, 14, 25] Generated Node #2: [75, 14, 25] from Operation: 76-51=25 Current State: 11:[75, 14, 25], Operations: ['76-51=25'] Exploring Operation: 75/25=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 75/25=3 Current State: 11:[14, 3], Operations: ['76-51=25', '75/25=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[75, 14, 76, 51], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [14, 76, 24] Generated Node #0,0: 11:[14, 76, 24] Operation: 75-51=24 Exploring Operation: 76-51=25, Resulting Numbers: [75, 14, 25] Generated Node #0,1: 11:[75, 14, 25] Operation: 76-51=25 Exploring Operation: 76-75=1, Resulting Numbers: [14, 51, 1] Generated Node #0,2: 11:[14, 51, 1] Operation: 76-75=1 Moving to Node #0,2 Current State: 11:[14, 51, 1], Operations: ['76-75=1'] Exploring Operation: 14-1=13, Resulting Numbers: [51, 13] Generated Node #0,2,0: 11:[51, 13] Operation: 14-1=13 Exploring Operation: 51-1=50, Resulting Numbers: [14, 50] Generated Node #0,2,1: 11:[14, 50] Operation: 51-1=50 Exploring Operation: 51-14=37, Resulting Numbers: [1, 37] Generated Node #0,2,2: 11:[1, 37] Operation: 51-14=37 Moving to Node #0,0 Current State: 11:[14, 76, 24], Operations: ['75-51=24'] Exploring Operation: 24-14=10, Resulting Numbers: [76, 10] Generated Node #0,0,0: 11:[76, 10] Operation: 24-14=10 Exploring Operation: 76-14=62, Resulting Numbers: [24, 62] Generated Node #0,0,1: 11:[24, 62] Operation: 76-14=62 Exploring Operation: 76-24=52, Resulting Numbers: [14, 52] Generated Node #0,0,2: 11:[14, 52] Operation: 76-24=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[14, 52], Operations: ['75-51=24', '76-24=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[24, 62], Operations: ['75-51=24', '76-14=62'] Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,11 unequal: No Solution Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[76, 10], Operations: ['75-51=24', '24-14=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,11 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,11 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: 11:[75, 14, 25], Operations: ['76-51=25'] Exploring Operation: 75-14=61, Resulting Numbers: [25, 61] Generated Node #0,1,0: 11:[25, 61] Operation: 75-14=61 Exploring Operation: 75/25=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 11:[14, 3] Operation: 75/25=3 Exploring Operation: 75-25=50, Resulting Numbers: [14, 50] Generated Node #0,1,2: 11:[14, 50] Operation: 75-25=50 Moving to Node #0,1,1 Current State: 11:[14, 3], Operations: ['76-51=25', '75/25=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[75, 14, 76, 51], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [75, 14, 25] Generated Node #0,1: 11:[75, 14, 25] Operation: 76-51=25 Moving to Node #0,1 Current State: 11:[75, 14, 25], Operations: ['76-51=25'] Exploring Operation: 75/25=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 11:[14, 3] Operation: 75/25=3 Moving to Node #0,1,1 Current State: 11:[14, 3], Operations: ['76-51=25', '75/25=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 58, 20, 13, 37 ]
31
[ "58+20=78", "78/13=6", "37-6=31" ]
Current State: 31:[58, 20, 13, 37], Operations: [] Exploring Operation: 58+20=78, Resulting Numbers: [13, 37, 78] Generated Node #2: [13, 37, 78] from Operation: 58+20=78 Current State: 31:[13, 37, 78], Operations: ['58+20=78'] Exploring Operation: 78/13=6, Resulting Numbers: [37, 6] Generated Node #3: [37, 6] from Operation: 78/13=6 Current State: 31:[37, 6], Operations: ['58+20=78', '78/13=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[58, 20, 13, 37], Operations: [] Exploring Operation: 58-37=21, Resulting Numbers: [20, 13, 21] Generated Node #0,0: 31:[20, 13, 21] Operation: 58-37=21 Exploring Operation: 58-13=45, Resulting Numbers: [20, 37, 45] Generated Node #0,1: 31:[20, 37, 45] Operation: 58-13=45 Exploring Operation: 20+13=33, Resulting Numbers: [58, 37, 33] Generated Node #0,2: 31:[58, 37, 33] Operation: 20+13=33 Exploring Operation: 37-13=24, Resulting Numbers: [58, 20, 24] Generated Node #0,3: 31:[58, 20, 24] Operation: 37-13=24 Exploring Operation: 58-20=38, Resulting Numbers: [13, 37, 38] Generated Node #0,4: 31:[13, 37, 38] Operation: 58-20=38 Moving to Node #0,1 Current State: 31:[20, 37, 45], Operations: ['58-13=45'] Exploring Operation: 20+45=65, Resulting Numbers: [37, 65] Generated Node #0,1,0: 31:[37, 65] Operation: 20+45=65 Exploring Operation: 20+37=57, Resulting Numbers: [45, 57] Generated Node #0,1,1: 31:[45, 57] Operation: 20+37=57 Exploring Operation: 45-37=8, Resulting Numbers: [20, 8] Generated Node #0,1,2: 31:[20, 8] Operation: 45-37=8 Exploring Operation: 45-20=25, Resulting Numbers: [37, 25] Generated Node #0,1,3: 31:[37, 25] Operation: 45-20=25 Exploring Operation: 37-20=17, Resulting Numbers: [45, 17] Generated Node #0,1,4: 31:[45, 17] Operation: 37-20=17 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 31:[37, 25], Operations: ['58-13=45', '45-20=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 31:[45, 17], Operations: ['58-13=45', '37-20=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,31 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[20, 8], Operations: ['58-13=45', '45-37=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,31 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[37, 65], Operations: ['58-13=45', '20+45=65'] Exploring Operation: 37*65=2405, Resulting Numbers: [2405] 2405,31 unequal: No Solution Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[45, 57], Operations: ['58-13=45', '20+37=57'] Exploring Operation: 45*57=2565, Resulting Numbers: [2565] 2565,31 unequal: No Solution Exploring Operation: 45+57=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,31 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: 31:[13, 37, 38], Operations: ['58-20=38'] Exploring Operation: 13+37=50, Resulting Numbers: [38, 50] Generated Node #0,4,0: 31:[38, 50] Operation: 13+37=50 Exploring Operation: 37-13=24, Resulting Numbers: [38, 24] Generated Node #0,4,1: 31:[38, 24] Operation: 37-13=24 Exploring Operation: 38-37=1, Resulting Numbers: [13, 1] Generated Node #0,4,2: 31:[13, 1] Operation: 38-37=1 Exploring Operation: 13+38=51, Resulting Numbers: [37, 51] Generated Node #0,4,3: 31:[37, 51] Operation: 13+38=51 Exploring Operation: 38-13=25, Resulting Numbers: [37, 25] Generated Node #0,4,4: 31:[37, 25] Operation: 38-13=25 Moving to Node #0,2 Current State: 31:[58, 37, 33], Operations: ['20+13=33'] Exploring Operation: 58+37=95, Resulting Numbers: [33, 95] Generated Node #0,2,0: 31:[33, 95] Operation: 58+37=95 Exploring Operation: 58-37=21, Resulting Numbers: [33, 21] Generated Node #0,2,1: 31:[33, 21] Operation: 58-37=21 Exploring Operation: 58-33=25, Resulting Numbers: [37, 25] Generated Node #0,2,2: 31:[37, 25] Operation: 58-33=25 Exploring Operation: 37-33=4, Resulting Numbers: [58, 4] Generated Node #0,2,3: 31:[58, 4] Operation: 37-33=4 Exploring Operation: 58+33=91, Resulting Numbers: [37, 91] Generated Node #0,2,4: 31:[37, 91] Operation: 58+33=91 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[33, 21], Operations: ['20+13=33', '58-37=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[37, 25], Operations: ['20+13=33', '58-33=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,31 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[58, 4], Operations: ['20+13=33', '37-33=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,31 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[33, 95], Operations: ['20+13=33', '58+37=95'] Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,31 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 31:[37, 91], Operations: ['20+13=33', '58+33=91'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,31 unequal: No Solution Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,31 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: 31:[20, 13, 21], Operations: ['58-37=21'] Exploring Operation: 20-13=7, Resulting Numbers: [21, 7] Generated Node #0,0,0: 31:[21, 7] Operation: 20-13=7 Exploring Operation: 13+21=34, Resulting Numbers: [20, 34] Generated Node #0,0,1: 31:[20, 34] Operation: 13+21=34 Exploring Operation: 21-13=8, Resulting Numbers: [20, 8] Generated Node #0,0,2: 31:[20, 8] Operation: 21-13=8 Exploring Operation: 20+21=41, Resulting Numbers: [13, 41] Generated Node #0,0,3: 31:[13, 41] Operation: 20+21=41 Exploring Operation: 20+13=33, Resulting Numbers: [21, 33] Generated Node #0,0,4: 31:[21, 33] Operation: 20+13=33 Moving to Node #0,3 Current State: 31:[58, 20, 24], Operations: ['37-13=24'] Exploring Operation: 24-20=4, Resulting Numbers: [58, 4] Generated Node #0,3,0: 31:[58, 4] Operation: 24-20=4 Exploring Operation: 58-24=34, Resulting Numbers: [20, 34] Generated Node #0,3,1: 31:[20, 34] Operation: 58-24=34 Exploring Operation: 58+20=78, Resulting Numbers: [24, 78] Generated Node #0,3,2: 31:[24, 78] Operation: 58+20=78 Exploring Operation: 58-20=38, Resulting Numbers: [24, 38] Generated Node #0,3,3: 31:[24, 38] Operation: 58-20=38 Exploring Operation: 20+24=44, Resulting Numbers: [58, 44] Generated Node #0,3,4: 31:[58, 44] Operation: 20+24=44 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[20, 34], Operations: ['37-13=24', '58-24=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,31 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[24, 38], Operations: ['37-13=24', '58-20=38'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,31 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 31:[58, 44], Operations: ['37-13=24', '20+24=44'] Exploring Operation: 58*44=2552, Resulting Numbers: [2552] 2552,31 unequal: No Solution Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[58, 4], Operations: ['37-13=24', '24-20=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,31 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[24, 78], Operations: ['37-13=24', '58+20=78'] Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 31:[37, 25], Operations: ['58-20=38', '38-13=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,31 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[21, 33], Operations: ['58-37=21', '20+13=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[20, 34], Operations: ['58-37=21', '13+21=34'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,31 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,4,1 Current State: 31:[38, 24], Operations: ['58-20=38', '37-13=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[38, 50], Operations: ['58-20=38', '13+37=50'] Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,31 unequal: No Solution Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,4,3 Current State: 31:[37, 51], Operations: ['58-20=38', '13+38=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,31 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[13, 41], Operations: ['58-37=21', '20+21=41'] Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,31 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[21, 7], Operations: ['58-37=21', '20-13=7'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,31 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[20, 8], Operations: ['58-37=21', '21-13=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,31 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,31 unequal: No Solution Moving to Node #0,4,2 Current State: 31:[13, 1], Operations: ['58-20=38', '38-37=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 72, 51, 18 ]
58
[ "28*18=504", "504/72=7", "51+7=58" ]
Current State: 58:[28, 72, 51, 18], Operations: [] Exploring Operation: 28*18=504, Resulting Numbers: [72, 51, 504] Generated Node #2: [72, 51, 504] from Operation: 28*18=504 Current State: 58:[72, 51, 504], Operations: ['28*18=504'] Exploring Operation: 504/72=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 504/72=7 Current State: 58:[51, 7], Operations: ['28*18=504', '504/72=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[28, 72, 51, 18], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [28, 72, 33] Generated Node #0,0: 58:[28, 72, 33] Operation: 51-18=33 Exploring Operation: 72/18=4, Resulting Numbers: [28, 51, 4] Generated Node #0,1: 58:[28, 51, 4] Operation: 72/18=4 Exploring Operation: 51+18=69, Resulting Numbers: [28, 72, 69] Generated Node #0,2: 58:[28, 72, 69] Operation: 51+18=69 Exploring Operation: 72-18=54, Resulting Numbers: [28, 51, 54] Generated Node #0,3: 58:[28, 51, 54] Operation: 72-18=54 Exploring Operation: 72-51=21, Resulting Numbers: [28, 18, 21] Generated Node #0,4: 58:[28, 18, 21] Operation: 72-51=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[28, 51, 4], Operations: ['72/18=4'] Exploring Operation: 28+4=32, Resulting Numbers: [51, 32] Generated Node #0,1,0: 58:[51, 32] Operation: 28+4=32 Exploring Operation: 28/4=7, Resulting Numbers: [51, 7] Generated Node #0,1,1: 58:[51, 7] Operation: 28/4=7 Exploring Operation: 51-28=23, Resulting Numbers: [4, 23] Generated Node #0,1,2: 58:[4, 23] Operation: 51-28=23 Exploring Operation: 28-4=24, Resulting Numbers: [51, 24] Generated Node #0,1,3: 58:[51, 24] Operation: 28-4=24 Exploring Operation: 51+4=55, Resulting Numbers: [28, 55] Generated Node #0,1,4: 58:[28, 55] Operation: 51+4=55 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 58:[28, 55], Operations: ['72/18=4', '51+4=55'] Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,58 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,58 unequal: No Solution No 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: 58:[4, 23], Operations: ['72/18=4', '51-28=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,58 unequal: No Solution No 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: 58:[51, 32], Operations: ['72/18=4', '28+4=32'] Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,58 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,58 unequal: No Solution No 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: 58:[51, 7], Operations: ['72/18=4', '28/4=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,58 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[28, 72, 51, 18], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [28, 51, 4] Generated Node #0,1: 58:[28, 51, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 58:[28, 51, 4], Operations: ['72/18=4'] Exploring Operation: 28/4=7, Resulting Numbers: [51, 7] Generated Node #0,1,1: 58:[51, 7] Operation: 28/4=7 Moving to Node #0,1,1 Current State: 58:[51, 7], Operations: ['72/18=4', '28/4=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 5, 65, 3, 20 ]
23
[ "20/5=4", "65+4=69", "69/3=23" ]
Current State: 23:[5, 65, 3, 20], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [65, 3, 4] Generated Node #2: [65, 3, 4] from Operation: 20/5=4 Current State: 23:[65, 3, 4], Operations: ['20/5=4'] Exploring Operation: 65+4=69, Resulting Numbers: [3, 69] Generated Node #3: [3, 69] from Operation: 65+4=69 Current State: 23:[3, 69], Operations: ['20/5=4', '65+4=69'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[5, 65, 3, 20], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [3, 20, 13] Generated Node #0,0: 23:[3, 20, 13] Operation: 65/5=13 Exploring Operation: 65-5=60, Resulting Numbers: [3, 20, 60] Generated Node #0,1: 23:[3, 20, 60] Operation: 65-5=60 Exploring Operation: 5+3=8, Resulting Numbers: [65, 20, 8] Generated Node #0,2: 23:[65, 20, 8] Operation: 5+3=8 Exploring Operation: 5*3=15, Resulting Numbers: [65, 20, 15] Generated Node #0,3: 23:[65, 20, 15] Operation: 5*3=15 Moving to Node #0,0 Current State: 23:[3, 20, 13], Operations: ['65/5=13'] Exploring Operation: 3+13=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 23:[20, 16] Operation: 3+13=16 Exploring Operation: 20-3=17, Resulting Numbers: [13, 17] Generated Node #0,0,1: 23:[13, 17] Operation: 20-3=17 Exploring Operation: 3+20=23, Resulting Numbers: [13, 23] Generated Node #0,0,2: 23:[13, 23] Operation: 3+20=23 Exploring Operation: 13-3=10, Resulting Numbers: [20, 10] Generated Node #0,0,3: 23:[20, 10] Operation: 13-3=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[20, 16], Operations: ['65/5=13', '3+13=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,23 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,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:[13, 23], Operations: ['65/5=13', '3+20=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,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:[13, 17], Operations: ['65/5=13', '20-3=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,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:[20, 10], Operations: ['65/5=13', '13-3=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,23 unequal: No Solution Exploring Operation: 20-10=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:[65, 20, 15], Operations: ['5*3=15'] Exploring Operation: 65-15=50, Resulting Numbers: [20, 50] Generated Node #0,3,0: 23:[20, 50] Operation: 65-15=50 Exploring Operation: 20+15=35, Resulting Numbers: [65, 35] Generated Node #0,3,1: 23:[65, 35] Operation: 20+15=35 Exploring Operation: 65+15=80, Resulting Numbers: [20, 80] Generated Node #0,3,2: 23:[20, 80] Operation: 65+15=80 Exploring Operation: 65-20=45, Resulting Numbers: [15, 45] Generated Node #0,3,3: 23:[15, 45] Operation: 65-20=45 Moving to Node #0,2 Current State: 23:[65, 20, 8], Operations: ['5+3=8'] Exploring Operation: 65+8=73, Resulting Numbers: [20, 73] Generated Node #0,2,0: 23:[20, 73] Operation: 65+8=73 Exploring Operation: 65-8=57, Resulting Numbers: [20, 57] Generated Node #0,2,1: 23:[20, 57] Operation: 65-8=57 Exploring Operation: 65-20=45, Resulting Numbers: [8, 45] Generated Node #0,2,2: 23:[8, 45] Operation: 65-20=45 Exploring Operation: 20+8=28, Resulting Numbers: [65, 28] Generated Node #0,2,3: 23:[65, 28] Operation: 20+8=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[20, 57], Operations: ['5+3=8', '65-8=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,23 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,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,2 Current State: 23:[8, 45], Operations: ['5+3=8', '65-20=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,23 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,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:[65, 28], Operations: ['5+3=8', '20+8=28'] Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,23 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,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:[20, 73], Operations: ['5+3=8', '65+8=73'] Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,23 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,23 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: 23:[3, 20, 60], Operations: ['65-5=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20, 20] Generated Node #0,1,0: 23:[20, 20] Operation: 60/3=20 Exploring Operation: 60-20=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 23:[3, 40] Operation: 60-20=40 Exploring Operation: 3+20=23, Resulting Numbers: [60, 23] Generated Node #0,1,2: 23:[60, 23] Operation: 3+20=23 Exploring Operation: 60-3=57, Resulting Numbers: [20, 57] Generated Node #0,1,3: 23:[20, 57] Operation: 60-3=57 Moving to Node #0,1,0 Current State: 23:[20, 20], Operations: ['65-5=60', '60/3=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,23 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[20, 50], Operations: ['5*3=15', '65-15=50'] Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,23 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[15, 45], Operations: ['5*3=15', '65-20=45'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[3, 40], Operations: ['65-5=60', '60-20=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[20, 57], Operations: ['65-5=60', '60-3=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,23 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[60, 23], Operations: ['65-5=60', '3+20=23'] Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,23 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[65, 35], Operations: ['5*3=15', '20+15=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,23 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[20, 80], Operations: ['5*3=15', '65+15=80'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 20*80=1600, Resulting Numbers: [1600] 1600,23 unequal: No Solution Exploring Operation: 20+80=100, Resulting Numbers: [100] 100,23 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 1, 52, 96 ]
77
[ "34-1=33", "96-52=44", "33+44=77" ]
Current State: 77:[34, 1, 52, 96], Operations: [] Exploring Operation: 34-1=33, Resulting Numbers: [52, 96, 33] Generated Node #2: [52, 96, 33] from Operation: 34-1=33 Current State: 77:[52, 96, 33], Operations: ['34-1=33'] Exploring Operation: 96-52=44, Resulting Numbers: [33, 44] Generated Node #3: [33, 44] from Operation: 96-52=44 Current State: 77:[33, 44], Operations: ['34-1=33', '96-52=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[34, 1, 52, 96], Operations: [] Exploring Operation: 96-52=44, Resulting Numbers: [34, 1, 44] Generated Node #0,0: 77:[34, 1, 44] Operation: 96-52=44 Exploring Operation: 96-34=62, Resulting Numbers: [1, 52, 62] Generated Node #0,1: 77:[1, 52, 62] Operation: 96-34=62 Exploring Operation: 52-34=18, Resulting Numbers: [1, 96, 18] Generated Node #0,2: 77:[1, 96, 18] Operation: 52-34=18 Exploring Operation: 34-1=33, Resulting Numbers: [52, 96, 33] Generated Node #0,3: 77:[52, 96, 33] Operation: 34-1=33 Exploring Operation: 34+52=86, Resulting Numbers: [1, 96, 86] Generated Node #0,4: 77:[1, 96, 86] Operation: 34+52=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[1, 96, 18], Operations: ['52-34=18'] Exploring Operation: 96/1=96, Resulting Numbers: [18, 96] Generated Node #0,2,0: 77:[18, 96] Operation: 96/1=96 Exploring Operation: 18-1=17, Resulting Numbers: [96, 17] Generated Node #0,2,1: 77:[96, 17] Operation: 18-1=17 Exploring Operation: 96-18=78, Resulting Numbers: [1, 78] Generated Node #0,2,2: 77:[1, 78] Operation: 96-18=78 Exploring Operation: 96-1=95, Resulting Numbers: [18, 95] Generated Node #0,2,3: 77:[18, 95] Operation: 96-1=95 Exploring Operation: 1*96=96, Resulting Numbers: [18, 96] Generated Node #0,2,4: 77:[18, 96] Operation: 1*96=96 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[1, 78], Operations: ['52-34=18', '96-18=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[34, 1, 52, 96], Operations: [] Exploring Operation: 52-34=18, Resulting Numbers: [1, 96, 18] Generated Node #0,2: 77:[1, 96, 18] Operation: 52-34=18 Moving to Node #0,2 Current State: 77:[1, 96, 18], Operations: ['52-34=18'] Exploring Operation: 96-18=78, Resulting Numbers: [1, 78] Generated Node #0,2,2: 77:[1, 78] Operation: 96-18=78 Moving to Node #0,2,2 Current State: 77:[1, 78], Operations: ['52-34=18', '96-18=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 16, 87, 94, 25 ]
87
[ "94-87=7", "16*7=112", "112-25=87" ]
Current State: 87:[16, 87, 94, 25], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [16, 25, 7] Generated Node #2: [16, 25, 7] from Operation: 94-87=7 Current State: 87:[16, 25, 7], Operations: ['94-87=7'] Exploring Operation: 16*7=112, Resulting Numbers: [25, 112] Generated Node #3: [25, 112] from Operation: 16*7=112 Current State: 87:[25, 112], Operations: ['94-87=7', '16*7=112'] Exploring Operation: 112-25=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[16, 87, 94, 25], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [87, 25, 78] Generated Node #0,0: 87:[87, 25, 78] Operation: 94-16=78 Exploring Operation: 25-16=9, Resulting Numbers: [87, 94, 9] Generated Node #0,1: 87:[87, 94, 9] Operation: 25-16=9 Exploring Operation: 16+25=41, Resulting Numbers: [87, 94, 41] Generated Node #0,2: 87:[87, 94, 41] Operation: 16+25=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[87, 25, 78], Operations: ['94-16=78'] Exploring Operation: 25+78=103, Resulting Numbers: [87, 103] Generated Node #0,0,0: 87:[87, 103] Operation: 25+78=103 Exploring Operation: 78-25=53, Resulting Numbers: [87, 53] Generated Node #0,0,1: 87:[87, 53] Operation: 78-25=53 Exploring Operation: 87-78=9, Resulting Numbers: [25, 9] Generated Node #0,0,2: 87:[25, 9] Operation: 87-78=9 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[25, 9], Operations: ['94-16=78', '87-78=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,87 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[87, 103], Operations: ['94-16=78', '25+78=103'] Exploring Operation: 103-87=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 87*103=8961, Resulting Numbers: [8961] 8961,87 unequal: No Solution Exploring Operation: 87+103=190, Resulting Numbers: [190] 190,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[87, 53], Operations: ['94-16=78', '78-25=53'] Exploring Operation: 87*53=4611, Resulting Numbers: [4611] 4611,87 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 87+53=140, Resulting Numbers: [140] 140,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[87, 94, 9], Operations: ['25-16=9'] Exploring Operation: 94-9=85, Resulting Numbers: [87, 85] Generated Node #0,1,0: 87:[87, 85] Operation: 94-9=85 Exploring Operation: 94-87=7, Resulting Numbers: [9, 7] Generated Node #0,1,1: 87:[9, 7] Operation: 94-87=7 Exploring Operation: 87+9=96, Resulting Numbers: [94, 96] Generated Node #0,1,2: 87:[94, 96] Operation: 87+9=96 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[87, 85], Operations: ['25-16=9', '94-9=85'] Exploring Operation: 87+85=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 87*85=7395, Resulting Numbers: [7395] 7395,87 unequal: No Solution Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[9, 7], Operations: ['25-16=9', '94-87=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[94, 96], Operations: ['25-16=9', '87+9=96'] Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,87 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[87, 94, 41], Operations: ['16+25=41'] Exploring Operation: 94-41=53, Resulting Numbers: [87, 53] Generated Node #0,2,0: 87:[87, 53] Operation: 94-41=53 Exploring Operation: 94-87=7, Resulting Numbers: [41, 7] Generated Node #0,2,1: 87:[41, 7] Operation: 94-87=7 Exploring Operation: 87-41=46, Resulting Numbers: [94, 46] Generated Node #0,2,2: 87:[94, 46] Operation: 87-41=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[41, 7], Operations: ['16+25=41', '94-87=7'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[87, 53], Operations: ['16+25=41', '94-41=53'] Exploring Operation: 87+53=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 87*53=4611, Resulting Numbers: [4611] 4611,87 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[94, 46], Operations: ['16+25=41', '87-41=46'] Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,87 unequal: No Solution Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 34, 17, 63, 98 ]
14
[ "34/17=2", "98/2=49", "63-49=14" ]
Current State: 14:[34, 17, 63, 98], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [63, 98, 2] Generated Node #2: [63, 98, 2] from Operation: 34/17=2 Current State: 14:[63, 98, 2], Operations: ['34/17=2'] Exploring Operation: 98/2=49, Resulting Numbers: [63, 49] Generated Node #3: [63, 49] from Operation: 98/2=49 Current State: 14:[63, 49], Operations: ['34/17=2', '98/2=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[34, 17, 63, 98], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [34, 17, 35] Generated Node #0,0: 14:[34, 17, 35] Operation: 98-63=35 Exploring Operation: 34/17=2, Resulting Numbers: [63, 98, 2] Generated Node #0,1: 14:[63, 98, 2] Operation: 34/17=2 Exploring Operation: 63-34=29, Resulting Numbers: [17, 98, 29] Generated Node #0,2: 14:[17, 98, 29] Operation: 63-34=29 Exploring Operation: 98-34=64, Resulting Numbers: [17, 63, 64] Generated Node #0,3: 14:[17, 63, 64] Operation: 98-34=64 Moving to Node #0,0 Current State: 14:[34, 17, 35], Operations: ['98-63=35'] Exploring Operation: 35-17=18, Resulting Numbers: [34, 18] Generated Node #0,0,0: 14:[34, 18] Operation: 35-17=18 Exploring Operation: 34-17=17, Resulting Numbers: [35, 17] Generated Node #0,0,1: 14:[35, 17] Operation: 34-17=17 Exploring Operation: 35-34=1, Resulting Numbers: [17, 1] Generated Node #0,0,2: 14:[17, 1] Operation: 35-34=1 Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #0,0,3: 14:[35, 2] Operation: 34/17=2 Moving to Node #0,3 Current State: 14:[17, 63, 64], Operations: ['98-34=64'] Exploring Operation: 17+63=80, Resulting Numbers: [64, 80] Generated Node #0,3,0: 14:[64, 80] Operation: 17+63=80 Exploring Operation: 64-17=47, Resulting Numbers: [63, 47] Generated Node #0,3,1: 14:[63, 47] Operation: 64-17=47 Exploring Operation: 63-17=46, Resulting Numbers: [64, 46] Generated Node #0,3,2: 14:[64, 46] Operation: 63-17=46 Exploring Operation: 64-63=1, Resulting Numbers: [17, 1] Generated Node #0,3,3: 14:[17, 1] Operation: 64-63=1 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[17, 1], Operations: ['98-34=64', '64-63=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[63, 47], Operations: ['98-34=64', '64-17=47'] Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,14 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,14 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[64, 46], Operations: ['98-34=64', '63-17=46'] Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,14 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,14 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[64, 80], Operations: ['98-34=64', '17+63=80'] Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,14 unequal: No Solution Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,14 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[17, 98, 29], Operations: ['63-34=29'] Exploring Operation: 98-17=81, Resulting Numbers: [29, 81] Generated Node #0,2,0: 14:[29, 81] Operation: 98-17=81 Exploring Operation: 29-17=12, Resulting Numbers: [98, 12] Generated Node #0,2,1: 14:[98, 12] Operation: 29-17=12 Exploring Operation: 17+98=115, Resulting Numbers: [29, 115] Generated Node #0,2,2: 14:[29, 115] Operation: 17+98=115 Exploring Operation: 98-29=69, Resulting Numbers: [17, 69] Generated Node #0,2,3: 14:[17, 69] Operation: 98-29=69 Moving to Node #0,1 Current State: 14:[63, 98, 2], Operations: ['34/17=2'] Exploring Operation: 63-2=61, Resulting Numbers: [98, 61] Generated Node #0,1,0: 14:[98, 61] Operation: 63-2=61 Exploring Operation: 98-63=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 14:[2, 35] Operation: 98-63=35 Exploring Operation: 98/2=49, Resulting Numbers: [63, 49] Generated Node #0,1,2: 14:[63, 49] Operation: 98/2=49 Exploring Operation: 98-2=96, Resulting Numbers: [63, 96] Generated Node #0,1,3: 14:[63, 96] Operation: 98-2=96 Moving to Node #0,0,2 Current State: 14:[17, 1], Operations: ['98-63=35', '35-34=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[35, 2], Operations: ['98-63=35', '34/17=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[2, 35], Operations: ['34/17=2', '98-63=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[34, 18], Operations: ['98-63=35', '35-17=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,14 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[35, 17], Operations: ['98-63=35', '34-17=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,14 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[17, 69], Operations: ['63-34=29', '98-29=69'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 17*69=1173, Resulting Numbers: [1173] 1173,14 unequal: No Solution Exploring Operation: 17+69=86, Resulting Numbers: [86] 86,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[29, 81], Operations: ['63-34=29', '98-17=81'] Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,14 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[63, 49], Operations: ['34/17=2', '98/2=49'] Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,14 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,14 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[34, 17, 63, 98], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [63, 98, 2] Generated Node #0,1: 14:[63, 98, 2] Operation: 34/17=2 Moving to Node #0,1 Current State: 14:[63, 98, 2], Operations: ['34/17=2'] Exploring Operation: 98/2=49, Resulting Numbers: [63, 49] Generated Node #0,1,2: 14:[63, 49] Operation: 98/2=49 Moving to Node #0,1,2 Current State: 14:[63, 49], Operations: ['34/17=2', '98/2=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 49, 94, 7, 98 ]
11
[ "49/7=7", "98-94=4", "7+4=11" ]
Current State: 11:[49, 94, 7, 98], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [94, 98, 7] Generated Node #2: [94, 98, 7] from Operation: 49/7=7 Current State: 11:[94, 98, 7], Operations: ['49/7=7'] Exploring Operation: 98-94=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 98-94=4 Current State: 11:[7, 4], Operations: ['49/7=7', '98-94=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[49, 94, 7, 98], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [49, 7, 4] Generated Node #0,0: 11:[49, 7, 4] Operation: 98-94=4 Exploring Operation: 98/7=14, Resulting Numbers: [49, 94, 14] Generated Node #0,1: 11:[49, 94, 14] Operation: 98/7=14 Exploring Operation: 98/49=2, Resulting Numbers: [94, 7, 2] Generated Node #0,2: 11:[94, 7, 2] Operation: 98/49=2 Moving to Node #0,0 Current State: 11:[49, 7, 4], Operations: ['98-94=4'] Exploring Operation: 49-7=42, Resulting Numbers: [4, 42] Generated Node #0,0,0: 11:[4, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 11:[4, 7] Operation: 49/7=7 Exploring Operation: 49-4=45, Resulting Numbers: [7, 45] Generated Node #0,0,2: 11:[7, 45] Operation: 49-4=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[4, 7], Operations: ['98-94=4', '49/7=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[49, 94, 7, 98], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [49, 7, 4] Generated Node #0,0: 11:[49, 7, 4] Operation: 98-94=4 Moving to Node #0,0 Current State: 11:[49, 7, 4], Operations: ['98-94=4'] Exploring Operation: 49/7=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 11:[4, 7] Operation: 49/7=7 Moving to Node #0,0,1 Current State: 11:[4, 7], Operations: ['98-94=4', '49/7=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 99, 5, 83, 78 ]
99
[ "99+5=104", "83-78=5", "104-5=99" ]
Current State: 99:[99, 5, 83, 78], Operations: [] Exploring Operation: 99+5=104, Resulting Numbers: [83, 78, 104] Generated Node #2: [83, 78, 104] from Operation: 99+5=104 Current State: 99:[83, 78, 104], Operations: ['99+5=104'] Exploring Operation: 83-78=5, Resulting Numbers: [104, 5] Generated Node #3: [104, 5] from Operation: 83-78=5 Current State: 99:[104, 5], Operations: ['99+5=104', '83-78=5'] Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[99, 5, 83, 78], Operations: [] Exploring Operation: 5+83=88, Resulting Numbers: [99, 78, 88] Generated Node #0,0: 99:[99, 78, 88] Operation: 5+83=88 Exploring Operation: 99-78=21, Resulting Numbers: [5, 83, 21] Generated Node #0,1: 99:[5, 83, 21] Operation: 99-78=21 Exploring Operation: 83-78=5, Resulting Numbers: [99, 5, 5] Generated Node #0,2: 99:[99, 5, 5] Operation: 83-78=5 Exploring Operation: 99-83=16, Resulting Numbers: [5, 78, 16] Generated Node #0,3: 99:[5, 78, 16] Operation: 99-83=16 Moving to Node #0,2 Current State: 99:[99, 5, 5], Operations: ['83-78=5'] Exploring Operation: 99+5=104, Resulting Numbers: [5, 104] Generated Node #0,2,0: 99:[5, 104] Operation: 99+5=104 Exploring Operation: 5/5=1, Resulting Numbers: [99, 1] Generated Node #0,2,1: 99:[99, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [99, 0] Generated Node #0,2,2: 99:[99, 0] Operation: 5-5=0 Exploring Operation: 5+5=10, Resulting Numbers: [99, 10] Generated Node #0,2,3: 99:[99, 10] Operation: 5+5=10 Moving to Node #0,3 Current State: 99:[5, 78, 16], Operations: ['99-83=16'] Exploring Operation: 5+78=83, Resulting Numbers: [16, 83] Generated Node #0,3,0: 99:[16, 83] Operation: 5+78=83 Exploring Operation: 16-5=11, Resulting Numbers: [78, 11] Generated Node #0,3,1: 99:[78, 11] Operation: 16-5=11 Exploring Operation: 78+16=94, Resulting Numbers: [5, 94] Generated Node #0,3,2: 99:[5, 94] Operation: 78+16=94 Exploring Operation: 78-5=73, Resulting Numbers: [16, 73] Generated Node #0,3,3: 99:[16, 73] Operation: 78-5=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[5, 94], Operations: ['99-83=16', '78+16=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[99, 5, 83, 78], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [5, 78, 16] Generated Node #0,3: 99:[5, 78, 16] Operation: 99-83=16 Moving to Node #0,3 Current State: 99:[5, 78, 16], Operations: ['99-83=16'] Exploring Operation: 78+16=94, Resulting Numbers: [5, 94] Generated Node #0,3,2: 99:[5, 94] Operation: 78+16=94 Moving to Node #0,3,2 Current State: 99:[5, 94], Operations: ['99-83=16', '78+16=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 3, 57, 53, 82 ]
84
[ "57+53=110", "110-82=28", "3*28=84" ]
Current State: 84:[3, 57, 53, 82], Operations: [] Exploring Operation: 57+53=110, Resulting Numbers: [3, 82, 110] Generated Node #2: [3, 82, 110] from Operation: 57+53=110 Current State: 84:[3, 82, 110], Operations: ['57+53=110'] Exploring Operation: 110-82=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 110-82=28 Current State: 84:[3, 28], Operations: ['57+53=110', '110-82=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[3, 57, 53, 82], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [3, 82, 4] Generated Node #0,0: 84:[3, 82, 4] Operation: 57-53=4 Exploring Operation: 82-53=29, Resulting Numbers: [3, 57, 29] Generated Node #0,1: 84:[3, 57, 29] Operation: 82-53=29 Exploring Operation: 82-57=25, Resulting Numbers: [3, 53, 25] Generated Node #0,2: 84:[3, 53, 25] Operation: 82-57=25 Exploring Operation: 57/3=19, Resulting Numbers: [53, 82, 19] Generated Node #0,3: 84:[53, 82, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[3, 82, 4], Operations: ['57-53=4'] Exploring Operation: 3+82=85, Resulting Numbers: [4, 85] Generated Node #0,0,0: 84:[4, 85] Operation: 3+82=85 Exploring Operation: 82+4=86, Resulting Numbers: [3, 86] Generated Node #0,0,1: 84:[3, 86] Operation: 82+4=86 Exploring Operation: 3+4=7, Resulting Numbers: [82, 7] Generated Node #0,0,2: 84:[82, 7] Operation: 3+4=7 Exploring Operation: 3*4=12, Resulting Numbers: [82, 12] Generated Node #0,0,3: 84:[82, 12] Operation: 3*4=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[4, 85], Operations: ['57-53=4', '3+82=85'] Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,84 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,84 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,84 unequal: No Solution No 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: 84:[3, 86], Operations: ['57-53=4', '82+4=86'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,84 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,84 unequal: No Solution No 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: 84:[82, 7], Operations: ['57-53=4', '3+4=7'] Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,84 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,84 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,84 unequal: No Solution No 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: 84:[82, 12], Operations: ['57-53=4', '3*4=12'] Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,84 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: 84:[3, 53, 25], Operations: ['82-57=25'] Exploring Operation: 53+25=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 84:[3, 78] Operation: 53+25=78 Exploring Operation: 53-25=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 84:[3, 28] Operation: 53-25=28 Exploring Operation: 3+25=28, Resulting Numbers: [53, 28] Generated Node #0,2,2: 84:[53, 28] Operation: 3+25=28 Exploring Operation: 53-3=50, Resulting Numbers: [25, 50] Generated Node #0,2,3: 84:[25, 50] Operation: 53-3=50 Moving to Node #0,2,1 Current State: 84:[3, 28], Operations: ['82-57=25', '53-25=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[3, 57, 53, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [3, 53, 25] Generated Node #0,2: 84:[3, 53, 25] Operation: 82-57=25 Moving to Node #0,2 Current State: 84:[3, 53, 25], Operations: ['82-57=25'] Exploring Operation: 53-25=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 84:[3, 28] Operation: 53-25=28 Moving to Node #0,2,1 Current State: 84:[3, 28], Operations: ['82-57=25', '53-25=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 18, 4, 4, 64 ]
64
[ "4-4=0", "18*0=0", "64+0=64" ]
Current State: 64:[18, 4, 4, 64], Operations: [] Exploring Operation: 4-4=0, Resulting Numbers: [18, 64, 0] Generated Node #2: [18, 64, 0] from Operation: 4-4=0 Current State: 64:[18, 64, 0], Operations: ['4-4=0'] Exploring Operation: 18*0=0, Resulting Numbers: [64, 0] Generated Node #3: [64, 0] from Operation: 18*0=0 Current State: 64:[64, 0], Operations: ['4-4=0', '18*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[18, 4, 4, 64], Operations: [] Exploring Operation: 18-4=14, Resulting Numbers: [4, 64, 14] Generated Node #0,0: 64:[4, 64, 14] Operation: 18-4=14 Exploring Operation: 18-4=14, Resulting Numbers: [4, 64, 14] Generated Node #0,1: 64:[4, 64, 14] Operation: 18-4=14 Exploring Operation: 4+4=8, Resulting Numbers: [18, 64, 8] Generated Node #0,2: 64:[18, 64, 8] Operation: 4+4=8 Moving to Node #0,0 Current State: 64:[4, 64, 14], Operations: ['18-4=14'] Exploring Operation: 4+14=18, Resulting Numbers: [64, 18] Generated Node #0,0,0: 64:[64, 18] Operation: 4+14=18 Exploring Operation: 14-4=10, Resulting Numbers: [64, 10] Generated Node #0,0,1: 64:[64, 10] Operation: 14-4=10 Exploring Operation: 64/4=16, Resulting Numbers: [14, 16] Generated Node #0,0,2: 64:[14, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[64, 18], Operations: ['18-4=14', '4+14=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,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,0,1 Current State: 64:[64, 10], Operations: ['18-4=14', '14-4=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,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,0,2 Current State: 64:[14, 16], Operations: ['18-4=14', '64/4=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,64 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,64 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: 64:[4, 64, 14], Operations: ['18-4=14'] Exploring Operation: 14-4=10, Resulting Numbers: [64, 10] Generated Node #0,1,0: 64:[64, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [64, 18] Generated Node #0,1,1: 64:[64, 18] Operation: 4+14=18 Exploring Operation: 64/4=16, Resulting Numbers: [14, 16] Generated Node #0,1,2: 64:[14, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[64, 10], Operations: ['18-4=14', '14-4=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,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:[64, 18], Operations: ['18-4=14', '4+14=18'] Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,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,2 Current State: 64:[14, 16], Operations: ['18-4=14', '64/4=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,64 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,64 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: 64:[18, 64, 8], Operations: ['4+4=8'] Exploring Operation: 18+8=26, Resulting Numbers: [64, 26] Generated Node #0,2,0: 64:[64, 26] Operation: 18+8=26 Exploring Operation: 64/8=8, Resulting Numbers: [18, 8] Generated Node #0,2,1: 64:[18, 8] Operation: 64/8=8 Exploring Operation: 18-8=10, Resulting Numbers: [64, 10] Generated Node #0,2,2: 64:[64, 10] Operation: 18-8=10 Moving to Node #0,2,1 Current State: 64:[18, 8], Operations: ['4+4=8', '64/8=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[64, 10], Operations: ['4+4=8', '18-8=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,64 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[64, 26], Operations: ['4+4=8', '18+8=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,64 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 17, 21, 11 ]
34
[ "31+11=42", "17*42=714", "714/21=34" ]
Current State: 34:[31, 17, 21, 11], Operations: [] Exploring Operation: 31+11=42, Resulting Numbers: [17, 21, 42] Generated Node #2: [17, 21, 42] from Operation: 31+11=42 Current State: 34:[17, 21, 42], Operations: ['31+11=42'] Exploring Operation: 17*42=714, Resulting Numbers: [21, 714] Generated Node #3: [21, 714] from Operation: 17*42=714 Current State: 34:[21, 714], Operations: ['31+11=42', '17*42=714'] Exploring Operation: 714/21=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 17, 21, 11], Operations: [] Exploring Operation: 31-11=20, Resulting Numbers: [17, 21, 20] Generated Node #0,0: 34:[17, 21, 20] Operation: 31-11=20 Exploring Operation: 21+11=32, Resulting Numbers: [31, 17, 32] Generated Node #0,1: 34:[31, 17, 32] Operation: 21+11=32 Exploring Operation: 21-11=10, Resulting Numbers: [31, 17, 10] Generated Node #0,2: 34:[31, 17, 10] Operation: 21-11=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[31, 17, 32], Operations: ['21+11=32'] Exploring Operation: 32-31=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 34:[17, 1] Operation: 32-31=1 Exploring Operation: 31-17=14, Resulting Numbers: [32, 14] Generated Node #0,1,1: 34:[32, 14] Operation: 31-17=14 Exploring Operation: 32-17=15, Resulting Numbers: [31, 15] Generated Node #0,1,2: 34:[31, 15] Operation: 32-17=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[17, 1], Operations: ['21+11=32', '32-31=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[32, 14], Operations: ['21+11=32', '31-17=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,34 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[31, 15], Operations: ['21+11=32', '32-17=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,34 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[17, 21, 20], Operations: ['31-11=20'] Exploring Operation: 21-20=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 34:[17, 1] Operation: 21-20=1 Exploring Operation: 21-17=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 34:[20, 4] Operation: 21-17=4 Exploring Operation: 20-17=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 34:[21, 3] Operation: 20-17=3 Moving to Node #0,0,0 Current State: 34:[17, 1], Operations: ['31-11=20', '21-20=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[20, 4], Operations: ['31-11=20', '21-17=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[21, 3], Operations: ['31-11=20', '20-17=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,34 unequal: No Solution No 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: 34:[31, 17, 10], Operations: ['21-11=10'] Exploring Operation: 31-10=21, Resulting Numbers: [17, 21] Generated Node #0,2,0: 34:[17, 21] Operation: 31-10=21 Exploring Operation: 31+10=41, Resulting Numbers: [17, 41] Generated Node #0,2,1: 34:[17, 41] Operation: 31+10=41 Exploring Operation: 17-10=7, Resulting Numbers: [31, 7] Generated Node #0,2,2: 34:[31, 7] Operation: 17-10=7 Moving to Node #0,2,0 Current State: 34:[17, 21], Operations: ['21-11=10', '31-10=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[17, 41], Operations: ['21-11=10', '31+10=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[31, 7], Operations: ['21-11=10', '17-10=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,34 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,34 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
[ 60, 99, 9, 33 ]
17
[ "60-9=51", "99/33=3", "51/3=17" ]
Current State: 17:[60, 99, 9, 33], Operations: [] Exploring Operation: 60-9=51, Resulting Numbers: [99, 33, 51] Generated Node #2: [99, 33, 51] from Operation: 60-9=51 Current State: 17:[99, 33, 51], Operations: ['60-9=51'] Exploring Operation: 99/33=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 99/33=3 Current State: 17:[51, 3], Operations: ['60-9=51', '99/33=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[60, 99, 9, 33], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [9, 33, 39] Generated Node #0,0: 17:[9, 33, 39] Operation: 99-60=39 Exploring Operation: 99/33=3, Resulting Numbers: [60, 9, 3] Generated Node #0,1: 17:[60, 9, 3] Operation: 99/33=3 Exploring Operation: 60-33=27, Resulting Numbers: [99, 9, 27] Generated Node #0,2: 17:[99, 9, 27] Operation: 60-33=27 Exploring Operation: 99/9=11, Resulting Numbers: [60, 33, 11] Generated Node #0,3: 17:[60, 33, 11] Operation: 99/9=11 Moving to Node #0,0 Current State: 17:[9, 33, 39], Operations: ['99-60=39'] Exploring Operation: 9+33=42, Resulting Numbers: [39, 42] Generated Node #0,0,0: 17:[39, 42] Operation: 9+33=42 Exploring Operation: 39-9=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 17:[33, 30] Operation: 39-9=30 Exploring Operation: 39-33=6, Resulting Numbers: [9, 6] Generated Node #0,0,2: 17:[9, 6] Operation: 39-33=6 Exploring Operation: 33-9=24, Resulting Numbers: [39, 24] Generated Node #0,0,3: 17:[39, 24] Operation: 33-9=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[9, 6], Operations: ['99-60=39', '39-33=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[33, 30], Operations: ['99-60=39', '39-9=30'] Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,17 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[39, 24], Operations: ['99-60=39', '33-9=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[39, 42], Operations: ['99-60=39', '9+33=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,17 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 17:[60, 33, 11], Operations: ['99/9=11'] Exploring Operation: 60-11=49, Resulting Numbers: [33, 49] Generated Node #0,3,0: 17:[33, 49] Operation: 60-11=49 Exploring Operation: 33-11=22, Resulting Numbers: [60, 22] Generated Node #0,3,1: 17:[60, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [60, 3] Generated Node #0,3,2: 17:[60, 3] Operation: 33/11=3 Exploring Operation: 60-33=27, Resulting Numbers: [11, 27] Generated Node #0,3,3: 17:[11, 27] Operation: 60-33=27 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[11, 27], Operations: ['99/9=11', '60-33=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,17 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[33, 49], Operations: ['99/9=11', '60-11=49'] Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[60, 22], Operations: ['99/9=11', '33-11=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,17 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[60, 3], Operations: ['99/9=11', '33/11=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,17 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[60, 9, 3], Operations: ['99/33=3'] Exploring Operation: 9+3=12, Resulting Numbers: [60, 12] Generated Node #0,1,0: 17:[60, 12] Operation: 9+3=12 Exploring Operation: 60-9=51, Resulting Numbers: [3, 51] Generated Node #0,1,1: 17:[3, 51] Operation: 60-9=51 Exploring Operation: 60-3=57, Resulting Numbers: [9, 57] Generated Node #0,1,2: 17:[9, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [9, 20] Generated Node #0,1,3: 17:[9, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[9, 20], Operations: ['99/33=3', '60/3=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[60, 12], Operations: ['99/33=3', '9+3=12'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,17 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[3, 51], Operations: ['99/33=3', '60-9=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[60, 99, 9, 33], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [60, 9, 3] Generated Node #0,1: 17:[60, 9, 3] Operation: 99/33=3 Moving to Node #0,1 Current State: 17:[60, 9, 3], Operations: ['99/33=3'] Exploring Operation: 60-9=51, Resulting Numbers: [3, 51] Generated Node #0,1,1: 17:[3, 51] Operation: 60-9=51 Moving to Node #0,1,1 Current State: 17:[3, 51], Operations: ['99/33=3', '60-9=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 62, 12, 68, 86 ]
93
[ "86-68=18", "62*18=1116", "1116/12=93" ]
Current State: 93:[62, 12, 68, 86], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [62, 12, 18] Generated Node #2: [62, 12, 18] from Operation: 86-68=18 Current State: 93:[62, 12, 18], Operations: ['86-68=18'] Exploring Operation: 62*18=1116, Resulting Numbers: [12, 1116] Generated Node #3: [12, 1116] from Operation: 62*18=1116 Current State: 93:[12, 1116], Operations: ['86-68=18', '62*18=1116'] Exploring Operation: 1116/12=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[62, 12, 68, 86], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [12, 86, 6] Generated Node #0,0: 93:[12, 86, 6] Operation: 68-62=6 Exploring Operation: 62+12=74, Resulting Numbers: [68, 86, 74] Generated Node #0,1: 93:[68, 86, 74] Operation: 62+12=74 Exploring Operation: 86-62=24, Resulting Numbers: [12, 68, 24] Generated Node #0,2: 93:[12, 68, 24] Operation: 86-62=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[12, 86, 6], Operations: ['68-62=6'] Exploring Operation: 12+86=98, Resulting Numbers: [6, 98] Generated Node #0,0,0: 93:[6, 98] Operation: 12+86=98 Exploring Operation: 12-6=6, Resulting Numbers: [86, 6] Generated Node #0,0,1: 93:[86, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [86, 2] Generated Node #0,0,2: 93:[86, 2] Operation: 12/6=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[6, 98], Operations: ['68-62=6', '12+86=98'] Exploring Operation: 6+98=104, Resulting Numbers: [104] 104,93 unequal: No Solution Exploring Operation: 6*98=588, Resulting Numbers: [588] 588,93 unequal: No Solution Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[86, 2], Operations: ['68-62=6', '12/6=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[86, 6], Operations: ['68-62=6', '12-6=6'] Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,93 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[12, 68, 24], Operations: ['86-62=24'] Exploring Operation: 12+68=80, Resulting Numbers: [24, 80] Generated Node #0,2,0: 93:[24, 80] Operation: 12+68=80 Exploring Operation: 68+24=92, Resulting Numbers: [12, 92] Generated Node #0,2,1: 93:[12, 92] Operation: 68+24=92 Exploring Operation: 68-24=44, Resulting Numbers: [12, 44] Generated Node #0,2,2: 93:[12, 44] Operation: 68-24=44 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[12, 92], Operations: ['86-62=24', '68+24=92'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,93 unequal: No Solution Exploring Operation: 12*92=1104, Resulting Numbers: [1104] 1104,93 unequal: No Solution Exploring Operation: 12+92=104, Resulting Numbers: [104] 104,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[24, 80], Operations: ['86-62=24', '12+68=80'] Exploring Operation: 24*80=1920, Resulting Numbers: [1920] 1920,93 unequal: No Solution Exploring Operation: 24+80=104, Resulting Numbers: [104] 104,93 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[12, 44], Operations: ['86-62=24', '68-24=44'] Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,93 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[68, 86, 74], Operations: ['62+12=74'] Exploring Operation: 86-68=18, Resulting Numbers: [74, 18] Generated Node #0,1,0: 93:[74, 18] Operation: 86-68=18 Exploring Operation: 86-74=12, Resulting Numbers: [68, 12] Generated Node #0,1,1: 93:[68, 12] Operation: 86-74=12 Exploring Operation: 74-68=6, Resulting Numbers: [86, 6] Generated Node #0,1,2: 93:[86, 6] Operation: 74-68=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[86, 6], Operations: ['62+12=74', '74-68=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,93 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[74, 18], Operations: ['62+12=74', '86-68=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,93 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[68, 12], Operations: ['62+12=74', '86-74=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,93 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,93 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 23, 71, 2 ]
67
[ "93-71=22", "2*22=44", "23+44=67" ]
Current State: 67:[93, 23, 71, 2], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [23, 2, 22] Generated Node #2: [23, 2, 22] from Operation: 93-71=22 Current State: 67:[23, 2, 22], Operations: ['93-71=22'] Exploring Operation: 2*22=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 2*22=44 Current State: 67:[23, 44], Operations: ['93-71=22', '2*22=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[93, 23, 71, 2], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [23, 71, 91] Generated Node #0,0: 67:[23, 71, 91] Operation: 93-2=91 Exploring Operation: 93-23=70, Resulting Numbers: [71, 2, 70] Generated Node #0,1: 67:[71, 2, 70] Operation: 93-23=70 Exploring Operation: 23*2=46, Resulting Numbers: [93, 71, 46] Generated Node #0,2: 67:[93, 71, 46] Operation: 23*2=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[93, 71, 46], Operations: ['23*2=46'] Exploring Operation: 93-71=22, Resulting Numbers: [46, 22] Generated Node #0,2,0: 67:[46, 22] Operation: 93-71=22 Exploring Operation: 93-46=47, Resulting Numbers: [71, 47] Generated Node #0,2,1: 67:[71, 47] Operation: 93-46=47 Exploring Operation: 71-46=25, Resulting Numbers: [93, 25] Generated Node #0,2,2: 67:[93, 25] Operation: 71-46=25 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[71, 47], Operations: ['23*2=46', '93-46=47'] Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,67 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[46, 22], Operations: ['23*2=46', '93-71=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,67 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[93, 25], Operations: ['23*2=46', '71-46=25'] Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,67 unequal: No Solution Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[23, 71, 91], Operations: ['93-2=91'] Exploring Operation: 23+71=94, Resulting Numbers: [91, 94] Generated Node #0,0,0: 67:[91, 94] Operation: 23+71=94 Exploring Operation: 71-23=48, Resulting Numbers: [91, 48] Generated Node #0,0,1: 67:[91, 48] Operation: 71-23=48 Exploring Operation: 91-23=68, Resulting Numbers: [71, 68] Generated Node #0,0,2: 67:[71, 68] Operation: 91-23=68 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[71, 68], Operations: ['93-2=91', '91-23=68'] Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[91, 48], Operations: ['93-2=91', '71-23=48'] Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,67 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[91, 94], Operations: ['93-2=91', '23+71=94'] Exploring Operation: 91*94=8554, Resulting Numbers: [8554] 8554,67 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[71, 2, 70], Operations: ['93-23=70'] Exploring Operation: 71-2=69, Resulting Numbers: [70, 69] Generated Node #0,1,0: 67:[70, 69] Operation: 71-2=69 Exploring Operation: 70-2=68, Resulting Numbers: [71, 68] Generated Node #0,1,1: 67:[71, 68] Operation: 70-2=68 Exploring Operation: 71+2=73, Resulting Numbers: [70, 73] Generated Node #0,1,2: 67:[70, 73] Operation: 71+2=73 Moving to Node #0,1,0 Current State: 67:[70, 69], Operations: ['93-23=70', '71-2=69'] Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,67 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[71, 68], Operations: ['93-23=70', '70-2=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,67 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[70, 73], Operations: ['93-23=70', '71+2=73'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 70*73=5110, Resulting Numbers: [5110] 5110,67 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
[ 53, 1, 38, 87 ]
73
[ "53-1=52", "38+87=125", "125-52=73" ]
Current State: 73:[53, 1, 38, 87], Operations: [] Exploring Operation: 53-1=52, Resulting Numbers: [38, 87, 52] Generated Node #2: [38, 87, 52] from Operation: 53-1=52 Current State: 73:[38, 87, 52], Operations: ['53-1=52'] Exploring Operation: 38+87=125, Resulting Numbers: [52, 125] Generated Node #3: [52, 125] from Operation: 38+87=125 Current State: 73:[52, 125], Operations: ['53-1=52', '38+87=125'] Exploring Operation: 125-52=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[53, 1, 38, 87], Operations: [] Exploring Operation: 53+1=54, Resulting Numbers: [38, 87, 54] Generated Node #0,0: 73:[38, 87, 54] Operation: 53+1=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[38, 87, 54], Operations: ['53+1=54'] Exploring Operation: 38+54=92, Resulting Numbers: [87, 92] Generated Node #0,0,0: 73:[87, 92] Operation: 38+54=92 Moving to Node #0,0,0 Current State: 73:[87, 92], Operations: ['53+1=54', '38+54=92'] Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,73 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
[ 6, 44, 6, 16 ]
24
[ "6*6=36", "44+16=60", "60-36=24" ]
Current State: 24:[6, 44, 6, 16], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [44, 16, 36] Generated Node #2: [44, 16, 36] from Operation: 6*6=36 Current State: 24:[44, 16, 36], Operations: ['6*6=36'] Exploring Operation: 44+16=60, Resulting Numbers: [36, 60] Generated Node #3: [36, 60] from Operation: 44+16=60 Current State: 24:[36, 60], Operations: ['6*6=36', '44+16=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 44, 6, 16], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [6, 16, 38] Generated Node #0,0: 24:[6, 16, 38] Operation: 44-6=38 Exploring Operation: 6+16=22, Resulting Numbers: [44, 6, 22] Generated Node #0,1: 24:[44, 6, 22] Operation: 6+16=22 Exploring Operation: 44-6=38, Resulting Numbers: [6, 16, 38] Generated Node #0,2: 24:[6, 16, 38] Operation: 44-6=38 Exploring Operation: 16-6=10, Resulting Numbers: [44, 6, 10] Generated Node #0,3: 24:[44, 6, 10] Operation: 16-6=10 Exploring Operation: 44-16=28, Resulting Numbers: [6, 6, 28] Generated Node #0,4: 24:[6, 6, 28] Operation: 44-16=28 Moving to Node #0,4 Current State: 24:[6, 6, 28], Operations: ['44-16=28'] Exploring Operation: 6+6=12, Resulting Numbers: [28, 12] Generated Node #0,4,0: 24:[28, 12] Operation: 6+6=12 Exploring Operation: 6/6=1, Resulting Numbers: [28, 1] Generated Node #0,4,1: 24:[28, 1] Operation: 6/6=1 Exploring Operation: 28-6=22, Resulting Numbers: [6, 22] Generated Node #0,4,2: 24:[6, 22] Operation: 28-6=22 Exploring Operation: 28-6=22, Resulting Numbers: [6, 22] Generated Node #0,4,3: 24:[6, 22] Operation: 28-6=22 Exploring Operation: 6-6=0, Resulting Numbers: [28, 0] Generated Node #0,4,4: 24:[28, 0] Operation: 6-6=0 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 24:[6, 22], Operations: ['44-16=28', '28-6=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 24:[6, 22], Operations: ['44-16=28', '28-6=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 24:[28, 12], Operations: ['44-16=28', '6+6=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 24:[28, 1], Operations: ['44-16=28', '6/6=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 24:[28, 0], Operations: ['44-16=28', '6-6=0'] Exploring Operation: 28*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 28-0=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,24 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: 24:[6, 16, 38], Operations: ['44-6=38'] Exploring Operation: 38-6=32, Resulting Numbers: [16, 32] Generated Node #0,2,0: 24:[16, 32] Operation: 38-6=32 Exploring Operation: 6+16=22, Resulting Numbers: [38, 22] Generated Node #0,2,1: 24:[38, 22] Operation: 6+16=22 Exploring Operation: 38-16=22, Resulting Numbers: [6, 22] Generated Node #0,2,2: 24:[6, 22] Operation: 38-16=22 Exploring Operation: 6+38=44, Resulting Numbers: [16, 44] Generated Node #0,2,3: 24:[16, 44] Operation: 6+38=44 Exploring Operation: 16-6=10, Resulting Numbers: [38, 10] Generated Node #0,2,4: 24:[38, 10] Operation: 16-6=10 Moving to Node #0,0 Current State: 24:[6, 16, 38], Operations: ['44-6=38'] Exploring Operation: 38-6=32, Resulting Numbers: [16, 32] Generated Node #0,0,0: 24:[16, 32] Operation: 38-6=32 Exploring Operation: 16-6=10, Resulting Numbers: [38, 10] Generated Node #0,0,1: 24:[38, 10] Operation: 16-6=10 Exploring Operation: 6+38=44, Resulting Numbers: [16, 44] Generated Node #0,0,2: 24:[16, 44] Operation: 6+38=44 Exploring Operation: 38-16=22, Resulting Numbers: [6, 22] Generated Node #0,0,3: 24:[6, 22] Operation: 38-16=22 Exploring Operation: 6+16=22, Resulting Numbers: [38, 22] Generated Node #0,0,4: 24:[38, 22] Operation: 6+16=22 Moving to Node #0,1 Current State: 24:[44, 6, 22], Operations: ['6+16=22'] Exploring Operation: 22-6=16, Resulting Numbers: [44, 16] Generated Node #0,1,0: 24:[44, 16] Operation: 22-6=16 Exploring Operation: 44/22=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 24:[6, 2] Operation: 44/22=2 Exploring Operation: 44-6=38, Resulting Numbers: [22, 38] Generated Node #0,1,2: 24:[22, 38] Operation: 44-6=38 Exploring Operation: 6+22=28, Resulting Numbers: [44, 28] Generated Node #0,1,3: 24:[44, 28] Operation: 6+22=28 Exploring Operation: 44-22=22, Resulting Numbers: [6, 22] Generated Node #0,1,4: 24:[6, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[6, 2], Operations: ['6+16=22', '44/22=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 24:[6, 22], Operations: ['6+16=22', '44-22=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,24 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[22, 38], Operations: ['6+16=22', '44-6=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[44, 16], Operations: ['6+16=22', '22-6=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,24 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[44, 28], Operations: ['6+16=22', '6+22=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,24 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: 24:[44, 6, 10], Operations: ['16-6=10'] Exploring Operation: 6+10=16, Resulting Numbers: [44, 16] Generated Node #0,3,0: 24:[44, 16] Operation: 6+10=16 Exploring Operation: 44-6=38, Resulting Numbers: [10, 38] Generated Node #0,3,1: 24:[10, 38] Operation: 44-6=38 Exploring Operation: 44-10=34, Resulting Numbers: [6, 34] Generated Node #0,3,2: 24:[6, 34] Operation: 44-10=34 Exploring Operation: 10-6=4, Resulting Numbers: [44, 4] Generated Node #0,3,3: 24:[44, 4] Operation: 10-6=4 Exploring Operation: 44+6=50, Resulting Numbers: [10, 50] Generated Node #0,3,4: 24:[10, 50] Operation: 44+6=50 Moving to Node #0,2,2 Current State: 24:[6, 22], Operations: ['44-6=38', '38-16=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[6, 22], Operations: ['44-6=38', '38-16=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,24 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[6, 34], Operations: ['16-6=10', '44-10=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,24 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[16, 32], Operations: ['44-6=38', '38-6=32'] Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,24 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[16, 32], Operations: ['44-6=38', '38-6=32'] Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,24 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[38, 22], Operations: ['44-6=38', '6+16=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[10, 38], Operations: ['16-6=10', '44-6=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[38, 10], Operations: ['44-6=38', '16-6=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,24 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[38, 22], Operations: ['44-6=38', '6+16=22'] Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,24 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[38, 10], Operations: ['44-6=38', '16-6=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,24 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[44, 4], Operations: ['16-6=10', '10-6=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[44, 16], Operations: ['16-6=10', '6+10=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,24 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[16, 44], Operations: ['44-6=38', '6+38=44'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,24 unequal: No Solution Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[16, 44], Operations: ['44-6=38', '6+38=44'] Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,24 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[10, 50], Operations: ['16-6=10', '44+6=50'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,24 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,24 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 13, 65, 60, 11 ]
19
[ "65-13=52", "60+11=71", "71-52=19" ]
Current State: 19:[13, 65, 60, 11], Operations: [] Exploring Operation: 65-13=52, Resulting Numbers: [60, 11, 52] Generated Node #2: [60, 11, 52] from Operation: 65-13=52 Current State: 19:[60, 11, 52], Operations: ['65-13=52'] Exploring Operation: 60+11=71, Resulting Numbers: [52, 71] Generated Node #3: [52, 71] from Operation: 60+11=71 Current State: 19:[52, 71], Operations: ['65-13=52', '60+11=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[13, 65, 60, 11], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [65, 11, 47] Generated Node #0,0: 19:[65, 11, 47] Operation: 60-13=47 Exploring Operation: 65-13=52, Resulting Numbers: [60, 11, 52] Generated Node #0,1: 19:[60, 11, 52] Operation: 65-13=52 Exploring Operation: 65-60=5, Resulting Numbers: [13, 11, 5] Generated Node #0,2: 19:[13, 11, 5] Operation: 65-60=5 Exploring Operation: 65-11=54, Resulting Numbers: [13, 60, 54] Generated Node #0,3: 19:[13, 60, 54] Operation: 65-11=54 Exploring Operation: 65/13=5, Resulting Numbers: [60, 11, 5] Generated Node #0,4: 19:[60, 11, 5] Operation: 65/13=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[13, 11, 5], Operations: ['65-60=5'] Exploring Operation: 13+5=18, Resulting Numbers: [11, 18] Generated Node #0,2,0: 19:[11, 18] Operation: 13+5=18 Exploring Operation: 11+5=16, Resulting Numbers: [13, 16] Generated Node #0,2,1: 19:[13, 16] Operation: 11+5=16 Exploring Operation: 13-5=8, Resulting Numbers: [11, 8] Generated Node #0,2,2: 19:[11, 8] Operation: 13-5=8 Exploring Operation: 13+11=24, Resulting Numbers: [5, 24] Generated Node #0,2,3: 19:[5, 24] Operation: 13+11=24 Exploring Operation: 11-5=6, Resulting Numbers: [13, 6] Generated Node #0,2,4: 19:[13, 6] Operation: 11-5=6 Moving to Node #0,2,0 Current State: 19:[11, 18], Operations: ['65-60=5', '13+5=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,19 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[13, 16], Operations: ['65-60=5', '11+5=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[11, 8], Operations: ['65-60=5', '13-5=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[13, 65, 60, 11], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [13, 11, 5] Generated Node #0,2: 19:[13, 11, 5] Operation: 65-60=5 Moving to Node #0,2 Current State: 19:[13, 11, 5], Operations: ['65-60=5'] Exploring Operation: 13-5=8, Resulting Numbers: [11, 8] Generated Node #0,2,2: 19:[11, 8] Operation: 13-5=8 Moving to Node #0,2,2 Current State: 19:[11, 8], Operations: ['65-60=5', '13-5=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 3, 59, 96, 68 ]
11
[ "3+96=99", "68-59=9", "99/9=11" ]
Current State: 11:[3, 59, 96, 68], Operations: [] Exploring Operation: 3+96=99, Resulting Numbers: [59, 68, 99] Generated Node #2: [59, 68, 99] from Operation: 3+96=99 Current State: 11:[59, 68, 99], Operations: ['3+96=99'] Exploring Operation: 68-59=9, Resulting Numbers: [99, 9] Generated Node #3: [99, 9] from Operation: 68-59=9 Current State: 11:[99, 9], Operations: ['3+96=99', '68-59=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[3, 59, 96, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [3, 59, 28] Generated Node #0,0: 11:[3, 59, 28] Operation: 96-68=28 Exploring Operation: 96-59=37, Resulting Numbers: [3, 68, 37] Generated Node #0,1: 11:[3, 68, 37] Operation: 96-59=37 Moving to Node #0,0 Current State: 11:[3, 59, 28], Operations: ['96-68=28'] Exploring Operation: 59-28=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 11:[3, 31] Operation: 59-28=31 Exploring Operation: 59-3=56, Resulting Numbers: [28, 56] Generated Node #0,0,1: 11:[28, 56] Operation: 59-3=56 Moving to Node #0,1 Current State: 11:[3, 68, 37], Operations: ['96-59=37'] Exploring Operation: 68-37=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 11:[3, 31] Operation: 68-37=31 Exploring Operation: 68-3=65, Resulting Numbers: [37, 65] Generated Node #0,1,1: 11:[37, 65] Operation: 68-3=65 Moving to Node #0,0,0 Current State: 11:[3, 31], Operations: ['96-68=28', '59-28=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[3, 31], Operations: ['96-59=37', '68-37=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[28, 56], Operations: ['96-68=28', '59-3=56'] Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[37, 65], Operations: ['96-59=37', '68-3=65'] Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,11 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 59, 71, 98, 85 ]
10
[ "59+71=130", "98-85=13", "130/13=10" ]
Current State: 10:[59, 71, 98, 85], Operations: [] Exploring Operation: 59+71=130, Resulting Numbers: [98, 85, 130] Generated Node #2: [98, 85, 130] from Operation: 59+71=130 Current State: 10:[98, 85, 130], Operations: ['59+71=130'] Exploring Operation: 98-85=13, Resulting Numbers: [130, 13] Generated Node #3: [130, 13] from Operation: 98-85=13 Current State: 10:[130, 13], Operations: ['59+71=130', '98-85=13'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[59, 71, 98, 85], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [59, 98, 14] Generated Node #0,0: 10:[59, 98, 14] Operation: 85-71=14 Exploring Operation: 98-85=13, Resulting Numbers: [59, 71, 13] Generated Node #0,1: 10:[59, 71, 13] Operation: 98-85=13 Exploring Operation: 98-71=27, Resulting Numbers: [59, 85, 27] Generated Node #0,2: 10:[59, 85, 27] Operation: 98-71=27 Moving to Node #0,1 Current State: 10:[59, 71, 13], Operations: ['98-85=13'] Exploring Operation: 59-13=46, Resulting Numbers: [71, 46] Generated Node #0,1,0: 10:[71, 46] Operation: 59-13=46 Exploring Operation: 71-59=12, Resulting Numbers: [13, 12] Generated Node #0,1,1: 10:[13, 12] Operation: 71-59=12 Exploring Operation: 71-13=58, Resulting Numbers: [59, 58] Generated Node #0,1,2: 10:[59, 58] Operation: 71-13=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[13, 12], Operations: ['98-85=13', '71-59=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,10 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[71, 46], Operations: ['98-85=13', '59-13=46'] Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,10 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[59, 58], Operations: ['98-85=13', '71-13=58'] Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,10 unequal: No Solution Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[59, 98, 14], Operations: ['85-71=14'] Exploring Operation: 98/14=7, Resulting Numbers: [59, 7] Generated Node #0,0,0: 10:[59, 7] Operation: 98/14=7 Exploring Operation: 98-59=39, Resulting Numbers: [14, 39] Generated Node #0,0,1: 10:[14, 39] Operation: 98-59=39 Exploring Operation: 59-14=45, Resulting Numbers: [98, 45] Generated Node #0,0,2: 10:[98, 45] Operation: 59-14=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[14, 39], Operations: ['85-71=14', '98-59=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,10 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[59, 7], Operations: ['85-71=14', '98/14=7'] Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,10 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,10 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[98, 45], Operations: ['85-71=14', '59-14=45'] Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,10 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,10 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: 10:[59, 85, 27], Operations: ['98-71=27'] Exploring Operation: 85-59=26, Resulting Numbers: [27, 26] Generated Node #0,2,0: 10:[27, 26] Operation: 85-59=26 Exploring Operation: 85-27=58, Resulting Numbers: [59, 58] Generated Node #0,2,1: 10:[59, 58] Operation: 85-27=58 Exploring Operation: 59-27=32, Resulting Numbers: [85, 32] Generated Node #0,2,2: 10:[85, 32] Operation: 59-27=32 Moving to Node #0,2,0 Current State: 10:[27, 26], Operations: ['98-71=27', '85-59=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,10 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[59, 58], Operations: ['98-71=27', '85-27=58'] Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,10 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[85, 32], Operations: ['98-71=27', '59-27=32'] Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,10 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,10 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 42, 5, 70, 77 ]
49
[ "77-42=35", "70/5=14", "35+14=49" ]
Current State: 49:[42, 5, 70, 77], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [5, 70, 35] Generated Node #2: [5, 70, 35] from Operation: 77-42=35 Current State: 49:[5, 70, 35], Operations: ['77-42=35'] Exploring Operation: 70/5=14, Resulting Numbers: [35, 14] Generated Node #3: [35, 14] from Operation: 70/5=14 Current State: 49:[35, 14], Operations: ['77-42=35', '70/5=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 5, 70, 77], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [42, 5, 7] Generated Node #0,0: 49:[42, 5, 7] Operation: 77-70=7 Moving to Node #0,0 Current State: 49:[42, 5, 7], Operations: ['77-70=7'] Exploring Operation: 42+5=47, Resulting Numbers: [7, 47] Generated Node #0,0,0: 49:[7, 47] Operation: 42+5=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[7, 47], Operations: ['77-70=7', '42+5=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 2, 63, 42 ]
16
[ "48/2=24", "42*24=1008", "1008/63=16" ]
Current State: 16:[48, 2, 63, 42], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [63, 42, 24] Generated Node #2: [63, 42, 24] from Operation: 48/2=24 Current State: 16:[63, 42, 24], Operations: ['48/2=24'] Exploring Operation: 42*24=1008, Resulting Numbers: [63, 1008] Generated Node #3: [63, 1008] from Operation: 42*24=1008 Current State: 16:[63, 1008], Operations: ['48/2=24', '42*24=1008'] Exploring Operation: 1008/63=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[48, 2, 63, 42], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [2, 42, 15] Generated Node #0,0: 16:[2, 42, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 16:[2, 42, 15], Operations: ['63-48=15'] Exploring Operation: 42/2=21, Resulting Numbers: [15, 21] Generated Node #0,0,0: 16:[15, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 16:[15, 21], Operations: ['63-48=15', '42/2=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,16 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 14, 48, 52, 33 ]
46
[ "14+52=66", "66/33=2", "48-2=46" ]
Current State: 46:[14, 48, 52, 33], Operations: [] Exploring Operation: 14+52=66, Resulting Numbers: [48, 33, 66] Generated Node #2: [48, 33, 66] from Operation: 14+52=66 Current State: 46:[48, 33, 66], Operations: ['14+52=66'] Exploring Operation: 66/33=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 66/33=2 Current State: 46:[48, 2], Operations: ['14+52=66', '66/33=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[14, 48, 52, 33], Operations: [] Exploring Operation: 14+33=47, Resulting Numbers: [48, 52, 47] Generated Node #0,0: 46:[48, 52, 47] Operation: 14+33=47 Exploring Operation: 33-14=19, Resulting Numbers: [48, 52, 19] Generated Node #0,1: 46:[48, 52, 19] Operation: 33-14=19 Exploring Operation: 52-33=19, Resulting Numbers: [14, 48, 19] Generated Node #0,2: 46:[14, 48, 19] Operation: 52-33=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[48, 52, 47], Operations: ['14+33=47'] Exploring Operation: 52-47=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 46:[48, 5] Operation: 52-47=5 Exploring Operation: 48-47=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 46:[52, 1] Operation: 48-47=1 Exploring Operation: 52-48=4, Resulting Numbers: [47, 4] Generated Node #0,0,2: 46:[47, 4] Operation: 52-48=4 Moving to Node #0,0,2 Current State: 46:[47, 4], Operations: ['14+33=47', '52-48=4'] Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,46 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[48, 5], Operations: ['14+33=47', '52-47=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,46 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[52, 1], Operations: ['14+33=47', '48-47=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[48, 52, 19], Operations: ['33-14=19'] Exploring Operation: 52-48=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 46:[19, 4] Operation: 52-48=4 Exploring Operation: 52-19=33, Resulting Numbers: [48, 33] Generated Node #0,1,1: 46:[48, 33] Operation: 52-19=33 Exploring Operation: 48-19=29, Resulting Numbers: [52, 29] Generated Node #0,1,2: 46:[52, 29] Operation: 48-19=29 Moving to Node #0,1,0 Current State: 46:[19, 4], Operations: ['33-14=19', '52-48=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[48, 33], Operations: ['33-14=19', '52-19=33'] Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,46 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[52, 29], Operations: ['33-14=19', '48-19=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,46 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,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,2 Current State: 46:[14, 48, 19], Operations: ['52-33=19'] Exploring Operation: 48-14=34, Resulting Numbers: [19, 34] Generated Node #0,2,0: 46:[19, 34] Operation: 48-14=34 Exploring Operation: 14+19=33, Resulting Numbers: [48, 33] Generated Node #0,2,1: 46:[48, 33] Operation: 14+19=33 Exploring Operation: 19-14=5, Resulting Numbers: [48, 5] Generated Node #0,2,2: 46:[48, 5] Operation: 19-14=5 Moving to Node #0,2,2 Current State: 46:[48, 5], Operations: ['52-33=19', '19-14=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[48, 33], Operations: ['52-33=19', '14+19=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[19, 34], Operations: ['52-33=19', '48-14=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,46 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,46 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
[ 33, 30, 73, 63 ]
99
[ "33*30=990", "73-63=10", "990/10=99" ]
Current State: 99:[33, 30, 73, 63], Operations: [] Exploring Operation: 33*30=990, Resulting Numbers: [73, 63, 990] Generated Node #2: [73, 63, 990] from Operation: 33*30=990 Current State: 99:[73, 63, 990], Operations: ['33*30=990'] Exploring Operation: 73-63=10, Resulting Numbers: [990, 10] Generated Node #3: [990, 10] from Operation: 73-63=10 Current State: 99:[990, 10], Operations: ['33*30=990', '73-63=10'] Exploring Operation: 990/10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[33, 30, 73, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [33, 30, 10] Generated Node #0,0: 99:[33, 30, 10] Operation: 73-63=10 Exploring Operation: 63-30=33, Resulting Numbers: [33, 73, 33] Generated Node #0,1: 99:[33, 73, 33] Operation: 63-30=33 Moving to Node #0,0 Current State: 99:[33, 30, 10], Operations: ['73-63=10'] Exploring Operation: 30/10=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 30/10=3 Exploring Operation: 33-30=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 99:[10, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['73-63=10', '30/10=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[33, 30, 73, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [33, 30, 10] Generated Node #0,0: 99:[33, 30, 10] Operation: 73-63=10 Moving to Node #0,0 Current State: 99:[33, 30, 10], Operations: ['73-63=10'] Exploring Operation: 30/10=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 30/10=3 Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['73-63=10', '30/10=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 62, 31, 36, 52 ]
20
[ "62/31=2", "36*2=72", "72-52=20" ]
Current State: 20:[62, 31, 36, 52], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [36, 52, 2] Generated Node #2: [36, 52, 2] from Operation: 62/31=2 Current State: 20:[36, 52, 2], Operations: ['62/31=2'] Exploring Operation: 36*2=72, Resulting Numbers: [52, 72] Generated Node #3: [52, 72] from Operation: 36*2=72 Current State: 20:[52, 72], Operations: ['62/31=2', '36*2=72'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[62, 31, 36, 52], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [31, 36, 10] Generated Node #0,0: 20:[31, 36, 10] Operation: 62-52=10 Exploring Operation: 62/31=2, Resulting Numbers: [36, 52, 2] Generated Node #0,1: 20:[36, 52, 2] Operation: 62/31=2 Exploring Operation: 62-36=26, Resulting Numbers: [31, 52, 26] Generated Node #0,2: 20:[31, 52, 26] Operation: 62-36=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[31, 36, 10], Operations: ['62-52=10'] Exploring Operation: 31-10=21, Resulting Numbers: [36, 21] Generated Node #0,0,0: 20:[36, 21] Operation: 31-10=21 Exploring Operation: 36-10=26, Resulting Numbers: [31, 26] Generated Node #0,0,1: 20:[31, 26] Operation: 36-10=26 Exploring Operation: 36-31=5, Resulting Numbers: [10, 5] Generated Node #0,0,2: 20:[10, 5] Operation: 36-31=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[10, 5], Operations: ['62-52=10', '36-31=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,20 unequal: No Solution No 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: 20:[36, 21], Operations: ['62-52=10', '31-10=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,20 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,20 unequal: No Solution No 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: 20:[31, 26], Operations: ['62-52=10', '36-10=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,20 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,20 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: 20:[36, 52, 2], Operations: ['62/31=2'] Exploring Operation: 52-36=16, Resulting Numbers: [2, 16] Generated Node #0,1,0: 20:[2, 16] Operation: 52-36=16 Exploring Operation: 52/2=26, Resulting Numbers: [36, 26] Generated Node #0,1,1: 20:[36, 26] Operation: 52/2=26 Exploring Operation: 36/2=18, Resulting Numbers: [52, 18] Generated Node #0,1,2: 20:[52, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[2, 16], Operations: ['62/31=2', '52-36=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[36, 26], Operations: ['62/31=2', '52/2=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,20 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,20 unequal: No Solution No 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: 20:[52, 18], Operations: ['62/31=2', '36/2=18'] Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,20 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,20 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: 20:[31, 52, 26], Operations: ['62-36=26'] Exploring Operation: 52-31=21, Resulting Numbers: [26, 21] Generated Node #0,2,0: 20:[26, 21] Operation: 52-31=21 Exploring Operation: 52/26=2, Resulting Numbers: [31, 2] Generated Node #0,2,1: 20:[31, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [31, 26] Generated Node #0,2,2: 20:[31, 26] Operation: 52-26=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[26, 21], Operations: ['62-36=26', '52-31=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,20 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,20 unequal: No Solution No 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: 20:[31, 2], Operations: ['62-36=26', '52/26=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,20 unequal: No Solution No 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: 20:[31, 26], Operations: ['62-36=26', '52-26=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,20 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 38, 52, 88 ]
78
[ "38+88=126", "52*126=6552", "6552/84=78" ]
Current State: 78:[84, 38, 52, 88], Operations: [] Exploring Operation: 38+88=126, Resulting Numbers: [84, 52, 126] Generated Node #2: [84, 52, 126] from Operation: 38+88=126 Current State: 78:[84, 52, 126], Operations: ['38+88=126'] Exploring Operation: 52*126=6552, Resulting Numbers: [84, 6552] Generated Node #3: [84, 6552] from Operation: 52*126=6552 Current State: 78:[84, 6552], Operations: ['38+88=126', '52*126=6552'] Exploring Operation: 6552/84=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[84, 38, 52, 88], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [84, 38, 36] Generated Node #0,0: 78:[84, 38, 36] Operation: 88-52=36 Exploring Operation: 88-84=4, Resulting Numbers: [38, 52, 4] Generated Node #0,1: 78:[38, 52, 4] Operation: 88-84=4 Exploring Operation: 84-52=32, Resulting Numbers: [38, 88, 32] Generated Node #0,2: 78:[38, 88, 32] Operation: 84-52=32 Moving to Node #0,0 Current State: 78:[84, 38, 36], Operations: ['88-52=36'] Exploring Operation: 84-38=46, Resulting Numbers: [36, 46] Generated Node #0,0,0: 78:[36, 46] Operation: 84-38=46 Exploring Operation: 84-36=48, Resulting Numbers: [38, 48] Generated Node #0,0,1: 78:[38, 48] Operation: 84-36=48 Exploring Operation: 38-36=2, Resulting Numbers: [84, 2] Generated Node #0,0,2: 78:[84, 2] Operation: 38-36=2 Moving to Node #0,1 Current State: 78:[38, 52, 4], Operations: ['88-84=4'] Exploring Operation: 52/4=13, Resulting Numbers: [38, 13] Generated Node #0,1,0: 78:[38, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [38, 48] Generated Node #0,1,1: 78:[38, 48] Operation: 52-4=48 Exploring Operation: 52-38=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 78:[4, 14] Operation: 52-38=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[38, 13], Operations: ['88-84=4', '52/4=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,78 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[4, 14], Operations: ['88-84=4', '52-38=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[38, 48], Operations: ['88-84=4', '52-4=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,78 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,78 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: 78:[38, 88, 32], Operations: ['84-52=32'] Exploring Operation: 88-38=50, Resulting Numbers: [32, 50] Generated Node #0,2,0: 78:[32, 50] Operation: 88-38=50 Exploring Operation: 38+32=70, Resulting Numbers: [88, 70] Generated Node #0,2,1: 78:[88, 70] Operation: 38+32=70 Exploring Operation: 38-32=6, Resulting Numbers: [88, 6] Generated Node #0,2,2: 78:[88, 6] Operation: 38-32=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[88, 6], Operations: ['84-52=32', '38-32=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[32, 50], Operations: ['84-52=32', '88-38=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[88, 70], Operations: ['84-52=32', '38+32=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,78 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 78:[84, 2], Operations: ['88-52=36', '38-36=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[36, 46], Operations: ['88-52=36', '84-38=46'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,78 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[38, 48], Operations: ['88-52=36', '84-36=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,78 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,78 unequal: No Solution No solution found.
0
hs_3
sum_heuristic