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
[ 7, 52, 23, 33 ]
76
[ "7*23=161", "52+33=85", "161-85=76" ]
Current State: 76:[7, 52, 23, 33], Operations: [] Exploring Operation: 7*23=161, Resulting Numbers: [52, 33, 161] Generated Node #2: [52, 33, 161] from Operation: 7*23=161 Current State: 76:[52, 33, 161], Operations: ['7*23=161'] Exploring Operation: 52+33=85, Resulting Numbers: [161, 85] Generated Node #3: [161, 85] from Operation: 52+33=85 Current State: 76:[161, 85], Operations: ['7*23=161', '52+33=85'] Exploring Operation: 161-85=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[7, 52, 23, 33], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [7, 23, 19] Generated Node #0,0: 76:[7, 23, 19] Operation: 52-33=19 Exploring Operation: 52+23=75, Resulting Numbers: [7, 33, 75] Generated Node #0,1: 76:[7, 33, 75] Operation: 52+23=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[7, 23, 19], Operations: ['52-33=19'] Exploring Operation: 23-7=16, Resulting Numbers: [19, 16] Generated Node #0,0,0: 76:[19, 16] Operation: 23-7=16 Exploring Operation: 23-19=4, Resulting Numbers: [7, 4] Generated Node #0,0,1: 76:[7, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[19, 16], Operations: ['52-33=19', '23-7=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,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:[7, 4], Operations: ['52-33=19', '23-19=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No 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:[7, 33, 75], Operations: ['52+23=75'] Exploring Operation: 7+33=40, Resulting Numbers: [75, 40] Generated Node #0,1,0: 76:[75, 40] Operation: 7+33=40 Exploring Operation: 75-33=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 76:[7, 42] Operation: 75-33=42 Moving to Node #0,1,0 Current State: 76:[75, 40], Operations: ['52+23=75', '7+33=40'] Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[7, 42], Operations: ['52+23=75', '75-33=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,76 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
[ 83, 17, 2, 13 ]
68
[ "17+13=30", "30/2=15", "83-15=68" ]
Current State: 68:[83, 17, 2, 13], Operations: [] Exploring Operation: 17+13=30, Resulting Numbers: [83, 2, 30] Generated Node #2: [83, 2, 30] from Operation: 17+13=30 Current State: 68:[83, 2, 30], Operations: ['17+13=30'] Exploring Operation: 30/2=15, Resulting Numbers: [83, 15] Generated Node #3: [83, 15] from Operation: 30/2=15 Current State: 68:[83, 15], Operations: ['17+13=30', '30/2=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[83, 17, 2, 13], Operations: [] Exploring Operation: 83-13=70, Resulting Numbers: [17, 2, 70] Generated Node #0,0: 68:[17, 2, 70] Operation: 83-13=70 Moving to Node #0,0 Current State: 68:[17, 2, 70], Operations: ['83-13=70'] Exploring Operation: 70-2=68, Resulting Numbers: [17, 68] Generated Node #0,0,0: 68:[17, 68] Operation: 70-2=68 Moving to Node #0,0,0 Current State: 68:[17, 68], Operations: ['83-13=70', '70-2=68'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 52, 7, 44 ]
69
[ "7+44=51", "51/3=17", "52+17=69" ]
Current State: 69:[3, 52, 7, 44], Operations: [] Exploring Operation: 7+44=51, Resulting Numbers: [3, 52, 51] Generated Node #2: [3, 52, 51] from Operation: 7+44=51 Current State: 69:[3, 52, 51], Operations: ['7+44=51'] Exploring Operation: 51/3=17, Resulting Numbers: [52, 17] Generated Node #3: [52, 17] from Operation: 51/3=17 Current State: 69:[52, 17], Operations: ['7+44=51', '51/3=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[3, 52, 7, 44], Operations: [] Exploring Operation: 52+7=59, Resulting Numbers: [3, 44, 59] Generated Node #0,0: 69:[3, 44, 59] Operation: 52+7=59 Exploring Operation: 44-7=37, Resulting Numbers: [3, 52, 37] Generated Node #0,1: 69:[3, 52, 37] Operation: 44-7=37 Exploring Operation: 52+44=96, Resulting Numbers: [3, 7, 96] Generated Node #0,2: 69:[3, 7, 96] Operation: 52+44=96 Exploring Operation: 52-44=8, Resulting Numbers: [3, 7, 8] Generated Node #0,3: 69:[3, 7, 8] Operation: 52-44=8 Moving to Node #0,3 Current State: 69:[3, 7, 8], Operations: ['52-44=8'] Exploring Operation: 3*8=24, Resulting Numbers: [7, 24] Generated Node #0,3,0: 69:[7, 24] Operation: 3*8=24 Exploring Operation: 8-7=1, Resulting Numbers: [3, 1] Generated Node #0,3,1: 69:[3, 1] Operation: 8-7=1 Exploring Operation: 8-3=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 69:[7, 5] Operation: 8-3=5 Exploring Operation: 7-3=4, Resulting Numbers: [8, 4] Generated Node #0,3,3: 69:[8, 4] Operation: 7-3=4 Moving to Node #0,1 Current State: 69:[3, 52, 37], Operations: ['44-7=37'] Exploring Operation: 52-37=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 69:[3, 15] Operation: 52-37=15 Exploring Operation: 37-3=34, Resulting Numbers: [52, 34] Generated Node #0,1,1: 69:[52, 34] Operation: 37-3=34 Exploring Operation: 3+52=55, Resulting Numbers: [37, 55] Generated Node #0,1,2: 69:[37, 55] Operation: 3+52=55 Exploring Operation: 52+37=89, Resulting Numbers: [3, 89] Generated Node #0,1,3: 69:[3, 89] Operation: 52+37=89 Moving to Node #0,0 Current State: 69:[3, 44, 59], Operations: ['52+7=59'] Exploring Operation: 59-44=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 69:[3, 15] Operation: 59-44=15 Exploring Operation: 44-3=41, Resulting Numbers: [59, 41] Generated Node #0,0,1: 69:[59, 41] Operation: 44-3=41 Exploring Operation: 3+44=47, Resulting Numbers: [59, 47] Generated Node #0,0,2: 69:[59, 47] Operation: 3+44=47 Exploring Operation: 3+59=62, Resulting Numbers: [44, 62] Generated Node #0,0,3: 69:[44, 62] Operation: 3+59=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 15], Operations: ['52+7=59', '59-44=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,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:[59, 41], Operations: ['52+7=59', '44-3=41'] Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,69 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,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:[44, 62], Operations: ['52+7=59', '3+59=62'] Exploring Operation: 44*62=2728, Resulting Numbers: [2728] 2728,69 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 44+62=106, Resulting Numbers: [106] 106,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,2 Current State: 69:[59, 47], Operations: ['52+7=59', '3+44=47'] Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,69 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,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:[3, 7, 96], Operations: ['52+44=96'] Exploring Operation: 96-7=89, Resulting Numbers: [3, 89] Generated Node #0,2,0: 69:[3, 89] Operation: 96-7=89 Exploring Operation: 7-3=4, Resulting Numbers: [96, 4] Generated Node #0,2,1: 69:[96, 4] Operation: 7-3=4 Exploring Operation: 96-3=93, Resulting Numbers: [7, 93] Generated Node #0,2,2: 69:[7, 93] Operation: 96-3=93 Exploring Operation: 96/3=32, Resulting Numbers: [7, 32] Generated Node #0,2,3: 69:[7, 32] Operation: 96/3=32 Moving to Node #0,3,1 Current State: 69:[3, 1], Operations: ['52-44=8', '8-7=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[7, 24], Operations: ['52-44=8', '3*8=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[7, 5], Operations: ['52-44=8', '8-3=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[8, 4], Operations: ['52-44=8', '7-3=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[3, 15], Operations: ['44-7=37', '52-37=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[7, 32], Operations: ['52+44=96', '96/3=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,69 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[3, 89], Operations: ['44-7=37', '52+37=89'] Exploring Operation: 3*89=267, Resulting Numbers: [267] 267,69 unequal: No Solution Exploring Operation: 3+89=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[3, 89], Operations: ['52+44=96', '96-7=89'] Exploring Operation: 3*89=267, Resulting Numbers: [267] 267,69 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 3+89=92, Resulting Numbers: [92] 92,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[96, 4], Operations: ['52+44=96', '7-3=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[52, 34], Operations: ['44-7=37', '37-3=34'] Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,69 unequal: No Solution Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[7, 93], Operations: ['52+44=96', '96-3=93'] Exploring Operation: 7*93=651, Resulting Numbers: [651] 651,69 unequal: No Solution Exploring Operation: 7+93=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[37, 55], Operations: ['44-7=37', '3+52=55'] Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 37*55=2035, Resulting Numbers: [2035] 2035,69 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 95, 43, 24, 35 ]
41
[ "95-43=52", "35-24=11", "52-11=41" ]
Current State: 41:[95, 43, 24, 35], Operations: [] Exploring Operation: 95-43=52, Resulting Numbers: [24, 35, 52] Generated Node #2: [24, 35, 52] from Operation: 95-43=52 Current State: 41:[24, 35, 52], Operations: ['95-43=52'] Exploring Operation: 35-24=11, Resulting Numbers: [52, 11] Generated Node #3: [52, 11] from Operation: 35-24=11 Current State: 41:[52, 11], Operations: ['95-43=52', '35-24=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[95, 43, 24, 35], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [43, 35, 71] Generated Node #0,0: 41:[43, 35, 71] Operation: 95-24=71 Exploring Operation: 95-35=60, Resulting Numbers: [43, 24, 60] Generated Node #0,1: 41:[43, 24, 60] Operation: 95-35=60 Exploring Operation: 95-43=52, Resulting Numbers: [24, 35, 52] Generated Node #0,2: 41:[24, 35, 52] Operation: 95-43=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[24, 35, 52], Operations: ['95-43=52'] Exploring Operation: 52-24=28, Resulting Numbers: [35, 28] Generated Node #0,2,0: 41:[35, 28] Operation: 52-24=28 Exploring Operation: 24+35=59, Resulting Numbers: [52, 59] Generated Node #0,2,1: 41:[52, 59] Operation: 24+35=59 Exploring Operation: 35-24=11, Resulting Numbers: [52, 11] Generated Node #0,2,2: 41:[52, 11] Operation: 35-24=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[35, 28], Operations: ['95-43=52', '52-24=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,41 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,41 unequal: No Solution No 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: 41:[52, 59], Operations: ['95-43=52', '24+35=59'] Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 52*59=3068, Resulting Numbers: [3068] 3068,41 unequal: No Solution Exploring Operation: 52+59=111, Resulting Numbers: [111] 111,41 unequal: No Solution No 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: 41:[52, 11], Operations: ['95-43=52', '35-24=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[95, 43, 24, 35], Operations: [] Exploring Operation: 95-43=52, Resulting Numbers: [24, 35, 52] Generated Node #0,2: 41:[24, 35, 52] Operation: 95-43=52 Moving to Node #0,2 Current State: 41:[24, 35, 52], Operations: ['95-43=52'] Exploring Operation: 35-24=11, Resulting Numbers: [52, 11] Generated Node #0,2,2: 41:[52, 11] Operation: 35-24=11 Moving to Node #0,2,2 Current State: 41:[52, 11], Operations: ['95-43=52', '35-24=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 25, 53, 83, 21 ]
76
[ "53-25=28", "83+21=104", "104-28=76" ]
Current State: 76:[25, 53, 83, 21], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [83, 21, 28] Generated Node #2: [83, 21, 28] from Operation: 53-25=28 Current State: 76:[83, 21, 28], Operations: ['53-25=28'] Exploring Operation: 83+21=104, Resulting Numbers: [28, 104] Generated Node #3: [28, 104] from Operation: 83+21=104 Current State: 76:[28, 104], Operations: ['53-25=28', '83+21=104'] Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[25, 53, 83, 21], Operations: [] Exploring Operation: 25+53=78, Resulting Numbers: [83, 21, 78] Generated Node #0,0: 76:[83, 21, 78] Operation: 25+53=78 Moving to Node #0,0 Current State: 76:[83, 21, 78], Operations: ['25+53=78'] Exploring Operation: 83-78=5, Resulting Numbers: [21, 5] Generated Node #0,0,0: 76:[21, 5] Operation: 83-78=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 5], Operations: ['25+53=78', '83-78=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,76 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
[ 11, 66, 77, 22 ]
63
[ "77-11=66", "66/22=3", "66-3=63" ]
Current State: 63:[11, 66, 77, 22], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [66, 22, 66] Generated Node #2: [66, 22, 66] from Operation: 77-11=66 Current State: 63:[66, 22, 66], Operations: ['77-11=66'] Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,63 equal: Goal Reached Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[11, 66, 77, 22], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [11, 22, 11] Generated Node #0,0: 63:[11, 22, 11] Operation: 77-66=11 Exploring Operation: 77/11=7, Resulting Numbers: [66, 22, 7] Generated Node #0,1: 63:[66, 22, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[66, 22, 7], Operations: ['77/11=7'] Exploring Operation: 66-7=59, Resulting Numbers: [22, 59] Generated Node #0,1,0: 63:[22, 59] Operation: 66-7=59 Exploring Operation: 66/22=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 63:[7, 3] Operation: 66/22=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[7, 3], Operations: ['77/11=7', '66/22=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 7*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 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[22, 59], Operations: ['77/11=7', '66-7=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,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:[11, 22, 11], Operations: ['77-66=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22, 22] Generated Node #0,0,0: 63:[22, 22] Operation: 11+11=22 Exploring Operation: 22/11=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 63:[11, 2] Operation: 22/11=2 Moving to Node #0,0,0 Current State: 63:[22, 22], Operations: ['77-66=11', '11+11=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[11, 2], Operations: ['77-66=11', '22/11=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,63 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
[ 12, 6, 78, 48 ]
47
[ "12+48=60", "78/6=13", "60-13=47" ]
Current State: 47:[12, 6, 78, 48], Operations: [] Exploring Operation: 12+48=60, Resulting Numbers: [6, 78, 60] Generated Node #2: [6, 78, 60] from Operation: 12+48=60 Current State: 47:[6, 78, 60], Operations: ['12+48=60'] Exploring Operation: 78/6=13, Resulting Numbers: [60, 13] Generated Node #3: [60, 13] from Operation: 78/6=13 Current State: 47:[60, 13], Operations: ['12+48=60', '78/6=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[12, 6, 78, 48], Operations: [] Exploring Operation: 12*6=72, Resulting Numbers: [78, 48, 72] Generated Node #0,0: 47:[78, 48, 72] Operation: 12*6=72 Exploring Operation: 12+6=18, Resulting Numbers: [78, 48, 18] Generated Node #0,1: 47:[78, 48, 18] Operation: 12+6=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[78, 48, 72], Operations: ['12*6=72'] Exploring Operation: 78-72=6, Resulting Numbers: [48, 6] Generated Node #0,0,0: 47:[48, 6] Operation: 78-72=6 Exploring Operation: 78-48=30, Resulting Numbers: [72, 30] Generated Node #0,0,1: 47:[72, 30] Operation: 78-48=30 Moving to Node #0,0,0 Current State: 47:[48, 6], Operations: ['12*6=72', '78-72=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[72, 30], Operations: ['12*6=72', '78-48=30'] Exploring Operation: 72+30=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,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,1 Current State: 47:[78, 48, 18], Operations: ['12+6=18'] Exploring Operation: 78-18=60, Resulting Numbers: [48, 60] Generated Node #0,1,0: 47:[48, 60] Operation: 78-18=60 Exploring Operation: 78-48=30, Resulting Numbers: [18, 30] Generated Node #0,1,1: 47:[18, 30] Operation: 78-48=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[48, 60], Operations: ['12+6=18', '78-18=60'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,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:[18, 30], Operations: ['12+6=18', '78-48=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,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 No solution found.
0
hs_2
mult_heuristic
[ 81, 80, 11, 95 ]
96
[ "81+95=176", "176/11=16", "80+16=96" ]
Current State: 96:[81, 80, 11, 95], Operations: [] Exploring Operation: 81+95=176, Resulting Numbers: [80, 11, 176] Generated Node #2: [80, 11, 176] from Operation: 81+95=176 Current State: 96:[80, 11, 176], Operations: ['81+95=176'] Exploring Operation: 176/11=16, Resulting Numbers: [80, 16] Generated Node #3: [80, 16] from Operation: 176/11=16 Current State: 96:[80, 16], Operations: ['81+95=176', '176/11=16'] Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[81, 80, 11, 95], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [11, 95, 1] Generated Node #0,0: 96:[11, 95, 1] Operation: 81-80=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[11, 95, 1], Operations: ['81-80=1'] Exploring Operation: 11+1=12, Resulting Numbers: [95, 12] Generated Node #0,0,0: 96:[95, 12] Operation: 11+1=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[95, 12], Operations: ['81-80=1', '11+1=12'] Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 35, 68, 2, 41 ]
58
[ "35*68=2380", "2380-2=2378", "2378/41=58" ]
Current State: 58:[35, 68, 2, 41], Operations: [] Exploring Operation: 35*68=2380, Resulting Numbers: [2, 41, 2380] Generated Node #2: [2, 41, 2380] from Operation: 35*68=2380 Current State: 58:[2, 41, 2380], Operations: ['35*68=2380'] Exploring Operation: 2380-2=2378, Resulting Numbers: [41, 2378] Generated Node #3: [41, 2378] from Operation: 2380-2=2378 Current State: 58:[41, 2378], Operations: ['35*68=2380', '2380-2=2378'] Exploring Operation: 2378/41=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[35, 68, 2, 41], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [68, 2, 6] Generated Node #0,0: 58:[68, 2, 6] Operation: 41-35=6 Exploring Operation: 68-41=27, Resulting Numbers: [35, 2, 27] Generated Node #0,1: 58:[35, 2, 27] Operation: 68-41=27 Exploring Operation: 68-35=33, Resulting Numbers: [2, 41, 33] Generated Node #0,2: 58:[2, 41, 33] Operation: 68-35=33 Moving to Node #0,1 Current State: 58:[35, 2, 27], Operations: ['68-41=27'] Exploring Operation: 35-27=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 58:[2, 8] Operation: 35-27=8 Exploring Operation: 35+27=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 58:[2, 62] Operation: 35+27=62 Exploring Operation: 35-2=33, Resulting Numbers: [27, 33] Generated Node #0,1,2: 58:[27, 33] Operation: 35-2=33 Moving to Node #0,0 Current State: 58:[68, 2, 6], Operations: ['41-35=6'] Exploring Operation: 6/2=3, Resulting Numbers: [68, 3] Generated Node #0,0,0: 58:[68, 3] Operation: 6/2=3 Exploring Operation: 68-6=62, Resulting Numbers: [2, 62] Generated Node #0,0,1: 58:[2, 62] Operation: 68-6=62 Exploring Operation: 68/2=34, Resulting Numbers: [6, 34] Generated Node #0,0,2: 58:[6, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[2, 62], Operations: ['41-35=6', '68-6=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,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,0,2 Current State: 58:[6, 34], Operations: ['41-35=6', '68/2=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,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,0,0 Current State: 58:[68, 3], Operations: ['41-35=6', '6/2=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,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:[2, 41, 33], Operations: ['68-35=33'] Exploring Operation: 41-33=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 58:[2, 8] Operation: 41-33=8 Exploring Operation: 41-2=39, Resulting Numbers: [33, 39] Generated Node #0,2,1: 58:[33, 39] Operation: 41-2=39 Exploring Operation: 33-2=31, Resulting Numbers: [41, 31] Generated Node #0,2,2: 58:[41, 31] Operation: 33-2=31 Moving to Node #0,1,1 Current State: 58:[2, 62], Operations: ['68-41=27', '35+27=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[27, 33], Operations: ['68-41=27', '35-2=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[2, 8], Operations: ['68-41=27', '35-27=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[2, 8], Operations: ['68-35=33', '41-33=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[33, 39], Operations: ['68-35=33', '41-2=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[41, 31], Operations: ['68-35=33', '33-2=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,58 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 99, 16, 98, 2 ]
31
[ "99-98=1", "16*2=32", "32-1=31" ]
Current State: 31:[99, 16, 98, 2], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [16, 2, 1] Generated Node #2: [16, 2, 1] from Operation: 99-98=1 Current State: 31:[16, 2, 1], Operations: ['99-98=1'] Exploring Operation: 16*2=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 16*2=32 Current State: 31:[1, 32], Operations: ['99-98=1', '16*2=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[99, 16, 98, 2], Operations: [] Exploring Operation: 16*2=32, Resulting Numbers: [99, 98, 32] Generated Node #0,0: 31:[99, 98, 32] Operation: 16*2=32 Exploring Operation: 99-16=83, Resulting Numbers: [98, 2, 83] Generated Node #0,1: 31:[98, 2, 83] Operation: 99-16=83 Exploring Operation: 99-98=1, Resulting Numbers: [16, 2, 1] Generated Node #0,2: 31:[16, 2, 1] Operation: 99-98=1 Exploring Operation: 98/2=49, Resulting Numbers: [99, 16, 49] Generated Node #0,3: 31:[99, 16, 49] Operation: 98/2=49 Moving to Node #0,2 Current State: 31:[16, 2, 1], Operations: ['99-98=1'] Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,2,0: 31:[16, 3] Operation: 2+1=3 Exploring Operation: 16+1=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 31:[2, 17] Operation: 16+1=17 Exploring Operation: 16*2=32, Resulting Numbers: [1, 32] Generated Node #0,2,2: 31:[1, 32] Operation: 16*2=32 Exploring Operation: 16+2=18, Resulting Numbers: [1, 18] Generated Node #0,2,3: 31:[1, 18] Operation: 16+2=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[1, 32], Operations: ['99-98=1', '16*2=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[99, 16, 98, 2], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [16, 2, 1] Generated Node #0,2: 31:[16, 2, 1] Operation: 99-98=1 Moving to Node #0,2 Current State: 31:[16, 2, 1], Operations: ['99-98=1'] Exploring Operation: 16*2=32, Resulting Numbers: [1, 32] Generated Node #0,2,2: 31:[1, 32] Operation: 16*2=32 Moving to Node #0,2,2 Current State: 31:[1, 32], Operations: ['99-98=1', '16*2=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 84, 38, 12, 10 ]
97
[ "84*12=1008", "1008-38=970", "970/10=97" ]
Current State: 97:[84, 38, 12, 10], Operations: [] Exploring Operation: 84*12=1008, Resulting Numbers: [38, 10, 1008] Generated Node #2: [38, 10, 1008] from Operation: 84*12=1008 Current State: 97:[38, 10, 1008], Operations: ['84*12=1008'] Exploring Operation: 1008-38=970, Resulting Numbers: [10, 970] Generated Node #3: [10, 970] from Operation: 1008-38=970 Current State: 97:[10, 970], Operations: ['84*12=1008', '1008-38=970'] Exploring Operation: 970/10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[84, 38, 12, 10], Operations: [] Exploring Operation: 84+12=96, Resulting Numbers: [38, 10, 96] Generated Node #0,0: 97:[38, 10, 96] Operation: 84+12=96 Exploring Operation: 84+10=94, Resulting Numbers: [38, 12, 94] Generated Node #0,1: 97:[38, 12, 94] Operation: 84+10=94 Exploring Operation: 38+12=50, Resulting Numbers: [84, 10, 50] Generated Node #0,2: 97:[84, 10, 50] Operation: 38+12=50 Exploring Operation: 12*10=120, Resulting Numbers: [84, 38, 120] Generated Node #0,3: 97:[84, 38, 120] Operation: 12*10=120 Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[84, 38, 120], Operations: ['12*10=120'] Exploring Operation: 38+120=158, Resulting Numbers: [84, 158] Generated Node #0,3,0: 97:[84, 158] Operation: 38+120=158 Exploring Operation: 120-38=82, Resulting Numbers: [84, 82] Generated Node #0,3,1: 97:[84, 82] Operation: 120-38=82 Exploring Operation: 84-38=46, Resulting Numbers: [120, 46] Generated Node #0,3,2: 97:[120, 46] Operation: 84-38=46 Exploring Operation: 84+38=122, Resulting Numbers: [120, 122] Generated Node #0,3,3: 97:[120, 122] Operation: 84+38=122 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[84, 82], Operations: ['12*10=120', '120-38=82'] Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[120, 122], Operations: ['12*10=120', '84+38=122'] Exploring Operation: 122-120=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 120*122=14640, Resulting Numbers: [14640] 14640,97 unequal: No Solution Exploring Operation: 120+122=242, Resulting Numbers: [242] 242,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[84, 158], Operations: ['12*10=120', '38+120=158'] Exploring Operation: 158-84=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 84+158=242, Resulting Numbers: [242] 242,97 unequal: No Solution Exploring Operation: 84*158=13272, Resulting Numbers: [13272] 13272,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[120, 46], Operations: ['12*10=120', '84-38=46'] Exploring Operation: 120*46=5520, Resulting Numbers: [5520] 5520,97 unequal: No Solution Exploring Operation: 120-46=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 120+46=166, Resulting Numbers: [166] 166,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,0 Current State: 97:[38, 10, 96], Operations: ['84+12=96'] Exploring Operation: 38+10=48, Resulting Numbers: [96, 48] Generated Node #0,0,0: 97:[96, 48] Operation: 38+10=48 Exploring Operation: 96-10=86, Resulting Numbers: [38, 86] Generated Node #0,0,1: 97:[38, 86] Operation: 96-10=86 Exploring Operation: 38-10=28, Resulting Numbers: [96, 28] Generated Node #0,0,2: 97:[96, 28] Operation: 38-10=28 Exploring Operation: 10+96=106, Resulting Numbers: [38, 106] Generated Node #0,0,3: 97:[38, 106] Operation: 10+96=106 Moving to Node #0,0,0 Current State: 97:[96, 48], Operations: ['84+12=96', '38+10=48'] Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,97 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[38, 106], Operations: ['84+12=96', '10+96=106'] Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 38+106=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 38*106=4028, Resulting Numbers: [4028] 4028,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[96, 28], Operations: ['84+12=96', '38-10=28'] Exploring Operation: 96*28=2688, Resulting Numbers: [2688] 2688,97 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 96+28=124, Resulting Numbers: [124] 124,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[38, 86], Operations: ['84+12=96', '96-10=86'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 38+86=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 38*86=3268, Resulting Numbers: [3268] 3268,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[38, 12, 94], Operations: ['84+10=94'] Exploring Operation: 94-12=82, Resulting Numbers: [38, 82] Generated Node #0,1,0: 97:[38, 82] Operation: 94-12=82 Exploring Operation: 38+12=50, Resulting Numbers: [94, 50] Generated Node #0,1,1: 97:[94, 50] Operation: 38+12=50 Exploring Operation: 12+94=106, Resulting Numbers: [38, 106] Generated Node #0,1,2: 97:[38, 106] Operation: 12+94=106 Exploring Operation: 38-12=26, Resulting Numbers: [94, 26] Generated Node #0,1,3: 97:[94, 26] Operation: 38-12=26 Moving to Node #0,1,1 Current State: 97:[94, 50], Operations: ['84+10=94', '38+12=50'] Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[38, 106], Operations: ['84+10=94', '12+94=106'] Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 38+106=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 38*106=4028, Resulting Numbers: [4028] 4028,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[94, 26], Operations: ['84+10=94', '38-12=26'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[38, 82], Operations: ['84+10=94', '94-12=82'] Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,97 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,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 Current State: 97:[84, 10, 50], Operations: ['38+12=50'] Exploring Operation: 10+50=60, Resulting Numbers: [84, 60] Generated Node #0,2,0: 97:[84, 60] Operation: 10+50=60 Exploring Operation: 84-10=74, Resulting Numbers: [50, 74] Generated Node #0,2,1: 97:[50, 74] Operation: 84-10=74 Exploring Operation: 50-10=40, Resulting Numbers: [84, 40] Generated Node #0,2,2: 97:[84, 40] Operation: 50-10=40 Exploring Operation: 84+10=94, Resulting Numbers: [50, 94] Generated Node #0,2,3: 97:[50, 94] Operation: 84+10=94 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[84, 60], Operations: ['38+12=50', '10+50=60'] Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 84*60=5040, Resulting Numbers: [5040] 5040,97 unequal: No Solution Exploring Operation: 84+60=144, Resulting Numbers: [144] 144,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[50, 94], Operations: ['38+12=50', '84+10=94'] Exploring Operation: 50*94=4700, Resulting Numbers: [4700] 4700,97 unequal: No Solution Exploring Operation: 50+94=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[50, 74], Operations: ['38+12=50', '84-10=74'] Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[84, 40], Operations: ['38+12=50', '50-10=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,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 No solution found.
0
hs_4
mult_heuristic
[ 4, 53, 38, 31 ]
59
[ "53+31=84", "84/4=21", "38+21=59" ]
Current State: 59:[4, 53, 38, 31], Operations: [] Exploring Operation: 53+31=84, Resulting Numbers: [4, 38, 84] Generated Node #2: [4, 38, 84] from Operation: 53+31=84 Current State: 59:[4, 38, 84], Operations: ['53+31=84'] Exploring Operation: 84/4=21, Resulting Numbers: [38, 21] Generated Node #3: [38, 21] from Operation: 84/4=21 Current State: 59:[38, 21], Operations: ['53+31=84', '84/4=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[4, 53, 38, 31], Operations: [] Exploring Operation: 4+38=42, Resulting Numbers: [53, 31, 42] Generated Node #0,0: 59:[53, 31, 42] Operation: 4+38=42 Exploring Operation: 38-4=34, Resulting Numbers: [53, 31, 34] Generated Node #0,1: 59:[53, 31, 34] Operation: 38-4=34 Exploring Operation: 53-4=49, Resulting Numbers: [38, 31, 49] Generated Node #0,2: 59:[38, 31, 49] Operation: 53-4=49 Exploring Operation: 4+53=57, Resulting Numbers: [38, 31, 57] Generated Node #0,3: 59:[38, 31, 57] Operation: 4+53=57 Exploring Operation: 4+31=35, Resulting Numbers: [53, 38, 35] Generated Node #0,4: 59:[53, 38, 35] Operation: 4+31=35 Moving to Node #0,0 Current State: 59:[53, 31, 42], Operations: ['4+38=42'] Exploring Operation: 31+42=73, Resulting Numbers: [53, 73] Generated Node #0,0,0: 59:[53, 73] Operation: 31+42=73 Exploring Operation: 53+31=84, Resulting Numbers: [42, 84] Generated Node #0,0,1: 59:[42, 84] Operation: 53+31=84 Exploring Operation: 53+42=95, Resulting Numbers: [31, 95] Generated Node #0,0,2: 59:[31, 95] Operation: 53+42=95 Exploring Operation: 53-31=22, Resulting Numbers: [42, 22] Generated Node #0,0,3: 59:[42, 22] Operation: 53-31=22 Exploring Operation: 42-31=11, Resulting Numbers: [53, 11] Generated Node #0,0,4: 59:[53, 11] Operation: 42-31=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[53, 73], Operations: ['4+38=42', '31+42=73'] Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 53*73=3869, Resulting Numbers: [3869] 3869,59 unequal: No Solution Exploring Operation: 53+73=126, Resulting Numbers: [126] 126,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[42, 84], Operations: ['4+38=42', '53+31=84'] Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[42, 22], Operations: ['4+38=42', '53-31=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[53, 11], Operations: ['4+38=42', '42-31=11'] Exploring Operation: 53*11=583, Resulting Numbers: [583] 583,59 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[31, 95], Operations: ['4+38=42', '53+42=95'] Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 31*95=2945, Resulting Numbers: [2945] 2945,59 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: 59:[53, 38, 35], Operations: ['4+31=35'] Exploring Operation: 53-35=18, Resulting Numbers: [38, 18] Generated Node #0,4,0: 59:[38, 18] Operation: 53-35=18 Exploring Operation: 53+35=88, Resulting Numbers: [38, 88] Generated Node #0,4,1: 59:[38, 88] Operation: 53+35=88 Exploring Operation: 53+38=91, Resulting Numbers: [35, 91] Generated Node #0,4,2: 59:[35, 91] Operation: 53+38=91 Exploring Operation: 38-35=3, Resulting Numbers: [53, 3] Generated Node #0,4,3: 59:[53, 3] Operation: 38-35=3 Exploring Operation: 38+35=73, Resulting Numbers: [53, 73] Generated Node #0,4,4: 59:[53, 73] Operation: 38+35=73 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[53, 73], Operations: ['4+31=35', '38+35=73'] Exploring Operation: 53+73=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 53*73=3869, Resulting Numbers: [3869] 3869,59 unequal: No Solution Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[38, 88], Operations: ['4+31=35', '53+35=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,59 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[35, 91], Operations: ['4+31=35', '53+38=91'] Exploring Operation: 35*91=3185, Resulting Numbers: [3185] 3185,59 unequal: No Solution Exploring Operation: 35+91=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[38, 18], Operations: ['4+31=35', '53-35=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,59 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[53, 3], Operations: ['4+31=35', '38-35=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 59:[38, 31, 57], Operations: ['4+53=57'] Exploring Operation: 38-31=7, Resulting Numbers: [57, 7] Generated Node #0,3,0: 59:[57, 7] Operation: 38-31=7 Exploring Operation: 31+57=88, Resulting Numbers: [38, 88] Generated Node #0,3,1: 59:[38, 88] Operation: 31+57=88 Exploring Operation: 38+31=69, Resulting Numbers: [57, 69] Generated Node #0,3,2: 59:[57, 69] Operation: 38+31=69 Exploring Operation: 38+57=95, Resulting Numbers: [31, 95] Generated Node #0,3,3: 59:[31, 95] Operation: 38+57=95 Exploring Operation: 57-31=26, Resulting Numbers: [38, 26] Generated Node #0,3,4: 59:[38, 26] Operation: 57-31=26 Moving to Node #0,1 Current State: 59:[53, 31, 34], Operations: ['38-4=34'] Exploring Operation: 31+34=65, Resulting Numbers: [53, 65] Generated Node #0,1,0: 59:[53, 65] Operation: 31+34=65 Exploring Operation: 53-31=22, Resulting Numbers: [34, 22] Generated Node #0,1,1: 59:[34, 22] Operation: 53-31=22 Exploring Operation: 34-31=3, Resulting Numbers: [53, 3] Generated Node #0,1,2: 59:[53, 3] Operation: 34-31=3 Exploring Operation: 53+31=84, Resulting Numbers: [34, 84] Generated Node #0,1,3: 59:[34, 84] Operation: 53+31=84 Exploring Operation: 53+34=87, Resulting Numbers: [31, 87] Generated Node #0,1,4: 59:[31, 87] Operation: 53+34=87 Moving to Node #0,2 Current State: 59:[38, 31, 49], Operations: ['53-4=49'] Exploring Operation: 38+31=69, Resulting Numbers: [49, 69] Generated Node #0,2,0: 59:[49, 69] Operation: 38+31=69 Exploring Operation: 38+49=87, Resulting Numbers: [31, 87] Generated Node #0,2,1: 59:[31, 87] Operation: 38+49=87 Exploring Operation: 38-31=7, Resulting Numbers: [49, 7] Generated Node #0,2,2: 59:[49, 7] Operation: 38-31=7 Exploring Operation: 31+49=80, Resulting Numbers: [38, 80] Generated Node #0,2,3: 59:[38, 80] Operation: 31+49=80 Exploring Operation: 49-31=18, Resulting Numbers: [38, 18] Generated Node #0,2,4: 59:[38, 18] Operation: 49-31=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[49, 69], Operations: ['53-4=49', '38+31=69'] Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,59 unequal: No Solution Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,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,2,3 Current State: 59:[38, 80], Operations: ['53-4=49', '31+49=80'] Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,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,2,1 Current State: 59:[31, 87], Operations: ['53-4=49', '38+49=87'] Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,59 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,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,2,2 Current State: 59:[49, 7], Operations: ['53-4=49', '38-31=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,59 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,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,2,4 Current State: 59:[38, 18], Operations: ['53-4=49', '49-31=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,59 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 59:[57, 69], Operations: ['4+53=57', '38+31=69'] Exploring Operation: 57+69=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 57*69=3933, Resulting Numbers: [3933] 3933,59 unequal: No Solution Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[53, 65], Operations: ['38-4=34', '31+34=65'] Exploring Operation: 53*65=3445, Resulting Numbers: [3445] 3445,59 unequal: No Solution Exploring Operation: 53+65=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[34, 84], Operations: ['38-4=34', '53+31=84'] Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,59 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[38, 88], Operations: ['4+53=57', '31+57=88'] Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[57, 7], Operations: ['4+53=57', '38-31=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,59 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[38, 26], Operations: ['4+53=57', '57-31=26'] Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,59 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[31, 87], Operations: ['38-4=34', '53+34=87'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,59 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[34, 22], Operations: ['38-4=34', '53-31=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[53, 3], Operations: ['38-4=34', '34-31=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[31, 95], Operations: ['4+53=57', '38+57=95'] Exploring Operation: 31*95=2945, Resulting Numbers: [2945] 2945,59 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 75, 53, 33, 36 ]
24
[ "75-53=22", "36*22=792", "792/33=24" ]
Current State: 24:[75, 53, 33, 36], Operations: [] Exploring Operation: 75-53=22, Resulting Numbers: [33, 36, 22] Generated Node #2: [33, 36, 22] from Operation: 75-53=22 Current State: 24:[33, 36, 22], Operations: ['75-53=22'] Exploring Operation: 36*22=792, Resulting Numbers: [33, 792] Generated Node #3: [33, 792] from Operation: 36*22=792 Current State: 24:[33, 792], Operations: ['75-53=22', '36*22=792'] Exploring Operation: 792/33=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[75, 53, 33, 36], Operations: [] Exploring Operation: 75-53=22, Resulting Numbers: [33, 36, 22] Generated Node #0,0: 24:[33, 36, 22] Operation: 75-53=22 Exploring Operation: 75-36=39, Resulting Numbers: [53, 33, 39] Generated Node #0,1: 24:[53, 33, 39] Operation: 75-36=39 Exploring Operation: 53-36=17, Resulting Numbers: [75, 33, 17] Generated Node #0,2: 24:[75, 33, 17] Operation: 53-36=17 Exploring Operation: 53-33=20, Resulting Numbers: [75, 36, 20] Generated Node #0,3: 24:[75, 36, 20] Operation: 53-33=20 Exploring Operation: 75-33=42, Resulting Numbers: [53, 36, 42] Generated Node #0,4: 24:[53, 36, 42] Operation: 75-33=42 Moving to Node #0,0 Current State: 24:[33, 36, 22], Operations: ['75-53=22'] Exploring Operation: 33+22=55, Resulting Numbers: [36, 55] Generated Node #0,0,0: 24:[36, 55] Operation: 33+22=55 Exploring Operation: 36-22=14, Resulting Numbers: [33, 14] Generated Node #0,0,1: 24:[33, 14] Operation: 36-22=14 Exploring Operation: 36-33=3, Resulting Numbers: [22, 3] Generated Node #0,0,2: 24:[22, 3] Operation: 36-33=3 Exploring Operation: 36+22=58, Resulting Numbers: [33, 58] Generated Node #0,0,3: 24:[33, 58] Operation: 36+22=58 Exploring Operation: 33-22=11, Resulting Numbers: [36, 11] Generated Node #0,0,4: 24:[36, 11] Operation: 33-22=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[22, 3], Operations: ['75-53=22', '36-33=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,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,0,1 Current State: 24:[33, 14], Operations: ['75-53=22', '36-22=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,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,0,4 Current State: 24:[36, 11], Operations: ['75-53=22', '33-22=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,24 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,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,0,0 Current State: 24:[36, 55], Operations: ['75-53=22', '33+22=55'] Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,24 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,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,0,3 Current State: 24:[33, 58], Operations: ['75-53=22', '36+22=58'] Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,24 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,24 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: 24:[53, 33, 39], Operations: ['75-36=39'] Exploring Operation: 53+39=92, Resulting Numbers: [33, 92] Generated Node #0,1,0: 24:[33, 92] Operation: 53+39=92 Exploring Operation: 53-39=14, Resulting Numbers: [33, 14] Generated Node #0,1,1: 24:[33, 14] Operation: 53-39=14 Exploring Operation: 53+33=86, Resulting Numbers: [39, 86] Generated Node #0,1,2: 24:[39, 86] Operation: 53+33=86 Exploring Operation: 39-33=6, Resulting Numbers: [53, 6] Generated Node #0,1,3: 24:[53, 6] Operation: 39-33=6 Exploring Operation: 53-33=20, Resulting Numbers: [39, 20] Generated Node #0,1,4: 24:[39, 20] Operation: 53-33=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[33, 14], Operations: ['75-36=39', '53-39=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,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:[39, 20], Operations: ['75-36=39', '53-33=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,24 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,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:[53, 6], Operations: ['75-36=39', '39-33=6'] Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,24 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,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:[33, 92], Operations: ['75-36=39', '53+39=92'] Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,24 unequal: No Solution Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,24 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,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:[39, 86], Operations: ['75-36=39', '53+33=86'] Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 39*86=3354, Resulting Numbers: [3354] 3354,24 unequal: No Solution Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,24 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: 24:[53, 36, 42], Operations: ['75-33=42'] Exploring Operation: 42-36=6, Resulting Numbers: [53, 6] Generated Node #0,4,0: 24:[53, 6] Operation: 42-36=6 Exploring Operation: 53+42=95, Resulting Numbers: [36, 95] Generated Node #0,4,1: 24:[36, 95] Operation: 53+42=95 Exploring Operation: 53-36=17, Resulting Numbers: [42, 17] Generated Node #0,4,2: 24:[42, 17] Operation: 53-36=17 Exploring Operation: 53+36=89, Resulting Numbers: [42, 89] Generated Node #0,4,3: 24:[42, 89] Operation: 53+36=89 Exploring Operation: 53-42=11, Resulting Numbers: [36, 11] Generated Node #0,4,4: 24:[36, 11] Operation: 53-42=11 Moving to Node #0,2 Current State: 24:[75, 33, 17], Operations: ['53-36=17'] Exploring Operation: 75-17=58, Resulting Numbers: [33, 58] Generated Node #0,2,0: 24:[33, 58] Operation: 75-17=58 Exploring Operation: 33-17=16, Resulting Numbers: [75, 16] Generated Node #0,2,1: 24:[75, 16] Operation: 33-17=16 Exploring Operation: 75+17=92, Resulting Numbers: [33, 92] Generated Node #0,2,2: 24:[33, 92] Operation: 75+17=92 Exploring Operation: 75-33=42, Resulting Numbers: [17, 42] Generated Node #0,2,3: 24:[17, 42] Operation: 75-33=42 Exploring Operation: 33+17=50, Resulting Numbers: [75, 50] Generated Node #0,2,4: 24:[75, 50] Operation: 33+17=50 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[17, 42], Operations: ['53-36=17', '75-33=42'] Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,24 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,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,2,0 Current State: 24:[33, 58], Operations: ['53-36=17', '75-17=58'] Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,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,2,1 Current State: 24:[75, 16], Operations: ['53-36=17', '33-17=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,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,2,2 Current State: 24:[33, 92], Operations: ['53-36=17', '75+17=92'] Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,24 unequal: No Solution Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,24 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,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,2,4 Current State: 24:[75, 50], Operations: ['53-36=17', '33+17=50'] Exploring Operation: 75+50=125, Resulting Numbers: [125] 125,24 unequal: No Solution Exploring Operation: 75*50=3750, Resulting Numbers: [3750] 3750,24 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,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:[75, 36, 20], Operations: ['53-33=20'] Exploring Operation: 75-36=39, Resulting Numbers: [20, 39] Generated Node #0,3,0: 24:[20, 39] Operation: 75-36=39 Exploring Operation: 36-20=16, Resulting Numbers: [75, 16] Generated Node #0,3,1: 24:[75, 16] Operation: 36-20=16 Exploring Operation: 75-20=55, Resulting Numbers: [36, 55] Generated Node #0,3,2: 24:[36, 55] Operation: 75-20=55 Exploring Operation: 75+20=95, Resulting Numbers: [36, 95] Generated Node #0,3,3: 24:[36, 95] Operation: 75+20=95 Exploring Operation: 36+20=56, Resulting Numbers: [75, 56] Generated Node #0,3,4: 24:[75, 56] Operation: 36+20=56 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[20, 39], Operations: ['53-33=20', '75-36=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,24 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,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,3,2 Current State: 24:[36, 55], Operations: ['53-33=20', '75-20=55'] Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,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,3,1 Current State: 24:[75, 16], Operations: ['53-33=20', '36-20=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,24 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,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,3,3 Current State: 24:[36, 95], Operations: ['53-33=20', '75+20=95'] Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,24 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,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,3,4 Current State: 24:[75, 56], Operations: ['53-33=20', '36+20=56'] Exploring Operation: 75*56=4200, Resulting Numbers: [4200] 4200,24 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,24 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: 24:[36, 11], Operations: ['75-33=42', '53-42=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[42, 17], Operations: ['75-33=42', '53-36=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,24 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[53, 6], Operations: ['75-33=42', '42-36=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[36, 95], Operations: ['75-33=42', '53+42=95'] Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,24 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,24 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[42, 89], Operations: ['75-33=42', '53+36=89'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,24 unequal: No Solution Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,24 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 90, 15, 40, 27 ]
73
[ "90/15=6", "40+27=67", "6+67=73" ]
Current State: 73:[90, 15, 40, 27], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [40, 27, 6] Generated Node #2: [40, 27, 6] from Operation: 90/15=6 Current State: 73:[40, 27, 6], Operations: ['90/15=6'] Exploring Operation: 40+27=67, Resulting Numbers: [6, 67] Generated Node #3: [6, 67] from Operation: 40+27=67 Current State: 73:[6, 67], Operations: ['90/15=6', '40+27=67'] Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[90, 15, 40, 27], Operations: [] Exploring Operation: 40+27=67, Resulting Numbers: [90, 15, 67] Generated Node #0,0: 73:[90, 15, 67] Operation: 40+27=67 Exploring Operation: 90-27=63, Resulting Numbers: [15, 40, 63] Generated Node #0,1: 73:[15, 40, 63] Operation: 90-27=63 Exploring Operation: 90-15=75, Resulting Numbers: [40, 27, 75] Generated Node #0,2: 73:[40, 27, 75] Operation: 90-15=75 Exploring Operation: 15+40=55, Resulting Numbers: [90, 27, 55] Generated Node #0,3: 73:[90, 27, 55] Operation: 15+40=55 Exploring Operation: 15+27=42, Resulting Numbers: [90, 40, 42] Generated Node #0,4: 73:[90, 40, 42] Operation: 15+27=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[90, 15, 67], Operations: ['40+27=67'] Exploring Operation: 90-15=75, Resulting Numbers: [67, 75] Generated Node #0,0,0: 73:[67, 75] Operation: 90-15=75 Exploring Operation: 15+67=82, Resulting Numbers: [90, 82] Generated Node #0,0,1: 73:[90, 82] Operation: 15+67=82 Exploring Operation: 67-15=52, Resulting Numbers: [90, 52] Generated Node #0,0,2: 73:[90, 52] Operation: 67-15=52 Exploring Operation: 90/15=6, Resulting Numbers: [67, 6] Generated Node #0,0,3: 73:[67, 6] Operation: 90/15=6 Exploring Operation: 90+15=105, Resulting Numbers: [67, 105] Generated Node #0,0,4: 73:[67, 105] Operation: 90+15=105 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[67, 75], Operations: ['40+27=67', '90-15=75'] Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,73 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,73 unequal: No Solution No 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: 73:[90, 82], Operations: ['40+27=67', '15+67=82'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,73 unequal: No Solution No 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: 73:[90, 52], Operations: ['40+27=67', '67-15=52'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,73 unequal: No Solution Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,73 unequal: No Solution No 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: 73:[67, 105], Operations: ['40+27=67', '90+15=105'] Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,73 unequal: No Solution Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,73 unequal: No Solution No 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: 73:[67, 6], Operations: ['40+27=67', '90/15=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[90, 15, 40, 27], Operations: [] Exploring Operation: 40+27=67, Resulting Numbers: [90, 15, 67] Generated Node #0,0: 73:[90, 15, 67] Operation: 40+27=67 Moving to Node #0,0 Current State: 73:[90, 15, 67], Operations: ['40+27=67'] Exploring Operation: 90/15=6, Resulting Numbers: [67, 6] Generated Node #0,0,3: 73:[67, 6] Operation: 90/15=6 Moving to Node #0,0,3 Current State: 73:[67, 6], Operations: ['40+27=67', '90/15=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 37, 78, 3, 12 ]
78
[ "3*12=36", "37-36=1", "78*1=78" ]
Current State: 78:[37, 78, 3, 12], Operations: [] Exploring Operation: 3*12=36, Resulting Numbers: [37, 78, 36] Generated Node #2: [37, 78, 36] from Operation: 3*12=36 Current State: 78:[37, 78, 36], Operations: ['3*12=36'] Exploring Operation: 37-36=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 37-36=1 Current State: 78:[78, 1], Operations: ['3*12=36', '37-36=1'] Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[37, 78, 3, 12], Operations: [] Exploring Operation: 37+3=40, Resulting Numbers: [78, 12, 40] Generated Node #0,0: 78:[78, 12, 40] Operation: 37+3=40 Exploring Operation: 78/3=26, Resulting Numbers: [37, 12, 26] Generated Node #0,1: 78:[37, 12, 26] Operation: 78/3=26 Exploring Operation: 37-12=25, Resulting Numbers: [78, 3, 25] Generated Node #0,2: 78:[78, 3, 25] Operation: 37-12=25 Exploring Operation: 78-37=41, Resulting Numbers: [3, 12, 41] Generated Node #0,3: 78:[3, 12, 41] Operation: 78-37=41 Moving to Node #0,2 Current State: 78:[78, 3, 25], Operations: ['37-12=25'] Exploring Operation: 3*25=75, Resulting Numbers: [78, 75] Generated Node #0,2,0: 78:[78, 75] Operation: 3*25=75 Exploring Operation: 78/3=26, Resulting Numbers: [25, 26] Generated Node #0,2,1: 78:[25, 26] Operation: 78/3=26 Exploring Operation: 3+25=28, Resulting Numbers: [78, 28] Generated Node #0,2,2: 78:[78, 28] Operation: 3+25=28 Exploring Operation: 78+3=81, Resulting Numbers: [25, 81] Generated Node #0,2,3: 78:[25, 81] Operation: 78+3=81 Moving to Node #0,0 Current State: 78:[78, 12, 40], Operations: ['37+3=40'] Exploring Operation: 78-12=66, Resulting Numbers: [40, 66] Generated Node #0,0,0: 78:[40, 66] Operation: 78-12=66 Exploring Operation: 40-12=28, Resulting Numbers: [78, 28] Generated Node #0,0,1: 78:[78, 28] Operation: 40-12=28 Exploring Operation: 78+12=90, Resulting Numbers: [40, 90] Generated Node #0,0,2: 78:[40, 90] Operation: 78+12=90 Exploring Operation: 78-40=38, Resulting Numbers: [12, 38] Generated Node #0,0,3: 78:[12, 38] Operation: 78-40=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[78, 28], Operations: ['37+3=40', '40-12=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,78 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,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,0,3 Current State: 78:[12, 38], Operations: ['37+3=40', '78-40=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,78 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,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,0,0 Current State: 78:[40, 66], Operations: ['37+3=40', '78-12=66'] Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,78 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,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,0,2 Current State: 78:[40, 90], Operations: ['37+3=40', '78+12=90'] Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 40*90=3600, Resulting Numbers: [3600] 3600,78 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: 78:[3, 12, 41], Operations: ['78-37=41'] Exploring Operation: 12/3=4, Resulting Numbers: [41, 4] Generated Node #0,3,0: 78:[41, 4] Operation: 12/3=4 Exploring Operation: 41-3=38, Resulting Numbers: [12, 38] Generated Node #0,3,1: 78:[12, 38] Operation: 41-3=38 Exploring Operation: 41-12=29, Resulting Numbers: [3, 29] Generated Node #0,3,2: 78:[3, 29] Operation: 41-12=29 Exploring Operation: 3+12=15, Resulting Numbers: [41, 15] Generated Node #0,3,3: 78:[41, 15] Operation: 3+12=15 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[12, 38], Operations: ['78-37=41', '41-3=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,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,3,0 Current State: 78:[41, 4], Operations: ['78-37=41', '12/3=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,78 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,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,3,2 Current State: 78:[3, 29], Operations: ['78-37=41', '41-12=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,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,3,3 Current State: 78:[41, 15], Operations: ['78-37=41', '3+12=15'] Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,78 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,78 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: 78:[37, 12, 26], Operations: ['78/3=26'] Exploring Operation: 37-26=11, Resulting Numbers: [12, 11] Generated Node #0,1,0: 78:[12, 11] Operation: 37-26=11 Exploring Operation: 26-12=14, Resulting Numbers: [37, 14] Generated Node #0,1,1: 78:[37, 14] Operation: 26-12=14 Exploring Operation: 37-12=25, Resulting Numbers: [26, 25] Generated Node #0,1,2: 78:[26, 25] Operation: 37-12=25 Exploring Operation: 12+26=38, Resulting Numbers: [37, 38] Generated Node #0,1,3: 78:[37, 38] Operation: 12+26=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[26, 25], Operations: ['78/3=26', '37-12=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,78 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,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,0 Current State: 78:[12, 11], Operations: ['78/3=26', '37-26=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,78 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,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:[37, 14], Operations: ['78/3=26', '26-12=14'] Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,78 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 37+14=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,3 Current State: 78:[37, 38], Operations: ['78/3=26', '12+26=38'] Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,78 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,78 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: 78:[25, 26], Operations: ['37-12=25', '78/3=26'] Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,78 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[78, 28], Operations: ['37-12=25', '3+25=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,78 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[78, 75], Operations: ['37-12=25', '3*25=75'] Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,78 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[25, 81], Operations: ['37-12=25', '78+3=81'] Exploring Operation: 25+81=106, Resulting Numbers: [106] 106,78 unequal: No Solution Exploring Operation: 25*81=2025, Resulting Numbers: [2025] 2025,78 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 2, 21, 56 ]
98
[ "56/2=28", "21+28=49", "2*49=98" ]
Current State: 98:[2, 2, 21, 56], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [21, 28] Generated Node #2: [21, 28] from Operation: 56/2=28 Current State: 98:[21, 28], Operations: ['56/2=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,98 equal: Goal Reached Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[2, 2, 21, 56], Operations: [] Exploring Operation: 56-2=54, Resulting Numbers: [2, 21, 54] Generated Node #0,0: 98:[2, 21, 54] Operation: 56-2=54 Exploring Operation: 21-2=19, Resulting Numbers: [2, 56, 19] Generated Node #0,1: 98:[2, 56, 19] Operation: 21-2=19 Exploring Operation: 21-2=19, Resulting Numbers: [2, 56, 19] Generated Node #0,2: 98:[2, 56, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[2, 21, 54], Operations: ['56-2=54'] Exploring Operation: 21-2=19, Resulting Numbers: [54, 19] Generated Node #0,0,0: 98:[54, 19] Operation: 21-2=19 Exploring Operation: 2*21=42, Resulting Numbers: [54, 42] Generated Node #0,0,1: 98:[54, 42] Operation: 2*21=42 Exploring Operation: 54-2=52, Resulting Numbers: [21, 52] Generated Node #0,0,2: 98:[21, 52] Operation: 54-2=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[54, 19], Operations: ['56-2=54', '21-2=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 54*19=1026, Resulting Numbers: [1026] 1026,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[21, 52], Operations: ['56-2=54', '54-2=52'] Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,98 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[54, 42], Operations: ['56-2=54', '2*21=42'] Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,98 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[2, 56, 19], Operations: ['21-2=19'] Exploring Operation: 56-19=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 98:[2, 37] Operation: 56-19=37 Exploring Operation: 19-2=17, Resulting Numbers: [56, 17] Generated Node #0,1,1: 98:[56, 17] Operation: 19-2=17 Exploring Operation: 56-2=54, Resulting Numbers: [19, 54] Generated Node #0,1,2: 98:[19, 54] Operation: 56-2=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[56, 17], Operations: ['21-2=19', '19-2=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,98 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[19, 54], Operations: ['21-2=19', '56-2=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,98 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[2, 37], Operations: ['21-2=19', '56-19=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[2, 56, 19], Operations: ['21-2=19'] Exploring Operation: 56-2=54, Resulting Numbers: [19, 54] Generated Node #0,2,0: 98:[19, 54] Operation: 56-2=54 Exploring Operation: 19-2=17, Resulting Numbers: [56, 17] Generated Node #0,2,1: 98:[56, 17] Operation: 19-2=17 Exploring Operation: 56-19=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 98:[2, 37] Operation: 56-19=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[19, 54], Operations: ['21-2=19', '56-2=54'] Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,98 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[56, 17], Operations: ['21-2=19', '19-2=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,98 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[2, 37], Operations: ['21-2=19', '56-19=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 30, 46, 47, 43 ]
72
[ "30+46=76", "47-43=4", "76-4=72" ]
Current State: 72:[30, 46, 47, 43], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [47, 43, 76] Generated Node #2: [47, 43, 76] from Operation: 30+46=76 Current State: 72:[47, 43, 76], Operations: ['30+46=76'] Exploring Operation: 47-43=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 47-43=4 Current State: 72:[76, 4], Operations: ['30+46=76', '47-43=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[30, 46, 47, 43], Operations: [] Exploring Operation: 47-43=4, Resulting Numbers: [30, 46, 4] Generated Node #0,0: 72:[30, 46, 4] Operation: 47-43=4 Exploring Operation: 46-43=3, Resulting Numbers: [30, 47, 3] Generated Node #0,1: 72:[30, 47, 3] Operation: 46-43=3 Exploring Operation: 47-46=1, Resulting Numbers: [30, 43, 1] Generated Node #0,2: 72:[30, 43, 1] Operation: 47-46=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[30, 43, 1], Operations: ['47-46=1'] Exploring Operation: 43-30=13, Resulting Numbers: [1, 13] Generated Node #0,2,0: 72:[1, 13] Operation: 43-30=13 Exploring Operation: 30+43=73, Resulting Numbers: [1, 73] Generated Node #0,2,1: 72:[1, 73] Operation: 30+43=73 Exploring Operation: 30+1=31, Resulting Numbers: [43, 31] Generated Node #0,2,2: 72:[43, 31] Operation: 30+1=31 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[1, 13], Operations: ['47-46=1', '43-30=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[1, 73], Operations: ['47-46=1', '30+43=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[30, 46, 47, 43], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [30, 43, 1] Generated Node #0,2: 72:[30, 43, 1] Operation: 47-46=1 Moving to Node #0,2 Current State: 72:[30, 43, 1], Operations: ['47-46=1'] Exploring Operation: 30+43=73, Resulting Numbers: [1, 73] Generated Node #0,2,1: 72:[1, 73] Operation: 30+43=73 Moving to Node #0,2,1 Current State: 72:[1, 73], Operations: ['47-46=1', '30+43=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 69, 5, 31, 47 ]
45
[ "69-31=38", "47-38=9", "5*9=45" ]
Current State: 45:[69, 5, 31, 47], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [5, 47, 38] Generated Node #2: [5, 47, 38] from Operation: 69-31=38 Current State: 45:[5, 47, 38], Operations: ['69-31=38'] Exploring Operation: 47-38=9, Resulting Numbers: [5, 9] Generated Node #3: [5, 9] from Operation: 47-38=9 Current State: 45:[5, 9], Operations: ['69-31=38', '47-38=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[69, 5, 31, 47], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [5, 31, 22] Generated Node #0,0: 45:[5, 31, 22] Operation: 69-47=22 Exploring Operation: 47-31=16, Resulting Numbers: [69, 5, 16] Generated Node #0,1: 45:[69, 5, 16] Operation: 47-31=16 Exploring Operation: 69-31=38, Resulting Numbers: [5, 47, 38] Generated Node #0,2: 45:[5, 47, 38] Operation: 69-31=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[5, 47, 38], Operations: ['69-31=38'] Exploring Operation: 47-38=9, Resulting Numbers: [5, 9] Generated Node #0,2,0: 45:[5, 9] Operation: 47-38=9 Exploring Operation: 5+38=43, Resulting Numbers: [47, 43] Generated Node #0,2,1: 45:[47, 43] Operation: 5+38=43 Exploring Operation: 47-5=42, Resulting Numbers: [38, 42] Generated Node #0,2,2: 45:[38, 42] Operation: 47-5=42 Moving to Node #0,2,0 Current State: 45:[5, 9], Operations: ['69-31=38', '47-38=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[69, 5, 31, 47], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [5, 47, 38] Generated Node #0,2: 45:[5, 47, 38] Operation: 69-31=38 Moving to Node #0,2 Current State: 45:[5, 47, 38], Operations: ['69-31=38'] Exploring Operation: 47-38=9, Resulting Numbers: [5, 9] Generated Node #0,2,0: 45:[5, 9] Operation: 47-38=9 Moving to Node #0,2,0 Current State: 45:[5, 9], Operations: ['69-31=38', '47-38=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 56, 83, 53, 79 ]
25
[ "56*79=4424", "83*53=4399", "4424-4399=25" ]
Current State: 25:[56, 83, 53, 79], Operations: [] Exploring Operation: 56*79=4424, Resulting Numbers: [83, 53, 4424] Generated Node #2: [83, 53, 4424] from Operation: 56*79=4424 Current State: 25:[83, 53, 4424], Operations: ['56*79=4424'] Exploring Operation: 83*53=4399, Resulting Numbers: [4424, 4399] Generated Node #3: [4424, 4399] from Operation: 83*53=4399 Current State: 25:[4424, 4399], Operations: ['56*79=4424', '83*53=4399'] Exploring Operation: 4424-4399=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[56, 83, 53, 79], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [53, 79, 27] Generated Node #0,0: 25:[53, 79, 27] Operation: 83-56=27 Exploring Operation: 83-79=4, Resulting Numbers: [56, 53, 4] Generated Node #0,1: 25:[56, 53, 4] Operation: 83-79=4 Exploring Operation: 79-56=23, Resulting Numbers: [83, 53, 23] Generated Node #0,2: 25:[83, 53, 23] Operation: 79-56=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[56, 53, 4], Operations: ['83-79=4'] Exploring Operation: 56/4=14, Resulting Numbers: [53, 14] Generated Node #0,1,0: 25:[53, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [53, 52] Generated Node #0,1,1: 25:[53, 52] Operation: 56-4=52 Exploring Operation: 56-53=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 25:[4, 3] Operation: 56-53=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[4, 3], Operations: ['83-79=4', '56-53=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[53, 14], Operations: ['83-79=4', '56/4=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,25 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[53, 52], Operations: ['83-79=4', '56-4=52'] Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[53, 79, 27], Operations: ['83-56=27'] Exploring Operation: 79-53=26, Resulting Numbers: [27, 26] Generated Node #0,0,0: 25:[27, 26] Operation: 79-53=26 Exploring Operation: 53-27=26, Resulting Numbers: [79, 26] Generated Node #0,0,1: 25:[79, 26] Operation: 53-27=26 Exploring Operation: 79-27=52, Resulting Numbers: [53, 52] Generated Node #0,0,2: 25:[53, 52] Operation: 79-27=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[27, 26], Operations: ['83-56=27', '79-53=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,25 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[79, 26], Operations: ['83-56=27', '53-27=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,25 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[53, 52], Operations: ['83-56=27', '79-27=52'] Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,25 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[83, 53, 23], Operations: ['79-56=23'] Exploring Operation: 83-23=60, Resulting Numbers: [53, 60] Generated Node #0,2,0: 25:[53, 60] Operation: 83-23=60 Exploring Operation: 53-23=30, Resulting Numbers: [83, 30] Generated Node #0,2,1: 25:[83, 30] Operation: 53-23=30 Exploring Operation: 83-53=30, Resulting Numbers: [23, 30] Generated Node #0,2,2: 25:[23, 30] Operation: 83-53=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[23, 30], Operations: ['79-56=23', '83-53=30'] Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[53, 60], Operations: ['79-56=23', '83-23=60'] Exploring Operation: 53*60=3180, Resulting Numbers: [3180] 3180,25 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 53+60=113, Resulting Numbers: [113] 113,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[83, 30], Operations: ['79-56=23', '53-23=30'] Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,25 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,25 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 67, 68, 13, 68 ]
53
[ "67-13=54", "68/68=1", "54-1=53" ]
Current State: 53:[67, 68, 13, 68], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [68, 68, 54] Generated Node #2: [68, 68, 54] from Operation: 67-13=54 Current State: 53:[68, 68, 54], Operations: ['67-13=54'] Exploring Operation: 68/68=1, Resulting Numbers: [54, 1] Generated Node #3: [54, 1] from Operation: 68/68=1 Current State: 53:[54, 1], Operations: ['67-13=54', '68/68=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[67, 68, 13, 68], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [68, 68, 54] Generated Node #0,0: 53:[68, 68, 54] Operation: 67-13=54 Moving to Node #0,0 Current State: 53:[68, 68, 54], Operations: ['67-13=54'] Exploring Operation: 68/68=1, Resulting Numbers: [54, 1] Generated Node #0,0,0: 53:[54, 1] Operation: 68/68=1 Moving to Node #0,0,0 Current State: 53:[54, 1], Operations: ['67-13=54', '68/68=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[67, 68, 13, 68], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [68, 68, 54] Generated Node #0,0: 53:[68, 68, 54] Operation: 67-13=54 Moving to Node #0,0 Current State: 53:[68, 68, 54], Operations: ['67-13=54'] Exploring Operation: 68/68=1, Resulting Numbers: [54, 1] Generated Node #0,0,0: 53:[54, 1] Operation: 68/68=1 Moving to Node #0,0,0 Current State: 53:[54, 1], Operations: ['67-13=54', '68/68=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 66, 63, 25, 43 ]
32
[ "66-63=3", "25*3=75", "75-43=32" ]
Current State: 32:[66, 63, 25, 43], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [25, 43, 3] Generated Node #2: [25, 43, 3] from Operation: 66-63=3 Current State: 32:[25, 43, 3], Operations: ['66-63=3'] Exploring Operation: 25*3=75, Resulting Numbers: [43, 75] Generated Node #3: [43, 75] from Operation: 25*3=75 Current State: 32:[43, 75], Operations: ['66-63=3', '25*3=75'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[66, 63, 25, 43], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [25, 43, 3] Generated Node #0,0: 32:[25, 43, 3] Operation: 66-63=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[25, 43, 3], Operations: ['66-63=3'] Exploring Operation: 43-25=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 32:[3, 18] Operation: 43-25=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[3, 18], Operations: ['66-63=3', '43-25=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,32 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
[ 30, 24, 33, 75 ]
83
[ "33-30=3", "24/3=8", "75+8=83" ]
Current State: 83:[30, 24, 33, 75], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [24, 75, 3] Generated Node #2: [24, 75, 3] from Operation: 33-30=3 Current State: 83:[24, 75, 3], Operations: ['33-30=3'] Exploring Operation: 24/3=8, Resulting Numbers: [75, 8] Generated Node #3: [75, 8] from Operation: 24/3=8 Current State: 83:[75, 8], Operations: ['33-30=3', '24/3=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[30, 24, 33, 75], Operations: [] Exploring Operation: 30+75=105, Resulting Numbers: [24, 33, 105] Generated Node #0,0: 83:[24, 33, 105] Operation: 30+75=105 Exploring Operation: 24+33=57, Resulting Numbers: [30, 75, 57] Generated Node #0,1: 83:[30, 75, 57] Operation: 24+33=57 Exploring Operation: 30+33=63, Resulting Numbers: [24, 75, 63] Generated Node #0,2: 83:[24, 75, 63] Operation: 30+33=63 Exploring Operation: 30+24=54, Resulting Numbers: [33, 75, 54] Generated Node #0,3: 83:[33, 75, 54] Operation: 30+24=54 Exploring Operation: 24+75=99, Resulting Numbers: [30, 33, 99] Generated Node #0,4: 83:[30, 33, 99] Operation: 24+75=99 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[30, 75, 57], Operations: ['24+33=57'] Exploring Operation: 57-30=27, Resulting Numbers: [75, 27] Generated Node #0,1,0: 83:[75, 27] Operation: 57-30=27 Exploring Operation: 75-30=45, Resulting Numbers: [57, 45] Generated Node #0,1,1: 83:[57, 45] Operation: 75-30=45 Exploring Operation: 75+57=132, Resulting Numbers: [30, 132] Generated Node #0,1,2: 83:[30, 132] Operation: 75+57=132 Exploring Operation: 30+57=87, Resulting Numbers: [75, 87] Generated Node #0,1,3: 83:[75, 87] Operation: 30+57=87 Exploring Operation: 30+75=105, Resulting Numbers: [57, 105] Generated Node #0,1,4: 83:[57, 105] Operation: 30+75=105 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[75, 87], Operations: ['24+33=57', '30+57=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,83 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,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,4 Current State: 83:[57, 105], Operations: ['24+33=57', '30+75=105'] Exploring Operation: 57+105=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 57*105=5985, Resulting Numbers: [5985] 5985,83 unequal: No Solution Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,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:[75, 27], Operations: ['24+33=57', '57-30=27'] Exploring Operation: 75+27=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 75*27=2025, Resulting Numbers: [2025] 2025,83 unequal: No Solution Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,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:[57, 45], Operations: ['24+33=57', '75-30=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,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:[30, 132], Operations: ['24+33=57', '75+57=132'] Exploring Operation: 30*132=3960, Resulting Numbers: [3960] 3960,83 unequal: No Solution Exploring Operation: 132-30=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 30+132=162, Resulting Numbers: [162] 162,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,2 Current State: 83:[24, 75, 63], Operations: ['30+33=63'] Exploring Operation: 75-24=51, Resulting Numbers: [63, 51] Generated Node #0,2,0: 83:[63, 51] Operation: 75-24=51 Exploring Operation: 63-24=39, Resulting Numbers: [75, 39] Generated Node #0,2,1: 83:[75, 39] Operation: 63-24=39 Exploring Operation: 24+63=87, Resulting Numbers: [75, 87] Generated Node #0,2,2: 83:[75, 87] Operation: 24+63=87 Exploring Operation: 24+75=99, Resulting Numbers: [63, 99] Generated Node #0,2,3: 83:[63, 99] Operation: 24+75=99 Exploring Operation: 75+63=138, Resulting Numbers: [24, 138] Generated Node #0,2,4: 83:[24, 138] Operation: 75+63=138 Moving to Node #0,2,2 Current State: 83:[75, 87], Operations: ['30+33=63', '24+63=87'] Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,83 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[63, 99], Operations: ['30+33=63', '24+75=99'] Exploring Operation: 63+99=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 63*99=6237, Resulting Numbers: [6237] 6237,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[63, 51], Operations: ['30+33=63', '75-24=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[75, 39], Operations: ['30+33=63', '63-24=39'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 75*39=2925, Resulting Numbers: [2925] 2925,83 unequal: No Solution Exploring Operation: 75+39=114, Resulting Numbers: [114] 114,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[24, 138], Operations: ['30+33=63', '75+63=138'] Exploring Operation: 138-24=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 24+138=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 24*138=3312, Resulting Numbers: [3312] 3312,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,3 Current State: 83:[33, 75, 54], Operations: ['30+24=54'] Exploring Operation: 54-33=21, Resulting Numbers: [75, 21] Generated Node #0,3,0: 83:[75, 21] Operation: 54-33=21 Exploring Operation: 75+54=129, Resulting Numbers: [33, 129] Generated Node #0,3,1: 83:[33, 129] Operation: 75+54=129 Exploring Operation: 33+75=108, Resulting Numbers: [54, 108] Generated Node #0,3,2: 83:[54, 108] Operation: 33+75=108 Exploring Operation: 33+54=87, Resulting Numbers: [75, 87] Generated Node #0,3,3: 83:[75, 87] Operation: 33+54=87 Exploring Operation: 75-33=42, Resulting Numbers: [54, 42] Generated Node #0,3,4: 83:[54, 42] Operation: 75-33=42 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[75, 87], Operations: ['30+24=54', '33+54=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,83 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,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,3,2 Current State: 83:[54, 108], Operations: ['30+24=54', '33+75=108'] Exploring Operation: 108/54=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 54+108=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 54*108=5832, Resulting Numbers: [5832] 5832,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,3,0 Current State: 83:[75, 21], Operations: ['30+24=54', '54-33=21'] Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,83 unequal: No Solution Exploring Operation: 75-21=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,3,4 Current State: 83:[54, 42], Operations: ['30+24=54', '75-33=42'] Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,83 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,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,3,1 Current State: 83:[33, 129], Operations: ['30+24=54', '75+54=129'] Exploring Operation: 33+129=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 129-33=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 33*129=4257, Resulting Numbers: [4257] 4257,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:[30, 33, 99], Operations: ['24+75=99'] Exploring Operation: 30+33=63, Resulting Numbers: [99, 63] Generated Node #0,4,0: 83:[99, 63] Operation: 30+33=63 Exploring Operation: 30+99=129, Resulting Numbers: [33, 129] Generated Node #0,4,1: 83:[33, 129] Operation: 30+99=129 Exploring Operation: 33-30=3, Resulting Numbers: [99, 3] Generated Node #0,4,2: 83:[99, 3] Operation: 33-30=3 Exploring Operation: 99-33=66, Resulting Numbers: [30, 66] Generated Node #0,4,3: 83:[30, 66] Operation: 99-33=66 Exploring Operation: 99-30=69, Resulting Numbers: [33, 69] Generated Node #0,4,4: 83:[33, 69] Operation: 99-30=69 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[99, 63], Operations: ['24+75=99', '30+33=63'] Exploring Operation: 99*63=6237, Resulting Numbers: [6237] 6237,83 unequal: No Solution Exploring Operation: 99-63=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 99+63=162, Resulting Numbers: [162] 162,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:[33, 69], Operations: ['24+75=99', '99-30=69'] Exploring Operation: 33+69=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 33*69=2277, Resulting Numbers: [2277] 2277,83 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,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:[30, 66], Operations: ['24+75=99', '99-33=66'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,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:[33, 129], Operations: ['24+75=99', '30+99=129'] Exploring Operation: 129-33=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 33*129=4257, Resulting Numbers: [4257] 4257,83 unequal: No Solution Exploring Operation: 33+129=162, Resulting Numbers: [162] 162,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:[99, 3], Operations: ['24+75=99', '33-30=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,83 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,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:[24, 33, 105], Operations: ['30+75=105'] Exploring Operation: 105-33=72, Resulting Numbers: [24, 72] Generated Node #0,0,0: 83:[24, 72] Operation: 105-33=72 Exploring Operation: 33-24=9, Resulting Numbers: [105, 9] Generated Node #0,0,1: 83:[105, 9] Operation: 33-24=9 Exploring Operation: 105-24=81, Resulting Numbers: [33, 81] Generated Node #0,0,2: 83:[33, 81] Operation: 105-24=81 Exploring Operation: 24+33=57, Resulting Numbers: [105, 57] Generated Node #0,0,3: 83:[105, 57] Operation: 24+33=57 Exploring Operation: 24+105=129, Resulting Numbers: [33, 129] Generated Node #0,0,4: 83:[33, 129] Operation: 24+105=129 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[105, 57], Operations: ['30+75=105', '24+33=57'] Exploring Operation: 105*57=5985, Resulting Numbers: [5985] 5985,83 unequal: No Solution Exploring Operation: 105+57=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,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,0,2 Current State: 83:[33, 81], Operations: ['30+75=105', '105-24=81'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,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,0,0 Current State: 83:[24, 72], Operations: ['30+75=105', '105-33=72'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,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,0,1 Current State: 83:[105, 9], Operations: ['30+75=105', '33-24=9'] Exploring Operation: 105+9=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 105-9=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 105*9=945, Resulting Numbers: [945] 945,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,0,4 Current State: 83:[33, 129], Operations: ['30+75=105', '24+105=129'] Exploring Operation: 33+129=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 129-33=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 33*129=4257, Resulting Numbers: [4257] 4257,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
[ 2, 55, 90, 95 ]
100
[ "55+90=145", "145-95=50", "2*50=100" ]
Current State: 100:[2, 55, 90, 95], Operations: [] Exploring Operation: 55+90=145, Resulting Numbers: [2, 95, 145] Generated Node #2: [2, 95, 145] from Operation: 55+90=145 Current State: 100:[2, 95, 145], Operations: ['55+90=145'] Exploring Operation: 145-95=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 145-95=50 Current State: 100:[2, 50], Operations: ['55+90=145', '145-95=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 55, 90, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [2, 55, 5] Generated Node #0,0: 100:[2, 55, 5] Operation: 95-90=5 Exploring Operation: 2+90=92, Resulting Numbers: [55, 95, 92] Generated Node #0,1: 100:[55, 95, 92] Operation: 2+90=92 Exploring Operation: 90/2=45, Resulting Numbers: [55, 95, 45] Generated Node #0,2: 100:[55, 95, 45] Operation: 90/2=45 Exploring Operation: 55-2=53, Resulting Numbers: [90, 95, 53] Generated Node #0,3: 100:[90, 95, 53] Operation: 55-2=53 Exploring Operation: 90-55=35, Resulting Numbers: [2, 95, 35] Generated Node #0,4: 100:[2, 95, 35] Operation: 90-55=35 Moving to Node #0,0 Current State: 100:[2, 55, 5], Operations: ['95-90=5'] Exploring Operation: 55-5=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 100:[2, 50] Operation: 55-5=50 Exploring Operation: 55-2=53, Resulting Numbers: [5, 53] Generated Node #0,0,1: 100:[5, 53] Operation: 55-2=53 Exploring Operation: 55/5=11, Resulting Numbers: [2, 11] Generated Node #0,0,2: 100:[2, 11] Operation: 55/5=11 Exploring Operation: 2*5=10, Resulting Numbers: [55, 10] Generated Node #0,0,3: 100:[55, 10] Operation: 2*5=10 Exploring Operation: 5-2=3, Resulting Numbers: [55, 3] Generated Node #0,0,4: 100:[55, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[2, 50], Operations: ['95-90=5', '55-5=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[2, 55, 90, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [2, 55, 5] Generated Node #0,0: 100:[2, 55, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 100:[2, 55, 5], Operations: ['95-90=5'] Exploring Operation: 55-5=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 100:[2, 50] Operation: 55-5=50 Moving to Node #0,0,0 Current State: 100:[2, 50], Operations: ['95-90=5', '55-5=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 64, 2, 4, 28 ]
88
[ "64/4=16", "28+16=44", "2*44=88" ]
Current State: 88:[64, 2, 4, 28], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [2, 28, 16] Generated Node #2: [2, 28, 16] from Operation: 64/4=16 Current State: 88:[2, 28, 16], Operations: ['64/4=16'] Exploring Operation: 28+16=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 28+16=44 Current State: 88:[2, 44], Operations: ['64/4=16', '28+16=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[64, 2, 4, 28], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [4, 28, 32] Generated Node #0,0: 88:[4, 28, 32] Operation: 64/2=32 Exploring Operation: 28/4=7, Resulting Numbers: [64, 2, 7] Generated Node #0,1: 88:[64, 2, 7] Operation: 28/4=7 Exploring Operation: 64-28=36, Resulting Numbers: [2, 4, 36] Generated Node #0,2: 88:[2, 4, 36] Operation: 64-28=36 Exploring Operation: 64/4=16, Resulting Numbers: [2, 28, 16] Generated Node #0,3: 88:[2, 28, 16] Operation: 64/4=16 Exploring Operation: 64+28=92, Resulting Numbers: [2, 4, 92] Generated Node #0,4: 88:[2, 4, 92] Operation: 64+28=92 Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[2, 4, 92], Operations: ['64+28=92'] Exploring Operation: 2*4=8, Resulting Numbers: [92, 8] Generated Node #0,4,0: 88:[92, 8] Operation: 2*4=8 Exploring Operation: 92/2=46, Resulting Numbers: [4, 46] Generated Node #0,4,1: 88:[4, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [4, 90] Generated Node #0,4,2: 88:[4, 90] Operation: 92-2=90 Exploring Operation: 92-4=88, Resulting Numbers: [2, 88] Generated Node #0,4,3: 88:[2, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [2, 23] Generated Node #0,4,4: 88:[2, 23] Operation: 92/4=23 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 88:[2, 88], Operations: ['64+28=92', '92-4=88'] Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 88:[2, 23], Operations: ['64+28=92', '92/4=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 88:[4, 46], Operations: ['64+28=92', '92/2=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,88 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 88:[4, 90], Operations: ['64+28=92', '92-2=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 88:[92, 8], Operations: ['64+28=92', '2*4=8'] Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[2, 4, 36], Operations: ['64-28=36'] Exploring Operation: 36/4=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 88:[2, 9] Operation: 36/4=9 Exploring Operation: 4+36=40, Resulting Numbers: [2, 40] Generated Node #0,2,1: 88:[2, 40] Operation: 4+36=40 Exploring Operation: 2*4=8, Resulting Numbers: [36, 8] Generated Node #0,2,2: 88:[36, 8] Operation: 2*4=8 Exploring Operation: 36/2=18, Resulting Numbers: [4, 18] Generated Node #0,2,3: 88:[4, 18] Operation: 36/2=18 Exploring Operation: 2+36=38, Resulting Numbers: [4, 38] Generated Node #0,2,4: 88:[4, 38] Operation: 2+36=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[2, 9], Operations: ['64-28=36', '36/4=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[2, 40], Operations: ['64-28=36', '4+36=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[4, 18], Operations: ['64-28=36', '36/2=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 88:[4, 38], Operations: ['64-28=36', '2+36=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,88 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[36, 8], Operations: ['64-28=36', '2*4=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[2, 28, 16], Operations: ['64/4=16'] Exploring Operation: 28/2=14, Resulting Numbers: [16, 14] Generated Node #0,3,0: 88:[16, 14] Operation: 28/2=14 Exploring Operation: 28+16=44, Resulting Numbers: [2, 44] Generated Node #0,3,1: 88:[2, 44] Operation: 28+16=44 Exploring Operation: 16/2=8, Resulting Numbers: [28, 8] Generated Node #0,3,2: 88:[28, 8] Operation: 16/2=8 Exploring Operation: 28-16=12, Resulting Numbers: [2, 12] Generated Node #0,3,3: 88:[2, 12] Operation: 28-16=12 Exploring Operation: 28-2=26, Resulting Numbers: [16, 26] Generated Node #0,3,4: 88:[16, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[2, 44], Operations: ['64/4=16', '28+16=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[64, 2, 4, 28], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [2, 28, 16] Generated Node #0,3: 88:[2, 28, 16] Operation: 64/4=16 Moving to Node #0,3 Current State: 88:[2, 28, 16], Operations: ['64/4=16'] Exploring Operation: 28+16=44, Resulting Numbers: [2, 44] Generated Node #0,3,1: 88:[2, 44] Operation: 28+16=44 Moving to Node #0,3,1 Current State: 88:[2, 44], Operations: ['64/4=16', '28+16=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 9, 67, 11, 24 ]
19
[ "11-9=2", "24*2=48", "67-48=19" ]
Current State: 19:[9, 67, 11, 24], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [67, 24, 2] Generated Node #2: [67, 24, 2] from Operation: 11-9=2 Current State: 19:[67, 24, 2], Operations: ['11-9=2'] Exploring Operation: 24*2=48, Resulting Numbers: [67, 48] Generated Node #3: [67, 48] from Operation: 24*2=48 Current State: 19:[67, 48], Operations: ['11-9=2', '24*2=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[9, 67, 11, 24], Operations: [] Exploring Operation: 67-24=43, Resulting Numbers: [9, 11, 43] Generated Node #0,0: 19:[9, 11, 43] Operation: 67-24=43 Exploring Operation: 67-9=58, Resulting Numbers: [11, 24, 58] Generated Node #0,1: 19:[11, 24, 58] Operation: 67-9=58 Exploring Operation: 9+11=20, Resulting Numbers: [67, 24, 20] Generated Node #0,2: 19:[67, 24, 20] Operation: 9+11=20 Exploring Operation: 67-11=56, Resulting Numbers: [9, 24, 56] Generated Node #0,3: 19:[9, 24, 56] Operation: 67-11=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[9, 11, 43], Operations: ['67-24=43'] Exploring Operation: 11-9=2, Resulting Numbers: [43, 2] Generated Node #0,0,0: 19:[43, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [43, 20] Generated Node #0,0,1: 19:[43, 20] Operation: 9+11=20 Exploring Operation: 43-9=34, Resulting Numbers: [11, 34] Generated Node #0,0,2: 19:[11, 34] Operation: 43-9=34 Exploring Operation: 43-11=32, Resulting Numbers: [9, 32] Generated Node #0,0,3: 19:[9, 32] Operation: 43-11=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[11, 34], Operations: ['67-24=43', '43-9=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,19 unequal: No Solution No 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: 19:[9, 32], Operations: ['67-24=43', '43-11=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,19 unequal: No Solution No 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: 19:[43, 20], Operations: ['67-24=43', '9+11=20'] Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,19 unequal: No Solution No 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: 19:[43, 2], Operations: ['67-24=43', '11-9=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,19 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,19 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: 19:[11, 24, 58], Operations: ['67-9=58'] Exploring Operation: 24-11=13, Resulting Numbers: [58, 13] Generated Node #0,1,0: 19:[58, 13] Operation: 24-11=13 Exploring Operation: 58-11=47, Resulting Numbers: [24, 47] Generated Node #0,1,1: 19:[24, 47] Operation: 58-11=47 Exploring Operation: 11+24=35, Resulting Numbers: [58, 35] Generated Node #0,1,2: 19:[58, 35] Operation: 11+24=35 Exploring Operation: 58-24=34, Resulting Numbers: [11, 34] Generated Node #0,1,3: 19:[11, 34] Operation: 58-24=34 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[11, 34], Operations: ['67-9=58', '58-24=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,19 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,19 unequal: No Solution No 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: 19:[24, 47], Operations: ['67-9=58', '58-11=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,19 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,19 unequal: No Solution No 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: 19:[58, 13], Operations: ['67-9=58', '24-11=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,19 unequal: No Solution No 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: 19:[58, 35], Operations: ['67-9=58', '11+24=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,19 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,19 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: 19:[9, 24, 56], Operations: ['67-11=56'] Exploring Operation: 9+24=33, Resulting Numbers: [56, 33] Generated Node #0,3,0: 19:[56, 33] Operation: 9+24=33 Exploring Operation: 56-24=32, Resulting Numbers: [9, 32] Generated Node #0,3,1: 19:[9, 32] Operation: 56-24=32 Exploring Operation: 24-9=15, Resulting Numbers: [56, 15] Generated Node #0,3,2: 19:[56, 15] Operation: 24-9=15 Exploring Operation: 56-9=47, Resulting Numbers: [24, 47] Generated Node #0,3,3: 19:[24, 47] Operation: 56-9=47 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[9, 32], Operations: ['67-11=56', '56-24=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,19 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,19 unequal: No Solution No 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: 19:[24, 47], Operations: ['67-11=56', '56-9=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,19 unequal: No Solution No 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: 19:[56, 15], Operations: ['67-11=56', '24-9=15'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,19 unequal: No Solution No 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: 19:[56, 33], Operations: ['67-11=56', '9+24=33'] Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,19 unequal: No Solution Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,19 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,19 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: 19:[67, 24, 20], Operations: ['9+11=20'] Exploring Operation: 67-20=47, Resulting Numbers: [24, 47] Generated Node #0,2,0: 19:[24, 47] Operation: 67-20=47 Exploring Operation: 24-20=4, Resulting Numbers: [67, 4] Generated Node #0,2,1: 19:[67, 4] Operation: 24-20=4 Exploring Operation: 67-24=43, Resulting Numbers: [20, 43] Generated Node #0,2,2: 19:[20, 43] Operation: 67-24=43 Exploring Operation: 67+24=91, Resulting Numbers: [20, 91] Generated Node #0,2,3: 19:[20, 91] Operation: 67+24=91 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[20, 43], Operations: ['9+11=20', '67-24=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,19 unequal: No Solution No 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: 19:[24, 47], Operations: ['9+11=20', '67-20=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,19 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,19 unequal: No Solution No 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: 19:[67, 4], Operations: ['9+11=20', '24-20=4'] Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,19 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,19 unequal: No Solution No 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: 19:[20, 91], Operations: ['9+11=20', '67+24=91'] Exploring Operation: 20*91=1820, Resulting Numbers: [1820] 1820,19 unequal: No Solution Exploring Operation: 20+91=111, Resulting Numbers: [111] 111,19 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,19 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
[ 62, 60, 34, 48 ]
12
[ "62-60=2", "48-34=14", "14-2=12" ]
Current State: 12:[62, 60, 34, 48], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [34, 48, 2] Generated Node #2: [34, 48, 2] from Operation: 62-60=2 Current State: 12:[34, 48, 2], Operations: ['62-60=2'] Exploring Operation: 48-34=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 48-34=14 Current State: 12:[2, 14], Operations: ['62-60=2', '48-34=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[62, 60, 34, 48], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [60, 34, 14] Generated Node #0,0: 12:[60, 34, 14] Operation: 62-48=14 Exploring Operation: 62-60=2, Resulting Numbers: [34, 48, 2] Generated Node #0,1: 12:[34, 48, 2] Operation: 62-60=2 Moving to Node #0,1 Current State: 12:[34, 48, 2], Operations: ['62-60=2'] Exploring Operation: 48-34=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 12:[2, 14] Operation: 48-34=14 Exploring Operation: 48/2=24, Resulting Numbers: [34, 24] Generated Node #0,1,1: 12:[34, 24] Operation: 48/2=24 Moving to Node #0,0 Current State: 12:[60, 34, 14], Operations: ['62-48=14'] Exploring Operation: 60-14=46, Resulting Numbers: [34, 46] Generated Node #0,0,0: 12:[34, 46] Operation: 60-14=46 Exploring Operation: 60-34=26, Resulting Numbers: [14, 26] Generated Node #0,0,1: 12:[14, 26] Operation: 60-34=26 Moving to Node #0,1,0 Current State: 12:[2, 14], Operations: ['62-60=2', '48-34=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[62, 60, 34, 48], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [34, 48, 2] Generated Node #0,1: 12:[34, 48, 2] Operation: 62-60=2 Moving to Node #0,1 Current State: 12:[34, 48, 2], Operations: ['62-60=2'] Exploring Operation: 48-34=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 12:[2, 14] Operation: 48-34=14 Moving to Node #0,1,0 Current State: 12:[2, 14], Operations: ['62-60=2', '48-34=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 26, 3, 91, 3 ]
91
[ "3-3=0", "26*0=0", "91+0=91" ]
Current State: 91:[26, 3, 91, 3], Operations: [] Exploring Operation: 3-3=0, Resulting Numbers: [26, 91, 0] Generated Node #2: [26, 91, 0] from Operation: 3-3=0 Current State: 91:[26, 91, 0], Operations: ['3-3=0'] Exploring Operation: 26*0=0, Resulting Numbers: [91, 0] Generated Node #3: [91, 0] from Operation: 26*0=0 Current State: 91:[91, 0], Operations: ['3-3=0', '26*0=0'] Exploring Operation: 91+0=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[26, 3, 91, 3], Operations: [] Exploring Operation: 26-3=23, Resulting Numbers: [91, 3, 23] Generated Node #0,0: 91:[91, 3, 23] Operation: 26-3=23 Exploring Operation: 3+3=6, Resulting Numbers: [26, 91, 6] Generated Node #0,1: 91:[26, 91, 6] Operation: 3+3=6 Exploring Operation: 26-3=23, Resulting Numbers: [3, 91, 23] Generated Node #0,2: 91:[3, 91, 23] Operation: 26-3=23 Moving to Node #0,0 Current State: 91:[91, 3, 23], Operations: ['26-3=23'] Exploring Operation: 91+3=94, Resulting Numbers: [23, 94] Generated Node #0,0,0: 91:[23, 94] Operation: 91+3=94 Exploring Operation: 91-3=88, Resulting Numbers: [23, 88] Generated Node #0,0,1: 91:[23, 88] Operation: 91-3=88 Exploring Operation: 23-3=20, Resulting Numbers: [91, 20] Generated Node #0,0,2: 91:[91, 20] Operation: 23-3=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[91, 20], Operations: ['26-3=23', '23-3=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,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:[23, 94], Operations: ['26-3=23', '91+3=94'] Exploring Operation: 23*94=2162, Resulting Numbers: [2162] 2162,91 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,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:[23, 88], Operations: ['26-3=23', '91-3=88'] Exploring Operation: 23+88=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 23*88=2024, Resulting Numbers: [2024] 2024,91 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[26, 91, 6], Operations: ['3+3=6'] Exploring Operation: 26-6=20, Resulting Numbers: [91, 20] Generated Node #0,1,0: 91:[91, 20] Operation: 26-6=20 Exploring Operation: 91+6=97, Resulting Numbers: [26, 97] Generated Node #0,1,1: 91:[26, 97] Operation: 91+6=97 Exploring Operation: 26+6=32, Resulting Numbers: [91, 32] Generated Node #0,1,2: 91:[91, 32] Operation: 26+6=32 Moving to Node #0,2 Current State: 91:[3, 91, 23], Operations: ['26-3=23'] Exploring Operation: 23-3=20, Resulting Numbers: [91, 20] Generated Node #0,2,0: 91:[91, 20] Operation: 23-3=20 Exploring Operation: 91-3=88, Resulting Numbers: [23, 88] Generated Node #0,2,1: 91:[23, 88] Operation: 91-3=88 Exploring Operation: 3+91=94, Resulting Numbers: [23, 94] Generated Node #0,2,2: 91:[23, 94] Operation: 3+91=94 Moving to Node #0,1,0 Current State: 91:[91, 20], Operations: ['3+3=6', '26-6=20'] Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,91 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[91, 20], Operations: ['26-3=23', '23-3=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,91 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[23, 94], Operations: ['26-3=23', '3+91=94'] Exploring Operation: 23*94=2162, Resulting Numbers: [2162] 2162,91 unequal: No Solution Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[23, 88], Operations: ['26-3=23', '91-3=88'] Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 23+88=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 23*88=2024, Resulting Numbers: [2024] 2024,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[26, 97], Operations: ['3+3=6', '91+6=97'] Exploring Operation: 26*97=2522, Resulting Numbers: [2522] 2522,91 unequal: No Solution Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 26+97=123, Resulting Numbers: [123] 123,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[91, 32], Operations: ['3+3=6', '26+6=32'] Exploring Operation: 91*32=2912, Resulting Numbers: [2912] 2912,91 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,91 unequal: No Solution Exploring Operation: 91+32=123, Resulting Numbers: [123] 123,91 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 91, 26, 4, 77 ]
64
[ "91+77=168", "26*4=104", "168-104=64" ]
Current State: 64:[91, 26, 4, 77], Operations: [] Exploring Operation: 91+77=168, Resulting Numbers: [26, 4, 168] Generated Node #2: [26, 4, 168] from Operation: 91+77=168 Current State: 64:[26, 4, 168], Operations: ['91+77=168'] Exploring Operation: 26*4=104, Resulting Numbers: [168, 104] Generated Node #3: [168, 104] from Operation: 26*4=104 Current State: 64:[168, 104], Operations: ['91+77=168', '26*4=104'] Exploring Operation: 168-104=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[91, 26, 4, 77], Operations: [] Exploring Operation: 91-4=87, Resulting Numbers: [26, 77, 87] Generated Node #0,0: 64:[26, 77, 87] Operation: 91-4=87 Exploring Operation: 91-26=65, Resulting Numbers: [4, 77, 65] Generated Node #0,1: 64:[4, 77, 65] Operation: 91-26=65 Exploring Operation: 77-26=51, Resulting Numbers: [91, 4, 51] Generated Node #0,2: 64:[91, 4, 51] Operation: 77-26=51 Exploring Operation: 91-77=14, Resulting Numbers: [26, 4, 14] Generated Node #0,3: 64:[26, 4, 14] Operation: 91-77=14 Moving to Node #0,3 Current State: 64:[26, 4, 14], Operations: ['91-77=14'] Exploring Operation: 26+14=40, Resulting Numbers: [4, 40] Generated Node #0,3,0: 64:[4, 40] Operation: 26+14=40 Exploring Operation: 26+4=30, Resulting Numbers: [14, 30] Generated Node #0,3,1: 64:[14, 30] Operation: 26+4=30 Exploring Operation: 26-4=22, Resulting Numbers: [14, 22] Generated Node #0,3,2: 64:[14, 22] Operation: 26-4=22 Exploring Operation: 26-14=12, Resulting Numbers: [4, 12] Generated Node #0,3,3: 64:[4, 12] Operation: 26-14=12 Moving to Node #0,1 Current State: 64:[4, 77, 65], Operations: ['91-26=65'] Exploring Operation: 77-4=73, Resulting Numbers: [65, 73] Generated Node #0,1,0: 64:[65, 73] Operation: 77-4=73 Exploring Operation: 65-4=61, Resulting Numbers: [77, 61] Generated Node #0,1,1: 64:[77, 61] Operation: 65-4=61 Exploring Operation: 77-65=12, Resulting Numbers: [4, 12] Generated Node #0,1,2: 64:[4, 12] Operation: 77-65=12 Exploring Operation: 4+77=81, Resulting Numbers: [65, 81] Generated Node #0,1,3: 64:[65, 81] Operation: 4+77=81 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[4, 12], Operations: ['91-26=65', '77-65=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,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:[65, 73], Operations: ['91-26=65', '77-4=73'] Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,64 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,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:[77, 61], Operations: ['91-26=65', '65-4=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[65, 81], Operations: ['91-26=65', '4+77=81'] Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,64 unequal: No Solution Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,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:[91, 4, 51], Operations: ['77-26=51'] Exploring Operation: 4+51=55, Resulting Numbers: [91, 55] Generated Node #0,2,0: 64:[91, 55] Operation: 4+51=55 Exploring Operation: 91-4=87, Resulting Numbers: [51, 87] Generated Node #0,2,1: 64:[51, 87] Operation: 91-4=87 Exploring Operation: 51-4=47, Resulting Numbers: [91, 47] Generated Node #0,2,2: 64:[91, 47] Operation: 51-4=47 Exploring Operation: 91-51=40, Resulting Numbers: [4, 40] Generated Node #0,2,3: 64:[4, 40] Operation: 91-51=40 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[4, 40], Operations: ['77-26=51', '91-51=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[91, 55], Operations: ['77-26=51', '4+51=55'] Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,64 unequal: No Solution Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,64 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,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,2,1 Current State: 64:[51, 87], Operations: ['77-26=51', '91-4=87'] Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,64 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,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,2,2 Current State: 64:[91, 47], Operations: ['77-26=51', '51-4=47'] Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 91*47=4277, Resulting Numbers: [4277] 4277,64 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: 64:[26, 77, 87], Operations: ['91-4=87'] Exploring Operation: 87-77=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 64:[26, 10] Operation: 87-77=10 Exploring Operation: 26+77=103, Resulting Numbers: [87, 103] Generated Node #0,0,1: 64:[87, 103] Operation: 26+77=103 Exploring Operation: 77-26=51, Resulting Numbers: [87, 51] Generated Node #0,0,2: 64:[87, 51] Operation: 77-26=51 Exploring Operation: 87-26=61, Resulting Numbers: [77, 61] Generated Node #0,0,3: 64:[77, 61] Operation: 87-26=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[26, 10], Operations: ['91-4=87', '87-77=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,64 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,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,3 Current State: 64:[77, 61], Operations: ['91-4=87', '87-26=61'] Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,64 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,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:[87, 51], Operations: ['91-4=87', '77-26=51'] Exploring Operation: 87*51=4437, Resulting Numbers: [4437] 4437,64 unequal: No Solution Exploring Operation: 87+51=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,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:[87, 103], Operations: ['91-4=87', '26+77=103'] Exploring Operation: 87*103=8961, Resulting Numbers: [8961] 8961,64 unequal: No Solution Exploring Operation: 87+103=190, Resulting Numbers: [190] 190,64 unequal: No Solution Exploring Operation: 103-87=16, Resulting Numbers: [16] 16,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 64:[14, 30], Operations: ['91-77=14', '26+4=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,64 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[4, 12], Operations: ['91-77=14', '26-14=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[14, 22], Operations: ['91-77=14', '26-4=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,64 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[4, 40], Operations: ['91-77=14', '26+14=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,64 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 53, 6, 37, 97 ]
42
[ "53+37=90", "97-90=7", "6*7=42" ]
Current State: 42:[53, 6, 37, 97], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [6, 97, 90] Generated Node #2: [6, 97, 90] from Operation: 53+37=90 Current State: 42:[6, 97, 90], Operations: ['53+37=90'] Exploring Operation: 97-90=7, Resulting Numbers: [6, 7] Generated Node #3: [6, 7] from Operation: 97-90=7 Current State: 42:[6, 7], Operations: ['53+37=90', '97-90=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[53, 6, 37, 97], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [6, 37, 44] Generated Node #0,0: 42:[6, 37, 44] Operation: 97-53=44 Exploring Operation: 97-37=60, Resulting Numbers: [53, 6, 60] Generated Node #0,1: 42:[53, 6, 60] Operation: 97-37=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[6, 37, 44], Operations: ['97-53=44'] Exploring Operation: 44-37=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 42:[6, 7] Operation: 44-37=7 Exploring Operation: 6+37=43, Resulting Numbers: [44, 43] Generated Node #0,0,1: 42:[44, 43] Operation: 6+37=43 Moving to Node #0,0,0 Current State: 42:[6, 7], Operations: ['97-53=44', '44-37=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[53, 6, 37, 97], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [6, 37, 44] Generated Node #0,0: 42:[6, 37, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 42:[6, 37, 44], Operations: ['97-53=44'] Exploring Operation: 44-37=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 42:[6, 7] Operation: 44-37=7 Moving to Node #0,0,0 Current State: 42:[6, 7], Operations: ['97-53=44', '44-37=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 57, 86, 57, 20 ]
86
[ "57-57=0", "20*0=0", "86+0=86" ]
Current State: 86:[57, 86, 57, 20], Operations: [] Exploring Operation: 57-57=0, Resulting Numbers: [86, 20, 0] Generated Node #2: [86, 20, 0] from Operation: 57-57=0 Current State: 86:[86, 20, 0], Operations: ['57-57=0'] Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #3: [86, 0] from Operation: 20*0=0 Current State: 86:[86, 0], Operations: ['57-57=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[57, 86, 57, 20], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [86, 57, 37] Generated Node #0,0: 86:[86, 57, 37] Operation: 57-20=37 Exploring Operation: 57-20=37, Resulting Numbers: [57, 86, 37] Generated Node #0,1: 86:[57, 86, 37] Operation: 57-20=37 Exploring Operation: 57-57=0, Resulting Numbers: [86, 20, 0] Generated Node #0,2: 86:[86, 20, 0] Operation: 57-57=0 Exploring Operation: 57+20=77, Resulting Numbers: [86, 57, 77] Generated Node #0,3: 86:[86, 57, 77] Operation: 57+20=77 Exploring Operation: 57/57=1, Resulting Numbers: [86, 20, 1] Generated Node #0,4: 86:[86, 20, 1] Operation: 57/57=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[86, 20, 1], Operations: ['57/57=1'] Exploring Operation: 86/1=86, Resulting Numbers: [20, 86] Generated Node #0,4,0: 86:[20, 86] Operation: 86/1=86 Exploring Operation: 20*1=20, Resulting Numbers: [86, 20] Generated Node #0,4,1: 86:[86, 20] Operation: 20*1=20 Exploring Operation: 86*1=86, Resulting Numbers: [20, 86] Generated Node #0,4,2: 86:[20, 86] Operation: 86*1=86 Exploring Operation: 20/1=20, Resulting Numbers: [86, 20] Generated Node #0,4,3: 86:[86, 20] Operation: 20/1=20 Exploring Operation: 20-1=19, Resulting Numbers: [86, 19] Generated Node #0,4,4: 86:[86, 19] Operation: 20-1=19 Moving to Node #0,4,4 Current State: 86:[86, 19], Operations: ['57/57=1', '20-1=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[86, 20], Operations: ['57/57=1', '20*1=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[86, 20], Operations: ['57/57=1', '20/1=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[20, 86], Operations: ['57/57=1', '86/1=86'] Exploring Operation: 20+86=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 20*86=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[20, 86], Operations: ['57/57=1', '86*1=86'] Exploring Operation: 20*86=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 20+86=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[86, 57, 37], Operations: ['57-20=37'] Exploring Operation: 86-57=29, Resulting Numbers: [37, 29] Generated Node #0,0,0: 86:[37, 29] Operation: 86-57=29 Exploring Operation: 57+37=94, Resulting Numbers: [86, 94] Generated Node #0,0,1: 86:[86, 94] Operation: 57+37=94 Exploring Operation: 57-37=20, Resulting Numbers: [86, 20] Generated Node #0,0,2: 86:[86, 20] Operation: 57-37=20 Exploring Operation: 86-37=49, Resulting Numbers: [57, 49] Generated Node #0,0,3: 86:[57, 49] Operation: 86-37=49 Exploring Operation: 86+37=123, Resulting Numbers: [57, 123] Generated Node #0,0,4: 86:[57, 123] Operation: 86+37=123 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[86, 94], Operations: ['57-20=37', '57+37=94'] Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,86 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[86, 20], Operations: ['57-20=37', '57-37=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[37, 29], Operations: ['57-20=37', '86-57=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,86 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[57, 49], Operations: ['57-20=37', '86-37=49'] Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,86 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 86:[57, 123], Operations: ['57-20=37', '86+37=123'] Exploring Operation: 123-57=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 57+123=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 57*123=7011, Resulting Numbers: [7011] 7011,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[57, 86, 37], Operations: ['57-20=37'] Exploring Operation: 86-37=49, Resulting Numbers: [57, 49] Generated Node #0,1,0: 86:[57, 49] Operation: 86-37=49 Exploring Operation: 86+37=123, Resulting Numbers: [57, 123] Generated Node #0,1,1: 86:[57, 123] Operation: 86+37=123 Exploring Operation: 57-37=20, Resulting Numbers: [86, 20] Generated Node #0,1,2: 86:[86, 20] Operation: 57-37=20 Exploring Operation: 57+37=94, Resulting Numbers: [86, 94] Generated Node #0,1,3: 86:[86, 94] Operation: 57+37=94 Exploring Operation: 86-57=29, Resulting Numbers: [37, 29] Generated Node #0,1,4: 86:[37, 29] Operation: 86-57=29 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[86, 94], Operations: ['57-20=37', '57+37=94'] Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,86 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[86, 20], Operations: ['57-20=37', '57-37=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[57, 49], Operations: ['57-20=37', '86-37=49'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 86:[37, 29], Operations: ['57-20=37', '86-57=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,86 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[57, 123], Operations: ['57-20=37', '86+37=123'] Exploring Operation: 123-57=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 57*123=7011, Resulting Numbers: [7011] 7011,86 unequal: No Solution Exploring Operation: 57+123=180, Resulting Numbers: [180] 180,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[86, 20, 0], Operations: ['57-57=0'] Exploring Operation: 86+0=86, Resulting Numbers: [20, 86] Generated Node #0,2,0: 86:[20, 86] Operation: 86+0=86 Exploring Operation: 20-0=20, Resulting Numbers: [86, 20] Generated Node #0,2,1: 86:[86, 20] Operation: 20-0=20 Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #0,2,2: 86:[86, 0] Operation: 20*0=0 Exploring Operation: 20+0=20, Resulting Numbers: [86, 20] Generated Node #0,2,3: 86:[86, 20] Operation: 20+0=20 Exploring Operation: 86-0=86, Resulting Numbers: [20, 86] Generated Node #0,2,4: 86:[20, 86] Operation: 86-0=86 Moving to Node #0,2,2 Current State: 86:[86, 0], Operations: ['57-57=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[57, 86, 57, 20], Operations: [] Exploring Operation: 57-57=0, Resulting Numbers: [86, 20, 0] Generated Node #0,2: 86:[86, 20, 0] Operation: 57-57=0 Moving to Node #0,2 Current State: 86:[86, 20, 0], Operations: ['57-57=0'] Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #0,2,2: 86:[86, 0] Operation: 20*0=0 Moving to Node #0,2,2 Current State: 86:[86, 0], Operations: ['57-57=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.934896
hs_5
mult_heuristic
[ 57, 14, 15, 71 ]
82
[ "57+71=128", "14*15=210", "210-128=82" ]
Current State: 82:[57, 14, 15, 71], Operations: [] Exploring Operation: 57+71=128, Resulting Numbers: [14, 15, 128] Generated Node #2: [14, 15, 128] from Operation: 57+71=128 Current State: 82:[14, 15, 128], Operations: ['57+71=128'] Exploring Operation: 14*15=210, Resulting Numbers: [128, 210] Generated Node #3: [128, 210] from Operation: 14*15=210 Current State: 82:[128, 210], Operations: ['57+71=128', '14*15=210'] Exploring Operation: 210-128=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 14, 15, 71], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [14, 71, 42] Generated Node #0,0: 82:[14, 71, 42] Operation: 57-15=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[14, 71, 42], Operations: ['57-15=42'] Exploring Operation: 14+71=85, Resulting Numbers: [42, 85] Generated Node #0,0,0: 82:[42, 85] Operation: 14+71=85 Moving to Node #0,0,0 Current State: 82:[42, 85], Operations: ['57-15=42', '14+71=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,82 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
[ 94, 88, 37, 10 ]
41
[ "94-88=6", "37+10=47", "47-6=41" ]
Current State: 41:[94, 88, 37, 10], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [37, 10, 6] Generated Node #2: [37, 10, 6] from Operation: 94-88=6 Current State: 41:[37, 10, 6], Operations: ['94-88=6'] Exploring Operation: 37+10=47, Resulting Numbers: [6, 47] Generated Node #3: [6, 47] from Operation: 37+10=47 Current State: 41:[6, 47], Operations: ['94-88=6', '37+10=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[94, 88, 37, 10], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [37, 10, 6] Generated Node #0,0: 41:[37, 10, 6] Operation: 94-88=6 Exploring Operation: 88-37=51, Resulting Numbers: [94, 10, 51] Generated Node #0,1: 41:[94, 10, 51] Operation: 88-37=51 Exploring Operation: 94-10=84, Resulting Numbers: [88, 37, 84] Generated Node #0,2: 41:[88, 37, 84] Operation: 94-10=84 Exploring Operation: 94-37=57, Resulting Numbers: [88, 10, 57] Generated Node #0,3: 41:[88, 10, 57] Operation: 94-37=57 Exploring Operation: 88-10=78, Resulting Numbers: [94, 37, 78] Generated Node #0,4: 41:[94, 37, 78] Operation: 88-10=78 Moving to Node #0,0 Current State: 41:[37, 10, 6], Operations: ['94-88=6'] Exploring Operation: 37-6=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 41:[10, 31] Operation: 37-6=31 Exploring Operation: 37+10=47, Resulting Numbers: [6, 47] Generated Node #0,0,1: 41:[6, 47] Operation: 37+10=47 Exploring Operation: 37+6=43, Resulting Numbers: [10, 43] Generated Node #0,0,2: 41:[10, 43] Operation: 37+6=43 Exploring Operation: 10+6=16, Resulting Numbers: [37, 16] Generated Node #0,0,3: 41:[37, 16] Operation: 10+6=16 Exploring Operation: 10*6=60, Resulting Numbers: [37, 60] Generated Node #0,0,4: 41:[37, 60] Operation: 10*6=60 Moving to Node #0,2 Current State: 41:[88, 37, 84], Operations: ['94-10=84'] Exploring Operation: 88+37=125, Resulting Numbers: [84, 125] Generated Node #0,2,0: 41:[84, 125] Operation: 88+37=125 Exploring Operation: 37+84=121, Resulting Numbers: [88, 121] Generated Node #0,2,1: 41:[88, 121] Operation: 37+84=121 Exploring Operation: 88-84=4, Resulting Numbers: [37, 4] Generated Node #0,2,2: 41:[37, 4] Operation: 88-84=4 Exploring Operation: 84-37=47, Resulting Numbers: [88, 47] Generated Node #0,2,3: 41:[88, 47] Operation: 84-37=47 Exploring Operation: 88-37=51, Resulting Numbers: [84, 51] Generated Node #0,2,4: 41:[84, 51] Operation: 88-37=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[37, 4], Operations: ['94-10=84', '88-84=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[94, 88, 37, 10], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [88, 37, 84] Generated Node #0,2: 41:[88, 37, 84] Operation: 94-10=84 Moving to Node #0,2 Current State: 41:[88, 37, 84], Operations: ['94-10=84'] Exploring Operation: 88-84=4, Resulting Numbers: [37, 4] Generated Node #0,2,2: 41:[37, 4] Operation: 88-84=4 Moving to Node #0,2,2 Current State: 41:[37, 4], Operations: ['94-10=84', '88-84=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 78, 86, 40, 27 ]
21
[ "86-78=8", "40-27=13", "8+13=21" ]
Current State: 21:[78, 86, 40, 27], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [40, 27, 8] Generated Node #2: [40, 27, 8] from Operation: 86-78=8 Current State: 21:[40, 27, 8], Operations: ['86-78=8'] Exploring Operation: 40-27=13, Resulting Numbers: [8, 13] Generated Node #3: [8, 13] from Operation: 40-27=13 Current State: 21:[8, 13], Operations: ['86-78=8', '40-27=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[78, 86, 40, 27], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [40, 27, 8] Generated Node #0,0: 21:[40, 27, 8] Operation: 86-78=8 Exploring Operation: 78-40=38, Resulting Numbers: [86, 27, 38] Generated Node #0,1: 21:[86, 27, 38] Operation: 78-40=38 Moving to Node #0,0 Current State: 21:[40, 27, 8], Operations: ['86-78=8'] Exploring Operation: 40-27=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 21:[8, 13] Operation: 40-27=13 Exploring Operation: 40/8=5, Resulting Numbers: [27, 5] Generated Node #0,0,1: 21:[27, 5] Operation: 40/8=5 Moving to Node #0,1 Current State: 21:[86, 27, 38], Operations: ['78-40=38'] Exploring Operation: 86-27=59, Resulting Numbers: [38, 59] Generated Node #0,1,0: 21:[38, 59] Operation: 86-27=59 Exploring Operation: 86-38=48, Resulting Numbers: [27, 48] Generated Node #0,1,1: 21:[27, 48] Operation: 86-38=48 Moving to Node #0,0,0 Current State: 21:[8, 13], Operations: ['86-78=8', '40-27=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[78, 86, 40, 27], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [40, 27, 8] Generated Node #0,0: 21:[40, 27, 8] Operation: 86-78=8 Moving to Node #0,0 Current State: 21:[40, 27, 8], Operations: ['86-78=8'] Exploring Operation: 40-27=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 21:[8, 13] Operation: 40-27=13 Moving to Node #0,0,0 Current State: 21:[8, 13], Operations: ['86-78=8', '40-27=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 91, 50, 80, 66 ]
78
[ "91-66=25", "50/25=2", "80-2=78" ]
Current State: 78:[91, 50, 80, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [50, 80, 25] Generated Node #2: [50, 80, 25] from Operation: 91-66=25 Current State: 78:[50, 80, 25], Operations: ['91-66=25'] Exploring Operation: 50/25=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 50/25=2 Current State: 78:[80, 2], Operations: ['91-66=25', '50/25=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[91, 50, 80, 66], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [50, 66, 11] Generated Node #0,0: 78:[50, 66, 11] Operation: 91-80=11 Exploring Operation: 91-50=41, Resulting Numbers: [80, 66, 41] Generated Node #0,1: 78:[80, 66, 41] Operation: 91-50=41 Exploring Operation: 66-50=16, Resulting Numbers: [91, 80, 16] Generated Node #0,2: 78:[91, 80, 16] Operation: 66-50=16 Exploring Operation: 80-66=14, Resulting Numbers: [91, 50, 14] Generated Node #0,3: 78:[91, 50, 14] Operation: 80-66=14 Exploring Operation: 91-66=25, Resulting Numbers: [50, 80, 25] Generated Node #0,4: 78:[50, 80, 25] Operation: 91-66=25 Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[50, 80, 25], Operations: ['91-66=25'] Exploring Operation: 80-25=55, Resulting Numbers: [50, 55] Generated Node #0,4,0: 78:[50, 55] Operation: 80-25=55 Exploring Operation: 50/25=2, Resulting Numbers: [80, 2] Generated Node #0,4,1: 78:[80, 2] Operation: 50/25=2 Exploring Operation: 50+25=75, Resulting Numbers: [80, 75] Generated Node #0,4,2: 78:[80, 75] Operation: 50+25=75 Exploring Operation: 80-50=30, Resulting Numbers: [25, 30] Generated Node #0,4,3: 78:[25, 30] Operation: 80-50=30 Exploring Operation: 50-25=25, Resulting Numbers: [80, 25] Generated Node #0,4,4: 78:[80, 25] Operation: 50-25=25 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 78:[80, 2], Operations: ['91-66=25', '50/25=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[91, 50, 80, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [50, 80, 25] Generated Node #0,4: 78:[50, 80, 25] Operation: 91-66=25 Moving to Node #0,4 Current State: 78:[50, 80, 25], Operations: ['91-66=25'] Exploring Operation: 50/25=2, Resulting Numbers: [80, 2] Generated Node #0,4,1: 78:[80, 2] Operation: 50/25=2 Moving to Node #0,4,1 Current State: 78:[80, 2], Operations: ['91-66=25', '50/25=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 29, 32, 76, 83 ]
53
[ "32-29=3", "76+83=159", "159/3=53" ]
Current State: 53:[29, 32, 76, 83], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [76, 83, 3] Generated Node #2: [76, 83, 3] from Operation: 32-29=3 Current State: 53:[76, 83, 3], Operations: ['32-29=3'] Exploring Operation: 76+83=159, Resulting Numbers: [3, 159] Generated Node #3: [3, 159] from Operation: 76+83=159 Current State: 53:[3, 159], Operations: ['32-29=3', '76+83=159'] Exploring Operation: 159/3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[29, 32, 76, 83], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [32, 76, 54] Generated Node #0,0: 53:[32, 76, 54] Operation: 83-29=54 Moving to Node #0,0 Current State: 53:[32, 76, 54], Operations: ['83-29=54'] Exploring Operation: 76-32=44, Resulting Numbers: [54, 44] Generated Node #0,0,0: 53:[54, 44] Operation: 76-32=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[54, 44], Operations: ['83-29=54', '76-32=44'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,53 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
[ 81, 77, 77, 23 ]
59
[ "81-23=58", "77/77=1", "58+1=59" ]
Current State: 59:[81, 77, 77, 23], Operations: [] Exploring Operation: 81-23=58, Resulting Numbers: [77, 77, 58] Generated Node #2: [77, 77, 58] from Operation: 81-23=58 Current State: 59:[77, 77, 58], Operations: ['81-23=58'] Exploring Operation: 77/77=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 77/77=1 Current State: 59:[58, 1], Operations: ['81-23=58', '77/77=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[81, 77, 77, 23], Operations: [] Exploring Operation: 81-23=58, Resulting Numbers: [77, 77, 58] Generated Node #0,0: 59:[77, 77, 58] Operation: 81-23=58 Exploring Operation: 77-23=54, Resulting Numbers: [81, 77, 54] Generated Node #0,1: 59:[81, 77, 54] Operation: 77-23=54 Exploring Operation: 77-23=54, Resulting Numbers: [81, 77, 54] Generated Node #0,2: 59:[81, 77, 54] Operation: 77-23=54 Moving to Node #0,0 Current State: 59:[77, 77, 58], Operations: ['81-23=58'] Exploring Operation: 77-58=19, Resulting Numbers: [77, 19] Generated Node #0,0,0: 59:[77, 19] Operation: 77-58=19 Exploring Operation: 77/77=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 59:[58, 1] Operation: 77/77=1 Exploring Operation: 77-58=19, Resulting Numbers: [77, 19] Generated Node #0,0,2: 59:[77, 19] Operation: 77-58=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[77, 19], Operations: ['81-23=58', '77-58=19'] Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[77, 19], Operations: ['81-23=58', '77-58=19'] Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[58, 1], Operations: ['81-23=58', '77/77=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[81, 77, 77, 23], Operations: [] Exploring Operation: 81-23=58, Resulting Numbers: [77, 77, 58] Generated Node #0,0: 59:[77, 77, 58] Operation: 81-23=58 Moving to Node #0,0 Current State: 59:[77, 77, 58], Operations: ['81-23=58'] Exploring Operation: 77/77=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 59:[58, 1] Operation: 77/77=1 Moving to Node #0,0,1 Current State: 59:[58, 1], Operations: ['81-23=58', '77/77=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 64, 1, 47, 44 ]
61
[ "64*1=64", "47-44=3", "64-3=61" ]
Current State: 61:[64, 1, 47, 44], Operations: [] Exploring Operation: 64*1=64, Resulting Numbers: [47, 44, 64] Generated Node #2: [47, 44, 64] from Operation: 64*1=64 Current State: 61:[47, 44, 64], Operations: ['64*1=64'] Exploring Operation: 47-44=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 47-44=3 Current State: 61:[64, 3], Operations: ['64*1=64', '47-44=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[64, 1, 47, 44], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [47, 44, 63] Generated Node #0,0: 61:[47, 44, 63] Operation: 64-1=63 Exploring Operation: 1+47=48, Resulting Numbers: [64, 44, 48] Generated Node #0,1: 61:[64, 44, 48] Operation: 1+47=48 Exploring Operation: 1+44=45, Resulting Numbers: [64, 47, 45] Generated Node #0,2: 61:[64, 47, 45] Operation: 1+44=45 Moving to Node #0,0 Current State: 61:[47, 44, 63], Operations: ['64-1=63'] Exploring Operation: 47+44=91, Resulting Numbers: [63, 91] Generated Node #0,0,0: 61:[63, 91] Operation: 47+44=91 Exploring Operation: 47-44=3, Resulting Numbers: [63, 3] Generated Node #0,0,1: 61:[63, 3] Operation: 47-44=3 Exploring Operation: 63-44=19, Resulting Numbers: [47, 19] Generated Node #0,0,2: 61:[47, 19] Operation: 63-44=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[63, 91], Operations: ['64-1=63', '47+44=91'] Exploring Operation: 63*91=5733, Resulting Numbers: [5733] 5733,61 unequal: No Solution Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[47, 19], Operations: ['64-1=63', '63-44=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,61 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[63, 3], Operations: ['64-1=63', '47-44=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[64, 44, 48], Operations: ['1+47=48'] Exploring Operation: 44+48=92, Resulting Numbers: [64, 92] Generated Node #0,1,0: 61:[64, 92] Operation: 44+48=92 Exploring Operation: 64+44=108, Resulting Numbers: [48, 108] Generated Node #0,1,1: 61:[48, 108] Operation: 64+44=108 Exploring Operation: 64-44=20, Resulting Numbers: [48, 20] Generated Node #0,1,2: 61:[48, 20] Operation: 64-44=20 Moving to Node #0,2 Current State: 61:[64, 47, 45], Operations: ['1+44=45'] Exploring Operation: 47+45=92, Resulting Numbers: [64, 92] Generated Node #0,2,0: 61:[64, 92] Operation: 47+45=92 Exploring Operation: 64-45=19, Resulting Numbers: [47, 19] Generated Node #0,2,1: 61:[47, 19] Operation: 64-45=19 Exploring Operation: 64-47=17, Resulting Numbers: [45, 17] Generated Node #0,2,2: 61:[45, 17] Operation: 64-47=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[64, 92], Operations: ['1+44=45', '47+45=92'] Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 64+92=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 64*92=5888, Resulting Numbers: [5888] 5888,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[47, 19], Operations: ['1+44=45', '64-45=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,61 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[45, 17], Operations: ['1+44=45', '64-47=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 61:[64, 92], Operations: ['1+47=48', '44+48=92'] Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 64*92=5888, Resulting Numbers: [5888] 5888,61 unequal: No Solution Exploring Operation: 64+92=156, Resulting Numbers: [156] 156,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[48, 20], Operations: ['1+47=48', '64-44=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,61 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[48, 108], Operations: ['1+47=48', '64+44=108'] Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,61 unequal: No Solution Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,61 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 85, 2, 8, 99 ]
88
[ "85-8=77", "99+77=176", "176/2=88" ]
Current State: 88:[85, 2, 8, 99], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [2, 99, 77] Generated Node #2: [2, 99, 77] from Operation: 85-8=77 Current State: 88:[2, 99, 77], Operations: ['85-8=77'] Exploring Operation: 99+77=176, Resulting Numbers: [2, 176] Generated Node #3: [2, 176] from Operation: 99+77=176 Current State: 88:[2, 176], Operations: ['85-8=77', '99+77=176'] Exploring Operation: 176/2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[85, 2, 8, 99], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [2, 8, 14] Generated Node #0,0: 88:[2, 8, 14] Operation: 99-85=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 8, 14], Operations: ['99-85=14'] Exploring Operation: 8+14=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 88:[2, 22] Operation: 8+14=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[2, 22], Operations: ['99-85=14', '8+14=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 19, 68, 80, 77 ]
46
[ "68-19=49", "80-77=3", "49-3=46" ]
Current State: 46:[19, 68, 80, 77], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [80, 77, 49] Generated Node #2: [80, 77, 49] from Operation: 68-19=49 Current State: 46:[80, 77, 49], Operations: ['68-19=49'] Exploring Operation: 80-77=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 80-77=3 Current State: 46:[49, 3], Operations: ['68-19=49', '80-77=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[19, 68, 80, 77], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [19, 68, 3] Generated Node #0,0: 46:[19, 68, 3] Operation: 80-77=3 Exploring Operation: 80-68=12, Resulting Numbers: [19, 77, 12] Generated Node #0,1: 46:[19, 77, 12] Operation: 80-68=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[19, 68, 3], Operations: ['80-77=3'] Exploring Operation: 19+3=22, Resulting Numbers: [68, 22] Generated Node #0,0,0: 46:[68, 22] Operation: 19+3=22 Exploring Operation: 68-19=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 46:[3, 49] Operation: 68-19=49 Moving to Node #0,0,1 Current State: 46:[3, 49], Operations: ['80-77=3', '68-19=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[19, 68, 80, 77], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [19, 68, 3] Generated Node #0,0: 46:[19, 68, 3] Operation: 80-77=3 Moving to Node #0,0 Current State: 46:[19, 68, 3], Operations: ['80-77=3'] Exploring Operation: 68-19=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 46:[3, 49] Operation: 68-19=49 Moving to Node #0,0,1 Current State: 46:[3, 49], Operations: ['80-77=3', '68-19=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 68, 2, 98, 10 ]
59
[ "68+10=78", "78/2=39", "98-39=59" ]
Current State: 59:[68, 2, 98, 10], Operations: [] Exploring Operation: 68+10=78, Resulting Numbers: [2, 98, 78] Generated Node #2: [2, 98, 78] from Operation: 68+10=78 Current State: 59:[2, 98, 78], Operations: ['68+10=78'] Exploring Operation: 78/2=39, Resulting Numbers: [98, 39] Generated Node #3: [98, 39] from Operation: 78/2=39 Current State: 59:[98, 39], Operations: ['68+10=78', '78/2=39'] Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[68, 2, 98, 10], Operations: [] Exploring Operation: 68-2=66, Resulting Numbers: [98, 10, 66] Generated Node #0,0: 59:[98, 10, 66] Operation: 68-2=66 Exploring Operation: 98/2=49, Resulting Numbers: [68, 10, 49] Generated Node #0,1: 59:[68, 10, 49] Operation: 98/2=49 Exploring Operation: 2*10=20, Resulting Numbers: [68, 98, 20] Generated Node #0,2: 59:[68, 98, 20] Operation: 2*10=20 Exploring Operation: 98-2=96, Resulting Numbers: [68, 10, 96] Generated Node #0,3: 59:[68, 10, 96] Operation: 98-2=96 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[68, 10, 49], Operations: ['98/2=49'] Exploring Operation: 68-10=58, Resulting Numbers: [49, 58] Generated Node #0,1,0: 59:[49, 58] Operation: 68-10=58 Exploring Operation: 68+10=78, Resulting Numbers: [49, 78] Generated Node #0,1,1: 59:[49, 78] Operation: 68+10=78 Exploring Operation: 49-10=39, Resulting Numbers: [68, 39] Generated Node #0,1,2: 59:[68, 39] Operation: 49-10=39 Exploring Operation: 10+49=59, Resulting Numbers: [68, 59] Generated Node #0,1,3: 59:[68, 59] Operation: 10+49=59 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[68, 59], Operations: ['98/2=49', '10+49=59'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 68*59=4012, Resulting Numbers: [4012] 4012,59 unequal: No Solution Exploring Operation: 68+59=127, Resulting Numbers: [127] 127,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[49, 58], Operations: ['98/2=49', '68-10=58'] Exploring Operation: 49*58=2842, Resulting Numbers: [2842] 2842,59 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[49, 78], Operations: ['98/2=49', '68+10=78'] Exploring Operation: 49+78=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 49*78=3822, Resulting Numbers: [3822] 3822,59 unequal: No Solution Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[68, 39], Operations: ['98/2=49', '49-10=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,59 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[68, 98, 20], Operations: ['2*10=20'] Exploring Operation: 98-20=78, Resulting Numbers: [68, 78] Generated Node #0,2,0: 59:[68, 78] Operation: 98-20=78 Exploring Operation: 68+20=88, Resulting Numbers: [98, 88] Generated Node #0,2,1: 59:[98, 88] Operation: 68+20=88 Exploring Operation: 68-20=48, Resulting Numbers: [98, 48] Generated Node #0,2,2: 59:[98, 48] Operation: 68-20=48 Exploring Operation: 98-68=30, Resulting Numbers: [20, 30] Generated Node #0,2,3: 59:[20, 30] Operation: 98-68=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[68, 78], Operations: ['2*10=20', '98-20=78'] Exploring Operation: 68*78=5304, Resulting Numbers: [5304] 5304,59 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 68+78=146, Resulting Numbers: [146] 146,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[98, 48], Operations: ['2*10=20', '68-20=48'] Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[98, 88], Operations: ['2*10=20', '68+20=88'] Exploring Operation: 98+88=186, Resulting Numbers: [186] 186,59 unequal: No Solution Exploring Operation: 98-88=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 98*88=8624, Resulting Numbers: [8624] 8624,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[20, 30], Operations: ['2*10=20', '98-68=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,59 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[98, 10, 66], Operations: ['68-2=66'] Exploring Operation: 66-10=56, Resulting Numbers: [98, 56] Generated Node #0,0,0: 59:[98, 56] Operation: 66-10=56 Exploring Operation: 98-10=88, Resulting Numbers: [66, 88] Generated Node #0,0,1: 59:[66, 88] Operation: 98-10=88 Exploring Operation: 98+10=108, Resulting Numbers: [66, 108] Generated Node #0,0,2: 59:[66, 108] Operation: 98+10=108 Exploring Operation: 10+66=76, Resulting Numbers: [98, 76] Generated Node #0,0,3: 59:[98, 76] Operation: 10+66=76 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[66, 88], Operations: ['68-2=66', '98-10=88'] Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,59 unequal: No Solution Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[98, 56], Operations: ['68-2=66', '66-10=56'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,59 unequal: No Solution Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[66, 108], Operations: ['68-2=66', '98+10=108'] Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 66+108=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 66*108=7128, Resulting Numbers: [7128] 7128,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[98, 76], Operations: ['68-2=66', '10+66=76'] Exploring Operation: 98+76=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 98*76=7448, Resulting Numbers: [7448] 7448,59 unequal: No Solution Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[68, 10, 96], Operations: ['98-2=96'] Exploring Operation: 68+10=78, Resulting Numbers: [96, 78] Generated Node #0,3,0: 59:[96, 78] Operation: 68+10=78 Exploring Operation: 96-10=86, Resulting Numbers: [68, 86] Generated Node #0,3,1: 59:[68, 86] Operation: 96-10=86 Exploring Operation: 68-10=58, Resulting Numbers: [96, 58] Generated Node #0,3,2: 59:[96, 58] Operation: 68-10=58 Exploring Operation: 10+96=106, Resulting Numbers: [68, 106] Generated Node #0,3,3: 59:[68, 106] Operation: 10+96=106 Moving to Node #0,3,1 Current State: 59:[68, 86], Operations: ['98-2=96', '96-10=86'] Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,59 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[96, 58], Operations: ['98-2=96', '68-10=58'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,59 unequal: No Solution Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[68, 106], Operations: ['98-2=96', '10+96=106'] Exploring Operation: 68*106=7208, Resulting Numbers: [7208] 7208,59 unequal: No Solution Exploring Operation: 106-68=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 68+106=174, Resulting Numbers: [174] 174,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[96, 78], Operations: ['98-2=96', '68+10=78'] Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,59 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 78, 32, 26, 91 ]
41
[ "78/26=3", "32+91=123", "123/3=41" ]
Current State: 41:[78, 32, 26, 91], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [32, 91, 3] Generated Node #2: [32, 91, 3] from Operation: 78/26=3 Current State: 41:[32, 91, 3], Operations: ['78/26=3'] Exploring Operation: 32+91=123, Resulting Numbers: [3, 123] Generated Node #3: [3, 123] from Operation: 32+91=123 Current State: 41:[3, 123], Operations: ['78/26=3', '32+91=123'] Exploring Operation: 123/3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[78, 32, 26, 91], Operations: [] Exploring Operation: 78-26=52, Resulting Numbers: [32, 91, 52] Generated Node #0,0: 41:[32, 91, 52] Operation: 78-26=52 Exploring Operation: 91-78=13, Resulting Numbers: [32, 26, 13] Generated Node #0,1: 41:[32, 26, 13] Operation: 91-78=13 Exploring Operation: 78-32=46, Resulting Numbers: [26, 91, 46] Generated Node #0,2: 41:[26, 91, 46] Operation: 78-32=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[32, 26, 13], Operations: ['91-78=13'] Exploring Operation: 32+13=45, Resulting Numbers: [26, 45] Generated Node #0,1,0: 41:[26, 45] Operation: 32+13=45 Exploring Operation: 32-13=19, Resulting Numbers: [26, 19] Generated Node #0,1,1: 41:[26, 19] Operation: 32-13=19 Exploring Operation: 26+13=39, Resulting Numbers: [32, 39] Generated Node #0,1,2: 41:[32, 39] Operation: 26+13=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[32, 39], Operations: ['91-78=13', '26+13=39'] Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,41 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,41 unequal: No Solution No 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: 41:[26, 45], Operations: ['91-78=13', '32+13=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,41 unequal: No Solution No 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: 41:[26, 19], Operations: ['91-78=13', '32-13=19'] Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,41 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,41 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: 41:[32, 91, 52], Operations: ['78-26=52'] Exploring Operation: 52-32=20, Resulting Numbers: [91, 20] Generated Node #0,0,0: 41:[91, 20] Operation: 52-32=20 Exploring Operation: 91-52=39, Resulting Numbers: [32, 39] Generated Node #0,0,1: 41:[32, 39] Operation: 91-52=39 Exploring Operation: 91-32=59, Resulting Numbers: [52, 59] Generated Node #0,0,2: 41:[52, 59] Operation: 91-32=59 Moving to Node #0,0,1 Current State: 41:[32, 39], Operations: ['78-26=52', '91-52=39'] Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,41 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[52, 59], Operations: ['78-26=52', '91-32=59'] Exploring Operation: 52*59=3068, Resulting Numbers: [3068] 3068,41 unequal: No Solution Exploring Operation: 52+59=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[91, 20], Operations: ['78-26=52', '52-32=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,41 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[26, 91, 46], Operations: ['78-32=46'] Exploring Operation: 91-26=65, Resulting Numbers: [46, 65] Generated Node #0,2,0: 41:[46, 65] Operation: 91-26=65 Exploring Operation: 91-46=45, Resulting Numbers: [26, 45] Generated Node #0,2,1: 41:[26, 45] Operation: 91-46=45 Exploring Operation: 46-26=20, Resulting Numbers: [91, 20] Generated Node #0,2,2: 41:[91, 20] Operation: 46-26=20 Moving to Node #0,2,1 Current State: 41:[26, 45], Operations: ['78-32=46', '91-46=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[46, 65], Operations: ['78-32=46', '91-26=65'] Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 46*65=2990, Resulting Numbers: [2990] 2990,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[91, 20], Operations: ['78-32=46', '46-26=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,41 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,41 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
[ 30, 77, 54, 27 ]
59
[ "30-27=3", "54/3=18", "77-18=59" ]
Current State: 59:[30, 77, 54, 27], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [77, 54, 3] Generated Node #2: [77, 54, 3] from Operation: 30-27=3 Current State: 59:[77, 54, 3], Operations: ['30-27=3'] Exploring Operation: 54/3=18, Resulting Numbers: [77, 18] Generated Node #3: [77, 18] from Operation: 54/3=18 Current State: 59:[77, 18], Operations: ['30-27=3', '54/3=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[30, 77, 54, 27], Operations: [] Exploring Operation: 30+27=57, Resulting Numbers: [77, 54, 57] Generated Node #0,0: 59:[77, 54, 57] Operation: 30+27=57 Exploring Operation: 77-27=50, Resulting Numbers: [30, 54, 50] Generated Node #0,1: 59:[30, 54, 50] Operation: 77-27=50 Exploring Operation: 30+54=84, Resulting Numbers: [77, 27, 84] Generated Node #0,2: 59:[77, 27, 84] Operation: 30+54=84 Exploring Operation: 54+27=81, Resulting Numbers: [30, 77, 81] Generated Node #0,3: 59:[30, 77, 81] Operation: 54+27=81 Exploring Operation: 77-30=47, Resulting Numbers: [54, 27, 47] Generated Node #0,4: 59:[54, 27, 47] Operation: 77-30=47 Moving to Node #0,0 Current State: 59:[77, 54, 57], Operations: ['30+27=57'] Exploring Operation: 54+57=111, Resulting Numbers: [77, 111] Generated Node #0,0,0: 59:[77, 111] Operation: 54+57=111 Exploring Operation: 57-54=3, Resulting Numbers: [77, 3] Generated Node #0,0,1: 59:[77, 3] Operation: 57-54=3 Exploring Operation: 77+54=131, Resulting Numbers: [57, 131] Generated Node #0,0,2: 59:[57, 131] Operation: 77+54=131 Exploring Operation: 77-54=23, Resulting Numbers: [57, 23] Generated Node #0,0,3: 59:[57, 23] Operation: 77-54=23 Exploring Operation: 77-57=20, Resulting Numbers: [54, 20] Generated Node #0,0,4: 59:[54, 20] Operation: 77-57=20 Moving to Node #0,1 Current State: 59:[30, 54, 50], Operations: ['77-27=50'] Exploring Operation: 54+50=104, Resulting Numbers: [30, 104] Generated Node #0,1,0: 59:[30, 104] Operation: 54+50=104 Exploring Operation: 50-30=20, Resulting Numbers: [54, 20] Generated Node #0,1,1: 59:[54, 20] Operation: 50-30=20 Exploring Operation: 54-30=24, Resulting Numbers: [50, 24] Generated Node #0,1,2: 59:[50, 24] Operation: 54-30=24 Exploring Operation: 30+50=80, Resulting Numbers: [54, 80] Generated Node #0,1,3: 59:[54, 80] Operation: 30+50=80 Exploring Operation: 30+54=84, Resulting Numbers: [50, 84] Generated Node #0,1,4: 59:[50, 84] Operation: 30+54=84 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[54, 80], Operations: ['77-27=50', '30+50=80'] Exploring Operation: 54+80=134, Resulting Numbers: [134] 134,59 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 54*80=4320, Resulting Numbers: [4320] 4320,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,4 Current State: 59:[50, 84], Operations: ['77-27=50', '30+54=84'] Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,59 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,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:[54, 20], Operations: ['77-27=50', '50-30=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,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:[50, 24], Operations: ['77-27=50', '54-30=24'] Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,59 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,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:[30, 104], Operations: ['77-27=50', '54+50=104'] Exploring Operation: 30+104=134, Resulting Numbers: [134] 134,59 unequal: No Solution Exploring Operation: 104-30=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 30*104=3120, Resulting Numbers: [3120] 3120,59 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: 59:[54, 27, 47], Operations: ['77-30=47'] Exploring Operation: 54+27=81, Resulting Numbers: [47, 81] Generated Node #0,4,0: 59:[47, 81] Operation: 54+27=81 Exploring Operation: 47-27=20, Resulting Numbers: [54, 20] Generated Node #0,4,1: 59:[54, 20] Operation: 47-27=20 Exploring Operation: 27+47=74, Resulting Numbers: [54, 74] Generated Node #0,4,2: 59:[54, 74] Operation: 27+47=74 Exploring Operation: 54/27=2, Resulting Numbers: [47, 2] Generated Node #0,4,3: 59:[47, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [47, 27] Generated Node #0,4,4: 59:[47, 27] Operation: 54-27=27 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[54, 74], Operations: ['77-30=47', '27+47=74'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[47, 81], Operations: ['77-30=47', '54+27=81'] Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,59 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[54, 20], Operations: ['77-30=47', '47-27=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,59 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[47, 27], Operations: ['77-30=47', '54-27=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,59 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[47, 2], Operations: ['77-30=47', '54/27=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,59 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 59:[30, 77, 81], Operations: ['54+27=81'] Exploring Operation: 30+81=111, Resulting Numbers: [77, 111] Generated Node #0,3,0: 59:[77, 111] Operation: 30+81=111 Exploring Operation: 81-77=4, Resulting Numbers: [30, 4] Generated Node #0,3,1: 59:[30, 4] Operation: 81-77=4 Exploring Operation: 81-30=51, Resulting Numbers: [77, 51] Generated Node #0,3,2: 59:[77, 51] Operation: 81-30=51 Exploring Operation: 77-30=47, Resulting Numbers: [81, 47] Generated Node #0,3,3: 59:[81, 47] Operation: 77-30=47 Exploring Operation: 30+77=107, Resulting Numbers: [81, 107] Generated Node #0,3,4: 59:[81, 107] Operation: 30+77=107 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[77, 51], Operations: ['54+27=81', '81-30=51'] Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,59 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[81, 47], Operations: ['54+27=81', '77-30=47'] Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,59 unequal: No Solution Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[77, 111], Operations: ['54+27=81', '30+81=111'] Exploring Operation: 77*111=8547, Resulting Numbers: [8547] 8547,59 unequal: No Solution Exploring Operation: 77+111=188, Resulting Numbers: [188] 188,59 unequal: No Solution Exploring Operation: 111-77=34, Resulting Numbers: [34] 34,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[81, 107], Operations: ['54+27=81', '30+77=107'] Exploring Operation: 81+107=188, Resulting Numbers: [188] 188,59 unequal: No Solution Exploring Operation: 107-81=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 81*107=8667, Resulting Numbers: [8667] 8667,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[30, 4], Operations: ['54+27=81', '81-77=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,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:[77, 27, 84], Operations: ['30+54=84'] Exploring Operation: 77-27=50, Resulting Numbers: [84, 50] Generated Node #0,2,0: 59:[84, 50] Operation: 77-27=50 Exploring Operation: 27+84=111, Resulting Numbers: [77, 111] Generated Node #0,2,1: 59:[77, 111] Operation: 27+84=111 Exploring Operation: 84-27=57, Resulting Numbers: [77, 57] Generated Node #0,2,2: 59:[77, 57] Operation: 84-27=57 Exploring Operation: 77+27=104, Resulting Numbers: [84, 104] Generated Node #0,2,3: 59:[84, 104] Operation: 77+27=104 Exploring Operation: 84-77=7, Resulting Numbers: [27, 7] Generated Node #0,2,4: 59:[27, 7] Operation: 84-77=7 Moving to Node #0,2,2 Current State: 59:[77, 57], Operations: ['30+54=84', '84-27=57'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 77*57=4389, Resulting Numbers: [4389] 4389,59 unequal: No Solution Exploring Operation: 77+57=134, Resulting Numbers: [134] 134,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[84, 50], Operations: ['30+54=84', '77-27=50'] Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,59 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[57, 23], Operations: ['30+27=57', '77-54=23'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,59 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[54, 20], Operations: ['30+27=57', '77-57=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,59 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[77, 111], Operations: ['30+27=57', '54+57=111'] Exploring Operation: 111-77=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 77*111=8547, Resulting Numbers: [8547] 8547,59 unequal: No Solution Exploring Operation: 77+111=188, Resulting Numbers: [188] 188,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[84, 104], Operations: ['30+54=84', '77+27=104'] Exploring Operation: 84+104=188, Resulting Numbers: [188] 188,59 unequal: No Solution Exploring Operation: 104-84=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 84*104=8736, Resulting Numbers: [8736] 8736,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[77, 111], Operations: ['30+54=84', '27+84=111'] Exploring Operation: 77*111=8547, Resulting Numbers: [8547] 8547,59 unequal: No Solution Exploring Operation: 111-77=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 77+111=188, Resulting Numbers: [188] 188,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[77, 3], Operations: ['30+27=57', '57-54=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[57, 131], Operations: ['30+27=57', '77+54=131'] Exploring Operation: 57*131=7467, Resulting Numbers: [7467] 7467,59 unequal: No Solution Exploring Operation: 57+131=188, Resulting Numbers: [188] 188,59 unequal: No Solution Exploring Operation: 131-57=74, Resulting Numbers: [74] 74,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[27, 7], Operations: ['30+54=84', '84-77=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,59 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 56, 1, 3, 54 ]
35
[ "56+1=57", "57/3=19", "54-19=35" ]
Current State: 35:[56, 1, 3, 54], Operations: [] Exploring Operation: 56+1=57, Resulting Numbers: [3, 54, 57] Generated Node #2: [3, 54, 57] from Operation: 56+1=57 Current State: 35:[3, 54, 57], Operations: ['56+1=57'] Exploring Operation: 57/3=19, Resulting Numbers: [54, 19] Generated Node #3: [54, 19] from Operation: 57/3=19 Current State: 35:[54, 19], Operations: ['56+1=57', '57/3=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[56, 1, 3, 54], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [1, 3, 2] Generated Node #0,0: 35:[1, 3, 2] Operation: 56-54=2 Exploring Operation: 54/3=18, Resulting Numbers: [56, 1, 18] Generated Node #0,1: 35:[56, 1, 18] Operation: 54/3=18 Moving to Node #0,0 Current State: 35:[1, 3, 2], Operations: ['56-54=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 35:[3, 3] Operation: 1+2=3 Exploring Operation: 1+3=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 35:[2, 4] Operation: 1+3=4 Moving to Node #0,1 Current State: 35:[56, 1, 18], Operations: ['54/3=18'] Exploring Operation: 56-18=38, Resulting Numbers: [1, 38] Generated Node #0,1,0: 35:[1, 38] Operation: 56-18=38 Exploring Operation: 56-1=55, Resulting Numbers: [18, 55] Generated Node #0,1,1: 35:[18, 55] Operation: 56-1=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[1, 38], Operations: ['54/3=18', '56-18=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[18, 55], Operations: ['54/3=18', '56-1=55'] Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,35 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: 35:[3, 3], Operations: ['56-54=2', '1+2=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[2, 4], Operations: ['56-54=2', '1+3=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 15, 75, 54, 35 ]
21
[ "15+75=90", "54*35=1890", "1890/90=21" ]
Current State: 21:[15, 75, 54, 35], Operations: [] Exploring Operation: 15+75=90, Resulting Numbers: [54, 35, 90] Generated Node #2: [54, 35, 90] from Operation: 15+75=90 Current State: 21:[54, 35, 90], Operations: ['15+75=90'] Exploring Operation: 54*35=1890, Resulting Numbers: [90, 1890] Generated Node #3: [90, 1890] from Operation: 54*35=1890 Current State: 21:[90, 1890], Operations: ['15+75=90', '54*35=1890'] Exploring Operation: 1890/90=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[15, 75, 54, 35], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [15, 35, 21] Generated Node #0,0: 21:[15, 35, 21] Operation: 75-54=21 Exploring Operation: 75/15=5, Resulting Numbers: [54, 35, 5] Generated Node #0,1: 21:[54, 35, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 21:[15, 35, 21], Operations: ['75-54=21'] Exploring Operation: 35-15=20, Resulting Numbers: [21, 20] Generated Node #0,0,0: 21:[21, 20] Operation: 35-15=20 Exploring Operation: 35-21=14, Resulting Numbers: [15, 14] Generated Node #0,0,1: 21:[15, 14] Operation: 35-21=14 Moving to Node #0,1 Current State: 21:[54, 35, 5], Operations: ['75/15=5'] Exploring Operation: 54-35=19, Resulting Numbers: [5, 19] Generated Node #0,1,0: 21:[5, 19] Operation: 54-35=19 Exploring Operation: 35/5=7, Resulting Numbers: [54, 7] Generated Node #0,1,1: 21:[54, 7] Operation: 35/5=7 Moving to Node #0,0,0 Current State: 21:[21, 20], Operations: ['75-54=21', '35-15=20'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[5, 19], Operations: ['75/15=5', '54-35=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[15, 14], Operations: ['75-54=21', '35-21=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[54, 7], Operations: ['75/15=5', '35/5=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 82, 2, 78, 12 ]
74
[ "82*2=164", "78+12=90", "164-90=74" ]
Current State: 74:[82, 2, 78, 12], Operations: [] Exploring Operation: 82*2=164, Resulting Numbers: [78, 12, 164] Generated Node #2: [78, 12, 164] from Operation: 82*2=164 Current State: 74:[78, 12, 164], Operations: ['82*2=164'] Exploring Operation: 78+12=90, Resulting Numbers: [164, 90] Generated Node #3: [164, 90] from Operation: 78+12=90 Current State: 74:[164, 90], Operations: ['82*2=164', '78+12=90'] Exploring Operation: 164-90=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 2, 78, 12], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [2, 12, 4] Generated Node #0,0: 74:[2, 12, 4] Operation: 82-78=4 Exploring Operation: 82-12=70, Resulting Numbers: [2, 78, 70] Generated Node #0,1: 74:[2, 78, 70] Operation: 82-12=70 Exploring Operation: 12/2=6, Resulting Numbers: [82, 78, 6] Generated Node #0,2: 74:[82, 78, 6] Operation: 12/2=6 Moving to Node #0,1 Current State: 74:[2, 78, 70], Operations: ['82-12=70'] Exploring Operation: 2+70=72, Resulting Numbers: [78, 72] Generated Node #0,1,0: 74:[78, 72] Operation: 2+70=72 Exploring Operation: 78/2=39, Resulting Numbers: [70, 39] Generated Node #0,1,1: 74:[70, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [70, 76] Generated Node #0,1,2: 74:[70, 76] Operation: 78-2=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[78, 72], Operations: ['82-12=70', '2+70=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,74 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[70, 39], Operations: ['82-12=70', '78/2=39'] Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,74 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[70, 76], Operations: ['82-12=70', '78-2=76'] Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,74 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: 74:[2, 12, 4], Operations: ['82-78=4'] Exploring Operation: 12-4=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 74:[2, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 74:[2, 3] Operation: 12/4=3 Exploring Operation: 12/2=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 74:[4, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[2, 3], Operations: ['82-78=4', '12/4=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[2, 8], Operations: ['82-78=4', '12-4=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[4, 6], Operations: ['82-78=4', '12/2=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 74:[82, 78, 6], Operations: ['12/2=6'] Exploring Operation: 82-6=76, Resulting Numbers: [78, 76] Generated Node #0,2,0: 74:[78, 76] Operation: 82-6=76 Exploring Operation: 82-78=4, Resulting Numbers: [6, 4] Generated Node #0,2,1: 74:[6, 4] Operation: 82-78=4 Exploring Operation: 78-6=72, Resulting Numbers: [82, 72] Generated Node #0,2,2: 74:[82, 72] Operation: 78-6=72 Moving to Node #0,2,0 Current State: 74:[78, 76], Operations: ['12/2=6', '82-6=76'] Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,74 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[6, 4], Operations: ['12/2=6', '82-78=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[82, 72], Operations: ['12/2=6', '78-6=72'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 83, 53, 12, 57 ]
80
[ "57-53=4", "12/4=3", "83-3=80" ]
Current State: 80:[83, 53, 12, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [83, 12, 4] Generated Node #2: [83, 12, 4] from Operation: 57-53=4 Current State: 80:[83, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12/4=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 12/4=3 Current State: 80:[83, 3], Operations: ['57-53=4', '12/4=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[83, 53, 12, 57], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [53, 12, 26] Generated Node #0,0: 80:[53, 12, 26] Operation: 83-57=26 Exploring Operation: 57-53=4, Resulting Numbers: [83, 12, 4] Generated Node #0,1: 80:[83, 12, 4] Operation: 57-53=4 Exploring Operation: 53-12=41, Resulting Numbers: [83, 57, 41] Generated Node #0,2: 80:[83, 57, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[83, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12-4=8, Resulting Numbers: [83, 8] Generated Node #0,1,0: 80:[83, 8] Operation: 12-4=8 Exploring Operation: 12+4=16, Resulting Numbers: [83, 16] Generated Node #0,1,1: 80:[83, 16] Operation: 12+4=16 Exploring Operation: 83-4=79, Resulting Numbers: [12, 79] Generated Node #0,1,2: 80:[12, 79] Operation: 83-4=79 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[83, 8], Operations: ['57-53=4', '12-4=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,80 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,80 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[83, 16], Operations: ['57-53=4', '12+4=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[12, 79], Operations: ['57-53=4', '83-4=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,80 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,80 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[53, 12, 26], Operations: ['83-57=26'] Exploring Operation: 53-26=27, Resulting Numbers: [12, 27] Generated Node #0,0,0: 80:[12, 27] Operation: 53-26=27 Exploring Operation: 53+26=79, Resulting Numbers: [12, 79] Generated Node #0,0,1: 80:[12, 79] Operation: 53+26=79 Exploring Operation: 53-12=41, Resulting Numbers: [26, 41] Generated Node #0,0,2: 80:[26, 41] Operation: 53-12=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[12, 79], Operations: ['83-57=26', '53+26=79'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,80 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[26, 41], Operations: ['83-57=26', '53-12=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,80 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[12, 27], Operations: ['83-57=26', '53-26=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,80 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[83, 57, 41], Operations: ['53-12=41'] Exploring Operation: 83-57=26, Resulting Numbers: [41, 26] Generated Node #0,2,0: 80:[41, 26] Operation: 83-57=26 Exploring Operation: 83-41=42, Resulting Numbers: [57, 42] Generated Node #0,2,1: 80:[57, 42] Operation: 83-41=42 Exploring Operation: 57-41=16, Resulting Numbers: [83, 16] Generated Node #0,2,2: 80:[83, 16] Operation: 57-41=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[83, 16], Operations: ['53-12=41', '57-41=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,80 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[41, 26], Operations: ['53-12=41', '83-57=26'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[57, 42], Operations: ['53-12=41', '83-41=42'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 21, 37, 21 ]
54
[ "91+21=112", "37+21=58", "112-58=54" ]
Current State: 54:[91, 21, 37, 21], Operations: [] Exploring Operation: 91+21=112, Resulting Numbers: [37, 112] Generated Node #2: [37, 112] from Operation: 91+21=112 Current State: 54:[37, 112], Operations: ['91+21=112'] Exploring Operation: 37+21=58, Resulting Numbers: [112, 58] Generated Node #3: [112, 58] from Operation: 37+21=58 Current State: 54:[112, 58], Operations: ['91+21=112', '37+21=58'] Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[91, 21, 37, 21], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [21, 21, 54] Generated Node #0,0: 54:[21, 21, 54] Operation: 91-37=54 Exploring Operation: 91-21=70, Resulting Numbers: [21, 37, 70] Generated Node #0,1: 54:[21, 37, 70] Operation: 91-21=70 Exploring Operation: 91-21=70, Resulting Numbers: [37, 21, 70] Generated Node #0,2: 54:[37, 21, 70] Operation: 91-21=70 Exploring Operation: 37-21=16, Resulting Numbers: [91, 21, 16] Generated Node #0,3: 54:[91, 21, 16] Operation: 37-21=16 Exploring Operation: 37-21=16, Resulting Numbers: [91, 21, 16] Generated Node #0,4: 54:[91, 21, 16] Operation: 37-21=16 Moving to Node #0,0 Current State: 54:[21, 21, 54], Operations: ['91-37=54'] Exploring Operation: 54-21=33, Resulting Numbers: [21, 33] Generated Node #0,0,0: 54:[21, 33] Operation: 54-21=33 Exploring Operation: 21+21=42, Resulting Numbers: [54, 42] Generated Node #0,0,1: 54:[54, 42] Operation: 21+21=42 Exploring Operation: 21-21=0, Resulting Numbers: [54, 0] Generated Node #0,0,2: 54:[54, 0] Operation: 21-21=0 Exploring Operation: 21/21=1, Resulting Numbers: [54, 1] Generated Node #0,0,3: 54:[54, 1] Operation: 21/21=1 Exploring Operation: 54-21=33, Resulting Numbers: [21, 33] Generated Node #0,0,4: 54:[21, 33] Operation: 54-21=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[54, 1], Operations: ['91-37=54', '21/21=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[91, 21, 37, 21], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [21, 21, 54] Generated Node #0,0: 54:[21, 21, 54] Operation: 91-37=54 Moving to Node #0,0 Current State: 54:[21, 21, 54], Operations: ['91-37=54'] Exploring Operation: 21/21=1, Resulting Numbers: [54, 1] Generated Node #0,0,3: 54:[54, 1] Operation: 21/21=1 Moving to Node #0,0,3 Current State: 54:[54, 1], Operations: ['91-37=54', '21/21=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 7, 42, 49, 15 ]
63
[ "49/7=7", "15*7=105", "105-42=63" ]
Current State: 63:[7, 42, 49, 15], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [42, 15, 7] Generated Node #2: [42, 15, 7] from Operation: 49/7=7 Current State: 63:[42, 15, 7], Operations: ['49/7=7'] Exploring Operation: 15*7=105, Resulting Numbers: [42, 105] Generated Node #3: [42, 105] from Operation: 15*7=105 Current State: 63:[42, 105], Operations: ['49/7=7', '15*7=105'] Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 42, 49, 15], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [7, 15, 7] Generated Node #0,0: 63:[7, 15, 7] Operation: 49-42=7 Moving to Node #0,0 Current State: 63:[7, 15, 7], Operations: ['49-42=7'] Exploring Operation: 7+15=22, Resulting Numbers: [7, 22] Generated Node #0,0,0: 63:[7, 22] Operation: 7+15=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[7, 22], Operations: ['49-42=7', '7+15=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,63 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
[ 29, 28, 99, 5 ]
14
[ "99-29=70", "70/5=14", "28-14=14" ]
Current State: 14:[29, 28, 99, 5], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [28, 5, 70] Generated Node #2: [28, 5, 70] from Operation: 99-29=70 Current State: 14:[28, 5, 70], Operations: ['99-29=70'] Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #3: [28, 14] from Operation: 70/5=14 Current State: 14:[28, 14], Operations: ['99-29=70', '70/5=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[29, 28, 99, 5], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [29, 5, 71] Generated Node #0,0: 14:[29, 5, 71] Operation: 99-28=71 Exploring Operation: 99-29=70, Resulting Numbers: [28, 5, 70] Generated Node #0,1: 14:[28, 5, 70] Operation: 99-29=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[28, 5, 70], Operations: ['99-29=70'] Exploring Operation: 70-28=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 14:[5, 42] Operation: 70-28=42 Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #0,1,1: 14:[28, 14] Operation: 70/5=14 Moving to Node #0,1,1 Current State: 14:[28, 14], Operations: ['99-29=70', '70/5=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[29, 28, 99, 5], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [28, 5, 70] Generated Node #0,1: 14:[28, 5, 70] Operation: 99-29=70 Moving to Node #0,1 Current State: 14:[28, 5, 70], Operations: ['99-29=70'] Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #0,1,1: 14:[28, 14] Operation: 70/5=14 Moving to Node #0,1,1 Current State: 14:[28, 14], Operations: ['99-29=70', '70/5=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 65, 55, 13, 25 ]
22
[ "65-55=10", "25-13=12", "10+12=22" ]
Current State: 22:[65, 55, 13, 25], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [13, 25, 10] Generated Node #2: [13, 25, 10] from Operation: 65-55=10 Current State: 22:[13, 25, 10], Operations: ['65-55=10'] Exploring Operation: 25-13=12, Resulting Numbers: [10, 12] Generated Node #3: [10, 12] from Operation: 25-13=12 Current State: 22:[10, 12], Operations: ['65-55=10', '25-13=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[65, 55, 13, 25], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [13, 25, 10] Generated Node #0,0: 22:[13, 25, 10] Operation: 65-55=10 Moving to Node #0,0 Current State: 22:[13, 25, 10], Operations: ['65-55=10'] Exploring Operation: 25-13=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 22:[10, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[10, 12], Operations: ['65-55=10', '25-13=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[65, 55, 13, 25], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [13, 25, 10] Generated Node #0,0: 22:[13, 25, 10] Operation: 65-55=10 Moving to Node #0,0 Current State: 22:[13, 25, 10], Operations: ['65-55=10'] Exploring Operation: 25-13=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 22:[10, 12] Operation: 25-13=12 Moving to Node #0,0,0 Current State: 22:[10, 12], Operations: ['65-55=10', '25-13=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 44, 66, 12, 45 ]
53
[ "44+66=110", "12+45=57", "110-57=53" ]
Current State: 53:[44, 66, 12, 45], Operations: [] Exploring Operation: 44+66=110, Resulting Numbers: [12, 45, 110] Generated Node #2: [12, 45, 110] from Operation: 44+66=110 Current State: 53:[12, 45, 110], Operations: ['44+66=110'] Exploring Operation: 12+45=57, Resulting Numbers: [110, 57] Generated Node #3: [110, 57] from Operation: 12+45=57 Current State: 53:[110, 57], Operations: ['44+66=110', '12+45=57'] Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[44, 66, 12, 45], Operations: [] Exploring Operation: 66-12=54, Resulting Numbers: [44, 45, 54] Generated Node #0,0: 53:[44, 45, 54] Operation: 66-12=54 Exploring Operation: 44+12=56, Resulting Numbers: [66, 45, 56] Generated Node #0,1: 53:[66, 45, 56] Operation: 44+12=56 Moving to Node #0,0 Current State: 53:[44, 45, 54], Operations: ['66-12=54'] Exploring Operation: 54-44=10, Resulting Numbers: [45, 10] Generated Node #0,0,0: 53:[45, 10] Operation: 54-44=10 Exploring Operation: 44+45=89, Resulting Numbers: [54, 89] Generated Node #0,0,1: 53:[54, 89] Operation: 44+45=89 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[54, 89], Operations: ['66-12=54', '44+45=89'] Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,53 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[45, 10], Operations: ['66-12=54', '54-44=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,53 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: 53:[66, 45, 56], Operations: ['44+12=56'] Exploring Operation: 66-56=10, Resulting Numbers: [45, 10] Generated Node #0,1,0: 53:[45, 10] Operation: 66-56=10 Exploring Operation: 66-45=21, Resulting Numbers: [56, 21] Generated Node #0,1,1: 53:[56, 21] Operation: 66-45=21 Moving to Node #0,1,1 Current State: 53:[56, 21], Operations: ['44+12=56', '66-45=21'] Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[45, 10], Operations: ['44+12=56', '66-56=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,53 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 83, 85, 27, 6 ]
66
[ "85-83=2", "27+6=33", "2*33=66" ]
Current State: 66:[83, 85, 27, 6], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [27, 6, 2] Generated Node #2: [27, 6, 2] from Operation: 85-83=2 Current State: 66:[27, 6, 2], Operations: ['85-83=2'] Exploring Operation: 27+6=33, Resulting Numbers: [2, 33] Generated Node #3: [2, 33] from Operation: 27+6=33 Current State: 66:[2, 33], Operations: ['85-83=2', '27+6=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[83, 85, 27, 6], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [27, 6, 2] Generated Node #0,0: 66:[27, 6, 2] Operation: 85-83=2 Exploring Operation: 83-6=77, Resulting Numbers: [85, 27, 77] Generated Node #0,1: 66:[85, 27, 77] Operation: 83-6=77 Exploring Operation: 85-27=58, Resulting Numbers: [83, 6, 58] Generated Node #0,2: 66:[83, 6, 58] Operation: 85-27=58 Exploring Operation: 83-27=56, Resulting Numbers: [85, 6, 56] Generated Node #0,3: 66:[85, 6, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[27, 6, 2], Operations: ['85-83=2'] Exploring Operation: 27-2=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 66:[6, 25] Operation: 27-2=25 Exploring Operation: 27+2=29, Resulting Numbers: [6, 29] Generated Node #0,0,1: 66:[6, 29] Operation: 27+2=29 Exploring Operation: 27+6=33, Resulting Numbers: [2, 33] Generated Node #0,0,2: 66:[2, 33] Operation: 27+6=33 Exploring Operation: 27-6=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 66:[2, 21] Operation: 27-6=21 Moving to Node #0,0,2 Current State: 66:[2, 33], Operations: ['85-83=2', '27+6=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[83, 85, 27, 6], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [27, 6, 2] Generated Node #0,0: 66:[27, 6, 2] Operation: 85-83=2 Moving to Node #0,0 Current State: 66:[27, 6, 2], Operations: ['85-83=2'] Exploring Operation: 27+6=33, Resulting Numbers: [2, 33] Generated Node #0,0,2: 66:[2, 33] Operation: 27+6=33 Moving to Node #0,0,2 Current State: 66:[2, 33], Operations: ['85-83=2', '27+6=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 38, 1, 53, 3 ]
64
[ "38+1=39", "3*39=117", "117-53=64" ]
Current State: 64:[38, 1, 53, 3], Operations: [] Exploring Operation: 38+1=39, Resulting Numbers: [53, 3, 39] Generated Node #2: [53, 3, 39] from Operation: 38+1=39 Current State: 64:[53, 3, 39], Operations: ['38+1=39'] Exploring Operation: 3*39=117, Resulting Numbers: [53, 117] Generated Node #3: [53, 117] from Operation: 3*39=117 Current State: 64:[53, 117], Operations: ['38+1=39', '3*39=117'] Exploring Operation: 117-53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[38, 1, 53, 3], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [1, 3, 15] Generated Node #0,0: 64:[1, 3, 15] Operation: 53-38=15 Exploring Operation: 38-3=35, Resulting Numbers: [1, 53, 35] Generated Node #0,1: 64:[1, 53, 35] Operation: 38-3=35 Moving to Node #0,0 Current State: 64:[1, 3, 15], Operations: ['53-38=15'] Exploring Operation: 3-1=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 64:[15, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [15, 4] Generated Node #0,0,1: 64:[15, 4] Operation: 1+3=4 Moving to Node #0,1 Current State: 64:[1, 53, 35], Operations: ['38-3=35'] Exploring Operation: 1+53=54, Resulting Numbers: [35, 54] Generated Node #0,1,0: 64:[35, 54] Operation: 1+53=54 Exploring Operation: 53-35=18, Resulting Numbers: [1, 18] Generated Node #0,1,1: 64:[1, 18] Operation: 53-35=18 Moving to Node #0,0,0 Current State: 64:[15, 2], Operations: ['53-38=15', '3-1=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[15, 4], Operations: ['53-38=15', '1+3=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[1, 18], Operations: ['38-3=35', '53-35=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[35, 54], Operations: ['38-3=35', '1+53=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,64 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 7, 49, 43, 26 ]
16
[ "49-43=6", "7*6=42", "42-26=16" ]
Current State: 16:[7, 49, 43, 26], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [7, 26, 6] Generated Node #2: [7, 26, 6] from Operation: 49-43=6 Current State: 16:[7, 26, 6], Operations: ['49-43=6'] Exploring Operation: 7*6=42, Resulting Numbers: [26, 42] Generated Node #3: [26, 42] from Operation: 7*6=42 Current State: 16:[26, 42], Operations: ['49-43=6', '7*6=42'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[7, 49, 43, 26], Operations: [] Exploring Operation: 49-7=42, Resulting Numbers: [43, 26, 42] Generated Node #0,0: 16:[43, 26, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [43, 26, 7] Generated Node #0,1: 16:[43, 26, 7] Operation: 49/7=7 Exploring Operation: 49-43=6, Resulting Numbers: [7, 26, 6] Generated Node #0,2: 16:[7, 26, 6] Operation: 49-43=6 Exploring Operation: 43-26=17, Resulting Numbers: [7, 49, 17] Generated Node #0,3: 16:[7, 49, 17] Operation: 43-26=17 Exploring Operation: 49-26=23, Resulting Numbers: [7, 43, 23] Generated Node #0,4: 16:[7, 43, 23] Operation: 49-26=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[7, 26, 6], Operations: ['49-43=6'] Exploring Operation: 7+6=13, Resulting Numbers: [26, 13] Generated Node #0,2,0: 16:[26, 13] Operation: 7+6=13 Exploring Operation: 26-7=19, Resulting Numbers: [6, 19] Generated Node #0,2,1: 16:[6, 19] Operation: 26-7=19 Exploring Operation: 26-6=20, Resulting Numbers: [7, 20] Generated Node #0,2,2: 16:[7, 20] Operation: 26-6=20 Exploring Operation: 7-6=1, Resulting Numbers: [26, 1] Generated Node #0,2,3: 16:[26, 1] Operation: 7-6=1 Exploring Operation: 26+6=32, Resulting Numbers: [7, 32] Generated Node #0,2,4: 16:[7, 32] Operation: 26+6=32 Moving to Node #0,2,1 Current State: 16:[6, 19], Operations: ['49-43=6', '26-7=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[7, 20], Operations: ['49-43=6', '26-6=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,16 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[26, 1], Operations: ['49-43=6', '7-6=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[26, 13], Operations: ['49-43=6', '7+6=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,16 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[7, 32], Operations: ['49-43=6', '26+6=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,16 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[7, 49, 17], Operations: ['43-26=17'] Exploring Operation: 17-7=10, Resulting Numbers: [49, 10] Generated Node #0,3,0: 16:[49, 10] Operation: 17-7=10 Exploring Operation: 49-17=32, Resulting Numbers: [7, 32] Generated Node #0,3,1: 16:[7, 32] Operation: 49-17=32 Exploring Operation: 7+49=56, Resulting Numbers: [17, 56] Generated Node #0,3,2: 16:[17, 56] Operation: 7+49=56 Exploring Operation: 49-7=42, Resulting Numbers: [17, 42] Generated Node #0,3,3: 16:[17, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [17, 7] Generated Node #0,3,4: 16:[17, 7] Operation: 49/7=7 Moving to Node #0,3,4 Current State: 16:[17, 7], Operations: ['43-26=17', '49/7=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,16 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[7, 32], Operations: ['43-26=17', '49-17=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,16 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[17, 42], Operations: ['43-26=17', '49-7=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,16 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[49, 10], Operations: ['43-26=17', '17-7=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,16 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[17, 56], Operations: ['43-26=17', '7+49=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,16 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[7, 43, 23], Operations: ['49-26=23'] Exploring Operation: 23-7=16, Resulting Numbers: [43, 16] Generated Node #0,4,0: 16:[43, 16] Operation: 23-7=16 Exploring Operation: 7+23=30, Resulting Numbers: [43, 30] Generated Node #0,4,1: 16:[43, 30] Operation: 7+23=30 Exploring Operation: 43-23=20, Resulting Numbers: [7, 20] Generated Node #0,4,2: 16:[7, 20] Operation: 43-23=20 Exploring Operation: 7+43=50, Resulting Numbers: [23, 50] Generated Node #0,4,3: 16:[23, 50] Operation: 7+43=50 Exploring Operation: 43-7=36, Resulting Numbers: [23, 36] Generated Node #0,4,4: 16:[23, 36] Operation: 43-7=36 Moving to Node #0,4,2 Current State: 16:[7, 20], Operations: ['49-26=23', '43-23=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,16 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[23, 36], Operations: ['49-26=23', '43-7=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[43, 16], Operations: ['49-26=23', '23-7=16'] Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[43, 30], Operations: ['49-26=23', '7+23=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,16 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[23, 50], Operations: ['49-26=23', '7+43=50'] Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,16 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[43, 26, 7], Operations: ['49/7=7'] Exploring Operation: 43-26=17, Resulting Numbers: [7, 17] Generated Node #0,1,0: 16:[7, 17] Operation: 43-26=17 Exploring Operation: 43+7=50, Resulting Numbers: [26, 50] Generated Node #0,1,1: 16:[26, 50] Operation: 43+7=50 Exploring Operation: 26+7=33, Resulting Numbers: [43, 33] Generated Node #0,1,2: 16:[43, 33] Operation: 26+7=33 Exploring Operation: 43-7=36, Resulting Numbers: [26, 36] Generated Node #0,1,3: 16:[26, 36] Operation: 43-7=36 Exploring Operation: 26-7=19, Resulting Numbers: [43, 19] Generated Node #0,1,4: 16:[43, 19] Operation: 26-7=19 Moving to Node #0,1,0 Current State: 16:[7, 17], Operations: ['49/7=7', '43-26=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[43, 19], Operations: ['49/7=7', '26-7=19'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,16 unequal: No Solution Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[26, 36], Operations: ['49/7=7', '43-7=36'] Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,16 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[26, 50], Operations: ['49/7=7', '43+7=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[43, 33], Operations: ['49/7=7', '26+7=33'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[43, 26, 42], Operations: ['49-7=42'] Exploring Operation: 43+26=69, Resulting Numbers: [42, 69] Generated Node #0,0,0: 16:[42, 69] Operation: 43+26=69 Exploring Operation: 42-26=16, Resulting Numbers: [43, 16] Generated Node #0,0,1: 16:[43, 16] Operation: 42-26=16 Exploring Operation: 43+42=85, Resulting Numbers: [26, 85] Generated Node #0,0,2: 16:[26, 85] Operation: 43+42=85 Exploring Operation: 43-42=1, Resulting Numbers: [26, 1] Generated Node #0,0,3: 16:[26, 1] Operation: 43-42=1 Exploring Operation: 43-26=17, Resulting Numbers: [42, 17] Generated Node #0,0,4: 16:[42, 17] Operation: 43-26=17 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[26, 1], Operations: ['49-7=42', '43-42=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,16 unequal: No Solution No 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: 16:[43, 16], Operations: ['49-7=42', '42-26=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,16 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,16 unequal: No Solution No 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: 16:[42, 17], Operations: ['49-7=42', '43-26=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,16 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,16 unequal: No Solution No 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: 16:[42, 69], Operations: ['49-7=42', '43+26=69'] Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,16 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,16 unequal: No Solution No 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: 16:[26, 85], Operations: ['49-7=42', '43+42=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,16 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 85, 16, 43, 9 ]
72
[ "85+43=128", "128/16=8", "9*8=72" ]
Current State: 72:[85, 16, 43, 9], Operations: [] Exploring Operation: 85+43=128, Resulting Numbers: [16, 9, 128] Generated Node #2: [16, 9, 128] from Operation: 85+43=128 Current State: 72:[16, 9, 128], Operations: ['85+43=128'] Exploring Operation: 128/16=8, Resulting Numbers: [9, 8] Generated Node #3: [9, 8] from Operation: 128/16=8 Current State: 72:[9, 8], Operations: ['85+43=128', '128/16=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[85, 16, 43, 9], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [85, 9, 27] Generated Node #0,0: 72:[85, 9, 27] Operation: 43-16=27 Exploring Operation: 85-16=69, Resulting Numbers: [43, 9, 69] Generated Node #0,1: 72:[43, 9, 69] Operation: 85-16=69 Exploring Operation: 85-9=76, Resulting Numbers: [16, 43, 76] Generated Node #0,2: 72:[16, 43, 76] Operation: 85-9=76 Exploring Operation: 85-43=42, Resulting Numbers: [16, 9, 42] Generated Node #0,3: 72:[16, 9, 42] Operation: 85-43=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[16, 9, 42], Operations: ['85-43=42'] Exploring Operation: 42-16=26, Resulting Numbers: [9, 26] Generated Node #0,3,0: 72:[9, 26] Operation: 42-16=26 Exploring Operation: 16-9=7, Resulting Numbers: [42, 7] Generated Node #0,3,1: 72:[42, 7] Operation: 16-9=7 Exploring Operation: 16+9=25, Resulting Numbers: [42, 25] Generated Node #0,3,2: 72:[42, 25] Operation: 16+9=25 Exploring Operation: 42-9=33, Resulting Numbers: [16, 33] Generated Node #0,3,3: 72:[16, 33] Operation: 42-9=33 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 72:[9, 26], Operations: ['85-43=42', '42-16=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,72 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 72:[16, 33], Operations: ['85-43=42', '42-9=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,72 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 72:[42, 7], Operations: ['85-43=42', '16-9=7'] Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,72 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 72:[42, 25], Operations: ['85-43=42', '16+9=25'] Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[43, 9, 69], Operations: ['85-16=69'] Exploring Operation: 43+9=52, Resulting Numbers: [69, 52] Generated Node #0,1,0: 72:[69, 52] Operation: 43+9=52 Exploring Operation: 9+69=78, Resulting Numbers: [43, 78] Generated Node #0,1,1: 72:[43, 78] Operation: 9+69=78 Exploring Operation: 43-9=34, Resulting Numbers: [69, 34] Generated Node #0,1,2: 72:[69, 34] Operation: 43-9=34 Exploring Operation: 69-43=26, Resulting Numbers: [9, 26] Generated Node #0,1,3: 72:[9, 26] Operation: 69-43=26 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 72:[9, 26], Operations: ['85-16=69', '69-43=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[69, 34], Operations: ['85-16=69', '43-9=34'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,72 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[43, 78], Operations: ['85-16=69', '9+69=78'] Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,72 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[69, 52], Operations: ['85-16=69', '43+9=52'] Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,72 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[16, 43, 76], Operations: ['85-9=76'] Exploring Operation: 16+43=59, Resulting Numbers: [76, 59] Generated Node #0,2,0: 72:[76, 59] Operation: 16+43=59 Exploring Operation: 43-16=27, Resulting Numbers: [76, 27] Generated Node #0,2,1: 72:[76, 27] Operation: 43-16=27 Exploring Operation: 76-16=60, Resulting Numbers: [43, 60] Generated Node #0,2,2: 72:[43, 60] Operation: 76-16=60 Exploring Operation: 76-43=33, Resulting Numbers: [16, 33] Generated Node #0,2,3: 72:[16, 33] Operation: 76-43=33 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 72:[16, 33], Operations: ['85-9=76', '76-43=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[76, 27], Operations: ['85-9=76', '43-16=27'] Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,72 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[76, 59], Operations: ['85-9=76', '16+43=59'] Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,72 unequal: No Solution Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,72 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[43, 60], Operations: ['85-9=76', '76-16=60'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 43+60=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 43*60=2580, Resulting Numbers: [2580] 2580,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[85, 9, 27], Operations: ['43-16=27'] Exploring Operation: 85-9=76, Resulting Numbers: [27, 76] Generated Node #0,0,0: 72:[27, 76] Operation: 85-9=76 Exploring Operation: 27-9=18, Resulting Numbers: [85, 18] Generated Node #0,0,1: 72:[85, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [85, 3] Generated Node #0,0,2: 72:[85, 3] Operation: 27/9=3 Exploring Operation: 9+27=36, Resulting Numbers: [85, 36] Generated Node #0,0,3: 72:[85, 36] Operation: 9+27=36 Moving to Node #0,0,0 Current State: 72:[27, 76], Operations: ['43-16=27', '85-9=76'] Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,72 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[85, 3], Operations: ['43-16=27', '27/9=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,72 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[85, 18], Operations: ['43-16=27', '27-9=18'] Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,72 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[85, 36], Operations: ['43-16=27', '9+27=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,72 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
[ 56, 77, 62, 23 ]
48
[ "56+77=133", "62+23=85", "133-85=48" ]
Current State: 48:[56, 77, 62, 23], Operations: [] Exploring Operation: 56+77=133, Resulting Numbers: [62, 23, 133] Generated Node #2: [62, 23, 133] from Operation: 56+77=133 Current State: 48:[62, 23, 133], Operations: ['56+77=133'] Exploring Operation: 62+23=85, Resulting Numbers: [133, 85] Generated Node #3: [133, 85] from Operation: 62+23=85 Current State: 48:[133, 85], Operations: ['56+77=133', '62+23=85'] Exploring Operation: 133-85=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[56, 77, 62, 23], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [77, 23, 6] Generated Node #0,0: 48:[77, 23, 6] Operation: 62-56=6 Exploring Operation: 77-23=54, Resulting Numbers: [56, 62, 54] Generated Node #0,1: 48:[56, 62, 54] Operation: 77-23=54 Exploring Operation: 77-56=21, Resulting Numbers: [62, 23, 21] Generated Node #0,2: 48:[62, 23, 21] Operation: 77-56=21 Exploring Operation: 77-62=15, Resulting Numbers: [56, 23, 15] Generated Node #0,3: 48:[56, 23, 15] Operation: 77-62=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[56, 23, 15], Operations: ['77-62=15'] Exploring Operation: 23+15=38, Resulting Numbers: [56, 38] Generated Node #0,3,0: 48:[56, 38] Operation: 23+15=38 Exploring Operation: 56-23=33, Resulting Numbers: [15, 33] Generated Node #0,3,1: 48:[15, 33] Operation: 56-23=33 Exploring Operation: 56-15=41, Resulting Numbers: [23, 41] Generated Node #0,3,2: 48:[23, 41] Operation: 56-15=41 Exploring Operation: 23-15=8, Resulting Numbers: [56, 8] Generated Node #0,3,3: 48:[56, 8] Operation: 23-15=8 Moving to Node #0,3,2 Current State: 48:[23, 41], Operations: ['77-62=15', '56-15=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,48 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[56, 8], Operations: ['77-62=15', '23-15=8'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,48 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[56, 77, 62, 23], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [56, 23, 15] Generated Node #0,3: 48:[56, 23, 15] Operation: 77-62=15 Moving to Node #0,3 Current State: 48:[56, 23, 15], Operations: ['77-62=15'] Exploring Operation: 23-15=8, Resulting Numbers: [56, 8] Generated Node #0,3,3: 48:[56, 8] Operation: 23-15=8 Moving to Node #0,3,3 Current State: 48:[56, 8], Operations: ['77-62=15', '23-15=8'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 3, 10, 23, 3 ]
67
[ "3*10=30", "3*30=90", "90-23=67" ]
Current State: 67:[3, 10, 23, 3], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [23, 30] Generated Node #2: [23, 30] from Operation: 3*10=30 Current State: 67:[23, 30], Operations: ['3*10=30'] Exploring Operation: 3*30=90, Resulting Numbers: [23, 90] Generated Node #3: [23, 90] from Operation: 3*30=90 Current State: 67:[23, 90], Operations: ['3*10=30', '3*30=90'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[3, 10, 23, 3], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [10, 3, 69] Generated Node #0,0: 67:[10, 3, 69] Operation: 3*23=69 Moving to Node #0,0 Current State: 67:[10, 3, 69], Operations: ['3*23=69'] Exploring Operation: 10*3=30, Resulting Numbers: [69, 30] Generated Node #0,0,0: 67:[69, 30] Operation: 10*3=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[69, 30], Operations: ['3*23=69', '10*3=30'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,67 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
[ 28, 13, 45, 61 ]
17
[ "13*61=793", "793-28=765", "765/45=17" ]
Current State: 17:[28, 13, 45, 61], Operations: [] Exploring Operation: 13*61=793, Resulting Numbers: [28, 45, 793] Generated Node #2: [28, 45, 793] from Operation: 13*61=793 Current State: 17:[28, 45, 793], Operations: ['13*61=793'] Exploring Operation: 793-28=765, Resulting Numbers: [45, 765] Generated Node #3: [45, 765] from Operation: 793-28=765 Current State: 17:[45, 765], Operations: ['13*61=793', '793-28=765'] Exploring Operation: 765/45=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[28, 13, 45, 61], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [28, 13, 16] Generated Node #0,0: 17:[28, 13, 16] Operation: 61-45=16 Exploring Operation: 45-28=17, Resulting Numbers: [13, 61, 17] Generated Node #0,1: 17:[13, 61, 17] Operation: 45-28=17 Moving to Node #0,0 Current State: 17:[28, 13, 16], Operations: ['61-45=16'] Exploring Operation: 28-13=15, Resulting Numbers: [16, 15] Generated Node #0,0,0: 17:[16, 15] Operation: 28-13=15 Exploring Operation: 28-16=12, Resulting Numbers: [13, 12] Generated Node #0,0,1: 17:[13, 12] Operation: 28-16=12 Moving to Node #0,1 Current State: 17:[13, 61, 17], Operations: ['45-28=17'] Exploring Operation: 61-13=48, Resulting Numbers: [17, 48] Generated Node #0,1,0: 17:[17, 48] Operation: 61-13=48 Exploring Operation: 61-17=44, Resulting Numbers: [13, 44] Generated Node #0,1,1: 17:[13, 44] Operation: 61-17=44 Moving to Node #0,0,0 Current State: 17:[16, 15], Operations: ['61-45=16', '28-13=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[13, 12], Operations: ['61-45=16', '28-16=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[13, 44], Operations: ['45-28=17', '61-17=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[17, 48], Operations: ['45-28=17', '61-13=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,17 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 97, 64, 57 ]
28
[ "97-93=4", "64-57=7", "4*7=28" ]
Current State: 28:[93, 97, 64, 57], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [64, 57, 4] Generated Node #2: [64, 57, 4] from Operation: 97-93=4 Current State: 28:[64, 57, 4], Operations: ['97-93=4'] Exploring Operation: 64-57=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 64-57=7 Current State: 28:[4, 7], Operations: ['97-93=4', '64-57=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[93, 97, 64, 57], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [97, 57, 29] Generated Node #0,0: 28:[97, 57, 29] Operation: 93-64=29 Exploring Operation: 97-93=4, Resulting Numbers: [64, 57, 4] Generated Node #0,1: 28:[64, 57, 4] Operation: 97-93=4 Exploring Operation: 93-57=36, Resulting Numbers: [97, 64, 36] Generated Node #0,2: 28:[97, 64, 36] Operation: 93-57=36 Exploring Operation: 97-64=33, Resulting Numbers: [93, 57, 33] Generated Node #0,3: 28:[93, 57, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[64, 57, 4], Operations: ['97-93=4'] Exploring Operation: 57-4=53, Resulting Numbers: [64, 53] Generated Node #0,1,0: 28:[64, 53] Operation: 57-4=53 Exploring Operation: 64/4=16, Resulting Numbers: [57, 16] Generated Node #0,1,1: 28:[57, 16] Operation: 64/4=16 Exploring Operation: 64-4=60, Resulting Numbers: [57, 60] Generated Node #0,1,2: 28:[57, 60] Operation: 64-4=60 Exploring Operation: 64-57=7, Resulting Numbers: [4, 7] Generated Node #0,1,3: 28:[4, 7] Operation: 64-57=7 Moving to Node #0,1,3 Current State: 28:[4, 7], Operations: ['97-93=4', '64-57=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[93, 97, 64, 57], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [64, 57, 4] Generated Node #0,1: 28:[64, 57, 4] Operation: 97-93=4 Moving to Node #0,1 Current State: 28:[64, 57, 4], Operations: ['97-93=4'] Exploring Operation: 64-57=7, Resulting Numbers: [4, 7] Generated Node #0,1,3: 28:[4, 7] Operation: 64-57=7 Moving to Node #0,1,3 Current State: 28:[4, 7], Operations: ['97-93=4', '64-57=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 70, 24, 37, 14 ]
23
[ "70-24=46", "37-14=23", "46-23=23" ]
Current State: 23:[70, 24, 37, 14], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [37, 14, 46] Generated Node #2: [37, 14, 46] from Operation: 70-24=46 Current State: 23:[37, 14, 46], Operations: ['70-24=46'] Exploring Operation: 37-14=23, Resulting Numbers: [46, 23] Generated Node #3: [46, 23] from Operation: 37-14=23 Current State: 23:[46, 23], Operations: ['70-24=46', '37-14=23'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[70, 24, 37, 14], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [24, 37, 5] Generated Node #0,0: 23:[24, 37, 5] Operation: 70/14=5 Exploring Operation: 37-14=23, Resulting Numbers: [70, 24, 23] Generated Node #0,1: 23:[70, 24, 23] Operation: 37-14=23 Exploring Operation: 70-24=46, Resulting Numbers: [37, 14, 46] Generated Node #0,2: 23:[37, 14, 46] Operation: 70-24=46 Exploring Operation: 70-37=33, Resulting Numbers: [24, 14, 33] Generated Node #0,3: 23:[24, 14, 33] Operation: 70-37=33 Exploring Operation: 70-14=56, Resulting Numbers: [24, 37, 56] Generated Node #0,4: 23:[24, 37, 56] Operation: 70-14=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[24, 14, 33], Operations: ['70-37=33'] Exploring Operation: 24+14=38, Resulting Numbers: [33, 38] Generated Node #0,3,0: 23:[33, 38] Operation: 24+14=38 Exploring Operation: 33-24=9, Resulting Numbers: [14, 9] Generated Node #0,3,1: 23:[14, 9] Operation: 33-24=9 Exploring Operation: 14+33=47, Resulting Numbers: [24, 47] Generated Node #0,3,2: 23:[24, 47] Operation: 14+33=47 Exploring Operation: 24-14=10, Resulting Numbers: [33, 10] Generated Node #0,3,3: 23:[33, 10] Operation: 24-14=10 Exploring Operation: 33-14=19, Resulting Numbers: [24, 19] Generated Node #0,3,4: 23:[24, 19] Operation: 33-14=19 Moving to Node #0,3,4 Current State: 23:[24, 19], Operations: ['70-37=33', '33-14=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,23 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[33, 10], Operations: ['70-37=33', '24-14=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[70, 24, 37, 14], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [24, 14, 33] Generated Node #0,3: 23:[24, 14, 33] Operation: 70-37=33 Moving to Node #0,3 Current State: 23:[24, 14, 33], Operations: ['70-37=33'] Exploring Operation: 24-14=10, Resulting Numbers: [33, 10] Generated Node #0,3,3: 23:[33, 10] Operation: 24-14=10 Moving to Node #0,3,3 Current State: 23:[33, 10], Operations: ['70-37=33', '24-14=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 76, 32, 63, 86 ]
85
[ "76+32=108", "86-63=23", "108-23=85" ]
Current State: 85:[76, 32, 63, 86], Operations: [] Exploring Operation: 76+32=108, Resulting Numbers: [63, 86, 108] Generated Node #2: [63, 86, 108] from Operation: 76+32=108 Current State: 85:[63, 86, 108], Operations: ['76+32=108'] Exploring Operation: 86-63=23, Resulting Numbers: [108, 23] Generated Node #3: [108, 23] from Operation: 86-63=23 Current State: 85:[108, 23], Operations: ['76+32=108', '86-63=23'] Exploring Operation: 108-23=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[76, 32, 63, 86], Operations: [] Exploring Operation: 76-63=13, Resulting Numbers: [32, 86, 13] Generated Node #0,0: 85:[32, 86, 13] Operation: 76-63=13 Moving to Node #0,0 Current State: 85:[32, 86, 13], Operations: ['76-63=13'] Exploring Operation: 32-13=19, Resulting Numbers: [86, 19] Generated Node #0,0,0: 85:[86, 19] Operation: 32-13=19 Moving to Node #0,0,0 Current State: 85:[86, 19], Operations: ['76-63=13', '32-13=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,85 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 95, 14, 97, 92 ]
76
[ "95-14=81", "97-92=5", "81-5=76" ]
Current State: 76:[95, 14, 97, 92], Operations: [] Exploring Operation: 95-14=81, Resulting Numbers: [97, 92, 81] Generated Node #2: [97, 92, 81] from Operation: 95-14=81 Current State: 76:[97, 92, 81], Operations: ['95-14=81'] Exploring Operation: 97-92=5, Resulting Numbers: [81, 5] Generated Node #3: [81, 5] from Operation: 97-92=5 Current State: 76:[81, 5], Operations: ['95-14=81', '97-92=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[95, 14, 97, 92], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [14, 92, 2] Generated Node #0,0: 76:[14, 92, 2] Operation: 97-95=2 Exploring Operation: 97-92=5, Resulting Numbers: [95, 14, 5] Generated Node #0,1: 76:[95, 14, 5] Operation: 97-92=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[14, 92, 2], Operations: ['97-95=2'] Exploring Operation: 92/2=46, Resulting Numbers: [14, 46] Generated Node #0,0,0: 76:[14, 46] Operation: 92/2=46 Exploring Operation: 92-14=78, Resulting Numbers: [2, 78] Generated Node #0,0,1: 76:[2, 78] Operation: 92-14=78 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[2, 78], Operations: ['97-95=2', '92-14=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[95, 14, 97, 92], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [14, 92, 2] Generated Node #0,0: 76:[14, 92, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 76:[14, 92, 2], Operations: ['97-95=2'] Exploring Operation: 92-14=78, Resulting Numbers: [2, 78] Generated Node #0,0,1: 76:[2, 78] Operation: 92-14=78 Moving to Node #0,0,1 Current State: 76:[2, 78], Operations: ['97-95=2', '92-14=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 60, 9, 68, 93 ]
21
[ "68-60=8", "9*8=72", "93-72=21" ]
Current State: 21:[60, 9, 68, 93], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [9, 93, 8] Generated Node #2: [9, 93, 8] from Operation: 68-60=8 Current State: 21:[9, 93, 8], Operations: ['68-60=8'] Exploring Operation: 9*8=72, Resulting Numbers: [93, 72] Generated Node #3: [93, 72] from Operation: 9*8=72 Current State: 21:[93, 72], Operations: ['68-60=8', '9*8=72'] Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[60, 9, 68, 93], Operations: [] Exploring Operation: 60-9=51, Resulting Numbers: [68, 93, 51] Generated Node #0,0: 21:[68, 93, 51] Operation: 60-9=51 Exploring Operation: 93-60=33, Resulting Numbers: [9, 68, 33] Generated Node #0,1: 21:[9, 68, 33] Operation: 93-60=33 Exploring Operation: 68-60=8, Resulting Numbers: [9, 93, 8] Generated Node #0,2: 21:[9, 93, 8] Operation: 68-60=8 Exploring Operation: 93-68=25, Resulting Numbers: [60, 9, 25] Generated Node #0,3: 21:[60, 9, 25] Operation: 93-68=25 Exploring Operation: 68-9=59, Resulting Numbers: [60, 93, 59] Generated Node #0,4: 21:[60, 93, 59] Operation: 68-9=59 Moving to Node #0,3 Current State: 21:[60, 9, 25], Operations: ['93-68=25'] Exploring Operation: 9+25=34, Resulting Numbers: [60, 34] Generated Node #0,3,0: 21:[60, 34] Operation: 9+25=34 Exploring Operation: 60-9=51, Resulting Numbers: [25, 51] Generated Node #0,3,1: 21:[25, 51] Operation: 60-9=51 Exploring Operation: 60-25=35, Resulting Numbers: [9, 35] Generated Node #0,3,2: 21:[9, 35] Operation: 60-25=35 Exploring Operation: 25-9=16, Resulting Numbers: [60, 16] Generated Node #0,3,3: 21:[60, 16] Operation: 25-9=16 Exploring Operation: 60+9=69, Resulting Numbers: [25, 69] Generated Node #0,3,4: 21:[25, 69] Operation: 60+9=69 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[9, 35], Operations: ['93-68=25', '60-25=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,21 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,21 unequal: No Solution No 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: 21:[25, 51], Operations: ['93-68=25', '60-9=51'] Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,21 unequal: No Solution No 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: 21:[60, 16], Operations: ['93-68=25', '25-9=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,21 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,21 unequal: No Solution No 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: 21:[60, 34], Operations: ['93-68=25', '9+25=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,21 unequal: No Solution No 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: 21:[25, 69], Operations: ['93-68=25', '60+9=69'] Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,21 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: 21:[9, 68, 33], Operations: ['93-60=33'] Exploring Operation: 68-9=59, Resulting Numbers: [33, 59] Generated Node #0,1,0: 21:[33, 59] Operation: 68-9=59 Exploring Operation: 9+68=77, Resulting Numbers: [33, 77] Generated Node #0,1,1: 21:[33, 77] Operation: 9+68=77 Exploring Operation: 9+33=42, Resulting Numbers: [68, 42] Generated Node #0,1,2: 21:[68, 42] Operation: 9+33=42 Exploring Operation: 68-33=35, Resulting Numbers: [9, 35] Generated Node #0,1,3: 21:[9, 35] Operation: 68-33=35 Exploring Operation: 33-9=24, Resulting Numbers: [68, 24] Generated Node #0,1,4: 21:[68, 24] Operation: 33-9=24 Moving to Node #0,2 Current State: 21:[9, 93, 8], Operations: ['68-60=8'] Exploring Operation: 9+8=17, Resulting Numbers: [93, 17] Generated Node #0,2,0: 21:[93, 17] Operation: 9+8=17 Exploring Operation: 93-9=84, Resulting Numbers: [8, 84] Generated Node #0,2,1: 21:[8, 84] Operation: 93-9=84 Exploring Operation: 9-8=1, Resulting Numbers: [93, 1] Generated Node #0,2,2: 21:[93, 1] Operation: 9-8=1 Exploring Operation: 9+93=102, Resulting Numbers: [8, 102] Generated Node #0,2,3: 21:[8, 102] Operation: 9+93=102 Exploring Operation: 93-8=85, Resulting Numbers: [9, 85] Generated Node #0,2,4: 21:[9, 85] Operation: 93-8=85 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[8, 84], Operations: ['68-60=8', '93-9=84'] Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,21 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,21 unequal: No Solution No 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: 21:[9, 85], Operations: ['68-60=8', '93-8=85'] Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,21 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,21 unequal: No Solution No 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: 21:[93, 1], Operations: ['68-60=8', '9-8=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,21 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,21 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,21 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,21 unequal: No Solution No 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: 21:[93, 17], Operations: ['68-60=8', '9+8=17'] Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,21 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,21 unequal: No Solution No 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: 21:[8, 102], Operations: ['68-60=8', '9+93=102'] Exploring Operation: 102-8=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 8*102=816, Resulting Numbers: [816] 816,21 unequal: No Solution Exploring Operation: 8+102=110, Resulting Numbers: [110] 110,21 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: 21:[68, 93, 51], Operations: ['60-9=51'] Exploring Operation: 93-68=25, Resulting Numbers: [51, 25] Generated Node #0,0,0: 21:[51, 25] Operation: 93-68=25 Exploring Operation: 68-51=17, Resulting Numbers: [93, 17] Generated Node #0,0,1: 21:[93, 17] Operation: 68-51=17 Exploring Operation: 68+51=119, Resulting Numbers: [93, 119] Generated Node #0,0,2: 21:[93, 119] Operation: 68+51=119 Exploring Operation: 68+93=161, Resulting Numbers: [51, 161] Generated Node #0,0,3: 21:[51, 161] Operation: 68+93=161 Exploring Operation: 93-51=42, Resulting Numbers: [68, 42] Generated Node #0,0,4: 21:[68, 42] Operation: 93-51=42 Moving to Node #0,4 Current State: 21:[60, 93, 59], Operations: ['68-9=59'] Exploring Operation: 93-60=33, Resulting Numbers: [59, 33] Generated Node #0,4,0: 21:[59, 33] Operation: 93-60=33 Exploring Operation: 60+59=119, Resulting Numbers: [93, 119] Generated Node #0,4,1: 21:[93, 119] Operation: 60+59=119 Exploring Operation: 93-59=34, Resulting Numbers: [60, 34] Generated Node #0,4,2: 21:[60, 34] Operation: 93-59=34 Exploring Operation: 60+93=153, Resulting Numbers: [59, 153] Generated Node #0,4,3: 21:[59, 153] Operation: 60+93=153 Exploring Operation: 60-59=1, Resulting Numbers: [93, 1] Generated Node #0,4,4: 21:[93, 1] Operation: 60-59=1 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 21:[59, 33], Operations: ['68-9=59', '93-60=33'] Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,21 unequal: No Solution Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,21 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,21 unequal: No Solution No 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: 21:[60, 34], Operations: ['68-9=59', '93-59=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,21 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,21 unequal: No Solution No 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: 21:[93, 1], Operations: ['68-9=59', '60-59=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,21 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,21 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,21 unequal: No Solution No 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: 21:[93, 119], Operations: ['68-9=59', '60+59=119'] Exploring Operation: 93+119=212, Resulting Numbers: [212] 212,21 unequal: No Solution Exploring Operation: 119-93=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 93*119=11067, Resulting Numbers: [11067] 11067,21 unequal: No Solution No 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: 21:[59, 153], Operations: ['68-9=59', '60+93=153'] Exploring Operation: 59*153=9027, Resulting Numbers: [9027] 9027,21 unequal: No Solution Exploring Operation: 153-59=94, Resulting Numbers: [94] 94,21 unequal: No Solution Exploring Operation: 59+153=212, Resulting Numbers: [212] 212,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 21:[9, 35], Operations: ['93-60=33', '68-33=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,21 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[51, 25], Operations: ['60-9=51', '93-68=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[68, 24], Operations: ['93-60=33', '33-9=24'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,21 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[33, 59], Operations: ['93-60=33', '68-9=59'] Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,21 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,21 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,21 unequal: No Solution Moving to Node #0,0,4 Current State: 21:[68, 42], Operations: ['60-9=51', '93-51=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,21 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[68, 42], Operations: ['93-60=33', '9+33=42'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,21 unequal: No Solution Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[33, 77], Operations: ['93-60=33', '9+68=77'] Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 33+77=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 33*77=2541, Resulting Numbers: [2541] 2541,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[93, 17], Operations: ['60-9=51', '68-51=17'] Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,21 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[93, 119], Operations: ['60-9=51', '68+51=119'] Exploring Operation: 119-93=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 93+119=212, Resulting Numbers: [212] 212,21 unequal: No Solution Exploring Operation: 93*119=11067, Resulting Numbers: [11067] 11067,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[51, 161], Operations: ['60-9=51', '68+93=161'] Exploring Operation: 51*161=8211, Resulting Numbers: [8211] 8211,21 unequal: No Solution Exploring Operation: 161-51=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 51+161=212, Resulting Numbers: [212] 212,21 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 44, 20, 13 ]
41
[ "59-20=39", "39/13=3", "44-3=41" ]
Current State: 41:[59, 44, 20, 13], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [44, 13, 39] Generated Node #2: [44, 13, 39] from Operation: 59-20=39 Current State: 41:[44, 13, 39], Operations: ['59-20=39'] Exploring Operation: 39/13=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 39/13=3 Current State: 41:[44, 3], Operations: ['59-20=39', '39/13=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[59, 44, 20, 13], Operations: [] Exploring Operation: 20+13=33, Resulting Numbers: [59, 44, 33] Generated Node #0,0: 41:[59, 44, 33] Operation: 20+13=33 Exploring Operation: 59-13=46, Resulting Numbers: [44, 20, 46] Generated Node #0,1: 41:[44, 20, 46] Operation: 59-13=46 Exploring Operation: 59-20=39, Resulting Numbers: [44, 13, 39] Generated Node #0,2: 41:[44, 13, 39] Operation: 59-20=39 Moving to Node #0,0 Current State: 41:[59, 44, 33], Operations: ['20+13=33'] Exploring Operation: 59-44=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 41:[33, 15] Operation: 59-44=15 Exploring Operation: 44-33=11, Resulting Numbers: [59, 11] Generated Node #0,0,1: 41:[59, 11] Operation: 44-33=11 Exploring Operation: 59-33=26, Resulting Numbers: [44, 26] Generated Node #0,0,2: 41:[44, 26] Operation: 59-33=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[44, 26], Operations: ['20+13=33', '59-33=26'] Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[33, 15], Operations: ['20+13=33', '59-44=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[59, 11], Operations: ['20+13=33', '44-33=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,41 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,41 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: 41:[44, 20, 46], Operations: ['59-13=46'] Exploring Operation: 46-20=26, Resulting Numbers: [44, 26] Generated Node #0,1,0: 41:[44, 26] Operation: 46-20=26 Exploring Operation: 44+20=64, Resulting Numbers: [46, 64] Generated Node #0,1,1: 41:[46, 64] Operation: 44+20=64 Exploring Operation: 44-20=24, Resulting Numbers: [46, 24] Generated Node #0,1,2: 41:[46, 24] Operation: 44-20=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[44, 26], Operations: ['59-13=46', '46-20=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[46, 24], Operations: ['59-13=46', '44-20=24'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,41 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[46, 64], Operations: ['59-13=46', '44+20=64'] Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,41 unequal: No Solution Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,41 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: 41:[44, 13, 39], Operations: ['59-20=39'] Exploring Operation: 44-13=31, Resulting Numbers: [39, 31] Generated Node #0,2,0: 41:[39, 31] Operation: 44-13=31 Exploring Operation: 13+39=52, Resulting Numbers: [44, 52] Generated Node #0,2,1: 41:[44, 52] Operation: 13+39=52 Exploring Operation: 44+13=57, Resulting Numbers: [39, 57] Generated Node #0,2,2: 41:[39, 57] Operation: 44+13=57 Moving to Node #0,2,0 Current State: 41:[39, 31], Operations: ['59-20=39', '44-13=31'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[44, 52], Operations: ['59-20=39', '13+39=52'] Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[39, 57], Operations: ['59-20=39', '44+13=57'] Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,41 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 38, 34, 28, 53 ]
46
[ "38-34=4", "28/4=7", "53-7=46" ]
Current State: 46:[38, 34, 28, 53], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [28, 53, 4] Generated Node #2: [28, 53, 4] from Operation: 38-34=4 Current State: 46:[28, 53, 4], Operations: ['38-34=4'] Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #3: [53, 7] from Operation: 28/4=7 Current State: 46:[53, 7], Operations: ['38-34=4', '28/4=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[38, 34, 28, 53], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [38, 34, 25] Generated Node #0,0: 46:[38, 34, 25] Operation: 53-28=25 Exploring Operation: 53-38=15, Resulting Numbers: [34, 28, 15] Generated Node #0,1: 46:[34, 28, 15] Operation: 53-38=15 Exploring Operation: 34-28=6, Resulting Numbers: [38, 53, 6] Generated Node #0,2: 46:[38, 53, 6] Operation: 34-28=6 Exploring Operation: 53-34=19, Resulting Numbers: [38, 28, 19] Generated Node #0,3: 46:[38, 28, 19] Operation: 53-34=19 Exploring Operation: 38-34=4, Resulting Numbers: [28, 53, 4] Generated Node #0,4: 46:[28, 53, 4] Operation: 38-34=4 Moving to Node #0,4 Current State: 46:[28, 53, 4], Operations: ['38-34=4'] Exploring Operation: 53-4=49, Resulting Numbers: [28, 49] Generated Node #0,4,0: 46:[28, 49] Operation: 53-4=49 Exploring Operation: 28-4=24, Resulting Numbers: [53, 24] Generated Node #0,4,1: 46:[53, 24] Operation: 28-4=24 Exploring Operation: 53-28=25, Resulting Numbers: [4, 25] Generated Node #0,4,2: 46:[4, 25] Operation: 53-28=25 Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #0,4,3: 46:[53, 7] Operation: 28/4=7 Exploring Operation: 28+4=32, Resulting Numbers: [53, 32] Generated Node #0,4,4: 46:[53, 32] Operation: 28+4=32 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[4, 25], Operations: ['38-34=4', '53-28=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,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,4,0 Current State: 46:[28, 49], Operations: ['38-34=4', '53-4=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,46 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,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,4,1 Current State: 46:[53, 24], Operations: ['38-34=4', '28-4=24'] Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,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,4,3 Current State: 46:[53, 7], Operations: ['38-34=4', '28/4=7'] Exploring Operation: 53*7=371, Resulting Numbers: [371] 371,46 unequal: No Solution Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[38, 34, 28, 53], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [28, 53, 4] Generated Node #0,4: 46:[28, 53, 4] Operation: 38-34=4 Moving to Node #0,4 Current State: 46:[28, 53, 4], Operations: ['38-34=4'] Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #0,4,3: 46:[53, 7] Operation: 28/4=7 Moving to Node #0,4,3 Current State: 46:[53, 7], Operations: ['38-34=4', '28/4=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 77, 27, 51, 63 ]
63
[ "77-27=50", "51-50=1", "63*1=63" ]
Current State: 63:[77, 27, 51, 63], Operations: [] Exploring Operation: 77-27=50, Resulting Numbers: [51, 63, 50] Generated Node #2: [51, 63, 50] from Operation: 77-27=50 Current State: 63:[51, 63, 50], Operations: ['77-27=50'] Exploring Operation: 51-50=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 51-50=1 Current State: 63:[63, 1], Operations: ['77-27=50', '51-50=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[77, 27, 51, 63], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [27, 63, 26] Generated Node #0,0: 63:[27, 63, 26] Operation: 77-51=26 Exploring Operation: 77-63=14, Resulting Numbers: [27, 51, 14] Generated Node #0,1: 63:[27, 51, 14] Operation: 77-63=14 Exploring Operation: 51-27=24, Resulting Numbers: [77, 63, 24] Generated Node #0,2: 63:[77, 63, 24] Operation: 51-27=24 Moving to Node #0,0 Current State: 63:[27, 63, 26], Operations: ['77-51=26'] Exploring Operation: 27+26=53, Resulting Numbers: [63, 53] Generated Node #0,0,0: 63:[63, 53] Operation: 27+26=53 Exploring Operation: 63-27=36, Resulting Numbers: [26, 36] Generated Node #0,0,1: 63:[26, 36] Operation: 63-27=36 Exploring Operation: 27-26=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 63:[63, 1] Operation: 27-26=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[63, 1], Operations: ['77-51=26', '27-26=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[77, 27, 51, 63], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [27, 63, 26] Generated Node #0,0: 63:[27, 63, 26] Operation: 77-51=26 Moving to Node #0,0 Current State: 63:[27, 63, 26], Operations: ['77-51=26'] Exploring Operation: 27-26=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 63:[63, 1] Operation: 27-26=1 Moving to Node #0,0,2 Current State: 63:[63, 1], Operations: ['77-51=26', '27-26=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 84, 86, 76, 41 ]
79
[ "86-84=2", "76/2=38", "41+38=79" ]
Current State: 79:[84, 86, 76, 41], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [76, 41, 2] Generated Node #2: [76, 41, 2] from Operation: 86-84=2 Current State: 79:[76, 41, 2], Operations: ['86-84=2'] Exploring Operation: 76/2=38, Resulting Numbers: [41, 38] Generated Node #3: [41, 38] from Operation: 76/2=38 Current State: 79:[41, 38], Operations: ['86-84=2', '76/2=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[84, 86, 76, 41], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [84, 76, 45] Generated Node #0,0: 79:[84, 76, 45] Operation: 86-41=45 Exploring Operation: 84-41=43, Resulting Numbers: [86, 76, 43] Generated Node #0,1: 79:[86, 76, 43] Operation: 84-41=43 Exploring Operation: 84+41=125, Resulting Numbers: [86, 76, 125] Generated Node #0,2: 79:[86, 76, 125] Operation: 84+41=125 Exploring Operation: 76+41=117, Resulting Numbers: [84, 86, 117] Generated Node #0,3: 79:[84, 86, 117] Operation: 76+41=117 Moving to Node #0,0 Current State: 79:[84, 76, 45], Operations: ['86-41=45'] Exploring Operation: 76+45=121, Resulting Numbers: [84, 121] Generated Node #0,0,0: 79:[84, 121] Operation: 76+45=121 Exploring Operation: 84+45=129, Resulting Numbers: [76, 129] Generated Node #0,0,1: 79:[76, 129] Operation: 84+45=129 Exploring Operation: 76-45=31, Resulting Numbers: [84, 31] Generated Node #0,0,2: 79:[84, 31] Operation: 76-45=31 Exploring Operation: 84-45=39, Resulting Numbers: [76, 39] Generated Node #0,0,3: 79:[76, 39] Operation: 84-45=39 Moving to Node #0,1 Current State: 79:[86, 76, 43], Operations: ['84-41=43'] Exploring Operation: 86-43=43, Resulting Numbers: [76, 43] Generated Node #0,1,0: 79:[76, 43] Operation: 86-43=43 Exploring Operation: 76-43=33, Resulting Numbers: [86, 33] Generated Node #0,1,1: 79:[86, 33] Operation: 76-43=33 Exploring Operation: 76+43=119, Resulting Numbers: [86, 119] Generated Node #0,1,2: 79:[86, 119] Operation: 76+43=119 Exploring Operation: 86+43=129, Resulting Numbers: [76, 129] Generated Node #0,1,3: 79:[76, 129] Operation: 86+43=129 Moving to Node #0,3 Current State: 79:[84, 86, 117], Operations: ['76+41=117'] Exploring Operation: 117-84=33, Resulting Numbers: [86, 33] Generated Node #0,3,0: 79:[86, 33] Operation: 117-84=33 Exploring Operation: 86-84=2, Resulting Numbers: [117, 2] Generated Node #0,3,1: 79:[117, 2] Operation: 86-84=2 Exploring Operation: 84+86=170, Resulting Numbers: [117, 170] Generated Node #0,3,2: 79:[117, 170] Operation: 84+86=170 Exploring Operation: 117-86=31, Resulting Numbers: [84, 31] Generated Node #0,3,3: 79:[84, 31] Operation: 117-86=31 Moving to Node #0,2 Current State: 79:[86, 76, 125], Operations: ['84+41=125'] Exploring Operation: 86+76=162, Resulting Numbers: [125, 162] Generated Node #0,2,0: 79:[125, 162] Operation: 86+76=162 Exploring Operation: 125-76=49, Resulting Numbers: [86, 49] Generated Node #0,2,1: 79:[86, 49] Operation: 125-76=49 Exploring Operation: 86-76=10, Resulting Numbers: [125, 10] Generated Node #0,2,2: 79:[125, 10] Operation: 86-76=10 Exploring Operation: 125-86=39, Resulting Numbers: [76, 39] Generated Node #0,2,3: 79:[76, 39] Operation: 125-86=39 Moving to Node #0,2,1 Current State: 79:[86, 49], Operations: ['84+41=125', '125-76=49'] Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 86+49=135, Resulting Numbers: [135] 135,79 unequal: No Solution Exploring Operation: 86*49=4214, Resulting Numbers: [4214] 4214,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[76, 43], Operations: ['84-41=43', '86-43=43'] Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[76, 39], Operations: ['84+41=125', '125-86=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,79 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[76, 39], Operations: ['86-41=45', '84-45=39'] Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,79 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[86, 119], Operations: ['84-41=43', '76+43=119'] Exploring Operation: 86+119=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 86*119=10234, Resulting Numbers: [10234] 10234,79 unequal: No Solution Exploring Operation: 119-86=33, Resulting Numbers: [33] 33,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[84, 121], Operations: ['86-41=45', '76+45=121'] Exploring Operation: 84*121=10164, Resulting Numbers: [10164] 10164,79 unequal: No Solution Exploring Operation: 121-84=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 84+121=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[86, 33], Operations: ['84-41=43', '76-43=33'] Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,79 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[76, 129], Operations: ['86-41=45', '84+45=129'] Exploring Operation: 129-76=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 76*129=9804, Resulting Numbers: [9804] 9804,79 unequal: No Solution Exploring Operation: 76+129=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[84, 31], Operations: ['76+41=117', '117-86=31'] Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,79 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[84, 31], Operations: ['86-41=45', '76-45=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,79 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[76, 129], Operations: ['84-41=43', '86+43=129'] Exploring Operation: 129-76=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 76*129=9804, Resulting Numbers: [9804] 9804,79 unequal: No Solution Exploring Operation: 76+129=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[86, 33], Operations: ['76+41=117', '117-84=33'] Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[125, 10], Operations: ['84+41=125', '86-76=10'] Exploring Operation: 125*10=1250, Resulting Numbers: [1250] 1250,79 unequal: No Solution Exploring Operation: 125+10=135, Resulting Numbers: [135] 135,79 unequal: No Solution Exploring Operation: 125-10=115, Resulting Numbers: [115] 115,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[117, 2], Operations: ['76+41=117', '86-84=2'] Exploring Operation: 117-2=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 117+2=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 117*2=234, Resulting Numbers: [234] 234,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[125, 162], Operations: ['84+41=125', '86+76=162'] Exploring Operation: 125*162=20250, Resulting Numbers: [20250] 20250,79 unequal: No Solution Exploring Operation: 162-125=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 125+162=287, Resulting Numbers: [287] 287,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[117, 170], Operations: ['76+41=117', '84+86=170'] Exploring Operation: 117*170=19890, Resulting Numbers: [19890] 19890,79 unequal: No Solution Exploring Operation: 117+170=287, Resulting Numbers: [287] 287,79 unequal: No Solution Exploring Operation: 170-117=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 71, 2, 28, 24 ]
79
[ "28-24=4", "2*4=8", "71+8=79" ]
Current State: 79:[71, 2, 28, 24], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [71, 2, 4] Generated Node #2: [71, 2, 4] from Operation: 28-24=4 Current State: 79:[71, 2, 4], Operations: ['28-24=4'] Exploring Operation: 2*4=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 2*4=8 Current State: 79:[71, 8], Operations: ['28-24=4', '2*4=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[71, 2, 28, 24], Operations: [] Exploring Operation: 2*24=48, Resulting Numbers: [71, 28, 48] Generated Node #0,0: 79:[71, 28, 48] Operation: 2*24=48 Exploring Operation: 71+2=73, Resulting Numbers: [28, 24, 73] Generated Node #0,1: 79:[28, 24, 73] Operation: 71+2=73 Exploring Operation: 2*28=56, Resulting Numbers: [71, 24, 56] Generated Node #0,2: 79:[71, 24, 56] Operation: 2*28=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[71, 24, 56], Operations: ['2*28=56'] Exploring Operation: 71+24=95, Resulting Numbers: [56, 95] Generated Node #0,2,0: 79:[56, 95] Operation: 71+24=95 Exploring Operation: 24+56=80, Resulting Numbers: [71, 80] Generated Node #0,2,1: 79:[71, 80] Operation: 24+56=80 Exploring Operation: 71-24=47, Resulting Numbers: [56, 47] Generated Node #0,2,2: 79:[56, 47] Operation: 71-24=47 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[71, 80], Operations: ['2*28=56', '24+56=80'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 71+80=151, Resulting Numbers: [151] 151,79 unequal: No Solution Exploring Operation: 71*80=5680, Resulting Numbers: [5680] 5680,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,0 Current State: 79:[56, 95], Operations: ['2*28=56', '71+24=95'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,79 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,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:[56, 47], Operations: ['2*28=56', '71-24=47'] Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,79 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,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,0 Current State: 79:[71, 28, 48], Operations: ['2*24=48'] Exploring Operation: 71+28=99, Resulting Numbers: [48, 99] Generated Node #0,0,0: 79:[48, 99] Operation: 71+28=99 Exploring Operation: 28+48=76, Resulting Numbers: [71, 76] Generated Node #0,0,1: 79:[71, 76] Operation: 28+48=76 Exploring Operation: 71-28=43, Resulting Numbers: [48, 43] Generated Node #0,0,2: 79:[48, 43] Operation: 71-28=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[71, 76], Operations: ['2*24=48', '28+48=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,79 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,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,0,0 Current State: 79:[48, 99], Operations: ['2*24=48', '71+28=99'] Exploring Operation: 48*99=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 48+99=147, Resulting Numbers: [147] 147,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,0,2 Current State: 79:[48, 43], Operations: ['2*24=48', '71-28=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,79 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,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,1 Current State: 79:[28, 24, 73], Operations: ['71+2=73'] Exploring Operation: 28+24=52, Resulting Numbers: [73, 52] Generated Node #0,1,0: 79:[73, 52] Operation: 28+24=52 Exploring Operation: 28+73=101, Resulting Numbers: [24, 101] Generated Node #0,1,1: 79:[24, 101] Operation: 28+73=101 Exploring Operation: 24+73=97, Resulting Numbers: [28, 97] Generated Node #0,1,2: 79:[28, 97] Operation: 24+73=97 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[73, 52], Operations: ['71+2=73', '28+24=52'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,79 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,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,2 Current State: 79:[28, 97], Operations: ['71+2=73', '24+73=97'] Exploring Operation: 28*97=2716, Resulting Numbers: [2716] 2716,79 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 28+97=125, Resulting Numbers: [125] 125,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:[24, 101], Operations: ['71+2=73', '28+73=101'] Exploring Operation: 24+101=125, Resulting Numbers: [125] 125,79 unequal: No Solution Exploring Operation: 24*101=2424, Resulting Numbers: [2424] 2424,79 unequal: No Solution Exploring Operation: 101-24=77, Resulting Numbers: [77] 77,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 No solution found.
0
hs_3
mult_heuristic
[ 56, 69, 5, 48 ]
40
[ "69-56=13", "5+48=53", "53-13=40" ]
Current State: 40:[56, 69, 5, 48], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [5, 48, 13] Generated Node #2: [5, 48, 13] from Operation: 69-56=13 Current State: 40:[5, 48, 13], Operations: ['69-56=13'] Exploring Operation: 5+48=53, Resulting Numbers: [13, 53] Generated Node #3: [13, 53] from Operation: 5+48=53 Current State: 40:[13, 53], Operations: ['69-56=13', '5+48=53'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[56, 69, 5, 48], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [69, 5, 8] Generated Node #0,0: 40:[69, 5, 8] Operation: 56-48=8 Exploring Operation: 69-56=13, Resulting Numbers: [5, 48, 13] Generated Node #0,1: 40:[5, 48, 13] Operation: 69-56=13 Exploring Operation: 69-48=21, Resulting Numbers: [56, 5, 21] Generated Node #0,2: 40:[56, 5, 21] Operation: 69-48=21 Exploring Operation: 69-5=64, Resulting Numbers: [56, 48, 64] Generated Node #0,3: 40:[56, 48, 64] Operation: 69-5=64 Exploring Operation: 56-5=51, Resulting Numbers: [69, 48, 51] Generated Node #0,4: 40:[69, 48, 51] Operation: 56-5=51 Moving to Node #0,1 Current State: 40:[5, 48, 13], Operations: ['69-56=13'] Exploring Operation: 48-13=35, Resulting Numbers: [5, 35] Generated Node #0,1,0: 40:[5, 35] Operation: 48-13=35 Exploring Operation: 5+48=53, Resulting Numbers: [13, 53] Generated Node #0,1,1: 40:[13, 53] Operation: 5+48=53 Exploring Operation: 48-5=43, Resulting Numbers: [13, 43] Generated Node #0,1,2: 40:[13, 43] Operation: 48-5=43 Exploring Operation: 5+13=18, Resulting Numbers: [48, 18] Generated Node #0,1,3: 40:[48, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [48, 8] Generated Node #0,1,4: 40:[48, 8] Operation: 13-5=8 Moving to Node #0,2 Current State: 40:[56, 5, 21], Operations: ['69-48=21'] Exploring Operation: 21-5=16, Resulting Numbers: [56, 16] Generated Node #0,2,0: 40:[56, 16] Operation: 21-5=16 Exploring Operation: 56+5=61, Resulting Numbers: [21, 61] Generated Node #0,2,1: 40:[21, 61] Operation: 56+5=61 Exploring Operation: 5+21=26, Resulting Numbers: [56, 26] Generated Node #0,2,2: 40:[56, 26] Operation: 5+21=26 Exploring Operation: 56-21=35, Resulting Numbers: [5, 35] Generated Node #0,2,3: 40:[5, 35] Operation: 56-21=35 Exploring Operation: 56-5=51, Resulting Numbers: [21, 51] Generated Node #0,2,4: 40:[21, 51] Operation: 56-5=51 Moving to Node #0,0 Current State: 40:[69, 5, 8], Operations: ['56-48=8'] Exploring Operation: 69-8=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 40:[5, 61] Operation: 69-8=61 Exploring Operation: 5+8=13, Resulting Numbers: [69, 13] Generated Node #0,0,1: 40:[69, 13] Operation: 5+8=13 Exploring Operation: 69-5=64, Resulting Numbers: [8, 64] Generated Node #0,0,2: 40:[8, 64] Operation: 69-5=64 Exploring Operation: 8-5=3, Resulting Numbers: [69, 3] Generated Node #0,0,3: 40:[69, 3] Operation: 8-5=3 Exploring Operation: 5*8=40, Resulting Numbers: [69, 40] Generated Node #0,0,4: 40:[69, 40] Operation: 5*8=40 Moving to Node #0,3 Current State: 40:[56, 48, 64], Operations: ['69-5=64'] Exploring Operation: 64-56=8, Resulting Numbers: [48, 8] Generated Node #0,3,0: 40:[48, 8] Operation: 64-56=8 Exploring Operation: 56-48=8, Resulting Numbers: [64, 8] Generated Node #0,3,1: 40:[64, 8] Operation: 56-48=8 Exploring Operation: 64-48=16, Resulting Numbers: [56, 16] Generated Node #0,3,2: 40:[56, 16] Operation: 64-48=16 Exploring Operation: 56+64=120, Resulting Numbers: [48, 120] Generated Node #0,3,3: 40:[48, 120] Operation: 56+64=120 Exploring Operation: 56+48=104, Resulting Numbers: [64, 104] Generated Node #0,3,4: 40:[64, 104] Operation: 56+48=104 Moving to Node #0,4 Current State: 40:[69, 48, 51], Operations: ['56-5=51'] Exploring Operation: 69-51=18, Resulting Numbers: [48, 18] Generated Node #0,4,0: 40:[48, 18] Operation: 69-51=18 Exploring Operation: 51-48=3, Resulting Numbers: [69, 3] Generated Node #0,4,1: 40:[69, 3] Operation: 51-48=3 Exploring Operation: 69+51=120, Resulting Numbers: [48, 120] Generated Node #0,4,2: 40:[48, 120] Operation: 69+51=120 Exploring Operation: 69+48=117, Resulting Numbers: [51, 117] Generated Node #0,4,3: 40:[51, 117] Operation: 69+48=117 Exploring Operation: 69-48=21, Resulting Numbers: [51, 21] Generated Node #0,4,4: 40:[51, 21] Operation: 69-48=21 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 40:[48, 18], Operations: ['56-5=51', '69-51=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,40 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[51, 21], Operations: ['56-5=51', '69-48=21'] Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,40 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 40:[69, 3], Operations: ['56-5=51', '51-48=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,40 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 40:[48, 120], Operations: ['56-5=51', '69+51=120'] Exploring Operation: 120-48=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 48+120=168, Resulting Numbers: [168] 168,40 unequal: No Solution Exploring Operation: 48*120=5760, Resulting Numbers: [5760] 5760,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 40:[51, 117], Operations: ['56-5=51', '69+48=117'] Exploring Operation: 51+117=168, Resulting Numbers: [168] 168,40 unequal: No Solution Exploring Operation: 51*117=5967, Resulting Numbers: [5967] 5967,40 unequal: No Solution Exploring Operation: 117-51=66, Resulting Numbers: [66] 66,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 40:[5, 35], Operations: ['69-56=13', '48-13=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,40 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[56, 69, 5, 48], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [5, 48, 13] Generated Node #0,1: 40:[5, 48, 13] Operation: 69-56=13 Moving to Node #0,1 Current State: 40:[5, 48, 13], Operations: ['69-56=13'] Exploring Operation: 48-13=35, Resulting Numbers: [5, 35] Generated Node #0,1,0: 40:[5, 35] Operation: 48-13=35 Moving to Node #0,1,0 Current State: 40:[5, 35], Operations: ['69-56=13', '48-13=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.953125
hs_5
mult_heuristic
[ 24, 27, 15, 68 ]
80
[ "27-24=3", "15+68=83", "83-3=80" ]
Current State: 80:[24, 27, 15, 68], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [15, 68, 3] Generated Node #2: [15, 68, 3] from Operation: 27-24=3 Current State: 80:[15, 68, 3], Operations: ['27-24=3'] Exploring Operation: 15+68=83, Resulting Numbers: [3, 83] Generated Node #3: [3, 83] from Operation: 15+68=83 Current State: 80:[3, 83], Operations: ['27-24=3', '15+68=83'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[24, 27, 15, 68], Operations: [] Exploring Operation: 68-27=41, Resulting Numbers: [24, 15, 41] Generated Node #0,0: 80:[24, 15, 41] Operation: 68-27=41 Exploring Operation: 27-24=3, Resulting Numbers: [15, 68, 3] Generated Node #0,1: 80:[15, 68, 3] Operation: 27-24=3 Exploring Operation: 68-24=44, Resulting Numbers: [27, 15, 44] Generated Node #0,2: 80:[27, 15, 44] Operation: 68-24=44 Moving to Node #0,0 Current State: 80:[24, 15, 41], Operations: ['68-27=41'] Exploring Operation: 41-24=17, Resulting Numbers: [15, 17] Generated Node #0,0,0: 80:[15, 17] Operation: 41-24=17 Exploring Operation: 24-15=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 80:[41, 9] Operation: 24-15=9 Exploring Operation: 24+15=39, Resulting Numbers: [41, 39] Generated Node #0,0,2: 80:[41, 39] Operation: 24+15=39 Moving to Node #0,2 Current State: 80:[27, 15, 44], Operations: ['68-24=44'] Exploring Operation: 44-27=17, Resulting Numbers: [15, 17] Generated Node #0,2,0: 80:[15, 17] Operation: 44-27=17 Exploring Operation: 27+15=42, Resulting Numbers: [44, 42] Generated Node #0,2,1: 80:[44, 42] Operation: 27+15=42 Exploring Operation: 27-15=12, Resulting Numbers: [44, 12] Generated Node #0,2,2: 80:[44, 12] Operation: 27-15=12 Moving to Node #0,1 Current State: 80:[15, 68, 3], Operations: ['27-24=3'] Exploring Operation: 15/3=5, Resulting Numbers: [68, 5] Generated Node #0,1,0: 80:[68, 5] Operation: 15/3=5 Exploring Operation: 15+68=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 80:[3, 83] Operation: 15+68=83 Exploring Operation: 68+3=71, Resulting Numbers: [15, 71] Generated Node #0,1,2: 80:[15, 71] Operation: 68+3=71 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[3, 83], Operations: ['27-24=3', '15+68=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[24, 27, 15, 68], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [15, 68, 3] Generated Node #0,1: 80:[15, 68, 3] Operation: 27-24=3 Moving to Node #0,1 Current State: 80:[15, 68, 3], Operations: ['27-24=3'] Exploring Operation: 15+68=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 80:[3, 83] Operation: 15+68=83 Moving to Node #0,1,1 Current State: 80:[3, 83], Operations: ['27-24=3', '15+68=83'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 16, 77, 51, 33 ]
75
[ "16+77=93", "51-33=18", "93-18=75" ]
Current State: 75:[16, 77, 51, 33], Operations: [] Exploring Operation: 16+77=93, Resulting Numbers: [51, 33, 93] Generated Node #2: [51, 33, 93] from Operation: 16+77=93 Current State: 75:[51, 33, 93], Operations: ['16+77=93'] Exploring Operation: 51-33=18, Resulting Numbers: [93, 18] Generated Node #3: [93, 18] from Operation: 51-33=18 Current State: 75:[93, 18], Operations: ['16+77=93', '51-33=18'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[16, 77, 51, 33], Operations: [] Exploring Operation: 51+33=84, Resulting Numbers: [16, 77, 84] Generated Node #0,0: 75:[16, 77, 84] Operation: 51+33=84 Exploring Operation: 51-33=18, Resulting Numbers: [16, 77, 18] Generated Node #0,1: 75:[16, 77, 18] Operation: 51-33=18 Exploring Operation: 16+51=67, Resulting Numbers: [77, 33, 67] Generated Node #0,2: 75:[77, 33, 67] Operation: 16+51=67 Exploring Operation: 51-16=35, Resulting Numbers: [77, 33, 35] Generated Node #0,3: 75:[77, 33, 35] Operation: 51-16=35 Exploring Operation: 77-51=26, Resulting Numbers: [16, 33, 26] Generated Node #0,4: 75:[16, 33, 26] Operation: 77-51=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[16, 77, 18], Operations: ['51-33=18'] Exploring Operation: 18-16=2, Resulting Numbers: [77, 2] Generated Node #0,1,0: 75:[77, 2] Operation: 18-16=2 Exploring Operation: 16+18=34, Resulting Numbers: [77, 34] Generated Node #0,1,1: 75:[77, 34] Operation: 16+18=34 Exploring Operation: 77-16=61, Resulting Numbers: [18, 61] Generated Node #0,1,2: 75:[18, 61] Operation: 77-16=61 Exploring Operation: 77-18=59, Resulting Numbers: [16, 59] Generated Node #0,1,3: 75:[16, 59] Operation: 77-18=59 Exploring Operation: 16+77=93, Resulting Numbers: [18, 93] Generated Node #0,1,4: 75:[18, 93] Operation: 16+77=93 Moving to Node #0,1,0 Current State: 75:[77, 2], Operations: ['51-33=18', '18-16=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[16, 77, 51, 33], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [16, 77, 18] Generated Node #0,1: 75:[16, 77, 18] Operation: 51-33=18 Moving to Node #0,1 Current State: 75:[16, 77, 18], Operations: ['51-33=18'] Exploring Operation: 18-16=2, Resulting Numbers: [77, 2] Generated Node #0,1,0: 75:[77, 2] Operation: 18-16=2 Moving to Node #0,1,0 Current State: 75:[77, 2], Operations: ['51-33=18', '18-16=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 67, 13, 2, 29 ]
69
[ "67+13=80", "80/2=40", "29+40=69" ]
Current State: 69:[67, 13, 2, 29], Operations: [] Exploring Operation: 67+13=80, Resulting Numbers: [2, 29, 80] Generated Node #2: [2, 29, 80] from Operation: 67+13=80 Current State: 69:[2, 29, 80], Operations: ['67+13=80'] Exploring Operation: 80/2=40, Resulting Numbers: [29, 40] Generated Node #3: [29, 40] from Operation: 80/2=40 Current State: 69:[29, 40], Operations: ['67+13=80', '80/2=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[67, 13, 2, 29], Operations: [] Exploring Operation: 13*2=26, Resulting Numbers: [67, 29, 26] Generated Node #0,0: 69:[67, 29, 26] Operation: 13*2=26 Exploring Operation: 29-13=16, Resulting Numbers: [67, 2, 16] Generated Node #0,1: 69:[67, 2, 16] Operation: 29-13=16 Moving to Node #0,1 Current State: 69:[67, 2, 16], Operations: ['29-13=16'] Exploring Operation: 67+2=69, Resulting Numbers: [16, 69] Generated Node #0,1,0: 69:[16, 69] Operation: 67+2=69 Exploring Operation: 2+16=18, Resulting Numbers: [67, 18] Generated Node #0,1,1: 69:[67, 18] Operation: 2+16=18 Moving to Node #0,0 Current State: 69:[67, 29, 26], Operations: ['13*2=26'] Exploring Operation: 29+26=55, Resulting Numbers: [67, 55] Generated Node #0,0,0: 69:[67, 55] Operation: 29+26=55 Exploring Operation: 29-26=3, Resulting Numbers: [67, 3] Generated Node #0,0,1: 69:[67, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[67, 3], Operations: ['13*2=26', '29-26=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,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:[67, 55], Operations: ['13*2=26', '29+26=55'] Exploring Operation: 67+55=122, Resulting Numbers: [122] 122,69 unequal: No Solution Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 69:[16, 69], Operations: ['29-13=16', '67+2=69'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[67, 18], Operations: ['29-13=16', '2+16=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 94, 5, 11, 91 ]
18
[ "94-91=3", "11-5=6", "3*6=18" ]
Current State: 18:[94, 5, 11, 91], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 11, 3] Generated Node #2: [5, 11, 3] from Operation: 94-91=3 Current State: 18:[5, 11, 3], Operations: ['94-91=3'] Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 11-5=6 Current State: 18:[3, 6], Operations: ['94-91=3', '11-5=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[94, 5, 11, 91], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 11, 3] Generated Node #0,0: 18:[5, 11, 3] Operation: 94-91=3 Exploring Operation: 94-11=83, Resulting Numbers: [5, 91, 83] Generated Node #0,1: 18:[5, 91, 83] Operation: 94-11=83 Moving to Node #0,0 Current State: 18:[5, 11, 3], Operations: ['94-91=3'] Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 18:[3, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [3, 16] Generated Node #0,0,1: 18:[3, 16] Operation: 5+11=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[3, 6], Operations: ['94-91=3', '11-5=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[94, 5, 11, 91], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 11, 3] Generated Node #0,0: 18:[5, 11, 3] Operation: 94-91=3 Moving to Node #0,0 Current State: 18:[5, 11, 3], Operations: ['94-91=3'] Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 18:[3, 6] Operation: 11-5=6 Moving to Node #0,0,0 Current State: 18:[3, 6], Operations: ['94-91=3', '11-5=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 44, 40, 97, 97 ]
40
[ "97-97=0", "44*0=0", "40+0=40" ]
Current State: 40:[44, 40, 97, 97], Operations: [] Exploring Operation: 97-97=0, Resulting Numbers: [44, 40, 0] Generated Node #2: [44, 40, 0] from Operation: 97-97=0 Current State: 40:[44, 40, 0], Operations: ['97-97=0'] Exploring Operation: 44*0=0, Resulting Numbers: [40, 0] Generated Node #3: [40, 0] from Operation: 44*0=0 Current State: 40:[40, 0], Operations: ['97-97=0', '44*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[44, 40, 97, 97], Operations: [] Exploring Operation: 97-97=0, Resulting Numbers: [44, 40, 0] Generated Node #0,0: 40:[44, 40, 0] Operation: 97-97=0 Exploring Operation: 97-44=53, Resulting Numbers: [40, 97, 53] Generated Node #0,1: 40:[40, 97, 53] Operation: 97-44=53 Exploring Operation: 97/97=1, Resulting Numbers: [44, 40, 1] Generated Node #0,2: 40:[44, 40, 1] Operation: 97/97=1 Exploring Operation: 97-44=53, Resulting Numbers: [40, 97, 53] Generated Node #0,3: 40:[40, 97, 53] Operation: 97-44=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[44, 40, 1], Operations: ['97/97=1'] Exploring Operation: 44-1=43, Resulting Numbers: [40, 43] Generated Node #0,2,0: 40:[40, 43] Operation: 44-1=43 Exploring Operation: 44/1=44, Resulting Numbers: [40, 44] Generated Node #0,2,1: 40:[40, 44] Operation: 44/1=44 Exploring Operation: 44*1=44, Resulting Numbers: [40, 44] Generated Node #0,2,2: 40:[40, 44] Operation: 44*1=44 Exploring Operation: 44-40=4, Resulting Numbers: [1, 4] Generated Node #0,2,3: 40:[1, 4] Operation: 44-40=4 Moving to Node #0,2,3 Current State: 40:[1, 4], Operations: ['97/97=1', '44-40=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[40, 43], Operations: ['97/97=1', '44-1=43'] Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,40 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[40, 44], Operations: ['97/97=1', '44*1=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,40 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[40, 44], Operations: ['97/97=1', '44/1=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,40 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[44, 40, 0], Operations: ['97-97=0'] Exploring Operation: 44-0=44, Resulting Numbers: [40, 44] Generated Node #0,0,0: 40:[40, 44] Operation: 44-0=44 Exploring Operation: 44-40=4, Resulting Numbers: [0, 4] Generated Node #0,0,1: 40:[0, 4] Operation: 44-40=4 Exploring Operation: 44+0=44, Resulting Numbers: [40, 44] Generated Node #0,0,2: 40:[40, 44] Operation: 44+0=44 Exploring Operation: 44*0=0, Resulting Numbers: [40, 0] Generated Node #0,0,3: 40:[40, 0] Operation: 44*0=0 Moving to Node #0,0,1 Current State: 40:[0, 4], Operations: ['97-97=0', '44-40=4'] Exploring Operation: 0+4=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 0*4=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[40, 0], Operations: ['97-97=0', '44*0=0'] Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[44, 40, 97, 97], Operations: [] Exploring Operation: 97-97=0, Resulting Numbers: [44, 40, 0] Generated Node #0,0: 40:[44, 40, 0] Operation: 97-97=0 Moving to Node #0,0 Current State: 40:[44, 40, 0], Operations: ['97-97=0'] Exploring Operation: 44*0=0, Resulting Numbers: [40, 0] Generated Node #0,0,3: 40:[40, 0] Operation: 44*0=0 Moving to Node #0,0,3 Current State: 40:[40, 0], Operations: ['97-97=0', '44*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 48, 31, 86, 55 ]
26
[ "48*55=2640", "31*86=2666", "2666-2640=26" ]
Current State: 26:[48, 31, 86, 55], Operations: [] Exploring Operation: 48*55=2640, Resulting Numbers: [31, 86, 2640] Generated Node #2: [31, 86, 2640] from Operation: 48*55=2640 Current State: 26:[31, 86, 2640], Operations: ['48*55=2640'] Exploring Operation: 31*86=2666, Resulting Numbers: [2640, 2666] Generated Node #3: [2640, 2666] from Operation: 31*86=2666 Current State: 26:[2640, 2666], Operations: ['48*55=2640', '31*86=2666'] Exploring Operation: 2666-2640=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 31, 86, 55], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [31, 55, 38] Generated Node #0,0: 26:[31, 55, 38] Operation: 86-48=38 Exploring Operation: 86-55=31, Resulting Numbers: [48, 31, 31] Generated Node #0,1: 26:[48, 31, 31] Operation: 86-55=31 Moving to Node #0,1 Current State: 26:[48, 31, 31], Operations: ['86-55=31'] Exploring Operation: 48-31=17, Resulting Numbers: [31, 17] Generated Node #0,1,0: 26:[31, 17] Operation: 48-31=17 Exploring Operation: 48-31=17, Resulting Numbers: [31, 17] Generated Node #0,1,1: 26:[31, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[31, 17], Operations: ['86-55=31', '48-31=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[31, 17], Operations: ['86-55=31', '48-31=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,26 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: 26:[31, 55, 38], Operations: ['86-48=38'] Exploring Operation: 55-31=24, Resulting Numbers: [38, 24] Generated Node #0,0,0: 26:[38, 24] Operation: 55-31=24 Exploring Operation: 55-38=17, Resulting Numbers: [31, 17] Generated Node #0,0,1: 26:[31, 17] Operation: 55-38=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[31, 17], Operations: ['86-48=38', '55-38=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,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,0 Current State: 26:[38, 24], Operations: ['86-48=38', '55-31=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,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
[ 33, 58, 2, 68 ]
96
[ "58+68=126", "126/2=63", "33+63=96" ]
Current State: 96:[33, 58, 2, 68], Operations: [] Exploring Operation: 58+68=126, Resulting Numbers: [33, 2, 126] Generated Node #2: [33, 2, 126] from Operation: 58+68=126 Current State: 96:[33, 2, 126], Operations: ['58+68=126'] Exploring Operation: 126/2=63, Resulting Numbers: [33, 63] Generated Node #3: [33, 63] from Operation: 126/2=63 Current State: 96:[33, 63], Operations: ['58+68=126', '126/2=63'] Exploring Operation: 33+63=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[33, 58, 2, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [33, 2, 10] Generated Node #0,0: 96:[33, 2, 10] Operation: 68-58=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[33, 2, 10], Operations: ['68-58=10'] Exploring Operation: 33-10=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 96:[2, 23] Operation: 33-10=23 Moving to Node #0,0,0 Current State: 96:[2, 23], Operations: ['68-58=10', '33-10=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,96 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
[ 79, 62, 8, 98 ]
89
[ "79-62=17", "8+98=106", "106-17=89" ]
Current State: 89:[79, 62, 8, 98], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [8, 98, 17] Generated Node #2: [8, 98, 17] from Operation: 79-62=17 Current State: 89:[8, 98, 17], Operations: ['79-62=17'] Exploring Operation: 8+98=106, Resulting Numbers: [17, 106] Generated Node #3: [17, 106] from Operation: 8+98=106 Current State: 89:[17, 106], Operations: ['79-62=17', '8+98=106'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 62, 8, 98], Operations: [] Exploring Operation: 79+8=87, Resulting Numbers: [62, 98, 87] Generated Node #0,0: 89:[62, 98, 87] Operation: 79+8=87 Exploring Operation: 62+8=70, Resulting Numbers: [79, 98, 70] Generated Node #0,1: 89:[79, 98, 70] Operation: 62+8=70 Moving to Node #0,0 Current State: 89:[62, 98, 87], Operations: ['79+8=87'] Exploring Operation: 62+87=149, Resulting Numbers: [98, 149] Generated Node #0,0,0: 89:[98, 149] Operation: 62+87=149 Exploring Operation: 98-62=36, Resulting Numbers: [87, 36] Generated Node #0,0,1: 89:[87, 36] Operation: 98-62=36 Moving to Node #0,1 Current State: 89:[79, 98, 70], Operations: ['62+8=70'] Exploring Operation: 98-70=28, Resulting Numbers: [79, 28] Generated Node #0,1,0: 89:[79, 28] Operation: 98-70=28 Exploring Operation: 79+70=149, Resulting Numbers: [98, 149] Generated Node #0,1,1: 89:[98, 149] Operation: 79+70=149 Moving to Node #0,0,1 Current State: 89:[87, 36], Operations: ['79+8=87', '98-62=36'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[98, 149], Operations: ['62+8=70', '79+70=149'] Exploring Operation: 149-98=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 98+149=247, Resulting Numbers: [247] 247,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[98, 149], Operations: ['79+8=87', '62+87=149'] Exploring Operation: 149-98=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 98+149=247, Resulting Numbers: [247] 247,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[79, 28], Operations: ['62+8=70', '98-70=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 42, 11, 48 ]
81
[ "2+42=44", "48-11=37", "44+37=81" ]
Current State: 81:[2, 42, 11, 48], Operations: [] Exploring Operation: 2+42=44, Resulting Numbers: [11, 48, 44] Generated Node #2: [11, 48, 44] from Operation: 2+42=44 Current State: 81:[11, 48, 44], Operations: ['2+42=44'] Exploring Operation: 48-11=37, Resulting Numbers: [44, 37] Generated Node #3: [44, 37] from Operation: 48-11=37 Current State: 81:[44, 37], Operations: ['2+42=44', '48-11=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 42, 11, 48], Operations: [] Exploring Operation: 42+48=90, Resulting Numbers: [2, 11, 90] Generated Node #0,0: 81:[2, 11, 90] Operation: 42+48=90 Exploring Operation: 48-42=6, Resulting Numbers: [2, 11, 6] Generated Node #0,1: 81:[2, 11, 6] Operation: 48-42=6 Moving to Node #0,1 Current State: 81:[2, 11, 6], Operations: ['48-42=6'] Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #0,1,0: 81:[11, 3] Operation: 6/2=3 Exploring Operation: 11-2=9, Resulting Numbers: [6, 9] Generated Node #0,1,1: 81:[6, 9] Operation: 11-2=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[11, 3], Operations: ['48-42=6', '6/2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[6, 9], Operations: ['48-42=6', '11-2=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 81:[2, 11, 90], Operations: ['42+48=90'] Exploring Operation: 90-11=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 90-11=79 Exploring Operation: 11-2=9, Resulting Numbers: [90, 9] Generated Node #0,0,1: 81:[90, 9] Operation: 11-2=9 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['42+48=90', '90-11=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[2, 42, 11, 48], Operations: [] Exploring Operation: 42+48=90, Resulting Numbers: [2, 11, 90] Generated Node #0,0: 81:[2, 11, 90] Operation: 42+48=90 Moving to Node #0,0 Current State: 81:[2, 11, 90], Operations: ['42+48=90'] Exploring Operation: 90-11=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 90-11=79 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['42+48=90', '90-11=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 82, 41, 6, 49 ]
97
[ "41+49=90", "90/6=15", "82+15=97" ]
Current State: 97:[82, 41, 6, 49], Operations: [] Exploring Operation: 41+49=90, Resulting Numbers: [82, 6, 90] Generated Node #2: [82, 6, 90] from Operation: 41+49=90 Current State: 97:[82, 6, 90], Operations: ['41+49=90'] Exploring Operation: 90/6=15, Resulting Numbers: [82, 15] Generated Node #3: [82, 15] from Operation: 90/6=15 Current State: 97:[82, 15], Operations: ['41+49=90', '90/6=15'] Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[82, 41, 6, 49], Operations: [] Exploring Operation: 82+6=88, Resulting Numbers: [41, 49, 88] Generated Node #0,0: 97:[41, 49, 88] Operation: 82+6=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[41, 49, 88], Operations: ['82+6=88'] Exploring Operation: 41+49=90, Resulting Numbers: [88, 90] Generated Node #0,0,0: 97:[88, 90] Operation: 41+49=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[88, 90], Operations: ['82+6=88', '41+49=90'] Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,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 No solution found.
0
hs_1
sum_heuristic
[ 72, 57, 89, 99 ]
45
[ "72*57=4104", "4104-99=4005", "4005/89=45" ]
Current State: 45:[72, 57, 89, 99], Operations: [] Exploring Operation: 72*57=4104, Resulting Numbers: [89, 99, 4104] Generated Node #2: [89, 99, 4104] from Operation: 72*57=4104 Current State: 45:[89, 99, 4104], Operations: ['72*57=4104'] Exploring Operation: 4104-99=4005, Resulting Numbers: [89, 4005] Generated Node #3: [89, 4005] from Operation: 4104-99=4005 Current State: 45:[89, 4005], Operations: ['72*57=4104', '4104-99=4005'] Exploring Operation: 4005/89=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[72, 57, 89, 99], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [72, 57, 10] Generated Node #0,0: 45:[72, 57, 10] Operation: 99-89=10 Exploring Operation: 89-72=17, Resulting Numbers: [57, 99, 17] Generated Node #0,1: 45:[57, 99, 17] Operation: 89-72=17 Exploring Operation: 99-72=27, Resulting Numbers: [57, 89, 27] Generated Node #0,2: 45:[57, 89, 27] Operation: 99-72=27 Exploring Operation: 89-57=32, Resulting Numbers: [72, 99, 32] Generated Node #0,3: 45:[72, 99, 32] Operation: 89-57=32 Exploring Operation: 99-57=42, Resulting Numbers: [72, 89, 42] Generated Node #0,4: 45:[72, 89, 42] Operation: 99-57=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[72, 57, 10], Operations: ['99-89=10'] Exploring Operation: 57+10=67, Resulting Numbers: [72, 67] Generated Node #0,0,0: 45:[72, 67] Operation: 57+10=67 Exploring Operation: 57-10=47, Resulting Numbers: [72, 47] Generated Node #0,0,1: 45:[72, 47] Operation: 57-10=47 Exploring Operation: 72-57=15, Resulting Numbers: [10, 15] Generated Node #0,0,2: 45:[10, 15] Operation: 72-57=15 Exploring Operation: 72-10=62, Resulting Numbers: [57, 62] Generated Node #0,0,3: 45:[57, 62] Operation: 72-10=62 Exploring Operation: 72+10=82, Resulting Numbers: [57, 82] Generated Node #0,0,4: 45:[57, 82] Operation: 72+10=82 Moving to Node #0,0,2 Current State: 45:[10, 15], Operations: ['99-89=10', '72-57=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[57, 62], Operations: ['99-89=10', '72-10=62'] Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,45 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[72, 47], Operations: ['99-89=10', '57-10=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[72, 67], Operations: ['99-89=10', '57+10=67'] Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,45 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[57, 82], Operations: ['99-89=10', '72+10=82'] Exploring Operation: 57+82=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 57*82=4674, Resulting Numbers: [4674] 4674,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[57, 99, 17], Operations: ['89-72=17'] Exploring Operation: 99-57=42, Resulting Numbers: [17, 42] Generated Node #0,1,0: 45:[17, 42] Operation: 99-57=42 Exploring Operation: 57+17=74, Resulting Numbers: [99, 74] Generated Node #0,1,1: 45:[99, 74] Operation: 57+17=74 Exploring Operation: 99-17=82, Resulting Numbers: [57, 82] Generated Node #0,1,2: 45:[57, 82] Operation: 99-17=82 Exploring Operation: 99+17=116, Resulting Numbers: [57, 116] Generated Node #0,1,3: 45:[57, 116] Operation: 99+17=116 Exploring Operation: 57-17=40, Resulting Numbers: [99, 40] Generated Node #0,1,4: 45:[99, 40] Operation: 57-17=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[17, 42], Operations: ['89-72=17', '99-57=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,45 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[57, 82], Operations: ['89-72=17', '99-17=82'] Exploring Operation: 57+82=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 57*82=4674, Resulting Numbers: [4674] 4674,45 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[99, 40], Operations: ['89-72=17', '57-17=40'] Exploring Operation: 99*40=3960, Resulting Numbers: [3960] 3960,45 unequal: No Solution Exploring Operation: 99+40=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[99, 74], Operations: ['89-72=17', '57+17=74'] Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 99+74=173, Resulting Numbers: [173] 173,45 unequal: No Solution Exploring Operation: 99*74=7326, Resulting Numbers: [7326] 7326,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[57, 116], Operations: ['89-72=17', '99+17=116'] Exploring Operation: 57*116=6612, Resulting Numbers: [6612] 6612,45 unequal: No Solution Exploring Operation: 116-57=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 57+116=173, Resulting Numbers: [173] 173,45 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: 45:[57, 89, 27], Operations: ['99-72=27'] Exploring Operation: 57+27=84, Resulting Numbers: [89, 84] Generated Node #0,2,0: 45:[89, 84] Operation: 57+27=84 Exploring Operation: 89-57=32, Resulting Numbers: [27, 32] Generated Node #0,2,1: 45:[27, 32] Operation: 89-57=32 Exploring Operation: 89-27=62, Resulting Numbers: [57, 62] Generated Node #0,2,2: 45:[57, 62] Operation: 89-27=62 Exploring Operation: 57-27=30, Resulting Numbers: [89, 30] Generated Node #0,2,3: 45:[89, 30] Operation: 57-27=30 Exploring Operation: 89+27=116, Resulting Numbers: [57, 116] Generated Node #0,2,4: 45:[57, 116] Operation: 89+27=116 Moving to Node #0,2,1 Current State: 45:[27, 32], Operations: ['99-72=27', '89-57=32'] Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,45 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[57, 62], Operations: ['99-72=27', '89-27=62'] Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,45 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[89, 30], Operations: ['99-72=27', '57-27=30'] Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,45 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[89, 84], Operations: ['99-72=27', '57+27=84'] Exploring Operation: 89+84=173, Resulting Numbers: [173] 173,45 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 89*84=7476, Resulting Numbers: [7476] 7476,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[57, 116], Operations: ['99-72=27', '89+27=116'] Exploring Operation: 57*116=6612, Resulting Numbers: [6612] 6612,45 unequal: No Solution Exploring Operation: 116-57=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 57+116=173, Resulting Numbers: [173] 173,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[72, 89, 42], Operations: ['99-57=42'] Exploring Operation: 89-42=47, Resulting Numbers: [72, 47] Generated Node #0,4,0: 45:[72, 47] Operation: 89-42=47 Exploring Operation: 72+42=114, Resulting Numbers: [89, 114] Generated Node #0,4,1: 45:[89, 114] Operation: 72+42=114 Exploring Operation: 89-72=17, Resulting Numbers: [42, 17] Generated Node #0,4,2: 45:[42, 17] Operation: 89-72=17 Exploring Operation: 89+42=131, Resulting Numbers: [72, 131] Generated Node #0,4,3: 45:[72, 131] Operation: 89+42=131 Exploring Operation: 72-42=30, Resulting Numbers: [89, 30] Generated Node #0,4,4: 45:[89, 30] Operation: 72-42=30 Moving to Node #0,4,2 Current State: 45:[42, 17], Operations: ['99-57=42', '89-72=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,45 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[72, 47], Operations: ['99-57=42', '89-42=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[89, 30], Operations: ['99-57=42', '72-42=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[89, 114], Operations: ['99-57=42', '72+42=114'] Exploring Operation: 89+114=203, Resulting Numbers: [203] 203,45 unequal: No Solution Exploring Operation: 114-89=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 89*114=10146, Resulting Numbers: [10146] 10146,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[72, 131], Operations: ['99-57=42', '89+42=131'] Exploring Operation: 72*131=9432, Resulting Numbers: [9432] 9432,45 unequal: No Solution Exploring Operation: 131-72=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 72+131=203, Resulting Numbers: [203] 203,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[72, 99, 32], Operations: ['89-57=32'] Exploring Operation: 72-32=40, Resulting Numbers: [99, 40] Generated Node #0,3,0: 45:[99, 40] Operation: 72-32=40 Exploring Operation: 99-72=27, Resulting Numbers: [32, 27] Generated Node #0,3,1: 45:[32, 27] Operation: 99-72=27 Exploring Operation: 99+32=131, Resulting Numbers: [72, 131] Generated Node #0,3,2: 45:[72, 131] Operation: 99+32=131 Exploring Operation: 99-32=67, Resulting Numbers: [72, 67] Generated Node #0,3,3: 45:[72, 67] Operation: 99-32=67 Exploring Operation: 72+32=104, Resulting Numbers: [99, 104] Generated Node #0,3,4: 45:[99, 104] Operation: 72+32=104 Moving to Node #0,3,1 Current State: 45:[32, 27], Operations: ['89-57=32', '99-72=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,45 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[72, 67], Operations: ['89-57=32', '99-32=67'] Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,45 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[99, 40], Operations: ['89-57=32', '72-32=40'] Exploring Operation: 99*40=3960, Resulting Numbers: [3960] 3960,45 unequal: No Solution Exploring Operation: 99+40=139, Resulting Numbers: [139] 139,45 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[72, 131], Operations: ['89-57=32', '99+32=131'] Exploring Operation: 72*131=9432, Resulting Numbers: [9432] 9432,45 unequal: No Solution Exploring Operation: 72+131=203, Resulting Numbers: [203] 203,45 unequal: No Solution Exploring Operation: 131-72=59, Resulting Numbers: [59] 59,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[99, 104], Operations: ['89-57=32', '72+32=104'] Exploring Operation: 104-99=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 99+104=203, Resulting Numbers: [203] 203,45 unequal: No Solution Exploring Operation: 99*104=10296, Resulting Numbers: [10296] 10296,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 21, 32, 1, 16 ]
63
[ "32/16=2", "1+2=3", "21*3=63" ]
Current State: 63:[21, 32, 1, 16], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [21, 1, 2] Generated Node #2: [21, 1, 2] from Operation: 32/16=2 Current State: 63:[21, 1, 2], Operations: ['32/16=2'] Exploring Operation: 1+2=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 1+2=3 Current State: 63:[21, 3], Operations: ['32/16=2', '1+2=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 32, 1, 16], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [21, 1, 2] Generated Node #0,0: 63:[21, 1, 2] Operation: 32/16=2 Moving to Node #0,0 Current State: 63:[21, 1, 2], Operations: ['32/16=2'] Exploring Operation: 1+2=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 1+2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['32/16=2', '1+2=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 32, 1, 16], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [21, 1, 2] Generated Node #0,0: 63:[21, 1, 2] Operation: 32/16=2 Moving to Node #0,0 Current State: 63:[21, 1, 2], Operations: ['32/16=2'] Exploring Operation: 1+2=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 1+2=3 Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['32/16=2', '1+2=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 14, 3, 8 ]
83
[ "8-3=5", "14*5=70", "13+70=83" ]
Current State: 83:[13, 14, 3, 8], Operations: [] Exploring Operation: 8-3=5, Resulting Numbers: [13, 14, 5] Generated Node #2: [13, 14, 5] from Operation: 8-3=5 Current State: 83:[13, 14, 5], Operations: ['8-3=5'] Exploring Operation: 14*5=70, Resulting Numbers: [13, 70] Generated Node #3: [13, 70] from Operation: 14*5=70 Current State: 83:[13, 70], Operations: ['8-3=5', '14*5=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[13, 14, 3, 8], Operations: [] Exploring Operation: 13*8=104, Resulting Numbers: [14, 3, 104] Generated Node #0,0: 83:[14, 3, 104] Operation: 13*8=104 Exploring Operation: 13*3=39, Resulting Numbers: [14, 8, 39] Generated Node #0,1: 83:[14, 8, 39] Operation: 13*3=39 Exploring Operation: 3*8=24, Resulting Numbers: [13, 14, 24] Generated Node #0,2: 83:[13, 14, 24] Operation: 3*8=24 Exploring Operation: 14*3=42, Resulting Numbers: [13, 8, 42] Generated Node #0,3: 83:[13, 8, 42] Operation: 14*3=42 Exploring Operation: 14*8=112, Resulting Numbers: [13, 3, 112] Generated Node #0,4: 83:[13, 3, 112] Operation: 14*8=112 Moving to Node #0,0 Current State: 83:[14, 3, 104], Operations: ['13*8=104'] Exploring Operation: 14+3=17, Resulting Numbers: [104, 17] Generated Node #0,0,0: 83:[104, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [104, 11] Generated Node #0,0,1: 83:[104, 11] Operation: 14-3=11 Exploring Operation: 104-14=90, Resulting Numbers: [3, 90] Generated Node #0,0,2: 83:[3, 90] Operation: 104-14=90 Exploring Operation: 104-3=101, Resulting Numbers: [14, 101] Generated Node #0,0,3: 83:[14, 101] Operation: 104-3=101 Exploring Operation: 14*3=42, Resulting Numbers: [104, 42] Generated Node #0,0,4: 83:[104, 42] Operation: 14*3=42 Moving to Node #0,4 Current State: 83:[13, 3, 112], Operations: ['14*8=112'] Exploring Operation: 13*3=39, Resulting Numbers: [112, 39] Generated Node #0,4,0: 83:[112, 39] Operation: 13*3=39 Exploring Operation: 112-13=99, Resulting Numbers: [3, 99] Generated Node #0,4,1: 83:[3, 99] Operation: 112-13=99 Exploring Operation: 112-3=109, Resulting Numbers: [13, 109] Generated Node #0,4,2: 83:[13, 109] Operation: 112-3=109 Exploring Operation: 13+3=16, Resulting Numbers: [112, 16] Generated Node #0,4,3: 83:[112, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [112, 10] Generated Node #0,4,4: 83:[112, 10] Operation: 13-3=10 Moving to Node #0,3 Current State: 83:[13, 8, 42], Operations: ['14*3=42'] Exploring Operation: 13-8=5, Resulting Numbers: [42, 5] Generated Node #0,3,0: 83:[42, 5] Operation: 13-8=5 Exploring Operation: 8+42=50, Resulting Numbers: [13, 50] Generated Node #0,3,1: 83:[13, 50] Operation: 8+42=50 Exploring Operation: 13+42=55, Resulting Numbers: [8, 55] Generated Node #0,3,2: 83:[8, 55] Operation: 13+42=55 Exploring Operation: 13+8=21, Resulting Numbers: [42, 21] Generated Node #0,3,3: 83:[42, 21] Operation: 13+8=21 Exploring Operation: 13*8=104, Resulting Numbers: [42, 104] Generated Node #0,3,4: 83:[42, 104] Operation: 13*8=104 Moving to Node #0,1 Current State: 83:[14, 8, 39], Operations: ['13*3=39'] Exploring Operation: 14-8=6, Resulting Numbers: [39, 6] Generated Node #0,1,0: 83:[39, 6] Operation: 14-8=6 Exploring Operation: 8+39=47, Resulting Numbers: [14, 47] Generated Node #0,1,1: 83:[14, 47] Operation: 8+39=47 Exploring Operation: 14+8=22, Resulting Numbers: [39, 22] Generated Node #0,1,2: 83:[39, 22] Operation: 14+8=22 Exploring Operation: 14+39=53, Resulting Numbers: [8, 53] Generated Node #0,1,3: 83:[8, 53] Operation: 14+39=53 Exploring Operation: 14*8=112, Resulting Numbers: [39, 112] Generated Node #0,1,4: 83:[39, 112] Operation: 14*8=112 Moving to Node #0,2 Current State: 83:[13, 14, 24], Operations: ['3*8=24'] Exploring Operation: 24-13=11, Resulting Numbers: [14, 11] Generated Node #0,2,0: 83:[14, 11] Operation: 24-13=11 Exploring Operation: 13+24=37, Resulting Numbers: [14, 37] Generated Node #0,2,1: 83:[14, 37] Operation: 13+24=37 Exploring Operation: 13+14=27, Resulting Numbers: [24, 27] Generated Node #0,2,2: 83:[24, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [24, 1] Generated Node #0,2,3: 83:[24, 1] Operation: 14-13=1 Exploring Operation: 14+24=38, Resulting Numbers: [13, 38] Generated Node #0,2,4: 83:[13, 38] Operation: 14+24=38 Moving to Node #0,0,4 Current State: 83:[104, 42], Operations: ['13*8=104', '14*3=42'] Exploring Operation: 104+42=146, Resulting Numbers: [146] 146,83 unequal: No Solution Exploring Operation: 104-42=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 104*42=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[42, 104], Operations: ['14*3=42', '13*8=104'] Exploring Operation: 42*104=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Exploring Operation: 104-42=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 42+104=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[112, 39], Operations: ['14*8=112', '13*3=39'] Exploring Operation: 112*39=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Exploring Operation: 112-39=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 112+39=151, Resulting Numbers: [151] 151,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[39, 112], Operations: ['13*3=39', '14*8=112'] Exploring Operation: 112-39=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 39*112=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Exploring Operation: 39+112=151, Resulting Numbers: [151] 151,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[3, 90], Operations: ['13*8=104', '104-14=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[104, 17], Operations: ['13*8=104', '14+3=17'] Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 104*17=1768, Resulting Numbers: [1768] 1768,83 unequal: No Solution Exploring Operation: 104+17=121, Resulting Numbers: [121] 121,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[14, 101], Operations: ['13*8=104', '104-3=101'] Exploring Operation: 101-14=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 14*101=1414, Resulting Numbers: [1414] 1414,83 unequal: No Solution Exploring Operation: 14+101=115, Resulting Numbers: [115] 115,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[104, 11], Operations: ['13*8=104', '14-3=11'] Exploring Operation: 104-11=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 104+11=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 104*11=1144, Resulting Numbers: [1144] 1144,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[3, 99], Operations: ['14*8=112', '112-13=99'] Exploring Operation: 3+99=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 3*99=297, Resulting Numbers: [297] 297,83 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[112, 16], Operations: ['14*8=112', '13+3=16'] Exploring Operation: 112*16=1792, Resulting Numbers: [1792] 1792,83 unequal: No Solution Exploring Operation: 112/16=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 112+16=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 112-16=96, Resulting Numbers: [96] 96,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[13, 109], Operations: ['14*8=112', '112-3=109'] Exploring Operation: 13*109=1417, Resulting Numbers: [1417] 1417,83 unequal: No Solution Exploring Operation: 109-13=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 13+109=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[112, 10], Operations: ['14*8=112', '13-3=10'] Exploring Operation: 112+10=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 112-10=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 112*10=1120, Resulting Numbers: [1120] 1120,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[42, 21], Operations: ['14*3=42', '13+8=21'] Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,83 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[8, 55], Operations: ['14*3=42', '13+42=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,83 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[13, 50], Operations: ['14*3=42', '8+42=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,83 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[39, 22], Operations: ['13*3=39', '14+8=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[8, 53], Operations: ['13*3=39', '14+39=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[14, 47], Operations: ['13*3=39', '8+39=47'] Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,83 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[13, 38], Operations: ['3*8=24', '14+24=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,83 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[24, 27], Operations: ['3*8=24', '13+14=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[14, 37], Operations: ['3*8=24', '13+24=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[42, 5], Operations: ['14*3=42', '13-8=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,83 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[39, 6], Operations: ['13*3=39', '14-8=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[14, 11], Operations: ['3*8=24', '24-13=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[24, 1], Operations: ['3*8=24', '14-13=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 76, 7, 56 ]
74
[ "87-76=11", "7+56=63", "11+63=74" ]
Current State: 74:[87, 76, 7, 56], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [7, 56, 11] Generated Node #2: [7, 56, 11] from Operation: 87-76=11 Current State: 74:[7, 56, 11], Operations: ['87-76=11'] Exploring Operation: 7+56=63, Resulting Numbers: [11, 63] Generated Node #3: [11, 63] from Operation: 7+56=63 Current State: 74:[11, 63], Operations: ['87-76=11', '7+56=63'] Exploring Operation: 11+63=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[87, 76, 7, 56], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [76, 56, 80] Generated Node #0,0: 74:[76, 56, 80] Operation: 87-7=80 Exploring Operation: 56-7=49, Resulting Numbers: [87, 76, 49] Generated Node #0,1: 74:[87, 76, 49] Operation: 56-7=49 Exploring Operation: 87-56=31, Resulting Numbers: [76, 7, 31] Generated Node #0,2: 74:[76, 7, 31] Operation: 87-56=31 Exploring Operation: 56/7=8, Resulting Numbers: [87, 76, 8] Generated Node #0,3: 74:[87, 76, 8] Operation: 56/7=8 Exploring Operation: 7+56=63, Resulting Numbers: [87, 76, 63] Generated Node #0,4: 74:[87, 76, 63] Operation: 7+56=63 Moving to Node #0,2 Current State: 74:[76, 7, 31], Operations: ['87-56=31'] Exploring Operation: 7+31=38, Resulting Numbers: [76, 38] Generated Node #0,2,0: 74:[76, 38] Operation: 7+31=38 Exploring Operation: 76-7=69, Resulting Numbers: [31, 69] Generated Node #0,2,1: 74:[31, 69] Operation: 76-7=69 Exploring Operation: 76-31=45, Resulting Numbers: [7, 45] Generated Node #0,2,2: 74:[7, 45] Operation: 76-31=45 Exploring Operation: 76+7=83, Resulting Numbers: [31, 83] Generated Node #0,2,3: 74:[31, 83] Operation: 76+7=83 Exploring Operation: 31-7=24, Resulting Numbers: [76, 24] Generated Node #0,2,4: 74:[76, 24] Operation: 31-7=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[76, 38], Operations: ['87-56=31', '7+31=38'] Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,74 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[31, 69], Operations: ['87-56=31', '76-7=69'] Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,74 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[7, 45], Operations: ['87-56=31', '76-31=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[31, 83], Operations: ['87-56=31', '76+7=83'] Exploring Operation: 31*83=2573, Resulting Numbers: [2573] 2573,74 unequal: No Solution Exploring Operation: 31+83=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[76, 24], Operations: ['87-56=31', '31-7=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,74 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: 74:[87, 76, 8], Operations: ['56/7=8'] Exploring Operation: 87-76=11, Resulting Numbers: [8, 11] Generated Node #0,3,0: 74:[8, 11] Operation: 87-76=11 Exploring Operation: 76+8=84, Resulting Numbers: [87, 84] Generated Node #0,3,1: 74:[87, 84] Operation: 76+8=84 Exploring Operation: 76-8=68, Resulting Numbers: [87, 68] Generated Node #0,3,2: 74:[87, 68] Operation: 76-8=68 Exploring Operation: 87+8=95, Resulting Numbers: [76, 95] Generated Node #0,3,3: 74:[76, 95] Operation: 87+8=95 Exploring Operation: 87-8=79, Resulting Numbers: [76, 79] Generated Node #0,3,4: 74:[76, 79] Operation: 87-8=79 Moving to Node #0,0 Current State: 74:[76, 56, 80], Operations: ['87-7=80'] Exploring Operation: 80-56=24, Resulting Numbers: [76, 24] Generated Node #0,0,0: 74:[76, 24] Operation: 80-56=24 Exploring Operation: 80-76=4, Resulting Numbers: [56, 4] Generated Node #0,0,1: 74:[56, 4] Operation: 80-76=4 Exploring Operation: 76+56=132, Resulting Numbers: [80, 132] Generated Node #0,0,2: 74:[80, 132] Operation: 76+56=132 Exploring Operation: 56+80=136, Resulting Numbers: [76, 136] Generated Node #0,0,3: 74:[76, 136] Operation: 56+80=136 Exploring Operation: 76-56=20, Resulting Numbers: [80, 20] Generated Node #0,0,4: 74:[80, 20] Operation: 76-56=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[76, 24], Operations: ['87-7=80', '80-56=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,74 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[56, 4], Operations: ['87-7=80', '80-76=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,74 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[80, 20], Operations: ['87-7=80', '76-56=20'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,74 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[80, 132], Operations: ['87-7=80', '76+56=132'] Exploring Operation: 80+132=212, Resulting Numbers: [212] 212,74 unequal: No Solution Exploring Operation: 80*132=10560, Resulting Numbers: [10560] 10560,74 unequal: No Solution Exploring Operation: 132-80=52, Resulting Numbers: [52] 52,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[76, 136], Operations: ['87-7=80', '56+80=136'] Exploring Operation: 76*136=10336, Resulting Numbers: [10336] 10336,74 unequal: No Solution Exploring Operation: 136-76=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 76+136=212, Resulting Numbers: [212] 212,74 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: 74:[87, 76, 63], Operations: ['7+56=63'] Exploring Operation: 76-63=13, Resulting Numbers: [87, 13] Generated Node #0,4,0: 74:[87, 13] Operation: 76-63=13 Exploring Operation: 87-63=24, Resulting Numbers: [76, 24] Generated Node #0,4,1: 74:[76, 24] Operation: 87-63=24 Exploring Operation: 76+63=139, Resulting Numbers: [87, 139] Generated Node #0,4,2: 74:[87, 139] Operation: 76+63=139 Exploring Operation: 87-76=11, Resulting Numbers: [63, 11] Generated Node #0,4,3: 74:[63, 11] Operation: 87-76=11 Exploring Operation: 87+63=150, Resulting Numbers: [76, 150] Generated Node #0,4,4: 74:[76, 150] Operation: 87+63=150 Moving to Node #0,1 Current State: 74:[87, 76, 49], Operations: ['56-7=49'] Exploring Operation: 76+49=125, Resulting Numbers: [87, 125] Generated Node #0,1,0: 74:[87, 125] Operation: 76+49=125 Exploring Operation: 76-49=27, Resulting Numbers: [87, 27] Generated Node #0,1,1: 74:[87, 27] Operation: 76-49=27 Exploring Operation: 87-76=11, Resulting Numbers: [49, 11] Generated Node #0,1,2: 74:[49, 11] Operation: 87-76=11 Exploring Operation: 87+49=136, Resulting Numbers: [76, 136] Generated Node #0,1,3: 74:[76, 136] Operation: 87+49=136 Exploring Operation: 87-49=38, Resulting Numbers: [76, 38] Generated Node #0,1,4: 74:[76, 38] Operation: 87-49=38 Moving to Node #0,1,4 Current State: 74:[76, 38], Operations: ['56-7=49', '87-49=38'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,74 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[76, 79], Operations: ['56/7=8', '87-8=79'] Exploring Operation: 76*79=6004, Resulting Numbers: [6004] 6004,74 unequal: No Solution Exploring Operation: 76+79=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[76, 24], Operations: ['7+56=63', '87-63=24'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,74 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[8, 11], Operations: ['56/7=8', '87-76=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[87, 68], Operations: ['56/7=8', '76-8=68'] Exploring Operation: 87+68=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 87*68=5916, Resulting Numbers: [5916] 5916,74 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[63, 11], Operations: ['7+56=63', '87-76=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,74 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[87, 76, 7, 56], Operations: [] Exploring Operation: 7+56=63, Resulting Numbers: [87, 76, 63] Generated Node #0,4: 74:[87, 76, 63] Operation: 7+56=63 Moving to Node #0,4 Current State: 74:[87, 76, 63], Operations: ['7+56=63'] Exploring Operation: 87-76=11, Resulting Numbers: [63, 11] Generated Node #0,4,3: 74:[63, 11] Operation: 87-76=11 Moving to Node #0,4,3 Current State: 74:[63, 11], Operations: ['7+56=63', '87-76=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.925347
hs_5
sum_heuristic
[ 82, 49, 38, 55 ]
60
[ "82-49=33", "38+55=93", "93-33=60" ]
Current State: 60:[82, 49, 38, 55], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [38, 55, 33] Generated Node #2: [38, 55, 33] from Operation: 82-49=33 Current State: 60:[38, 55, 33], Operations: ['82-49=33'] Exploring Operation: 38+55=93, Resulting Numbers: [33, 93] Generated Node #3: [33, 93] from Operation: 38+55=93 Current State: 60:[33, 93], Operations: ['82-49=33', '38+55=93'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[82, 49, 38, 55], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [49, 38, 27] Generated Node #0,0: 60:[49, 38, 27] Operation: 82-55=27 Exploring Operation: 49-38=11, Resulting Numbers: [82, 55, 11] Generated Node #0,1: 60:[82, 55, 11] Operation: 49-38=11 Exploring Operation: 82-49=33, Resulting Numbers: [38, 55, 33] Generated Node #0,2: 60:[38, 55, 33] Operation: 82-49=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[38, 55, 33], Operations: ['82-49=33'] Exploring Operation: 55-33=22, Resulting Numbers: [38, 22] Generated Node #0,2,0: 60:[38, 22] Operation: 55-33=22 Exploring Operation: 55-38=17, Resulting Numbers: [33, 17] Generated Node #0,2,1: 60:[33, 17] Operation: 55-38=17 Exploring Operation: 38-33=5, Resulting Numbers: [55, 5] Generated Node #0,2,2: 60:[55, 5] Operation: 38-33=5 Moving to Node #0,2,1 Current State: 60:[33, 17], Operations: ['82-49=33', '55-38=17'] Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,60 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[55, 5], Operations: ['82-49=33', '38-33=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[82, 49, 38, 55], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [38, 55, 33] Generated Node #0,2: 60:[38, 55, 33] Operation: 82-49=33 Moving to Node #0,2 Current State: 60:[38, 55, 33], Operations: ['82-49=33'] Exploring Operation: 38-33=5, Resulting Numbers: [55, 5] Generated Node #0,2,2: 60:[55, 5] Operation: 38-33=5 Moving to Node #0,2,2 Current State: 60:[55, 5], Operations: ['82-49=33', '38-33=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 43, 29, 37, 38 ]
73
[ "43+29=72", "38-37=1", "72+1=73" ]
Current State: 73:[43, 29, 37, 38], Operations: [] Exploring Operation: 43+29=72, Resulting Numbers: [37, 38, 72] Generated Node #2: [37, 38, 72] from Operation: 43+29=72 Current State: 73:[37, 38, 72], Operations: ['43+29=72'] Exploring Operation: 38-37=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 38-37=1 Current State: 73:[72, 1], Operations: ['43+29=72', '38-37=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[43, 29, 37, 38], Operations: [] Exploring Operation: 43+29=72, Resulting Numbers: [37, 38, 72] Generated Node #0,0: 73:[37, 38, 72] Operation: 43+29=72 Moving to Node #0,0 Current State: 73:[37, 38, 72], Operations: ['43+29=72'] Exploring Operation: 37+38=75, Resulting Numbers: [72, 75] Generated Node #0,0,0: 73:[72, 75] Operation: 37+38=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[72, 75], Operations: ['43+29=72', '37+38=75'] Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,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
[ 81, 57, 97, 83 ]
80
[ "83-81=2", "97-57=40", "2*40=80" ]
Current State: 80:[81, 57, 97, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [57, 97, 2] Generated Node #2: [57, 97, 2] from Operation: 83-81=2 Current State: 80:[57, 97, 2], Operations: ['83-81=2'] Exploring Operation: 97-57=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 97-57=40 Current State: 80:[2, 40], Operations: ['83-81=2', '97-57=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 57, 97, 83], Operations: [] Exploring Operation: 81-57=24, Resulting Numbers: [97, 83, 24] Generated Node #0,0: 80:[97, 83, 24] Operation: 81-57=24 Exploring Operation: 97-83=14, Resulting Numbers: [81, 57, 14] Generated Node #0,1: 80:[81, 57, 14] Operation: 97-83=14 Exploring Operation: 97-57=40, Resulting Numbers: [81, 83, 40] Generated Node #0,2: 80:[81, 83, 40] Operation: 97-57=40 Exploring Operation: 97-81=16, Resulting Numbers: [57, 83, 16] Generated Node #0,3: 80:[57, 83, 16] Operation: 97-81=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[81, 83, 40], Operations: ['97-57=40'] Exploring Operation: 81-40=41, Resulting Numbers: [83, 41] Generated Node #0,2,0: 80:[83, 41] Operation: 81-40=41 Exploring Operation: 81+40=121, Resulting Numbers: [83, 121] Generated Node #0,2,1: 80:[83, 121] Operation: 81+40=121 Exploring Operation: 83-40=43, Resulting Numbers: [81, 43] Generated Node #0,2,2: 80:[81, 43] Operation: 83-40=43 Exploring Operation: 83-81=2, Resulting Numbers: [40, 2] Generated Node #0,2,3: 80:[40, 2] Operation: 83-81=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[40, 2], Operations: ['97-57=40', '83-81=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[81, 57, 97, 83], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [81, 83, 40] Generated Node #0,2: 80:[81, 83, 40] Operation: 97-57=40 Moving to Node #0,2 Current State: 80:[81, 83, 40], Operations: ['97-57=40'] Exploring Operation: 83-81=2, Resulting Numbers: [40, 2] Generated Node #0,2,3: 80:[40, 2] Operation: 83-81=2 Moving to Node #0,2,3 Current State: 80:[40, 2], Operations: ['97-57=40', '83-81=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 7, 5, 10, 39 ]
59
[ "7-5=2", "10*2=20", "39+20=59" ]
Current State: 59:[7, 5, 10, 39], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [10, 39, 2] Generated Node #2: [10, 39, 2] from Operation: 7-5=2 Current State: 59:[10, 39, 2], Operations: ['7-5=2'] Exploring Operation: 10*2=20, Resulting Numbers: [39, 20] Generated Node #3: [39, 20] from Operation: 10*2=20 Current State: 59:[39, 20], Operations: ['7-5=2', '10*2=20'] Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[7, 5, 10, 39], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [7, 39, 50] Generated Node #0,0: 59:[7, 39, 50] Operation: 5*10=50 Exploring Operation: 7*10=70, Resulting Numbers: [5, 39, 70] Generated Node #0,1: 59:[5, 39, 70] Operation: 7*10=70 Moving to Node #0,0 Current State: 59:[7, 39, 50], Operations: ['5*10=50'] Exploring Operation: 7+50=57, Resulting Numbers: [39, 57] Generated Node #0,0,0: 59:[39, 57] Operation: 7+50=57 Exploring Operation: 7+39=46, Resulting Numbers: [50, 46] Generated Node #0,0,1: 59:[50, 46] Operation: 7+39=46 Moving to Node #0,1 Current State: 59:[5, 39, 70], Operations: ['7*10=70'] Exploring Operation: 70-5=65, Resulting Numbers: [39, 65] Generated Node #0,1,0: 59:[39, 65] Operation: 70-5=65 Exploring Operation: 5+39=44, Resulting Numbers: [70, 44] Generated Node #0,1,1: 59:[70, 44] Operation: 5+39=44 Moving to Node #0,0,0 Current State: 59:[39, 57], Operations: ['5*10=50', '7+50=57'] Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[50, 46], Operations: ['5*10=50', '7+39=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[70, 44], Operations: ['7*10=70', '5+39=44'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 70+44=114, Resulting Numbers: [114] 114,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[39, 65], Operations: ['7*10=70', '70-5=65'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 65, 56, 26 ]
87
[ "65-8=57", "56-26=30", "57+30=87" ]
Current State: 87:[8, 65, 56, 26], Operations: [] Exploring Operation: 65-8=57, Resulting Numbers: [56, 26, 57] Generated Node #2: [56, 26, 57] from Operation: 65-8=57 Current State: 87:[56, 26, 57], Operations: ['65-8=57'] Exploring Operation: 56-26=30, Resulting Numbers: [57, 30] Generated Node #3: [57, 30] from Operation: 56-26=30 Current State: 87:[57, 30], Operations: ['65-8=57', '56-26=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[8, 65, 56, 26], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [8, 65, 30] Generated Node #0,0: 87:[8, 65, 30] Operation: 56-26=30 Exploring Operation: 65+26=91, Resulting Numbers: [8, 56, 91] Generated Node #0,1: 87:[8, 56, 91] Operation: 65+26=91 Exploring Operation: 65-56=9, Resulting Numbers: [8, 26, 9] Generated Node #0,2: 87:[8, 26, 9] Operation: 65-56=9 Exploring Operation: 56/8=7, Resulting Numbers: [65, 26, 7] Generated Node #0,3: 87:[65, 26, 7] Operation: 56/8=7 Exploring Operation: 56+26=82, Resulting Numbers: [8, 65, 82] Generated Node #0,4: 87:[8, 65, 82] Operation: 56+26=82 Moving to Node #0,2 Current State: 87:[8, 26, 9], Operations: ['65-56=9'] Exploring Operation: 9-8=1, Resulting Numbers: [26, 1] Generated Node #0,2,0: 87:[26, 1] Operation: 9-8=1 Exploring Operation: 26-8=18, Resulting Numbers: [9, 18] Generated Node #0,2,1: 87:[9, 18] Operation: 26-8=18 Exploring Operation: 8+26=34, Resulting Numbers: [9, 34] Generated Node #0,2,2: 87:[9, 34] Operation: 8+26=34 Exploring Operation: 26+9=35, Resulting Numbers: [8, 35] Generated Node #0,2,3: 87:[8, 35] Operation: 26+9=35 Exploring Operation: 8+9=17, Resulting Numbers: [26, 17] Generated Node #0,2,4: 87:[26, 17] Operation: 8+9=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[26, 1], Operations: ['65-56=9', '9-8=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[9, 34], Operations: ['65-56=9', '8+26=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,87 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[8, 35], Operations: ['65-56=9', '26+9=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[26, 17], Operations: ['65-56=9', '8+9=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,87 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[9, 18], Operations: ['65-56=9', '26-8=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[8, 65, 30], Operations: ['56-26=30'] Exploring Operation: 65+30=95, Resulting Numbers: [8, 95] Generated Node #0,0,0: 87:[8, 95] Operation: 65+30=95 Exploring Operation: 8+65=73, Resulting Numbers: [30, 73] Generated Node #0,0,1: 87:[30, 73] Operation: 8+65=73 Exploring Operation: 30-8=22, Resulting Numbers: [65, 22] Generated Node #0,0,2: 87:[65, 22] Operation: 30-8=22 Exploring Operation: 65-30=35, Resulting Numbers: [8, 35] Generated Node #0,0,3: 87:[8, 35] Operation: 65-30=35 Exploring Operation: 65-8=57, Resulting Numbers: [30, 57] Generated Node #0,0,4: 87:[30, 57] Operation: 65-8=57 Moving to Node #0,3 Current State: 87:[65, 26, 7], Operations: ['56/8=7'] Exploring Operation: 65-26=39, Resulting Numbers: [7, 39] Generated Node #0,3,0: 87:[7, 39] Operation: 65-26=39 Exploring Operation: 65-7=58, Resulting Numbers: [26, 58] Generated Node #0,3,1: 87:[26, 58] Operation: 65-7=58 Exploring Operation: 65+7=72, Resulting Numbers: [26, 72] Generated Node #0,3,2: 87:[26, 72] Operation: 65+7=72 Exploring Operation: 65+26=91, Resulting Numbers: [7, 91] Generated Node #0,3,3: 87:[7, 91] Operation: 65+26=91 Exploring Operation: 26+7=33, Resulting Numbers: [65, 33] Generated Node #0,3,4: 87:[65, 33] Operation: 26+7=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[7, 91], Operations: ['56/8=7', '65+26=91'] Exploring Operation: 7+91=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 7*91=637, Resulting Numbers: [637] 637,87 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,87 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[7, 39], Operations: ['56/8=7', '65-26=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,87 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[26, 72], Operations: ['56/8=7', '65+7=72'] Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 26*72=1872, Resulting Numbers: [1872] 1872,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 87:[65, 33], Operations: ['56/8=7', '26+7=33'] Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,87 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[26, 58], Operations: ['56/8=7', '65-7=58'] Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,87 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,87 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: 87:[8, 65, 82], Operations: ['56+26=82'] Exploring Operation: 65-8=57, Resulting Numbers: [82, 57] Generated Node #0,4,0: 87:[82, 57] Operation: 65-8=57 Exploring Operation: 82-8=74, Resulting Numbers: [65, 74] Generated Node #0,4,1: 87:[65, 74] Operation: 82-8=74 Exploring Operation: 8+65=73, Resulting Numbers: [82, 73] Generated Node #0,4,2: 87:[82, 73] Operation: 8+65=73 Exploring Operation: 8+82=90, Resulting Numbers: [65, 90] Generated Node #0,4,3: 87:[65, 90] Operation: 8+82=90 Exploring Operation: 82-65=17, Resulting Numbers: [8, 17] Generated Node #0,4,4: 87:[8, 17] Operation: 82-65=17 Moving to Node #0,1 Current State: 87:[8, 56, 91], Operations: ['65+26=91'] Exploring Operation: 56-8=48, Resulting Numbers: [91, 48] Generated Node #0,1,0: 87:[91, 48] Operation: 56-8=48 Exploring Operation: 91-56=35, Resulting Numbers: [8, 35] Generated Node #0,1,1: 87:[8, 35] Operation: 91-56=35 Exploring Operation: 8+56=64, Resulting Numbers: [91, 64] Generated Node #0,1,2: 87:[91, 64] Operation: 8+56=64 Exploring Operation: 91-8=83, Resulting Numbers: [56, 83] Generated Node #0,1,3: 87:[56, 83] Operation: 91-8=83 Exploring Operation: 56/8=7, Resulting Numbers: [91, 7] Generated Node #0,1,4: 87:[91, 7] Operation: 56/8=7 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[91, 7], Operations: ['65+26=91', '56/8=7'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,87 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,87 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[8, 35], Operations: ['65+26=91', '91-56=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[91, 48], Operations: ['65+26=91', '56-8=48'] Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,87 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,87 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[91, 64], Operations: ['65+26=91', '8+56=64'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,87 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[56, 83], Operations: ['65+26=91', '91-8=83'] Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 56+83=139, Resulting Numbers: [139] 139,87 unequal: No Solution Exploring Operation: 56*83=4648, Resulting Numbers: [4648] 4648,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 87:[8, 35], Operations: ['56-26=30', '65-30=35'] Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,87 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[8, 95], Operations: ['56-26=30', '65+30=95'] Exploring Operation: 8*95=760, Resulting Numbers: [760] 760,87 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[8, 65, 56, 26], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [8, 65, 30] Generated Node #0,0: 87:[8, 65, 30] Operation: 56-26=30 Moving to Node #0,0 Current State: 87:[8, 65, 30], Operations: ['56-26=30'] Exploring Operation: 65+30=95, Resulting Numbers: [8, 95] Generated Node #0,0,0: 87:[8, 95] Operation: 65+30=95 Moving to Node #0,0,0 Current State: 87:[8, 95], Operations: ['56-26=30', '65+30=95'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.923611
hs_5
sum_heuristic
[ 81, 11, 55, 51 ]
23
[ "81+11=92", "55-51=4", "92/4=23" ]
Current State: 23:[81, 11, 55, 51], Operations: [] Exploring Operation: 81+11=92, Resulting Numbers: [55, 51, 92] Generated Node #2: [55, 51, 92] from Operation: 81+11=92 Current State: 23:[55, 51, 92], Operations: ['81+11=92'] Exploring Operation: 55-51=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 55-51=4 Current State: 23:[92, 4], Operations: ['81+11=92', '55-51=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[81, 11, 55, 51], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [11, 55, 30] Generated Node #0,0: 23:[11, 55, 30] Operation: 81-51=30 Exploring Operation: 81-55=26, Resulting Numbers: [11, 51, 26] Generated Node #0,1: 23:[11, 51, 26] Operation: 81-55=26 Exploring Operation: 55-51=4, Resulting Numbers: [81, 11, 4] Generated Node #0,2: 23:[81, 11, 4] Operation: 55-51=4 Moving to Node #0,1 Current State: 23:[11, 51, 26], Operations: ['81-55=26'] Exploring Operation: 51-26=25, Resulting Numbers: [11, 25] Generated Node #0,1,0: 23:[11, 25] Operation: 51-26=25 Exploring Operation: 26-11=15, Resulting Numbers: [51, 15] Generated Node #0,1,1: 23:[51, 15] Operation: 26-11=15 Exploring Operation: 51-11=40, Resulting Numbers: [26, 40] Generated Node #0,1,2: 23:[26, 40] Operation: 51-11=40 Moving to Node #0,0 Current State: 23:[11, 55, 30], Operations: ['81-51=30'] Exploring Operation: 55/11=5, Resulting Numbers: [30, 5] Generated Node #0,0,0: 23:[30, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [30, 44] Generated Node #0,0,1: 23:[30, 44] Operation: 55-11=44 Exploring Operation: 55-30=25, Resulting Numbers: [11, 25] Generated Node #0,0,2: 23:[11, 25] Operation: 55-30=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[11, 25], Operations: ['81-51=30', '55-30=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,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,0 Current State: 23:[30, 5], Operations: ['81-51=30', '55/11=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[30, 44], Operations: ['81-51=30', '55-11=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,23 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 23:[81, 11, 4], Operations: ['55-51=4'] Exploring Operation: 81-4=77, Resulting Numbers: [11, 77] Generated Node #0,2,0: 23:[11, 77] Operation: 81-4=77 Exploring Operation: 11+4=15, Resulting Numbers: [81, 15] Generated Node #0,2,1: 23:[81, 15] Operation: 11+4=15 Exploring Operation: 81-11=70, Resulting Numbers: [4, 70] Generated Node #0,2,2: 23:[4, 70] Operation: 81-11=70 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[11, 77], Operations: ['55-51=4', '81-4=77'] Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,23 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[81, 15], Operations: ['55-51=4', '11+4=15'] Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,23 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,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:[4, 70], Operations: ['55-51=4', '81-11=70'] Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,23 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 23:[11, 25], Operations: ['81-55=26', '51-26=25'] Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,23 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[26, 40], Operations: ['81-55=26', '51-11=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[51, 15], Operations: ['81-55=26', '26-11=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 32, 57, 69 ]
76
[ "2*32=64", "69-57=12", "64+12=76" ]
Current State: 76:[2, 32, 57, 69], Operations: [] Exploring Operation: 2*32=64, Resulting Numbers: [57, 69, 64] Generated Node #2: [57, 69, 64] from Operation: 2*32=64 Current State: 76:[57, 69, 64], Operations: ['2*32=64'] Exploring Operation: 69-57=12, Resulting Numbers: [64, 12] Generated Node #3: [64, 12] from Operation: 69-57=12 Current State: 76:[64, 12], Operations: ['2*32=64', '69-57=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 32, 57, 69], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [2, 69, 25] Generated Node #0,0: 76:[2, 69, 25] Operation: 57-32=25 Moving to Node #0,0 Current State: 76:[2, 69, 25], Operations: ['57-32=25'] Exploring Operation: 69-25=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 76:[2, 44] Operation: 69-25=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 44], Operations: ['57-32=25', '69-25=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,76 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
[ 22, 30, 25, 90 ]
100
[ "25-22=3", "30/3=10", "90+10=100" ]
Current State: 100:[22, 30, 25, 90], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [30, 90, 3] Generated Node #2: [30, 90, 3] from Operation: 25-22=3 Current State: 100:[30, 90, 3], Operations: ['25-22=3'] Exploring Operation: 30/3=10, Resulting Numbers: [90, 10] Generated Node #3: [90, 10] from Operation: 30/3=10 Current State: 100:[90, 10], Operations: ['25-22=3', '30/3=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[22, 30, 25, 90], Operations: [] Exploring Operation: 22+30=52, Resulting Numbers: [25, 90, 52] Generated Node #0,0: 100:[25, 90, 52] Operation: 22+30=52 Exploring Operation: 90/30=3, Resulting Numbers: [22, 25, 3] Generated Node #0,1: 100:[22, 25, 3] Operation: 90/30=3 Exploring Operation: 30-25=5, Resulting Numbers: [22, 90, 5] Generated Node #0,2: 100:[22, 90, 5] Operation: 30-25=5 Exploring Operation: 30-22=8, Resulting Numbers: [25, 90, 8] Generated Node #0,3: 100:[25, 90, 8] Operation: 30-22=8 Exploring Operation: 90-30=60, Resulting Numbers: [22, 25, 60] Generated Node #0,4: 100:[22, 25, 60] Operation: 90-30=60 Moving to Node #0,1 Current State: 100:[22, 25, 3], Operations: ['90/30=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25, 25] Generated Node #0,1,0: 100:[25, 25] Operation: 22+3=25 Exploring Operation: 25-3=22, Resulting Numbers: [22, 22] Generated Node #0,1,1: 100:[22, 22] Operation: 25-3=22 Exploring Operation: 22+25=47, Resulting Numbers: [3, 47] Generated Node #0,1,2: 100:[3, 47] Operation: 22+25=47 Exploring Operation: 25-22=3, Resulting Numbers: [3, 3] Generated Node #0,1,3: 100:[3, 3] Operation: 25-22=3 Exploring Operation: 22-3=19, Resulting Numbers: [25, 19] Generated Node #0,1,4: 100:[25, 19] Operation: 22-3=19 Moving to Node #0,2 Current State: 100:[22, 90, 5], Operations: ['30-25=5'] Exploring Operation: 90+5=95, Resulting Numbers: [22, 95] Generated Node #0,2,0: 100:[22, 95] Operation: 90+5=95 Exploring Operation: 22+90=112, Resulting Numbers: [5, 112] Generated Node #0,2,1: 100:[5, 112] Operation: 22+90=112 Exploring Operation: 90/5=18, Resulting Numbers: [22, 18] Generated Node #0,2,2: 100:[22, 18] Operation: 90/5=18 Exploring Operation: 22-5=17, Resulting Numbers: [90, 17] Generated Node #0,2,3: 100:[90, 17] Operation: 22-5=17 Exploring Operation: 22+5=27, Resulting Numbers: [90, 27] Generated Node #0,2,4: 100:[90, 27] Operation: 22+5=27 Moving to Node #0,4 Current State: 100:[22, 25, 60], Operations: ['90-30=60'] Exploring Operation: 60-22=38, Resulting Numbers: [25, 38] Generated Node #0,4,0: 100:[25, 38] Operation: 60-22=38 Exploring Operation: 25-22=3, Resulting Numbers: [60, 3] Generated Node #0,4,1: 100:[60, 3] Operation: 25-22=3 Exploring Operation: 60-25=35, Resulting Numbers: [22, 35] Generated Node #0,4,2: 100:[22, 35] Operation: 60-25=35 Exploring Operation: 25+60=85, Resulting Numbers: [22, 85] Generated Node #0,4,3: 100:[22, 85] Operation: 25+60=85 Exploring Operation: 22+25=47, Resulting Numbers: [60, 47] Generated Node #0,4,4: 100:[60, 47] Operation: 22+25=47 Moving to Node #0,0 Current State: 100:[25, 90, 52], Operations: ['22+30=52'] Exploring Operation: 90-52=38, Resulting Numbers: [25, 38] Generated Node #0,0,0: 100:[25, 38] Operation: 90-52=38 Exploring Operation: 90-25=65, Resulting Numbers: [52, 65] Generated Node #0,0,1: 100:[52, 65] Operation: 90-25=65 Exploring Operation: 25+52=77, Resulting Numbers: [90, 77] Generated Node #0,0,2: 100:[90, 77] Operation: 25+52=77 Exploring Operation: 25+90=115, Resulting Numbers: [52, 115] Generated Node #0,0,3: 100:[52, 115] Operation: 25+90=115 Exploring Operation: 52-25=27, Resulting Numbers: [90, 27] Generated Node #0,0,4: 100:[90, 27] Operation: 52-25=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[25, 38], Operations: ['22+30=52', '90-52=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,100 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,100 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 100:[90, 27], Operations: ['22+30=52', '52-25=27'] Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,100 unequal: No Solution Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[52, 65], Operations: ['22+30=52', '90-25=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 52+65=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 52*65=3380, Resulting Numbers: [3380] 3380,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 100:[52, 115], Operations: ['22+30=52', '25+90=115'] Exploring Operation: 52+115=167, Resulting Numbers: [167] 167,100 unequal: No Solution Exploring Operation: 52*115=5980, Resulting Numbers: [5980] 5980,100 unequal: No Solution Exploring Operation: 115-52=63, Resulting Numbers: [63] 63,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[90, 77], Operations: ['22+30=52', '25+52=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,100 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 100:[25, 90, 8], Operations: ['30-22=8'] Exploring Operation: 90+8=98, Resulting Numbers: [25, 98] Generated Node #0,3,0: 100:[25, 98] Operation: 90+8=98 Exploring Operation: 25+8=33, Resulting Numbers: [90, 33] Generated Node #0,3,1: 100:[90, 33] Operation: 25+8=33 Exploring Operation: 25+90=115, Resulting Numbers: [8, 115] Generated Node #0,3,2: 100:[8, 115] Operation: 25+90=115 Exploring Operation: 90-25=65, Resulting Numbers: [8, 65] Generated Node #0,3,3: 100:[8, 65] Operation: 90-25=65 Exploring Operation: 25-8=17, Resulting Numbers: [90, 17] Generated Node #0,3,4: 100:[90, 17] Operation: 25-8=17 Moving to Node #0,1,0 Current State: 100:[25, 25], Operations: ['90/30=3', '22+3=25'] Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,100 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[25, 19], Operations: ['90/30=3', '22-3=19'] Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[3, 3], Operations: ['90/30=3', '25-22=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[25, 98], Operations: ['30-22=8', '90+8=98'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 25+98=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 25*98=2450, Resulting Numbers: [2450] 2450,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[22, 18], Operations: ['30-25=5', '90/5=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,100 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[3, 47], Operations: ['90/30=3', '22+25=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[22, 22], Operations: ['90/30=3', '25-3=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,100 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[22, 95], Operations: ['30-25=5', '90+5=95'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 22+95=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 22*95=2090, Resulting Numbers: [2090] 2090,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[60, 3], Operations: ['90-30=60', '25-22=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,100 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[22, 35], Operations: ['90-30=60', '60-25=35'] Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,100 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[25, 38], Operations: ['90-30=60', '60-22=38'] Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,100 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[90, 27], Operations: ['30-25=5', '22+5=27'] Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,100 unequal: No Solution Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[5, 112], Operations: ['30-25=5', '22+90=112'] Exploring Operation: 5+112=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 5*112=560, Resulting Numbers: [560] 560,100 unequal: No Solution Exploring Operation: 112-5=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[60, 47], Operations: ['90-30=60', '22+25=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,100 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[90, 17], Operations: ['30-22=8', '25-8=17'] Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,100 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[90, 17], Operations: ['30-25=5', '22-5=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,100 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[22, 85], Operations: ['90-30=60', '25+60=85'] Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,100 unequal: No Solution Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,100 unequal: No Solution Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[8, 65], Operations: ['30-22=8', '90-25=65'] Exploring Operation: 8*65=520, Resulting Numbers: [520] 520,100 unequal: No Solution Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[8, 115], Operations: ['30-22=8', '25+90=115'] Exploring Operation: 8*115=920, Resulting Numbers: [920] 920,100 unequal: No Solution Exploring Operation: 115-8=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 8+115=123, Resulting Numbers: [123] 123,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[90, 33], Operations: ['30-22=8', '25+8=33'] Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,100 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 16, 4, 4, 82 ]
66
[ "16+4=20", "4+82=86", "86-20=66" ]
Current State: 66:[16, 4, 4, 82], Operations: [] Exploring Operation: 16+4=20, Resulting Numbers: [82, 20] Generated Node #2: [82, 20] from Operation: 16+4=20 Current State: 66:[82, 20], Operations: ['16+4=20'] Exploring Operation: 4+82=86, Resulting Numbers: [20, 86] Generated Node #3: [20, 86] from Operation: 4+82=86 Current State: 66:[20, 86], Operations: ['16+4=20', '4+82=86'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[16, 4, 4, 82], Operations: [] Exploring Operation: 16/4=4, Resulting Numbers: [4, 82, 4] Generated Node #0,0: 66:[4, 82, 4] Operation: 16/4=4 Exploring Operation: 82-16=66, Resulting Numbers: [4, 4, 66] Generated Node #0,1: 66:[4, 4, 66] Operation: 82-16=66 Exploring Operation: 16-4=12, Resulting Numbers: [4, 82, 12] Generated Node #0,2: 66:[4, 82, 12] Operation: 16-4=12 Moving to Node #0,1 Current State: 66:[4, 4, 66], Operations: ['82-16=66'] Exploring Operation: 4/4=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 66:[66, 1] Operation: 4/4=1 Exploring Operation: 4-4=0, Resulting Numbers: [66, 0] Generated Node #0,1,1: 66:[66, 0] Operation: 4-4=0 Exploring Operation: 4+4=8, Resulting Numbers: [66, 8] Generated Node #0,1,2: 66:[66, 8] Operation: 4+4=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[66, 1], Operations: ['82-16=66', '4/4=1'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[16, 4, 4, 82], Operations: [] Exploring Operation: 82-16=66, Resulting Numbers: [4, 4, 66] Generated Node #0,1: 66:[4, 4, 66] Operation: 82-16=66 Moving to Node #0,1 Current State: 66:[4, 4, 66], Operations: ['82-16=66'] Exploring Operation: 4/4=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 66:[66, 1] Operation: 4/4=1 Moving to Node #0,1,0 Current State: 66:[66, 1], Operations: ['82-16=66', '4/4=1'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 55, 30, 64, 91 ]
70
[ "55+30=85", "64+91=155", "155-85=70" ]
Current State: 70:[55, 30, 64, 91], Operations: [] Exploring Operation: 55+30=85, Resulting Numbers: [64, 91, 85] Generated Node #2: [64, 91, 85] from Operation: 55+30=85 Current State: 70:[64, 91, 85], Operations: ['55+30=85'] Exploring Operation: 64+91=155, Resulting Numbers: [85, 155] Generated Node #3: [85, 155] from Operation: 64+91=155 Current State: 70:[85, 155], Operations: ['55+30=85', '64+91=155'] Exploring Operation: 155-85=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[55, 30, 64, 91], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [30, 64, 36] Generated Node #0,0: 70:[30, 64, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[30, 64, 36], Operations: ['91-55=36'] Exploring Operation: 64-30=34, Resulting Numbers: [36, 34] Generated Node #0,0,0: 70:[36, 34] Operation: 64-30=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[36, 34], Operations: ['91-55=36', '64-30=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[55, 30, 64, 91], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [30, 64, 36] Generated Node #0,0: 70:[30, 64, 36] Operation: 91-55=36 Moving to Node #0,0 Current State: 70:[30, 64, 36], Operations: ['91-55=36'] Exploring Operation: 64-30=34, Resulting Numbers: [36, 34] Generated Node #0,0,0: 70:[36, 34] Operation: 64-30=34 Moving to Node #0,0,0 Current State: 70:[36, 34], Operations: ['91-55=36', '64-30=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 25, 35, 84 ]
35
[ "84-84=0", "25*0=0", "35+0=35" ]
Current State: 35:[84, 25, 35, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [25, 35, 0] Generated Node #2: [25, 35, 0] from Operation: 84-84=0 Current State: 35:[25, 35, 0], Operations: ['84-84=0'] Exploring Operation: 25*0=0, Resulting Numbers: [35, 0] Generated Node #3: [35, 0] from Operation: 25*0=0 Current State: 35:[35, 0], Operations: ['84-84=0', '25*0=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[84, 25, 35, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [25, 35, 0] Generated Node #0,0: 35:[25, 35, 0] Operation: 84-84=0 Exploring Operation: 84-25=59, Resulting Numbers: [35, 84, 59] Generated Node #0,1: 35:[35, 84, 59] Operation: 84-25=59 Exploring Operation: 84/84=1, Resulting Numbers: [25, 35, 1] Generated Node #0,2: 35:[25, 35, 1] Operation: 84/84=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[25, 35, 1], Operations: ['84/84=1'] Exploring Operation: 25*1=25, Resulting Numbers: [35, 25] Generated Node #0,2,0: 35:[35, 25] Operation: 25*1=25 Exploring Operation: 25+1=26, Resulting Numbers: [35, 26] Generated Node #0,2,1: 35:[35, 26] Operation: 25+1=26 Exploring Operation: 35-25=10, Resulting Numbers: [1, 10] Generated Node #0,2,2: 35:[1, 10] Operation: 35-25=10 Moving to Node #0,2,2 Current State: 35:[1, 10], Operations: ['84/84=1', '35-25=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[35, 26], Operations: ['84/84=1', '25+1=26'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,35 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[35, 25], Operations: ['84/84=1', '25*1=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,35 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[25, 35, 0], Operations: ['84-84=0'] Exploring Operation: 25+0=25, Resulting Numbers: [35, 25] Generated Node #0,0,0: 35:[35, 25] Operation: 25+0=25 Exploring Operation: 35-25=10, Resulting Numbers: [0, 10] Generated Node #0,0,1: 35:[0, 10] Operation: 35-25=10 Exploring Operation: 25*0=0, Resulting Numbers: [35, 0] Generated Node #0,0,2: 35:[35, 0] Operation: 25*0=0 Moving to Node #0,0,2 Current State: 35:[35, 0], Operations: ['84-84=0', '25*0=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[84, 25, 35, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [25, 35, 0] Generated Node #0,0: 35:[25, 35, 0] Operation: 84-84=0 Moving to Node #0,0 Current State: 35:[25, 35, 0], Operations: ['84-84=0'] Exploring Operation: 25*0=0, Resulting Numbers: [35, 0] Generated Node #0,0,2: 35:[35, 0] Operation: 25*0=0 Moving to Node #0,0,2 Current State: 35:[35, 0], Operations: ['84-84=0', '25*0=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 96, 29, 1, 98 ]
26
[ "96+29=125", "1+98=99", "125-99=26" ]
Current State: 26:[96, 29, 1, 98], Operations: [] Exploring Operation: 96+29=125, Resulting Numbers: [1, 98, 125] Generated Node #2: [1, 98, 125] from Operation: 96+29=125 Current State: 26:[1, 98, 125], Operations: ['96+29=125'] Exploring Operation: 1+98=99, Resulting Numbers: [125, 99] Generated Node #3: [125, 99] from Operation: 1+98=99 Current State: 26:[125, 99], Operations: ['96+29=125', '1+98=99'] Exploring Operation: 125-99=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[96, 29, 1, 98], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [96, 98, 28] Generated Node #0,0: 26:[96, 98, 28] Operation: 29-1=28 Exploring Operation: 98-96=2, Resulting Numbers: [29, 1, 2] Generated Node #0,1: 26:[29, 1, 2] Operation: 98-96=2 Exploring Operation: 96-29=67, Resulting Numbers: [1, 98, 67] Generated Node #0,2: 26:[1, 98, 67] Operation: 96-29=67 Exploring Operation: 98-29=69, Resulting Numbers: [96, 1, 69] Generated Node #0,3: 26:[96, 1, 69] Operation: 98-29=69 Exploring Operation: 96-1=95, Resulting Numbers: [29, 98, 95] Generated Node #0,4: 26:[29, 98, 95] Operation: 96-1=95 Moving to Node #0,1 Current State: 26:[29, 1, 2], Operations: ['98-96=2'] Exploring Operation: 1*2=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 26:[29, 2] Operation: 1*2=2 Exploring Operation: 29*1=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 26:[2, 29] Operation: 29*1=29 Exploring Operation: 29-1=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 26:[2, 28] Operation: 29-1=28 Exploring Operation: 29-2=27, Resulting Numbers: [1, 27] Generated Node #0,1,3: 26:[1, 27] Operation: 29-2=27 Exploring Operation: 29/1=29, Resulting Numbers: [2, 29] Generated Node #0,1,4: 26:[2, 29] Operation: 29/1=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[2, 28], Operations: ['98-96=2', '29-1=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[96, 29, 1, 98], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [29, 1, 2] Generated Node #0,1: 26:[29, 1, 2] Operation: 98-96=2 Moving to Node #0,1 Current State: 26:[29, 1, 2], Operations: ['98-96=2'] Exploring Operation: 29-1=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 26:[2, 28] Operation: 29-1=28 Moving to Node #0,1,2 Current State: 26:[2, 28], Operations: ['98-96=2', '29-1=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 50, 17, 89, 42 ]
91
[ "42-17=25", "50/25=2", "89+2=91" ]
Current State: 91:[50, 17, 89, 42], Operations: [] Exploring Operation: 42-17=25, Resulting Numbers: [50, 89, 25] Generated Node #2: [50, 89, 25] from Operation: 42-17=25 Current State: 91:[50, 89, 25], Operations: ['42-17=25'] Exploring Operation: 50/25=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 50/25=2 Current State: 91:[89, 2], Operations: ['42-17=25', '50/25=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[50, 17, 89, 42], Operations: [] Exploring Operation: 50+42=92, Resulting Numbers: [17, 89, 92] Generated Node #0,0: 91:[17, 89, 92] Operation: 50+42=92 Exploring Operation: 50-42=8, Resulting Numbers: [17, 89, 8] Generated Node #0,1: 91:[17, 89, 8] Operation: 50-42=8 Exploring Operation: 42-17=25, Resulting Numbers: [50, 89, 25] Generated Node #0,2: 91:[50, 89, 25] Operation: 42-17=25 Exploring Operation: 50-17=33, Resulting Numbers: [89, 42, 33] Generated Node #0,3: 91:[89, 42, 33] Operation: 50-17=33 Moving to Node #0,0 Current State: 91:[17, 89, 92], Operations: ['50+42=92'] Exploring Operation: 92-89=3, Resulting Numbers: [17, 3] Generated Node #0,0,0: 91:[17, 3] Operation: 92-89=3 Exploring Operation: 89-17=72, Resulting Numbers: [92, 72] Generated Node #0,0,1: 91:[92, 72] Operation: 89-17=72 Exploring Operation: 92-17=75, Resulting Numbers: [89, 75] Generated Node #0,0,2: 91:[89, 75] Operation: 92-17=75 Exploring Operation: 17+89=106, Resulting Numbers: [92, 106] Generated Node #0,0,3: 91:[92, 106] Operation: 17+89=106 Moving to Node #0,1 Current State: 91:[17, 89, 8], Operations: ['50-42=8'] Exploring Operation: 17+8=25, Resulting Numbers: [89, 25] Generated Node #0,1,0: 91:[89, 25] Operation: 17+8=25 Exploring Operation: 89-8=81, Resulting Numbers: [17, 81] Generated Node #0,1,1: 91:[17, 81] Operation: 89-8=81 Exploring Operation: 17-8=9, Resulting Numbers: [89, 9] Generated Node #0,1,2: 91:[89, 9] Operation: 17-8=9 Exploring Operation: 89+8=97, Resulting Numbers: [17, 97] Generated Node #0,1,3: 91:[17, 97] Operation: 89+8=97 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[89, 9], Operations: ['50-42=8', '17-8=9'] Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,91 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[17, 97], Operations: ['50-42=8', '89+8=97'] Exploring Operation: 17*97=1649, Resulting Numbers: [1649] 1649,91 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 17+97=114, Resulting Numbers: [114] 114,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[89, 25], Operations: ['50-42=8', '17+8=25'] Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,91 unequal: No Solution Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[17, 81], Operations: ['50-42=8', '89-8=81'] Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,91 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[89, 42, 33], Operations: ['50-17=33'] Exploring Operation: 89-42=47, Resulting Numbers: [33, 47] Generated Node #0,3,0: 91:[33, 47] Operation: 89-42=47 Exploring Operation: 42-33=9, Resulting Numbers: [89, 9] Generated Node #0,3,1: 91:[89, 9] Operation: 42-33=9 Exploring Operation: 89+42=131, Resulting Numbers: [33, 131] Generated Node #0,3,2: 91:[33, 131] Operation: 89+42=131 Exploring Operation: 42+33=75, Resulting Numbers: [89, 75] Generated Node #0,3,3: 91:[89, 75] Operation: 42+33=75 Moving to Node #0,2 Current State: 91:[50, 89, 25], Operations: ['42-17=25'] Exploring Operation: 50+25=75, Resulting Numbers: [89, 75] Generated Node #0,2,0: 91:[89, 75] Operation: 50+25=75 Exploring Operation: 50-25=25, Resulting Numbers: [89, 25] Generated Node #0,2,1: 91:[89, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 91:[89, 2] Operation: 50/25=2 Exploring Operation: 89-50=39, Resulting Numbers: [25, 39] Generated Node #0,2,3: 91:[25, 39] Operation: 89-50=39 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[89, 2], Operations: ['42-17=25', '50/25=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[50, 17, 89, 42], Operations: [] Exploring Operation: 42-17=25, Resulting Numbers: [50, 89, 25] Generated Node #0,2: 91:[50, 89, 25] Operation: 42-17=25 Moving to Node #0,2 Current State: 91:[50, 89, 25], Operations: ['42-17=25'] Exploring Operation: 50/25=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 91:[89, 2] Operation: 50/25=2 Moving to Node #0,2,2 Current State: 91:[89, 2], Operations: ['42-17=25', '50/25=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 51, 3, 63, 75 ]
47
[ "75-63=12", "12/3=4", "51-4=47" ]
Current State: 47:[51, 3, 63, 75], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [51, 3, 12] Generated Node #2: [51, 3, 12] from Operation: 75-63=12 Current State: 47:[51, 3, 12], Operations: ['75-63=12'] Exploring Operation: 12/3=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 12/3=4 Current State: 47:[51, 4], Operations: ['75-63=12', '12/3=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[51, 3, 63, 75], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [63, 75, 48] Generated Node #0,0: 47:[63, 75, 48] Operation: 51-3=48 Exploring Operation: 75-3=72, Resulting Numbers: [51, 63, 72] Generated Node #0,1: 47:[51, 63, 72] Operation: 75-3=72 Exploring Operation: 63-3=60, Resulting Numbers: [51, 75, 60] Generated Node #0,2: 47:[51, 75, 60] Operation: 63-3=60 Exploring Operation: 75/3=25, Resulting Numbers: [51, 63, 25] Generated Node #0,3: 47:[51, 63, 25] Operation: 75/3=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[51, 63, 25], Operations: ['75/3=25'] Exploring Operation: 51+25=76, Resulting Numbers: [63, 76] Generated Node #0,3,0: 47:[63, 76] Operation: 51+25=76 Exploring Operation: 51-25=26, Resulting Numbers: [63, 26] Generated Node #0,3,1: 47:[63, 26] Operation: 51-25=26 Exploring Operation: 63-25=38, Resulting Numbers: [51, 38] Generated Node #0,3,2: 47:[51, 38] Operation: 63-25=38 Exploring Operation: 63+25=88, Resulting Numbers: [51, 88] Generated Node #0,3,3: 47:[51, 88] Operation: 63+25=88 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[51, 38], Operations: ['75/3=25', '63-25=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,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,3,1 Current State: 47:[63, 26], Operations: ['75/3=25', '51-25=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,47 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,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,3,0 Current State: 47:[63, 76], Operations: ['75/3=25', '51+25=76'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,47 unequal: No Solution Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,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,3,3 Current State: 47:[51, 88], Operations: ['75/3=25', '63+25=88'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,47 unequal: No Solution Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,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,0 Current State: 47:[63, 75, 48], Operations: ['51-3=48'] Exploring Operation: 63+75=138, Resulting Numbers: [48, 138] Generated Node #0,0,0: 47:[48, 138] Operation: 63+75=138 Exploring Operation: 75-48=27, Resulting Numbers: [63, 27] Generated Node #0,0,1: 47:[63, 27] Operation: 75-48=27 Exploring Operation: 63-48=15, Resulting Numbers: [75, 15] Generated Node #0,0,2: 47:[75, 15] Operation: 63-48=15 Exploring Operation: 75-63=12, Resulting Numbers: [48, 12] Generated Node #0,0,3: 47:[48, 12] Operation: 75-63=12 Moving to Node #0,0,1 Current State: 47:[63, 27], Operations: ['51-3=48', '75-48=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[48, 12], Operations: ['51-3=48', '75-63=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[75, 15], Operations: ['51-3=48', '63-48=15'] Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,47 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[48, 138], Operations: ['51-3=48', '63+75=138'] Exploring Operation: 48+138=186, Resulting Numbers: [186] 186,47 unequal: No Solution Exploring Operation: 138-48=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 48*138=6624, Resulting Numbers: [6624] 6624,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,1 Current State: 47:[51, 63, 72], Operations: ['75-3=72'] Exploring Operation: 51+63=114, Resulting Numbers: [72, 114] Generated Node #0,1,0: 47:[72, 114] Operation: 51+63=114 Exploring Operation: 63-51=12, Resulting Numbers: [72, 12] Generated Node #0,1,1: 47:[72, 12] Operation: 63-51=12 Exploring Operation: 72-63=9, Resulting Numbers: [51, 9] Generated Node #0,1,2: 47:[51, 9] Operation: 72-63=9 Exploring Operation: 72-51=21, Resulting Numbers: [63, 21] Generated Node #0,1,3: 47:[63, 21] Operation: 72-51=21 Moving to Node #0,1,2 Current State: 47:[51, 9], Operations: ['75-3=72', '72-63=9'] Exploring Operation: 51*9=459, Resulting Numbers: [459] 459,47 unequal: No Solution Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[63, 21], Operations: ['75-3=72', '72-51=21'] Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 63*21=1323, Resulting Numbers: [1323] 1323,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[72, 12], Operations: ['75-3=72', '63-51=12'] Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,47 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[72, 114], Operations: ['75-3=72', '51+63=114'] Exploring Operation: 114-72=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 72+114=186, Resulting Numbers: [186] 186,47 unequal: No Solution Exploring Operation: 72*114=8208, Resulting Numbers: [8208] 8208,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:[51, 75, 60], Operations: ['63-3=60'] Exploring Operation: 51+75=126, Resulting Numbers: [60, 126] Generated Node #0,2,0: 47:[60, 126] Operation: 51+75=126 Exploring Operation: 75-60=15, Resulting Numbers: [51, 15] Generated Node #0,2,1: 47:[51, 15] Operation: 75-60=15 Exploring Operation: 60-51=9, Resulting Numbers: [75, 9] Generated Node #0,2,2: 47:[75, 9] Operation: 60-51=9 Exploring Operation: 75-51=24, Resulting Numbers: [60, 24] Generated Node #0,2,3: 47:[60, 24] Operation: 75-51=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[51, 15], Operations: ['63-3=60', '75-60=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,47 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,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,2,3 Current State: 47:[60, 24], Operations: ['63-3=60', '75-51=24'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,47 unequal: No Solution Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,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,2,2 Current State: 47:[75, 9], Operations: ['63-3=60', '60-51=9'] Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,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,2,0 Current State: 47:[60, 126], Operations: ['63-3=60', '51+75=126'] Exploring Operation: 60*126=7560, Resulting Numbers: [7560] 7560,47 unequal: No Solution Exploring Operation: 60+126=186, Resulting Numbers: [186] 186,47 unequal: No Solution Exploring Operation: 126-60=66, Resulting Numbers: [66] 66,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 No solution found.
0
hs_4
mult_heuristic
[ 5, 37, 26, 40 ]
46
[ "37-5=32", "40-26=14", "32+14=46" ]
Current State: 46:[5, 37, 26, 40], Operations: [] Exploring Operation: 37-5=32, Resulting Numbers: [26, 40, 32] Generated Node #2: [26, 40, 32] from Operation: 37-5=32 Current State: 46:[26, 40, 32], Operations: ['37-5=32'] Exploring Operation: 40-26=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 40-26=14 Current State: 46:[32, 14], Operations: ['37-5=32', '40-26=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[5, 37, 26, 40], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [5, 26, 3] Generated Node #0,0: 46:[5, 26, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[5, 26, 3], Operations: ['40-37=3'] Exploring Operation: 26-5=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 46:[3, 21] Operation: 26-5=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[3, 21], Operations: ['40-37=3', '26-5=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 2, 20, 63 ]
78
[ "3+2=5", "20+63=83", "83-5=78" ]
Current State: 78:[3, 2, 20, 63], Operations: [] Exploring Operation: 3+2=5, Resulting Numbers: [20, 63, 5] Generated Node #2: [20, 63, 5] from Operation: 3+2=5 Current State: 78:[20, 63, 5], Operations: ['3+2=5'] Exploring Operation: 20+63=83, Resulting Numbers: [5, 83] Generated Node #3: [5, 83] from Operation: 20+63=83 Current State: 78:[5, 83], Operations: ['3+2=5', '20+63=83'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[3, 2, 20, 63], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [3, 2, 43] Generated Node #0,0: 78:[3, 2, 43] Operation: 63-20=43 Moving to Node #0,0 Current State: 78:[3, 2, 43], Operations: ['63-20=43'] Exploring Operation: 43-3=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 78:[2, 40] Operation: 43-3=40 Moving to Node #0,0,0 Current State: 78:[2, 40], Operations: ['63-20=43', '43-3=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 82, 21, 59, 36 ]
23
[ "82+36=118", "118/59=2", "21+2=23" ]
Current State: 23:[82, 21, 59, 36], Operations: [] Exploring Operation: 82+36=118, Resulting Numbers: [21, 59, 118] Generated Node #2: [21, 59, 118] from Operation: 82+36=118 Current State: 23:[21, 59, 118], Operations: ['82+36=118'] Exploring Operation: 118/59=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 118/59=2 Current State: 23:[21, 2], Operations: ['82+36=118', '118/59=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[82, 21, 59, 36], Operations: [] Exploring Operation: 59-36=23, Resulting Numbers: [82, 21, 23] Generated Node #0,0: 23:[82, 21, 23] Operation: 59-36=23 Exploring Operation: 82-59=23, Resulting Numbers: [21, 36, 23] Generated Node #0,1: 23:[21, 36, 23] Operation: 82-59=23 Exploring Operation: 82-36=46, Resulting Numbers: [21, 59, 46] Generated Node #0,2: 23:[21, 59, 46] Operation: 82-36=46 Exploring Operation: 59-21=38, Resulting Numbers: [82, 36, 38] Generated Node #0,3: 23:[82, 36, 38] Operation: 59-21=38 Exploring Operation: 82-21=61, Resulting Numbers: [59, 36, 61] Generated Node #0,4: 23:[59, 36, 61] Operation: 82-21=61 Moving to Node #0,1 Current State: 23:[21, 36, 23], Operations: ['82-59=23'] Exploring Operation: 23-21=2, Resulting Numbers: [36, 2] Generated Node #0,1,0: 23:[36, 2] Operation: 23-21=2 Exploring Operation: 36-23=13, Resulting Numbers: [21, 13] Generated Node #0,1,1: 23:[21, 13] Operation: 36-23=13 Exploring Operation: 21+36=57, Resulting Numbers: [23, 57] Generated Node #0,1,2: 23:[23, 57] Operation: 21+36=57 Exploring Operation: 21+23=44, Resulting Numbers: [36, 44] Generated Node #0,1,3: 23:[36, 44] Operation: 21+23=44 Exploring Operation: 36-21=15, Resulting Numbers: [23, 15] Generated Node #0,1,4: 23:[23, 15] Operation: 36-21=15 Moving to Node #0,2 Current State: 23:[21, 59, 46], Operations: ['82-36=46'] Exploring Operation: 21+46=67, Resulting Numbers: [59, 67] Generated Node #0,2,0: 23:[59, 67] Operation: 21+46=67 Exploring Operation: 59-21=38, Resulting Numbers: [46, 38] Generated Node #0,2,1: 23:[46, 38] Operation: 59-21=38 Exploring Operation: 59-46=13, Resulting Numbers: [21, 13] Generated Node #0,2,2: 23:[21, 13] Operation: 59-46=13 Exploring Operation: 46-21=25, Resulting Numbers: [59, 25] Generated Node #0,2,3: 23:[59, 25] Operation: 46-21=25 Exploring Operation: 21+59=80, Resulting Numbers: [46, 80] Generated Node #0,2,4: 23:[46, 80] Operation: 21+59=80 Moving to Node #0,0 Current State: 23:[82, 21, 23], Operations: ['59-36=23'] Exploring Operation: 82-21=61, Resulting Numbers: [23, 61] Generated Node #0,0,0: 23:[23, 61] Operation: 82-21=61 Exploring Operation: 82+21=103, Resulting Numbers: [23, 103] Generated Node #0,0,1: 23:[23, 103] Operation: 82+21=103 Exploring Operation: 23-21=2, Resulting Numbers: [82, 2] Generated Node #0,0,2: 23:[82, 2] Operation: 23-21=2 Exploring Operation: 82-23=59, Resulting Numbers: [21, 59] Generated Node #0,0,3: 23:[21, 59] Operation: 82-23=59 Exploring Operation: 21+23=44, Resulting Numbers: [82, 44] Generated Node #0,0,4: 23:[82, 44] Operation: 21+23=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[23, 61], Operations: ['59-36=23', '82-21=61'] Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,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:[21, 59], Operations: ['59-36=23', '82-23=59'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 21*59=1239, Resulting Numbers: [1239] 1239,23 unequal: No Solution Exploring Operation: 21+59=80, Resulting Numbers: [80] 80,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:[23, 103], Operations: ['59-36=23', '82+21=103'] Exploring Operation: 23+103=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 103-23=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 23*103=2369, Resulting Numbers: [2369] 2369,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:[82, 2], Operations: ['59-36=23', '23-21=2'] Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,23 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[82, 44], Operations: ['59-36=23', '21+23=44'] Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,23 unequal: No Solution Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 23:[82, 36, 38], Operations: ['59-21=38'] Exploring Operation: 82-36=46, Resulting Numbers: [38, 46] Generated Node #0,3,0: 23:[38, 46] Operation: 82-36=46 Exploring Operation: 82+36=118, Resulting Numbers: [38, 118] Generated Node #0,3,1: 23:[38, 118] Operation: 82+36=118 Exploring Operation: 82-38=44, Resulting Numbers: [36, 44] Generated Node #0,3,2: 23:[36, 44] Operation: 82-38=44 Exploring Operation: 38-36=2, Resulting Numbers: [82, 2] Generated Node #0,3,3: 23:[82, 2] Operation: 38-36=2 Exploring Operation: 82+38=120, Resulting Numbers: [36, 120] Generated Node #0,3,4: 23:[36, 120] Operation: 82+38=120 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[36, 44], Operations: ['59-21=38', '82-38=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,23 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[38, 46], Operations: ['59-21=38', '82-36=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,23 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[82, 2], Operations: ['59-21=38', '38-36=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[38, 118], Operations: ['59-21=38', '82+36=118'] Exploring Operation: 38*118=4484, Resulting Numbers: [4484] 4484,23 unequal: No Solution Exploring Operation: 118-38=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 38+118=156, Resulting Numbers: [156] 156,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 23:[36, 120], Operations: ['59-21=38', '82+38=120'] Exploring Operation: 36*120=4320, Resulting Numbers: [4320] 4320,23 unequal: No Solution Exploring Operation: 120-36=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 36+120=156, Resulting Numbers: [156] 156,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 23:[59, 36, 61], Operations: ['82-21=61'] Exploring Operation: 61-36=25, Resulting Numbers: [59, 25] Generated Node #0,4,0: 23:[59, 25] Operation: 61-36=25 Exploring Operation: 59-36=23, Resulting Numbers: [61, 23] Generated Node #0,4,1: 23:[61, 23] Operation: 59-36=23 Exploring Operation: 59+61=120, Resulting Numbers: [36, 120] Generated Node #0,4,2: 23:[36, 120] Operation: 59+61=120 Exploring Operation: 61-59=2, Resulting Numbers: [36, 2] Generated Node #0,4,3: 23:[36, 2] Operation: 61-59=2 Exploring Operation: 59+36=95, Resulting Numbers: [61, 95] Generated Node #0,4,4: 23:[61, 95] Operation: 59+36=95 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 23:[36, 2], Operations: ['82-21=61', '61-59=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,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,4,0 Current State: 23:[59, 25], Operations: ['82-21=61', '61-36=25'] Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,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,4,1 Current State: 23:[61, 23], Operations: ['82-21=61', '59-36=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,23 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,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,4,2 Current State: 23:[36, 120], Operations: ['82-21=61', '59+61=120'] Exploring Operation: 36+120=156, Resulting Numbers: [156] 156,23 unequal: No Solution Exploring Operation: 36*120=4320, Resulting Numbers: [4320] 4320,23 unequal: No Solution Exploring Operation: 120-36=84, Resulting Numbers: [84] 84,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,4,4 Current State: 23:[61, 95], Operations: ['82-21=61', '59+36=95'] Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 61*95=5795, Resulting Numbers: [5795] 5795,23 unequal: No Solution Exploring Operation: 61+95=156, Resulting Numbers: [156] 156,23 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: 23:[23, 15], Operations: ['82-59=23', '36-21=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,23 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[21, 13], Operations: ['82-36=46', '59-46=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,23 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[21, 13], Operations: ['82-59=23', '36-23=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,23 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[36, 2], Operations: ['82-59=23', '23-21=2'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[36, 44], Operations: ['82-59=23', '21+23=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,23 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[23, 57], Operations: ['82-59=23', '21+36=57'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,23 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[46, 38], Operations: ['82-36=46', '59-21=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,23 unequal: No Solution Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[59, 25], Operations: ['82-36=46', '46-21=25'] Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,23 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[46, 80], Operations: ['82-36=46', '21+59=80'] Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[59, 67], Operations: ['82-36=46', '21+46=67'] Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic