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
[ 40, 3, 7, 3 ]
38
[ "40+7=47", "3*3=9", "47-9=38" ]
Current State: 38:[40, 3, 7, 3], Operations: [] Exploring Operation: 40+7=47, Resulting Numbers: [3, 3, 47] Generated Node #2: [3, 3, 47] from Operation: 40+7=47 Current State: 38:[3, 3, 47], Operations: ['40+7=47'] Exploring Operation: 3*3=9, Resulting Numbers: [47, 9] Generated Node #3: [47, 9] from Operation: 3*3=9 Current State: 38:[47, 9], Operations: ['40+7=47', '3*3=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[40, 3, 7, 3], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [40, 3, 4] Generated Node #0,0: 38:[40, 3, 4] Operation: 7-3=4 Exploring Operation: 3*7=21, Resulting Numbers: [40, 3, 21] Generated Node #0,1: 38:[40, 3, 21] Operation: 3*7=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[40, 3, 4], Operations: ['7-3=4'] Exploring Operation: 40-4=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 38:[3, 36] Operation: 40-4=36 Exploring Operation: 40-3=37, Resulting Numbers: [4, 37] Generated Node #0,0,1: 38:[4, 37] Operation: 40-3=37 Moving to Node #0,0,0 Current State: 38:[3, 36], Operations: ['7-3=4', '40-4=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[4, 37], Operations: ['7-3=4', '40-3=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[40, 3, 21], Operations: ['3*7=21'] Exploring Operation: 40-3=37, Resulting Numbers: [21, 37] Generated Node #0,1,0: 38:[21, 37] Operation: 40-3=37 Exploring Operation: 40-21=19, Resulting Numbers: [3, 19] Generated Node #0,1,1: 38:[3, 19] Operation: 40-21=19 Moving to Node #0,1,1 Current State: 38:[3, 19], Operations: ['3*7=21', '40-21=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[21, 37], Operations: ['3*7=21', '40-3=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 37, 21, 23 ]
41
[ "40-37=3", "21+23=44", "44-3=41" ]
Current State: 41:[40, 37, 21, 23], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [21, 23, 3] Generated Node #2: [21, 23, 3] from Operation: 40-37=3 Current State: 41:[21, 23, 3], Operations: ['40-37=3'] Exploring Operation: 21+23=44, Resulting Numbers: [3, 44] Generated Node #3: [3, 44] from Operation: 21+23=44 Current State: 41:[3, 44], Operations: ['40-37=3', '21+23=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[40, 37, 21, 23], Operations: [] Exploring Operation: 21+23=44, Resulting Numbers: [40, 37, 44] Generated Node #0,0: 41:[40, 37, 44] Operation: 21+23=44 Exploring Operation: 37+23=60, Resulting Numbers: [40, 21, 60] Generated Node #0,1: 41:[40, 21, 60] Operation: 37+23=60 Exploring Operation: 37+21=58, Resulting Numbers: [40, 23, 58] Generated Node #0,2: 41:[40, 23, 58] Operation: 37+21=58 Moving to Node #0,0 Current State: 41:[40, 37, 44], Operations: ['21+23=44'] Exploring Operation: 40+37=77, Resulting Numbers: [44, 77] Generated Node #0,0,0: 41:[44, 77] Operation: 40+37=77 Exploring Operation: 44-37=7, Resulting Numbers: [40, 7] Generated Node #0,0,1: 41:[40, 7] Operation: 44-37=7 Exploring Operation: 40-37=3, Resulting Numbers: [44, 3] Generated Node #0,0,2: 41:[44, 3] Operation: 40-37=3 Moving to Node #0,2 Current State: 41:[40, 23, 58], Operations: ['37+21=58'] Exploring Operation: 58-23=35, Resulting Numbers: [40, 35] Generated Node #0,2,0: 41:[40, 35] Operation: 58-23=35 Exploring Operation: 40+23=63, Resulting Numbers: [58, 63] Generated Node #0,2,1: 41:[58, 63] Operation: 40+23=63 Exploring Operation: 40-23=17, Resulting Numbers: [58, 17] Generated Node #0,2,2: 41:[58, 17] Operation: 40-23=17 Moving to Node #0,1 Current State: 41:[40, 21, 60], Operations: ['37+23=60'] Exploring Operation: 40-21=19, Resulting Numbers: [60, 19] Generated Node #0,1,0: 41:[60, 19] Operation: 40-21=19 Exploring Operation: 40+21=61, Resulting Numbers: [60, 61] Generated Node #0,1,1: 41:[60, 61] Operation: 40+21=61 Exploring Operation: 60-21=39, Resulting Numbers: [40, 39] Generated Node #0,1,2: 41:[40, 39] Operation: 60-21=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[40, 39], Operations: ['37+23=60', '60-21=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,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:[60, 61], Operations: ['37+23=60', '40+21=61'] Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,41 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,41 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,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,0 Current State: 41:[60, 19], Operations: ['37+23=60', '40-21=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[40, 37, 21, 23], Operations: [] Exploring Operation: 37+23=60, Resulting Numbers: [40, 21, 60] Generated Node #0,1: 41:[40, 21, 60] Operation: 37+23=60 Moving to Node #0,1 Current State: 41:[40, 21, 60], Operations: ['37+23=60'] Exploring Operation: 40-21=19, Resulting Numbers: [60, 19] Generated Node #0,1,0: 41:[60, 19] Operation: 40-21=19 Moving to Node #0,1,0 Current State: 41:[60, 19], Operations: ['37+23=60', '40-21=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 26, 60, 30, 73 ]
60
[ "26*30=780", "73-60=13", "780/13=60" ]
Current State: 60:[26, 60, 30, 73], Operations: [] Exploring Operation: 26*30=780, Resulting Numbers: [60, 73, 780] Generated Node #2: [60, 73, 780] from Operation: 26*30=780 Current State: 60:[60, 73, 780], Operations: ['26*30=780'] Exploring Operation: 73-60=13, Resulting Numbers: [780, 13] Generated Node #3: [780, 13] from Operation: 73-60=13 Current State: 60:[780, 13], Operations: ['26*30=780', '73-60=13'] Exploring Operation: 780/13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[26, 60, 30, 73], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [26, 30, 13] Generated Node #0,0: 60:[26, 30, 13] Operation: 73-60=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[26, 30, 13], Operations: ['73-60=13'] Exploring Operation: 26/13=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 60:[30, 2] Operation: 26/13=2 Moving to Node #0,0,0 Current State: 60:[30, 2], Operations: ['73-60=13', '26/13=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[26, 60, 30, 73], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [26, 30, 13] Generated Node #0,0: 60:[26, 30, 13] Operation: 73-60=13 Moving to Node #0,0 Current State: 60:[26, 30, 13], Operations: ['73-60=13'] Exploring Operation: 26/13=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 60:[30, 2] Operation: 26/13=2 Moving to Node #0,0,0 Current State: 60:[30, 2], Operations: ['73-60=13', '26/13=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 54, 87, 18, 24 ]
78
[ "24-18=6", "54/6=9", "87-9=78" ]
Current State: 78:[54, 87, 18, 24], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [54, 87, 6] Generated Node #2: [54, 87, 6] from Operation: 24-18=6 Current State: 78:[54, 87, 6], Operations: ['24-18=6'] Exploring Operation: 54/6=9, Resulting Numbers: [87, 9] Generated Node #3: [87, 9] from Operation: 54/6=9 Current State: 78:[87, 9], Operations: ['24-18=6', '54/6=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[54, 87, 18, 24], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [87, 24, 3] Generated Node #0,0: 78:[87, 24, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[87, 24, 3], Operations: ['54/18=3'] Exploring Operation: 87/3=29, Resulting Numbers: [24, 29] Generated Node #0,0,0: 78:[24, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[24, 29], Operations: ['54/18=3', '87/3=29'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,78 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
[ 62, 15, 44, 19 ]
14
[ "62+15=77", "44+19=63", "77-63=14" ]
Current State: 14:[62, 15, 44, 19], Operations: [] Exploring Operation: 62+15=77, Resulting Numbers: [44, 19, 77] Generated Node #2: [44, 19, 77] from Operation: 62+15=77 Current State: 14:[44, 19, 77], Operations: ['62+15=77'] Exploring Operation: 44+19=63, Resulting Numbers: [77, 63] Generated Node #3: [77, 63] from Operation: 44+19=63 Current State: 14:[77, 63], Operations: ['62+15=77', '44+19=63'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[62, 15, 44, 19], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [15, 19, 18] Generated Node #0,0: 14:[15, 19, 18] Operation: 62-44=18 Exploring Operation: 62-19=43, Resulting Numbers: [15, 44, 43] Generated Node #0,1: 14:[15, 44, 43] Operation: 62-19=43 Moving to Node #0,0 Current State: 14:[15, 19, 18], Operations: ['62-44=18'] Exploring Operation: 19-15=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 14:[18, 4] Operation: 19-15=4 Exploring Operation: 19-18=1, Resulting Numbers: [15, 1] Generated Node #0,0,1: 14:[15, 1] Operation: 19-18=1 Moving to Node #0,1 Current State: 14:[15, 44, 43], Operations: ['62-19=43'] Exploring Operation: 44-43=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 14:[15, 1] Operation: 44-43=1 Exploring Operation: 44-15=29, Resulting Numbers: [43, 29] Generated Node #0,1,1: 14:[43, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[15, 1], Operations: ['62-19=43', '44-43=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[62, 15, 44, 19], Operations: [] Exploring Operation: 62-19=43, Resulting Numbers: [15, 44, 43] Generated Node #0,1: 14:[15, 44, 43] Operation: 62-19=43 Moving to Node #0,1 Current State: 14:[15, 44, 43], Operations: ['62-19=43'] Exploring Operation: 44-43=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 14:[15, 1] Operation: 44-43=1 Moving to Node #0,1,0 Current State: 14:[15, 1], Operations: ['62-19=43', '44-43=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 39, 48, 40, 38 ]
57
[ "40-38=2", "48*2=96", "96-39=57" ]
Current State: 57:[39, 48, 40, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [39, 48, 2] Generated Node #2: [39, 48, 2] from Operation: 40-38=2 Current State: 57:[39, 48, 2], Operations: ['40-38=2'] Exploring Operation: 48*2=96, Resulting Numbers: [39, 96] Generated Node #3: [39, 96] from Operation: 48*2=96 Current State: 57:[39, 96], Operations: ['40-38=2', '48*2=96'] Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[39, 48, 40, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [39, 48, 2] Generated Node #0,0: 57:[39, 48, 2] Operation: 40-38=2 Exploring Operation: 39-38=1, Resulting Numbers: [48, 40, 1] Generated Node #0,1: 57:[48, 40, 1] Operation: 39-38=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[39, 48, 2], Operations: ['40-38=2'] Exploring Operation: 48-39=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 57:[2, 9] Operation: 48-39=9 Exploring Operation: 48/2=24, Resulting Numbers: [39, 24] Generated Node #0,0,1: 57:[39, 24] Operation: 48/2=24 Moving to Node #0,0,0 Current State: 57:[2, 9], Operations: ['40-38=2', '48-39=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[39, 24], Operations: ['40-38=2', '48/2=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,57 unequal: No Solution No 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: 57:[48, 40, 1], Operations: ['39-38=1'] Exploring Operation: 48+1=49, Resulting Numbers: [40, 49] Generated Node #0,1,0: 57:[40, 49] Operation: 48+1=49 Exploring Operation: 48-40=8, Resulting Numbers: [1, 8] Generated Node #0,1,1: 57:[1, 8] Operation: 48-40=8 Moving to Node #0,1,1 Current State: 57:[1, 8], Operations: ['39-38=1', '48-40=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[40, 49], Operations: ['39-38=1', '48+1=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,57 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,57 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
[ 57, 85, 94, 11 ]
59
[ "57+85=142", "94-11=83", "142-83=59" ]
Current State: 59:[57, 85, 94, 11], Operations: [] Exploring Operation: 57+85=142, Resulting Numbers: [94, 11, 142] Generated Node #2: [94, 11, 142] from Operation: 57+85=142 Current State: 59:[94, 11, 142], Operations: ['57+85=142'] Exploring Operation: 94-11=83, Resulting Numbers: [142, 83] Generated Node #3: [142, 83] from Operation: 94-11=83 Current State: 59:[142, 83], Operations: ['57+85=142', '94-11=83'] Exploring Operation: 142-83=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 85, 94, 11], Operations: [] Exploring Operation: 85-11=74, Resulting Numbers: [57, 94, 74] Generated Node #0,0: 59:[57, 94, 74] Operation: 85-11=74 Moving to Node #0,0 Current State: 59:[57, 94, 74], Operations: ['85-11=74'] Exploring Operation: 94-57=37, Resulting Numbers: [74, 37] Generated Node #0,0,0: 59:[74, 37] Operation: 94-57=37 Moving to Node #0,0,0 Current State: 59:[74, 37], Operations: ['85-11=74', '94-57=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,59 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 41, 98, 13 ]
63
[ "18*98=1764", "41-13=28", "1764/28=63" ]
Current State: 63:[18, 41, 98, 13], Operations: [] Exploring Operation: 18*98=1764, Resulting Numbers: [41, 13, 1764] Generated Node #2: [41, 13, 1764] from Operation: 18*98=1764 Current State: 63:[41, 13, 1764], Operations: ['18*98=1764'] Exploring Operation: 41-13=28, Resulting Numbers: [1764, 28] Generated Node #3: [1764, 28] from Operation: 41-13=28 Current State: 63:[1764, 28], Operations: ['18*98=1764', '41-13=28'] Exploring Operation: 1764/28=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[18, 41, 98, 13], Operations: [] Exploring Operation: 98-41=57, Resulting Numbers: [18, 13, 57] Generated Node #0,0: 63:[18, 13, 57] Operation: 98-41=57 Exploring Operation: 41-18=23, Resulting Numbers: [98, 13, 23] Generated Node #0,1: 63:[98, 13, 23] Operation: 41-18=23 Exploring Operation: 18+41=59, Resulting Numbers: [98, 13, 59] Generated Node #0,2: 63:[98, 13, 59] Operation: 18+41=59 Exploring Operation: 98-18=80, Resulting Numbers: [41, 13, 80] Generated Node #0,3: 63:[41, 13, 80] Operation: 98-18=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[18, 13, 57], Operations: ['98-41=57'] Exploring Operation: 13+57=70, Resulting Numbers: [18, 70] Generated Node #0,0,0: 63:[18, 70] Operation: 13+57=70 Exploring Operation: 18-13=5, Resulting Numbers: [57, 5] Generated Node #0,0,1: 63:[57, 5] Operation: 18-13=5 Exploring Operation: 18+13=31, Resulting Numbers: [57, 31] Generated Node #0,0,2: 63:[57, 31] Operation: 18+13=31 Exploring Operation: 18+57=75, Resulting Numbers: [13, 75] Generated Node #0,0,3: 63:[13, 75] Operation: 18+57=75 Moving to Node #0,0,1 Current State: 63:[57, 5], Operations: ['98-41=57', '18-13=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,63 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[18, 70], Operations: ['98-41=57', '13+57=70'] Exploring Operation: 18+70=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 18*70=1260, Resulting Numbers: [1260] 1260,63 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[13, 75], Operations: ['98-41=57', '18+57=75'] Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,63 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[57, 31], Operations: ['98-41=57', '18+13=31'] Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,63 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[98, 13, 23], Operations: ['41-18=23'] Exploring Operation: 23-13=10, Resulting Numbers: [98, 10] Generated Node #0,1,0: 63:[98, 10] Operation: 23-13=10 Exploring Operation: 98+13=111, Resulting Numbers: [23, 111] Generated Node #0,1,1: 63:[23, 111] Operation: 98+13=111 Exploring Operation: 98-23=75, Resulting Numbers: [13, 75] Generated Node #0,1,2: 63:[13, 75] Operation: 98-23=75 Exploring Operation: 98-13=85, Resulting Numbers: [23, 85] Generated Node #0,1,3: 63:[23, 85] Operation: 98-13=85 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[13, 75], Operations: ['41-18=23', '98-23=75'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,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,3 Current State: 63:[23, 85], Operations: ['41-18=23', '98-13=85'] Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,63 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,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:[98, 10], Operations: ['41-18=23', '23-13=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,63 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[23, 111], Operations: ['41-18=23', '98+13=111'] Exploring Operation: 23*111=2553, Resulting Numbers: [2553] 2553,63 unequal: No Solution Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 23+111=134, Resulting Numbers: [134] 134,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,3 Current State: 63:[41, 13, 80], Operations: ['98-18=80'] Exploring Operation: 80-13=67, Resulting Numbers: [41, 67] Generated Node #0,3,0: 63:[41, 67] Operation: 80-13=67 Exploring Operation: 41+13=54, Resulting Numbers: [80, 54] Generated Node #0,3,1: 63:[80, 54] Operation: 41+13=54 Exploring Operation: 41-13=28, Resulting Numbers: [80, 28] Generated Node #0,3,2: 63:[80, 28] Operation: 41-13=28 Exploring Operation: 80-41=39, Resulting Numbers: [13, 39] Generated Node #0,3,3: 63:[13, 39] Operation: 80-41=39 Moving to Node #0,3,3 Current State: 63:[13, 39], Operations: ['98-18=80', '80-41=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,63 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[80, 28], Operations: ['98-18=80', '41-13=28'] Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,63 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[41, 67], Operations: ['98-18=80', '80-13=67'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 41*67=2747, Resulting Numbers: [2747] 2747,63 unequal: No Solution Exploring Operation: 41+67=108, Resulting Numbers: [108] 108,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[80, 54], Operations: ['98-18=80', '41+13=54'] Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,63 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,63 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[98, 13, 59], Operations: ['18+41=59'] Exploring Operation: 98+13=111, Resulting Numbers: [59, 111] Generated Node #0,2,0: 63:[59, 111] Operation: 98+13=111 Exploring Operation: 13+59=72, Resulting Numbers: [98, 72] Generated Node #0,2,1: 63:[98, 72] Operation: 13+59=72 Exploring Operation: 98-59=39, Resulting Numbers: [13, 39] Generated Node #0,2,2: 63:[13, 39] Operation: 98-59=39 Exploring Operation: 98-13=85, Resulting Numbers: [59, 85] Generated Node #0,2,3: 63:[59, 85] Operation: 98-13=85 Moving to Node #0,2,2 Current State: 63:[13, 39], Operations: ['18+41=59', '98-59=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,63 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[59, 85], Operations: ['18+41=59', '98-13=85'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,63 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[98, 72], Operations: ['18+41=59', '13+59=72'] Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,63 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[59, 111], Operations: ['18+41=59', '98+13=111'] Exploring Operation: 59*111=6549, Resulting Numbers: [6549] 6549,63 unequal: No Solution Exploring Operation: 111-59=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 59+111=170, Resulting Numbers: [170] 170,63 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
[ 66, 57, 19, 56 ]
47
[ "66-19=47", "57-56=1", "47*1=47" ]
Current State: 47:[66, 57, 19, 56], Operations: [] Exploring Operation: 66-19=47, Resulting Numbers: [57, 56, 47] Generated Node #2: [57, 56, 47] from Operation: 66-19=47 Current State: 47:[57, 56, 47], Operations: ['66-19=47'] Exploring Operation: 57-56=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 57-56=1 Current State: 47:[47, 1], Operations: ['66-19=47', '57-56=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[66, 57, 19, 56], Operations: [] Exploring Operation: 66+19=85, Resulting Numbers: [57, 56, 85] Generated Node #0,0: 47:[57, 56, 85] Operation: 66+19=85 Exploring Operation: 56-19=37, Resulting Numbers: [66, 57, 37] Generated Node #0,1: 47:[66, 57, 37] Operation: 56-19=37 Exploring Operation: 66-19=47, Resulting Numbers: [57, 56, 47] Generated Node #0,2: 47:[57, 56, 47] Operation: 66-19=47 Exploring Operation: 57-19=38, Resulting Numbers: [66, 56, 38] Generated Node #0,3: 47:[66, 56, 38] Operation: 57-19=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[57, 56, 47], Operations: ['66-19=47'] Exploring Operation: 57+56=113, Resulting Numbers: [47, 113] Generated Node #0,2,0: 47:[47, 113] Operation: 57+56=113 Exploring Operation: 57-56=1, Resulting Numbers: [47, 1] Generated Node #0,2,1: 47:[47, 1] Operation: 57-56=1 Exploring Operation: 56-47=9, Resulting Numbers: [57, 9] Generated Node #0,2,2: 47:[57, 9] Operation: 56-47=9 Exploring Operation: 57-47=10, Resulting Numbers: [56, 10] Generated Node #0,2,3: 47:[56, 10] Operation: 57-47=10 Moving to Node #0,2,1 Current State: 47:[47, 1], Operations: ['66-19=47', '57-56=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[66, 57, 19, 56], Operations: [] Exploring Operation: 66-19=47, Resulting Numbers: [57, 56, 47] Generated Node #0,2: 47:[57, 56, 47] Operation: 66-19=47 Moving to Node #0,2 Current State: 47:[57, 56, 47], Operations: ['66-19=47'] Exploring Operation: 57-56=1, Resulting Numbers: [47, 1] Generated Node #0,2,1: 47:[47, 1] Operation: 57-56=1 Moving to Node #0,2,1 Current State: 47:[47, 1], Operations: ['66-19=47', '57-56=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 24, 80, 99, 76 ]
71
[ "24+80=104", "99+76=175", "175-104=71" ]
Current State: 71:[24, 80, 99, 76], Operations: [] Exploring Operation: 24+80=104, Resulting Numbers: [99, 76, 104] Generated Node #2: [99, 76, 104] from Operation: 24+80=104 Current State: 71:[99, 76, 104], Operations: ['24+80=104'] Exploring Operation: 99+76=175, Resulting Numbers: [104, 175] Generated Node #3: [104, 175] from Operation: 99+76=175 Current State: 71:[104, 175], Operations: ['24+80=104', '99+76=175'] Exploring Operation: 175-104=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[24, 80, 99, 76], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [99, 76, 56] Generated Node #0,0: 71:[99, 76, 56] Operation: 80-24=56 Exploring Operation: 24+99=123, Resulting Numbers: [80, 76, 123] Generated Node #0,1: 71:[80, 76, 123] Operation: 24+99=123 Exploring Operation: 76-24=52, Resulting Numbers: [80, 99, 52] Generated Node #0,2: 71:[80, 99, 52] Operation: 76-24=52 Exploring Operation: 24+80=104, Resulting Numbers: [99, 76, 104] Generated Node #0,3: 71:[99, 76, 104] Operation: 24+80=104 Exploring Operation: 99-24=75, Resulting Numbers: [80, 76, 75] Generated Node #0,4: 71:[80, 76, 75] Operation: 99-24=75 Moving to Node #0,4 Current State: 71:[80, 76, 75], Operations: ['99-24=75'] Exploring Operation: 80+76=156, Resulting Numbers: [75, 156] Generated Node #0,4,0: 71:[75, 156] Operation: 80+76=156 Exploring Operation: 76-75=1, Resulting Numbers: [80, 1] Generated Node #0,4,1: 71:[80, 1] Operation: 76-75=1 Exploring Operation: 80-75=5, Resulting Numbers: [76, 5] Generated Node #0,4,2: 71:[76, 5] Operation: 80-75=5 Exploring Operation: 80+75=155, Resulting Numbers: [76, 155] Generated Node #0,4,3: 71:[76, 155] Operation: 80+75=155 Exploring Operation: 80-76=4, Resulting Numbers: [75, 4] Generated Node #0,4,4: 71:[75, 4] Operation: 80-76=4 Moving to Node #0,0 Current State: 71:[99, 76, 56], Operations: ['80-24=56'] Exploring Operation: 76-56=20, Resulting Numbers: [99, 20] Generated Node #0,0,0: 71:[99, 20] Operation: 76-56=20 Exploring Operation: 99-76=23, Resulting Numbers: [56, 23] Generated Node #0,0,1: 71:[56, 23] Operation: 99-76=23 Exploring Operation: 76+56=132, Resulting Numbers: [99, 132] Generated Node #0,0,2: 71:[99, 132] Operation: 76+56=132 Exploring Operation: 99+56=155, Resulting Numbers: [76, 155] Generated Node #0,0,3: 71:[76, 155] Operation: 99+56=155 Exploring Operation: 99-56=43, Resulting Numbers: [76, 43] Generated Node #0,0,4: 71:[76, 43] Operation: 99-56=43 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[76, 43], Operations: ['80-24=56', '99-56=43'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,71 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,71 unequal: No Solution No 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: 71:[56, 23], Operations: ['80-24=56', '99-76=23'] Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,71 unequal: No Solution No 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: 71:[99, 20], Operations: ['80-24=56', '76-56=20'] Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,71 unequal: No Solution Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,71 unequal: No Solution No 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: 71:[99, 132], Operations: ['80-24=56', '76+56=132'] Exploring Operation: 99+132=231, Resulting Numbers: [231] 231,71 unequal: No Solution Exploring Operation: 132-99=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 99*132=13068, Resulting Numbers: [13068] 13068,71 unequal: No Solution No 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: 71:[76, 155], Operations: ['80-24=56', '99+56=155'] Exploring Operation: 155-76=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 76+155=231, Resulting Numbers: [231] 231,71 unequal: No Solution Exploring Operation: 76*155=11780, Resulting Numbers: [11780] 11780,71 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: 71:[80, 99, 52], Operations: ['76-24=52'] Exploring Operation: 80-52=28, Resulting Numbers: [99, 28] Generated Node #0,2,0: 71:[99, 28] Operation: 80-52=28 Exploring Operation: 99-80=19, Resulting Numbers: [52, 19] Generated Node #0,2,1: 71:[52, 19] Operation: 99-80=19 Exploring Operation: 99-52=47, Resulting Numbers: [80, 47] Generated Node #0,2,2: 71:[80, 47] Operation: 99-52=47 Exploring Operation: 99+52=151, Resulting Numbers: [80, 151] Generated Node #0,2,3: 71:[80, 151] Operation: 99+52=151 Exploring Operation: 80+52=132, Resulting Numbers: [99, 132] Generated Node #0,2,4: 71:[99, 132] Operation: 80+52=132 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[80, 47], Operations: ['76-24=52', '99-52=47'] Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,71 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,71 unequal: No Solution No 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: 71:[99, 28], Operations: ['76-24=52', '80-52=28'] Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,71 unequal: No Solution Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[24, 80, 99, 76], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [80, 99, 52] Generated Node #0,2: 71:[80, 99, 52] Operation: 76-24=52 Moving to Node #0,2 Current State: 71:[80, 99, 52], Operations: ['76-24=52'] Exploring Operation: 80-52=28, Resulting Numbers: [99, 28] Generated Node #0,2,0: 71:[99, 28] Operation: 80-52=28 Moving to Node #0,2,0 Current State: 71:[99, 28], Operations: ['76-24=52', '80-52=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 50, 64, 92, 15 ]
37
[ "50+64=114", "92-15=77", "114-77=37" ]
Current State: 37:[50, 64, 92, 15], Operations: [] Exploring Operation: 50+64=114, Resulting Numbers: [92, 15, 114] Generated Node #2: [92, 15, 114] from Operation: 50+64=114 Current State: 37:[92, 15, 114], Operations: ['50+64=114'] Exploring Operation: 92-15=77, Resulting Numbers: [114, 77] Generated Node #3: [114, 77] from Operation: 92-15=77 Current State: 37:[114, 77], Operations: ['50+64=114', '92-15=77'] Exploring Operation: 114-77=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[50, 64, 92, 15], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [50, 64, 77] Generated Node #0,0: 37:[50, 64, 77] Operation: 92-15=77 Exploring Operation: 64-15=49, Resulting Numbers: [50, 92, 49] Generated Node #0,1: 37:[50, 92, 49] Operation: 64-15=49 Exploring Operation: 92-64=28, Resulting Numbers: [50, 15, 28] Generated Node #0,2: 37:[50, 15, 28] Operation: 92-64=28 Exploring Operation: 50-15=35, Resulting Numbers: [64, 92, 35] Generated Node #0,3: 37:[64, 92, 35] Operation: 50-15=35 Exploring Operation: 92-50=42, Resulting Numbers: [64, 15, 42] Generated Node #0,4: 37:[64, 15, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[50, 15, 28], Operations: ['92-64=28'] Exploring Operation: 50-28=22, Resulting Numbers: [15, 22] Generated Node #0,2,0: 37:[15, 22] Operation: 50-28=22 Exploring Operation: 15+28=43, Resulting Numbers: [50, 43] Generated Node #0,2,1: 37:[50, 43] Operation: 15+28=43 Exploring Operation: 50+15=65, Resulting Numbers: [28, 65] Generated Node #0,2,2: 37:[28, 65] Operation: 50+15=65 Exploring Operation: 50-15=35, Resulting Numbers: [28, 35] Generated Node #0,2,3: 37:[28, 35] Operation: 50-15=35 Exploring Operation: 28-15=13, Resulting Numbers: [50, 13] Generated Node #0,2,4: 37:[50, 13] Operation: 28-15=13 Moving to Node #0,2,3 Current State: 37:[28, 35], Operations: ['92-64=28', '50-15=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,37 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[50, 43], Operations: ['92-64=28', '15+28=43'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,37 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[15, 22], Operations: ['92-64=28', '50-28=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[50, 64, 92, 15], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [50, 15, 28] Generated Node #0,2: 37:[50, 15, 28] Operation: 92-64=28 Moving to Node #0,2 Current State: 37:[50, 15, 28], Operations: ['92-64=28'] Exploring Operation: 50-28=22, Resulting Numbers: [15, 22] Generated Node #0,2,0: 37:[15, 22] Operation: 50-28=22 Moving to Node #0,2,0 Current State: 37:[15, 22], Operations: ['92-64=28', '50-28=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 11, 11, 35, 44 ]
88
[ "44-35=9", "11*9=99", "99-11=88" ]
Current State: 88:[11, 11, 35, 44], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [11, 11, 9] Generated Node #2: [11, 11, 9] from Operation: 44-35=9 Current State: 88:[11, 11, 9], Operations: ['44-35=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,88 equal: Goal Reached Exploring Operation: 99-11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[11, 11, 35, 44], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [11, 11, 9] Generated Node #0,0: 88:[11, 11, 9] Operation: 44-35=9 Exploring Operation: 11+35=46, Resulting Numbers: [11, 44, 46] Generated Node #0,1: 88:[11, 44, 46] Operation: 11+35=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[11, 11, 9], Operations: ['44-35=9'] Exploring Operation: 11-9=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 88:[11, 2] Operation: 11-9=2 Exploring Operation: 11-9=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 88:[11, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 88:[11, 2], Operations: ['44-35=9', '11-9=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[11, 2], Operations: ['44-35=9', '11-9=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[11, 44, 46], Operations: ['11+35=46'] Exploring Operation: 46-44=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 88:[11, 2] Operation: 46-44=2 Exploring Operation: 44/11=4, Resulting Numbers: [46, 4] Generated Node #0,1,1: 88:[46, 4] Operation: 44/11=4 Moving to Node #0,1,0 Current State: 88:[11, 2], Operations: ['11+35=46', '46-44=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[46, 4], Operations: ['11+35=46', '44/11=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,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 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 58, 35, 10, 47 ]
14
[ "58+35=93", "47+93=140", "140/10=14" ]
Current State: 14:[58, 35, 10, 47], Operations: [] Exploring Operation: 58+35=93, Resulting Numbers: [10, 47, 93] Generated Node #2: [10, 47, 93] from Operation: 58+35=93 Current State: 14:[10, 47, 93], Operations: ['58+35=93'] Exploring Operation: 47+93=140, Resulting Numbers: [10, 140] Generated Node #3: [10, 140] from Operation: 47+93=140 Current State: 14:[10, 140], Operations: ['58+35=93', '47+93=140'] Exploring Operation: 140/10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[58, 35, 10, 47], Operations: [] Exploring Operation: 47-35=12, Resulting Numbers: [58, 10, 12] Generated Node #0,0: 14:[58, 10, 12] Operation: 47-35=12 Exploring Operation: 58-10=48, Resulting Numbers: [35, 47, 48] Generated Node #0,1: 14:[35, 47, 48] Operation: 58-10=48 Exploring Operation: 58-35=23, Resulting Numbers: [10, 47, 23] Generated Node #0,2: 14:[10, 47, 23] Operation: 58-35=23 Exploring Operation: 58-47=11, Resulting Numbers: [35, 10, 11] Generated Node #0,3: 14:[35, 10, 11] Operation: 58-47=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[35, 10, 11], Operations: ['58-47=11'] Exploring Operation: 10+11=21, Resulting Numbers: [35, 21] Generated Node #0,3,0: 14:[35, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [35, 1] Generated Node #0,3,1: 14:[35, 1] Operation: 11-10=1 Exploring Operation: 35-11=24, Resulting Numbers: [10, 24] Generated Node #0,3,2: 14:[10, 24] Operation: 35-11=24 Exploring Operation: 35-10=25, Resulting Numbers: [11, 25] Generated Node #0,3,3: 14:[11, 25] Operation: 35-10=25 Moving to Node #0,3,2 Current State: 14:[10, 24], Operations: ['58-47=11', '35-11=24'] Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,14 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[58, 35, 10, 47], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [35, 10, 11] Generated Node #0,3: 14:[35, 10, 11] Operation: 58-47=11 Moving to Node #0,3 Current State: 14:[35, 10, 11], Operations: ['58-47=11'] Exploring Operation: 35-11=24, Resulting Numbers: [10, 24] Generated Node #0,3,2: 14:[10, 24] Operation: 35-11=24 Moving to Node #0,3,2 Current State: 14:[10, 24], Operations: ['58-47=11', '35-11=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 97, 71, 69, 5 ]
48
[ "97-71=26", "69+5=74", "74-26=48" ]
Current State: 48:[97, 71, 69, 5], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [69, 5, 26] Generated Node #2: [69, 5, 26] from Operation: 97-71=26 Current State: 48:[69, 5, 26], Operations: ['97-71=26'] Exploring Operation: 69+5=74, Resulting Numbers: [26, 74] Generated Node #3: [26, 74] from Operation: 69+5=74 Current State: 48:[26, 74], Operations: ['97-71=26', '69+5=74'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[97, 71, 69, 5], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [69, 5, 26] Generated Node #0,0: 48:[69, 5, 26] Operation: 97-71=26 Exploring Operation: 97-69=28, Resulting Numbers: [71, 5, 28] Generated Node #0,1: 48:[71, 5, 28] Operation: 97-69=28 Moving to Node #0,0 Current State: 48:[69, 5, 26], Operations: ['97-71=26'] Exploring Operation: 69-26=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 48:[5, 43] Operation: 69-26=43 Exploring Operation: 69-5=64, Resulting Numbers: [26, 64] Generated Node #0,0,1: 48:[26, 64] Operation: 69-5=64 Moving to Node #0,1 Current State: 48:[71, 5, 28], Operations: ['97-69=28'] Exploring Operation: 71-28=43, Resulting Numbers: [5, 43] Generated Node #0,1,0: 48:[5, 43] Operation: 71-28=43 Exploring Operation: 71-5=66, Resulting Numbers: [28, 66] Generated Node #0,1,1: 48:[28, 66] Operation: 71-5=66 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[5, 43], Operations: ['97-69=28', '71-28=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[97, 71, 69, 5], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [71, 5, 28] Generated Node #0,1: 48:[71, 5, 28] Operation: 97-69=28 Moving to Node #0,1 Current State: 48:[71, 5, 28], Operations: ['97-69=28'] Exploring Operation: 71-28=43, Resulting Numbers: [5, 43] Generated Node #0,1,0: 48:[5, 43] Operation: 71-28=43 Moving to Node #0,1,0 Current State: 48:[5, 43], Operations: ['97-69=28', '71-28=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 30, 2, 75, 10 ]
85
[ "30+75=105", "2*10=20", "105-20=85" ]
Current State: 85:[30, 2, 75, 10], Operations: [] Exploring Operation: 30+75=105, Resulting Numbers: [2, 10, 105] Generated Node #2: [2, 10, 105] from Operation: 30+75=105 Current State: 85:[2, 10, 105], Operations: ['30+75=105'] Exploring Operation: 2*10=20, Resulting Numbers: [105, 20] Generated Node #3: [105, 20] from Operation: 2*10=20 Current State: 85:[105, 20], Operations: ['30+75=105', '2*10=20'] Exploring Operation: 105-20=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[30, 2, 75, 10], Operations: [] Exploring Operation: 30/2=15, Resulting Numbers: [75, 10, 15] Generated Node #0,0: 85:[75, 10, 15] Operation: 30/2=15 Exploring Operation: 75+10=85, Resulting Numbers: [30, 2, 85] Generated Node #0,1: 85:[30, 2, 85] Operation: 75+10=85 Exploring Operation: 30/10=3, Resulting Numbers: [2, 75, 3] Generated Node #0,2: 85:[2, 75, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [2, 75, 20] Generated Node #0,3: 85:[2, 75, 20] Operation: 30-10=20 Exploring Operation: 10/2=5, Resulting Numbers: [30, 75, 5] Generated Node #0,4: 85:[30, 75, 5] Operation: 10/2=5 Moving to Node #0,2 Current State: 85:[2, 75, 3], Operations: ['30/10=3'] Exploring Operation: 2+75=77, Resulting Numbers: [3, 77] Generated Node #0,2,0: 85:[3, 77] Operation: 2+75=77 Exploring Operation: 2*3=6, Resulting Numbers: [75, 6] Generated Node #0,2,1: 85:[75, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [75, 5] Generated Node #0,2,2: 85:[75, 5] Operation: 2+3=5 Exploring Operation: 75+3=78, Resulting Numbers: [2, 78] Generated Node #0,2,3: 85:[2, 78] Operation: 75+3=78 Exploring Operation: 75/3=25, Resulting Numbers: [2, 25] Generated Node #0,2,4: 85:[2, 25] Operation: 75/3=25 Moving to Node #0,3 Current State: 85:[2, 75, 20], Operations: ['30-10=20'] Exploring Operation: 2+20=22, Resulting Numbers: [75, 22] Generated Node #0,3,0: 85:[75, 22] Operation: 2+20=22 Exploring Operation: 75+20=95, Resulting Numbers: [2, 95] Generated Node #0,3,1: 85:[2, 95] Operation: 75+20=95 Exploring Operation: 75-2=73, Resulting Numbers: [20, 73] Generated Node #0,3,2: 85:[20, 73] Operation: 75-2=73 Exploring Operation: 20-2=18, Resulting Numbers: [75, 18] Generated Node #0,3,3: 85:[75, 18] Operation: 20-2=18 Exploring Operation: 2+75=77, Resulting Numbers: [20, 77] Generated Node #0,3,4: 85:[20, 77] Operation: 2+75=77 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[75, 18], Operations: ['30-10=20', '20-2=18'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,85 unequal: No Solution Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[20, 77], Operations: ['30-10=20', '2+75=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,85 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[2, 95], Operations: ['30-10=20', '75+20=95'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 2*95=190, Resulting Numbers: [190] 190,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[75, 22], Operations: ['30-10=20', '2+20=22'] Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,85 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[20, 73], Operations: ['30-10=20', '75-2=73'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,85 unequal: No Solution Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,85 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: 85:[30, 2, 85], Operations: ['75+10=85'] Exploring Operation: 30-2=28, Resulting Numbers: [85, 28] Generated Node #0,1,0: 85:[85, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [85, 15] Generated Node #0,1,1: 85:[85, 15] Operation: 30/2=15 Exploring Operation: 2+85=87, Resulting Numbers: [30, 87] Generated Node #0,1,2: 85:[30, 87] Operation: 2+85=87 Exploring Operation: 30+2=32, Resulting Numbers: [85, 32] Generated Node #0,1,3: 85:[85, 32] Operation: 30+2=32 Exploring Operation: 85-2=83, Resulting Numbers: [30, 83] Generated Node #0,1,4: 85:[30, 83] Operation: 85-2=83 Moving to Node #0,0 Current State: 85:[75, 10, 15], Operations: ['30/2=15'] Exploring Operation: 75+10=85, Resulting Numbers: [15, 85] Generated Node #0,0,0: 85:[15, 85] Operation: 75+10=85 Exploring Operation: 75/15=5, Resulting Numbers: [10, 5] Generated Node #0,0,1: 85:[10, 5] Operation: 75/15=5 Exploring Operation: 75+15=90, Resulting Numbers: [10, 90] Generated Node #0,0,2: 85:[10, 90] Operation: 75+15=90 Exploring Operation: 10+15=25, Resulting Numbers: [75, 25] Generated Node #0,0,3: 85:[75, 25] Operation: 10+15=25 Exploring Operation: 15-10=5, Resulting Numbers: [75, 5] Generated Node #0,0,4: 85:[75, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[15, 85], Operations: ['30/2=15', '75+10=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,85 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[10, 5], Operations: ['30/2=15', '75/15=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[10, 90], Operations: ['30/2=15', '75+15=90'] Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,85 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 85:[75, 5], Operations: ['30/2=15', '15-10=5'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,85 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,85 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[75, 25], Operations: ['30/2=15', '10+15=25'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,85 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: 85:[30, 75, 5], Operations: ['10/2=5'] Exploring Operation: 75/5=15, Resulting Numbers: [30, 15] Generated Node #0,4,0: 85:[30, 15] Operation: 75/5=15 Exploring Operation: 30+75=105, Resulting Numbers: [5, 105] Generated Node #0,4,1: 85:[5, 105] Operation: 30+75=105 Exploring Operation: 30-5=25, Resulting Numbers: [75, 25] Generated Node #0,4,2: 85:[75, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [75, 6] Generated Node #0,4,3: 85:[75, 6] Operation: 30/5=6 Exploring Operation: 75+5=80, Resulting Numbers: [30, 80] Generated Node #0,4,4: 85:[30, 80] Operation: 75+5=80 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 85:[75, 6], Operations: ['10/2=5', '30/5=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 85:[30, 15], Operations: ['10/2=5', '75/5=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 85:[75, 25], Operations: ['10/2=5', '30-5=25'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,85 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 85:[30, 80], Operations: ['10/2=5', '75+5=80'] Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,85 unequal: No Solution Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[5, 105], Operations: ['10/2=5', '30+75=105'] Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,85 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,85 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 85:[85, 15], Operations: ['75+10=85', '30/2=15'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,85 unequal: No Solution Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,85 unequal: No Solution Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[3, 77], Operations: ['30/10=3', '2+75=77'] Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,85 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[2, 78], Operations: ['30/10=3', '75+3=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[75, 5], Operations: ['30/10=3', '2+3=5'] Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,85 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,85 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[85, 28], Operations: ['75+10=85', '30-2=28'] Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,85 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,85 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[2, 25], Operations: ['30/10=3', '75/3=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[75, 6], Operations: ['30/10=3', '2*3=6'] Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[30, 83], Operations: ['75+10=85', '85-2=83'] Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,85 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,85 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[85, 32], Operations: ['75+10=85', '30+2=32'] Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,85 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[30, 87], Operations: ['75+10=85', '2+85=87'] Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,85 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,85 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 15, 24, 1 ]
22
[ "45/15=3", "24+1=25", "25-3=22" ]
Current State: 22:[45, 15, 24, 1], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [24, 1, 3] Generated Node #2: [24, 1, 3] from Operation: 45/15=3 Current State: 22:[24, 1, 3], Operations: ['45/15=3'] Exploring Operation: 24+1=25, Resulting Numbers: [3, 25] Generated Node #3: [3, 25] from Operation: 24+1=25 Current State: 22:[3, 25], Operations: ['45/15=3', '24+1=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[45, 15, 24, 1], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [24, 1, 3] Generated Node #0,0: 22:[24, 1, 3] Operation: 45/15=3 Exploring Operation: 45-1=44, Resulting Numbers: [15, 24, 44] Generated Node #0,1: 22:[15, 24, 44] Operation: 45-1=44 Exploring Operation: 45-15=30, Resulting Numbers: [24, 1, 30] Generated Node #0,2: 22:[24, 1, 30] Operation: 45-15=30 Exploring Operation: 45-24=21, Resulting Numbers: [15, 1, 21] Generated Node #0,3: 22:[15, 1, 21] Operation: 45-24=21 Exploring Operation: 24-15=9, Resulting Numbers: [45, 1, 9] Generated Node #0,4: 22:[45, 1, 9] Operation: 24-15=9 Moving to Node #0,0 Current State: 22:[24, 1, 3], Operations: ['45/15=3'] Exploring Operation: 24*1=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 22:[3, 24] Operation: 24*1=24 Exploring Operation: 24-3=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 22:[1, 21] Operation: 24-3=21 Exploring Operation: 24/1=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 22:[3, 24] Operation: 24/1=24 Exploring Operation: 24-1=23, Resulting Numbers: [3, 23] Generated Node #0,0,3: 22:[3, 23] Operation: 24-1=23 Exploring Operation: 3-1=2, Resulting Numbers: [24, 2] Generated Node #0,0,4: 22:[24, 2] Operation: 3-1=2 Moving to Node #0,3 Current State: 22:[15, 1, 21], Operations: ['45-24=21'] Exploring Operation: 1+21=22, Resulting Numbers: [15, 22] Generated Node #0,3,0: 22:[15, 22] Operation: 1+21=22 Exploring Operation: 15*1=15, Resulting Numbers: [21, 15] Generated Node #0,3,1: 22:[21, 15] Operation: 15*1=15 Exploring Operation: 15-1=14, Resulting Numbers: [21, 14] Generated Node #0,3,2: 22:[21, 14] Operation: 15-1=14 Exploring Operation: 15/1=15, Resulting Numbers: [21, 15] Generated Node #0,3,3: 22:[21, 15] Operation: 15/1=15 Exploring Operation: 21-15=6, Resulting Numbers: [1, 6] Generated Node #0,3,4: 22:[1, 6] Operation: 21-15=6 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[15, 22], Operations: ['45-24=21', '1+21=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,22 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[21, 14], Operations: ['45-24=21', '15-1=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[21, 15], Operations: ['45-24=21', '15*1=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[21, 15], Operations: ['45-24=21', '15/1=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,22 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[1, 6], Operations: ['45-24=21', '21-15=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,22 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: 22:[24, 1, 30], Operations: ['45-15=30'] Exploring Operation: 24/1=24, Resulting Numbers: [30, 24] Generated Node #0,2,0: 22:[30, 24] Operation: 24/1=24 Exploring Operation: 30-24=6, Resulting Numbers: [1, 6] Generated Node #0,2,1: 22:[1, 6] Operation: 30-24=6 Exploring Operation: 24*1=24, Resulting Numbers: [30, 24] Generated Node #0,2,2: 22:[30, 24] Operation: 24*1=24 Exploring Operation: 24-1=23, Resulting Numbers: [30, 23] Generated Node #0,2,3: 22:[30, 23] Operation: 24-1=23 Exploring Operation: 30-1=29, Resulting Numbers: [24, 29] Generated Node #0,2,4: 22:[24, 29] Operation: 30-1=29 Moving to Node #0,4 Current State: 22:[45, 1, 9], Operations: ['24-15=9'] Exploring Operation: 45-9=36, Resulting Numbers: [1, 36] Generated Node #0,4,0: 22:[1, 36] Operation: 45-9=36 Exploring Operation: 1+9=10, Resulting Numbers: [45, 10] Generated Node #0,4,1: 22:[45, 10] Operation: 1+9=10 Exploring Operation: 45/9=5, Resulting Numbers: [1, 5] Generated Node #0,4,2: 22:[1, 5] Operation: 45/9=5 Exploring Operation: 45-1=44, Resulting Numbers: [9, 44] Generated Node #0,4,3: 22:[9, 44] Operation: 45-1=44 Exploring Operation: 45*1=45, Resulting Numbers: [9, 45] Generated Node #0,4,4: 22:[9, 45] Operation: 45*1=45 Moving to Node #0,1 Current State: 22:[15, 24, 44], Operations: ['45-1=44'] Exploring Operation: 44-24=20, Resulting Numbers: [15, 20] Generated Node #0,1,0: 22:[15, 20] Operation: 44-24=20 Exploring Operation: 15+44=59, Resulting Numbers: [24, 59] Generated Node #0,1,1: 22:[24, 59] Operation: 15+44=59 Exploring Operation: 15+24=39, Resulting Numbers: [44, 39] Generated Node #0,1,2: 22:[44, 39] Operation: 15+24=39 Exploring Operation: 24-15=9, Resulting Numbers: [44, 9] Generated Node #0,1,3: 22:[44, 9] Operation: 24-15=9 Exploring Operation: 44-15=29, Resulting Numbers: [24, 29] Generated Node #0,1,4: 22:[24, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[15, 20], Operations: ['45-1=44', '44-24=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,22 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[24, 29], Operations: ['45-1=44', '44-15=29'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[44, 9], Operations: ['45-1=44', '24-15=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,22 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[24, 59], Operations: ['45-1=44', '15+44=59'] Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[44, 39], Operations: ['45-1=44', '15+24=39'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 22:[1, 21], Operations: ['45/15=3', '24-3=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[45, 15, 24, 1], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [24, 1, 3] Generated Node #0,0: 22:[24, 1, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 22:[24, 1, 3], Operations: ['45/15=3'] Exploring Operation: 24-3=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 22:[1, 21] Operation: 24-3=21 Moving to Node #0,0,1 Current State: 22:[1, 21], Operations: ['45/15=3', '24-3=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 44, 14, 23, 3 ]
13
[ "44-14=30", "30/3=10", "23-10=13" ]
Current State: 13:[44, 14, 23, 3], Operations: [] Exploring Operation: 44-14=30, Resulting Numbers: [23, 3, 30] Generated Node #2: [23, 3, 30] from Operation: 44-14=30 Current State: 13:[23, 3, 30], Operations: ['44-14=30'] Exploring Operation: 30/3=10, Resulting Numbers: [23, 10] Generated Node #3: [23, 10] from Operation: 30/3=10 Current State: 13:[23, 10], Operations: ['44-14=30', '30/3=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[44, 14, 23, 3], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [44, 23, 11] Generated Node #0,0: 13:[44, 23, 11] Operation: 14-3=11 Exploring Operation: 44-14=30, Resulting Numbers: [23, 3, 30] Generated Node #0,1: 13:[23, 3, 30] Operation: 44-14=30 Exploring Operation: 23-3=20, Resulting Numbers: [44, 14, 20] Generated Node #0,2: 13:[44, 14, 20] Operation: 23-3=20 Exploring Operation: 44-23=21, Resulting Numbers: [14, 3, 21] Generated Node #0,3: 13:[14, 3, 21] Operation: 44-23=21 Exploring Operation: 44-3=41, Resulting Numbers: [14, 23, 41] Generated Node #0,4: 13:[14, 23, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[14, 3, 21], Operations: ['44-23=21'] Exploring Operation: 3+21=24, Resulting Numbers: [14, 24] Generated Node #0,3,0: 13:[14, 24] Operation: 3+21=24 Exploring Operation: 21-3=18, Resulting Numbers: [14, 18] Generated Node #0,3,1: 13:[14, 18] Operation: 21-3=18 Exploring Operation: 14+3=17, Resulting Numbers: [21, 17] Generated Node #0,3,2: 13:[21, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [21, 11] Generated Node #0,3,3: 13:[21, 11] Operation: 14-3=11 Exploring Operation: 21/3=7, Resulting Numbers: [14, 7] Generated Node #0,3,4: 13:[14, 7] Operation: 21/3=7 Moving to Node #0,3,1 Current State: 13:[14, 18], Operations: ['44-23=21', '21-3=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,13 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[14, 7], Operations: ['44-23=21', '21/3=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[21, 11], Operations: ['44-23=21', '14-3=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,13 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[14, 24], Operations: ['44-23=21', '3+21=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[21, 17], Operations: ['44-23=21', '14+3=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[23, 3, 30], Operations: ['44-14=30'] Exploring Operation: 23-3=20, Resulting Numbers: [30, 20] Generated Node #0,1,0: 13:[30, 20] Operation: 23-3=20 Exploring Operation: 30/3=10, Resulting Numbers: [23, 10] Generated Node #0,1,1: 13:[23, 10] Operation: 30/3=10 Exploring Operation: 30-23=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 13:[3, 7] Operation: 30-23=7 Exploring Operation: 23+3=26, Resulting Numbers: [30, 26] Generated Node #0,1,3: 13:[30, 26] Operation: 23+3=26 Exploring Operation: 30-3=27, Resulting Numbers: [23, 27] Generated Node #0,1,4: 13:[23, 27] Operation: 30-3=27 Moving to Node #0,1,1 Current State: 13:[23, 10], Operations: ['44-14=30', '30/3=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,13 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[44, 14, 23, 3], Operations: [] Exploring Operation: 44-14=30, Resulting Numbers: [23, 3, 30] Generated Node #0,1: 13:[23, 3, 30] Operation: 44-14=30 Moving to Node #0,1 Current State: 13:[23, 3, 30], Operations: ['44-14=30'] Exploring Operation: 30/3=10, Resulting Numbers: [23, 10] Generated Node #0,1,1: 13:[23, 10] Operation: 30/3=10 Moving to Node #0,1,1 Current State: 13:[23, 10], Operations: ['44-14=30', '30/3=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 7, 45, 96, 46 ]
35
[ "96-45=51", "51-46=5", "7*5=35" ]
Current State: 35:[7, 45, 96, 46], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [7, 46, 51] Generated Node #2: [7, 46, 51] from Operation: 96-45=51 Current State: 35:[7, 46, 51], Operations: ['96-45=51'] Exploring Operation: 51-46=5, Resulting Numbers: [7, 5] Generated Node #3: [7, 5] from Operation: 51-46=5 Current State: 35:[7, 5], Operations: ['96-45=51', '51-46=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[7, 45, 96, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [7, 45, 50] Generated Node #0,0: 35:[7, 45, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 35:[7, 45, 50], Operations: ['96-46=50'] Exploring Operation: 50-45=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['96-46=50', '50-45=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[7, 45, 96, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [7, 45, 50] Generated Node #0,0: 35:[7, 45, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 35:[7, 45, 50], Operations: ['96-46=50'] Exploring Operation: 50-45=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 50-45=5 Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['96-46=50', '50-45=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 75, 87, 44, 81 ]
88
[ "75+87=162", "44*162=7128", "7128/81=88" ]
Current State: 88:[75, 87, 44, 81], Operations: [] Exploring Operation: 75+87=162, Resulting Numbers: [44, 81, 162] Generated Node #2: [44, 81, 162] from Operation: 75+87=162 Current State: 88:[44, 81, 162], Operations: ['75+87=162'] Exploring Operation: 44*162=7128, Resulting Numbers: [81, 7128] Generated Node #3: [81, 7128] from Operation: 44*162=7128 Current State: 88:[81, 7128], Operations: ['75+87=162', '44*162=7128'] Exploring Operation: 7128/81=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[75, 87, 44, 81], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [44, 81, 12] Generated Node #0,0: 88:[44, 81, 12] Operation: 87-75=12 Exploring Operation: 81-75=6, Resulting Numbers: [87, 44, 6] Generated Node #0,1: 88:[87, 44, 6] Operation: 81-75=6 Exploring Operation: 87-81=6, Resulting Numbers: [75, 44, 6] Generated Node #0,2: 88:[75, 44, 6] Operation: 87-81=6 Exploring Operation: 75-44=31, Resulting Numbers: [87, 81, 31] Generated Node #0,3: 88:[87, 81, 31] Operation: 75-44=31 Exploring Operation: 87-44=43, Resulting Numbers: [75, 81, 43] Generated Node #0,4: 88:[75, 81, 43] Operation: 87-44=43 Moving to Node #0,1 Current State: 88:[87, 44, 6], Operations: ['81-75=6'] Exploring Operation: 87-44=43, Resulting Numbers: [6, 43] Generated Node #0,1,0: 88:[6, 43] Operation: 87-44=43 Exploring Operation: 44-6=38, Resulting Numbers: [87, 38] Generated Node #0,1,1: 88:[87, 38] Operation: 44-6=38 Exploring Operation: 44+6=50, Resulting Numbers: [87, 50] Generated Node #0,1,2: 88:[87, 50] Operation: 44+6=50 Exploring Operation: 87-6=81, Resulting Numbers: [44, 81] Generated Node #0,1,3: 88:[44, 81] Operation: 87-6=81 Exploring Operation: 87+6=93, Resulting Numbers: [44, 93] Generated Node #0,1,4: 88:[44, 93] Operation: 87+6=93 Moving to Node #0,0 Current State: 88:[44, 81, 12], Operations: ['87-75=12'] Exploring Operation: 81-12=69, Resulting Numbers: [44, 69] Generated Node #0,0,0: 88:[44, 69] Operation: 81-12=69 Exploring Operation: 81+12=93, Resulting Numbers: [44, 93] Generated Node #0,0,1: 88:[44, 93] Operation: 81+12=93 Exploring Operation: 81-44=37, Resulting Numbers: [12, 37] Generated Node #0,0,2: 88:[12, 37] Operation: 81-44=37 Exploring Operation: 44-12=32, Resulting Numbers: [81, 32] Generated Node #0,0,3: 88:[81, 32] Operation: 44-12=32 Exploring Operation: 44+12=56, Resulting Numbers: [81, 56] Generated Node #0,0,4: 88:[81, 56] Operation: 44+12=56 Moving to Node #0,2 Current State: 88:[75, 44, 6], Operations: ['87-81=6'] Exploring Operation: 75-6=69, Resulting Numbers: [44, 69] Generated Node #0,2,0: 88:[44, 69] Operation: 75-6=69 Exploring Operation: 44-6=38, Resulting Numbers: [75, 38] Generated Node #0,2,1: 88:[75, 38] Operation: 44-6=38 Exploring Operation: 75-44=31, Resulting Numbers: [6, 31] Generated Node #0,2,2: 88:[6, 31] Operation: 75-44=31 Exploring Operation: 44+6=50, Resulting Numbers: [75, 50] Generated Node #0,2,3: 88:[75, 50] Operation: 44+6=50 Exploring Operation: 75+6=81, Resulting Numbers: [44, 81] Generated Node #0,2,4: 88:[44, 81] Operation: 75+6=81 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[44, 81], Operations: ['87-81=6', '75+6=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,88 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[6, 31], Operations: ['87-81=6', '75-44=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[44, 69], Operations: ['87-81=6', '75-6=69'] Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[75, 38], Operations: ['87-81=6', '44-6=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,88 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[75, 50], Operations: ['87-81=6', '44+6=50'] Exploring Operation: 75+50=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 75*50=3750, Resulting Numbers: [3750] 3750,88 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 88:[87, 81, 31], Operations: ['75-44=31'] Exploring Operation: 81-31=50, Resulting Numbers: [87, 50] Generated Node #0,3,0: 88:[87, 50] Operation: 81-31=50 Exploring Operation: 87-81=6, Resulting Numbers: [31, 6] Generated Node #0,3,1: 88:[31, 6] Operation: 87-81=6 Exploring Operation: 87+31=118, Resulting Numbers: [81, 118] Generated Node #0,3,2: 88:[81, 118] Operation: 87+31=118 Exploring Operation: 81+31=112, Resulting Numbers: [87, 112] Generated Node #0,3,3: 88:[87, 112] Operation: 81+31=112 Exploring Operation: 87-31=56, Resulting Numbers: [81, 56] Generated Node #0,3,4: 88:[81, 56] Operation: 87-31=56 Moving to Node #0,4 Current State: 88:[75, 81, 43], Operations: ['87-44=43'] Exploring Operation: 75+43=118, Resulting Numbers: [81, 118] Generated Node #0,4,0: 88:[81, 118] Operation: 75+43=118 Exploring Operation: 81-43=38, Resulting Numbers: [75, 38] Generated Node #0,4,1: 88:[75, 38] Operation: 81-43=38 Exploring Operation: 75-43=32, Resulting Numbers: [81, 32] Generated Node #0,4,2: 88:[81, 32] Operation: 75-43=32 Exploring Operation: 81-75=6, Resulting Numbers: [43, 6] Generated Node #0,4,3: 88:[43, 6] Operation: 81-75=6 Exploring Operation: 81+43=124, Resulting Numbers: [75, 124] Generated Node #0,4,4: 88:[75, 124] Operation: 81+43=124 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[43, 6], Operations: ['87-44=43', '81-75=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,88 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[81, 32], Operations: ['87-44=43', '75-43=32'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,88 unequal: No Solution Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[75, 38], Operations: ['87-44=43', '81-43=38'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[81, 118], Operations: ['87-44=43', '75+43=118'] Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 81+118=199, Resulting Numbers: [199] 199,88 unequal: No Solution Exploring Operation: 81*118=9558, Resulting Numbers: [9558] 9558,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[75, 124], Operations: ['87-44=43', '81+43=124'] Exploring Operation: 124-75=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 75*124=9300, Resulting Numbers: [9300] 9300,88 unequal: No Solution Exploring Operation: 75+124=199, Resulting Numbers: [199] 199,88 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: 88:[6, 43], Operations: ['81-75=6', '87-44=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[44, 93], Operations: ['87-75=12', '81+12=93'] Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,88 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[44, 93], Operations: ['81-75=6', '87+6=93'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[87, 38], Operations: ['81-75=6', '44-6=38'] Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,88 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[44, 81], Operations: ['81-75=6', '87-6=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,88 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[87, 50], Operations: ['75-44=31', '81-31=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,88 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,88 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[87, 50], Operations: ['81-75=6', '44+6=50'] Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,88 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[12, 37], Operations: ['87-75=12', '81-44=37'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[31, 6], Operations: ['75-44=31', '87-81=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,88 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[81, 32], Operations: ['87-75=12', '44-12=32'] Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,88 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[81, 56], Operations: ['75-44=31', '87-31=56'] Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,88 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[81, 56], Operations: ['87-75=12', '44+12=56'] Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,88 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[44, 69], Operations: ['87-75=12', '81-12=69'] Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,88 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[87, 112], Operations: ['75-44=31', '81+31=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,88 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[81, 118], Operations: ['75-44=31', '87+31=118'] Exploring Operation: 81+118=199, Resulting Numbers: [199] 199,88 unequal: No Solution Exploring Operation: 81*118=9558, Resulting Numbers: [9558] 9558,88 unequal: No Solution Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,88 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 88, 64, 12 ]
56
[ "88-64=24", "28*24=672", "672/12=56" ]
Current State: 56:[28, 88, 64, 12], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [28, 12, 24] Generated Node #2: [28, 12, 24] from Operation: 88-64=24 Current State: 56:[28, 12, 24], Operations: ['88-64=24'] Exploring Operation: 28*24=672, Resulting Numbers: [12, 672] Generated Node #3: [12, 672] from Operation: 28*24=672 Current State: 56:[12, 672], Operations: ['88-64=24', '28*24=672'] Exploring Operation: 672/12=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 88, 64, 12], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [28, 12, 24] Generated Node #0,0: 56:[28, 12, 24] Operation: 88-64=24 Exploring Operation: 88-12=76, Resulting Numbers: [28, 64, 76] Generated Node #0,1: 56:[28, 64, 76] Operation: 88-12=76 Exploring Operation: 64-28=36, Resulting Numbers: [88, 12, 36] Generated Node #0,2: 56:[88, 12, 36] Operation: 64-28=36 Exploring Operation: 88-28=60, Resulting Numbers: [64, 12, 60] Generated Node #0,3: 56:[64, 12, 60] Operation: 88-28=60 Exploring Operation: 64-12=52, Resulting Numbers: [28, 88, 52] Generated Node #0,4: 56:[28, 88, 52] Operation: 64-12=52 Moving to Node #0,0 Current State: 56:[28, 12, 24], Operations: ['88-64=24'] Exploring Operation: 24/12=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 24/12=2 Exploring Operation: 28-12=16, Resulting Numbers: [24, 16] Generated Node #0,0,1: 56:[24, 16] Operation: 28-12=16 Exploring Operation: 28-24=4, Resulting Numbers: [12, 4] Generated Node #0,0,2: 56:[12, 4] Operation: 28-24=4 Exploring Operation: 24-12=12, Resulting Numbers: [28, 12] Generated Node #0,0,3: 56:[28, 12] Operation: 24-12=12 Exploring Operation: 28+24=52, Resulting Numbers: [12, 52] Generated Node #0,0,4: 56:[12, 52] Operation: 28+24=52 Moving to Node #0,3 Current State: 56:[64, 12, 60], Operations: ['88-28=60'] Exploring Operation: 60-12=48, Resulting Numbers: [64, 48] Generated Node #0,3,0: 56:[64, 48] Operation: 60-12=48 Exploring Operation: 64-60=4, Resulting Numbers: [12, 4] Generated Node #0,3,1: 56:[12, 4] Operation: 64-60=4 Exploring Operation: 64-12=52, Resulting Numbers: [60, 52] Generated Node #0,3,2: 56:[60, 52] Operation: 64-12=52 Exploring Operation: 60/12=5, Resulting Numbers: [64, 5] Generated Node #0,3,3: 56:[64, 5] Operation: 60/12=5 Exploring Operation: 64+12=76, Resulting Numbers: [60, 76] Generated Node #0,3,4: 56:[60, 76] Operation: 64+12=76 Moving to Node #0,1 Current State: 56:[28, 64, 76], Operations: ['88-12=76'] Exploring Operation: 28+64=92, Resulting Numbers: [76, 92] Generated Node #0,1,0: 56:[76, 92] Operation: 28+64=92 Exploring Operation: 64-28=36, Resulting Numbers: [76, 36] Generated Node #0,1,1: 56:[76, 36] Operation: 64-28=36 Exploring Operation: 76-28=48, Resulting Numbers: [64, 48] Generated Node #0,1,2: 56:[64, 48] Operation: 76-28=48 Exploring Operation: 76-64=12, Resulting Numbers: [28, 12] Generated Node #0,1,3: 56:[28, 12] Operation: 76-64=12 Exploring Operation: 28+76=104, Resulting Numbers: [64, 104] Generated Node #0,1,4: 56:[64, 104] Operation: 28+76=104 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[28, 12], Operations: ['88-12=76', '76-64=12'] Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,56 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[64, 48], Operations: ['88-12=76', '76-28=48'] Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,56 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[76, 36], Operations: ['88-12=76', '64-28=36'] Exploring Operation: 76*36=2736, Resulting Numbers: [2736] 2736,56 unequal: No Solution Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[76, 92], Operations: ['88-12=76', '28+64=92'] Exploring Operation: 76+92=168, Resulting Numbers: [168] 168,56 unequal: No Solution Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 76*92=6992, Resulting Numbers: [6992] 6992,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[64, 104], Operations: ['88-12=76', '28+76=104'] Exploring Operation: 64*104=6656, Resulting Numbers: [6656] 6656,56 unequal: No Solution Exploring Operation: 104-64=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 64+104=168, Resulting Numbers: [168] 168,56 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: 56:[28, 88, 52], Operations: ['64-12=52'] Exploring Operation: 88-52=36, Resulting Numbers: [28, 36] Generated Node #0,4,0: 56:[28, 36] Operation: 88-52=36 Exploring Operation: 52-28=24, Resulting Numbers: [88, 24] Generated Node #0,4,1: 56:[88, 24] Operation: 52-28=24 Exploring Operation: 28+52=80, Resulting Numbers: [88, 80] Generated Node #0,4,2: 56:[88, 80] Operation: 28+52=80 Exploring Operation: 28+88=116, Resulting Numbers: [52, 116] Generated Node #0,4,3: 56:[52, 116] Operation: 28+88=116 Exploring Operation: 88-28=60, Resulting Numbers: [52, 60] Generated Node #0,4,4: 56:[52, 60] Operation: 88-28=60 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[28, 36], Operations: ['64-12=52', '88-52=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,56 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[52, 60], Operations: ['64-12=52', '88-28=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,56 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[88, 24], Operations: ['64-12=52', '52-28=24'] Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[88, 80], Operations: ['64-12=52', '28+52=80'] Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 88*80=7040, Resulting Numbers: [7040] 7040,56 unequal: No Solution Exploring Operation: 88+80=168, Resulting Numbers: [168] 168,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[52, 116], Operations: ['64-12=52', '28+88=116'] Exploring Operation: 52*116=6032, Resulting Numbers: [6032] 6032,56 unequal: No Solution Exploring Operation: 116-52=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 52+116=168, Resulting Numbers: [168] 168,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[88, 12, 36], Operations: ['64-28=36'] Exploring Operation: 88-12=76, Resulting Numbers: [36, 76] Generated Node #0,2,0: 56:[36, 76] Operation: 88-12=76 Exploring Operation: 12+36=48, Resulting Numbers: [88, 48] Generated Node #0,2,1: 56:[88, 48] Operation: 12+36=48 Exploring Operation: 36-12=24, Resulting Numbers: [88, 24] Generated Node #0,2,2: 56:[88, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [88, 3] Generated Node #0,2,3: 56:[88, 3] Operation: 36/12=3 Exploring Operation: 88-36=52, Resulting Numbers: [12, 52] Generated Node #0,2,4: 56:[12, 52] Operation: 88-36=52 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[12, 52], Operations: ['64-28=36', '88-36=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,56 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[36, 76], Operations: ['64-28=36', '88-12=76'] Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,56 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[88, 3], Operations: ['64-28=36', '36/12=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,56 unequal: No Solution Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[88, 24], Operations: ['64-28=36', '36-12=24'] Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[88, 48], Operations: ['64-28=36', '12+36=48'] Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 88+48=136, Resulting Numbers: [136] 136,56 unequal: No Solution Exploring Operation: 88*48=4224, Resulting Numbers: [4224] 4224,56 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: 56:[28, 2], Operations: ['88-64=24', '24/12=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[28, 88, 64, 12], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [28, 12, 24] Generated Node #0,0: 56:[28, 12, 24] Operation: 88-64=24 Moving to Node #0,0 Current State: 56:[28, 12, 24], Operations: ['88-64=24'] Exploring Operation: 24/12=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 24/12=2 Moving to Node #0,0,0 Current State: 56:[28, 2], Operations: ['88-64=24', '24/12=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.930556
hs_5
mult_heuristic
[ 84, 20, 59, 87 ]
82
[ "84-20=64", "59+87=146", "146-64=82" ]
Current State: 82:[84, 20, 59, 87], Operations: [] Exploring Operation: 84-20=64, Resulting Numbers: [59, 87, 64] Generated Node #2: [59, 87, 64] from Operation: 84-20=64 Current State: 82:[59, 87, 64], Operations: ['84-20=64'] Exploring Operation: 59+87=146, Resulting Numbers: [64, 146] Generated Node #3: [64, 146] from Operation: 59+87=146 Current State: 82:[64, 146], Operations: ['84-20=64', '59+87=146'] Exploring Operation: 146-64=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[84, 20, 59, 87], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [84, 87, 39] Generated Node #0,0: 82:[84, 87, 39] Operation: 59-20=39 Exploring Operation: 20+59=79, Resulting Numbers: [84, 87, 79] Generated Node #0,1: 82:[84, 87, 79] Operation: 20+59=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[84, 87, 39], Operations: ['59-20=39'] Exploring Operation: 84-39=45, Resulting Numbers: [87, 45] Generated Node #0,0,0: 82:[87, 45] Operation: 84-39=45 Exploring Operation: 87-84=3, Resulting Numbers: [39, 3] Generated Node #0,0,1: 82:[39, 3] Operation: 87-84=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[39, 3], Operations: ['59-20=39', '87-84=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,82 unequal: No Solution No 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: 82:[87, 45], Operations: ['59-20=39', '84-39=45'] Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 87+45=132, Resulting Numbers: [132] 132,82 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: 82:[84, 87, 79], Operations: ['20+59=79'] Exploring Operation: 87-84=3, Resulting Numbers: [79, 3] Generated Node #0,1,0: 82:[79, 3] Operation: 87-84=3 Exploring Operation: 84-79=5, Resulting Numbers: [87, 5] Generated Node #0,1,1: 82:[87, 5] Operation: 84-79=5 Moving to Node #0,1,0 Current State: 82:[79, 3], Operations: ['20+59=79', '87-84=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[84, 20, 59, 87], Operations: [] Exploring Operation: 20+59=79, Resulting Numbers: [84, 87, 79] Generated Node #0,1: 82:[84, 87, 79] Operation: 20+59=79 Moving to Node #0,1 Current State: 82:[84, 87, 79], Operations: ['20+59=79'] Exploring Operation: 87-84=3, Resulting Numbers: [79, 3] Generated Node #0,1,0: 82:[79, 3] Operation: 87-84=3 Moving to Node #0,1,0 Current State: 82:[79, 3], Operations: ['20+59=79', '87-84=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 35, 98, 75, 50 ]
70
[ "75-50=25", "98*25=2450", "2450/35=70" ]
Current State: 70:[35, 98, 75, 50], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [35, 98, 25] Generated Node #2: [35, 98, 25] from Operation: 75-50=25 Current State: 70:[35, 98, 25], Operations: ['75-50=25'] Exploring Operation: 98*25=2450, Resulting Numbers: [35, 2450] Generated Node #3: [35, 2450] from Operation: 98*25=2450 Current State: 70:[35, 2450], Operations: ['75-50=25', '98*25=2450'] Exploring Operation: 2450/35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[35, 98, 75, 50], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [98, 75, 15] Generated Node #0,0: 70:[98, 75, 15] Operation: 50-35=15 Exploring Operation: 98-35=63, Resulting Numbers: [75, 50, 63] Generated Node #0,1: 70:[75, 50, 63] Operation: 98-35=63 Exploring Operation: 98-75=23, Resulting Numbers: [35, 50, 23] Generated Node #0,2: 70:[35, 50, 23] Operation: 98-75=23 Exploring Operation: 98-50=48, Resulting Numbers: [35, 75, 48] Generated Node #0,3: 70:[35, 75, 48] Operation: 98-50=48 Moving to Node #0,3 Current State: 70:[35, 75, 48], Operations: ['98-50=48'] Exploring Operation: 75-35=40, Resulting Numbers: [48, 40] Generated Node #0,3,0: 70:[48, 40] Operation: 75-35=40 Exploring Operation: 48-35=13, Resulting Numbers: [75, 13] Generated Node #0,3,1: 70:[75, 13] Operation: 48-35=13 Exploring Operation: 35+48=83, Resulting Numbers: [75, 83] Generated Node #0,3,2: 70:[75, 83] Operation: 35+48=83 Exploring Operation: 75-48=27, Resulting Numbers: [35, 27] Generated Node #0,3,3: 70:[35, 27] Operation: 75-48=27 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[75, 13], Operations: ['98-50=48', '48-35=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,70 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[35, 27], Operations: ['98-50=48', '75-48=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,70 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[48, 40], Operations: ['98-50=48', '75-35=40'] Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,70 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[75, 83], Operations: ['98-50=48', '35+48=83'] Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,70 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,70 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,70 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: 70:[35, 50, 23], Operations: ['98-75=23'] Exploring Operation: 50-23=27, Resulting Numbers: [35, 27] Generated Node #0,2,0: 70:[35, 27] Operation: 50-23=27 Exploring Operation: 35-23=12, Resulting Numbers: [50, 12] Generated Node #0,2,1: 70:[50, 12] Operation: 35-23=12 Exploring Operation: 50+23=73, Resulting Numbers: [35, 73] Generated Node #0,2,2: 70:[35, 73] Operation: 50+23=73 Exploring Operation: 50-35=15, Resulting Numbers: [23, 15] Generated Node #0,2,3: 70:[23, 15] Operation: 50-35=15 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[35, 73], Operations: ['98-75=23', '50+23=73'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,70 unequal: No Solution Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[35, 27], Operations: ['98-75=23', '50-23=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[23, 15], Operations: ['98-75=23', '50-35=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,70 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[50, 12], Operations: ['98-75=23', '35-23=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,70 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,70 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: 70:[75, 50, 63], Operations: ['98-35=63'] Exploring Operation: 50+63=113, Resulting Numbers: [75, 113] Generated Node #0,1,0: 70:[75, 113] Operation: 50+63=113 Exploring Operation: 75-50=25, Resulting Numbers: [63, 25] Generated Node #0,1,1: 70:[63, 25] Operation: 75-50=25 Exploring Operation: 63-50=13, Resulting Numbers: [75, 13] Generated Node #0,1,2: 70:[75, 13] Operation: 63-50=13 Exploring Operation: 75-63=12, Resulting Numbers: [50, 12] Generated Node #0,1,3: 70:[50, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 70:[98, 75, 15], Operations: ['50-35=15'] Exploring Operation: 75-15=60, Resulting Numbers: [98, 60] Generated Node #0,0,0: 70:[98, 60] Operation: 75-15=60 Exploring Operation: 98-15=83, Resulting Numbers: [75, 83] Generated Node #0,0,1: 70:[75, 83] Operation: 98-15=83 Exploring Operation: 75/15=5, Resulting Numbers: [98, 5] Generated Node #0,0,2: 70:[98, 5] Operation: 75/15=5 Exploring Operation: 98-75=23, Resulting Numbers: [15, 23] Generated Node #0,0,3: 70:[15, 23] Operation: 98-75=23 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[15, 23], Operations: ['50-35=15', '98-75=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,70 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[75, 83], Operations: ['50-35=15', '98-15=83'] Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,70 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[98, 5], Operations: ['50-35=15', '75/15=5'] Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,70 unequal: No Solution Exploring Operation: 98+5=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[98, 60], Operations: ['50-35=15', '75-15=60'] Exploring Operation: 98*60=5880, Resulting Numbers: [5880] 5880,70 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 98+60=158, Resulting Numbers: [158] 158,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 70:[75, 13], Operations: ['98-35=63', '63-50=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,70 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[50, 12], Operations: ['98-35=63', '75-63=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,70 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[63, 25], Operations: ['98-35=63', '75-50=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,70 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[75, 113], Operations: ['98-35=63', '50+63=113'] Exploring Operation: 75+113=188, Resulting Numbers: [188] 188,70 unequal: No Solution Exploring Operation: 75*113=8475, Resulting Numbers: [8475] 8475,70 unequal: No Solution Exploring Operation: 113-75=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 60, 81, 39, 78 ]
51
[ "60*39=2340", "2340/78=30", "81-30=51" ]
Current State: 51:[60, 81, 39, 78], Operations: [] Exploring Operation: 60*39=2340, Resulting Numbers: [81, 78, 2340] Generated Node #2: [81, 78, 2340] from Operation: 60*39=2340 Current State: 51:[81, 78, 2340], Operations: ['60*39=2340'] Exploring Operation: 2340/78=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 2340/78=30 Current State: 51:[81, 30], Operations: ['60*39=2340', '2340/78=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[60, 81, 39, 78], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [60, 39, 3] Generated Node #0,0: 51:[60, 39, 3] Operation: 81-78=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[60, 39, 3], Operations: ['81-78=3'] Exploring Operation: 60-39=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 51:[3, 21] Operation: 60-39=21 Moving to Node #0,0,0 Current State: 51:[3, 21], Operations: ['81-78=3', '60-39=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,51 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
[ 98, 59, 60, 25 ]
70
[ "98*60=5880", "59+25=84", "5880/84=70" ]
Current State: 70:[98, 59, 60, 25], Operations: [] Exploring Operation: 98*60=5880, Resulting Numbers: [59, 25, 5880] Generated Node #2: [59, 25, 5880] from Operation: 98*60=5880 Current State: 70:[59, 25, 5880], Operations: ['98*60=5880'] Exploring Operation: 59+25=84, Resulting Numbers: [5880, 84] Generated Node #3: [5880, 84] from Operation: 59+25=84 Current State: 70:[5880, 84], Operations: ['98*60=5880', '59+25=84'] Exploring Operation: 5880/84=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[98, 59, 60, 25], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [59, 25, 38] Generated Node #0,0: 70:[59, 25, 38] Operation: 98-60=38 Exploring Operation: 98-25=73, Resulting Numbers: [59, 60, 73] Generated Node #0,1: 70:[59, 60, 73] Operation: 98-25=73 Exploring Operation: 98-59=39, Resulting Numbers: [60, 25, 39] Generated Node #0,2: 70:[60, 25, 39] Operation: 98-59=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[59, 25, 38], Operations: ['98-60=38'] Exploring Operation: 59-25=34, Resulting Numbers: [38, 34] Generated Node #0,0,0: 70:[38, 34] Operation: 59-25=34 Exploring Operation: 59+25=84, Resulting Numbers: [38, 84] Generated Node #0,0,1: 70:[38, 84] Operation: 59+25=84 Exploring Operation: 38-25=13, Resulting Numbers: [59, 13] Generated Node #0,0,2: 70:[59, 13] Operation: 38-25=13 Moving to Node #0,0,0 Current State: 70:[38, 34], Operations: ['98-60=38', '59-25=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,70 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[59, 13], Operations: ['98-60=38', '38-25=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,70 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[38, 84], Operations: ['98-60=38', '59+25=84'] Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[59, 60, 73], Operations: ['98-25=73'] Exploring Operation: 73-59=14, Resulting Numbers: [60, 14] Generated Node #0,1,0: 70:[60, 14] Operation: 73-59=14 Exploring Operation: 73-60=13, Resulting Numbers: [59, 13] Generated Node #0,1,1: 70:[59, 13] Operation: 73-60=13 Exploring Operation: 60-59=1, Resulting Numbers: [73, 1] Generated Node #0,1,2: 70:[73, 1] Operation: 60-59=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[73, 1], Operations: ['98-25=73', '60-59=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[60, 14], Operations: ['98-25=73', '73-59=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,70 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[59, 13], Operations: ['98-25=73', '73-60=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,70 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[60, 25, 39], Operations: ['98-59=39'] Exploring Operation: 60-25=35, Resulting Numbers: [39, 35] Generated Node #0,2,0: 70:[39, 35] Operation: 60-25=35 Exploring Operation: 25+39=64, Resulting Numbers: [60, 64] Generated Node #0,2,1: 70:[60, 64] Operation: 25+39=64 Exploring Operation: 39-25=14, Resulting Numbers: [60, 14] Generated Node #0,2,2: 70:[60, 14] Operation: 39-25=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[39, 35], Operations: ['98-59=39', '60-25=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,70 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[60, 14], Operations: ['98-59=39', '39-25=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[60, 64], Operations: ['98-59=39', '25+39=64'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 23, 2, 98 ]
74
[ "2+23=25", "98/2=49", "25+49=74" ]
Current State: 74:[2, 23, 2, 98], Operations: [] Exploring Operation: 2+23=25, Resulting Numbers: [98, 25] Generated Node #2: [98, 25] from Operation: 2+23=25 Current State: 74:[98, 25], Operations: ['2+23=25'] Exploring Operation: 98/2=49, Resulting Numbers: [25, 49] Generated Node #3: [25, 49] from Operation: 98/2=49 Current State: 74:[25, 49], Operations: ['2+23=25', '98/2=49'] Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[2, 23, 2, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [2, 2, 75] Generated Node #0,0: 74:[2, 2, 75] Operation: 98-23=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[2, 2, 75], Operations: ['98-23=75'] Exploring Operation: 75-2=73, Resulting Numbers: [2, 73] Generated Node #0,0,0: 74:[2, 73] Operation: 75-2=73 Moving to Node #0,0,0 Current State: 74:[2, 73], Operations: ['98-23=75', '75-2=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,74 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
[ 72, 77, 9, 60 ]
56
[ "77-72=5", "60-9=51", "5+51=56" ]
Current State: 56:[72, 77, 9, 60], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [9, 60, 5] Generated Node #2: [9, 60, 5] from Operation: 77-72=5 Current State: 56:[9, 60, 5], Operations: ['77-72=5'] Exploring Operation: 60-9=51, Resulting Numbers: [5, 51] Generated Node #3: [5, 51] from Operation: 60-9=51 Current State: 56:[5, 51], Operations: ['77-72=5', '60-9=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[72, 77, 9, 60], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [77, 60, 63] Generated Node #0,0: 56:[77, 60, 63] Operation: 72-9=63 Exploring Operation: 77-72=5, Resulting Numbers: [9, 60, 5] Generated Node #0,1: 56:[9, 60, 5] Operation: 77-72=5 Exploring Operation: 72/9=8, Resulting Numbers: [77, 60, 8] Generated Node #0,2: 56:[77, 60, 8] Operation: 72/9=8 Exploring Operation: 72-60=12, Resulting Numbers: [77, 9, 12] Generated Node #0,3: 56:[77, 9, 12] Operation: 72-60=12 Exploring Operation: 77-60=17, Resulting Numbers: [72, 9, 17] Generated Node #0,4: 56:[72, 9, 17] Operation: 77-60=17 Moving to Node #0,1 Current State: 56:[9, 60, 5], Operations: ['77-72=5'] Exploring Operation: 60-9=51, Resulting Numbers: [5, 51] Generated Node #0,1,0: 56:[5, 51] Operation: 60-9=51 Exploring Operation: 60/5=12, Resulting Numbers: [9, 12] Generated Node #0,1,1: 56:[9, 12] Operation: 60/5=12 Exploring Operation: 9-5=4, Resulting Numbers: [60, 4] Generated Node #0,1,2: 56:[60, 4] Operation: 9-5=4 Exploring Operation: 9+5=14, Resulting Numbers: [60, 14] Generated Node #0,1,3: 56:[60, 14] Operation: 9+5=14 Exploring Operation: 60-5=55, Resulting Numbers: [9, 55] Generated Node #0,1,4: 56:[9, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[9, 55], Operations: ['77-72=5', '60-5=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[9, 12], Operations: ['77-72=5', '60/5=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[60, 4], Operations: ['77-72=5', '9-5=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[72, 77, 9, 60], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [9, 60, 5] Generated Node #0,1: 56:[9, 60, 5] Operation: 77-72=5 Moving to Node #0,1 Current State: 56:[9, 60, 5], Operations: ['77-72=5'] Exploring Operation: 9-5=4, Resulting Numbers: [60, 4] Generated Node #0,1,2: 56:[60, 4] Operation: 9-5=4 Moving to Node #0,1,2 Current State: 56:[60, 4], Operations: ['77-72=5', '9-5=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 72, 52, 85, 55 ]
47
[ "72-55=17", "85/17=5", "52-5=47" ]
Current State: 47:[72, 52, 85, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [52, 85, 17] Generated Node #2: [52, 85, 17] from Operation: 72-55=17 Current State: 47:[52, 85, 17], Operations: ['72-55=17'] Exploring Operation: 85/17=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 85/17=5 Current State: 47:[52, 5], Operations: ['72-55=17', '85/17=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[72, 52, 85, 55], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [72, 52, 30] Generated Node #0,0: 47:[72, 52, 30] Operation: 85-55=30 Exploring Operation: 85-72=13, Resulting Numbers: [52, 55, 13] Generated Node #0,1: 47:[52, 55, 13] Operation: 85-72=13 Exploring Operation: 72-55=17, Resulting Numbers: [52, 85, 17] Generated Node #0,2: 47:[52, 85, 17] Operation: 72-55=17 Exploring Operation: 85-52=33, Resulting Numbers: [72, 55, 33] Generated Node #0,3: 47:[72, 55, 33] Operation: 85-52=33 Exploring Operation: 72-52=20, Resulting Numbers: [85, 55, 20] Generated Node #0,4: 47:[85, 55, 20] Operation: 72-52=20 Moving to Node #0,0 Current State: 47:[72, 52, 30], Operations: ['85-55=30'] Exploring Operation: 52+30=82, Resulting Numbers: [72, 82] Generated Node #0,0,0: 47:[72, 82] Operation: 52+30=82 Exploring Operation: 52-30=22, Resulting Numbers: [72, 22] Generated Node #0,0,1: 47:[72, 22] Operation: 52-30=22 Exploring Operation: 72+30=102, Resulting Numbers: [52, 102] Generated Node #0,0,2: 47:[52, 102] Operation: 72+30=102 Exploring Operation: 72-30=42, Resulting Numbers: [52, 42] Generated Node #0,0,3: 47:[52, 42] Operation: 72-30=42 Exploring Operation: 72-52=20, Resulting Numbers: [30, 20] Generated Node #0,0,4: 47:[30, 20] Operation: 72-52=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[52, 42], Operations: ['85-55=30', '72-30=42'] Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,47 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 47:[30, 20], Operations: ['85-55=30', '72-52=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,47 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[72, 22], Operations: ['85-55=30', '52-30=22'] Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,47 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[72, 82], Operations: ['85-55=30', '52+30=82'] Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[52, 102], Operations: ['85-55=30', '72+30=102'] Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 47:[72, 55, 33], Operations: ['85-52=33'] Exploring Operation: 72-33=39, Resulting Numbers: [55, 39] Generated Node #0,3,0: 47:[55, 39] Operation: 72-33=39 Exploring Operation: 72+33=105, Resulting Numbers: [55, 105] Generated Node #0,3,1: 47:[55, 105] Operation: 72+33=105 Exploring Operation: 72-55=17, Resulting Numbers: [33, 17] Generated Node #0,3,2: 47:[33, 17] Operation: 72-55=17 Exploring Operation: 55-33=22, Resulting Numbers: [72, 22] Generated Node #0,3,3: 47:[72, 22] Operation: 55-33=22 Exploring Operation: 55+33=88, Resulting Numbers: [72, 88] Generated Node #0,3,4: 47:[72, 88] Operation: 55+33=88 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[55, 39], Operations: ['85-52=33', '72-33=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,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,3,2 Current State: 47:[33, 17], Operations: ['85-52=33', '72-55=17'] Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,47 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,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,3,3 Current State: 47:[72, 22], Operations: ['85-52=33', '55-33=22'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,47 unequal: No Solution Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,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,3,1 Current State: 47:[55, 105], Operations: ['85-52=33', '72+33=105'] Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,47 unequal: No Solution Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,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,3,4 Current State: 47:[72, 88], Operations: ['85-52=33', '55+33=88'] Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,47 unequal: No Solution Exploring Operation: 72*88=6336, Resulting Numbers: [6336] 6336,47 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,47 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: 47:[52, 55, 13], Operations: ['85-72=13'] Exploring Operation: 55-13=42, Resulting Numbers: [52, 42] Generated Node #0,1,0: 47:[52, 42] Operation: 55-13=42 Exploring Operation: 55+13=68, Resulting Numbers: [52, 68] Generated Node #0,1,1: 47:[52, 68] Operation: 55+13=68 Exploring Operation: 52+13=65, Resulting Numbers: [55, 65] Generated Node #0,1,2: 47:[55, 65] Operation: 52+13=65 Exploring Operation: 52/13=4, Resulting Numbers: [55, 4] Generated Node #0,1,3: 47:[55, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [55, 39] Generated Node #0,1,4: 47:[55, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[52, 42], Operations: ['85-72=13', '55-13=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,47 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,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,4 Current State: 47:[55, 39], Operations: ['85-72=13', '52-13=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,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,1 Current State: 47:[52, 68], Operations: ['85-72=13', '55+13=68'] Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,47 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,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,2 Current State: 47:[55, 65], Operations: ['85-72=13', '52+13=65'] Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,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,3 Current State: 47:[55, 4], Operations: ['85-72=13', '52/13=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,47 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,47 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: 47:[52, 85, 17], Operations: ['72-55=17'] Exploring Operation: 85-17=68, Resulting Numbers: [52, 68] Generated Node #0,2,0: 47:[52, 68] Operation: 85-17=68 Exploring Operation: 85-52=33, Resulting Numbers: [17, 33] Generated Node #0,2,1: 47:[17, 33] Operation: 85-52=33 Exploring Operation: 52-17=35, Resulting Numbers: [85, 35] Generated Node #0,2,2: 47:[85, 35] Operation: 52-17=35 Exploring Operation: 52+17=69, Resulting Numbers: [85, 69] Generated Node #0,2,3: 47:[85, 69] Operation: 52+17=69 Exploring Operation: 85/17=5, Resulting Numbers: [52, 5] Generated Node #0,2,4: 47:[52, 5] Operation: 85/17=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[52, 68], Operations: ['72-55=17', '85-17=68'] Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,47 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,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,1 Current State: 47:[17, 33], Operations: ['72-55=17', '85-52=33'] Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,47 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,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,4 Current State: 47:[52, 5], Operations: ['72-55=17', '85/17=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[72, 52, 85, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [52, 85, 17] Generated Node #0,2: 47:[52, 85, 17] Operation: 72-55=17 Moving to Node #0,2 Current State: 47:[52, 85, 17], Operations: ['72-55=17'] Exploring Operation: 85/17=5, Resulting Numbers: [52, 5] Generated Node #0,2,4: 47:[52, 5] Operation: 85/17=5 Moving to Node #0,2,4 Current State: 47:[52, 5], Operations: ['72-55=17', '85/17=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.928819
hs_5
sum_heuristic
[ 82, 85, 62, 79 ]
20
[ "85-82=3", "79-62=17", "3+17=20" ]
Current State: 20:[82, 85, 62, 79], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [62, 79, 3] Generated Node #2: [62, 79, 3] from Operation: 85-82=3 Current State: 20:[62, 79, 3], Operations: ['85-82=3'] Exploring Operation: 79-62=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 79-62=17 Current State: 20:[3, 17], Operations: ['85-82=3', '79-62=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[82, 85, 62, 79], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [85, 79, 20] Generated Node #0,0: 20:[85, 79, 20] Operation: 82-62=20 Exploring Operation: 85-79=6, Resulting Numbers: [82, 62, 6] Generated Node #0,1: 20:[82, 62, 6] Operation: 85-79=6 Exploring Operation: 85-62=23, Resulting Numbers: [82, 79, 23] Generated Node #0,2: 20:[82, 79, 23] Operation: 85-62=23 Exploring Operation: 85-82=3, Resulting Numbers: [62, 79, 3] Generated Node #0,3: 20:[62, 79, 3] Operation: 85-82=3 Exploring Operation: 82-79=3, Resulting Numbers: [85, 62, 3] Generated Node #0,4: 20:[85, 62, 3] Operation: 82-79=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[62, 79, 3], Operations: ['85-82=3'] Exploring Operation: 79+3=82, Resulting Numbers: [62, 82] Generated Node #0,3,0: 20:[62, 82] Operation: 79+3=82 Exploring Operation: 62-3=59, Resulting Numbers: [79, 59] Generated Node #0,3,1: 20:[79, 59] Operation: 62-3=59 Exploring Operation: 62+3=65, Resulting Numbers: [79, 65] Generated Node #0,3,2: 20:[79, 65] Operation: 62+3=65 Exploring Operation: 79-62=17, Resulting Numbers: [3, 17] Generated Node #0,3,3: 20:[3, 17] Operation: 79-62=17 Exploring Operation: 79-3=76, Resulting Numbers: [62, 76] Generated Node #0,3,4: 20:[62, 76] Operation: 79-3=76 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[3, 17], Operations: ['85-82=3', '79-62=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[82, 85, 62, 79], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [62, 79, 3] Generated Node #0,3: 20:[62, 79, 3] Operation: 85-82=3 Moving to Node #0,3 Current State: 20:[62, 79, 3], Operations: ['85-82=3'] Exploring Operation: 79-62=17, Resulting Numbers: [3, 17] Generated Node #0,3,3: 20:[3, 17] Operation: 79-62=17 Moving to Node #0,3,3 Current State: 20:[3, 17], Operations: ['85-82=3', '79-62=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 61, 87, 21, 11 ]
83
[ "61+87=148", "21*11=231", "231-148=83" ]
Current State: 83:[61, 87, 21, 11], Operations: [] Exploring Operation: 61+87=148, Resulting Numbers: [21, 11, 148] Generated Node #2: [21, 11, 148] from Operation: 61+87=148 Current State: 83:[21, 11, 148], Operations: ['61+87=148'] Exploring Operation: 21*11=231, Resulting Numbers: [148, 231] Generated Node #3: [148, 231] from Operation: 21*11=231 Current State: 83:[148, 231], Operations: ['61+87=148', '21*11=231'] Exploring Operation: 231-148=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[61, 87, 21, 11], Operations: [] Exploring Operation: 21+11=32, Resulting Numbers: [61, 87, 32] Generated Node #0,0: 83:[61, 87, 32] Operation: 21+11=32 Exploring Operation: 61+21=82, Resulting Numbers: [87, 11, 82] Generated Node #0,1: 83:[87, 11, 82] Operation: 61+21=82 Exploring Operation: 61+11=72, Resulting Numbers: [87, 21, 72] Generated Node #0,2: 83:[87, 21, 72] Operation: 61+11=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[61, 87, 32], Operations: ['21+11=32'] Exploring Operation: 61-32=29, Resulting Numbers: [87, 29] Generated Node #0,0,0: 83:[87, 29] Operation: 61-32=29 Exploring Operation: 61+32=93, Resulting Numbers: [87, 93] Generated Node #0,0,1: 83:[87, 93] Operation: 61+32=93 Exploring Operation: 87-32=55, Resulting Numbers: [61, 55] Generated Node #0,0,2: 83:[61, 55] Operation: 87-32=55 Moving to Node #0,0,1 Current State: 83:[87, 93], Operations: ['21+11=32', '61+32=93'] Exploring Operation: 87+93=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 87*93=8091, Resulting Numbers: [8091] 8091,83 unequal: No Solution Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[61, 55], Operations: ['21+11=32', '87-32=55'] Exploring Operation: 61*55=3355, Resulting Numbers: [3355] 3355,83 unequal: No Solution Exploring Operation: 61+55=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[87, 29], Operations: ['21+11=32', '61-32=29'] Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[87, 11, 82], Operations: ['61+21=82'] Exploring Operation: 87-11=76, Resulting Numbers: [82, 76] Generated Node #0,1,0: 83:[82, 76] Operation: 87-11=76 Exploring Operation: 87+11=98, Resulting Numbers: [82, 98] Generated Node #0,1,1: 83:[82, 98] Operation: 87+11=98 Exploring Operation: 11+82=93, Resulting Numbers: [87, 93] Generated Node #0,1,2: 83:[87, 93] Operation: 11+82=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[82, 76], Operations: ['61+21=82', '87-11=76'] Exploring Operation: 82+76=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 82*76=6232, Resulting Numbers: [6232] 6232,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:[87, 93], Operations: ['61+21=82', '11+82=93'] Exploring Operation: 87*93=8091, Resulting Numbers: [8091] 8091,83 unequal: No Solution Exploring Operation: 87+93=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,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:[82, 98], Operations: ['61+21=82', '87+11=98'] Exploring Operation: 98-82=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 82+98=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 82*98=8036, Resulting Numbers: [8036] 8036,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:[87, 21, 72], Operations: ['61+11=72'] Exploring Operation: 87+21=108, Resulting Numbers: [72, 108] Generated Node #0,2,0: 83:[72, 108] Operation: 87+21=108 Exploring Operation: 87-21=66, Resulting Numbers: [72, 66] Generated Node #0,2,1: 83:[72, 66] Operation: 87-21=66 Exploring Operation: 21+72=93, Resulting Numbers: [87, 93] Generated Node #0,2,2: 83:[87, 93] Operation: 21+72=93 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[87, 93], Operations: ['61+11=72', '21+72=93'] Exploring Operation: 87+93=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 87*93=8091, Resulting Numbers: [8091] 8091,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[72, 66], Operations: ['61+11=72', '87-21=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,83 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[72, 108], Operations: ['61+11=72', '87+21=108'] Exploring Operation: 72*108=7776, Resulting Numbers: [7776] 7776,83 unequal: No Solution Exploring Operation: 72+108=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 108-72=36, Resulting Numbers: [36] 36,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_3
sum_heuristic
[ 30, 41, 90, 51 ]
89
[ "90/30=3", "41+51=92", "92-3=89" ]
Current State: 89:[30, 41, 90, 51], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [41, 51, 3] Generated Node #2: [41, 51, 3] from Operation: 90/30=3 Current State: 89:[41, 51, 3], Operations: ['90/30=3'] Exploring Operation: 41+51=92, Resulting Numbers: [3, 92] Generated Node #3: [3, 92] from Operation: 41+51=92 Current State: 89:[3, 92], Operations: ['90/30=3', '41+51=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 41, 90, 51], Operations: [] Exploring Operation: 30+41=71, Resulting Numbers: [90, 51, 71] Generated Node #0,0: 89:[90, 51, 71] Operation: 30+41=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[90, 51, 71], Operations: ['30+41=71'] Exploring Operation: 51+71=122, Resulting Numbers: [90, 122] Generated Node #0,0,0: 89:[90, 122] Operation: 51+71=122 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[90, 122], Operations: ['30+41=71', '51+71=122'] Exploring Operation: 122-90=32, Resulting Numbers: [32] 32,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 52, 31, 3 ]
92
[ "52/52=1", "31*3=93", "93-1=92" ]
Current State: 92:[52, 52, 31, 3], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [31, 3, 1] Generated Node #2: [31, 3, 1] from Operation: 52/52=1 Current State: 92:[31, 3, 1], Operations: ['52/52=1'] Exploring Operation: 31*3=93, Resulting Numbers: [1, 93] Generated Node #3: [1, 93] from Operation: 31*3=93 Current State: 92:[1, 93], Operations: ['52/52=1', '31*3=93'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[52, 52, 31, 3], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [52, 3, 21] Generated Node #0,0: 92:[52, 3, 21] Operation: 52-31=21 Exploring Operation: 52-31=21, Resulting Numbers: [52, 3, 21] Generated Node #0,1: 92:[52, 3, 21] Operation: 52-31=21 Moving to Node #0,0 Current State: 92:[52, 3, 21], Operations: ['52-31=21'] Exploring Operation: 52-3=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 92:[21, 49] Operation: 52-3=49 Exploring Operation: 3+21=24, Resulting Numbers: [52, 24] Generated Node #0,0,1: 92:[52, 24] Operation: 3+21=24 Moving to Node #0,1 Current State: 92:[52, 3, 21], Operations: ['52-31=21'] Exploring Operation: 3+21=24, Resulting Numbers: [52, 24] Generated Node #0,1,0: 92:[52, 24] Operation: 3+21=24 Exploring Operation: 52-3=49, Resulting Numbers: [21, 49] Generated Node #0,1,1: 92:[21, 49] Operation: 52-3=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[21, 49], Operations: ['52-31=21', '52-3=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[52, 24], Operations: ['52-31=21', '3+21=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 92:[21, 49], Operations: ['52-31=21', '52-3=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[52, 24], Operations: ['52-31=21', '3+21=24'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 66, 44, 9 ]
38
[ "7+66=73", "44-9=35", "73-35=38" ]
Current State: 38:[7, 66, 44, 9], Operations: [] Exploring Operation: 7+66=73, Resulting Numbers: [44, 9, 73] Generated Node #2: [44, 9, 73] from Operation: 7+66=73 Current State: 38:[44, 9, 73], Operations: ['7+66=73'] Exploring Operation: 44-9=35, Resulting Numbers: [73, 35] Generated Node #3: [73, 35] from Operation: 44-9=35 Current State: 38:[73, 35], Operations: ['7+66=73', '44-9=35'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[7, 66, 44, 9], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [66, 9, 37] Generated Node #0,0: 38:[66, 9, 37] Operation: 44-7=37 Exploring Operation: 66-9=57, Resulting Numbers: [7, 44, 57] Generated Node #0,1: 38:[7, 44, 57] Operation: 66-9=57 Exploring Operation: 66-7=59, Resulting Numbers: [44, 9, 59] Generated Node #0,2: 38:[44, 9, 59] Operation: 66-7=59 Exploring Operation: 66-44=22, Resulting Numbers: [7, 9, 22] Generated Node #0,3: 38:[7, 9, 22] Operation: 66-44=22 Exploring Operation: 9-7=2, Resulting Numbers: [66, 44, 2] Generated Node #0,4: 38:[66, 44, 2] Operation: 9-7=2 Moving to Node #0,3 Current State: 38:[7, 9, 22], Operations: ['66-44=22'] Exploring Operation: 9-7=2, Resulting Numbers: [22, 2] Generated Node #0,3,0: 38:[22, 2] Operation: 9-7=2 Exploring Operation: 22-9=13, Resulting Numbers: [7, 13] Generated Node #0,3,1: 38:[7, 13] Operation: 22-9=13 Exploring Operation: 7+9=16, Resulting Numbers: [22, 16] Generated Node #0,3,2: 38:[22, 16] Operation: 7+9=16 Exploring Operation: 9+22=31, Resulting Numbers: [7, 31] Generated Node #0,3,3: 38:[7, 31] Operation: 9+22=31 Exploring Operation: 22-7=15, Resulting Numbers: [9, 15] Generated Node #0,3,4: 38:[9, 15] Operation: 22-7=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[22, 2], Operations: ['66-44=22', '9-7=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,38 unequal: No Solution No 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: 38:[22, 16], Operations: ['66-44=22', '7+9=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[7, 66, 44, 9], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [7, 9, 22] Generated Node #0,3: 38:[7, 9, 22] Operation: 66-44=22 Moving to Node #0,3 Current State: 38:[7, 9, 22], Operations: ['66-44=22'] Exploring Operation: 7+9=16, Resulting Numbers: [22, 16] Generated Node #0,3,2: 38:[22, 16] Operation: 7+9=16 Moving to Node #0,3,2 Current State: 38:[22, 16], Operations: ['66-44=22', '7+9=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 36, 12, 4, 47 ]
19
[ "36-12=24", "47-4=43", "43-24=19" ]
Current State: 19:[36, 12, 4, 47], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [4, 47, 24] Generated Node #2: [4, 47, 24] from Operation: 36-12=24 Current State: 19:[4, 47, 24], Operations: ['36-12=24'] Exploring Operation: 47-4=43, Resulting Numbers: [24, 43] Generated Node #3: [24, 43] from Operation: 47-4=43 Current State: 19:[24, 43], Operations: ['36-12=24', '47-4=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 12, 4, 47], Operations: [] Exploring Operation: 47-36=11, Resulting Numbers: [12, 4, 11] Generated Node #0,0: 19:[12, 4, 11] Operation: 47-36=11 Exploring Operation: 36-12=24, Resulting Numbers: [4, 47, 24] Generated Node #0,1: 19:[4, 47, 24] Operation: 36-12=24 Exploring Operation: 36/4=9, Resulting Numbers: [12, 47, 9] Generated Node #0,2: 19:[12, 47, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[12, 4, 11], Operations: ['47-36=11'] Exploring Operation: 12+4=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 19:[11, 16] Operation: 12+4=16 Exploring Operation: 12-4=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 19:[11, 8] Operation: 12-4=8 Exploring Operation: 4+11=15, Resulting Numbers: [12, 15] Generated Node #0,0,2: 19:[12, 15] Operation: 4+11=15 Moving to Node #0,0,0 Current State: 19:[11, 16], Operations: ['47-36=11', '12+4=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,19 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[12, 15], Operations: ['47-36=11', '4+11=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[11, 8], Operations: ['47-36=11', '12-4=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 12, 4, 47], Operations: [] Exploring Operation: 47-36=11, Resulting Numbers: [12, 4, 11] Generated Node #0,0: 19:[12, 4, 11] Operation: 47-36=11 Moving to Node #0,0 Current State: 19:[12, 4, 11], Operations: ['47-36=11'] Exploring Operation: 12-4=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 19:[11, 8] Operation: 12-4=8 Moving to Node #0,0,1 Current State: 19:[11, 8], Operations: ['47-36=11', '12-4=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 39, 87, 62, 56 ]
21
[ "39+87=126", "62-56=6", "126/6=21" ]
Current State: 21:[39, 87, 62, 56], Operations: [] Exploring Operation: 39+87=126, Resulting Numbers: [62, 56, 126] Generated Node #2: [62, 56, 126] from Operation: 39+87=126 Current State: 21:[62, 56, 126], Operations: ['39+87=126'] Exploring Operation: 62-56=6, Resulting Numbers: [126, 6] Generated Node #3: [126, 6] from Operation: 62-56=6 Current State: 21:[126, 6], Operations: ['39+87=126', '62-56=6'] Exploring Operation: 126/6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[39, 87, 62, 56], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [39, 87, 6] Generated Node #0,0: 21:[39, 87, 6] Operation: 62-56=6 Exploring Operation: 87-62=25, Resulting Numbers: [39, 56, 25] Generated Node #0,1: 21:[39, 56, 25] Operation: 87-62=25 Exploring Operation: 87-56=31, Resulting Numbers: [39, 62, 31] Generated Node #0,2: 21:[39, 62, 31] Operation: 87-56=31 Exploring Operation: 87-39=48, Resulting Numbers: [62, 56, 48] Generated Node #0,3: 21:[62, 56, 48] Operation: 87-39=48 Exploring Operation: 62-39=23, Resulting Numbers: [87, 56, 23] Generated Node #0,4: 21:[87, 56, 23] Operation: 62-39=23 Moving to Node #0,1 Current State: 21:[39, 56, 25], Operations: ['87-62=25'] Exploring Operation: 56-39=17, Resulting Numbers: [25, 17] Generated Node #0,1,0: 21:[25, 17] Operation: 56-39=17 Exploring Operation: 39+56=95, Resulting Numbers: [25, 95] Generated Node #0,1,1: 21:[25, 95] Operation: 39+56=95 Exploring Operation: 39-25=14, Resulting Numbers: [56, 14] Generated Node #0,1,2: 21:[56, 14] Operation: 39-25=14 Exploring Operation: 56-25=31, Resulting Numbers: [39, 31] Generated Node #0,1,3: 21:[39, 31] Operation: 56-25=31 Exploring Operation: 39+25=64, Resulting Numbers: [56, 64] Generated Node #0,1,4: 21:[56, 64] Operation: 39+25=64 Moving to Node #0,2 Current State: 21:[39, 62, 31], Operations: ['87-56=31'] Exploring Operation: 62/31=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 21:[39, 2] Operation: 62/31=2 Exploring Operation: 39-31=8, Resulting Numbers: [62, 8] Generated Node #0,2,1: 21:[62, 8] Operation: 39-31=8 Exploring Operation: 39+62=101, Resulting Numbers: [31, 101] Generated Node #0,2,2: 21:[31, 101] Operation: 39+62=101 Exploring Operation: 62-31=31, Resulting Numbers: [39, 31] Generated Node #0,2,3: 21:[39, 31] Operation: 62-31=31 Exploring Operation: 62-39=23, Resulting Numbers: [31, 23] Generated Node #0,2,4: 21:[31, 23] Operation: 62-39=23 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 21:[31, 23], Operations: ['87-56=31', '62-39=23'] Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,21 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,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:[39, 2], Operations: ['87-56=31', '62/31=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,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:[39, 31], Operations: ['87-56=31', '62-31=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,21 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,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,1 Current State: 21:[62, 8], Operations: ['87-56=31', '39-31=8'] Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,21 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,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:[31, 101], Operations: ['87-56=31', '39+62=101'] Exploring Operation: 101-31=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 31+101=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 31*101=3131, Resulting Numbers: [3131] 3131,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:[39, 87, 6], Operations: ['62-56=6'] Exploring Operation: 87-6=81, Resulting Numbers: [39, 81] Generated Node #0,0,0: 21:[39, 81] Operation: 87-6=81 Exploring Operation: 39-6=33, Resulting Numbers: [87, 33] Generated Node #0,0,1: 21:[87, 33] Operation: 39-6=33 Exploring Operation: 87+6=93, Resulting Numbers: [39, 93] Generated Node #0,0,2: 21:[39, 93] Operation: 87+6=93 Exploring Operation: 87-39=48, Resulting Numbers: [6, 48] Generated Node #0,0,3: 21:[6, 48] Operation: 87-39=48 Exploring Operation: 39+6=45, Resulting Numbers: [87, 45] Generated Node #0,0,4: 21:[87, 45] Operation: 39+6=45 Moving to Node #0,3 Current State: 21:[62, 56, 48], Operations: ['87-39=48'] Exploring Operation: 62-56=6, Resulting Numbers: [48, 6] Generated Node #0,3,0: 21:[48, 6] Operation: 62-56=6 Exploring Operation: 56-48=8, Resulting Numbers: [62, 8] Generated Node #0,3,1: 21:[62, 8] Operation: 56-48=8 Exploring Operation: 62+56=118, Resulting Numbers: [48, 118] Generated Node #0,3,2: 21:[48, 118] Operation: 62+56=118 Exploring Operation: 62+48=110, Resulting Numbers: [56, 110] Generated Node #0,3,3: 21:[56, 110] Operation: 62+48=110 Exploring Operation: 62-48=14, Resulting Numbers: [56, 14] Generated Node #0,3,4: 21:[56, 14] Operation: 62-48=14 Moving to Node #0,4 Current State: 21:[87, 56, 23], Operations: ['62-39=23'] Exploring Operation: 87-56=31, Resulting Numbers: [23, 31] Generated Node #0,4,0: 21:[23, 31] Operation: 87-56=31 Exploring Operation: 87+23=110, Resulting Numbers: [56, 110] Generated Node #0,4,1: 21:[56, 110] Operation: 87+23=110 Exploring Operation: 87-23=64, Resulting Numbers: [56, 64] Generated Node #0,4,2: 21:[56, 64] Operation: 87-23=64 Exploring Operation: 87+56=143, Resulting Numbers: [23, 143] Generated Node #0,4,3: 21:[23, 143] Operation: 87+56=143 Exploring Operation: 56-23=33, Resulting Numbers: [87, 33] Generated Node #0,4,4: 21:[87, 33] Operation: 56-23=33 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 21:[23, 31], Operations: ['62-39=23', '87-56=31'] Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,21 unequal: No Solution Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,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:[56, 64], Operations: ['62-39=23', '87-23=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,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:[87, 33], Operations: ['62-39=23', '56-23=33'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,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:[56, 110], Operations: ['62-39=23', '87+23=110'] Exploring Operation: 110-56=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 56*110=6160, Resulting Numbers: [6160] 6160,21 unequal: No Solution Exploring Operation: 56+110=166, Resulting Numbers: [166] 166,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:[23, 143], Operations: ['62-39=23', '87+56=143'] Exploring Operation: 23+143=166, Resulting Numbers: [166] 166,21 unequal: No Solution Exploring Operation: 143-23=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 23*143=3289, Resulting Numbers: [3289] 3289,21 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: 21:[25, 17], Operations: ['87-62=25', '56-39=17'] Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,21 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[6, 48], Operations: ['62-56=6', '87-39=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,21 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[39, 31], Operations: ['87-62=25', '56-25=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,21 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[48, 6], Operations: ['87-39=48', '62-56=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,21 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[56, 14], Operations: ['87-62=25', '39-25=14'] Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,21 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,21 unequal: No Solution Moving to Node #0,3,4 Current State: 21:[56, 14], Operations: ['87-39=48', '62-48=14'] Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,21 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[62, 8], Operations: ['87-39=48', '56-48=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[39, 81], Operations: ['62-56=6', '87-6=81'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[56, 64], Operations: ['87-62=25', '39+25=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[25, 95], Operations: ['87-62=25', '39+56=95'] Exploring Operation: 25*95=2375, Resulting Numbers: [2375] 2375,21 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 25+95=120, Resulting Numbers: [120] 120,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[87, 33], Operations: ['62-56=6', '39-6=33'] Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,21 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[39, 93], Operations: ['62-56=6', '87+6=93'] Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 39*93=3627, Resulting Numbers: [3627] 3627,21 unequal: No Solution Exploring Operation: 39+93=132, Resulting Numbers: [132] 132,21 unequal: No Solution Moving to Node #0,0,4 Current State: 21:[87, 45], Operations: ['62-56=6', '39+6=45'] Exploring Operation: 87+45=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 87*45=3915, Resulting Numbers: [3915] 3915,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[56, 110], Operations: ['87-39=48', '62+48=110'] Exploring Operation: 56+110=166, Resulting Numbers: [166] 166,21 unequal: No Solution Exploring Operation: 110-56=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 56*110=6160, Resulting Numbers: [6160] 6160,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[48, 118], Operations: ['87-39=48', '62+56=118'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 48*118=5664, Resulting Numbers: [5664] 5664,21 unequal: No Solution Exploring Operation: 48+118=166, Resulting Numbers: [166] 166,21 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 31, 51, 5, 40 ]
25
[ "51-31=20", "5+40=45", "45-20=25" ]
Current State: 25:[31, 51, 5, 40], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [5, 40, 20] Generated Node #2: [5, 40, 20] from Operation: 51-31=20 Current State: 25:[5, 40, 20], Operations: ['51-31=20'] Exploring Operation: 5+40=45, Resulting Numbers: [20, 45] Generated Node #3: [20, 45] from Operation: 5+40=45 Current State: 25:[20, 45], Operations: ['51-31=20', '5+40=45'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[31, 51, 5, 40], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [51, 5, 9] Generated Node #0,0: 25:[51, 5, 9] Operation: 40-31=9 Exploring Operation: 51-40=11, Resulting Numbers: [31, 5, 11] Generated Node #0,1: 25:[31, 5, 11] Operation: 51-40=11 Exploring Operation: 51-31=20, Resulting Numbers: [5, 40, 20] Generated Node #0,2: 25:[5, 40, 20] Operation: 51-31=20 Exploring Operation: 40/5=8, Resulting Numbers: [31, 51, 8] Generated Node #0,3: 25:[31, 51, 8] Operation: 40/5=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[31, 5, 11], Operations: ['51-40=11'] Exploring Operation: 31-11=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 25:[5, 20] Operation: 31-11=20 Exploring Operation: 5+11=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 25:[31, 16] Operation: 5+11=16 Exploring Operation: 31-5=26, Resulting Numbers: [11, 26] Generated Node #0,1,2: 25:[11, 26] Operation: 31-5=26 Exploring Operation: 11-5=6, Resulting Numbers: [31, 6] Generated Node #0,1,3: 25:[31, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[5, 20], Operations: ['51-40=11', '31-11=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[31, 51, 5, 40], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [31, 5, 11] Generated Node #0,1: 25:[31, 5, 11] Operation: 51-40=11 Moving to Node #0,1 Current State: 25:[31, 5, 11], Operations: ['51-40=11'] Exploring Operation: 31-11=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 25:[5, 20] Operation: 31-11=20 Moving to Node #0,1,0 Current State: 25:[5, 20], Operations: ['51-40=11', '31-11=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 32, 63, 74, 10 ]
95
[ "63-32=31", "74-10=64", "31+64=95" ]
Current State: 95:[32, 63, 74, 10], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [74, 10, 31] Generated Node #2: [74, 10, 31] from Operation: 63-32=31 Current State: 95:[74, 10, 31], Operations: ['63-32=31'] Exploring Operation: 74-10=64, Resulting Numbers: [31, 64] Generated Node #3: [31, 64] from Operation: 74-10=64 Current State: 95:[31, 64], Operations: ['63-32=31', '74-10=64'] Exploring Operation: 31+64=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[32, 63, 74, 10], Operations: [] Exploring Operation: 32+63=95, Resulting Numbers: [74, 10, 95] Generated Node #0,0: 95:[74, 10, 95] Operation: 32+63=95 Exploring Operation: 74-63=11, Resulting Numbers: [32, 10, 11] Generated Node #0,1: 95:[32, 10, 11] Operation: 74-63=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[32, 10, 11], Operations: ['74-63=11'] Exploring Operation: 32-11=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 95:[10, 21] Operation: 32-11=21 Exploring Operation: 32-10=22, Resulting Numbers: [11, 22] Generated Node #0,1,1: 95:[11, 22] Operation: 32-10=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[10, 21], Operations: ['74-63=11', '32-11=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,95 unequal: No Solution No 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: 95:[11, 22], Operations: ['74-63=11', '32-10=22'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,95 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: 95:[74, 10, 95], Operations: ['32+63=95'] Exploring Operation: 74+10=84, Resulting Numbers: [95, 84] Generated Node #0,0,0: 95:[95, 84] Operation: 74+10=84 Exploring Operation: 95-74=21, Resulting Numbers: [10, 21] Generated Node #0,0,1: 95:[10, 21] Operation: 95-74=21 Moving to Node #0,0,1 Current State: 95:[10, 21], Operations: ['32+63=95', '95-74=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[95, 84], Operations: ['32+63=95', '74+10=84'] Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,95 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
[ 75, 47, 34, 50 ]
54
[ "47+34=81", "50*81=4050", "4050/75=54" ]
Current State: 54:[75, 47, 34, 50], Operations: [] Exploring Operation: 47+34=81, Resulting Numbers: [75, 50, 81] Generated Node #2: [75, 50, 81] from Operation: 47+34=81 Current State: 54:[75, 50, 81], Operations: ['47+34=81'] Exploring Operation: 50*81=4050, Resulting Numbers: [75, 4050] Generated Node #3: [75, 4050] from Operation: 50*81=4050 Current State: 54:[75, 4050], Operations: ['47+34=81', '50*81=4050'] Exploring Operation: 4050/75=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[75, 47, 34, 50], Operations: [] Exploring Operation: 47-34=13, Resulting Numbers: [75, 50, 13] Generated Node #0,0: 54:[75, 50, 13] Operation: 47-34=13 Exploring Operation: 75-50=25, Resulting Numbers: [47, 34, 25] Generated Node #0,1: 54:[47, 34, 25] Operation: 75-50=25 Exploring Operation: 75-47=28, Resulting Numbers: [34, 50, 28] Generated Node #0,2: 54:[34, 50, 28] Operation: 75-47=28 Exploring Operation: 50-47=3, Resulting Numbers: [75, 34, 3] Generated Node #0,3: 54:[75, 34, 3] Operation: 50-47=3 Exploring Operation: 75-34=41, Resulting Numbers: [47, 50, 41] Generated Node #0,4: 54:[47, 50, 41] Operation: 75-34=41 Moving to Node #0,2 Current State: 54:[34, 50, 28], Operations: ['75-47=28'] Exploring Operation: 34-28=6, Resulting Numbers: [50, 6] Generated Node #0,2,0: 54:[50, 6] Operation: 34-28=6 Exploring Operation: 50-34=16, Resulting Numbers: [28, 16] Generated Node #0,2,1: 54:[28, 16] Operation: 50-34=16 Exploring Operation: 34+28=62, Resulting Numbers: [50, 62] Generated Node #0,2,2: 54:[50, 62] Operation: 34+28=62 Exploring Operation: 34+50=84, Resulting Numbers: [28, 84] Generated Node #0,2,3: 54:[28, 84] Operation: 34+50=84 Exploring Operation: 50-28=22, Resulting Numbers: [34, 22] Generated Node #0,2,4: 54:[34, 22] Operation: 50-28=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[28, 16], Operations: ['75-47=28', '50-34=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[50, 6], Operations: ['75-47=28', '34-28=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,54 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 54:[34, 22], Operations: ['75-47=28', '50-28=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[50, 62], Operations: ['75-47=28', '34+28=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[28, 84], Operations: ['75-47=28', '34+50=84'] Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,54 unequal: No Solution Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,54 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: 54:[47, 34, 25], Operations: ['75-50=25'] Exploring Operation: 47+25=72, Resulting Numbers: [34, 72] Generated Node #0,1,0: 54:[34, 72] Operation: 47+25=72 Exploring Operation: 34+25=59, Resulting Numbers: [47, 59] Generated Node #0,1,1: 54:[47, 59] Operation: 34+25=59 Exploring Operation: 34-25=9, Resulting Numbers: [47, 9] Generated Node #0,1,2: 54:[47, 9] Operation: 34-25=9 Exploring Operation: 47-25=22, Resulting Numbers: [34, 22] Generated Node #0,1,3: 54:[34, 22] Operation: 47-25=22 Exploring Operation: 47-34=13, Resulting Numbers: [25, 13] Generated Node #0,1,4: 54:[25, 13] Operation: 47-34=13 Moving to Node #0,4 Current State: 54:[47, 50, 41], Operations: ['75-34=41'] Exploring Operation: 50+41=91, Resulting Numbers: [47, 91] Generated Node #0,4,0: 54:[47, 91] Operation: 50+41=91 Exploring Operation: 50-41=9, Resulting Numbers: [47, 9] Generated Node #0,4,1: 54:[47, 9] Operation: 50-41=9 Exploring Operation: 47+41=88, Resulting Numbers: [50, 88] Generated Node #0,4,2: 54:[50, 88] Operation: 47+41=88 Exploring Operation: 47-41=6, Resulting Numbers: [50, 6] Generated Node #0,4,3: 54:[50, 6] Operation: 47-41=6 Exploring Operation: 50-47=3, Resulting Numbers: [41, 3] Generated Node #0,4,4: 54:[41, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 54:[50, 6], Operations: ['75-34=41', '47-41=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 54:[47, 9], Operations: ['75-34=41', '50-41=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,54 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 54:[41, 3], Operations: ['75-34=41', '50-47=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,54 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 54:[50, 88], Operations: ['75-34=41', '47+41=88'] Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,54 unequal: No Solution Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,54 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 54:[47, 91], Operations: ['75-34=41', '50+41=91'] Exploring Operation: 47+91=138, Resulting Numbers: [138] 138,54 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 47*91=4277, Resulting Numbers: [4277] 4277,54 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: 54:[75, 34, 3], Operations: ['50-47=3'] Exploring Operation: 75/3=25, Resulting Numbers: [34, 25] Generated Node #0,3,0: 54:[34, 25] Operation: 75/3=25 Exploring Operation: 75+3=78, Resulting Numbers: [34, 78] Generated Node #0,3,1: 54:[34, 78] Operation: 75+3=78 Exploring Operation: 75-3=72, Resulting Numbers: [34, 72] Generated Node #0,3,2: 54:[34, 72] Operation: 75-3=72 Exploring Operation: 34-3=31, Resulting Numbers: [75, 31] Generated Node #0,3,3: 54:[75, 31] Operation: 34-3=31 Exploring Operation: 75-34=41, Resulting Numbers: [3, 41] Generated Node #0,3,4: 54:[3, 41] Operation: 75-34=41 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[34, 25], Operations: ['50-47=3', '75/3=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,54 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 54:[3, 41], Operations: ['50-47=3', '75-34=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[34, 72], Operations: ['50-47=3', '75-3=72'] Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,54 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[75, 31], Operations: ['50-47=3', '34-3=31'] Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,54 unequal: No Solution Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,54 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[34, 78], Operations: ['50-47=3', '75+3=78'] Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,54 unequal: No Solution Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,54 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: 54:[75, 50, 13], Operations: ['47-34=13'] Exploring Operation: 75-50=25, Resulting Numbers: [13, 25] Generated Node #0,0,0: 54:[13, 25] Operation: 75-50=25 Exploring Operation: 75-13=62, Resulting Numbers: [50, 62] Generated Node #0,0,1: 54:[50, 62] Operation: 75-13=62 Exploring Operation: 50+13=63, Resulting Numbers: [75, 63] Generated Node #0,0,2: 54:[75, 63] Operation: 50+13=63 Exploring Operation: 50-13=37, Resulting Numbers: [75, 37] Generated Node #0,0,3: 54:[75, 37] Operation: 50-13=37 Exploring Operation: 75+13=88, Resulting Numbers: [50, 88] Generated Node #0,0,4: 54:[50, 88] Operation: 75+13=88 Moving to Node #0,1,4 Current State: 54:[25, 13], Operations: ['75-50=25', '47-34=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[13, 25], Operations: ['47-34=13', '75-50=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[47, 9], Operations: ['75-50=25', '34-25=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[34, 22], Operations: ['75-50=25', '47-25=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,54 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[50, 62], Operations: ['47-34=13', '75-13=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,54 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[47, 59], Operations: ['75-50=25', '34+25=59'] Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,54 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[34, 72], Operations: ['75-50=25', '47+25=72'] Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,54 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,54 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[75, 63], Operations: ['47-34=13', '50+13=63'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,54 unequal: No Solution Exploring Operation: 75*63=4725, Resulting Numbers: [4725] 4725,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[75, 37], Operations: ['47-34=13', '50-13=37'] Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,54 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[50, 88], Operations: ['47-34=13', '75+13=88'] Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,54 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,54 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 15, 26, 75, 23 ]
10
[ "26-23=3", "75/3=25", "25-15=10" ]
Current State: 10:[15, 26, 75, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [15, 75, 3] Generated Node #2: [15, 75, 3] from Operation: 26-23=3 Current State: 10:[15, 75, 3], Operations: ['26-23=3'] Exploring Operation: 75/3=25, Resulting Numbers: [15, 25] Generated Node #3: [15, 25] from Operation: 75/3=25 Current State: 10:[15, 25], Operations: ['26-23=3', '75/3=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 26, 75, 23], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [26, 23, 5] Generated Node #0,0: 10:[26, 23, 5] Operation: 75/15=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[26, 23, 5], Operations: ['75/15=5'] Exploring Operation: 26-23=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 10:[5, 3] Operation: 26-23=3 Moving to Node #0,0,0 Current State: 10:[5, 3], Operations: ['75/15=5', '26-23=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,10 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, 46, 50, 20 ]
25
[ "46-28=18", "20-18=2", "50/2=25" ]
Current State: 25:[28, 46, 50, 20], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [50, 20, 18] Generated Node #2: [50, 20, 18] from Operation: 46-28=18 Current State: 25:[50, 20, 18], Operations: ['46-28=18'] Exploring Operation: 20-18=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 20-18=2 Current State: 25:[50, 2], Operations: ['46-28=18', '20-18=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 46, 50, 20], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [46, 20, 22] Generated Node #0,0: 25:[46, 20, 22] Operation: 50-28=22 Exploring Operation: 46-20=26, Resulting Numbers: [28, 50, 26] Generated Node #0,1: 25:[28, 50, 26] Operation: 46-20=26 Exploring Operation: 50-46=4, Resulting Numbers: [28, 20, 4] Generated Node #0,2: 25:[28, 20, 4] Operation: 50-46=4 Moving to Node #0,2 Current State: 25:[28, 20, 4], Operations: ['50-46=4'] Exploring Operation: 20+4=24, Resulting Numbers: [28, 24] Generated Node #0,2,0: 25:[28, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [28, 5] Generated Node #0,2,1: 25:[28, 5] Operation: 20/4=5 Exploring Operation: 28-20=8, Resulting Numbers: [4, 8] Generated Node #0,2,2: 25:[4, 8] Operation: 28-20=8 Moving to Node #0,0 Current State: 25:[46, 20, 22], Operations: ['50-28=22'] Exploring Operation: 46-22=24, Resulting Numbers: [20, 24] Generated Node #0,0,0: 25:[20, 24] Operation: 46-22=24 Exploring Operation: 22-20=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 25:[46, 2] Operation: 22-20=2 Exploring Operation: 46-20=26, Resulting Numbers: [22, 26] Generated Node #0,0,2: 25:[22, 26] Operation: 46-20=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[22, 26], Operations: ['50-28=22', '46-20=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,25 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[20, 24], Operations: ['50-28=22', '46-22=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[46, 2], Operations: ['50-28=22', '22-20=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[28, 50, 26], Operations: ['46-20=26'] Exploring Operation: 50-26=24, Resulting Numbers: [28, 24] Generated Node #0,1,0: 25:[28, 24] Operation: 50-26=24 Exploring Operation: 50-28=22, Resulting Numbers: [26, 22] Generated Node #0,1,1: 25:[26, 22] Operation: 50-28=22 Exploring Operation: 28-26=2, Resulting Numbers: [50, 2] Generated Node #0,1,2: 25:[50, 2] Operation: 28-26=2 Moving to Node #0,2,1 Current State: 25:[28, 5], Operations: ['50-46=4', '20/4=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[4, 8], Operations: ['50-46=4', '28-20=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[28, 24], Operations: ['50-46=4', '20+4=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,25 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[28, 24], Operations: ['46-20=26', '50-26=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,25 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[26, 22], Operations: ['46-20=26', '50-28=22'] Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,25 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[50, 2], Operations: ['46-20=26', '28-26=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[28, 46, 50, 20], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [28, 50, 26] Generated Node #0,1: 25:[28, 50, 26] Operation: 46-20=26 Moving to Node #0,1 Current State: 25:[28, 50, 26], Operations: ['46-20=26'] Exploring Operation: 28-26=2, Resulting Numbers: [50, 2] Generated Node #0,1,2: 25:[50, 2] Operation: 28-26=2 Moving to Node #0,1,2 Current State: 25:[50, 2], Operations: ['46-20=26', '28-26=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 14, 66, 48, 28 ]
42
[ "14*48=672", "672/28=24", "66-24=42" ]
Current State: 42:[14, 66, 48, 28], Operations: [] Exploring Operation: 14*48=672, Resulting Numbers: [66, 28, 672] Generated Node #2: [66, 28, 672] from Operation: 14*48=672 Current State: 42:[66, 28, 672], Operations: ['14*48=672'] Exploring Operation: 672/28=24, Resulting Numbers: [66, 24] Generated Node #3: [66, 24] from Operation: 672/28=24 Current State: 42:[66, 24], Operations: ['14*48=672', '672/28=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[14, 66, 48, 28], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [48, 28, 52] Generated Node #0,0: 42:[48, 28, 52] Operation: 66-14=52 Exploring Operation: 66-48=18, Resulting Numbers: [14, 28, 18] Generated Node #0,1: 42:[14, 28, 18] Operation: 66-48=18 Exploring Operation: 66-28=38, Resulting Numbers: [14, 48, 38] Generated Node #0,2: 42:[14, 48, 38] Operation: 66-28=38 Moving to Node #0,1 Current State: 42:[14, 28, 18], Operations: ['66-48=18'] Exploring Operation: 28-14=14, Resulting Numbers: [18, 14] Generated Node #0,1,0: 42:[18, 14] Operation: 28-14=14 Exploring Operation: 14+28=42, Resulting Numbers: [18, 42] Generated Node #0,1,1: 42:[18, 42] Operation: 14+28=42 Exploring Operation: 28/14=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 42:[18, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[18, 14], Operations: ['66-48=18', '28-14=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,42 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[18, 42], Operations: ['66-48=18', '14+28=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,42 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[18, 2], Operations: ['66-48=18', '28/14=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[14, 48, 38], Operations: ['66-28=38'] Exploring Operation: 48-38=10, Resulting Numbers: [14, 10] Generated Node #0,2,0: 42:[14, 10] Operation: 48-38=10 Exploring Operation: 38-14=24, Resulting Numbers: [48, 24] Generated Node #0,2,1: 42:[48, 24] Operation: 38-14=24 Exploring Operation: 48-14=34, Resulting Numbers: [38, 34] Generated Node #0,2,2: 42:[38, 34] Operation: 48-14=34 Moving to Node #0,0 Current State: 42:[48, 28, 52], Operations: ['66-14=52'] Exploring Operation: 52-28=24, Resulting Numbers: [48, 24] Generated Node #0,0,0: 42:[48, 24] Operation: 52-28=24 Exploring Operation: 52-48=4, Resulting Numbers: [28, 4] Generated Node #0,0,1: 42:[28, 4] Operation: 52-48=4 Exploring Operation: 48-28=20, Resulting Numbers: [52, 20] Generated Node #0,0,2: 42:[52, 20] Operation: 48-28=20 Moving to Node #0,2,0 Current State: 42:[14, 10], Operations: ['66-28=38', '48-38=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[28, 4], Operations: ['66-14=52', '52-48=4'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[48, 24], Operations: ['66-14=52', '52-28=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[48, 24], Operations: ['66-28=38', '38-14=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[52, 20], Operations: ['66-14=52', '48-28=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,42 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[38, 34], Operations: ['66-28=38', '48-14=34'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,42 unequal: No Solution Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 51, 85, 21, 17 ]
92
[ "51/17=3", "21/3=7", "85+7=92" ]
Current State: 92:[51, 85, 21, 17], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [85, 21, 3] Generated Node #2: [85, 21, 3] from Operation: 51/17=3 Current State: 92:[85, 21, 3], Operations: ['51/17=3'] Exploring Operation: 21/3=7, Resulting Numbers: [85, 7] Generated Node #3: [85, 7] from Operation: 21/3=7 Current State: 92:[85, 7], Operations: ['51/17=3', '21/3=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[51, 85, 21, 17], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [51, 21, 5] Generated Node #0,0: 92:[51, 21, 5] Operation: 85/17=5 Moving to Node #0,0 Current State: 92:[51, 21, 5], Operations: ['85/17=5'] Exploring Operation: 51-5=46, Resulting Numbers: [21, 46] Generated Node #0,0,0: 92:[21, 46] Operation: 51-5=46 Moving to Node #0,0,0 Current State: 92:[21, 46], Operations: ['85/17=5', '51-5=46'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 93, 96, 43, 19 ]
97
[ "43-19=24", "96/24=4", "93+4=97" ]
Current State: 97:[93, 96, 43, 19], Operations: [] Exploring Operation: 43-19=24, Resulting Numbers: [93, 96, 24] Generated Node #2: [93, 96, 24] from Operation: 43-19=24 Current State: 97:[93, 96, 24], Operations: ['43-19=24'] Exploring Operation: 96/24=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 96/24=4 Current State: 97:[93, 4], Operations: ['43-19=24', '96/24=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[93, 96, 43, 19], Operations: [] Exploring Operation: 43+19=62, Resulting Numbers: [93, 96, 62] Generated Node #0,0: 97:[93, 96, 62] Operation: 43+19=62 Exploring Operation: 96-19=77, Resulting Numbers: [93, 43, 77] Generated Node #0,1: 97:[93, 43, 77] Operation: 96-19=77 Exploring Operation: 96+19=115, Resulting Numbers: [93, 43, 115] Generated Node #0,2: 97:[93, 43, 115] Operation: 96+19=115 Exploring Operation: 93+19=112, Resulting Numbers: [96, 43, 112] Generated Node #0,3: 97:[96, 43, 112] Operation: 93+19=112 Exploring Operation: 93-19=74, Resulting Numbers: [96, 43, 74] Generated Node #0,4: 97:[96, 43, 74] Operation: 93-19=74 Moving to Node #0,0 Current State: 97:[93, 96, 62], Operations: ['43+19=62'] Exploring Operation: 93-62=31, Resulting Numbers: [96, 31] Generated Node #0,0,0: 97:[96, 31] Operation: 93-62=31 Exploring Operation: 93+62=155, Resulting Numbers: [96, 155] Generated Node #0,0,1: 97:[96, 155] Operation: 93+62=155 Exploring Operation: 96-62=34, Resulting Numbers: [93, 34] Generated Node #0,0,2: 97:[93, 34] Operation: 96-62=34 Exploring Operation: 96+62=158, Resulting Numbers: [93, 158] Generated Node #0,0,3: 97:[93, 158] Operation: 96+62=158 Exploring Operation: 93+96=189, Resulting Numbers: [62, 189] Generated Node #0,0,4: 97:[62, 189] Operation: 93+96=189 Moving to Node #0,3 Current State: 97:[96, 43, 112], Operations: ['93+19=112'] Exploring Operation: 96+43=139, Resulting Numbers: [112, 139] Generated Node #0,3,0: 97:[112, 139] Operation: 96+43=139 Exploring Operation: 96-43=53, Resulting Numbers: [112, 53] Generated Node #0,3,1: 97:[112, 53] Operation: 96-43=53 Exploring Operation: 43+112=155, Resulting Numbers: [96, 155] Generated Node #0,3,2: 97:[96, 155] Operation: 43+112=155 Exploring Operation: 112-96=16, Resulting Numbers: [43, 16] Generated Node #0,3,3: 97:[43, 16] Operation: 112-96=16 Exploring Operation: 112-43=69, Resulting Numbers: [96, 69] Generated Node #0,3,4: 97:[96, 69] Operation: 112-43=69 Moving to Node #0,2 Current State: 97:[93, 43, 115], Operations: ['96+19=115'] Exploring Operation: 115-43=72, Resulting Numbers: [93, 72] Generated Node #0,2,0: 97:[93, 72] Operation: 115-43=72 Exploring Operation: 115-93=22, Resulting Numbers: [43, 22] Generated Node #0,2,1: 97:[43, 22] Operation: 115-93=22 Exploring Operation: 43+115=158, Resulting Numbers: [93, 158] Generated Node #0,2,2: 97:[93, 158] Operation: 43+115=158 Exploring Operation: 93+43=136, Resulting Numbers: [115, 136] Generated Node #0,2,3: 97:[115, 136] Operation: 93+43=136 Exploring Operation: 93-43=50, Resulting Numbers: [115, 50] Generated Node #0,2,4: 97:[115, 50] Operation: 93-43=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[93, 72], Operations: ['96+19=115', '115-43=72'] Exploring Operation: 93*72=6696, Resulting Numbers: [6696] 6696,97 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 93+72=165, Resulting Numbers: [165] 165,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[115, 136], Operations: ['96+19=115', '93+43=136'] Exploring Operation: 115*136=15640, Resulting Numbers: [15640] 15640,97 unequal: No Solution Exploring Operation: 115+136=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 136-115=21, Resulting Numbers: [21] 21,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[93, 158], Operations: ['96+19=115', '43+115=158'] Exploring Operation: 158-93=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 93*158=14694, Resulting Numbers: [14694] 14694,97 unequal: No Solution Exploring Operation: 93+158=251, Resulting Numbers: [251] 251,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,4 Current State: 97:[115, 50], Operations: ['96+19=115', '93-43=50'] Exploring Operation: 115*50=5750, Resulting Numbers: [5750] 5750,97 unequal: No Solution Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 115+50=165, Resulting Numbers: [165] 165,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[43, 22], Operations: ['96+19=115', '115-93=22'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,97 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: 97:[93, 43, 77], Operations: ['96-19=77'] Exploring Operation: 93+43=136, Resulting Numbers: [77, 136] Generated Node #0,1,0: 97:[77, 136] Operation: 93+43=136 Exploring Operation: 43+77=120, Resulting Numbers: [93, 120] Generated Node #0,1,1: 97:[93, 120] Operation: 43+77=120 Exploring Operation: 77-43=34, Resulting Numbers: [93, 34] Generated Node #0,1,2: 97:[93, 34] Operation: 77-43=34 Exploring Operation: 93+77=170, Resulting Numbers: [43, 170] Generated Node #0,1,3: 97:[43, 170] Operation: 93+77=170 Exploring Operation: 93-43=50, Resulting Numbers: [77, 50] Generated Node #0,1,4: 97:[77, 50] Operation: 93-43=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[93, 120], Operations: ['96-19=77', '43+77=120'] Exploring Operation: 93+120=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 93*120=11160, Resulting Numbers: [11160] 11160,97 unequal: No Solution Exploring Operation: 120-93=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[77, 136], Operations: ['96-19=77', '93+43=136'] Exploring Operation: 77*136=10472, Resulting Numbers: [10472] 10472,97 unequal: No Solution Exploring Operation: 77+136=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 136-77=59, Resulting Numbers: [59] 59,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,2 Current State: 97:[93, 34], Operations: ['96-19=77', '77-43=34'] Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,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,4 Current State: 97:[77, 50], Operations: ['96-19=77', '93-43=50'] Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,97 unequal: No Solution Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[43, 170], Operations: ['96-19=77', '93+77=170'] Exploring Operation: 43*170=7310, Resulting Numbers: [7310] 7310,97 unequal: No Solution Exploring Operation: 170-43=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 43+170=213, Resulting Numbers: [213] 213,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 97:[96, 43, 74], Operations: ['93-19=74'] Exploring Operation: 43+74=117, Resulting Numbers: [96, 117] Generated Node #0,4,0: 97:[96, 117] Operation: 43+74=117 Exploring Operation: 74-43=31, Resulting Numbers: [96, 31] Generated Node #0,4,1: 97:[96, 31] Operation: 74-43=31 Exploring Operation: 96+74=170, Resulting Numbers: [43, 170] Generated Node #0,4,2: 97:[43, 170] Operation: 96+74=170 Exploring Operation: 96-43=53, Resulting Numbers: [74, 53] Generated Node #0,4,3: 97:[74, 53] Operation: 96-43=53 Exploring Operation: 96+43=139, Resulting Numbers: [74, 139] Generated Node #0,4,4: 97:[74, 139] Operation: 96+43=139 Moving to Node #0,4,0 Current State: 97:[96, 117], Operations: ['93-19=74', '43+74=117'] Exploring Operation: 117-96=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 96*117=11232, Resulting Numbers: [11232] 11232,97 unequal: No Solution Exploring Operation: 96+117=213, Resulting Numbers: [213] 213,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[96, 69], Operations: ['93+19=112', '112-43=69'] Exploring Operation: 96*69=6624, Resulting Numbers: [6624] 6624,97 unequal: No Solution Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[112, 139], Operations: ['93+19=112', '96+43=139'] Exploring Operation: 112*139=15568, Resulting Numbers: [15568] 15568,97 unequal: No Solution Exploring Operation: 112+139=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 139-112=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[96, 155], Operations: ['43+19=62', '93+62=155'] Exploring Operation: 155-96=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 96*155=14880, Resulting Numbers: [14880] 14880,97 unequal: No Solution Exploring Operation: 96+155=251, Resulting Numbers: [251] 251,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[112, 53], Operations: ['93+19=112', '96-43=53'] Exploring Operation: 112*53=5936, Resulting Numbers: [5936] 5936,97 unequal: No Solution Exploring Operation: 112-53=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 112+53=165, Resulting Numbers: [165] 165,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[96, 155], Operations: ['93+19=112', '43+112=155'] Exploring Operation: 96+155=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 96*155=14880, Resulting Numbers: [14880] 14880,97 unequal: No Solution Exploring Operation: 155-96=59, Resulting Numbers: [59] 59,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[74, 139], Operations: ['93-19=74', '96+43=139'] Exploring Operation: 139-74=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 74+139=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 74*139=10286, Resulting Numbers: [10286] 10286,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[93, 158], Operations: ['43+19=62', '96+62=158'] Exploring Operation: 158-93=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 93*158=14694, Resulting Numbers: [14694] 14694,97 unequal: No Solution Exploring Operation: 93+158=251, Resulting Numbers: [251] 251,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[74, 53], Operations: ['93-19=74', '96-43=53'] Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[96, 31], Operations: ['43+19=62', '93-62=31'] Exploring Operation: 96*31=2976, Resulting Numbers: [2976] 2976,97 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 96+31=127, Resulting Numbers: [127] 127,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[96, 31], Operations: ['93-19=74', '74-43=31'] Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 96+31=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 96*31=2976, Resulting Numbers: [2976] 2976,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[93, 34], Operations: ['43+19=62', '96-62=34'] Exploring Operation: 93+34=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 93*34=3162, Resulting Numbers: [3162] 3162,97 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[43, 170], Operations: ['93-19=74', '96+74=170'] Exploring Operation: 170-43=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 43+170=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 43*170=7310, Resulting Numbers: [7310] 7310,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[62, 189], Operations: ['43+19=62', '93+96=189'] Exploring Operation: 189-62=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 62+189=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 62*189=11718, Resulting Numbers: [11718] 11718,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[43, 16], Operations: ['93+19=112', '112-96=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,97 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,97 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 98, 34, 54 ]
29
[ "98-49=49", "54-34=20", "49-20=29" ]
Current State: 29:[49, 98, 34, 54], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [34, 54, 49] Generated Node #2: [34, 54, 49] from Operation: 98-49=49 Current State: 29:[34, 54, 49], Operations: ['98-49=49'] Exploring Operation: 54-34=20, Resulting Numbers: [49, 20] Generated Node #3: [49, 20] from Operation: 54-34=20 Current State: 29:[49, 20], Operations: ['98-49=49', '54-34=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[49, 98, 34, 54], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [49, 34, 44] Generated Node #0,0: 29:[49, 34, 44] Operation: 98-54=44 Exploring Operation: 98-49=49, Resulting Numbers: [34, 54, 49] Generated Node #0,1: 29:[34, 54, 49] Operation: 98-49=49 Moving to Node #0,0 Current State: 29:[49, 34, 44], Operations: ['98-54=44'] Exploring Operation: 49-44=5, Resulting Numbers: [34, 5] Generated Node #0,0,0: 29:[34, 5] Operation: 49-44=5 Exploring Operation: 49-34=15, Resulting Numbers: [44, 15] Generated Node #0,0,1: 29:[44, 15] Operation: 49-34=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[34, 5], Operations: ['98-54=44', '49-44=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[49, 98, 34, 54], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [49, 34, 44] Generated Node #0,0: 29:[49, 34, 44] Operation: 98-54=44 Moving to Node #0,0 Current State: 29:[49, 34, 44], Operations: ['98-54=44'] Exploring Operation: 49-44=5, Resulting Numbers: [34, 5] Generated Node #0,0,0: 29:[34, 5] Operation: 49-44=5 Moving to Node #0,0,0 Current State: 29:[34, 5], Operations: ['98-54=44', '49-44=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 66, 23, 77, 10 ]
44
[ "66-23=43", "77+10=87", "87-43=44" ]
Current State: 44:[66, 23, 77, 10], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [77, 10, 43] Generated Node #2: [77, 10, 43] from Operation: 66-23=43 Current State: 44:[77, 10, 43], Operations: ['66-23=43'] Exploring Operation: 77+10=87, Resulting Numbers: [43, 87] Generated Node #3: [43, 87] from Operation: 77+10=87 Current State: 44:[43, 87], Operations: ['66-23=43', '77+10=87'] Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[66, 23, 77, 10], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [77, 10, 43] Generated Node #0,0: 44:[77, 10, 43] Operation: 66-23=43 Exploring Operation: 77-66=11, Resulting Numbers: [23, 10, 11] Generated Node #0,1: 44:[23, 10, 11] Operation: 77-66=11 Exploring Operation: 77-23=54, Resulting Numbers: [66, 10, 54] Generated Node #0,2: 44:[66, 10, 54] Operation: 77-23=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[23, 10, 11], Operations: ['77-66=11'] Exploring Operation: 10+11=21, Resulting Numbers: [23, 21] Generated Node #0,1,0: 44:[23, 21] Operation: 10+11=21 Exploring Operation: 23-10=13, Resulting Numbers: [11, 13] Generated Node #0,1,1: 44:[11, 13] Operation: 23-10=13 Exploring Operation: 23-11=12, Resulting Numbers: [10, 12] Generated Node #0,1,2: 44:[10, 12] Operation: 23-11=12 Moving to Node #0,1,0 Current State: 44:[23, 21], Operations: ['77-66=11', '10+11=21'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,44 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[66, 23, 77, 10], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [23, 10, 11] Generated Node #0,1: 44:[23, 10, 11] Operation: 77-66=11 Moving to Node #0,1 Current State: 44:[23, 10, 11], Operations: ['77-66=11'] Exploring Operation: 10+11=21, Resulting Numbers: [23, 21] Generated Node #0,1,0: 44:[23, 21] Operation: 10+11=21 Moving to Node #0,1,0 Current State: 44:[23, 21], Operations: ['77-66=11', '10+11=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 29, 7, 44, 86 ]
43
[ "29-7=22", "44/22=2", "86/2=43" ]
Current State: 43:[29, 7, 44, 86], Operations: [] Exploring Operation: 29-7=22, Resulting Numbers: [44, 86, 22] Generated Node #2: [44, 86, 22] from Operation: 29-7=22 Current State: 43:[44, 86, 22], Operations: ['29-7=22'] Exploring Operation: 44/22=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 44/22=2 Current State: 43:[86, 2], Operations: ['29-7=22', '44/22=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[29, 7, 44, 86], Operations: [] Exploring Operation: 29+7=36, Resulting Numbers: [44, 86, 36] Generated Node #0,0: 43:[44, 86, 36] Operation: 29+7=36 Exploring Operation: 86-29=57, Resulting Numbers: [7, 44, 57] Generated Node #0,1: 43:[7, 44, 57] Operation: 86-29=57 Exploring Operation: 86-7=79, Resulting Numbers: [29, 44, 79] Generated Node #0,2: 43:[29, 44, 79] Operation: 86-7=79 Exploring Operation: 86-44=42, Resulting Numbers: [29, 7, 42] Generated Node #0,3: 43:[29, 7, 42] Operation: 86-44=42 Moving to Node #0,0 Current State: 43:[44, 86, 36], Operations: ['29+7=36'] Exploring Operation: 86-36=50, Resulting Numbers: [44, 50] Generated Node #0,0,0: 43:[44, 50] Operation: 86-36=50 Exploring Operation: 86-44=42, Resulting Numbers: [36, 42] Generated Node #0,0,1: 43:[36, 42] Operation: 86-44=42 Exploring Operation: 44+36=80, Resulting Numbers: [86, 80] Generated Node #0,0,2: 43:[86, 80] Operation: 44+36=80 Exploring Operation: 44-36=8, Resulting Numbers: [86, 8] Generated Node #0,0,3: 43:[86, 8] Operation: 44-36=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[44, 50], Operations: ['29+7=36', '86-36=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[36, 42], Operations: ['29+7=36', '86-44=42'] Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,43 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[86, 8], Operations: ['29+7=36', '44-36=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,43 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[86, 80], Operations: ['29+7=36', '44+36=80'] Exploring Operation: 86*80=6880, Resulting Numbers: [6880] 6880,43 unequal: No Solution Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,43 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: 43:[29, 44, 79], Operations: ['86-7=79'] Exploring Operation: 29+44=73, Resulting Numbers: [79, 73] Generated Node #0,2,0: 43:[79, 73] Operation: 29+44=73 Exploring Operation: 44-29=15, Resulting Numbers: [79, 15] Generated Node #0,2,1: 43:[79, 15] Operation: 44-29=15 Exploring Operation: 79-44=35, Resulting Numbers: [29, 35] Generated Node #0,2,2: 43:[29, 35] Operation: 79-44=35 Exploring Operation: 79-29=50, Resulting Numbers: [44, 50] Generated Node #0,2,3: 43:[44, 50] Operation: 79-29=50 Moving to Node #0,1 Current State: 43:[7, 44, 57], Operations: ['86-29=57'] Exploring Operation: 7+44=51, Resulting Numbers: [57, 51] Generated Node #0,1,0: 43:[57, 51] Operation: 7+44=51 Exploring Operation: 57-7=50, Resulting Numbers: [44, 50] Generated Node #0,1,1: 43:[44, 50] Operation: 57-7=50 Exploring Operation: 7+57=64, Resulting Numbers: [44, 64] Generated Node #0,1,2: 43:[44, 64] Operation: 7+57=64 Exploring Operation: 44-7=37, Resulting Numbers: [57, 37] Generated Node #0,1,3: 43:[57, 37] Operation: 44-7=37 Moving to Node #0,3 Current State: 43:[29, 7, 42], Operations: ['86-44=42'] Exploring Operation: 29-7=22, Resulting Numbers: [42, 22] Generated Node #0,3,0: 43:[42, 22] Operation: 29-7=22 Exploring Operation: 29+7=36, Resulting Numbers: [42, 36] Generated Node #0,3,1: 43:[42, 36] Operation: 29+7=36 Exploring Operation: 42-7=35, Resulting Numbers: [29, 35] Generated Node #0,3,2: 43:[29, 35] Operation: 42-7=35 Exploring Operation: 7+42=49, Resulting Numbers: [29, 49] Generated Node #0,3,3: 43:[29, 49] Operation: 7+42=49 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[42, 36], Operations: ['86-44=42', '29+7=36'] Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[29, 49], Operations: ['86-44=42', '7+42=49'] Exploring Operation: 29*49=1421, Resulting Numbers: [1421] 1421,43 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[42, 22], Operations: ['86-44=42', '29-7=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[29, 35], Operations: ['86-44=42', '42-7=35'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 43:[44, 50], Operations: ['86-7=79', '79-29=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[44, 50], Operations: ['86-29=57', '57-7=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,43 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[57, 37], Operations: ['86-29=57', '44-7=37'] Exploring Operation: 57*37=2109, Resulting Numbers: [2109] 2109,43 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[57, 51], Operations: ['86-29=57', '7+44=51'] Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,43 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[29, 35], Operations: ['86-7=79', '79-44=35'] Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,43 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[44, 64], Operations: ['86-29=57', '7+57=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[79, 15], Operations: ['86-7=79', '44-29=15'] Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 79*15=1185, Resulting Numbers: [1185] 1185,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[79, 73], Operations: ['86-7=79', '29+44=73'] Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,43 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,43 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 65, 54, 47, 92 ]
94
[ "92-65=27", "54*47=2538", "2538/27=94" ]
Current State: 94:[65, 54, 47, 92], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [54, 47, 27] Generated Node #2: [54, 47, 27] from Operation: 92-65=27 Current State: 94:[54, 47, 27], Operations: ['92-65=27'] Exploring Operation: 54*47=2538, Resulting Numbers: [27, 2538] Generated Node #3: [27, 2538] from Operation: 54*47=2538 Current State: 94:[27, 2538], Operations: ['92-65=27', '54*47=2538'] Exploring Operation: 2538/27=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[65, 54, 47, 92], Operations: [] Exploring Operation: 65+54=119, Resulting Numbers: [47, 92, 119] Generated Node #0,0: 94:[47, 92, 119] Operation: 65+54=119 Exploring Operation: 65-47=18, Resulting Numbers: [54, 92, 18] Generated Node #0,1: 94:[54, 92, 18] Operation: 65-47=18 Exploring Operation: 54-47=7, Resulting Numbers: [65, 92, 7] Generated Node #0,2: 94:[65, 92, 7] Operation: 54-47=7 Exploring Operation: 65-54=11, Resulting Numbers: [47, 92, 11] Generated Node #0,3: 94:[47, 92, 11] Operation: 65-54=11 Moving to Node #0,3 Current State: 94:[47, 92, 11], Operations: ['65-54=11'] Exploring Operation: 47-11=36, Resulting Numbers: [92, 36] Generated Node #0,3,0: 94:[92, 36] Operation: 47-11=36 Exploring Operation: 92+11=103, Resulting Numbers: [47, 103] Generated Node #0,3,1: 94:[47, 103] Operation: 92+11=103 Exploring Operation: 92-47=45, Resulting Numbers: [11, 45] Generated Node #0,3,2: 94:[11, 45] Operation: 92-47=45 Exploring Operation: 47+11=58, Resulting Numbers: [92, 58] Generated Node #0,3,3: 94:[92, 58] Operation: 47+11=58 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[47, 103], Operations: ['65-54=11', '92+11=103'] Exploring Operation: 47*103=4841, Resulting Numbers: [4841] 4841,94 unequal: No Solution Exploring Operation: 47+103=150, Resulting Numbers: [150] 150,94 unequal: No Solution Exploring Operation: 103-47=56, Resulting Numbers: [56] 56,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[11, 45], Operations: ['65-54=11', '92-47=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[92, 36], Operations: ['65-54=11', '47-11=36'] Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,94 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[92, 58], Operations: ['65-54=11', '47+11=58'] Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,94 unequal: No Solution Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,94 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[65, 92, 7], Operations: ['54-47=7'] Exploring Operation: 92-65=27, Resulting Numbers: [7, 27] Generated Node #0,2,0: 94:[7, 27] Operation: 92-65=27 Exploring Operation: 65-7=58, Resulting Numbers: [92, 58] Generated Node #0,2,1: 94:[92, 58] Operation: 65-7=58 Exploring Operation: 92+7=99, Resulting Numbers: [65, 99] Generated Node #0,2,2: 94:[65, 99] Operation: 92+7=99 Exploring Operation: 65+7=72, Resulting Numbers: [92, 72] Generated Node #0,2,3: 94:[92, 72] Operation: 65+7=72 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[92, 58], Operations: ['54-47=7', '65-7=58'] Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,94 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[65, 99], Operations: ['54-47=7', '92+7=99'] Exploring Operation: 65*99=6435, Resulting Numbers: [6435] 6435,94 unequal: No Solution Exploring Operation: 65+99=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[92, 72], Operations: ['54-47=7', '65+7=72'] Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,94 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[7, 27], Operations: ['54-47=7', '92-65=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[54, 92, 18], Operations: ['65-47=18'] Exploring Operation: 54/18=3, Resulting Numbers: [92, 3] Generated Node #0,1,0: 94:[92, 3] Operation: 54/18=3 Exploring Operation: 92+18=110, Resulting Numbers: [54, 110] Generated Node #0,1,1: 94:[54, 110] Operation: 92+18=110 Exploring Operation: 54+18=72, Resulting Numbers: [92, 72] Generated Node #0,1,2: 94:[92, 72] Operation: 54+18=72 Exploring Operation: 54-18=36, Resulting Numbers: [92, 36] Generated Node #0,1,3: 94:[92, 36] Operation: 54-18=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[92, 3], Operations: ['65-47=18', '54/18=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,94 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[92, 36], Operations: ['65-47=18', '54-18=36'] Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,94 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[54, 110], Operations: ['65-47=18', '92+18=110'] Exploring Operation: 54+110=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 110-54=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 54*110=5940, Resulting Numbers: [5940] 5940,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[92, 72], Operations: ['65-47=18', '54+18=72'] Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,94 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,94 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: 94:[47, 92, 119], Operations: ['65+54=119'] Exploring Operation: 92-47=45, Resulting Numbers: [119, 45] Generated Node #0,0,0: 94:[119, 45] Operation: 92-47=45 Exploring Operation: 119-47=72, Resulting Numbers: [92, 72] Generated Node #0,0,1: 94:[92, 72] Operation: 119-47=72 Exploring Operation: 47+92=139, Resulting Numbers: [119, 139] Generated Node #0,0,2: 94:[119, 139] Operation: 47+92=139 Exploring Operation: 119-92=27, Resulting Numbers: [47, 27] Generated Node #0,0,3: 94:[47, 27] Operation: 119-92=27 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[47, 27], Operations: ['65+54=119', '119-92=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,94 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[92, 72], Operations: ['65+54=119', '119-47=72'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[119, 45], Operations: ['65+54=119', '92-47=45'] Exploring Operation: 119-45=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 119+45=164, Resulting Numbers: [164] 164,94 unequal: No Solution Exploring Operation: 119*45=5355, Resulting Numbers: [5355] 5355,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[119, 139], Operations: ['65+54=119', '47+92=139'] Exploring Operation: 119+139=258, Resulting Numbers: [258] 258,94 unequal: No Solution Exploring Operation: 139-119=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 119*139=16541, Resulting Numbers: [16541] 16541,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 49, 64, 23, 39 ]
31
[ "64-49=15", "39-23=16", "15+16=31" ]
Current State: 31:[49, 64, 23, 39], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [23, 39, 15] Generated Node #2: [23, 39, 15] from Operation: 64-49=15 Current State: 31:[23, 39, 15], Operations: ['64-49=15'] Exploring Operation: 39-23=16, Resulting Numbers: [15, 16] Generated Node #3: [15, 16] from Operation: 39-23=16 Current State: 31:[15, 16], Operations: ['64-49=15', '39-23=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[49, 64, 23, 39], Operations: [] Exploring Operation: 64-23=41, Resulting Numbers: [49, 39, 41] Generated Node #0,0: 31:[49, 39, 41] Operation: 64-23=41 Exploring Operation: 49-23=26, Resulting Numbers: [64, 39, 26] Generated Node #0,1: 31:[64, 39, 26] Operation: 49-23=26 Exploring Operation: 64-39=25, Resulting Numbers: [49, 23, 25] Generated Node #0,2: 31:[49, 23, 25] Operation: 64-39=25 Exploring Operation: 64-49=15, Resulting Numbers: [23, 39, 15] Generated Node #0,3: 31:[23, 39, 15] Operation: 64-49=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[49, 23, 25], Operations: ['64-39=25'] Exploring Operation: 23+25=48, Resulting Numbers: [49, 48] Generated Node #0,2,0: 31:[49, 48] Operation: 23+25=48 Exploring Operation: 49-25=24, Resulting Numbers: [23, 24] Generated Node #0,2,1: 31:[23, 24] Operation: 49-25=24 Exploring Operation: 49+23=72, Resulting Numbers: [25, 72] Generated Node #0,2,2: 31:[25, 72] Operation: 49+23=72 Exploring Operation: 49-23=26, Resulting Numbers: [25, 26] Generated Node #0,2,3: 31:[25, 26] Operation: 49-23=26 Moving to Node #0,2,3 Current State: 31:[25, 26], Operations: ['64-39=25', '49-23=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,31 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[23, 24], Operations: ['64-39=25', '49-25=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,31 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[49, 48], Operations: ['64-39=25', '23+25=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,31 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[25, 72], Operations: ['64-39=25', '49+23=72'] Exploring Operation: 25*72=1800, Resulting Numbers: [1800] 1800,31 unequal: No Solution Exploring Operation: 25+72=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[23, 39, 15], Operations: ['64-49=15'] Exploring Operation: 39-15=24, Resulting Numbers: [23, 24] Generated Node #0,3,0: 31:[23, 24] Operation: 39-15=24 Exploring Operation: 39-23=16, Resulting Numbers: [15, 16] Generated Node #0,3,1: 31:[15, 16] Operation: 39-23=16 Exploring Operation: 23-15=8, Resulting Numbers: [39, 8] Generated Node #0,3,2: 31:[39, 8] Operation: 23-15=8 Exploring Operation: 23+15=38, Resulting Numbers: [39, 38] Generated Node #0,3,3: 31:[39, 38] Operation: 23+15=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[23, 24], Operations: ['64-49=15', '39-15=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,31 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[39, 38], Operations: ['64-49=15', '23+15=38'] Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 39*38=1482, Resulting Numbers: [1482] 1482,31 unequal: No Solution Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[15, 16], Operations: ['64-49=15', '39-23=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[49, 64, 23, 39], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [23, 39, 15] Generated Node #0,3: 31:[23, 39, 15] Operation: 64-49=15 Moving to Node #0,3 Current State: 31:[23, 39, 15], Operations: ['64-49=15'] Exploring Operation: 39-23=16, Resulting Numbers: [15, 16] Generated Node #0,3,1: 31:[15, 16] Operation: 39-23=16 Moving to Node #0,3,1 Current State: 31:[15, 16], Operations: ['64-49=15', '39-23=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 71, 5, 71, 15 ]
80
[ "71/71=1", "15+1=16", "5*16=80" ]
Current State: 80:[71, 5, 71, 15], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [5, 15, 1] Generated Node #2: [5, 15, 1] from Operation: 71/71=1 Current State: 80:[5, 15, 1], Operations: ['71/71=1'] Exploring Operation: 15+1=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 15+1=16 Current State: 80:[5, 16], Operations: ['71/71=1', '15+1=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[71, 5, 71, 15], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [5, 15, 1] Generated Node #0,0: 80:[5, 15, 1] Operation: 71/71=1 Exploring Operation: 71-71=0, Resulting Numbers: [5, 15, 0] Generated Node #0,1: 80:[5, 15, 0] Operation: 71-71=0 Moving to Node #0,0 Current State: 80:[5, 15, 1], Operations: ['71/71=1'] Exploring Operation: 5+15=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 80:[1, 20] Operation: 5+15=20 Exploring Operation: 15+1=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 80:[5, 16] Operation: 15+1=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[5, 16], Operations: ['71/71=1', '15+1=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[71, 5, 71, 15], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [5, 15, 1] Generated Node #0,0: 80:[5, 15, 1] Operation: 71/71=1 Moving to Node #0,0 Current State: 80:[5, 15, 1], Operations: ['71/71=1'] Exploring Operation: 15+1=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 80:[5, 16] Operation: 15+1=16 Moving to Node #0,0,1 Current State: 80:[5, 16], Operations: ['71/71=1', '15+1=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 58, 2, 54, 44 ]
24
[ "58+54=112", "2*44=88", "112-88=24" ]
Current State: 24:[58, 2, 54, 44], Operations: [] Exploring Operation: 58+54=112, Resulting Numbers: [2, 44, 112] Generated Node #2: [2, 44, 112] from Operation: 58+54=112 Current State: 24:[2, 44, 112], Operations: ['58+54=112'] Exploring Operation: 2*44=88, Resulting Numbers: [112, 88] Generated Node #3: [112, 88] from Operation: 2*44=88 Current State: 24:[112, 88], Operations: ['58+54=112', '2*44=88'] Exploring Operation: 112-88=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[58, 2, 54, 44], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [2, 54, 14] Generated Node #0,0: 24:[2, 54, 14] Operation: 58-44=14 Exploring Operation: 54/2=27, Resulting Numbers: [58, 44, 27] Generated Node #0,1: 24:[58, 44, 27] Operation: 54/2=27 Exploring Operation: 58-54=4, Resulting Numbers: [2, 44, 4] Generated Node #0,2: 24:[2, 44, 4] Operation: 58-54=4 Exploring Operation: 54-44=10, Resulting Numbers: [58, 2, 10] Generated Node #0,3: 24:[58, 2, 10] Operation: 54-44=10 Exploring Operation: 58/2=29, Resulting Numbers: [54, 44, 29] Generated Node #0,4: 24:[54, 44, 29] Operation: 58/2=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[2, 44, 4], Operations: ['58-54=4'] Exploring Operation: 44-4=40, Resulting Numbers: [2, 40] Generated Node #0,2,0: 24:[2, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 24:[2, 11] Operation: 44/4=11 Exploring Operation: 44/2=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 24:[4, 22] Operation: 44/2=22 Exploring Operation: 2+4=6, Resulting Numbers: [44, 6] Generated Node #0,2,3: 24:[44, 6] Operation: 2+4=6 Exploring Operation: 44-2=42, Resulting Numbers: [4, 42] Generated Node #0,2,4: 24:[4, 42] Operation: 44-2=42 Moving to Node #0,2,1 Current State: 24:[2, 11], Operations: ['58-54=4', '44/4=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[4, 22], Operations: ['58-54=4', '44/2=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[2, 40], Operations: ['58-54=4', '44-4=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[4, 42], Operations: ['58-54=4', '44-2=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[44, 6], Operations: ['58-54=4', '2+4=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,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 Current State: 24:[2, 54, 14], Operations: ['58-44=14'] Exploring Operation: 14/2=7, Resulting Numbers: [54, 7] Generated Node #0,0,0: 24:[54, 7] Operation: 14/2=7 Exploring Operation: 54-2=52, Resulting Numbers: [14, 52] Generated Node #0,0,1: 24:[14, 52] Operation: 54-2=52 Exploring Operation: 14-2=12, Resulting Numbers: [54, 12] Generated Node #0,0,2: 24:[54, 12] Operation: 14-2=12 Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #0,0,3: 24:[2, 40] Operation: 54-14=40 Exploring Operation: 54/2=27, Resulting Numbers: [14, 27] Generated Node #0,0,4: 24:[14, 27] Operation: 54/2=27 Moving to Node #0,0,4 Current State: 24:[14, 27], Operations: ['58-44=14', '54/2=27'] Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,24 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[2, 40], Operations: ['58-44=14', '54-14=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[14, 52], Operations: ['58-44=14', '54-2=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,24 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[54, 12], Operations: ['58-44=14', '14-2=12'] Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,24 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[54, 7], Operations: ['58-44=14', '14/2=7'] Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,24 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,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 Current State: 24:[58, 2, 10], Operations: ['54-44=10'] Exploring Operation: 58/2=29, Resulting Numbers: [10, 29] Generated Node #0,3,0: 24:[10, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [10, 56] Generated Node #0,3,1: 24:[10, 56] Operation: 58-2=56 Exploring Operation: 58-10=48, Resulting Numbers: [2, 48] Generated Node #0,3,2: 24:[2, 48] Operation: 58-10=48 Exploring Operation: 2+10=12, Resulting Numbers: [58, 12] Generated Node #0,3,3: 24:[58, 12] Operation: 2+10=12 Exploring Operation: 10-2=8, Resulting Numbers: [58, 8] Generated Node #0,3,4: 24:[58, 8] Operation: 10-2=8 Moving to Node #0,3,0 Current State: 24:[10, 29], Operations: ['54-44=10', '58/2=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,24 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[2, 48], Operations: ['54-44=10', '58-10=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,24 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[58, 2, 54, 44], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [58, 2, 10] Generated Node #0,3: 24:[58, 2, 10] Operation: 54-44=10 Moving to Node #0,3 Current State: 24:[58, 2, 10], Operations: ['54-44=10'] Exploring Operation: 58-10=48, Resulting Numbers: [2, 48] Generated Node #0,3,2: 24:[2, 48] Operation: 58-10=48 Moving to Node #0,3,2 Current State: 24:[2, 48], Operations: ['54-44=10', '58-10=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 8, 92, 6, 84 ]
58
[ "92-84=8", "8*8=64", "64-6=58" ]
Current State: 58:[8, 92, 6, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [8, 6, 8] Generated Node #2: [8, 6, 8] from Operation: 92-84=8 Current State: 58:[8, 6, 8], Operations: ['92-84=8'] Exploring Operation: 8*8=64, Resulting Numbers: [6, 64] Generated Node #3: [6, 64] from Operation: 8*8=64 Current State: 58:[6, 64], Operations: ['92-84=8', '8*8=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[8, 92, 6, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [8, 6, 8] Generated Node #0,0: 58:[8, 6, 8] Operation: 92-84=8 Exploring Operation: 84/6=14, Resulting Numbers: [8, 92, 14] Generated Node #0,1: 58:[8, 92, 14] Operation: 84/6=14 Moving to Node #0,0 Current State: 58:[8, 6, 8], Operations: ['92-84=8'] Exploring Operation: 8-6=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 58:[8, 2] Operation: 8-6=2 Exploring Operation: 8/8=1, Resulting Numbers: [6, 1] Generated Node #0,0,1: 58:[6, 1] Operation: 8/8=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[6, 1], Operations: ['92-84=8', '8/8=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,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:[8, 2], Operations: ['92-84=8', '8-6=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,58 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: 58:[8, 92, 14], Operations: ['84/6=14'] Exploring Operation: 92-14=78, Resulting Numbers: [8, 78] Generated Node #0,1,0: 58:[8, 78] Operation: 92-14=78 Exploring Operation: 92-8=84, Resulting Numbers: [14, 84] Generated Node #0,1,1: 58:[14, 84] Operation: 92-8=84 Moving to Node #0,1,0 Current State: 58:[8, 78], Operations: ['84/6=14', '92-14=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[14, 84], Operations: ['84/6=14', '92-8=84'] Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 72, 47, 37 ]
19
[ "72/8=9", "47-37=10", "9+10=19" ]
Current State: 19:[8, 72, 47, 37], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [47, 37, 9] Generated Node #2: [47, 37, 9] from Operation: 72/8=9 Current State: 19:[47, 37, 9], Operations: ['72/8=9'] Exploring Operation: 47-37=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 47-37=10 Current State: 19:[9, 10], Operations: ['72/8=9', '47-37=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[8, 72, 47, 37], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [47, 37, 9] Generated Node #0,0: 19:[47, 37, 9] Operation: 72/8=9 Exploring Operation: 72-47=25, Resulting Numbers: [8, 37, 25] Generated Node #0,1: 19:[8, 37, 25] Operation: 72-47=25 Exploring Operation: 72-37=35, Resulting Numbers: [8, 47, 35] Generated Node #0,2: 19:[8, 47, 35] Operation: 72-37=35 Moving to Node #0,1 Current State: 19:[8, 37, 25], Operations: ['72-47=25'] Exploring Operation: 25-8=17, Resulting Numbers: [37, 17] Generated Node #0,1,0: 19:[37, 17] Operation: 25-8=17 Exploring Operation: 37-8=29, Resulting Numbers: [25, 29] Generated Node #0,1,1: 19:[25, 29] Operation: 37-8=29 Exploring Operation: 37-25=12, Resulting Numbers: [8, 12] Generated Node #0,1,2: 19:[8, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[25, 29], Operations: ['72-47=25', '37-8=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,19 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[8, 12], Operations: ['72-47=25', '37-25=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[37, 17], Operations: ['72-47=25', '25-8=17'] Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,19 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,19 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: 19:[8, 47, 35], Operations: ['72-37=35'] Exploring Operation: 47-8=39, Resulting Numbers: [35, 39] Generated Node #0,2,0: 19:[35, 39] Operation: 47-8=39 Exploring Operation: 35-8=27, Resulting Numbers: [47, 27] Generated Node #0,2,1: 19:[47, 27] Operation: 35-8=27 Exploring Operation: 47-35=12, Resulting Numbers: [8, 12] Generated Node #0,2,2: 19:[8, 12] Operation: 47-35=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[8, 12], Operations: ['72-37=35', '47-35=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[35, 39], Operations: ['72-37=35', '47-8=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,19 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[47, 27], Operations: ['72-37=35', '35-8=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,19 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 19:[47, 37, 9], Operations: ['72/8=9'] Exploring Operation: 47-37=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 19:[9, 10] Operation: 47-37=10 Exploring Operation: 47-9=38, Resulting Numbers: [37, 38] Generated Node #0,0,1: 19:[37, 38] Operation: 47-9=38 Exploring Operation: 37-9=28, Resulting Numbers: [47, 28] Generated Node #0,0,2: 19:[47, 28] Operation: 37-9=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[9, 10], Operations: ['72/8=9', '47-37=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[8, 72, 47, 37], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [47, 37, 9] Generated Node #0,0: 19:[47, 37, 9] Operation: 72/8=9 Moving to Node #0,0 Current State: 19:[47, 37, 9], Operations: ['72/8=9'] Exploring Operation: 47-37=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 19:[9, 10] Operation: 47-37=10 Moving to Node #0,0,0 Current State: 19:[9, 10], Operations: ['72/8=9', '47-37=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 57, 66, 3, 29 ]
97
[ "57+66=123", "29-3=26", "123-26=97" ]
Current State: 97:[57, 66, 3, 29], Operations: [] Exploring Operation: 57+66=123, Resulting Numbers: [3, 29, 123] Generated Node #2: [3, 29, 123] from Operation: 57+66=123 Current State: 97:[3, 29, 123], Operations: ['57+66=123'] Exploring Operation: 29-3=26, Resulting Numbers: [123, 26] Generated Node #3: [123, 26] from Operation: 29-3=26 Current State: 97:[123, 26], Operations: ['57+66=123', '29-3=26'] Exploring Operation: 123-26=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[57, 66, 3, 29], Operations: [] Exploring Operation: 3*29=87, Resulting Numbers: [57, 66, 87] Generated Node #0,0: 97:[57, 66, 87] Operation: 3*29=87 Moving to Node #0,0 Current State: 97:[57, 66, 87], Operations: ['3*29=87'] Exploring Operation: 57+66=123, Resulting Numbers: [87, 123] Generated Node #0,0,0: 97:[87, 123] Operation: 57+66=123 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[87, 123], Operations: ['3*29=87', '57+66=123'] Exploring Operation: 123-87=36, Resulting Numbers: [36] 36,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 25, 66, 39, 33 ]
31
[ "66-25=41", "39+33=72", "72-41=31" ]
Current State: 31:[25, 66, 39, 33], Operations: [] Exploring Operation: 66-25=41, Resulting Numbers: [39, 33, 41] Generated Node #2: [39, 33, 41] from Operation: 66-25=41 Current State: 31:[39, 33, 41], Operations: ['66-25=41'] Exploring Operation: 39+33=72, Resulting Numbers: [41, 72] Generated Node #3: [41, 72] from Operation: 39+33=72 Current State: 31:[41, 72], Operations: ['66-25=41', '39+33=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[25, 66, 39, 33], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [25, 39, 33] Generated Node #0,0: 31:[25, 39, 33] Operation: 66-33=33 Exploring Operation: 66-39=27, Resulting Numbers: [25, 33, 27] Generated Node #0,1: 31:[25, 33, 27] Operation: 66-39=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[25, 33, 27], Operations: ['66-39=27'] Exploring Operation: 33-25=8, Resulting Numbers: [27, 8] Generated Node #0,1,0: 31:[27, 8] Operation: 33-25=8 Exploring Operation: 25+27=52, Resulting Numbers: [33, 52] Generated Node #0,1,1: 31:[33, 52] Operation: 25+27=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[33, 52], Operations: ['66-39=27', '25+27=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[27, 8], Operations: ['66-39=27', '33-25=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[25, 39, 33], Operations: ['66-33=33'] Exploring Operation: 33-25=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 31:[39, 8] Operation: 33-25=8 Exploring Operation: 39-25=14, Resulting Numbers: [33, 14] Generated Node #0,0,1: 31:[33, 14] Operation: 39-25=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[33, 14], Operations: ['66-33=33', '39-25=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[39, 8], Operations: ['66-33=33', '33-25=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[25, 66, 39, 33], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [25, 39, 33] Generated Node #0,0: 31:[25, 39, 33] Operation: 66-33=33 Moving to Node #0,0 Current State: 31:[25, 39, 33], Operations: ['66-33=33'] Exploring Operation: 33-25=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 31:[39, 8] Operation: 33-25=8 Moving to Node #0,0,0 Current State: 31:[39, 8], Operations: ['66-33=33', '33-25=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 79, 83, 62, 81 ]
52
[ "81-79=2", "62/2=31", "83-31=52" ]
Current State: 52:[79, 83, 62, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [83, 62, 2] Generated Node #2: [83, 62, 2] from Operation: 81-79=2 Current State: 52:[83, 62, 2], Operations: ['81-79=2'] Exploring Operation: 62/2=31, Resulting Numbers: [83, 31] Generated Node #3: [83, 31] from Operation: 62/2=31 Current State: 52:[83, 31], Operations: ['81-79=2', '62/2=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[79, 83, 62, 81], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [79, 62, 2] Generated Node #0,0: 52:[79, 62, 2] Operation: 83-81=2 Exploring Operation: 79-62=17, Resulting Numbers: [83, 81, 17] Generated Node #0,1: 52:[83, 81, 17] Operation: 79-62=17 Exploring Operation: 83-62=21, Resulting Numbers: [79, 81, 21] Generated Node #0,2: 52:[79, 81, 21] Operation: 83-62=21 Exploring Operation: 83-79=4, Resulting Numbers: [62, 81, 4] Generated Node #0,3: 52:[62, 81, 4] Operation: 83-79=4 Exploring Operation: 81-79=2, Resulting Numbers: [83, 62, 2] Generated Node #0,4: 52:[83, 62, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[79, 62, 2], Operations: ['83-81=2'] Exploring Operation: 62/2=31, Resulting Numbers: [79, 31] Generated Node #0,0,0: 52:[79, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [79, 60] Generated Node #0,0,1: 52:[79, 60] Operation: 62-2=60 Exploring Operation: 79-62=17, Resulting Numbers: [2, 17] Generated Node #0,0,2: 52:[2, 17] Operation: 79-62=17 Exploring Operation: 79+2=81, Resulting Numbers: [62, 81] Generated Node #0,0,3: 52:[62, 81] Operation: 79+2=81 Exploring Operation: 79-2=77, Resulting Numbers: [62, 77] Generated Node #0,0,4: 52:[62, 77] Operation: 79-2=77 Moving to Node #0,0,2 Current State: 52:[2, 17], Operations: ['83-81=2', '79-62=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[79, 31], Operations: ['83-81=2', '62/2=31'] Exploring Operation: 79+31=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 79*31=2449, Resulting Numbers: [2449] 2449,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[79, 60], Operations: ['83-81=2', '62-2=60'] Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,52 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[62, 77], Operations: ['83-81=2', '79-2=77'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 62*77=4774, Resulting Numbers: [4774] 4774,52 unequal: No Solution Exploring Operation: 62+77=139, Resulting Numbers: [139] 139,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[62, 81], Operations: ['83-81=2', '79+2=81'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 62+81=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 62*81=5022, Resulting Numbers: [5022] 5022,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[62, 81, 4], Operations: ['83-79=4'] Exploring Operation: 81-62=19, Resulting Numbers: [4, 19] Generated Node #0,3,0: 52:[4, 19] Operation: 81-62=19 Exploring Operation: 62+4=66, Resulting Numbers: [81, 66] Generated Node #0,3,1: 52:[81, 66] Operation: 62+4=66 Exploring Operation: 81+4=85, Resulting Numbers: [62, 85] Generated Node #0,3,2: 52:[62, 85] Operation: 81+4=85 Exploring Operation: 62-4=58, Resulting Numbers: [81, 58] Generated Node #0,3,3: 52:[81, 58] Operation: 62-4=58 Exploring Operation: 81-4=77, Resulting Numbers: [62, 77] Generated Node #0,3,4: 52:[62, 77] Operation: 81-4=77 Moving to Node #0,3,0 Current State: 52:[4, 19], Operations: ['83-79=4', '81-62=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[62, 77], Operations: ['83-79=4', '81-4=77'] Exploring Operation: 62*77=4774, Resulting Numbers: [4774] 4774,52 unequal: No Solution Exploring Operation: 62+77=139, Resulting Numbers: [139] 139,52 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[81, 58], Operations: ['83-79=4', '62-4=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,52 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[81, 66], Operations: ['83-79=4', '62+4=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[62, 85], Operations: ['83-79=4', '81+4=85'] Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,52 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[83, 62, 2], Operations: ['81-79=2'] Exploring Operation: 83-2=81, Resulting Numbers: [62, 81] Generated Node #0,4,0: 52:[62, 81] Operation: 83-2=81 Exploring Operation: 83-62=21, Resulting Numbers: [2, 21] Generated Node #0,4,1: 52:[2, 21] Operation: 83-62=21 Exploring Operation: 83+2=85, Resulting Numbers: [62, 85] Generated Node #0,4,2: 52:[62, 85] Operation: 83+2=85 Exploring Operation: 62/2=31, Resulting Numbers: [83, 31] Generated Node #0,4,3: 52:[83, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [83, 60] Generated Node #0,4,4: 52:[83, 60] Operation: 62-2=60 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[2, 21], Operations: ['81-79=2', '83-62=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[83, 31], Operations: ['81-79=2', '62/2=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[79, 83, 62, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [83, 62, 2] Generated Node #0,4: 52:[83, 62, 2] Operation: 81-79=2 Moving to Node #0,4 Current State: 52:[83, 62, 2], Operations: ['81-79=2'] Exploring Operation: 62/2=31, Resulting Numbers: [83, 31] Generated Node #0,4,3: 52:[83, 31] Operation: 62/2=31 Moving to Node #0,4,3 Current State: 52:[83, 31], Operations: ['81-79=2', '62/2=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
sum_heuristic
[ 80, 56, 99, 22 ]
97
[ "80-56=24", "99+22=121", "121-24=97" ]
Current State: 97:[80, 56, 99, 22], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [99, 22, 24] Generated Node #2: [99, 22, 24] from Operation: 80-56=24 Current State: 97:[99, 22, 24], Operations: ['80-56=24'] Exploring Operation: 99+22=121, Resulting Numbers: [24, 121] Generated Node #3: [24, 121] from Operation: 99+22=121 Current State: 97:[24, 121], Operations: ['80-56=24', '99+22=121'] Exploring Operation: 121-24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[80, 56, 99, 22], Operations: [] Exploring Operation: 80+22=102, Resulting Numbers: [56, 99, 102] Generated Node #0,0: 97:[56, 99, 102] Operation: 80+22=102 Exploring Operation: 99-22=77, Resulting Numbers: [80, 56, 77] Generated Node #0,1: 97:[80, 56, 77] Operation: 99-22=77 Exploring Operation: 56+22=78, Resulting Numbers: [80, 99, 78] Generated Node #0,2: 97:[80, 99, 78] Operation: 56+22=78 Moving to Node #0,2 Current State: 97:[80, 99, 78], Operations: ['56+22=78'] Exploring Operation: 80+78=158, Resulting Numbers: [99, 158] Generated Node #0,2,0: 97:[99, 158] Operation: 80+78=158 Exploring Operation: 99-80=19, Resulting Numbers: [78, 19] Generated Node #0,2,1: 97:[78, 19] Operation: 99-80=19 Exploring Operation: 99-78=21, Resulting Numbers: [80, 21] Generated Node #0,2,2: 97:[80, 21] Operation: 99-78=21 Moving to Node #0,0 Current State: 97:[56, 99, 102], Operations: ['80+22=102'] Exploring Operation: 99-56=43, Resulting Numbers: [102, 43] Generated Node #0,0,0: 97:[102, 43] Operation: 99-56=43 Exploring Operation: 102-56=46, Resulting Numbers: [99, 46] Generated Node #0,0,1: 97:[99, 46] Operation: 102-56=46 Exploring Operation: 56+99=155, Resulting Numbers: [102, 155] Generated Node #0,0,2: 97:[102, 155] Operation: 56+99=155 Moving to Node #0,1 Current State: 97:[80, 56, 77], Operations: ['99-22=77'] Exploring Operation: 56+77=133, Resulting Numbers: [80, 133] Generated Node #0,1,0: 97:[80, 133] Operation: 56+77=133 Exploring Operation: 80-56=24, Resulting Numbers: [77, 24] Generated Node #0,1,1: 97:[77, 24] Operation: 80-56=24 Exploring Operation: 80+56=136, Resulting Numbers: [77, 136] Generated Node #0,1,2: 97:[77, 136] Operation: 80+56=136 Moving to Node #0,0,1 Current State: 97:[99, 46], Operations: ['80+22=102', '102-56=46'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[80, 133], Operations: ['99-22=77', '56+77=133'] Exploring Operation: 133-80=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 80+133=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 80*133=10640, Resulting Numbers: [10640] 10640,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[102, 43], Operations: ['80+22=102', '99-56=43'] Exploring Operation: 102*43=4386, Resulting Numbers: [4386] 4386,97 unequal: No Solution Exploring Operation: 102+43=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 102-43=59, Resulting Numbers: [59] 59,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[77, 136], Operations: ['99-22=77', '80+56=136'] Exploring Operation: 136-77=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 77*136=10472, Resulting Numbers: [10472] 10472,97 unequal: No Solution Exploring Operation: 77+136=213, Resulting Numbers: [213] 213,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[102, 155], Operations: ['80+22=102', '56+99=155'] Exploring Operation: 102*155=15810, Resulting Numbers: [15810] 15810,97 unequal: No Solution Exploring Operation: 102+155=257, Resulting Numbers: [257] 257,97 unequal: No Solution Exploring Operation: 155-102=53, Resulting Numbers: [53] 53,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[99, 158], Operations: ['56+22=78', '80+78=158'] Exploring Operation: 99+158=257, Resulting Numbers: [257] 257,97 unequal: No Solution Exploring Operation: 99*158=15642, Resulting Numbers: [15642] 15642,97 unequal: No Solution Exploring Operation: 158-99=59, Resulting Numbers: [59] 59,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[80, 21], Operations: ['56+22=78', '99-78=21'] Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[77, 24], Operations: ['99-22=77', '80-56=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,97 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[78, 19], Operations: ['56+22=78', '99-80=19'] Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[80, 56, 99, 22], Operations: [] Exploring Operation: 56+22=78, Resulting Numbers: [80, 99, 78] Generated Node #0,2: 97:[80, 99, 78] Operation: 56+22=78 Moving to Node #0,2 Current State: 97:[80, 99, 78], Operations: ['56+22=78'] Exploring Operation: 99-80=19, Resulting Numbers: [78, 19] Generated Node #0,2,1: 97:[78, 19] Operation: 99-80=19 Moving to Node #0,2,1 Current State: 97:[78, 19], Operations: ['56+22=78', '99-80=19'] Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 90, 57, 81, 49 ]
46
[ "90+81=171", "171/57=3", "49-3=46" ]
Current State: 46:[90, 57, 81, 49], Operations: [] Exploring Operation: 90+81=171, Resulting Numbers: [57, 49, 171] Generated Node #2: [57, 49, 171] from Operation: 90+81=171 Current State: 46:[57, 49, 171], Operations: ['90+81=171'] Exploring Operation: 171/57=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 171/57=3 Current State: 46:[49, 3], Operations: ['90+81=171', '171/57=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[90, 57, 81, 49], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [81, 49, 33] Generated Node #0,0: 46:[81, 49, 33] Operation: 90-57=33 Exploring Operation: 90-81=9, Resulting Numbers: [57, 49, 9] Generated Node #0,1: 46:[57, 49, 9] Operation: 90-81=9 Exploring Operation: 81-57=24, Resulting Numbers: [90, 49, 24] Generated Node #0,2: 46:[90, 49, 24] Operation: 81-57=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[57, 49, 9], Operations: ['90-81=9'] Exploring Operation: 57-9=48, Resulting Numbers: [49, 48] Generated Node #0,1,0: 46:[49, 48] Operation: 57-9=48 Exploring Operation: 57-49=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 46:[9, 8] Operation: 57-49=8 Exploring Operation: 49-9=40, Resulting Numbers: [57, 40] Generated Node #0,1,2: 46:[57, 40] Operation: 49-9=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[49, 48], Operations: ['90-81=9', '57-9=48'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,46 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,46 unequal: No Solution No 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: 46:[9, 8], Operations: ['90-81=9', '57-49=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,46 unequal: No Solution No 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: 46:[57, 40], Operations: ['90-81=9', '49-9=40'] Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,46 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[81, 49, 33], Operations: ['90-57=33'] Exploring Operation: 81-33=48, Resulting Numbers: [49, 48] Generated Node #0,0,0: 46:[49, 48] Operation: 81-33=48 Exploring Operation: 81-49=32, Resulting Numbers: [33, 32] Generated Node #0,0,1: 46:[33, 32] Operation: 81-49=32 Exploring Operation: 49-33=16, Resulting Numbers: [81, 16] Generated Node #0,0,2: 46:[81, 16] Operation: 49-33=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[49, 48], Operations: ['90-57=33', '81-33=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,46 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,46 unequal: No Solution No 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: 46:[33, 32], Operations: ['90-57=33', '81-49=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,46 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,46 unequal: No Solution No 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: 46:[81, 16], Operations: ['90-57=33', '49-33=16'] Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,46 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,46 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[90, 49, 24], Operations: ['81-57=24'] Exploring Operation: 90-24=66, Resulting Numbers: [49, 66] Generated Node #0,2,0: 46:[49, 66] Operation: 90-24=66 Exploring Operation: 90-49=41, Resulting Numbers: [24, 41] Generated Node #0,2,1: 46:[24, 41] Operation: 90-49=41 Exploring Operation: 49-24=25, Resulting Numbers: [90, 25] Generated Node #0,2,2: 46:[90, 25] Operation: 49-24=25 Moving to Node #0,2,1 Current State: 46:[24, 41], Operations: ['81-57=24', '90-49=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[49, 66], Operations: ['81-57=24', '90-24=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,46 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[90, 25], Operations: ['81-57=24', '49-24=25'] Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,46 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 22, 35, 27, 33 ]
93
[ "35+27=62", "33*62=2046", "2046/22=93" ]
Current State: 93:[22, 35, 27, 33], Operations: [] Exploring Operation: 35+27=62, Resulting Numbers: [22, 33, 62] Generated Node #2: [22, 33, 62] from Operation: 35+27=62 Current State: 93:[22, 33, 62], Operations: ['35+27=62'] Exploring Operation: 33*62=2046, Resulting Numbers: [22, 2046] Generated Node #3: [22, 2046] from Operation: 33*62=2046 Current State: 93:[22, 2046], Operations: ['35+27=62', '33*62=2046'] Exploring Operation: 2046/22=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[22, 35, 27, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [22, 27, 2] Generated Node #0,0: 93:[22, 27, 2] Operation: 35-33=2 Exploring Operation: 27-22=5, Resulting Numbers: [35, 33, 5] Generated Node #0,1: 93:[35, 33, 5] Operation: 27-22=5 Exploring Operation: 35-22=13, Resulting Numbers: [27, 33, 13] Generated Node #0,2: 93:[27, 33, 13] Operation: 35-22=13 Moving to Node #0,1 Current State: 93:[35, 33, 5], Operations: ['27-22=5'] Exploring Operation: 35-33=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 93:[5, 2] Operation: 35-33=2 Exploring Operation: 35-5=30, Resulting Numbers: [33, 30] Generated Node #0,1,1: 93:[33, 30] Operation: 35-5=30 Exploring Operation: 35/5=7, Resulting Numbers: [33, 7] Generated Node #0,1,2: 93:[33, 7] Operation: 35/5=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[5, 2], Operations: ['27-22=5', '35-33=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[33, 30], Operations: ['27-22=5', '35-5=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,93 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[33, 7], Operations: ['27-22=5', '35/5=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,93 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: 93:[22, 27, 2], Operations: ['35-33=2'] Exploring Operation: 27-22=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 93:[2, 5] Operation: 27-22=5 Exploring Operation: 27+2=29, Resulting Numbers: [22, 29] Generated Node #0,0,1: 93:[22, 29] Operation: 27+2=29 Exploring Operation: 22+2=24, Resulting Numbers: [27, 24] Generated Node #0,0,2: 93:[27, 24] Operation: 22+2=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[2, 5], Operations: ['35-33=2', '27-22=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[22, 29], Operations: ['35-33=2', '27+2=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,93 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[27, 24], Operations: ['35-33=2', '22+2=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,93 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[27, 33, 13], Operations: ['35-22=13'] Exploring Operation: 33-27=6, Resulting Numbers: [13, 6] Generated Node #0,2,0: 93:[13, 6] Operation: 33-27=6 Exploring Operation: 27-13=14, Resulting Numbers: [33, 14] Generated Node #0,2,1: 93:[33, 14] Operation: 27-13=14 Exploring Operation: 27+13=40, Resulting Numbers: [33, 40] Generated Node #0,2,2: 93:[33, 40] Operation: 27+13=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[33, 40], Operations: ['35-22=13', '27+13=40'] Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,93 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[13, 6], Operations: ['35-22=13', '33-27=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[33, 14], Operations: ['35-22=13', '27-13=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 26, 70, 87, 85 ]
31
[ "87-70=17", "85/17=5", "26+5=31" ]
Current State: 31:[26, 70, 87, 85], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [26, 85, 17] Generated Node #2: [26, 85, 17] from Operation: 87-70=17 Current State: 31:[26, 85, 17], Operations: ['87-70=17'] Exploring Operation: 85/17=5, Resulting Numbers: [26, 5] Generated Node #3: [26, 5] from Operation: 85/17=5 Current State: 31:[26, 5], Operations: ['87-70=17', '85/17=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[26, 70, 87, 85], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [26, 85, 17] Generated Node #0,0: 31:[26, 85, 17] Operation: 87-70=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[26, 85, 17], Operations: ['87-70=17'] Exploring Operation: 85/17=5, Resulting Numbers: [26, 5] Generated Node #0,0,0: 31:[26, 5] Operation: 85/17=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[26, 5], Operations: ['87-70=17', '85/17=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[26, 70, 87, 85], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [26, 85, 17] Generated Node #0,0: 31:[26, 85, 17] Operation: 87-70=17 Moving to Node #0,0 Current State: 31:[26, 85, 17], Operations: ['87-70=17'] Exploring Operation: 85/17=5, Resulting Numbers: [26, 5] Generated Node #0,0,0: 31:[26, 5] Operation: 85/17=5 Moving to Node #0,0,0 Current State: 31:[26, 5], Operations: ['87-70=17', '85/17=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 56, 4, 13 ]
59
[ "56-49=7", "4*13=52", "7+52=59" ]
Current State: 59:[49, 56, 4, 13], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [4, 13, 7] Generated Node #2: [4, 13, 7] from Operation: 56-49=7 Current State: 59:[4, 13, 7], Operations: ['56-49=7'] Exploring Operation: 4*13=52, Resulting Numbers: [7, 52] Generated Node #3: [7, 52] from Operation: 4*13=52 Current State: 59:[7, 52], Operations: ['56-49=7', '4*13=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[49, 56, 4, 13], Operations: [] Exploring Operation: 4*13=52, Resulting Numbers: [49, 56, 52] Generated Node #0,0: 59:[49, 56, 52] Operation: 4*13=52 Moving to Node #0,0 Current State: 59:[49, 56, 52], Operations: ['4*13=52'] Exploring Operation: 49+52=101, Resulting Numbers: [56, 101] Generated Node #0,0,0: 59:[56, 101] Operation: 49+52=101 Moving to Node #0,0,0 Current State: 59:[56, 101], Operations: ['4*13=52', '49+52=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 14, 21, 35, 44 ]
48
[ "21+35=56", "56/14=4", "44+4=48" ]
Current State: 48:[14, 21, 35, 44], Operations: [] Exploring Operation: 21+35=56, Resulting Numbers: [14, 44, 56] Generated Node #2: [14, 44, 56] from Operation: 21+35=56 Current State: 48:[14, 44, 56], Operations: ['21+35=56'] Exploring Operation: 56/14=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 56/14=4 Current State: 48:[44, 4], Operations: ['21+35=56', '56/14=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[14, 21, 35, 44], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [21, 44, 21] Generated Node #0,0: 48:[21, 44, 21] Operation: 35-14=21 Exploring Operation: 44-35=9, Resulting Numbers: [14, 21, 9] Generated Node #0,1: 48:[14, 21, 9] Operation: 44-35=9 Exploring Operation: 35-21=14, Resulting Numbers: [14, 44, 14] Generated Node #0,2: 48:[14, 44, 14] Operation: 35-21=14 Exploring Operation: 21+35=56, Resulting Numbers: [14, 44, 56] Generated Node #0,3: 48:[14, 44, 56] Operation: 21+35=56 Exploring Operation: 14+35=49, Resulting Numbers: [21, 44, 49] Generated Node #0,4: 48:[21, 44, 49] Operation: 14+35=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[14, 21, 9], Operations: ['44-35=9'] Exploring Operation: 14+9=23, Resulting Numbers: [21, 23] Generated Node #0,1,0: 48:[21, 23] Operation: 14+9=23 Exploring Operation: 21+9=30, Resulting Numbers: [14, 30] Generated Node #0,1,1: 48:[14, 30] Operation: 21+9=30 Exploring Operation: 21-9=12, Resulting Numbers: [14, 12] Generated Node #0,1,2: 48:[14, 12] Operation: 21-9=12 Exploring Operation: 21-14=7, Resulting Numbers: [9, 7] Generated Node #0,1,3: 48:[9, 7] Operation: 21-14=7 Exploring Operation: 14-9=5, Resulting Numbers: [21, 5] Generated Node #0,1,4: 48:[21, 5] Operation: 14-9=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[14, 12], Operations: ['44-35=9', '21-9=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[9, 7], Operations: ['44-35=9', '21-14=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[21, 23], Operations: ['44-35=9', '14+9=23'] Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,48 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 48:[21, 5], Operations: ['44-35=9', '14-9=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[14, 30], Operations: ['44-35=9', '21+9=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,48 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[14, 44, 14], Operations: ['35-21=14'] Exploring Operation: 44-14=30, Resulting Numbers: [14, 30] Generated Node #0,2,0: 48:[14, 30] Operation: 44-14=30 Exploring Operation: 14/14=1, Resulting Numbers: [44, 1] Generated Node #0,2,1: 48:[44, 1] Operation: 14/14=1 Exploring Operation: 14-14=0, Resulting Numbers: [44, 0] Generated Node #0,2,2: 48:[44, 0] Operation: 14-14=0 Exploring Operation: 14+14=28, Resulting Numbers: [44, 28] Generated Node #0,2,3: 48:[44, 28] Operation: 14+14=28 Exploring Operation: 44-14=30, Resulting Numbers: [14, 30] Generated Node #0,2,4: 48:[14, 30] Operation: 44-14=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[44, 1], Operations: ['35-21=14', '14/14=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[44, 0], Operations: ['35-21=14', '14-14=0'] Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[14, 30], Operations: ['35-21=14', '44-14=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,48 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[44, 28], Operations: ['35-21=14', '14+14=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 48:[14, 30], Operations: ['35-21=14', '44-14=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 48:[21, 44, 49], Operations: ['14+35=49'] Exploring Operation: 49-44=5, Resulting Numbers: [21, 5] Generated Node #0,4,0: 48:[21, 5] Operation: 49-44=5 Exploring Operation: 49-21=28, Resulting Numbers: [44, 28] Generated Node #0,4,1: 48:[44, 28] Operation: 49-21=28 Exploring Operation: 21+49=70, Resulting Numbers: [44, 70] Generated Node #0,4,2: 48:[44, 70] Operation: 21+49=70 Exploring Operation: 44-21=23, Resulting Numbers: [49, 23] Generated Node #0,4,3: 48:[49, 23] Operation: 44-21=23 Exploring Operation: 21+44=65, Resulting Numbers: [49, 65] Generated Node #0,4,4: 48:[49, 65] Operation: 21+44=65 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 48:[49, 23], Operations: ['14+35=49', '44-21=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,48 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 48:[21, 5], Operations: ['14+35=49', '49-44=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 48:[44, 28], Operations: ['14+35=49', '49-21=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,48 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 48:[49, 65], Operations: ['14+35=49', '21+44=65'] Exploring Operation: 49*65=3185, Resulting Numbers: [3185] 3185,48 unequal: No Solution Exploring Operation: 49+65=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 48:[44, 70], Operations: ['14+35=49', '21+49=70'] Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,48 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[21, 44, 21], Operations: ['35-14=21'] Exploring Operation: 21+21=42, Resulting Numbers: [44, 42] Generated Node #0,0,0: 48:[44, 42] Operation: 21+21=42 Exploring Operation: 21/21=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 48:[44, 1] Operation: 21/21=1 Exploring Operation: 44-21=23, Resulting Numbers: [21, 23] Generated Node #0,0,2: 48:[21, 23] Operation: 44-21=23 Exploring Operation: 21-21=0, Resulting Numbers: [44, 0] Generated Node #0,0,3: 48:[44, 0] Operation: 21-21=0 Exploring Operation: 44-21=23, Resulting Numbers: [21, 23] Generated Node #0,0,4: 48:[21, 23] Operation: 44-21=23 Moving to Node #0,0,2 Current State: 48:[21, 23], Operations: ['35-14=21', '44-21=23'] Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,48 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[21, 23], Operations: ['35-14=21', '44-21=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,48 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[44, 1], Operations: ['35-14=21', '21/21=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[44, 0], Operations: ['35-14=21', '21-21=0'] Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[44, 42], Operations: ['35-14=21', '21+21=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,48 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[14, 44, 56], Operations: ['21+35=56'] Exploring Operation: 56/14=4, Resulting Numbers: [44, 4] Generated Node #0,3,0: 48:[44, 4] Operation: 56/14=4 Exploring Operation: 56-44=12, Resulting Numbers: [14, 12] Generated Node #0,3,1: 48:[14, 12] Operation: 56-44=12 Exploring Operation: 56-14=42, Resulting Numbers: [44, 42] Generated Node #0,3,2: 48:[44, 42] Operation: 56-14=42 Exploring Operation: 44-14=30, Resulting Numbers: [56, 30] Generated Node #0,3,3: 48:[56, 30] Operation: 44-14=30 Exploring Operation: 14+44=58, Resulting Numbers: [56, 58] Generated Node #0,3,4: 48:[56, 58] Operation: 14+44=58 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 48:[14, 12], Operations: ['21+35=56', '56-44=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,48 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[44, 4], Operations: ['21+35=56', '56/14=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,48 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[14, 21, 35, 44], Operations: [] Exploring Operation: 21+35=56, Resulting Numbers: [14, 44, 56] Generated Node #0,3: 48:[14, 44, 56] Operation: 21+35=56 Moving to Node #0,3 Current State: 48:[14, 44, 56], Operations: ['21+35=56'] Exploring Operation: 56/14=4, Resulting Numbers: [44, 4] Generated Node #0,3,0: 48:[44, 4] Operation: 56/14=4 Moving to Node #0,3,0 Current State: 48:[44, 4], Operations: ['21+35=56', '56/14=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.91059
hs_5
mult_heuristic
[ 93, 89, 68, 60 ]
53
[ "93-89=4", "60/4=15", "68-15=53" ]
Current State: 53:[93, 89, 68, 60], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [68, 60, 4] Generated Node #2: [68, 60, 4] from Operation: 93-89=4 Current State: 53:[68, 60, 4], Operations: ['93-89=4'] Exploring Operation: 60/4=15, Resulting Numbers: [68, 15] Generated Node #3: [68, 15] from Operation: 60/4=15 Current State: 53:[68, 15], Operations: ['93-89=4', '60/4=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[93, 89, 68, 60], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [89, 60, 25] Generated Node #0,0: 53:[89, 60, 25] Operation: 93-68=25 Exploring Operation: 89-68=21, Resulting Numbers: [93, 60, 21] Generated Node #0,1: 53:[93, 60, 21] Operation: 89-68=21 Exploring Operation: 89-60=29, Resulting Numbers: [93, 68, 29] Generated Node #0,2: 53:[93, 68, 29] Operation: 89-60=29 Exploring Operation: 93-89=4, Resulting Numbers: [68, 60, 4] Generated Node #0,3: 53:[68, 60, 4] Operation: 93-89=4 Exploring Operation: 93-60=33, Resulting Numbers: [89, 68, 33] Generated Node #0,4: 53:[89, 68, 33] Operation: 93-60=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[89, 60, 25], Operations: ['93-68=25'] Exploring Operation: 89+25=114, Resulting Numbers: [60, 114] Generated Node #0,0,0: 53:[60, 114] Operation: 89+25=114 Exploring Operation: 89-60=29, Resulting Numbers: [25, 29] Generated Node #0,0,1: 53:[25, 29] Operation: 89-60=29 Exploring Operation: 60+25=85, Resulting Numbers: [89, 85] Generated Node #0,0,2: 53:[89, 85] Operation: 60+25=85 Exploring Operation: 89-25=64, Resulting Numbers: [60, 64] Generated Node #0,0,3: 53:[60, 64] Operation: 89-25=64 Exploring Operation: 60-25=35, Resulting Numbers: [89, 35] Generated Node #0,0,4: 53:[89, 35] Operation: 60-25=35 Moving to Node #0,0,3 Current State: 53:[60, 64], Operations: ['93-68=25', '89-25=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[25, 29], Operations: ['93-68=25', '89-60=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,53 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[89, 35], Operations: ['93-68=25', '60-25=35'] Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,53 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[60, 114], Operations: ['93-68=25', '89+25=114'] Exploring Operation: 60+114=174, Resulting Numbers: [174] 174,53 unequal: No Solution Exploring Operation: 60*114=6840, Resulting Numbers: [6840] 6840,53 unequal: No Solution Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[89, 85], Operations: ['93-68=25', '60+25=85'] Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,53 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,53 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,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,3 Current State: 53:[68, 60, 4], Operations: ['93-89=4'] Exploring Operation: 68-4=64, Resulting Numbers: [60, 64] Generated Node #0,3,0: 53:[60, 64] Operation: 68-4=64 Exploring Operation: 60+4=64, Resulting Numbers: [68, 64] Generated Node #0,3,1: 53:[68, 64] Operation: 60+4=64 Exploring Operation: 68/4=17, Resulting Numbers: [60, 17] Generated Node #0,3,2: 53:[60, 17] Operation: 68/4=17 Exploring Operation: 60-4=56, Resulting Numbers: [68, 56] Generated Node #0,3,3: 53:[68, 56] Operation: 60-4=56 Exploring Operation: 68+4=72, Resulting Numbers: [60, 72] Generated Node #0,3,4: 53:[60, 72] Operation: 68+4=72 Moving to Node #0,3,0 Current State: 53:[60, 64], Operations: ['93-89=4', '68-4=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,53 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[68, 56], Operations: ['93-89=4', '60-4=56'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[68, 64], Operations: ['93-89=4', '60+4=64'] Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,53 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[60, 72], Operations: ['93-89=4', '68+4=72'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,53 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[60, 17], Operations: ['93-89=4', '68/4=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,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,4 Current State: 53:[89, 68, 33], Operations: ['93-60=33'] Exploring Operation: 89+33=122, Resulting Numbers: [68, 122] Generated Node #0,4,0: 53:[68, 122] Operation: 89+33=122 Exploring Operation: 68+33=101, Resulting Numbers: [89, 101] Generated Node #0,4,1: 53:[89, 101] Operation: 68+33=101 Exploring Operation: 89-68=21, Resulting Numbers: [33, 21] Generated Node #0,4,2: 53:[33, 21] Operation: 89-68=21 Exploring Operation: 89-33=56, Resulting Numbers: [68, 56] Generated Node #0,4,3: 53:[68, 56] Operation: 89-33=56 Exploring Operation: 68-33=35, Resulting Numbers: [89, 35] Generated Node #0,4,4: 53:[89, 35] Operation: 68-33=35 Moving to Node #0,4,3 Current State: 53:[68, 56], Operations: ['93-60=33', '89-33=56'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,53 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[33, 21], Operations: ['93-60=33', '89-68=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,53 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[89, 35], Operations: ['93-60=33', '68-33=35'] Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,53 unequal: No Solution Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[68, 122], Operations: ['93-60=33', '89+33=122'] Exploring Operation: 68+122=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 68*122=8296, Resulting Numbers: [8296] 8296,53 unequal: No Solution Exploring Operation: 122-68=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[89, 101], Operations: ['93-60=33', '68+33=101'] Exploring Operation: 101-89=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 89*101=8989, Resulting Numbers: [8989] 8989,53 unequal: No Solution Exploring Operation: 89+101=190, Resulting Numbers: [190] 190,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,1 Current State: 53:[93, 60, 21], Operations: ['89-68=21'] Exploring Operation: 93-60=33, Resulting Numbers: [21, 33] Generated Node #0,1,0: 53:[21, 33] Operation: 93-60=33 Exploring Operation: 93-21=72, Resulting Numbers: [60, 72] Generated Node #0,1,1: 53:[60, 72] Operation: 93-21=72 Exploring Operation: 93+21=114, Resulting Numbers: [60, 114] Generated Node #0,1,2: 53:[60, 114] Operation: 93+21=114 Exploring Operation: 60-21=39, Resulting Numbers: [93, 39] Generated Node #0,1,3: 53:[93, 39] Operation: 60-21=39 Exploring Operation: 60+21=81, Resulting Numbers: [93, 81] Generated Node #0,1,4: 53:[93, 81] Operation: 60+21=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[60, 72], Operations: ['89-68=21', '93-21=72'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,53 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,53 unequal: No Solution No 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: 53:[21, 33], Operations: ['89-68=21', '93-60=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,53 unequal: No Solution No 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: 53:[93, 39], Operations: ['89-68=21', '60-21=39'] Exploring Operation: 93*39=3627, Resulting Numbers: [3627] 3627,53 unequal: No Solution Exploring Operation: 93+39=132, Resulting Numbers: [132] 132,53 unequal: No Solution Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,53 unequal: No Solution No 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: 53:[60, 114], Operations: ['89-68=21', '93+21=114'] Exploring Operation: 60+114=174, Resulting Numbers: [174] 174,53 unequal: No Solution Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 60*114=6840, Resulting Numbers: [6840] 6840,53 unequal: No Solution No 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: 53:[93, 81], Operations: ['89-68=21', '60+21=81'] Exploring Operation: 93+81=174, Resulting Numbers: [174] 174,53 unequal: No Solution Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 93*81=7533, Resulting Numbers: [7533] 7533,53 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: 53:[93, 68, 29], Operations: ['89-60=29'] Exploring Operation: 68+29=97, Resulting Numbers: [93, 97] Generated Node #0,2,0: 53:[93, 97] Operation: 68+29=97 Exploring Operation: 68-29=39, Resulting Numbers: [93, 39] Generated Node #0,2,1: 53:[93, 39] Operation: 68-29=39 Exploring Operation: 93-29=64, Resulting Numbers: [68, 64] Generated Node #0,2,2: 53:[68, 64] Operation: 93-29=64 Exploring Operation: 93-68=25, Resulting Numbers: [29, 25] Generated Node #0,2,3: 53:[29, 25] Operation: 93-68=25 Exploring Operation: 93+29=122, Resulting Numbers: [68, 122] Generated Node #0,2,4: 53:[68, 122] Operation: 93+29=122 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[68, 64], Operations: ['89-60=29', '93-29=64'] Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,53 unequal: No Solution Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,53 unequal: No Solution No 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: 53:[29, 25], Operations: ['89-60=29', '93-68=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,53 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,53 unequal: No Solution No 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: 53:[93, 39], Operations: ['89-60=29', '68-29=39'] Exploring Operation: 93+39=132, Resulting Numbers: [132] 132,53 unequal: No Solution Exploring Operation: 93*39=3627, Resulting Numbers: [3627] 3627,53 unequal: No Solution Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,53 unequal: No Solution No 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: 53:[93, 97], Operations: ['89-60=29', '68+29=97'] Exploring Operation: 93+97=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 93*97=9021, Resulting Numbers: [9021] 9021,53 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,53 unequal: No Solution No 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: 53:[68, 122], Operations: ['89-60=29', '93+29=122'] Exploring Operation: 68+122=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 68*122=8296, Resulting Numbers: [8296] 8296,53 unequal: No Solution Exploring Operation: 122-68=54, Resulting Numbers: [54] 54,53 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
[ 27, 36, 14, 81 ]
86
[ "36-27=9", "14+81=95", "95-9=86" ]
Current State: 86:[27, 36, 14, 81], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [14, 81, 9] Generated Node #2: [14, 81, 9] from Operation: 36-27=9 Current State: 86:[14, 81, 9], Operations: ['36-27=9'] Exploring Operation: 14+81=95, Resulting Numbers: [9, 95] Generated Node #3: [9, 95] from Operation: 14+81=95 Current State: 86:[9, 95], Operations: ['36-27=9', '14+81=95'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[27, 36, 14, 81], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [36, 14, 3] Generated Node #0,0: 86:[36, 14, 3] Operation: 81/27=3 Exploring Operation: 27+14=41, Resulting Numbers: [36, 81, 41] Generated Node #0,1: 86:[36, 81, 41] Operation: 27+14=41 Moving to Node #0,1 Current State: 86:[36, 81, 41], Operations: ['27+14=41'] Exploring Operation: 81-36=45, Resulting Numbers: [41, 45] Generated Node #0,1,0: 86:[41, 45] Operation: 81-36=45 Exploring Operation: 41-36=5, Resulting Numbers: [81, 5] Generated Node #0,1,1: 86:[81, 5] Operation: 41-36=5 Moving to Node #0,0 Current State: 86:[36, 14, 3], Operations: ['81/27=3'] Exploring Operation: 14*3=42, Resulting Numbers: [36, 42] Generated Node #0,0,0: 86:[36, 42] Operation: 14*3=42 Exploring Operation: 36+14=50, Resulting Numbers: [3, 50] Generated Node #0,0,1: 86:[3, 50] Operation: 36+14=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[36, 42], Operations: ['81/27=3', '14*3=42'] Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,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,1 Current State: 86:[3, 50], Operations: ['81/27=3', '36+14=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,86 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: 86:[41, 45], Operations: ['27+14=41', '81-36=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[27, 36, 14, 81], Operations: [] Exploring Operation: 27+14=41, Resulting Numbers: [36, 81, 41] Generated Node #0,1: 86:[36, 81, 41] Operation: 27+14=41 Moving to Node #0,1 Current State: 86:[36, 81, 41], Operations: ['27+14=41'] Exploring Operation: 81-36=45, Resulting Numbers: [41, 45] Generated Node #0,1,0: 86:[41, 45] Operation: 81-36=45 Moving to Node #0,1,0 Current State: 86:[41, 45], Operations: ['27+14=41', '81-36=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 50, 82, 68, 46 ]
49
[ "82+68=150", "150/50=3", "46+3=49" ]
Current State: 49:[50, 82, 68, 46], Operations: [] Exploring Operation: 82+68=150, Resulting Numbers: [50, 46, 150] Generated Node #2: [50, 46, 150] from Operation: 82+68=150 Current State: 49:[50, 46, 150], Operations: ['82+68=150'] Exploring Operation: 150/50=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 150/50=3 Current State: 49:[46, 3], Operations: ['82+68=150', '150/50=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[50, 82, 68, 46], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [82, 46, 18] Generated Node #0,0: 49:[82, 46, 18] Operation: 68-50=18 Exploring Operation: 82-46=36, Resulting Numbers: [50, 68, 36] Generated Node #0,1: 49:[50, 68, 36] Operation: 82-46=36 Exploring Operation: 68-46=22, Resulting Numbers: [50, 82, 22] Generated Node #0,2: 49:[50, 82, 22] Operation: 68-46=22 Exploring Operation: 82-50=32, Resulting Numbers: [68, 46, 32] Generated Node #0,3: 49:[68, 46, 32] Operation: 82-50=32 Exploring Operation: 82-68=14, Resulting Numbers: [50, 46, 14] Generated Node #0,4: 49:[50, 46, 14] Operation: 82-68=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[50, 46, 14], Operations: ['82-68=14'] Exploring Operation: 50+14=64, Resulting Numbers: [46, 64] Generated Node #0,4,0: 49:[46, 64] Operation: 50+14=64 Exploring Operation: 50-46=4, Resulting Numbers: [14, 4] Generated Node #0,4,1: 49:[14, 4] Operation: 50-46=4 Exploring Operation: 46-14=32, Resulting Numbers: [50, 32] Generated Node #0,4,2: 49:[50, 32] Operation: 46-14=32 Exploring Operation: 46+14=60, Resulting Numbers: [50, 60] Generated Node #0,4,3: 49:[50, 60] Operation: 46+14=60 Exploring Operation: 50-14=36, Resulting Numbers: [46, 36] Generated Node #0,4,4: 49:[46, 36] Operation: 50-14=36 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[14, 4], Operations: ['82-68=14', '50-46=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[50, 60], Operations: ['82-68=14', '46+14=60'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[46, 36], Operations: ['82-68=14', '50-14=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,49 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[46, 64], Operations: ['82-68=14', '50+14=64'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[50, 32], Operations: ['82-68=14', '46-14=32'] Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,49 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[50, 68, 36], Operations: ['82-46=36'] Exploring Operation: 68+36=104, Resulting Numbers: [50, 104] Generated Node #0,1,0: 49:[50, 104] Operation: 68+36=104 Exploring Operation: 68-50=18, Resulting Numbers: [36, 18] Generated Node #0,1,1: 49:[36, 18] Operation: 68-50=18 Exploring Operation: 50+36=86, Resulting Numbers: [68, 86] Generated Node #0,1,2: 49:[68, 86] Operation: 50+36=86 Exploring Operation: 68-36=32, Resulting Numbers: [50, 32] Generated Node #0,1,3: 49:[50, 32] Operation: 68-36=32 Exploring Operation: 50-36=14, Resulting Numbers: [68, 14] Generated Node #0,1,4: 49:[68, 14] Operation: 50-36=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[50, 32], Operations: ['82-46=36', '68-36=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,49 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[36, 18], Operations: ['82-46=36', '68-50=18'] Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[68, 14], Operations: ['82-46=36', '50-36=14'] Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,49 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[50, 104], Operations: ['82-46=36', '68+36=104'] Exploring Operation: 104-50=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 50*104=5200, Resulting Numbers: [5200] 5200,49 unequal: No Solution Exploring Operation: 50+104=154, Resulting Numbers: [154] 154,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[68, 86], Operations: ['82-46=36', '50+36=86'] Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,49 unequal: No Solution Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,49 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[68, 46, 32], Operations: ['82-50=32'] Exploring Operation: 68-46=22, Resulting Numbers: [32, 22] Generated Node #0,3,0: 49:[32, 22] Operation: 68-46=22 Exploring Operation: 46+32=78, Resulting Numbers: [68, 78] Generated Node #0,3,1: 49:[68, 78] Operation: 46+32=78 Exploring Operation: 46-32=14, Resulting Numbers: [68, 14] Generated Node #0,3,2: 49:[68, 14] Operation: 46-32=14 Exploring Operation: 68+32=100, Resulting Numbers: [46, 100] Generated Node #0,3,3: 49:[46, 100] Operation: 68+32=100 Exploring Operation: 68-32=36, Resulting Numbers: [46, 36] Generated Node #0,3,4: 49:[46, 36] Operation: 68-32=36 Moving to Node #0,3,4 Current State: 49:[46, 36], Operations: ['82-50=32', '68-32=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[68, 14], Operations: ['82-50=32', '46-32=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[32, 22], Operations: ['82-50=32', '68-46=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,49 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[68, 78], Operations: ['82-50=32', '46+32=78'] Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 68*78=5304, Resulting Numbers: [5304] 5304,49 unequal: No Solution Exploring Operation: 68+78=146, Resulting Numbers: [146] 146,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[46, 100], Operations: ['82-50=32', '68+32=100'] Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,49 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,49 unequal: No Solution Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[82, 46, 18], Operations: ['68-50=18'] Exploring Operation: 46+18=64, Resulting Numbers: [82, 64] Generated Node #0,0,0: 49:[82, 64] Operation: 46+18=64 Exploring Operation: 82+18=100, Resulting Numbers: [46, 100] Generated Node #0,0,1: 49:[46, 100] Operation: 82+18=100 Exploring Operation: 82-18=64, Resulting Numbers: [46, 64] Generated Node #0,0,2: 49:[46, 64] Operation: 82-18=64 Exploring Operation: 82-46=36, Resulting Numbers: [18, 36] Generated Node #0,0,3: 49:[18, 36] Operation: 82-46=36 Exploring Operation: 46-18=28, Resulting Numbers: [82, 28] Generated Node #0,0,4: 49:[82, 28] Operation: 46-18=28 Moving to Node #0,0,2 Current State: 49:[46, 64], Operations: ['68-50=18', '82-18=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,49 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[18, 36], Operations: ['68-50=18', '82-46=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,49 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[82, 64], Operations: ['68-50=18', '46+18=64'] Exploring Operation: 82*64=5248, Resulting Numbers: [5248] 5248,49 unequal: No Solution Exploring Operation: 82+64=146, Resulting Numbers: [146] 146,49 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[46, 100], Operations: ['68-50=18', '82+18=100'] Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,49 unequal: No Solution Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[82, 28], Operations: ['68-50=18', '46-18=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,49 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[50, 82, 22], Operations: ['68-46=22'] Exploring Operation: 50-22=28, Resulting Numbers: [82, 28] Generated Node #0,2,0: 49:[82, 28] Operation: 50-22=28 Exploring Operation: 82-50=32, Resulting Numbers: [22, 32] Generated Node #0,2,1: 49:[22, 32] Operation: 82-50=32 Exploring Operation: 82-22=60, Resulting Numbers: [50, 60] Generated Node #0,2,2: 49:[50, 60] Operation: 82-22=60 Exploring Operation: 82+22=104, Resulting Numbers: [50, 104] Generated Node #0,2,3: 49:[50, 104] Operation: 82+22=104 Exploring Operation: 50+22=72, Resulting Numbers: [82, 72] Generated Node #0,2,4: 49:[82, 72] Operation: 50+22=72 Moving to Node #0,2,2 Current State: 49:[50, 60], Operations: ['68-46=22', '82-22=60'] Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[22, 32], Operations: ['68-46=22', '82-50=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,49 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[82, 28], Operations: ['68-46=22', '50-22=28'] Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,49 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[50, 104], Operations: ['68-46=22', '82+22=104'] Exploring Operation: 50*104=5200, Resulting Numbers: [5200] 5200,49 unequal: No Solution Exploring Operation: 104-50=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 50+104=154, Resulting Numbers: [154] 154,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[82, 72], Operations: ['68-46=22', '50+22=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,49 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 6, 79, 43, 7 ]
79
[ "6*7=42", "43-42=1", "79*1=79" ]
Current State: 79:[6, 79, 43, 7], Operations: [] Exploring Operation: 6*7=42, Resulting Numbers: [79, 43, 42] Generated Node #2: [79, 43, 42] from Operation: 6*7=42 Current State: 79:[79, 43, 42], Operations: ['6*7=42'] Exploring Operation: 43-42=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 43-42=1 Current State: 79:[79, 1], Operations: ['6*7=42', '43-42=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[6, 79, 43, 7], Operations: [] Exploring Operation: 6*7=42, Resulting Numbers: [79, 43, 42] Generated Node #0,0: 79:[79, 43, 42] Operation: 6*7=42 Moving to Node #0,0 Current State: 79:[79, 43, 42], Operations: ['6*7=42'] Exploring Operation: 43+42=85, Resulting Numbers: [79, 85] Generated Node #0,0,0: 79:[79, 85] Operation: 43+42=85 Moving to Node #0,0,0 Current State: 79:[79, 85], Operations: ['6*7=42', '43+42=85'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,79 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 48, 33, 66, 35 ]
96
[ "66-33=33", "35-33=2", "48*2=96" ]
Current State: 96:[48, 33, 66, 35], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [48, 35, 33] Generated Node #2: [48, 35, 33] from Operation: 66-33=33 Current State: 96:[48, 35, 33], Operations: ['66-33=33'] Exploring Operation: 35-33=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 35-33=2 Current State: 96:[48, 2], Operations: ['66-33=33', '35-33=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 33, 66, 35], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [48, 35, 2] Generated Node #0,0: 96:[48, 35, 2] Operation: 66/33=2 Exploring Operation: 66-35=31, Resulting Numbers: [48, 33, 31] Generated Node #0,1: 96:[48, 33, 31] Operation: 66-35=31 Moving to Node #0,1 Current State: 96:[48, 33, 31], Operations: ['66-35=31'] Exploring Operation: 33-31=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 96:[48, 2] Operation: 33-31=2 Exploring Operation: 48-33=15, Resulting Numbers: [31, 15] Generated Node #0,1,1: 96:[31, 15] Operation: 48-33=15 Moving to Node #0,0 Current State: 96:[48, 35, 2], Operations: ['66/33=2'] Exploring Operation: 35-2=33, Resulting Numbers: [48, 33] Generated Node #0,0,0: 96:[48, 33] Operation: 35-2=33 Exploring Operation: 48-35=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 96:[2, 13] Operation: 48-35=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[48, 33], Operations: ['66/33=2', '35-2=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,96 unequal: No Solution No 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: 96:[2, 13], Operations: ['66/33=2', '48-35=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,96 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: 96:[48, 2], Operations: ['66-35=31', '33-31=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[48, 33, 66, 35], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [48, 33, 31] Generated Node #0,1: 96:[48, 33, 31] Operation: 66-35=31 Moving to Node #0,1 Current State: 96:[48, 33, 31], Operations: ['66-35=31'] Exploring Operation: 33-31=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 96:[48, 2] Operation: 33-31=2 Moving to Node #0,1,0 Current State: 96:[48, 2], Operations: ['66-35=31', '33-31=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 60, 4, 8, 8 ]
56
[ "60-4=56", "8-8=0", "56+0=56" ]
Current State: 56:[60, 4, 8, 8], Operations: [] Exploring Operation: 60-4=56, Resulting Numbers: [8, 8, 56] Generated Node #2: [8, 8, 56] from Operation: 60-4=56 Current State: 56:[8, 8, 56], Operations: ['60-4=56'] Exploring Operation: 8-8=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 8-8=0 Current State: 56:[56, 0], Operations: ['60-4=56', '8-8=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[60, 4, 8, 8], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [8, 8, 15] Generated Node #0,0: 56:[8, 8, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [8, 8, 56] Generated Node #0,1: 56:[8, 8, 56] Operation: 60-4=56 Moving to Node #0,1 Current State: 56:[8, 8, 56], Operations: ['60-4=56'] Exploring Operation: 56/8=7, Resulting Numbers: [8, 7] Generated Node #0,1,0: 56:[8, 7] Operation: 56/8=7 Exploring Operation: 56/8=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 56:[8, 7] Operation: 56/8=7 Moving to Node #0,0 Current State: 56:[8, 8, 15], Operations: ['60/4=15'] Exploring Operation: 15-8=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 56:[8, 7] Operation: 15-8=7 Exploring Operation: 15-8=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 56:[8, 7] Operation: 15-8=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[8, 7], Operations: ['60/4=15', '15-8=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[60, 4, 8, 8], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [8, 8, 15] Generated Node #0,0: 56:[8, 8, 15] Operation: 60/4=15 Moving to Node #0,0 Current State: 56:[8, 8, 15], Operations: ['60/4=15'] Exploring Operation: 15-8=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 56:[8, 7] Operation: 15-8=7 Moving to Node #0,0,0 Current State: 56:[8, 7], Operations: ['60/4=15', '15-8=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 6, 7, 81, 35 ]
33
[ "6+7=13", "81-35=46", "46-13=33" ]
Current State: 33:[6, 7, 81, 35], Operations: [] Exploring Operation: 6+7=13, Resulting Numbers: [81, 35, 13] Generated Node #2: [81, 35, 13] from Operation: 6+7=13 Current State: 33:[81, 35, 13], Operations: ['6+7=13'] Exploring Operation: 81-35=46, Resulting Numbers: [13, 46] Generated Node #3: [13, 46] from Operation: 81-35=46 Current State: 33:[13, 46], Operations: ['6+7=13', '81-35=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[6, 7, 81, 35], Operations: [] Exploring Operation: 81-7=74, Resulting Numbers: [6, 35, 74] Generated Node #0,0: 33:[6, 35, 74] Operation: 81-7=74 Exploring Operation: 81-35=46, Resulting Numbers: [6, 7, 46] Generated Node #0,1: 33:[6, 7, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[6, 7, 46], Operations: ['81-35=46'] Exploring Operation: 46-6=40, Resulting Numbers: [7, 40] Generated Node #0,1,0: 33:[7, 40] Operation: 46-6=40 Exploring Operation: 46-7=39, Resulting Numbers: [6, 39] Generated Node #0,1,1: 33:[6, 39] Operation: 46-7=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[6, 39], Operations: ['81-35=46', '46-7=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[6, 7, 81, 35], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [6, 7, 46] Generated Node #0,1: 33:[6, 7, 46] Operation: 81-35=46 Moving to Node #0,1 Current State: 33:[6, 7, 46], Operations: ['81-35=46'] Exploring Operation: 46-7=39, Resulting Numbers: [6, 39] Generated Node #0,1,1: 33:[6, 39] Operation: 46-7=39 Moving to Node #0,1,1 Current State: 33:[6, 39], Operations: ['81-35=46', '46-7=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 38, 60, 46, 71 ]
73
[ "38+60=98", "71-46=25", "98-25=73" ]
Current State: 73:[38, 60, 46, 71], Operations: [] Exploring Operation: 38+60=98, Resulting Numbers: [46, 71, 98] Generated Node #2: [46, 71, 98] from Operation: 38+60=98 Current State: 73:[46, 71, 98], Operations: ['38+60=98'] Exploring Operation: 71-46=25, Resulting Numbers: [98, 25] Generated Node #3: [98, 25] from Operation: 71-46=25 Current State: 73:[98, 25], Operations: ['38+60=98', '71-46=25'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[38, 60, 46, 71], Operations: [] Exploring Operation: 38+46=84, Resulting Numbers: [60, 71, 84] Generated Node #0,0: 73:[60, 71, 84] Operation: 38+46=84 Exploring Operation: 60+46=106, Resulting Numbers: [38, 71, 106] Generated Node #0,1: 73:[38, 71, 106] Operation: 60+46=106 Exploring Operation: 38+60=98, Resulting Numbers: [46, 71, 98] Generated Node #0,2: 73:[46, 71, 98] Operation: 38+60=98 Moving to Node #0,0 Current State: 73:[60, 71, 84], Operations: ['38+46=84'] Exploring Operation: 84-60=24, Resulting Numbers: [71, 24] Generated Node #0,0,0: 73:[71, 24] Operation: 84-60=24 Exploring Operation: 60+71=131, Resulting Numbers: [84, 131] Generated Node #0,0,1: 73:[84, 131] Operation: 60+71=131 Exploring Operation: 71-60=11, Resulting Numbers: [84, 11] Generated Node #0,0,2: 73:[84, 11] Operation: 71-60=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[71, 24], Operations: ['38+46=84', '84-60=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[84, 131], Operations: ['38+46=84', '60+71=131'] Exploring Operation: 84+131=215, Resulting Numbers: [215] 215,73 unequal: No Solution Exploring Operation: 131-84=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 84*131=11004, Resulting Numbers: [11004] 11004,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[84, 11], Operations: ['38+46=84', '71-60=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[38, 60, 46, 71], Operations: [] Exploring Operation: 38+46=84, Resulting Numbers: [60, 71, 84] Generated Node #0,0: 73:[60, 71, 84] Operation: 38+46=84 Moving to Node #0,0 Current State: 73:[60, 71, 84], Operations: ['38+46=84'] Exploring Operation: 71-60=11, Resulting Numbers: [84, 11] Generated Node #0,0,2: 73:[84, 11] Operation: 71-60=11 Moving to Node #0,0,2 Current State: 73:[84, 11], Operations: ['38+46=84', '71-60=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 10, 13, 76, 29 ]
73
[ "10+29=39", "39/13=3", "76-3=73" ]
Current State: 73:[10, 13, 76, 29], Operations: [] Exploring Operation: 10+29=39, Resulting Numbers: [13, 76, 39] Generated Node #2: [13, 76, 39] from Operation: 10+29=39 Current State: 73:[13, 76, 39], Operations: ['10+29=39'] Exploring Operation: 39/13=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 39/13=3 Current State: 73:[76, 3], Operations: ['10+29=39', '39/13=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 13, 76, 29], Operations: [] Exploring Operation: 10*13=130, Resulting Numbers: [76, 29, 130] Generated Node #0,0: 73:[76, 29, 130] Operation: 10*13=130 Exploring Operation: 10+29=39, Resulting Numbers: [13, 76, 39] Generated Node #0,1: 73:[13, 76, 39] Operation: 10+29=39 Exploring Operation: 13+29=42, Resulting Numbers: [10, 76, 42] Generated Node #0,2: 73:[10, 76, 42] Operation: 13+29=42 Exploring Operation: 10+13=23, Resulting Numbers: [76, 29, 23] Generated Node #0,3: 73:[76, 29, 23] Operation: 10+13=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[13, 76, 39], Operations: ['10+29=39'] Exploring Operation: 13+39=52, Resulting Numbers: [76, 52] Generated Node #0,1,0: 73:[76, 52] Operation: 13+39=52 Exploring Operation: 39-13=26, Resulting Numbers: [76, 26] Generated Node #0,1,1: 73:[76, 26] Operation: 39-13=26 Exploring Operation: 76-13=63, Resulting Numbers: [39, 63] Generated Node #0,1,2: 73:[39, 63] Operation: 76-13=63 Exploring Operation: 13+76=89, Resulting Numbers: [39, 89] Generated Node #0,1,3: 73:[39, 89] Operation: 13+76=89 Moving to Node #0,1,0 Current State: 73:[76, 52], Operations: ['10+29=39', '13+39=52'] Exploring Operation: 76+52=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 76*52=3952, Resulting Numbers: [3952] 3952,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[39, 63], Operations: ['10+29=39', '76-13=63'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,73 unequal: No Solution Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[39, 89], Operations: ['10+29=39', '13+76=89'] Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,73 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[76, 26], Operations: ['10+29=39', '39-13=26'] Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,73 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[10, 76, 42], Operations: ['13+29=42'] Exploring Operation: 76-10=66, Resulting Numbers: [42, 66] Generated Node #0,2,0: 73:[42, 66] Operation: 76-10=66 Exploring Operation: 10+42=52, Resulting Numbers: [76, 52] Generated Node #0,2,1: 73:[76, 52] Operation: 10+42=52 Exploring Operation: 10+76=86, Resulting Numbers: [42, 86] Generated Node #0,2,2: 73:[42, 86] Operation: 10+76=86 Exploring Operation: 42-10=32, Resulting Numbers: [76, 32] Generated Node #0,2,3: 73:[76, 32] Operation: 42-10=32 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[76, 52], Operations: ['13+29=42', '10+42=52'] Exploring Operation: 76+52=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 76*52=3952, Resulting Numbers: [3952] 3952,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,2,0 Current State: 73:[42, 66], Operations: ['13+29=42', '76-10=66'] Exploring Operation: 42*66=2772, Resulting Numbers: [2772] 2772,73 unequal: No Solution Exploring Operation: 42+66=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,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,2,2 Current State: 73:[42, 86], Operations: ['13+29=42', '10+76=86'] Exploring Operation: 42*86=3612, Resulting Numbers: [3612] 3612,73 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 42+86=128, Resulting Numbers: [128] 128,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,2,3 Current State: 73:[76, 32], Operations: ['13+29=42', '42-10=32'] Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,73 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,73 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: 73:[76, 29, 23], Operations: ['10+13=23'] Exploring Operation: 29-23=6, Resulting Numbers: [76, 6] Generated Node #0,3,0: 73:[76, 6] Operation: 29-23=6 Exploring Operation: 76-23=53, Resulting Numbers: [29, 53] Generated Node #0,3,1: 73:[29, 53] Operation: 76-23=53 Exploring Operation: 29+23=52, Resulting Numbers: [76, 52] Generated Node #0,3,2: 73:[76, 52] Operation: 29+23=52 Exploring Operation: 76+23=99, Resulting Numbers: [29, 99] Generated Node #0,3,3: 73:[29, 99] Operation: 76+23=99 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[76, 52], Operations: ['10+13=23', '29+23=52'] Exploring Operation: 76+52=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 76*52=3952, Resulting Numbers: [3952] 3952,73 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,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,3,1 Current State: 73:[29, 53], Operations: ['10+13=23', '76-23=53'] Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,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,3,0 Current State: 73:[76, 6], Operations: ['10+13=23', '29-23=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,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,3,3 Current State: 73:[29, 99], Operations: ['10+13=23', '76+23=99'] Exploring Operation: 29*99=2871, Resulting Numbers: [2871] 2871,73 unequal: No Solution Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 29+99=128, Resulting Numbers: [128] 128,73 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: 73:[76, 29, 130], Operations: ['10*13=130'] Exploring Operation: 76+29=105, Resulting Numbers: [130, 105] Generated Node #0,0,0: 73:[130, 105] Operation: 76+29=105 Exploring Operation: 130-29=101, Resulting Numbers: [76, 101] Generated Node #0,0,1: 73:[76, 101] Operation: 130-29=101 Exploring Operation: 76-29=47, Resulting Numbers: [130, 47] Generated Node #0,0,2: 73:[130, 47] Operation: 76-29=47 Exploring Operation: 130-76=54, Resulting Numbers: [29, 54] Generated Node #0,0,3: 73:[29, 54] Operation: 130-76=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[76, 101], Operations: ['10*13=130', '130-29=101'] Exploring Operation: 76*101=7676, Resulting Numbers: [7676] 7676,73 unequal: No Solution Exploring Operation: 76+101=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 101-76=25, Resulting Numbers: [25] 25,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:[29, 54], Operations: ['10*13=130', '130-76=54'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,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:[130, 47], Operations: ['10*13=130', '76-29=47'] Exploring Operation: 130+47=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 130-47=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 130*47=6110, Resulting Numbers: [6110] 6110,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,0 Current State: 73:[130, 105], Operations: ['10*13=130', '76+29=105'] Exploring Operation: 130-105=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 130*105=13650, Resulting Numbers: [13650] 13650,73 unequal: No Solution Exploring Operation: 130+105=235, Resulting Numbers: [235] 235,73 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
[ 1, 69, 35, 17 ]
86
[ "69-1=68", "35-17=18", "68+18=86" ]
Current State: 86:[1, 69, 35, 17], Operations: [] Exploring Operation: 69-1=68, Resulting Numbers: [35, 17, 68] Generated Node #2: [35, 17, 68] from Operation: 69-1=68 Current State: 86:[35, 17, 68], Operations: ['69-1=68'] Exploring Operation: 35-17=18, Resulting Numbers: [68, 18] Generated Node #3: [68, 18] from Operation: 35-17=18 Current State: 86:[68, 18], Operations: ['69-1=68', '35-17=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 69, 35, 17], Operations: [] Exploring Operation: 69+17=86, Resulting Numbers: [1, 35, 86] Generated Node #0,0: 86:[1, 35, 86] Operation: 69+17=86 Exploring Operation: 69-17=52, Resulting Numbers: [1, 35, 52] Generated Node #0,1: 86:[1, 35, 52] Operation: 69-17=52 Moving to Node #0,0 Current State: 86:[1, 35, 86], Operations: ['69+17=86'] Exploring Operation: 1+35=36, Resulting Numbers: [86, 36] Generated Node #0,0,0: 86:[86, 36] Operation: 1+35=36 Exploring Operation: 1*35=35, Resulting Numbers: [86, 35] Generated Node #0,0,1: 86:[86, 35] Operation: 1*35=35 Moving to Node #0,1 Current State: 86:[1, 35, 52], Operations: ['69-17=52'] Exploring Operation: 35+52=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 86:[1, 87] Operation: 35+52=87 Exploring Operation: 1+35=36, Resulting Numbers: [52, 36] Generated Node #0,1,1: 86:[52, 36] Operation: 1+35=36 Moving to Node #0,1,0 Current State: 86:[1, 87], Operations: ['69-17=52', '35+52=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[1, 69, 35, 17], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [1, 35, 52] Generated Node #0,1: 86:[1, 35, 52] Operation: 69-17=52 Moving to Node #0,1 Current State: 86:[1, 35, 52], Operations: ['69-17=52'] Exploring Operation: 35+52=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 86:[1, 87] Operation: 35+52=87 Moving to Node #0,1,0 Current State: 86:[1, 87], Operations: ['69-17=52', '35+52=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 80, 29, 76, 5 ]
59
[ "29+76=105", "105/5=21", "80-21=59" ]
Current State: 59:[80, 29, 76, 5], Operations: [] Exploring Operation: 29+76=105, Resulting Numbers: [80, 5, 105] Generated Node #2: [80, 5, 105] from Operation: 29+76=105 Current State: 59:[80, 5, 105], Operations: ['29+76=105'] Exploring Operation: 105/5=21, Resulting Numbers: [80, 21] Generated Node #3: [80, 21] from Operation: 105/5=21 Current State: 59:[80, 21], Operations: ['29+76=105', '105/5=21'] Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[80, 29, 76, 5], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [29, 76, 75] Generated Node #0,0: 59:[29, 76, 75] Operation: 80-5=75 Exploring Operation: 29+5=34, Resulting Numbers: [80, 76, 34] Generated Node #0,1: 59:[80, 76, 34] Operation: 29+5=34 Exploring Operation: 80+5=85, Resulting Numbers: [29, 76, 85] Generated Node #0,2: 59:[29, 76, 85] Operation: 80+5=85 Exploring Operation: 29-5=24, Resulting Numbers: [80, 76, 24] Generated Node #0,3: 59:[80, 76, 24] Operation: 29-5=24 Exploring Operation: 76-5=71, Resulting Numbers: [80, 29, 71] Generated Node #0,4: 59:[80, 29, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[29, 76, 75], Operations: ['80-5=75'] Exploring Operation: 29+76=105, Resulting Numbers: [75, 105] Generated Node #0,0,0: 59:[75, 105] Operation: 29+76=105 Exploring Operation: 76-29=47, Resulting Numbers: [75, 47] Generated Node #0,0,1: 59:[75, 47] Operation: 76-29=47 Exploring Operation: 29+75=104, Resulting Numbers: [76, 104] Generated Node #0,0,2: 59:[76, 104] Operation: 29+75=104 Exploring Operation: 75-29=46, Resulting Numbers: [76, 46] Generated Node #0,0,3: 59:[76, 46] Operation: 75-29=46 Exploring Operation: 76-75=1, Resulting Numbers: [29, 1] Generated Node #0,0,4: 59:[29, 1] Operation: 76-75=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[75, 47], Operations: ['80-5=75', '76-29=47'] Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,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:[76, 46], Operations: ['80-5=75', '75-29=46'] Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,59 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,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:[75, 105], Operations: ['80-5=75', '29+76=105'] Exploring Operation: 105-75=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 75+105=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 75*105=7875, Resulting Numbers: [7875] 7875,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:[76, 104], Operations: ['80-5=75', '29+75=104'] Exploring Operation: 76+104=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 76*104=7904, Resulting Numbers: [7904] 7904,59 unequal: No Solution Exploring Operation: 104-76=28, Resulting Numbers: [28] 28,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,4 Current State: 59:[29, 1], Operations: ['80-5=75', '76-75=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,59 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,59 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[80, 76, 34], Operations: ['29+5=34'] Exploring Operation: 80+34=114, Resulting Numbers: [76, 114] Generated Node #0,1,0: 59:[76, 114] Operation: 80+34=114 Exploring Operation: 76+34=110, Resulting Numbers: [80, 110] Generated Node #0,1,1: 59:[80, 110] Operation: 76+34=110 Exploring Operation: 76-34=42, Resulting Numbers: [80, 42] Generated Node #0,1,2: 59:[80, 42] Operation: 76-34=42 Exploring Operation: 80-34=46, Resulting Numbers: [76, 46] Generated Node #0,1,3: 59:[76, 46] Operation: 80-34=46 Exploring Operation: 80-76=4, Resulting Numbers: [34, 4] Generated Node #0,1,4: 59:[34, 4] Operation: 80-76=4 Moving to Node #0,1,3 Current State: 59:[76, 46], Operations: ['29+5=34', '80-34=46'] Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,59 unequal: No Solution Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[80, 42], Operations: ['29+5=34', '76-34=42'] Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[76, 114], Operations: ['29+5=34', '80+34=114'] Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[80, 110], Operations: ['29+5=34', '76+34=110'] Exploring Operation: 80+110=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 110-80=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 80*110=8800, Resulting Numbers: [8800] 8800,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[34, 4], Operations: ['29+5=34', '80-76=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,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 Current State: 59:[80, 29, 71], Operations: ['76-5=71'] Exploring Operation: 29+71=100, Resulting Numbers: [80, 100] Generated Node #0,4,0: 59:[80, 100] Operation: 29+71=100 Exploring Operation: 80+29=109, Resulting Numbers: [71, 109] Generated Node #0,4,1: 59:[71, 109] Operation: 80+29=109 Exploring Operation: 71-29=42, Resulting Numbers: [80, 42] Generated Node #0,4,2: 59:[80, 42] Operation: 71-29=42 Exploring Operation: 80-71=9, Resulting Numbers: [29, 9] Generated Node #0,4,3: 59:[29, 9] Operation: 80-71=9 Exploring Operation: 80-29=51, Resulting Numbers: [71, 51] Generated Node #0,4,4: 59:[71, 51] Operation: 80-29=51 Moving to Node #0,4,4 Current State: 59:[71, 51], Operations: ['76-5=71', '80-29=51'] Exploring Operation: 71+51=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 71*51=3621, Resulting Numbers: [3621] 3621,59 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[80, 42], Operations: ['76-5=71', '71-29=42'] Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[80, 100], Operations: ['76-5=71', '29+71=100'] Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,59 unequal: No Solution Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[71, 109], Operations: ['76-5=71', '80+29=109'] Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 71*109=7739, Resulting Numbers: [7739] 7739,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[29, 9], Operations: ['76-5=71', '80-71=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,59 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,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 Current State: 59:[29, 76, 85], Operations: ['80+5=85'] Exploring Operation: 85-29=56, Resulting Numbers: [76, 56] Generated Node #0,2,0: 59:[76, 56] Operation: 85-29=56 Exploring Operation: 76-29=47, Resulting Numbers: [85, 47] Generated Node #0,2,1: 59:[85, 47] Operation: 76-29=47 Exploring Operation: 29+76=105, Resulting Numbers: [85, 105] Generated Node #0,2,2: 59:[85, 105] Operation: 29+76=105 Exploring Operation: 29+85=114, Resulting Numbers: [76, 114] Generated Node #0,2,3: 59:[76, 114] Operation: 29+85=114 Exploring Operation: 85-76=9, Resulting Numbers: [29, 9] Generated Node #0,2,4: 59:[29, 9] Operation: 85-76=9 Moving to Node #0,2,0 Current State: 59:[76, 56], Operations: ['80+5=85', '85-29=56'] Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,59 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[85, 47], Operations: ['80+5=85', '76-29=47'] Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,59 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[85, 105], Operations: ['80+5=85', '29+76=105'] Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 85+105=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 85*105=8925, Resulting Numbers: [8925] 8925,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[76, 114], Operations: ['80+5=85', '29+85=114'] Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,59 unequal: No Solution Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[29, 9], Operations: ['80+5=85', '85-76=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,59 unequal: No Solution Exploring Operation: 29-9=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,3 Current State: 59:[80, 76, 24], Operations: ['29-5=24'] Exploring Operation: 76-24=52, Resulting Numbers: [80, 52] Generated Node #0,3,0: 59:[80, 52] Operation: 76-24=52 Exploring Operation: 80-76=4, Resulting Numbers: [24, 4] Generated Node #0,3,1: 59:[24, 4] Operation: 80-76=4 Exploring Operation: 80-24=56, Resulting Numbers: [76, 56] Generated Node #0,3,2: 59:[76, 56] Operation: 80-24=56 Exploring Operation: 80+24=104, Resulting Numbers: [76, 104] Generated Node #0,3,3: 59:[76, 104] Operation: 80+24=104 Exploring Operation: 76+24=100, Resulting Numbers: [80, 100] Generated Node #0,3,4: 59:[80, 100] Operation: 76+24=100 Moving to Node #0,3,2 Current State: 59:[76, 56], Operations: ['29-5=24', '80-24=56'] Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[80, 52], Operations: ['29-5=24', '76-24=52'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 80+52=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 80*52=4160, Resulting Numbers: [4160] 4160,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[76, 104], Operations: ['29-5=24', '80+24=104'] Exploring Operation: 76+104=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 76*104=7904, Resulting Numbers: [7904] 7904,59 unequal: No Solution Exploring Operation: 104-76=28, Resulting Numbers: [28] 28,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[80, 100], Operations: ['29-5=24', '76+24=100'] Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,59 unequal: No Solution Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[24, 4], Operations: ['29-5=24', '80-76=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 49, 98, 65, 33 ]
49
[ "49+98=147", "65+33=98", "147-98=49" ]
Current State: 49:[49, 98, 65, 33], Operations: [] Exploring Operation: 49+98=147, Resulting Numbers: [65, 33, 147] Generated Node #2: [65, 33, 147] from Operation: 49+98=147 Current State: 49:[65, 33, 147], Operations: ['49+98=147'] Exploring Operation: 65+33=98, Resulting Numbers: [147, 98] Generated Node #3: [147, 98] from Operation: 65+33=98 Current State: 49:[147, 98], Operations: ['49+98=147', '65+33=98'] Exploring Operation: 147-98=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[49, 98, 65, 33], Operations: [] Exploring Operation: 98-33=65, Resulting Numbers: [49, 65, 65] Generated Node #0,0: 49:[49, 65, 65] Operation: 98-33=65 Exploring Operation: 98-65=33, Resulting Numbers: [49, 33, 33] Generated Node #0,1: 49:[49, 33, 33] Operation: 98-65=33 Exploring Operation: 98-49=49, Resulting Numbers: [65, 33, 49] Generated Node #0,2: 49:[65, 33, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [65, 33, 2] Generated Node #0,3: 49:[65, 33, 2] Operation: 98/49=2 Exploring Operation: 65-33=32, Resulting Numbers: [49, 98, 32] Generated Node #0,4: 49:[49, 98, 32] Operation: 65-33=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[49, 65, 65], Operations: ['98-33=65'] Exploring Operation: 49+65=114, Resulting Numbers: [65, 114] Generated Node #0,0,0: 49:[65, 114] Operation: 49+65=114 Exploring Operation: 65-49=16, Resulting Numbers: [65, 16] Generated Node #0,0,1: 49:[65, 16] Operation: 65-49=16 Exploring Operation: 65-65=0, Resulting Numbers: [49, 0] Generated Node #0,0,2: 49:[49, 0] Operation: 65-65=0 Exploring Operation: 65/65=1, Resulting Numbers: [49, 1] Generated Node #0,0,3: 49:[49, 1] Operation: 65/65=1 Exploring Operation: 65-49=16, Resulting Numbers: [65, 16] Generated Node #0,0,4: 49:[65, 16] Operation: 65-49=16 Moving to Node #0,0,3 Current State: 49:[49, 1], Operations: ['98-33=65', '65/65=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[49, 98, 65, 33], Operations: [] Exploring Operation: 98-33=65, Resulting Numbers: [49, 65, 65] Generated Node #0,0: 49:[49, 65, 65] Operation: 98-33=65 Moving to Node #0,0 Current State: 49:[49, 65, 65], Operations: ['98-33=65'] Exploring Operation: 65/65=1, Resulting Numbers: [49, 1] Generated Node #0,0,3: 49:[49, 1] Operation: 65/65=1 Moving to Node #0,0,3 Current State: 49:[49, 1], Operations: ['98-33=65', '65/65=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 16, 97, 57, 74 ]
48
[ "97+74=171", "16*171=2736", "2736/57=48" ]
Current State: 48:[16, 97, 57, 74], Operations: [] Exploring Operation: 97+74=171, Resulting Numbers: [16, 57, 171] Generated Node #2: [16, 57, 171] from Operation: 97+74=171 Current State: 48:[16, 57, 171], Operations: ['97+74=171'] Exploring Operation: 16*171=2736, Resulting Numbers: [57, 2736] Generated Node #3: [57, 2736] from Operation: 16*171=2736 Current State: 48:[57, 2736], Operations: ['97+74=171', '16*171=2736'] Exploring Operation: 2736/57=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[16, 97, 57, 74], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [16, 97, 17] Generated Node #0,0: 48:[16, 97, 17] Operation: 74-57=17 Exploring Operation: 97-57=40, Resulting Numbers: [16, 74, 40] Generated Node #0,1: 48:[16, 74, 40] Operation: 97-57=40 Exploring Operation: 97-16=81, Resulting Numbers: [57, 74, 81] Generated Node #0,2: 48:[57, 74, 81] Operation: 97-16=81 Exploring Operation: 97-74=23, Resulting Numbers: [16, 57, 23] Generated Node #0,3: 48:[16, 57, 23] Operation: 97-74=23 Moving to Node #0,3 Current State: 48:[16, 57, 23], Operations: ['97-74=23'] Exploring Operation: 57-16=41, Resulting Numbers: [23, 41] Generated Node #0,3,0: 48:[23, 41] Operation: 57-16=41 Exploring Operation: 16+23=39, Resulting Numbers: [57, 39] Generated Node #0,3,1: 48:[57, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [57, 7] Generated Node #0,3,2: 48:[57, 7] Operation: 23-16=7 Exploring Operation: 57-23=34, Resulting Numbers: [16, 34] Generated Node #0,3,3: 48:[16, 34] Operation: 57-23=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[23, 41], Operations: ['97-74=23', '57-16=41'] Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,48 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[57, 7], Operations: ['97-74=23', '23-16=7'] Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,48 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[16, 34], Operations: ['97-74=23', '57-23=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[57, 39], Operations: ['97-74=23', '16+23=39'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,48 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,48 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: 48:[16, 74, 40], Operations: ['97-57=40'] Exploring Operation: 74-40=34, Resulting Numbers: [16, 34] Generated Node #0,1,0: 48:[16, 34] Operation: 74-40=34 Exploring Operation: 40-16=24, Resulting Numbers: [74, 24] Generated Node #0,1,1: 48:[74, 24] Operation: 40-16=24 Exploring Operation: 74-16=58, Resulting Numbers: [40, 58] Generated Node #0,1,2: 48:[40, 58] Operation: 74-16=58 Exploring Operation: 16+40=56, Resulting Numbers: [74, 56] Generated Node #0,1,3: 48:[74, 56] Operation: 16+40=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[16, 34], Operations: ['97-57=40', '74-40=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[40, 58], Operations: ['97-57=40', '74-16=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[74, 24], Operations: ['97-57=40', '40-16=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,48 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[74, 56], Operations: ['97-57=40', '16+40=56'] Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,48 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,48 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: 48:[16, 97, 17], Operations: ['74-57=17'] Exploring Operation: 16+17=33, Resulting Numbers: [97, 33] Generated Node #0,0,0: 48:[97, 33] Operation: 16+17=33 Exploring Operation: 97-17=80, Resulting Numbers: [16, 80] Generated Node #0,0,1: 48:[16, 80] Operation: 97-17=80 Exploring Operation: 97-16=81, Resulting Numbers: [17, 81] Generated Node #0,0,2: 48:[17, 81] Operation: 97-16=81 Exploring Operation: 17-16=1, Resulting Numbers: [97, 1] Generated Node #0,0,3: 48:[97, 1] Operation: 17-16=1 Moving to Node #0,2 Current State: 48:[57, 74, 81], Operations: ['97-16=81'] Exploring Operation: 57+74=131, Resulting Numbers: [81, 131] Generated Node #0,2,0: 48:[81, 131] Operation: 57+74=131 Exploring Operation: 74-57=17, Resulting Numbers: [81, 17] Generated Node #0,2,1: 48:[81, 17] Operation: 74-57=17 Exploring Operation: 81-57=24, Resulting Numbers: [74, 24] Generated Node #0,2,2: 48:[74, 24] Operation: 81-57=24 Exploring Operation: 81-74=7, Resulting Numbers: [57, 7] Generated Node #0,2,3: 48:[57, 7] Operation: 81-74=7 Moving to Node #0,2,3 Current State: 48:[57, 7], Operations: ['97-16=81', '81-74=7'] Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,48 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[74, 24], Operations: ['97-16=81', '81-57=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,48 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[16, 80], Operations: ['74-57=17', '97-17=80'] Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,48 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 16*80=1280, Resulting Numbers: [1280] 1280,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[81, 17], Operations: ['97-16=81', '74-57=17'] Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[17, 81], Operations: ['74-57=17', '97-16=81'] Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,48 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[97, 1], Operations: ['74-57=17', '17-16=1'] Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,48 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[97, 33], Operations: ['74-57=17', '16+17=33'] Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 97*33=3201, Resulting Numbers: [3201] 3201,48 unequal: No Solution Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[81, 131], Operations: ['97-16=81', '57+74=131'] Exploring Operation: 81*131=10611, Resulting Numbers: [10611] 10611,48 unequal: No Solution Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 81+131=212, Resulting Numbers: [212] 212,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 86, 38, 16, 29 ]
26
[ "86-38=48", "48/16=3", "29-3=26" ]
Current State: 26:[86, 38, 16, 29], Operations: [] Exploring Operation: 86-38=48, Resulting Numbers: [16, 29, 48] Generated Node #2: [16, 29, 48] from Operation: 86-38=48 Current State: 26:[16, 29, 48], Operations: ['86-38=48'] Exploring Operation: 48/16=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 48/16=3 Current State: 26:[29, 3], Operations: ['86-38=48', '48/16=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[86, 38, 16, 29], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [38, 16, 57] Generated Node #0,0: 26:[38, 16, 57] Operation: 86-29=57 Exploring Operation: 38-29=9, Resulting Numbers: [86, 16, 9] Generated Node #0,1: 26:[86, 16, 9] Operation: 38-29=9 Exploring Operation: 86-38=48, Resulting Numbers: [16, 29, 48] Generated Node #0,2: 26:[16, 29, 48] Operation: 86-38=48 Exploring Operation: 38-16=22, Resulting Numbers: [86, 29, 22] Generated Node #0,3: 26:[86, 29, 22] Operation: 38-16=22 Exploring Operation: 86-16=70, Resulting Numbers: [38, 29, 70] Generated Node #0,4: 26:[38, 29, 70] Operation: 86-16=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[16, 29, 48], Operations: ['86-38=48'] Exploring Operation: 48-29=19, Resulting Numbers: [16, 19] Generated Node #0,2,0: 26:[16, 19] Operation: 48-29=19 Exploring Operation: 16+29=45, Resulting Numbers: [48, 45] Generated Node #0,2,1: 26:[48, 45] Operation: 16+29=45 Exploring Operation: 48-16=32, Resulting Numbers: [29, 32] Generated Node #0,2,2: 26:[29, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [29, 3] Generated Node #0,2,3: 26:[29, 3] Operation: 48/16=3 Exploring Operation: 29-16=13, Resulting Numbers: [48, 13] Generated Node #0,2,4: 26:[48, 13] Operation: 29-16=13 Moving to Node #0,2,3 Current State: 26:[29, 3], Operations: ['86-38=48', '48/16=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[86, 38, 16, 29], Operations: [] Exploring Operation: 86-38=48, Resulting Numbers: [16, 29, 48] Generated Node #0,2: 26:[16, 29, 48] Operation: 86-38=48 Moving to Node #0,2 Current State: 26:[16, 29, 48], Operations: ['86-38=48'] Exploring Operation: 48/16=3, Resulting Numbers: [29, 3] Generated Node #0,2,3: 26:[29, 3] Operation: 48/16=3 Moving to Node #0,2,3 Current State: 26:[29, 3], Operations: ['86-38=48', '48/16=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 4, 21, 92, 86 ]
45
[ "92-86=6", "4*6=24", "21+24=45" ]
Current State: 45:[4, 21, 92, 86], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [4, 21, 6] Generated Node #2: [4, 21, 6] from Operation: 92-86=6 Current State: 45:[4, 21, 6], Operations: ['92-86=6'] Exploring Operation: 4*6=24, Resulting Numbers: [21, 24] Generated Node #3: [21, 24] from Operation: 4*6=24 Current State: 45:[21, 24], Operations: ['92-86=6', '4*6=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[4, 21, 92, 86], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [21, 86, 23] Generated Node #0,0: 45:[21, 86, 23] Operation: 92/4=23 Exploring Operation: 92-86=6, Resulting Numbers: [4, 21, 6] Generated Node #0,1: 45:[4, 21, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[4, 21, 6], Operations: ['92-86=6'] Exploring Operation: 21-4=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 45:[6, 17] Operation: 21-4=17 Exploring Operation: 21-6=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 45:[4, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[4, 15], Operations: ['92-86=6', '21-6=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[6, 17], Operations: ['92-86=6', '21-4=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,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,0 Current State: 45:[21, 86, 23], Operations: ['92/4=23'] Exploring Operation: 86-23=63, Resulting Numbers: [21, 63] Generated Node #0,0,0: 45:[21, 63] Operation: 86-23=63 Exploring Operation: 86-21=65, Resulting Numbers: [23, 65] Generated Node #0,0,1: 45:[23, 65] Operation: 86-21=65 Moving to Node #0,0,0 Current State: 45:[21, 63], Operations: ['92/4=23', '86-23=63'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[23, 65], Operations: ['92/4=23', '86-21=65'] Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 23, 5, 26, 94 ]
59
[ "94-23=71", "5*26=130", "130-71=59" ]
Current State: 59:[23, 5, 26, 94], Operations: [] Exploring Operation: 94-23=71, Resulting Numbers: [5, 26, 71] Generated Node #2: [5, 26, 71] from Operation: 94-23=71 Current State: 59:[5, 26, 71], Operations: ['94-23=71'] Exploring Operation: 5*26=130, Resulting Numbers: [71, 130] Generated Node #3: [71, 130] from Operation: 5*26=130 Current State: 59:[71, 130], Operations: ['94-23=71', '5*26=130'] Exploring Operation: 130-71=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[23, 5, 26, 94], Operations: [] Exploring Operation: 23+5=28, Resulting Numbers: [26, 94, 28] Generated Node #0,0: 59:[26, 94, 28] Operation: 23+5=28 Moving to Node #0,0 Current State: 59:[26, 94, 28], Operations: ['23+5=28'] Exploring Operation: 94-26=68, Resulting Numbers: [28, 68] Generated Node #0,0,0: 59:[28, 68] Operation: 94-26=68 Moving to Node #0,0,0 Current State: 59:[28, 68], Operations: ['23+5=28', '94-26=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,59 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 88, 47, 3, 39 ]
54
[ "88-47=41", "39/3=13", "41+13=54" ]
Current State: 54:[88, 47, 3, 39], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [3, 39, 41] Generated Node #2: [3, 39, 41] from Operation: 88-47=41 Current State: 54:[3, 39, 41], Operations: ['88-47=41'] Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #3: [41, 13] from Operation: 39/3=13 Current State: 54:[41, 13], Operations: ['88-47=41', '39/3=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[88, 47, 3, 39], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [88, 47, 13] Generated Node #0,0: 54:[88, 47, 13] Operation: 39/3=13 Exploring Operation: 47-39=8, Resulting Numbers: [88, 3, 8] Generated Node #0,1: 54:[88, 3, 8] Operation: 47-39=8 Exploring Operation: 88-47=41, Resulting Numbers: [3, 39, 41] Generated Node #0,2: 54:[3, 39, 41] Operation: 88-47=41 Exploring Operation: 88-39=49, Resulting Numbers: [47, 3, 49] Generated Node #0,3: 54:[47, 3, 49] Operation: 88-39=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[47, 3, 49], Operations: ['88-39=49'] Exploring Operation: 49-47=2, Resulting Numbers: [3, 2] Generated Node #0,3,0: 54:[3, 2] Operation: 49-47=2 Exploring Operation: 47-3=44, Resulting Numbers: [49, 44] Generated Node #0,3,1: 54:[49, 44] Operation: 47-3=44 Exploring Operation: 47+3=50, Resulting Numbers: [49, 50] Generated Node #0,3,2: 54:[49, 50] Operation: 47+3=50 Exploring Operation: 3+49=52, Resulting Numbers: [47, 52] Generated Node #0,3,3: 54:[47, 52] Operation: 3+49=52 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[3, 2], Operations: ['88-39=49', '49-47=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[49, 50], Operations: ['88-39=49', '47+3=50'] Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,54 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[47, 52], Operations: ['88-39=49', '3+49=52'] Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,54 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[49, 44], Operations: ['88-39=49', '47-3=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[3, 39, 41], Operations: ['88-47=41'] Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #0,2,0: 54:[41, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [41, 36] Generated Node #0,2,1: 54:[41, 36] Operation: 39-3=36 Exploring Operation: 3+41=44, Resulting Numbers: [39, 44] Generated Node #0,2,2: 54:[39, 44] Operation: 3+41=44 Exploring Operation: 41-39=2, Resulting Numbers: [3, 2] Generated Node #0,2,3: 54:[3, 2] Operation: 41-39=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[3, 2], Operations: ['88-47=41', '41-39=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[41, 13], Operations: ['88-47=41', '39/3=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,54 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[88, 47, 3, 39], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [3, 39, 41] Generated Node #0,2: 54:[3, 39, 41] Operation: 88-47=41 Moving to Node #0,2 Current State: 54:[3, 39, 41], Operations: ['88-47=41'] Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #0,2,0: 54:[41, 13] Operation: 39/3=13 Moving to Node #0,2,0 Current State: 54:[41, 13], Operations: ['88-47=41', '39/3=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 69, 68, 60, 59 ]
80
[ "69-59=10", "68-60=8", "10*8=80" ]
Current State: 80:[69, 68, 60, 59], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [68, 60, 10] Generated Node #2: [68, 60, 10] from Operation: 69-59=10 Current State: 80:[68, 60, 10], Operations: ['69-59=10'] Exploring Operation: 68-60=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 68-60=8 Current State: 80:[10, 8], Operations: ['69-59=10', '68-60=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[69, 68, 60, 59], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [69, 59, 8] Generated Node #0,0: 80:[69, 59, 8] Operation: 68-60=8 Exploring Operation: 69-60=9, Resulting Numbers: [68, 59, 9] Generated Node #0,1: 80:[68, 59, 9] Operation: 69-60=9 Exploring Operation: 69-59=10, Resulting Numbers: [68, 60, 10] Generated Node #0,2: 80:[68, 60, 10] Operation: 69-59=10 Exploring Operation: 60-59=1, Resulting Numbers: [69, 68, 1] Generated Node #0,3: 80:[69, 68, 1] Operation: 60-59=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[69, 68, 1], Operations: ['60-59=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69, 69] Generated Node #0,3,0: 80:[69, 69] Operation: 68+1=69 Exploring Operation: 69-68=1, Resulting Numbers: [1, 1] Generated Node #0,3,1: 80:[1, 1] Operation: 69-68=1 Exploring Operation: 69*1=69, Resulting Numbers: [68, 69] Generated Node #0,3,2: 80:[68, 69] Operation: 69*1=69 Exploring Operation: 69+1=70, Resulting Numbers: [68, 70] Generated Node #0,3,3: 80:[68, 70] Operation: 69+1=70 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[1, 1], Operations: ['60-59=1', '69-68=1'] Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,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,3,0 Current State: 80:[69, 69], Operations: ['60-59=1', '68+1=69'] Exploring Operation: 69-69=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 69+69=138, Resulting Numbers: [138] 138,80 unequal: No Solution Exploring Operation: 69/69=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 69*69=4761, Resulting Numbers: [4761] 4761,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,3,3 Current State: 80:[68, 70], Operations: ['60-59=1', '69+1=70'] Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,80 unequal: No Solution Exploring Operation: 68*70=4760, Resulting Numbers: [4760] 4760,80 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,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,3,2 Current State: 80:[68, 69], Operations: ['60-59=1', '69*1=69'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 68*69=4692, Resulting Numbers: [4692] 4692,80 unequal: No Solution Exploring Operation: 68+69=137, Resulting Numbers: [137] 137,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:[69, 59, 8], Operations: ['68-60=8'] Exploring Operation: 59+8=67, Resulting Numbers: [69, 67] Generated Node #0,0,0: 80:[69, 67] Operation: 59+8=67 Exploring Operation: 69+8=77, Resulting Numbers: [59, 77] Generated Node #0,0,1: 80:[59, 77] Operation: 69+8=77 Exploring Operation: 69-59=10, Resulting Numbers: [8, 10] Generated Node #0,0,2: 80:[8, 10] Operation: 69-59=10 Exploring Operation: 59-8=51, Resulting Numbers: [69, 51] Generated Node #0,0,3: 80:[69, 51] Operation: 59-8=51 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[8, 10], Operations: ['68-60=8', '69-59=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[69, 68, 60, 59], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [69, 59, 8] Generated Node #0,0: 80:[69, 59, 8] Operation: 68-60=8 Moving to Node #0,0 Current State: 80:[69, 59, 8], Operations: ['68-60=8'] Exploring Operation: 69-59=10, Resulting Numbers: [8, 10] Generated Node #0,0,2: 80:[8, 10] Operation: 69-59=10 Moving to Node #0,0,2 Current State: 80:[8, 10], Operations: ['68-60=8', '69-59=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 28, 14, 11, 98 ]
14
[ "14-11=3", "28*3=84", "98-84=14" ]
Current State: 14:[28, 14, 11, 98], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [28, 98, 3] Generated Node #2: [28, 98, 3] from Operation: 14-11=3 Current State: 14:[28, 98, 3], Operations: ['14-11=3'] Exploring Operation: 28*3=84, Resulting Numbers: [98, 84] Generated Node #3: [98, 84] from Operation: 28*3=84 Current State: 14:[98, 84], Operations: ['14-11=3', '28*3=84'] Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[28, 14, 11, 98], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [11, 98, 2] Generated Node #0,0: 14:[11, 98, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [11, 98, 14] Generated Node #0,1: 14:[11, 98, 14] Operation: 28-14=14 Exploring Operation: 98/14=7, Resulting Numbers: [28, 11, 7] Generated Node #0,2: 14:[28, 11, 7] Operation: 98/14=7 Exploring Operation: 98-28=70, Resulting Numbers: [14, 11, 70] Generated Node #0,3: 14:[14, 11, 70] Operation: 98-28=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[28, 11, 7], Operations: ['98/14=7'] Exploring Operation: 28/7=4, Resulting Numbers: [11, 4] Generated Node #0,2,0: 14:[11, 4] Operation: 28/7=4 Exploring Operation: 11-7=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 14:[28, 4] Operation: 11-7=4 Exploring Operation: 28-11=17, Resulting Numbers: [7, 17] Generated Node #0,2,2: 14:[7, 17] Operation: 28-11=17 Exploring Operation: 28-7=21, Resulting Numbers: [11, 21] Generated Node #0,2,3: 14:[11, 21] Operation: 28-7=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[7, 17], Operations: ['98/14=7', '28-11=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,14 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[11, 4], Operations: ['98/14=7', '28/7=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 14:[11, 21], Operations: ['98/14=7', '28-7=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,14 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[28, 4], Operations: ['98/14=7', '11-7=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[14, 11, 70], Operations: ['98-28=70'] Exploring Operation: 70-11=59, Resulting Numbers: [14, 59] Generated Node #0,3,0: 14:[14, 59] Operation: 70-11=59 Exploring Operation: 70-14=56, Resulting Numbers: [11, 56] Generated Node #0,3,1: 14:[11, 56] Operation: 70-14=56 Exploring Operation: 14-11=3, Resulting Numbers: [70, 3] Generated Node #0,3,2: 14:[70, 3] Operation: 14-11=3 Exploring Operation: 70/14=5, Resulting Numbers: [11, 5] Generated Node #0,3,3: 14:[11, 5] Operation: 70/14=5 Moving to Node #0,3,3 Current State: 14:[11, 5], Operations: ['98-28=70', '70/14=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[11, 56], Operations: ['98-28=70', '70-14=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[14, 59], Operations: ['98-28=70', '70-11=59'] Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,14 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[70, 3], Operations: ['98-28=70', '14-11=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[11, 98, 2], Operations: ['28/14=2'] Exploring Operation: 98/2=49, Resulting Numbers: [11, 49] Generated Node #0,0,0: 14:[11, 49] Operation: 98/2=49 Exploring Operation: 98-11=87, Resulting Numbers: [2, 87] Generated Node #0,0,1: 14:[2, 87] Operation: 98-11=87 Exploring Operation: 98-2=96, Resulting Numbers: [11, 96] Generated Node #0,0,2: 14:[11, 96] Operation: 98-2=96 Exploring Operation: 11+2=13, Resulting Numbers: [98, 13] Generated Node #0,0,3: 14:[98, 13] Operation: 11+2=13 Moving to Node #0,0,0 Current State: 14:[11, 49], Operations: ['28/14=2', '98/2=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[2, 87], Operations: ['28/14=2', '98-11=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,14 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[98, 13], Operations: ['28/14=2', '11+2=13'] Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,14 unequal: No Solution Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[11, 96], Operations: ['28/14=2', '98-2=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,14 unequal: No Solution Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[11, 98, 14], Operations: ['28-14=14'] Exploring Operation: 98/14=7, Resulting Numbers: [11, 7] Generated Node #0,1,0: 14:[11, 7] Operation: 98/14=7 Exploring Operation: 14-11=3, Resulting Numbers: [98, 3] Generated Node #0,1,1: 14:[98, 3] Operation: 14-11=3 Exploring Operation: 98-14=84, Resulting Numbers: [11, 84] Generated Node #0,1,2: 14:[11, 84] Operation: 98-14=84 Exploring Operation: 98-11=87, Resulting Numbers: [14, 87] Generated Node #0,1,3: 14:[14, 87] Operation: 98-11=87 Moving to Node #0,1,0 Current State: 14:[11, 7], Operations: ['28-14=14', '98/14=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[14, 87], Operations: ['28-14=14', '98-11=87'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 14+87=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 14*87=1218, Resulting Numbers: [1218] 1218,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[11, 84], Operations: ['28-14=14', '98-14=84'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 11+84=95, Resulting Numbers: [95] 95,14 unequal: No Solution Exploring Operation: 11*84=924, Resulting Numbers: [924] 924,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[98, 3], Operations: ['28-14=14', '14-11=3'] Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,14 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 68, 11, 60, 78 ]
75
[ "68-11=57", "78-60=18", "57+18=75" ]
Current State: 75:[68, 11, 60, 78], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [60, 78, 57] Generated Node #2: [60, 78, 57] from Operation: 68-11=57 Current State: 75:[60, 78, 57], Operations: ['68-11=57'] Exploring Operation: 78-60=18, Resulting Numbers: [57, 18] Generated Node #3: [57, 18] from Operation: 78-60=18 Current State: 75:[57, 18], Operations: ['68-11=57', '78-60=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[68, 11, 60, 78], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [11, 78, 8] Generated Node #0,0: 75:[11, 78, 8] Operation: 68-60=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[11, 78, 8], Operations: ['68-60=8'] Exploring Operation: 11-8=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['68-60=8', '11-8=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[68, 11, 60, 78], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [11, 78, 8] Generated Node #0,0: 75:[11, 78, 8] Operation: 68-60=8 Moving to Node #0,0 Current State: 75:[11, 78, 8], Operations: ['68-60=8'] Exploring Operation: 11-8=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['68-60=8', '11-8=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 9, 85, 41, 72 ]
37
[ "85-9=76", "41+72=113", "113-76=37" ]
Current State: 37:[9, 85, 41, 72], Operations: [] Exploring Operation: 85-9=76, Resulting Numbers: [41, 72, 76] Generated Node #2: [41, 72, 76] from Operation: 85-9=76 Current State: 37:[41, 72, 76], Operations: ['85-9=76'] Exploring Operation: 41+72=113, Resulting Numbers: [76, 113] Generated Node #3: [76, 113] from Operation: 41+72=113 Current State: 37:[76, 113], Operations: ['85-9=76', '41+72=113'] Exploring Operation: 113-76=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[9, 85, 41, 72], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [85, 41, 63] Generated Node #0,0: 37:[85, 41, 63] Operation: 72-9=63 Exploring Operation: 85-41=44, Resulting Numbers: [9, 72, 44] Generated Node #0,1: 37:[9, 72, 44] Operation: 85-41=44 Exploring Operation: 85-9=76, Resulting Numbers: [41, 72, 76] Generated Node #0,2: 37:[41, 72, 76] Operation: 85-9=76 Exploring Operation: 85-72=13, Resulting Numbers: [9, 41, 13] Generated Node #0,3: 37:[9, 41, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[9, 41, 13], Operations: ['85-72=13'] Exploring Operation: 9+13=22, Resulting Numbers: [41, 22] Generated Node #0,3,0: 37:[41, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [41, 4] Generated Node #0,3,1: 37:[41, 4] Operation: 13-9=4 Exploring Operation: 9+41=50, Resulting Numbers: [13, 50] Generated Node #0,3,2: 37:[13, 50] Operation: 9+41=50 Exploring Operation: 41-9=32, Resulting Numbers: [13, 32] Generated Node #0,3,3: 37:[13, 32] Operation: 41-9=32 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[41, 22], Operations: ['85-72=13', '9+13=22'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,37 unequal: No Solution Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,37 unequal: No Solution No 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: 37:[13, 32], Operations: ['85-72=13', '41-9=32'] Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,37 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,37 unequal: No Solution No 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: 37:[41, 4], Operations: ['85-72=13', '13-9=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[9, 85, 41, 72], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [9, 41, 13] Generated Node #0,3: 37:[9, 41, 13] Operation: 85-72=13 Moving to Node #0,3 Current State: 37:[9, 41, 13], Operations: ['85-72=13'] Exploring Operation: 13-9=4, Resulting Numbers: [41, 4] Generated Node #0,3,1: 37:[41, 4] Operation: 13-9=4 Moving to Node #0,3,1 Current State: 37:[41, 4], Operations: ['85-72=13', '13-9=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 12, 90, 96, 12 ]
70
[ "90-12=78", "96/12=8", "78-8=70" ]
Current State: 70:[12, 90, 96, 12], Operations: [] Exploring Operation: 90-12=78, Resulting Numbers: [96, 78] Generated Node #2: [96, 78] from Operation: 90-12=78 Current State: 70:[96, 78], Operations: ['90-12=78'] Exploring Operation: 96/12=8, Resulting Numbers: [78, 8] Generated Node #3: [78, 8] from Operation: 96/12=8 Current State: 70:[78, 8], Operations: ['90-12=78', '96/12=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[12, 90, 96, 12], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [12, 12, 6] Generated Node #0,0: 70:[12, 12, 6] Operation: 96-90=6 Moving to Node #0,0 Current State: 70:[12, 12, 6], Operations: ['96-90=6'] Exploring Operation: 12/12=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 70:[6, 1] Operation: 12/12=1 Moving to Node #0,0,0 Current State: 70:[6, 1], Operations: ['96-90=6', '12/12=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 81, 10, 31, 82 ]
41
[ "82-81=1", "10+31=41", "1*41=41" ]
Current State: 41:[81, 10, 31, 82], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [10, 31, 1] Generated Node #2: [10, 31, 1] from Operation: 82-81=1 Current State: 41:[10, 31, 1], Operations: ['82-81=1'] Exploring Operation: 10+31=41, Resulting Numbers: [1, 41] Generated Node #3: [1, 41] from Operation: 10+31=41 Current State: 41:[1, 41], Operations: ['82-81=1', '10+31=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[81, 10, 31, 82], Operations: [] Exploring Operation: 81-10=71, Resulting Numbers: [31, 82, 71] Generated Node #0,0: 41:[31, 82, 71] Operation: 81-10=71 Moving to Node #0,0 Current State: 41:[31, 82, 71], Operations: ['81-10=71'] Exploring Operation: 82-31=51, Resulting Numbers: [71, 51] Generated Node #0,0,0: 41:[71, 51] Operation: 82-31=51 Moving to Node #0,0,0 Current State: 41:[71, 51], Operations: ['81-10=71', '82-31=51'] Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,41 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 25, 28, 84 ]
46
[ "18+25=43", "84/28=3", "43+3=46" ]
Current State: 46:[18, 25, 28, 84], Operations: [] Exploring Operation: 18+25=43, Resulting Numbers: [28, 84, 43] Generated Node #2: [28, 84, 43] from Operation: 18+25=43 Current State: 46:[28, 84, 43], Operations: ['18+25=43'] Exploring Operation: 84/28=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 84/28=3 Current State: 46:[43, 3], Operations: ['18+25=43', '84/28=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 25, 28, 84], Operations: [] Exploring Operation: 18+28=46, Resulting Numbers: [25, 84, 46] Generated Node #0,0: 46:[25, 84, 46] Operation: 18+28=46 Exploring Operation: 84-25=59, Resulting Numbers: [18, 28, 59] Generated Node #0,1: 46:[18, 28, 59] Operation: 84-25=59 Exploring Operation: 84-28=56, Resulting Numbers: [18, 25, 56] Generated Node #0,2: 46:[18, 25, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [18, 25, 3] Generated Node #0,3: 46:[18, 25, 3] Operation: 84/28=3 Exploring Operation: 84-18=66, Resulting Numbers: [25, 28, 66] Generated Node #0,4: 46:[25, 28, 66] Operation: 84-18=66 Moving to Node #0,3 Current State: 46:[18, 25, 3], Operations: ['84/28=3'] Exploring Operation: 18+25=43, Resulting Numbers: [3, 43] Generated Node #0,3,0: 46:[3, 43] Operation: 18+25=43 Exploring Operation: 18/3=6, Resulting Numbers: [25, 6] Generated Node #0,3,1: 46:[25, 6] Operation: 18/3=6 Exploring Operation: 18+3=21, Resulting Numbers: [25, 21] Generated Node #0,3,2: 46:[25, 21] Operation: 18+3=21 Exploring Operation: 25-18=7, Resulting Numbers: [3, 7] Generated Node #0,3,3: 46:[3, 7] Operation: 25-18=7 Exploring Operation: 25-3=22, Resulting Numbers: [18, 22] Generated Node #0,3,4: 46:[18, 22] Operation: 25-3=22 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[3, 43], Operations: ['84/28=3', '18+25=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[18, 25, 28, 84], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [18, 25, 3] Generated Node #0,3: 46:[18, 25, 3] Operation: 84/28=3 Moving to Node #0,3 Current State: 46:[18, 25, 3], Operations: ['84/28=3'] Exploring Operation: 18+25=43, Resulting Numbers: [3, 43] Generated Node #0,3,0: 46:[3, 43] Operation: 18+25=43 Moving to Node #0,3,0 Current State: 46:[3, 43], Operations: ['84/28=3', '18+25=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 86, 73, 30, 21 ]
23
[ "73-30=43", "86/43=2", "21+2=23" ]
Current State: 23:[86, 73, 30, 21], Operations: [] Exploring Operation: 73-30=43, Resulting Numbers: [86, 21, 43] Generated Node #2: [86, 21, 43] from Operation: 73-30=43 Current State: 23:[86, 21, 43], Operations: ['73-30=43'] Exploring Operation: 86/43=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 86/43=2 Current State: 23:[21, 2], Operations: ['73-30=43', '86/43=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[86, 73, 30, 21], Operations: [] Exploring Operation: 86-21=65, Resulting Numbers: [73, 30, 65] Generated Node #0,0: 23:[73, 30, 65] Operation: 86-21=65 Exploring Operation: 73-30=43, Resulting Numbers: [86, 21, 43] Generated Node #0,1: 23:[86, 21, 43] Operation: 73-30=43 Exploring Operation: 86-73=13, Resulting Numbers: [30, 21, 13] Generated Node #0,2: 23:[30, 21, 13] Operation: 86-73=13 Exploring Operation: 86-30=56, Resulting Numbers: [73, 21, 56] Generated Node #0,3: 23:[73, 21, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[30, 21, 13], Operations: ['86-73=13'] Exploring Operation: 21-13=8, Resulting Numbers: [30, 8] Generated Node #0,2,0: 23:[30, 8] Operation: 21-13=8 Exploring Operation: 30+13=43, Resulting Numbers: [21, 43] Generated Node #0,2,1: 23:[21, 43] Operation: 30+13=43 Exploring Operation: 21+13=34, Resulting Numbers: [30, 34] Generated Node #0,2,2: 23:[30, 34] Operation: 21+13=34 Exploring Operation: 30-13=17, Resulting Numbers: [21, 17] Generated Node #0,2,3: 23:[21, 17] Operation: 30-13=17 Moving to Node #0,2,3 Current State: 23:[21, 17], Operations: ['86-73=13', '30-13=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,23 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[30, 34], Operations: ['86-73=13', '21+13=34'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,23 unequal: No Solution Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[21, 43], Operations: ['86-73=13', '30+13=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[30, 8], Operations: ['86-73=13', '21-13=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[86, 21, 43], Operations: ['73-30=43'] Exploring Operation: 43-21=22, Resulting Numbers: [86, 22] Generated Node #0,1,0: 23:[86, 22] Operation: 43-21=22 Exploring Operation: 86/43=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 23:[21, 2] Operation: 86/43=2 Exploring Operation: 86-43=43, Resulting Numbers: [21, 43] Generated Node #0,1,2: 23:[21, 43] Operation: 86-43=43 Exploring Operation: 86-21=65, Resulting Numbers: [43, 65] Generated Node #0,1,3: 23:[43, 65] Operation: 86-21=65 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[21, 43], Operations: ['73-30=43', '86-43=43'] Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,23 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[21, 2], Operations: ['73-30=43', '86/43=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[86, 73, 30, 21], Operations: [] Exploring Operation: 73-30=43, Resulting Numbers: [86, 21, 43] Generated Node #0,1: 23:[86, 21, 43] Operation: 73-30=43 Moving to Node #0,1 Current State: 23:[86, 21, 43], Operations: ['73-30=43'] Exploring Operation: 86/43=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 23:[21, 2] Operation: 86/43=2 Moving to Node #0,1,1 Current State: 23:[21, 2], Operations: ['73-30=43', '86/43=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 39, 22, 63, 52 ]
72
[ "39+22=61", "63-52=11", "61+11=72" ]
Current State: 72:[39, 22, 63, 52], Operations: [] Exploring Operation: 39+22=61, Resulting Numbers: [63, 52, 61] Generated Node #2: [63, 52, 61] from Operation: 39+22=61 Current State: 72:[63, 52, 61], Operations: ['39+22=61'] Exploring Operation: 63-52=11, Resulting Numbers: [61, 11] Generated Node #3: [61, 11] from Operation: 63-52=11 Current State: 72:[61, 11], Operations: ['39+22=61', '63-52=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 22, 63, 52], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [22, 63, 13] Generated Node #0,0: 72:[22, 63, 13] Operation: 52-39=13 Exploring Operation: 22+52=74, Resulting Numbers: [39, 63, 74] Generated Node #0,1: 72:[39, 63, 74] Operation: 22+52=74 Exploring Operation: 63-39=24, Resulting Numbers: [22, 52, 24] Generated Node #0,2: 72:[22, 52, 24] Operation: 63-39=24 Exploring Operation: 63-52=11, Resulting Numbers: [39, 22, 11] Generated Node #0,3: 72:[39, 22, 11] Operation: 63-52=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[39, 22, 11], Operations: ['63-52=11'] Exploring Operation: 22-11=11, Resulting Numbers: [39, 11] Generated Node #0,3,0: 72:[39, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [39, 2] Generated Node #0,3,1: 72:[39, 2] Operation: 22/11=2 Exploring Operation: 39-11=28, Resulting Numbers: [22, 28] Generated Node #0,3,2: 72:[22, 28] Operation: 39-11=28 Exploring Operation: 39-22=17, Resulting Numbers: [11, 17] Generated Node #0,3,3: 72:[11, 17] Operation: 39-22=17 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 72:[11, 17], Operations: ['63-52=11', '39-22=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,72 unequal: No Solution Exploring Operation: 17-11=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,1 Current State: 72:[39, 2], Operations: ['63-52=11', '22/11=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,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,0 Current State: 72:[39, 11], Operations: ['63-52=11', '22-11=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,72 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,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:[22, 28], Operations: ['63-52=11', '39-11=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,72 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,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:[22, 63, 13], Operations: ['52-39=13'] Exploring Operation: 63-22=41, Resulting Numbers: [13, 41] Generated Node #0,0,0: 72:[13, 41] Operation: 63-22=41 Exploring Operation: 22-13=9, Resulting Numbers: [63, 9] Generated Node #0,0,1: 72:[63, 9] Operation: 22-13=9 Exploring Operation: 63+13=76, Resulting Numbers: [22, 76] Generated Node #0,0,2: 72:[22, 76] Operation: 63+13=76 Exploring Operation: 22+13=35, Resulting Numbers: [63, 35] Generated Node #0,0,3: 72:[63, 35] Operation: 22+13=35 Moving to Node #0,0,0 Current State: 72:[13, 41], Operations: ['52-39=13', '63-22=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[22, 76], Operations: ['52-39=13', '63+13=76'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,72 unequal: No Solution Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[63, 9], Operations: ['52-39=13', '22-13=9'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[39, 22, 63, 52], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [22, 63, 13] Generated Node #0,0: 72:[22, 63, 13] Operation: 52-39=13 Moving to Node #0,0 Current State: 72:[22, 63, 13], Operations: ['52-39=13'] Exploring Operation: 22-13=9, Resulting Numbers: [63, 9] Generated Node #0,0,1: 72:[63, 9] Operation: 22-13=9 Moving to Node #0,0,1 Current State: 72:[63, 9], Operations: ['52-39=13', '22-13=9'] Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 81, 9, 18, 34 ]
32
[ "81/9=9", "18/9=2", "34-2=32" ]
Current State: 32:[81, 9, 18, 34], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [18, 34, 9] Generated Node #2: [18, 34, 9] from Operation: 81/9=9 Current State: 32:[18, 34, 9], Operations: ['81/9=9'] Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 18/9=2 Current State: 32:[34, 2], Operations: ['81/9=9', '18/9=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[81, 9, 18, 34], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [18, 34, 9] Generated Node #0,0: 32:[18, 34, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [18, 34, 72] Generated Node #0,1: 32:[18, 34, 72] Operation: 81-9=72 Exploring Operation: 81-18=63, Resulting Numbers: [9, 34, 63] Generated Node #0,2: 32:[9, 34, 63] Operation: 81-18=63 Exploring Operation: 81-34=47, Resulting Numbers: [9, 18, 47] Generated Node #0,3: 32:[9, 18, 47] Operation: 81-34=47 Exploring Operation: 34-18=16, Resulting Numbers: [81, 9, 16] Generated Node #0,4: 32:[81, 9, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[18, 34, 9], Operations: ['81/9=9'] Exploring Operation: 34-18=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 32:[9, 16] Operation: 34-18=16 Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,0,1: 32:[34, 2] Operation: 18/9=2 Exploring Operation: 18+9=27, Resulting Numbers: [34, 27] Generated Node #0,0,2: 32:[34, 27] Operation: 18+9=27 Exploring Operation: 18-9=9, Resulting Numbers: [34, 9] Generated Node #0,0,3: 32:[34, 9] Operation: 18-9=9 Exploring Operation: 34-9=25, Resulting Numbers: [18, 25] Generated Node #0,0,4: 32:[18, 25] Operation: 34-9=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[9, 16], Operations: ['81/9=9', '34-18=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,32 unequal: No Solution No 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: 32:[34, 2], Operations: ['81/9=9', '18/9=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[81, 9, 18, 34], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [18, 34, 9] Generated Node #0,0: 32:[18, 34, 9] Operation: 81/9=9 Moving to Node #0,0 Current State: 32:[18, 34, 9], Operations: ['81/9=9'] Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,0,1: 32:[34, 2] Operation: 18/9=2 Moving to Node #0,0,1 Current State: 32:[34, 2], Operations: ['81/9=9', '18/9=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 24, 86, 95, 62 ]
95
[ "86-24=62", "95+62=157", "157-62=95" ]
Current State: 95:[24, 86, 95, 62], Operations: [] Exploring Operation: 86-24=62, Resulting Numbers: [95, 62, 62] Generated Node #2: [95, 62, 62] from Operation: 86-24=62 Current State: 95:[95, 62, 62], Operations: ['86-24=62'] Exploring Operation: 95+62=157, Resulting Numbers: [157] 157,95 equal: Goal Reached Exploring Operation: 157-62=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[24, 86, 95, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [24, 95, 24] Generated Node #0,0: 95:[24, 95, 24] Operation: 86-62=24 Moving to Node #0,0 Current State: 95:[24, 95, 24], Operations: ['86-62=24'] Exploring Operation: 24/24=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 95:[95, 1] Operation: 24/24=1 Moving to Node #0,0,0 Current State: 95:[95, 1], Operations: ['86-62=24', '24/24=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[24, 86, 95, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [24, 95, 24] Generated Node #0,0: 95:[24, 95, 24] Operation: 86-62=24 Moving to Node #0,0 Current State: 95:[24, 95, 24], Operations: ['86-62=24'] Exploring Operation: 24/24=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 95:[95, 1] Operation: 24/24=1 Moving to Node #0,0,0 Current State: 95:[95, 1], Operations: ['86-62=24', '24/24=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 81, 29, 54, 61 ]
63
[ "81-29=52", "54+61=115", "115-52=63" ]
Current State: 63:[81, 29, 54, 61], Operations: [] Exploring Operation: 81-29=52, Resulting Numbers: [54, 61, 52] Generated Node #2: [54, 61, 52] from Operation: 81-29=52 Current State: 63:[54, 61, 52], Operations: ['81-29=52'] Exploring Operation: 54+61=115, Resulting Numbers: [52, 115] Generated Node #3: [52, 115] from Operation: 54+61=115 Current State: 63:[52, 115], Operations: ['81-29=52', '54+61=115'] Exploring Operation: 115-52=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[81, 29, 54, 61], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [29, 54, 20] Generated Node #0,0: 63:[29, 54, 20] Operation: 81-61=20 Exploring Operation: 81-54=27, Resulting Numbers: [29, 61, 27] Generated Node #0,1: 63:[29, 61, 27] Operation: 81-54=27 Exploring Operation: 54-29=25, Resulting Numbers: [81, 61, 25] Generated Node #0,2: 63:[81, 61, 25] Operation: 54-29=25 Exploring Operation: 81-29=52, Resulting Numbers: [54, 61, 52] Generated Node #0,3: 63:[54, 61, 52] Operation: 81-29=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[29, 61, 27], Operations: ['81-54=27'] Exploring Operation: 29+27=56, Resulting Numbers: [61, 56] Generated Node #0,1,0: 63:[61, 56] Operation: 29+27=56 Exploring Operation: 29-27=2, Resulting Numbers: [61, 2] Generated Node #0,1,1: 63:[61, 2] Operation: 29-27=2 Exploring Operation: 61-29=32, Resulting Numbers: [27, 32] Generated Node #0,1,2: 63:[27, 32] Operation: 61-29=32 Exploring Operation: 61-27=34, Resulting Numbers: [29, 34] Generated Node #0,1,3: 63:[29, 34] Operation: 61-27=34 Moving to Node #0,1,1 Current State: 63:[61, 2], Operations: ['81-54=27', '29-27=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[81, 29, 54, 61], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [29, 61, 27] Generated Node #0,1: 63:[29, 61, 27] Operation: 81-54=27 Moving to Node #0,1 Current State: 63:[29, 61, 27], Operations: ['81-54=27'] Exploring Operation: 29-27=2, Resulting Numbers: [61, 2] Generated Node #0,1,1: 63:[61, 2] Operation: 29-27=2 Moving to Node #0,1,1 Current State: 63:[61, 2], Operations: ['81-54=27', '29-27=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 44, 65, 34, 3 ]
78
[ "44+65=109", "34-3=31", "109-31=78" ]
Current State: 78:[44, 65, 34, 3], Operations: [] Exploring Operation: 44+65=109, Resulting Numbers: [34, 3, 109] Generated Node #2: [34, 3, 109] from Operation: 44+65=109 Current State: 78:[34, 3, 109], Operations: ['44+65=109'] Exploring Operation: 34-3=31, Resulting Numbers: [109, 31] Generated Node #3: [109, 31] from Operation: 34-3=31 Current State: 78:[109, 31], Operations: ['44+65=109', '34-3=31'] Exploring Operation: 109-31=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[44, 65, 34, 3], Operations: [] Exploring Operation: 44-3=41, Resulting Numbers: [65, 34, 41] Generated Node #0,0: 78:[65, 34, 41] Operation: 44-3=41 Exploring Operation: 44-34=10, Resulting Numbers: [65, 3, 10] Generated Node #0,1: 78:[65, 3, 10] Operation: 44-34=10 Exploring Operation: 44+34=78, Resulting Numbers: [65, 3, 78] Generated Node #0,2: 78:[65, 3, 78] Operation: 44+34=78 Exploring Operation: 65-34=31, Resulting Numbers: [44, 3, 31] Generated Node #0,3: 78:[44, 3, 31] Operation: 65-34=31 Exploring Operation: 65-44=21, Resulting Numbers: [34, 3, 21] Generated Node #0,4: 78:[34, 3, 21] Operation: 65-44=21 Moving to Node #0,3 Current State: 78:[44, 3, 31], Operations: ['65-34=31'] Exploring Operation: 3+31=34, Resulting Numbers: [44, 34] Generated Node #0,3,0: 78:[44, 34] Operation: 3+31=34 Exploring Operation: 44-3=41, Resulting Numbers: [31, 41] Generated Node #0,3,1: 78:[31, 41] Operation: 44-3=41 Exploring Operation: 44-31=13, Resulting Numbers: [3, 13] Generated Node #0,3,2: 78:[3, 13] Operation: 44-31=13 Exploring Operation: 44+31=75, Resulting Numbers: [3, 75] Generated Node #0,3,3: 78:[3, 75] Operation: 44+31=75 Exploring Operation: 31-3=28, Resulting Numbers: [44, 28] Generated Node #0,3,4: 78:[44, 28] Operation: 31-3=28 Moving to Node #0,4 Current State: 78:[34, 3, 21], Operations: ['65-44=21'] Exploring Operation: 34-3=31, Resulting Numbers: [21, 31] Generated Node #0,4,0: 78:[21, 31] Operation: 34-3=31 Exploring Operation: 21/3=7, Resulting Numbers: [34, 7] Generated Node #0,4,1: 78:[34, 7] Operation: 21/3=7 Exploring Operation: 34-21=13, Resulting Numbers: [3, 13] Generated Node #0,4,2: 78:[3, 13] Operation: 34-21=13 Exploring Operation: 3+21=24, Resulting Numbers: [34, 24] Generated Node #0,4,3: 78:[34, 24] Operation: 3+21=24 Exploring Operation: 34+3=37, Resulting Numbers: [21, 37] Generated Node #0,4,4: 78:[21, 37] Operation: 34+3=37 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[3, 13], Operations: ['65-44=21', '34-21=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,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,4,1 Current State: 78:[34, 7], Operations: ['65-44=21', '21/3=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,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,4,3 Current State: 78:[34, 24], Operations: ['65-44=21', '3+21=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,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,4,4 Current State: 78:[21, 37], Operations: ['65-44=21', '34+3=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,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,4,0 Current State: 78:[21, 31], Operations: ['65-44=21', '34-3=31'] Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,78 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[65, 3, 78], Operations: ['44+34=78'] Exploring Operation: 65+3=68, Resulting Numbers: [78, 68] Generated Node #0,2,0: 78:[78, 68] Operation: 65+3=68 Exploring Operation: 3+78=81, Resulting Numbers: [65, 81] Generated Node #0,2,1: 78:[65, 81] Operation: 3+78=81 Exploring Operation: 65-3=62, Resulting Numbers: [78, 62] Generated Node #0,2,2: 78:[78, 62] Operation: 65-3=62 Exploring Operation: 78/3=26, Resulting Numbers: [65, 26] Generated Node #0,2,3: 78:[65, 26] Operation: 78/3=26 Exploring Operation: 78-65=13, Resulting Numbers: [3, 13] Generated Node #0,2,4: 78:[3, 13] Operation: 78-65=13 Moving to Node #0,1 Current State: 78:[65, 3, 10], Operations: ['44-34=10'] Exploring Operation: 65-10=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 78:[3, 55] Operation: 65-10=55 Exploring Operation: 65+10=75, Resulting Numbers: [3, 75] Generated Node #0,1,1: 78:[3, 75] Operation: 65+10=75 Exploring Operation: 3+10=13, Resulting Numbers: [65, 13] Generated Node #0,1,2: 78:[65, 13] Operation: 3+10=13 Exploring Operation: 65+3=68, Resulting Numbers: [10, 68] Generated Node #0,1,3: 78:[10, 68] Operation: 65+3=68 Exploring Operation: 10-3=7, Resulting Numbers: [65, 7] Generated Node #0,1,4: 78:[65, 7] Operation: 10-3=7 Moving to Node #0,0 Current State: 78:[65, 34, 41], Operations: ['44-3=41'] Exploring Operation: 34+41=75, Resulting Numbers: [65, 75] Generated Node #0,0,0: 78:[65, 75] Operation: 34+41=75 Exploring Operation: 65-34=31, Resulting Numbers: [41, 31] Generated Node #0,0,1: 78:[41, 31] Operation: 65-34=31 Exploring Operation: 65-41=24, Resulting Numbers: [34, 24] Generated Node #0,0,2: 78:[34, 24] Operation: 65-41=24 Exploring Operation: 41-34=7, Resulting Numbers: [65, 7] Generated Node #0,0,3: 78:[65, 7] Operation: 41-34=7 Exploring Operation: 65+34=99, Resulting Numbers: [41, 99] Generated Node #0,0,4: 78:[41, 99] Operation: 65+34=99 Moving to Node #0,3,2 Current State: 78:[3, 13], Operations: ['65-34=31', '44-31=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[3, 13], Operations: ['44+34=78', '78-65=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[3, 75], Operations: ['65-34=31', '44+31=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[44, 65, 34, 3], Operations: [] Exploring Operation: 65-34=31, Resulting Numbers: [44, 3, 31] Generated Node #0,3: 78:[44, 3, 31] Operation: 65-34=31 Moving to Node #0,3 Current State: 78:[44, 3, 31], Operations: ['65-34=31'] Exploring Operation: 44+31=75, Resulting Numbers: [3, 75] Generated Node #0,3,3: 78:[3, 75] Operation: 44+31=75 Moving to Node #0,3,3 Current State: 78:[3, 75], Operations: ['65-34=31', '44+31=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.951389
hs_5
mult_heuristic
[ 88, 13, 66, 58 ]
83
[ "88-13=75", "66-58=8", "75+8=83" ]
Current State: 83:[88, 13, 66, 58], Operations: [] Exploring Operation: 88-13=75, Resulting Numbers: [66, 58, 75] Generated Node #2: [66, 58, 75] from Operation: 88-13=75 Current State: 83:[66, 58, 75], Operations: ['88-13=75'] Exploring Operation: 66-58=8, Resulting Numbers: [75, 8] Generated Node #3: [75, 8] from Operation: 66-58=8 Current State: 83:[75, 8], Operations: ['88-13=75', '66-58=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[88, 13, 66, 58], Operations: [] Exploring Operation: 13+58=71, Resulting Numbers: [88, 66, 71] Generated Node #0,0: 83:[88, 66, 71] Operation: 13+58=71 Exploring Operation: 13+66=79, Resulting Numbers: [88, 58, 79] Generated Node #0,1: 83:[88, 58, 79] Operation: 13+66=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[88, 66, 71], Operations: ['13+58=71'] Exploring Operation: 88-66=22, Resulting Numbers: [71, 22] Generated Node #0,0,0: 83:[71, 22] Operation: 88-66=22 Exploring Operation: 66+71=137, Resulting Numbers: [88, 137] Generated Node #0,0,1: 83:[88, 137] Operation: 66+71=137 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[88, 137], Operations: ['13+58=71', '66+71=137'] Exploring Operation: 137-88=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 88+137=225, Resulting Numbers: [225] 225,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:[71, 22], Operations: ['13+58=71', '88-66=22'] Exploring Operation: 71+22=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,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,1 Current State: 83:[88, 58, 79], Operations: ['13+66=79'] Exploring Operation: 58+79=137, Resulting Numbers: [88, 137] Generated Node #0,1,0: 83:[88, 137] Operation: 58+79=137 Exploring Operation: 88-58=30, Resulting Numbers: [79, 30] Generated Node #0,1,1: 83:[79, 30] Operation: 88-58=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[79, 30], Operations: ['13+66=79', '88-58=30'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,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:[88, 137], Operations: ['13+66=79', '58+79=137'] Exploring Operation: 88+137=225, Resulting Numbers: [225] 225,83 unequal: No Solution Exploring Operation: 137-88=49, Resulting Numbers: [49] 49,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_2
mult_heuristic
[ 34, 55, 90, 1 ]
54
[ "34-1=33", "90*33=2970", "2970/55=54" ]
Current State: 54:[34, 55, 90, 1], Operations: [] Exploring Operation: 34-1=33, Resulting Numbers: [55, 90, 33] Generated Node #2: [55, 90, 33] from Operation: 34-1=33 Current State: 54:[55, 90, 33], Operations: ['34-1=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [55, 2970] Generated Node #3: [55, 2970] from Operation: 90*33=2970 Current State: 54:[55, 2970], Operations: ['34-1=33', '90*33=2970'] Exploring Operation: 2970/55=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[34, 55, 90, 1], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [90, 1, 21] Generated Node #0,0: 54:[90, 1, 21] Operation: 55-34=21 Exploring Operation: 90-34=56, Resulting Numbers: [55, 1, 56] Generated Node #0,1: 54:[55, 1, 56] Operation: 90-34=56 Exploring Operation: 34-1=33, Resulting Numbers: [55, 90, 33] Generated Node #0,2: 54:[55, 90, 33] Operation: 34-1=33 Exploring Operation: 55-1=54, Resulting Numbers: [34, 90, 54] Generated Node #0,3: 54:[34, 90, 54] Operation: 55-1=54 Exploring Operation: 90-55=35, Resulting Numbers: [34, 1, 35] Generated Node #0,4: 54:[34, 1, 35] Operation: 90-55=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[55, 1, 56], Operations: ['90-34=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1, 1] Generated Node #0,1,0: 54:[1, 1] Operation: 56-55=1 Exploring Operation: 55/1=55, Resulting Numbers: [56, 55] Generated Node #0,1,1: 54:[56, 55] Operation: 55/1=55 Exploring Operation: 56-1=55, Resulting Numbers: [55, 55] Generated Node #0,1,2: 54:[55, 55] Operation: 56-1=55 Exploring Operation: 55-1=54, Resulting Numbers: [56, 54] Generated Node #0,1,3: 54:[56, 54] Operation: 55-1=54 Exploring Operation: 55*1=55, Resulting Numbers: [56, 55] Generated Node #0,1,4: 54:[56, 55] Operation: 55*1=55 Moving to Node #0,1,0 Current State: 54:[1, 1], Operations: ['90-34=56', '56-55=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[56, 54], Operations: ['90-34=56', '55-1=54'] Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,54 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[55, 55], Operations: ['90-34=56', '56-1=55'] Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[56, 55], Operations: ['90-34=56', '55/1=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,54 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[56, 55], Operations: ['90-34=56', '55*1=55'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[34, 1, 35], Operations: ['90-55=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1, 1] Generated Node #0,4,0: 54:[1, 1] Operation: 35-34=1 Exploring Operation: 34-1=33, Resulting Numbers: [35, 33] Generated Node #0,4,1: 54:[35, 33] Operation: 34-1=33 Exploring Operation: 34*1=34, Resulting Numbers: [35, 34] Generated Node #0,4,2: 54:[35, 34] Operation: 34*1=34 Exploring Operation: 34/1=34, Resulting Numbers: [35, 34] Generated Node #0,4,3: 54:[35, 34] Operation: 34/1=34 Exploring Operation: 35-1=34, Resulting Numbers: [34, 34] Generated Node #0,4,4: 54:[34, 34] Operation: 35-1=34 Moving to Node #0,4,0 Current State: 54:[1, 1], Operations: ['90-55=35', '35-34=1'] Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[34, 34], Operations: ['90-55=35', '35-1=34'] Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,54 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[35, 33], Operations: ['90-55=35', '34-1=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[35, 34], Operations: ['90-55=35', '34*1=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,54 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[35, 34], Operations: ['90-55=35', '34/1=34'] Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,54 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[90, 1, 21], Operations: ['55-34=21'] Exploring Operation: 90-1=89, Resulting Numbers: [21, 89] Generated Node #0,0,0: 54:[21, 89] Operation: 90-1=89 Exploring Operation: 90*1=90, Resulting Numbers: [21, 90] Generated Node #0,0,1: 54:[21, 90] Operation: 90*1=90 Exploring Operation: 90-21=69, Resulting Numbers: [1, 69] Generated Node #0,0,2: 54:[1, 69] Operation: 90-21=69 Exploring Operation: 90/1=90, Resulting Numbers: [21, 90] Generated Node #0,0,3: 54:[21, 90] Operation: 90/1=90 Exploring Operation: 21-1=20, Resulting Numbers: [90, 20] Generated Node #0,0,4: 54:[90, 20] Operation: 21-1=20 Moving to Node #0,0,2 Current State: 54:[1, 69], Operations: ['55-34=21', '90-21=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,54 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[90, 20], Operations: ['55-34=21', '21-1=20'] Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,54 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[21, 89], Operations: ['55-34=21', '90-1=89'] Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 21+89=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 21*89=1869, Resulting Numbers: [1869] 1869,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[21, 90], Operations: ['55-34=21', '90*1=90'] Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 21*90=1890, Resulting Numbers: [1890] 1890,54 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[21, 90], Operations: ['55-34=21', '90/1=90'] Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 21*90=1890, Resulting Numbers: [1890] 1890,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[55, 90, 33], Operations: ['34-1=33'] Exploring Operation: 90-33=57, Resulting Numbers: [55, 57] Generated Node #0,2,0: 54:[55, 57] Operation: 90-33=57 Exploring Operation: 90-55=35, Resulting Numbers: [33, 35] Generated Node #0,2,1: 54:[33, 35] Operation: 90-55=35 Exploring Operation: 55+33=88, Resulting Numbers: [90, 88] Generated Node #0,2,2: 54:[90, 88] Operation: 55+33=88 Exploring Operation: 90+33=123, Resulting Numbers: [55, 123] Generated Node #0,2,3: 54:[55, 123] Operation: 90+33=123 Exploring Operation: 55-33=22, Resulting Numbers: [90, 22] Generated Node #0,2,4: 54:[90, 22] Operation: 55-33=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[55, 57], Operations: ['34-1=33', '90-33=57'] Exploring Operation: 55+57=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 55*57=3135, Resulting Numbers: [3135] 3135,54 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[33, 35], Operations: ['34-1=33', '90-55=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,54 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 54:[90, 22], Operations: ['34-1=33', '55-33=22'] Exploring Operation: 90+22=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 90*22=1980, Resulting Numbers: [1980] 1980,54 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[90, 88], Operations: ['34-1=33', '55+33=88'] Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,54 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[55, 123], Operations: ['34-1=33', '90+33=123'] Exploring Operation: 55*123=6765, Resulting Numbers: [6765] 6765,54 unequal: No Solution Exploring Operation: 55+123=178, Resulting Numbers: [178] 178,54 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[34, 90, 54], Operations: ['55-1=54'] Exploring Operation: 90-34=56, Resulting Numbers: [54, 56] Generated Node #0,3,0: 54:[54, 56] Operation: 90-34=56 Exploring Operation: 34+90=124, Resulting Numbers: [54, 124] Generated Node #0,3,1: 54:[54, 124] Operation: 34+90=124 Exploring Operation: 34+54=88, Resulting Numbers: [90, 88] Generated Node #0,3,2: 54:[90, 88] Operation: 34+54=88 Exploring Operation: 54-34=20, Resulting Numbers: [90, 20] Generated Node #0,3,3: 54:[90, 20] Operation: 54-34=20 Exploring Operation: 90-54=36, Resulting Numbers: [34, 36] Generated Node #0,3,4: 54:[34, 36] Operation: 90-54=36 Moving to Node #0,3,0 Current State: 54:[54, 56], Operations: ['55-1=54', '90-34=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,54 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[34, 36], Operations: ['55-1=54', '90-54=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,54 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[90, 20], Operations: ['55-1=54', '54-34=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,54 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,54 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[54, 124], Operations: ['55-1=54', '34+90=124'] Exploring Operation: 54*124=6696, Resulting Numbers: [6696] 6696,54 unequal: No Solution Exploring Operation: 54+124=178, Resulting Numbers: [178] 178,54 unequal: No Solution Exploring Operation: 124-54=70, Resulting Numbers: [70] 70,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[90, 88], Operations: ['55-1=54', '34+54=88'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,54 unequal: No Solution Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,54 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
[ 40, 1, 28, 8 ]
88
[ "40-1=39", "39-28=11", "8*11=88" ]
Current State: 88:[40, 1, 28, 8], Operations: [] Exploring Operation: 40-1=39, Resulting Numbers: [28, 8, 39] Generated Node #2: [28, 8, 39] from Operation: 40-1=39 Current State: 88:[28, 8, 39], Operations: ['40-1=39'] Exploring Operation: 39-28=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 39-28=11 Current State: 88:[8, 11], Operations: ['40-1=39', '39-28=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[40, 1, 28, 8], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [40, 1, 20] Generated Node #0,0: 88:[40, 1, 20] Operation: 28-8=20 Exploring Operation: 40-28=12, Resulting Numbers: [1, 8, 12] Generated Node #0,1: 88:[1, 8, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[1, 8, 12], Operations: ['40-28=12'] Exploring Operation: 12-1=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 12-1=11 Exploring Operation: 1*8=8, Resulting Numbers: [12, 8] Generated Node #0,1,1: 88:[12, 8] Operation: 1*8=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['40-28=12', '12-1=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[40, 1, 28, 8], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [1, 8, 12] Generated Node #0,1: 88:[1, 8, 12] Operation: 40-28=12 Moving to Node #0,1 Current State: 88:[1, 8, 12], Operations: ['40-28=12'] Exploring Operation: 12-1=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 12-1=11 Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['40-28=12', '12-1=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 73, 84, 81, 2 ]
35
[ "84-73=11", "81-11=70", "70/2=35" ]
Current State: 35:[73, 84, 81, 2], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [81, 2, 11] Generated Node #2: [81, 2, 11] from Operation: 84-73=11 Current State: 35:[81, 2, 11], Operations: ['84-73=11'] Exploring Operation: 81-11=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 81-11=70 Current State: 35:[2, 70], Operations: ['84-73=11', '81-11=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[73, 84, 81, 2], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [81, 2, 11] Generated Node #0,0: 35:[81, 2, 11] Operation: 84-73=11 Exploring Operation: 84/2=42, Resulting Numbers: [73, 81, 42] Generated Node #0,1: 35:[73, 81, 42] Operation: 84/2=42 Exploring Operation: 84-81=3, Resulting Numbers: [73, 2, 3] Generated Node #0,2: 35:[73, 2, 3] Operation: 84-81=3 Exploring Operation: 81-73=8, Resulting Numbers: [84, 2, 8] Generated Node #0,3: 35:[84, 2, 8] Operation: 81-73=8 Moving to Node #0,2 Current State: 35:[73, 2, 3], Operations: ['84-81=3'] Exploring Operation: 73-2=71, Resulting Numbers: [3, 71] Generated Node #0,2,0: 35:[3, 71] Operation: 73-2=71 Exploring Operation: 2*3=6, Resulting Numbers: [73, 6] Generated Node #0,2,1: 35:[73, 6] Operation: 2*3=6 Exploring Operation: 73-3=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 35:[2, 70] Operation: 73-3=70 Exploring Operation: 2+3=5, Resulting Numbers: [73, 5] Generated Node #0,2,3: 35:[73, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[3, 71], Operations: ['84-81=3', '73-2=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,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,2,2 Current State: 35:[2, 70], Operations: ['84-81=3', '73-3=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,35 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[73, 84, 81, 2], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [73, 2, 3] Generated Node #0,2: 35:[73, 2, 3] Operation: 84-81=3 Moving to Node #0,2 Current State: 35:[73, 2, 3], Operations: ['84-81=3'] Exploring Operation: 73-3=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 35:[2, 70] Operation: 73-3=70 Moving to Node #0,2,2 Current State: 35:[2, 70], Operations: ['84-81=3', '73-3=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 65, 48, 44, 87 ]
13
[ "48+44=92", "92-87=5", "65/5=13" ]
Current State: 13:[65, 48, 44, 87], Operations: [] Exploring Operation: 48+44=92, Resulting Numbers: [65, 87, 92] Generated Node #2: [65, 87, 92] from Operation: 48+44=92 Current State: 13:[65, 87, 92], Operations: ['48+44=92'] Exploring Operation: 92-87=5, Resulting Numbers: [65, 5] Generated Node #3: [65, 5] from Operation: 92-87=5 Current State: 13:[65, 5], Operations: ['48+44=92', '92-87=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[65, 48, 44, 87], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [48, 87, 21] Generated Node #0,0: 13:[48, 87, 21] Operation: 65-44=21 Exploring Operation: 65-48=17, Resulting Numbers: [44, 87, 17] Generated Node #0,1: 13:[44, 87, 17] Operation: 65-48=17 Exploring Operation: 87-48=39, Resulting Numbers: [65, 44, 39] Generated Node #0,2: 13:[65, 44, 39] Operation: 87-48=39 Exploring Operation: 87-65=22, Resulting Numbers: [48, 44, 22] Generated Node #0,3: 13:[48, 44, 22] Operation: 87-65=22 Exploring Operation: 87-44=43, Resulting Numbers: [65, 48, 43] Generated Node #0,4: 13:[65, 48, 43] Operation: 87-44=43 Moving to Node #0,3 Current State: 13:[48, 44, 22], Operations: ['87-65=22'] Exploring Operation: 48+44=92, Resulting Numbers: [22, 92] Generated Node #0,3,0: 13:[22, 92] Operation: 48+44=92 Exploring Operation: 44/22=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 13:[48, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [48, 22] Generated Node #0,3,2: 13:[48, 22] Operation: 44-22=22 Exploring Operation: 48-22=26, Resulting Numbers: [44, 26] Generated Node #0,3,3: 13:[44, 26] Operation: 48-22=26 Exploring Operation: 48-44=4, Resulting Numbers: [22, 4] Generated Node #0,3,4: 13:[22, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[22, 4], Operations: ['87-65=22', '48-44=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[48, 22], Operations: ['87-65=22', '44-22=22'] Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[44, 26], Operations: ['87-65=22', '48-22=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,13 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[48, 2], Operations: ['87-65=22', '44/22=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,13 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[22, 92], Operations: ['87-65=22', '48+44=92'] Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 22+92=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 22*92=2024, Resulting Numbers: [2024] 2024,13 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: 13:[65, 44, 39], Operations: ['87-48=39'] Exploring Operation: 65+44=109, Resulting Numbers: [39, 109] Generated Node #0,2,0: 13:[39, 109] Operation: 65+44=109 Exploring Operation: 65-39=26, Resulting Numbers: [44, 26] Generated Node #0,2,1: 13:[44, 26] Operation: 65-39=26 Exploring Operation: 65+39=104, Resulting Numbers: [44, 104] Generated Node #0,2,2: 13:[44, 104] Operation: 65+39=104 Exploring Operation: 65-44=21, Resulting Numbers: [39, 21] Generated Node #0,2,3: 13:[39, 21] Operation: 65-44=21 Exploring Operation: 44-39=5, Resulting Numbers: [65, 5] Generated Node #0,2,4: 13:[65, 5] Operation: 44-39=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[39, 21], Operations: ['87-48=39', '65-44=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,13 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[44, 26], Operations: ['87-48=39', '65-39=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,13 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 13:[65, 5], Operations: ['87-48=39', '44-39=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[65, 48, 44, 87], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [65, 44, 39] Generated Node #0,2: 13:[65, 44, 39] Operation: 87-48=39 Moving to Node #0,2 Current State: 13:[65, 44, 39], Operations: ['87-48=39'] Exploring Operation: 44-39=5, Resulting Numbers: [65, 5] Generated Node #0,2,4: 13:[65, 5] Operation: 44-39=5 Moving to Node #0,2,4 Current State: 13:[65, 5], Operations: ['87-48=39', '44-39=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 49, 61, 5, 63 ]
42
[ "49+61=110", "5+63=68", "110-68=42" ]
Current State: 42:[49, 61, 5, 63], Operations: [] Exploring Operation: 49+61=110, Resulting Numbers: [5, 63, 110] Generated Node #2: [5, 63, 110] from Operation: 49+61=110 Current State: 42:[5, 63, 110], Operations: ['49+61=110'] Exploring Operation: 5+63=68, Resulting Numbers: [110, 68] Generated Node #3: [110, 68] from Operation: 5+63=68 Current State: 42:[110, 68], Operations: ['49+61=110', '5+63=68'] Exploring Operation: 110-68=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[49, 61, 5, 63], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [5, 63, 12] Generated Node #0,0: 42:[5, 63, 12] Operation: 61-49=12 Exploring Operation: 63-61=2, Resulting Numbers: [49, 5, 2] Generated Node #0,1: 42:[49, 5, 2] Operation: 63-61=2 Exploring Operation: 63-49=14, Resulting Numbers: [61, 5, 14] Generated Node #0,2: 42:[61, 5, 14] Operation: 63-49=14 Exploring Operation: 49-5=44, Resulting Numbers: [61, 63, 44] Generated Node #0,3: 42:[61, 63, 44] Operation: 49-5=44 Exploring Operation: 61-5=56, Resulting Numbers: [49, 63, 56] Generated Node #0,4: 42:[49, 63, 56] Operation: 61-5=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[49, 5, 2], Operations: ['63-61=2'] Exploring Operation: 5+2=7, Resulting Numbers: [49, 7] Generated Node #0,1,0: 42:[49, 7] Operation: 5+2=7 Exploring Operation: 49+2=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 42:[5, 51] Operation: 49+2=51 Exploring Operation: 5-2=3, Resulting Numbers: [49, 3] Generated Node #0,1,2: 42:[49, 3] Operation: 5-2=3 Exploring Operation: 49-2=47, Resulting Numbers: [5, 47] Generated Node #0,1,3: 42:[5, 47] Operation: 49-2=47 Exploring Operation: 49-5=44, Resulting Numbers: [2, 44] Generated Node #0,1,4: 42:[2, 44] Operation: 49-5=44 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 42:[2, 44], Operations: ['63-61=2', '49-5=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[49, 61, 5, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [49, 5, 2] Generated Node #0,1: 42:[49, 5, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 42:[49, 5, 2], Operations: ['63-61=2'] Exploring Operation: 49-5=44, Resulting Numbers: [2, 44] Generated Node #0,1,4: 42:[2, 44] Operation: 49-5=44 Moving to Node #0,1,4 Current State: 42:[2, 44], Operations: ['63-61=2', '49-5=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 24, 77, 14, 42 ]
99
[ "42-24=18", "77*18=1386", "1386/14=99" ]
Current State: 99:[24, 77, 14, 42], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [77, 14, 18] Generated Node #2: [77, 14, 18] from Operation: 42-24=18 Current State: 99:[77, 14, 18], Operations: ['42-24=18'] Exploring Operation: 77*18=1386, Resulting Numbers: [14, 1386] Generated Node #3: [14, 1386] from Operation: 77*18=1386 Current State: 99:[14, 1386], Operations: ['42-24=18', '77*18=1386'] Exploring Operation: 1386/14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[24, 77, 14, 42], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [24, 14, 35] Generated Node #0,0: 99:[24, 14, 35] Operation: 77-42=35 Exploring Operation: 24+77=101, Resulting Numbers: [14, 42, 101] Generated Node #0,1: 99:[14, 42, 101] Operation: 24+77=101 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[24, 14, 35], Operations: ['77-42=35'] Exploring Operation: 24-14=10, Resulting Numbers: [35, 10] Generated Node #0,0,0: 99:[35, 10] Operation: 24-14=10 Exploring Operation: 35-24=11, Resulting Numbers: [14, 11] Generated Node #0,0,1: 99:[14, 11] Operation: 35-24=11 Moving to Node #0,0,0 Current State: 99:[35, 10], Operations: ['77-42=35', '24-14=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[14, 11], Operations: ['77-42=35', '35-24=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[14, 42, 101], Operations: ['24+77=101'] Exploring Operation: 42/14=3, Resulting Numbers: [101, 3] Generated Node #0,1,0: 99:[101, 3] Operation: 42/14=3 Exploring Operation: 42-14=28, Resulting Numbers: [101, 28] Generated Node #0,1,1: 99:[101, 28] Operation: 42-14=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[101, 3], Operations: ['24+77=101', '42/14=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,99 unequal: No Solution Exploring Operation: 101+3=104, Resulting Numbers: [104] 104,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[101, 28], Operations: ['24+77=101', '42-14=28'] Exploring Operation: 101+28=129, Resulting Numbers: [129] 129,99 unequal: No Solution Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 75, 47, 29 ]
83
[ "75-47=28", "4*28=112", "112-29=83" ]
Current State: 83:[4, 75, 47, 29], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [4, 29, 28] Generated Node #2: [4, 29, 28] from Operation: 75-47=28 Current State: 83:[4, 29, 28], Operations: ['75-47=28'] Exploring Operation: 4*28=112, Resulting Numbers: [29, 112] Generated Node #3: [29, 112] from Operation: 4*28=112 Current State: 83:[29, 112], Operations: ['75-47=28', '4*28=112'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[4, 75, 47, 29], Operations: [] Exploring Operation: 4*29=116, Resulting Numbers: [75, 47, 116] Generated Node #0,0: 83:[75, 47, 116] Operation: 4*29=116 Exploring Operation: 4+75=79, Resulting Numbers: [47, 29, 79] Generated Node #0,1: 83:[47, 29, 79] Operation: 4+75=79 Exploring Operation: 4+47=51, Resulting Numbers: [75, 29, 51] Generated Node #0,2: 83:[75, 29, 51] Operation: 4+47=51 Exploring Operation: 4+29=33, Resulting Numbers: [75, 47, 33] Generated Node #0,3: 83:[75, 47, 33] Operation: 4+29=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[75, 47, 116], Operations: ['4*29=116'] Exploring Operation: 116-47=69, Resulting Numbers: [75, 69] Generated Node #0,0,0: 83:[75, 69] Operation: 116-47=69 Exploring Operation: 75-47=28, Resulting Numbers: [116, 28] Generated Node #0,0,1: 83:[116, 28] Operation: 75-47=28 Exploring Operation: 116-75=41, Resulting Numbers: [47, 41] Generated Node #0,0,2: 83:[47, 41] Operation: 116-75=41 Exploring Operation: 75+47=122, Resulting Numbers: [116, 122] Generated Node #0,0,3: 83:[116, 122] Operation: 75+47=122 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[75, 69], Operations: ['4*29=116', '116-47=69'] Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,83 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,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,3 Current State: 83:[116, 122], Operations: ['4*29=116', '75+47=122'] Exploring Operation: 116+122=238, Resulting Numbers: [238] 238,83 unequal: No Solution Exploring Operation: 122-116=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 116*122=14152, Resulting Numbers: [14152] 14152,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:[47, 41], Operations: ['4*29=116', '116-75=41'] Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,83 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,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:[116, 28], Operations: ['4*29=116', '75-47=28'] Exploring Operation: 116*28=3248, Resulting Numbers: [3248] 3248,83 unequal: No Solution Exploring Operation: 116-28=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 116+28=144, Resulting Numbers: [144] 144,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,1 Current State: 83:[47, 29, 79], Operations: ['4+75=79'] Exploring Operation: 47-29=18, Resulting Numbers: [79, 18] Generated Node #0,1,0: 83:[79, 18] Operation: 47-29=18 Exploring Operation: 79-29=50, Resulting Numbers: [47, 50] Generated Node #0,1,1: 83:[47, 50] Operation: 79-29=50 Exploring Operation: 29+79=108, Resulting Numbers: [47, 108] Generated Node #0,1,2: 83:[47, 108] Operation: 29+79=108 Exploring Operation: 47+29=76, Resulting Numbers: [79, 76] Generated Node #0,1,3: 83:[79, 76] Operation: 47+29=76 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[79, 76], Operations: ['4+75=79', '47+29=76'] Exploring Operation: 79+76=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 79*76=6004, Resulting Numbers: [6004] 6004,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:[47, 108], Operations: ['4+75=79', '29+79=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,83 unequal: No Solution Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,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:[79, 18], Operations: ['4+75=79', '47-29=18'] Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,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:[47, 50], Operations: ['4+75=79', '79-29=50'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,83 unequal: No Solution Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,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:[75, 29, 51], Operations: ['4+47=51'] Exploring Operation: 51-29=22, Resulting Numbers: [75, 22] Generated Node #0,2,0: 83:[75, 22] Operation: 51-29=22 Exploring Operation: 75+29=104, Resulting Numbers: [51, 104] Generated Node #0,2,1: 83:[51, 104] Operation: 75+29=104 Exploring Operation: 29+51=80, Resulting Numbers: [75, 80] Generated Node #0,2,2: 83:[75, 80] Operation: 29+51=80 Exploring Operation: 75-29=46, Resulting Numbers: [51, 46] Generated Node #0,2,3: 83:[51, 46] Operation: 75-29=46 Moving to Node #0,2,2 Current State: 83:[75, 80], Operations: ['4+47=51', '29+51=80'] Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[51, 104], Operations: ['4+47=51', '75+29=104'] Exploring Operation: 104-51=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 51+104=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 51*104=5304, Resulting Numbers: [5304] 5304,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[51, 46], Operations: ['4+47=51', '75-29=46'] Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,83 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[75, 22], Operations: ['4+47=51', '51-29=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,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:[75, 47, 33], Operations: ['4+29=33'] Exploring Operation: 47-33=14, Resulting Numbers: [75, 14] Generated Node #0,3,0: 83:[75, 14] Operation: 47-33=14 Exploring Operation: 75+33=108, Resulting Numbers: [47, 108] Generated Node #0,3,1: 83:[47, 108] Operation: 75+33=108 Exploring Operation: 75-33=42, Resulting Numbers: [47, 42] Generated Node #0,3,2: 83:[47, 42] Operation: 75-33=42 Exploring Operation: 47+33=80, Resulting Numbers: [75, 80] Generated Node #0,3,3: 83:[75, 80] Operation: 47+33=80 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[75, 80], Operations: ['4+29=33', '47+33=80'] Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,83 unequal: No Solution Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,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:[47, 108], Operations: ['4+29=33', '75+33=108'] Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,83 unequal: No Solution Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[75, 14], Operations: ['4+29=33', '47-33=14'] Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,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:[47, 42], Operations: ['4+29=33', '75-33=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,83 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,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_4
mult_heuristic
[ 47, 3, 14, 8 ]
89
[ "3+14=17", "8*17=136", "136-47=89" ]
Current State: 89:[47, 3, 14, 8], Operations: [] Exploring Operation: 3+14=17, Resulting Numbers: [47, 8, 17] Generated Node #2: [47, 8, 17] from Operation: 3+14=17 Current State: 89:[47, 8, 17], Operations: ['3+14=17'] Exploring Operation: 8*17=136, Resulting Numbers: [47, 136] Generated Node #3: [47, 136] from Operation: 8*17=136 Current State: 89:[47, 136], Operations: ['3+14=17', '8*17=136'] Exploring Operation: 136-47=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[47, 3, 14, 8], Operations: [] Exploring Operation: 14*8=112, Resulting Numbers: [47, 3, 112] Generated Node #0,0: 89:[47, 3, 112] Operation: 14*8=112 Exploring Operation: 3*14=42, Resulting Numbers: [47, 8, 42] Generated Node #0,1: 89:[47, 8, 42] Operation: 3*14=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[47, 3, 112], Operations: ['14*8=112'] Exploring Operation: 47+3=50, Resulting Numbers: [112, 50] Generated Node #0,0,0: 89:[112, 50] Operation: 47+3=50 Exploring Operation: 112-3=109, Resulting Numbers: [47, 109] Generated Node #0,0,1: 89:[47, 109] Operation: 112-3=109 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[112, 50], Operations: ['14*8=112', '47+3=50'] Exploring Operation: 112-50=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 112+50=162, Resulting Numbers: [162] 162,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[47, 109], Operations: ['14*8=112', '112-3=109'] Exploring Operation: 109-47=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 47+109=156, Resulting Numbers: [156] 156,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[47, 8, 42], Operations: ['3*14=42'] Exploring Operation: 47+8=55, Resulting Numbers: [42, 55] Generated Node #0,1,0: 89:[42, 55] Operation: 47+8=55 Exploring Operation: 47+42=89, Resulting Numbers: [8, 89] Generated Node #0,1,1: 89:[8, 89] Operation: 47+42=89 Moving to Node #0,1,0 Current State: 89:[42, 55], Operations: ['3*14=42', '47+8=55'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[8, 89], Operations: ['3*14=42', '47+42=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 39, 15, 94 ]
67
[ "39+15=54", "54/2=27", "94-27=67" ]
Current State: 67:[2, 39, 15, 94], Operations: [] Exploring Operation: 39+15=54, Resulting Numbers: [2, 94, 54] Generated Node #2: [2, 94, 54] from Operation: 39+15=54 Current State: 67:[2, 94, 54], Operations: ['39+15=54'] Exploring Operation: 54/2=27, Resulting Numbers: [94, 27] Generated Node #3: [94, 27] from Operation: 54/2=27 Current State: 67:[94, 27], Operations: ['39+15=54', '54/2=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[2, 39, 15, 94], Operations: [] Exploring Operation: 2*39=78, Resulting Numbers: [15, 94, 78] Generated Node #0,0: 67:[15, 94, 78] Operation: 2*39=78 Exploring Operation: 94/2=47, Resulting Numbers: [39, 15, 47] Generated Node #0,1: 67:[39, 15, 47] Operation: 94/2=47 Exploring Operation: 2*15=30, Resulting Numbers: [39, 94, 30] Generated Node #0,2: 67:[39, 94, 30] Operation: 2*15=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[15, 94, 78], Operations: ['2*39=78'] Exploring Operation: 94-15=79, Resulting Numbers: [78, 79] Generated Node #0,0,0: 67:[78, 79] Operation: 94-15=79 Exploring Operation: 15+94=109, Resulting Numbers: [78, 109] Generated Node #0,0,1: 67:[78, 109] Operation: 15+94=109 Exploring Operation: 78-15=63, Resulting Numbers: [94, 63] Generated Node #0,0,2: 67:[94, 63] Operation: 78-15=63 Moving to Node #0,0,0 Current State: 67:[78, 79], Operations: ['2*39=78', '94-15=79'] Exploring Operation: 78*79=6162, Resulting Numbers: [6162] 6162,67 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[94, 63], Operations: ['2*39=78', '78-15=63'] Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,67 unequal: No Solution Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,67 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[78, 109], Operations: ['2*39=78', '15+94=109'] Exploring Operation: 78+109=187, Resulting Numbers: [187] 187,67 unequal: No Solution Exploring Operation: 109-78=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 78*109=8502, Resulting Numbers: [8502] 8502,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[39, 94, 30], Operations: ['2*15=30'] Exploring Operation: 94-30=64, Resulting Numbers: [39, 64] Generated Node #0,2,0: 67:[39, 64] Operation: 94-30=64 Exploring Operation: 94-39=55, Resulting Numbers: [30, 55] Generated Node #0,2,1: 67:[30, 55] Operation: 94-39=55 Exploring Operation: 39+30=69, Resulting Numbers: [94, 69] Generated Node #0,2,2: 67:[94, 69] Operation: 39+30=69 Moving to Node #0,2,2 Current State: 67:[94, 69], Operations: ['2*15=30', '39+30=69'] Exploring Operation: 94*69=6486, Resulting Numbers: [6486] 6486,67 unequal: No Solution Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 94+69=163, Resulting Numbers: [163] 163,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[39, 64], Operations: ['2*15=30', '94-30=64'] Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,67 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[30, 55], Operations: ['2*15=30', '94-39=55'] Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,67 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[39, 15, 47], Operations: ['94/2=47'] Exploring Operation: 15+47=62, Resulting Numbers: [39, 62] Generated Node #0,1,0: 67:[39, 62] Operation: 15+47=62 Exploring Operation: 39-15=24, Resulting Numbers: [47, 24] Generated Node #0,1,1: 67:[47, 24] Operation: 39-15=24 Exploring Operation: 39+15=54, Resulting Numbers: [47, 54] Generated Node #0,1,2: 67:[47, 54] Operation: 39+15=54 Moving to Node #0,1,0 Current State: 67:[39, 62], Operations: ['94/2=47', '15+47=62'] Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,67 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,67 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[47, 54], Operations: ['94/2=47', '39+15=54'] Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,67 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[47, 24], Operations: ['94/2=47', '39-15=24'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,67 unequal: No Solution Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic