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
[ 45, 41, 94, 82 ]
79
[ "41+94=135", "135/45=3", "82-3=79" ]
Current State: 79:[45, 41, 94, 82], Operations: [] Exploring Operation: 41+94=135, Resulting Numbers: [45, 82, 135] Generated Node #2: [45, 82, 135] from Operation: 41+94=135 Current State: 79:[45, 82, 135], Operations: ['41+94=135'] Exploring Operation: 135/45=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 135/45=3 Current State: 79:[82, 3], Operations: ['41+94=135', '135/45=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[45, 41, 94, 82], Operations: [] Exploring Operation: 45+41=86, Resulting Numbers: [94, 82, 86] Generated Node #0,0: 79:[94, 82, 86] Operation: 45+41=86 Exploring Operation: 94-41=53, Resulting Numbers: [45, 82, 53] Generated Node #0,1: 79:[45, 82, 53] Operation: 94-41=53 Exploring Operation: 94-45=49, Resulting Numbers: [41, 82, 49] Generated Node #0,2: 79:[41, 82, 49] Operation: 94-45=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[94, 82, 86], Operations: ['45+41=86'] Exploring Operation: 94-82=12, Resulting Numbers: [86, 12] Generated Node #0,0,0: 79:[86, 12] Operation: 94-82=12 Exploring Operation: 86-82=4, Resulting Numbers: [94, 4] Generated Node #0,0,1: 79:[94, 4] Operation: 86-82=4 Exploring Operation: 94-86=8, Resulting Numbers: [82, 8] Generated Node #0,0,2: 79:[82, 8] Operation: 94-86=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[86, 12], Operations: ['45+41=86', '94-82=12'] Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 86*12=1032, Resulting Numbers: [1032] 1032,79 unequal: No Solution Exploring Operation: 86+12=98, Resulting Numbers: [98] 98,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[82, 8], Operations: ['45+41=86', '94-86=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,79 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[94, 4], Operations: ['45+41=86', '86-82=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,79 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[45, 82, 53], Operations: ['94-41=53'] Exploring Operation: 82-45=37, Resulting Numbers: [53, 37] Generated Node #0,1,0: 79:[53, 37] Operation: 82-45=37 Exploring Operation: 45+53=98, Resulting Numbers: [82, 98] Generated Node #0,1,1: 79:[82, 98] Operation: 45+53=98 Exploring Operation: 45+82=127, Resulting Numbers: [53, 127] Generated Node #0,1,2: 79:[53, 127] Operation: 45+82=127 Moving to Node #0,1,1 Current State: 79:[82, 98], Operations: ['94-41=53', '45+53=98'] Exploring Operation: 98-82=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 82+98=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 82*98=8036, Resulting Numbers: [8036] 8036,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[53, 37], Operations: ['94-41=53', '82-45=37'] Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,79 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[53, 127], Operations: ['94-41=53', '45+82=127'] Exploring Operation: 127-53=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 53+127=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 53*127=6731, Resulting Numbers: [6731] 6731,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[41, 82, 49], Operations: ['94-45=49'] Exploring Operation: 82-41=41, Resulting Numbers: [49, 41] Generated Node #0,2,0: 79:[49, 41] Operation: 82-41=41 Exploring Operation: 41+49=90, Resulting Numbers: [82, 90] Generated Node #0,2,1: 79:[82, 90] Operation: 41+49=90 Exploring Operation: 41+82=123, Resulting Numbers: [49, 123] Generated Node #0,2,2: 79:[49, 123] Operation: 41+82=123 Moving to Node #0,2,1 Current State: 79:[82, 90], Operations: ['94-45=49', '41+49=90'] Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,79 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,79 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[49, 41], Operations: ['94-45=49', '82-41=41'] Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,79 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[49, 123], Operations: ['94-45=49', '41+82=123'] Exploring Operation: 49*123=6027, Resulting Numbers: [6027] 6027,79 unequal: No Solution Exploring Operation: 123-49=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 49+123=172, Resulting Numbers: [172] 172,79 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
[ 71, 13, 20, 53 ]
15
[ "71-13=58", "20+53=73", "73-58=15" ]
Current State: 15:[71, 13, 20, 53], Operations: [] Exploring Operation: 71-13=58, Resulting Numbers: [20, 53, 58] Generated Node #2: [20, 53, 58] from Operation: 71-13=58 Current State: 15:[20, 53, 58], Operations: ['71-13=58'] Exploring Operation: 20+53=73, Resulting Numbers: [58, 73] Generated Node #3: [58, 73] from Operation: 20+53=73 Current State: 15:[58, 73], Operations: ['71-13=58', '20+53=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[71, 13, 20, 53], Operations: [] Exploring Operation: 71-53=18, Resulting Numbers: [13, 20, 18] Generated Node #0,0: 15:[13, 20, 18] Operation: 71-53=18 Exploring Operation: 71-20=51, Resulting Numbers: [13, 53, 51] Generated Node #0,1: 15:[13, 53, 51] Operation: 71-20=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[13, 20, 18], Operations: ['71-53=18'] Exploring Operation: 20-18=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 15:[13, 2] Operation: 20-18=2 Exploring Operation: 20-13=7, Resulting Numbers: [18, 7] Generated Node #0,0,1: 15:[18, 7] Operation: 20-13=7 Moving to Node #0,0,0 Current State: 15:[13, 2], Operations: ['71-53=18', '20-18=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[71, 13, 20, 53], Operations: [] Exploring Operation: 71-53=18, Resulting Numbers: [13, 20, 18] Generated Node #0,0: 15:[13, 20, 18] Operation: 71-53=18 Moving to Node #0,0 Current State: 15:[13, 20, 18], Operations: ['71-53=18'] Exploring Operation: 20-18=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 15:[13, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 15:[13, 2], Operations: ['71-53=18', '20-18=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 10, 4, 63, 29 ]
28
[ "10-4=6", "63-29=34", "34-6=28" ]
Current State: 28:[10, 4, 63, 29], Operations: [] Exploring Operation: 10-4=6, Resulting Numbers: [63, 29, 6] Generated Node #2: [63, 29, 6] from Operation: 10-4=6 Current State: 28:[63, 29, 6], Operations: ['10-4=6'] Exploring Operation: 63-29=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 63-29=34 Current State: 28:[6, 34], Operations: ['10-4=6', '63-29=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[10, 4, 63, 29], Operations: [] Exploring Operation: 63-4=59, Resulting Numbers: [10, 29, 59] Generated Node #0,0: 28:[10, 29, 59] Operation: 63-4=59 Exploring Operation: 63-29=34, Resulting Numbers: [10, 4, 34] Generated Node #0,1: 28:[10, 4, 34] Operation: 63-29=34 Exploring Operation: 63-10=53, Resulting Numbers: [4, 29, 53] Generated Node #0,2: 28:[4, 29, 53] Operation: 63-10=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[10, 4, 34], Operations: ['63-29=34'] Exploring Operation: 34-10=24, Resulting Numbers: [4, 24] Generated Node #0,1,0: 28:[4, 24] Operation: 34-10=24 Exploring Operation: 34-4=30, Resulting Numbers: [10, 30] Generated Node #0,1,1: 28:[10, 30] Operation: 34-4=30 Exploring Operation: 10+4=14, Resulting Numbers: [34, 14] Generated Node #0,1,2: 28:[34, 14] Operation: 10+4=14 Moving to Node #0,1,0 Current State: 28:[4, 24], Operations: ['63-29=34', '34-10=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[10, 4, 63, 29], Operations: [] Exploring Operation: 63-29=34, Resulting Numbers: [10, 4, 34] Generated Node #0,1: 28:[10, 4, 34] Operation: 63-29=34 Moving to Node #0,1 Current State: 28:[10, 4, 34], Operations: ['63-29=34'] Exploring Operation: 34-10=24, Resulting Numbers: [4, 24] Generated Node #0,1,0: 28:[4, 24] Operation: 34-10=24 Moving to Node #0,1,0 Current State: 28:[4, 24], Operations: ['63-29=34', '34-10=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 49, 54, 15, 85 ]
88
[ "54-49=5", "15/5=3", "85+3=88" ]
Current State: 88:[49, 54, 15, 85], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5] Generated Node #2: [15, 85, 5] from Operation: 54-49=5 Current State: 88:[15, 85, 5], Operations: ['54-49=5'] Exploring Operation: 15/5=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 15/5=3 Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[49, 54, 15, 85], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [49, 85, 39] Generated Node #0,0: 88:[49, 85, 39] Operation: 54-15=39 Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5] Generated Node #0,1: 88:[15, 85, 5] Operation: 54-49=5 Exploring Operation: 49+54=103, Resulting Numbers: [15, 85, 103] Generated Node #0,2: 88:[15, 85, 103] Operation: 49+54=103 Exploring Operation: 85-54=31, Resulting Numbers: [49, 15, 31] Generated Node #0,3: 88:[49, 15, 31] Operation: 85-54=31 Exploring Operation: 85-49=36, Resulting Numbers: [54, 15, 36] Generated Node #0,4: 88:[54, 15, 36] Operation: 85-49=36 Moving to Node #0,1 Current State: 88:[15, 85, 5], Operations: ['54-49=5'] Exploring Operation: 85/5=17, Resulting Numbers: [15, 17] Generated Node #0,1,0: 88:[15, 17] Operation: 85/5=17 Exploring Operation: 15+5=20, Resulting Numbers: [85, 20] Generated Node #0,1,1: 88:[85, 20] Operation: 15+5=20 Exploring Operation: 85+5=90, Resulting Numbers: [15, 90] Generated Node #0,1,2: 88:[15, 90] Operation: 85+5=90 Exploring Operation: 15-5=10, Resulting Numbers: [85, 10] Generated Node #0,1,3: 88:[85, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [85, 3] Generated Node #0,1,4: 88:[85, 3] Operation: 15/5=3 Moving to Node #0,0 Current State: 88:[49, 85, 39], Operations: ['54-15=39'] Exploring Operation: 49+39=88, Resulting Numbers: [85, 88] Generated Node #0,0,0: 88:[85, 88] Operation: 49+39=88 Exploring Operation: 85+39=124, Resulting Numbers: [49, 124] Generated Node #0,0,1: 88:[49, 124] Operation: 85+39=124 Exploring Operation: 49-39=10, Resulting Numbers: [85, 10] Generated Node #0,0,2: 88:[85, 10] Operation: 49-39=10 Exploring Operation: 85-49=36, Resulting Numbers: [39, 36] Generated Node #0,0,3: 88:[39, 36] Operation: 85-49=36 Exploring Operation: 85-39=46, Resulting Numbers: [49, 46] Generated Node #0,0,4: 88:[49, 46] Operation: 85-39=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[85, 88], Operations: ['54-15=39', '49+39=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,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,0,2 Current State: 88:[85, 10], Operations: ['54-15=39', '49-39=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,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,0,4 Current State: 88:[49, 46], Operations: ['54-15=39', '85-39=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,88 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,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,0,3 Current State: 88:[39, 36], Operations: ['54-15=39', '85-49=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,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,0,1 Current State: 88:[49, 124], Operations: ['54-15=39', '85+39=124'] Exploring Operation: 49*124=6076, Resulting Numbers: [6076] 6076,88 unequal: No Solution Exploring Operation: 49+124=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 124-49=75, Resulting Numbers: [75] 75,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:[49, 15, 31], Operations: ['85-54=31'] Exploring Operation: 49+31=80, Resulting Numbers: [15, 80] Generated Node #0,3,0: 88:[15, 80] Operation: 49+31=80 Exploring Operation: 49-31=18, Resulting Numbers: [15, 18] Generated Node #0,3,1: 88:[15, 18] Operation: 49-31=18 Exploring Operation: 49-15=34, Resulting Numbers: [31, 34] Generated Node #0,3,2: 88:[31, 34] Operation: 49-15=34 Exploring Operation: 31-15=16, Resulting Numbers: [49, 16] Generated Node #0,3,3: 88:[49, 16] Operation: 31-15=16 Exploring Operation: 15+31=46, Resulting Numbers: [49, 46] Generated Node #0,3,4: 88:[49, 46] Operation: 15+31=46 Moving to Node #0,2 Current State: 88:[15, 85, 103], Operations: ['49+54=103'] Exploring Operation: 15+85=100, Resulting Numbers: [103, 100] Generated Node #0,2,0: 88:[103, 100] Operation: 15+85=100 Exploring Operation: 15+103=118, Resulting Numbers: [85, 118] Generated Node #0,2,1: 88:[85, 118] Operation: 15+103=118 Exploring Operation: 103-85=18, Resulting Numbers: [15, 18] Generated Node #0,2,2: 88:[15, 18] Operation: 103-85=18 Exploring Operation: 85-15=70, Resulting Numbers: [103, 70] Generated Node #0,2,3: 88:[103, 70] Operation: 85-15=70 Exploring Operation: 103-15=88, Resulting Numbers: [85, 88] Generated Node #0,2,4: 88:[85, 88] Operation: 103-15=88 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[85, 88], Operations: ['49+54=103', '103-15=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,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:[15, 18], Operations: ['49+54=103', '103-85=18'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,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:[103, 100], Operations: ['49+54=103', '15+85=100'] Exploring Operation: 103*100=10300, Resulting Numbers: [10300] 10300,88 unequal: No Solution Exploring Operation: 103-100=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 103+100=203, Resulting Numbers: [203] 203,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:[85, 118], Operations: ['49+54=103', '15+103=118'] Exploring Operation: 85*118=10030, Resulting Numbers: [10030] 10030,88 unequal: No Solution Exploring Operation: 118-85=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 85+118=203, Resulting Numbers: [203] 203,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:[103, 70], Operations: ['49+54=103', '85-15=70'] Exploring Operation: 103+70=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 103*70=7210, Resulting Numbers: [7210] 7210,88 unequal: No Solution Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,88 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: 88:[54, 15, 36], Operations: ['85-49=36'] Exploring Operation: 54-36=18, Resulting Numbers: [15, 18] Generated Node #0,4,0: 88:[15, 18] Operation: 54-36=18 Exploring Operation: 54+36=90, Resulting Numbers: [15, 90] Generated Node #0,4,1: 88:[15, 90] Operation: 54+36=90 Exploring Operation: 36-15=21, Resulting Numbers: [54, 21] Generated Node #0,4,2: 88:[54, 21] Operation: 36-15=21 Exploring Operation: 15+36=51, Resulting Numbers: [54, 51] Generated Node #0,4,3: 88:[54, 51] Operation: 15+36=51 Exploring Operation: 54-15=39, Resulting Numbers: [36, 39] Generated Node #0,4,4: 88:[36, 39] Operation: 54-15=39 Moving to Node #0,1,3 Current State: 88:[85, 10], Operations: ['54-49=5', '15-5=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,88 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[49, 54, 15, 85], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [15, 85, 5] Generated Node #0,1: 88:[15, 85, 5] Operation: 54-49=5 Moving to Node #0,1 Current State: 88:[15, 85, 5], Operations: ['54-49=5'] Exploring Operation: 15/5=3, Resulting Numbers: [85, 3] Generated Node #0,1,4: 88:[85, 3] Operation: 15/5=3 Moving to Node #0,1,4 Current State: 88:[85, 3], Operations: ['54-49=5', '15/5=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.940104
hs_5
sum_heuristic
[ 91, 72, 86, 88 ]
53
[ "88-86=2", "72*2=144", "144-91=53" ]
Current State: 53:[91, 72, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [91, 72, 2] Generated Node #2: [91, 72, 2] from Operation: 88-86=2 Current State: 53:[91, 72, 2], Operations: ['88-86=2'] Exploring Operation: 72*2=144, Resulting Numbers: [91, 144] Generated Node #3: [91, 144] from Operation: 72*2=144 Current State: 53:[91, 144], Operations: ['88-86=2', '72*2=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[91, 72, 86, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [91, 86, 16] Generated Node #0,0: 53:[91, 86, 16] Operation: 88-72=16 Exploring Operation: 91-72=19, Resulting Numbers: [86, 88, 19] Generated Node #0,1: 53:[86, 88, 19] Operation: 91-72=19 Exploring Operation: 91-86=5, Resulting Numbers: [72, 88, 5] Generated Node #0,2: 53:[72, 88, 5] Operation: 91-86=5 Exploring Operation: 91-88=3, Resulting Numbers: [72, 86, 3] Generated Node #0,3: 53:[72, 86, 3] Operation: 91-88=3 Exploring Operation: 88-86=2, Resulting Numbers: [91, 72, 2] Generated Node #0,4: 53:[91, 72, 2] Operation: 88-86=2 Moving to Node #0,1 Current State: 53:[86, 88, 19], Operations: ['91-72=19'] Exploring Operation: 88-19=69, Resulting Numbers: [86, 69] Generated Node #0,1,0: 53:[86, 69] Operation: 88-19=69 Exploring Operation: 86+19=105, Resulting Numbers: [88, 105] Generated Node #0,1,1: 53:[88, 105] Operation: 86+19=105 Exploring Operation: 88-86=2, Resulting Numbers: [19, 2] Generated Node #0,1,2: 53:[19, 2] Operation: 88-86=2 Exploring Operation: 88+19=107, Resulting Numbers: [86, 107] Generated Node #0,1,3: 53:[86, 107] Operation: 88+19=107 Exploring Operation: 86-19=67, Resulting Numbers: [88, 67] Generated Node #0,1,4: 53:[88, 67] Operation: 86-19=67 Moving to Node #0,3 Current State: 53:[72, 86, 3], Operations: ['91-88=3'] Exploring Operation: 86+3=89, Resulting Numbers: [72, 89] Generated Node #0,3,0: 53:[72, 89] Operation: 86+3=89 Exploring Operation: 72-3=69, Resulting Numbers: [86, 69] Generated Node #0,3,1: 53:[86, 69] Operation: 72-3=69 Exploring Operation: 72/3=24, Resulting Numbers: [86, 24] Generated Node #0,3,2: 53:[86, 24] Operation: 72/3=24 Exploring Operation: 86-3=83, Resulting Numbers: [72, 83] Generated Node #0,3,3: 53:[72, 83] Operation: 86-3=83 Exploring Operation: 72+3=75, Resulting Numbers: [86, 75] Generated Node #0,3,4: 53:[86, 75] Operation: 72+3=75 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[86, 69], Operations: ['91-88=3', '72-3=69'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,53 unequal: No Solution Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,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,3 Current State: 53:[72, 83], Operations: ['91-88=3', '86-3=83'] Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,53 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,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,0 Current State: 53:[72, 89], Operations: ['91-88=3', '86+3=89'] Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,53 unequal: No Solution Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,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,4 Current State: 53:[86, 75], Operations: ['91-88=3', '72+3=75'] Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,53 unequal: No Solution Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,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,2 Current State: 53:[86, 24], Operations: ['91-88=3', '72/3=24'] Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,53 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,53 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: 53:[72, 88, 5], Operations: ['91-86=5'] Exploring Operation: 72+5=77, Resulting Numbers: [88, 77] Generated Node #0,2,0: 53:[88, 77] Operation: 72+5=77 Exploring Operation: 88+5=93, Resulting Numbers: [72, 93] Generated Node #0,2,1: 53:[72, 93] Operation: 88+5=93 Exploring Operation: 72-5=67, Resulting Numbers: [88, 67] Generated Node #0,2,2: 53:[88, 67] Operation: 72-5=67 Exploring Operation: 88-72=16, Resulting Numbers: [5, 16] Generated Node #0,2,3: 53:[5, 16] Operation: 88-72=16 Exploring Operation: 88-5=83, Resulting Numbers: [72, 83] Generated Node #0,2,4: 53:[72, 83] Operation: 88-5=83 Moving to Node #0,0 Current State: 53:[91, 86, 16], Operations: ['88-72=16'] Exploring Operation: 91+16=107, Resulting Numbers: [86, 107] Generated Node #0,0,0: 53:[86, 107] Operation: 91+16=107 Exploring Operation: 86+16=102, Resulting Numbers: [91, 102] Generated Node #0,0,1: 53:[91, 102] Operation: 86+16=102 Exploring Operation: 91-86=5, Resulting Numbers: [16, 5] Generated Node #0,0,2: 53:[16, 5] Operation: 91-86=5 Exploring Operation: 91-16=75, Resulting Numbers: [86, 75] Generated Node #0,0,3: 53:[86, 75] Operation: 91-16=75 Exploring Operation: 86-16=70, Resulting Numbers: [91, 70] Generated Node #0,0,4: 53:[91, 70] Operation: 86-16=70 Moving to Node #0,4 Current State: 53:[91, 72, 2], Operations: ['88-86=2'] Exploring Operation: 72-2=70, Resulting Numbers: [91, 70] Generated Node #0,4,0: 53:[91, 70] Operation: 72-2=70 Exploring Operation: 91+2=93, Resulting Numbers: [72, 93] Generated Node #0,4,1: 53:[72, 93] Operation: 91+2=93 Exploring Operation: 72/2=36, Resulting Numbers: [91, 36] Generated Node #0,4,2: 53:[91, 36] Operation: 72/2=36 Exploring Operation: 72+2=74, Resulting Numbers: [91, 74] Generated Node #0,4,3: 53:[91, 74] Operation: 72+2=74 Exploring Operation: 91-2=89, Resulting Numbers: [72, 89] Generated Node #0,4,4: 53:[72, 89] Operation: 91-2=89 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[91, 70], Operations: ['88-86=2', '72-2=70'] Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,53 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,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,2 Current State: 53:[91, 36], Operations: ['88-86=2', '72/2=36'] Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,53 unequal: No Solution Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,53 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,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,4 Current State: 53:[72, 89], Operations: ['88-86=2', '91-2=89'] Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,53 unequal: No Solution Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,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,1 Current State: 53:[72, 93], Operations: ['88-86=2', '91+2=93'] Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,53 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,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,3 Current State: 53:[91, 74], Operations: ['88-86=2', '72+2=74'] Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,53 unequal: No Solution Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,53 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: 53:[86, 69], Operations: ['91-72=19', '88-19=69'] Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[88, 67], Operations: ['91-86=5', '72-5=67'] Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[72, 83], Operations: ['91-86=5', '88-5=83'] Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[88, 67], Operations: ['91-72=19', '86-19=67'] Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,53 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[91, 70], Operations: ['88-72=16', '86-16=70'] Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,53 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,53 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[86, 75], Operations: ['88-72=16', '91-16=75'] Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,53 unequal: No Solution Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,53 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[88, 77], Operations: ['91-86=5', '72+5=77'] Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 88+77=165, Resulting Numbers: [165] 165,53 unequal: No Solution Exploring Operation: 88*77=6776, Resulting Numbers: [6776] 6776,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[72, 93], Operations: ['91-86=5', '88+5=93'] Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,53 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[16, 5], Operations: ['88-72=16', '91-86=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[19, 2], Operations: ['91-72=19', '88-86=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[5, 16], Operations: ['91-86=5', '88-72=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[88, 105], Operations: ['91-72=19', '86+19=105'] Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 88*105=9240, Resulting Numbers: [9240] 9240,53 unequal: No Solution Exploring Operation: 88+105=193, Resulting Numbers: [193] 193,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[86, 107], Operations: ['88-72=16', '91+16=107'] Exploring Operation: 107-86=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 86*107=9202, Resulting Numbers: [9202] 9202,53 unequal: No Solution Exploring Operation: 86+107=193, Resulting Numbers: [193] 193,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[86, 107], Operations: ['91-72=19', '88+19=107'] Exploring Operation: 86*107=9202, Resulting Numbers: [9202] 9202,53 unequal: No Solution Exploring Operation: 86+107=193, Resulting Numbers: [193] 193,53 unequal: No Solution Exploring Operation: 107-86=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[91, 102], Operations: ['88-72=16', '86+16=102'] Exploring Operation: 102-91=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 91+102=193, Resulting Numbers: [193] 193,53 unequal: No Solution Exploring Operation: 91*102=9282, Resulting Numbers: [9282] 9282,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 28, 85, 7, 8 ]
83
[ "28-7=21", "8*21=168", "168-85=83" ]
Current State: 83:[28, 85, 7, 8], Operations: [] Exploring Operation: 28-7=21, Resulting Numbers: [85, 8, 21] Generated Node #2: [85, 8, 21] from Operation: 28-7=21 Current State: 83:[85, 8, 21], Operations: ['28-7=21'] Exploring Operation: 8*21=168, Resulting Numbers: [85, 168] Generated Node #3: [85, 168] from Operation: 8*21=168 Current State: 83:[85, 168], Operations: ['28-7=21', '8*21=168'] Exploring Operation: 168-85=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[28, 85, 7, 8], Operations: [] Exploring Operation: 7*8=56, Resulting Numbers: [28, 85, 56] Generated Node #0,0: 83:[28, 85, 56] Operation: 7*8=56 Moving to Node #0,0 Current State: 83:[28, 85, 56], Operations: ['7*8=56'] Exploring Operation: 28+56=84, Resulting Numbers: [85, 84] Generated Node #0,0,0: 83:[85, 84] Operation: 28+56=84 Moving to Node #0,0,0 Current State: 83:[85, 84], Operations: ['7*8=56', '28+56=84'] Exploring Operation: 85-84=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 33, 57, 94, 97 ]
72
[ "57-33=24", "97-94=3", "24*3=72" ]
Current State: 72:[33, 57, 94, 97], Operations: [] Exploring Operation: 57-33=24, Resulting Numbers: [94, 97, 24] Generated Node #2: [94, 97, 24] from Operation: 57-33=24 Current State: 72:[94, 97, 24], Operations: ['57-33=24'] Exploring Operation: 97-94=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 97-94=3 Current State: 72:[24, 3], Operations: ['57-33=24', '97-94=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[33, 57, 94, 97], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [33, 97, 37] Generated Node #0,0: 72:[33, 97, 37] Operation: 94-57=37 Exploring Operation: 97-33=64, Resulting Numbers: [57, 94, 64] Generated Node #0,1: 72:[57, 94, 64] Operation: 97-33=64 Exploring Operation: 97-94=3, Resulting Numbers: [33, 57, 3] Generated Node #0,2: 72:[33, 57, 3] Operation: 97-94=3 Exploring Operation: 97-57=40, Resulting Numbers: [33, 94, 40] Generated Node #0,3: 72:[33, 94, 40] Operation: 97-57=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[33, 57, 3], Operations: ['97-94=3'] Exploring Operation: 57/3=19, Resulting Numbers: [33, 19] Generated Node #0,2,0: 72:[33, 19] Operation: 57/3=19 Exploring Operation: 57+3=60, Resulting Numbers: [33, 60] Generated Node #0,2,1: 72:[33, 60] Operation: 57+3=60 Exploring Operation: 57-33=24, Resulting Numbers: [3, 24] Generated Node #0,2,2: 72:[3, 24] Operation: 57-33=24 Exploring Operation: 33+3=36, Resulting Numbers: [57, 36] Generated Node #0,2,3: 72:[57, 36] Operation: 33+3=36 Moving to Node #0,2,2 Current State: 72:[3, 24], Operations: ['97-94=3', '57-33=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[33, 57, 94, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [33, 57, 3] Generated Node #0,2: 72:[33, 57, 3] Operation: 97-94=3 Moving to Node #0,2 Current State: 72:[33, 57, 3], Operations: ['97-94=3'] Exploring Operation: 57-33=24, Resulting Numbers: [3, 24] Generated Node #0,2,2: 72:[3, 24] Operation: 57-33=24 Moving to Node #0,2,2 Current State: 72:[3, 24], Operations: ['97-94=3', '57-33=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 20, 3, 76, 14 ]
46
[ "20+76=96", "96/3=32", "14+32=46" ]
Current State: 46:[20, 3, 76, 14], Operations: [] Exploring Operation: 20+76=96, Resulting Numbers: [3, 14, 96] Generated Node #2: [3, 14, 96] from Operation: 20+76=96 Current State: 46:[3, 14, 96], Operations: ['20+76=96'] Exploring Operation: 96/3=32, Resulting Numbers: [14, 32] Generated Node #3: [14, 32] from Operation: 96/3=32 Current State: 46:[14, 32], Operations: ['20+76=96', '96/3=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[20, 3, 76, 14], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [3, 14, 56] Generated Node #0,0: 46:[3, 14, 56] Operation: 76-20=56 Exploring Operation: 20-14=6, Resulting Numbers: [3, 76, 6] Generated Node #0,1: 46:[3, 76, 6] Operation: 20-14=6 Exploring Operation: 76-14=62, Resulting Numbers: [20, 3, 62] Generated Node #0,2: 46:[20, 3, 62] Operation: 76-14=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[3, 14, 56], Operations: ['76-20=56'] Exploring Operation: 56/14=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 46:[3, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 46:[3, 42] Operation: 56-14=42 Exploring Operation: 3*14=42, Resulting Numbers: [56, 42] Generated Node #0,0,2: 46:[56, 42] Operation: 3*14=42 Moving to Node #0,0,0 Current State: 46:[3, 4], Operations: ['76-20=56', '56/14=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[3, 42], Operations: ['76-20=56', '56-14=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[56, 42], Operations: ['76-20=56', '3*14=42'] Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,46 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,46 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[20, 3, 62], Operations: ['76-14=62'] Exploring Operation: 62-20=42, Resulting Numbers: [3, 42] Generated Node #0,2,0: 46:[3, 42] Operation: 62-20=42 Exploring Operation: 20+3=23, Resulting Numbers: [62, 23] Generated Node #0,2,1: 46:[62, 23] Operation: 20+3=23 Exploring Operation: 62-3=59, Resulting Numbers: [20, 59] Generated Node #0,2,2: 46:[20, 59] Operation: 62-3=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[3, 42], Operations: ['76-14=62', '62-20=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,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,2,1 Current State: 46:[62, 23], Operations: ['76-14=62', '20+3=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,46 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,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,2,2 Current State: 46:[20, 59], Operations: ['76-14=62', '62-3=59'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,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,1 Current State: 46:[3, 76, 6], Operations: ['20-14=6'] Exploring Operation: 76-6=70, Resulting Numbers: [3, 70] Generated Node #0,1,0: 46:[3, 70] Operation: 76-6=70 Exploring Operation: 6/3=2, Resulting Numbers: [76, 2] Generated Node #0,1,1: 46:[76, 2] Operation: 6/3=2 Exploring Operation: 76-3=73, Resulting Numbers: [6, 73] Generated Node #0,1,2: 46:[6, 73] Operation: 76-3=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[3, 70], Operations: ['20-14=6', '76-6=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,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:[76, 2], Operations: ['20-14=6', '6/3=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,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:[6, 73], Operations: ['20-14=6', '76-3=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 4, 82, 69, 2 ]
15
[ "4+82=86", "69+2=71", "86-71=15" ]
Current State: 15:[4, 82, 69, 2], Operations: [] Exploring Operation: 4+82=86, Resulting Numbers: [69, 2, 86] Generated Node #2: [69, 2, 86] from Operation: 4+82=86 Current State: 15:[69, 2, 86], Operations: ['4+82=86'] Exploring Operation: 69+2=71, Resulting Numbers: [86, 71] Generated Node #3: [86, 71] from Operation: 69+2=71 Current State: 15:[86, 71], Operations: ['4+82=86', '69+2=71'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[4, 82, 69, 2], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [4, 2, 13] Generated Node #0,0: 15:[4, 2, 13] Operation: 82-69=13 Moving to Node #0,0 Current State: 15:[4, 2, 13], Operations: ['82-69=13'] Exploring Operation: 2+13=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 15:[4, 15] Operation: 2+13=15 Moving to Node #0,0,0 Current State: 15:[4, 15], Operations: ['82-69=13', '2+13=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 35, 4, 45 ]
34
[ "45/15=3", "35-4=31", "3+31=34" ]
Current State: 34:[15, 35, 4, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3] Generated Node #2: [35, 4, 3] from Operation: 45/15=3 Current State: 34:[35, 4, 3], Operations: ['45/15=3'] Exploring Operation: 35-4=31, Resulting Numbers: [3, 31] Generated Node #3: [3, 31] from Operation: 35-4=31 Current State: 34:[3, 31], Operations: ['45/15=3', '35-4=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 35, 4, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3] Generated Node #0,0: 34:[35, 4, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 34:[35, 4, 3], Operations: ['45/15=3'] Exploring Operation: 4-3=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 34:[35, 1] Operation: 4-3=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[35, 1], Operations: ['45/15=3', '4-3=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[15, 35, 4, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [35, 4, 3] Generated Node #0,0: 34:[35, 4, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 34:[35, 4, 3], Operations: ['45/15=3'] Exploring Operation: 4-3=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 34:[35, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 34:[35, 1], Operations: ['45/15=3', '4-3=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 27, 14, 8, 57 ]
14
[ "27+57=84", "14-8=6", "84/6=14" ]
Current State: 14:[27, 14, 8, 57], Operations: [] Exploring Operation: 27+57=84, Resulting Numbers: [14, 8, 84] Generated Node #2: [14, 8, 84] from Operation: 27+57=84 Current State: 14:[14, 8, 84], Operations: ['27+57=84'] Exploring Operation: 14-8=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 14-8=6 Current State: 14:[84, 6], Operations: ['27+57=84', '14-8=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[27, 14, 8, 57], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [14, 8, 30] Generated Node #0,0: 14:[14, 8, 30] Operation: 57-27=30 Moving to Node #0,0 Current State: 14:[14, 8, 30], Operations: ['57-27=30'] Exploring Operation: 30-14=16, Resulting Numbers: [8, 16] Generated Node #0,0,0: 14:[8, 16] Operation: 30-14=16 Moving to Node #0,0,0 Current State: 14:[8, 16], Operations: ['57-27=30', '30-14=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 62, 39, 4, 52 ]
10
[ "62-39=23", "52/4=13", "23-13=10" ]
Current State: 10:[62, 39, 4, 52], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23] Generated Node #2: [4, 52, 23] from Operation: 62-39=23 Current State: 10:[4, 52, 23], Operations: ['62-39=23'] Exploring Operation: 52/4=13, Resulting Numbers: [23, 13] Generated Node #3: [23, 13] from Operation: 52/4=13 Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[62, 39, 4, 52], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23] Generated Node #0,0: 10:[4, 52, 23] Operation: 62-39=23 Exploring Operation: 62-52=10, Resulting Numbers: [39, 4, 10] Generated Node #0,1: 10:[39, 4, 10] Operation: 62-52=10 Moving to Node #0,1 Current State: 10:[39, 4, 10], Operations: ['62-52=10'] Exploring Operation: 39-4=35, Resulting Numbers: [10, 35] Generated Node #0,1,0: 10:[10, 35] Operation: 39-4=35 Exploring Operation: 39-10=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 10:[4, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[4, 29], Operations: ['62-52=10', '39-10=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[10, 35], Operations: ['62-52=10', '39-4=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[4, 52, 23], Operations: ['62-39=23'] Exploring Operation: 52-23=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 10:[4, 29] Operation: 52-23=29 Exploring Operation: 52/4=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 10:[23, 13] Operation: 52/4=13 Moving to Node #0,0,1 Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[62, 39, 4, 52], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [4, 52, 23] Generated Node #0,0: 10:[4, 52, 23] Operation: 62-39=23 Moving to Node #0,0 Current State: 10:[4, 52, 23], Operations: ['62-39=23'] Exploring Operation: 52/4=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 10:[23, 13] Operation: 52/4=13 Moving to Node #0,0,1 Current State: 10:[23, 13], Operations: ['62-39=23', '52/4=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 64, 13, 71, 28 ]
52
[ "71-64=7", "13*28=364", "364/7=52" ]
Current State: 52:[64, 13, 71, 28], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7] Generated Node #2: [13, 28, 7] from Operation: 71-64=7 Current State: 52:[13, 28, 7], Operations: ['71-64=7'] Exploring Operation: 13*28=364, Resulting Numbers: [7, 364] Generated Node #3: [7, 364] from Operation: 13*28=364 Current State: 52:[7, 364], Operations: ['71-64=7', '13*28=364'] Exploring Operation: 364/7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[64, 13, 71, 28], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7] Generated Node #0,0: 52:[13, 28, 7] Operation: 71-64=7 Moving to Node #0,0 Current State: 52:[13, 28, 7], Operations: ['71-64=7'] Exploring Operation: 28/7=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 52:[13, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[13, 4], Operations: ['71-64=7', '28/7=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[64, 13, 71, 28], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [13, 28, 7] Generated Node #0,0: 52:[13, 28, 7] Operation: 71-64=7 Moving to Node #0,0 Current State: 52:[13, 28, 7], Operations: ['71-64=7'] Exploring Operation: 28/7=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 52:[13, 4] Operation: 28/7=4 Moving to Node #0,0,0 Current State: 52:[13, 4], Operations: ['71-64=7', '28/7=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 7, 75, 25 ]
98
[ "75-36=39", "39-25=14", "7*14=98" ]
Current State: 98:[36, 7, 75, 25], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [7, 25, 39] Generated Node #2: [7, 25, 39] from Operation: 75-36=39 Current State: 98:[7, 25, 39], Operations: ['75-36=39'] Exploring Operation: 39-25=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 39-25=14 Current State: 98:[7, 14], Operations: ['75-36=39', '39-25=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[36, 7, 75, 25], Operations: [] Exploring Operation: 75+25=100, Resulting Numbers: [36, 7, 100] Generated Node #0,0: 98:[36, 7, 100] Operation: 75+25=100 Exploring Operation: 75/25=3, Resulting Numbers: [36, 7, 3] Generated Node #0,1: 98:[36, 7, 3] Operation: 75/25=3 Exploring Operation: 75-25=50, Resulting Numbers: [36, 7, 50] Generated Node #0,2: 98:[36, 7, 50] Operation: 75-25=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[36, 7, 3], Operations: ['75/25=3'] Exploring Operation: 36/3=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 98:[7, 12] Operation: 36/3=12 Exploring Operation: 36+3=39, Resulting Numbers: [7, 39] Generated Node #0,1,1: 98:[7, 39] Operation: 36+3=39 Exploring Operation: 36+7=43, Resulting Numbers: [3, 43] Generated Node #0,1,2: 98:[3, 43] Operation: 36+7=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[7, 12], Operations: ['75/25=3', '36/3=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[3, 43], Operations: ['75/25=3', '36+7=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,98 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[7, 39], Operations: ['75/25=3', '36+3=39'] Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,98 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[36, 7, 50], Operations: ['75-25=50'] Exploring Operation: 50-36=14, Resulting Numbers: [7, 14] Generated Node #0,2,0: 98:[7, 14] Operation: 50-36=14 Exploring Operation: 36+7=43, Resulting Numbers: [50, 43] Generated Node #0,2,1: 98:[50, 43] Operation: 36+7=43 Exploring Operation: 36+50=86, Resulting Numbers: [7, 86] Generated Node #0,2,2: 98:[7, 86] Operation: 36+50=86 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[7, 14], Operations: ['75-25=50', '50-36=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[36, 7, 75, 25], Operations: [] Exploring Operation: 75-25=50, Resulting Numbers: [36, 7, 50] Generated Node #0,2: 98:[36, 7, 50] Operation: 75-25=50 Moving to Node #0,2 Current State: 98:[36, 7, 50], Operations: ['75-25=50'] Exploring Operation: 50-36=14, Resulting Numbers: [7, 14] Generated Node #0,2,0: 98:[7, 14] Operation: 50-36=14 Moving to Node #0,2,0 Current State: 98:[7, 14], Operations: ['75-25=50', '50-36=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 84, 15, 86, 89 ]
39
[ "89-86=3", "15*3=45", "84-45=39" ]
Current State: 39:[84, 15, 86, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [84, 15, 3] Generated Node #2: [84, 15, 3] from Operation: 89-86=3 Current State: 39:[84, 15, 3], Operations: ['89-86=3'] Exploring Operation: 15*3=45, Resulting Numbers: [84, 45] Generated Node #3: [84, 45] from Operation: 15*3=45 Current State: 39:[84, 45], Operations: ['89-86=3', '15*3=45'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 15, 86, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [84, 15, 3] Generated Node #0,0: 39:[84, 15, 3] Operation: 89-86=3 Moving to Node #0,0 Current State: 39:[84, 15, 3], Operations: ['89-86=3'] Exploring Operation: 84/3=28, Resulting Numbers: [15, 28] Generated Node #0,0,0: 39:[15, 28] Operation: 84/3=28 Moving to Node #0,0,0 Current State: 39:[15, 28], Operations: ['89-86=3', '84/3=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 1, 63, 87 ]
28
[ "3+1=4", "87-63=24", "4+24=28" ]
Current State: 28:[3, 1, 63, 87], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [63, 87, 4] Generated Node #2: [63, 87, 4] from Operation: 3+1=4 Current State: 28:[63, 87, 4], Operations: ['3+1=4'] Exploring Operation: 87-63=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 87-63=24 Current State: 28:[4, 24], Operations: ['3+1=4', '87-63=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[3, 1, 63, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [3, 1, 24] Generated Node #0,0: 28:[3, 1, 24] Operation: 87-63=24 Exploring Operation: 63/3=21, Resulting Numbers: [1, 87, 21] Generated Node #0,1: 28:[1, 87, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [1, 87, 60] Generated Node #0,2: 28:[1, 87, 60] Operation: 63-3=60 Exploring Operation: 87/3=29, Resulting Numbers: [1, 63, 29] Generated Node #0,3: 28:[1, 63, 29] Operation: 87/3=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[3, 1, 24], Operations: ['87-63=24'] Exploring Operation: 3+1=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 28:[24, 4] Operation: 3+1=4 Exploring Operation: 3+24=27, Resulting Numbers: [1, 27] Generated Node #0,0,1: 28:[1, 27] Operation: 3+24=27 Exploring Operation: 3-1=2, Resulting Numbers: [24, 2] Generated Node #0,0,2: 28:[24, 2] Operation: 3-1=2 Exploring Operation: 24/3=8, Resulting Numbers: [1, 8] Generated Node #0,0,3: 28:[1, 8] Operation: 24/3=8 Moving to Node #0,0,1 Current State: 28:[1, 27], Operations: ['87-63=24', '3+24=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[3, 1, 63, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [3, 1, 24] Generated Node #0,0: 28:[3, 1, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 28:[3, 1, 24], Operations: ['87-63=24'] Exploring Operation: 3+24=27, Resulting Numbers: [1, 27] Generated Node #0,0,1: 28:[1, 27] Operation: 3+24=27 Moving to Node #0,0,1 Current State: 28:[1, 27], Operations: ['87-63=24', '3+24=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 17, 78, 5, 29 ]
27
[ "78-17=61", "5+29=34", "61-34=27" ]
Current State: 27:[17, 78, 5, 29], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [5, 29, 61] Generated Node #2: [5, 29, 61] from Operation: 78-17=61 Current State: 27:[5, 29, 61], Operations: ['78-17=61'] Exploring Operation: 5+29=34, Resulting Numbers: [61, 34] Generated Node #3: [61, 34] from Operation: 5+29=34 Current State: 27:[61, 34], Operations: ['78-17=61', '5+29=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[17, 78, 5, 29], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [78, 29, 12] Generated Node #0,0: 27:[78, 29, 12] Operation: 17-5=12 Exploring Operation: 78-29=49, Resulting Numbers: [17, 5, 49] Generated Node #0,1: 27:[17, 5, 49] Operation: 78-29=49 Exploring Operation: 78-5=73, Resulting Numbers: [17, 29, 73] Generated Node #0,2: 27:[17, 29, 73] Operation: 78-5=73 Exploring Operation: 78-17=61, Resulting Numbers: [5, 29, 61] Generated Node #0,3: 27:[5, 29, 61] Operation: 78-17=61 Exploring Operation: 29-17=12, Resulting Numbers: [78, 5, 12] Generated Node #0,4: 27:[78, 5, 12] Operation: 29-17=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[17, 5, 49], Operations: ['78-29=49'] Exploring Operation: 49-17=32, Resulting Numbers: [5, 32] Generated Node #0,1,0: 27:[5, 32] Operation: 49-17=32 Exploring Operation: 17-5=12, Resulting Numbers: [49, 12] Generated Node #0,1,1: 27:[49, 12] Operation: 17-5=12 Exploring Operation: 5+49=54, Resulting Numbers: [17, 54] Generated Node #0,1,2: 27:[17, 54] Operation: 5+49=54 Exploring Operation: 49-5=44, Resulting Numbers: [17, 44] Generated Node #0,1,3: 27:[17, 44] Operation: 49-5=44 Exploring Operation: 17+5=22, Resulting Numbers: [49, 22] Generated Node #0,1,4: 27:[49, 22] Operation: 17+5=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[5, 32], Operations: ['78-29=49', '49-17=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,27 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[17, 78, 5, 29], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [17, 5, 49] Generated Node #0,1: 27:[17, 5, 49] Operation: 78-29=49 Moving to Node #0,1 Current State: 27:[17, 5, 49], Operations: ['78-29=49'] Exploring Operation: 49-17=32, Resulting Numbers: [5, 32] Generated Node #0,1,0: 27:[5, 32] Operation: 49-17=32 Moving to Node #0,1,0 Current State: 27:[5, 32], Operations: ['78-29=49', '49-17=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 49, 12, 6, 78 ]
50
[ "49-12=37", "78/6=13", "37+13=50" ]
Current State: 50:[49, 12, 6, 78], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [6, 78, 37] Generated Node #2: [6, 78, 37] from Operation: 49-12=37 Current State: 50:[6, 78, 37], Operations: ['49-12=37'] Exploring Operation: 78/6=13, Resulting Numbers: [37, 13] Generated Node #3: [37, 13] from Operation: 78/6=13 Current State: 50:[37, 13], Operations: ['49-12=37', '78/6=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[49, 12, 6, 78], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [49, 6, 66] Generated Node #0,0: 50:[49, 6, 66] Operation: 78-12=66 Exploring Operation: 78-6=72, Resulting Numbers: [49, 12, 72] Generated Node #0,1: 50:[49, 12, 72] Operation: 78-6=72 Exploring Operation: 78-49=29, Resulting Numbers: [12, 6, 29] Generated Node #0,2: 50:[12, 6, 29] Operation: 78-49=29 Exploring Operation: 12/6=2, Resulting Numbers: [49, 78, 2] Generated Node #0,3: 50:[49, 78, 2] Operation: 12/6=2 Exploring Operation: 78/6=13, Resulting Numbers: [49, 12, 13] Generated Node #0,4: 50:[49, 12, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[49, 12, 13], Operations: ['78/6=13'] Exploring Operation: 49-13=36, Resulting Numbers: [12, 36] Generated Node #0,4,0: 50:[12, 36] Operation: 49-13=36 Exploring Operation: 13-12=1, Resulting Numbers: [49, 1] Generated Node #0,4,1: 50:[49, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [49, 25] Generated Node #0,4,2: 50:[49, 25] Operation: 12+13=25 Exploring Operation: 49+12=61, Resulting Numbers: [13, 61] Generated Node #0,4,3: 50:[13, 61] Operation: 49+12=61 Exploring Operation: 49+13=62, Resulting Numbers: [12, 62] Generated Node #0,4,4: 50:[12, 62] Operation: 49+13=62 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 50:[49, 25], Operations: ['78/6=13', '12+13=25'] Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,50 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,50 unequal: No Solution No 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: 50:[49, 1], Operations: ['78/6=13', '13-12=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[49, 12, 6, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [49, 12, 13] Generated Node #0,4: 50:[49, 12, 13] Operation: 78/6=13 Moving to Node #0,4 Current State: 50:[49, 12, 13], Operations: ['78/6=13'] Exploring Operation: 13-12=1, Resulting Numbers: [49, 1] Generated Node #0,4,1: 50:[49, 1] Operation: 13-12=1 Moving to Node #0,4,1 Current State: 50:[49, 1], Operations: ['78/6=13', '13-12=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 80, 24, 59, 12 ]
38
[ "24*59=1416", "1416/12=118", "118-80=38" ]
Current State: 38:[80, 24, 59, 12], Operations: [] Exploring Operation: 24*59=1416, Resulting Numbers: [80, 12, 1416] Generated Node #2: [80, 12, 1416] from Operation: 24*59=1416 Current State: 38:[80, 12, 1416], Operations: ['24*59=1416'] Exploring Operation: 1416/12=118, Resulting Numbers: [80, 118] Generated Node #3: [80, 118] from Operation: 1416/12=118 Current State: 38:[80, 118], Operations: ['24*59=1416', '1416/12=118'] Exploring Operation: 118-80=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[80, 24, 59, 12], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [59, 12, 56] Generated Node #0,0: 38:[59, 12, 56] Operation: 80-24=56 Exploring Operation: 59-24=35, Resulting Numbers: [80, 12, 35] Generated Node #0,1: 38:[80, 12, 35] Operation: 59-24=35 Exploring Operation: 80-12=68, Resulting Numbers: [24, 59, 68] Generated Node #0,2: 38:[24, 59, 68] Operation: 80-12=68 Exploring Operation: 80-59=21, Resulting Numbers: [24, 12, 21] Generated Node #0,3: 38:[24, 12, 21] Operation: 80-59=21 Moving to Node #0,3 Current State: 38:[24, 12, 21], Operations: ['80-59=21'] Exploring Operation: 24-12=12, Resulting Numbers: [21, 12] Generated Node #0,3,0: 38:[21, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [21, 2] Generated Node #0,3,1: 38:[21, 2] Operation: 24/12=2 Exploring Operation: 24-21=3, Resulting Numbers: [12, 3] Generated Node #0,3,2: 38:[12, 3] Operation: 24-21=3 Exploring Operation: 24+12=36, Resulting Numbers: [21, 36] Generated Node #0,3,3: 38:[21, 36] Operation: 24+12=36 Moving to Node #0,0 Current State: 38:[59, 12, 56], Operations: ['80-24=56'] Exploring Operation: 56-12=44, Resulting Numbers: [59, 44] Generated Node #0,0,0: 38:[59, 44] Operation: 56-12=44 Exploring Operation: 59-12=47, Resulting Numbers: [56, 47] Generated Node #0,0,1: 38:[56, 47] Operation: 59-12=47 Exploring Operation: 59-56=3, Resulting Numbers: [12, 3] Generated Node #0,0,2: 38:[12, 3] Operation: 59-56=3 Exploring Operation: 59+12=71, Resulting Numbers: [56, 71] Generated Node #0,0,3: 38:[56, 71] Operation: 59+12=71 Moving to Node #0,1 Current State: 38:[80, 12, 35], Operations: ['59-24=35'] Exploring Operation: 35-12=23, Resulting Numbers: [80, 23] Generated Node #0,1,0: 38:[80, 23] Operation: 35-12=23 Exploring Operation: 80-35=45, Resulting Numbers: [12, 45] Generated Node #0,1,1: 38:[12, 45] Operation: 80-35=45 Exploring Operation: 80-12=68, Resulting Numbers: [35, 68] Generated Node #0,1,2: 38:[35, 68] Operation: 80-12=68 Exploring Operation: 12+35=47, Resulting Numbers: [80, 47] Generated Node #0,1,3: 38:[80, 47] Operation: 12+35=47 Moving to Node #0,2 Current State: 38:[24, 59, 68], Operations: ['80-12=68'] Exploring Operation: 59-24=35, Resulting Numbers: [68, 35] Generated Node #0,2,0: 38:[68, 35] Operation: 59-24=35 Exploring Operation: 24+59=83, Resulting Numbers: [68, 83] Generated Node #0,2,1: 38:[68, 83] Operation: 24+59=83 Exploring Operation: 68-24=44, Resulting Numbers: [59, 44] Generated Node #0,2,2: 38:[59, 44] Operation: 68-24=44 Exploring Operation: 68-59=9, Resulting Numbers: [24, 9] Generated Node #0,2,3: 38:[24, 9] Operation: 68-59=9 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[24, 9], Operations: ['80-12=68', '68-59=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,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,2,2 Current State: 38:[59, 44], Operations: ['80-12=68', '68-24=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,38 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,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,2,0 Current State: 38:[68, 35], Operations: ['80-12=68', '59-24=35'] Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,38 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,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,2,1 Current State: 38:[68, 83], Operations: ['80-12=68', '24+59=83'] Exploring Operation: 68*83=5644, Resulting Numbers: [5644] 5644,38 unequal: No Solution Exploring Operation: 68+83=151, Resulting Numbers: [151] 151,38 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 38:[21, 2], Operations: ['80-59=21', '24/12=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[21, 36], Operations: ['80-59=21', '24+12=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 21*36=756, Resulting Numbers: [756] 756,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[12, 3], Operations: ['80-59=21', '24-21=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[12, 3], Operations: ['80-24=56', '59-56=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[21, 12], Operations: ['80-59=21', '24-12=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,38 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[12, 45], Operations: ['59-24=35', '80-35=45'] Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[56, 47], Operations: ['80-24=56', '59-12=47'] Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,38 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[59, 44], Operations: ['80-24=56', '56-12=44'] Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,38 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[35, 68], Operations: ['59-24=35', '80-12=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,38 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[80, 23], Operations: ['59-24=35', '35-12=23'] Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,38 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[56, 71], Operations: ['80-24=56', '59+12=71'] Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,38 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[80, 47], Operations: ['59-24=35', '12+35=47'] Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,38 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,38 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 6, 8, 31, 69 ]
61
[ "8*69=552", "552/6=92", "92-31=61" ]
Current State: 61:[6, 8, 31, 69], Operations: [] Exploring Operation: 8*69=552, Resulting Numbers: [6, 31, 552] Generated Node #2: [6, 31, 552] from Operation: 8*69=552 Current State: 61:[6, 31, 552], Operations: ['8*69=552'] Exploring Operation: 552/6=92, Resulting Numbers: [31, 92] Generated Node #3: [31, 92] from Operation: 552/6=92 Current State: 61:[31, 92], Operations: ['8*69=552', '552/6=92'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[6, 8, 31, 69], Operations: [] Exploring Operation: 6+8=14, Resulting Numbers: [31, 69, 14] Generated Node #0,0: 61:[31, 69, 14] Operation: 6+8=14 Exploring Operation: 6+31=37, Resulting Numbers: [8, 69, 37] Generated Node #0,1: 61:[8, 69, 37] Operation: 6+31=37 Exploring Operation: 6*8=48, Resulting Numbers: [31, 69, 48] Generated Node #0,2: 61:[31, 69, 48] Operation: 6*8=48 Moving to Node #0,2 Current State: 61:[31, 69, 48], Operations: ['6*8=48'] Exploring Operation: 69-31=38, Resulting Numbers: [48, 38] Generated Node #0,2,0: 61:[48, 38] Operation: 69-31=38 Exploring Operation: 31+69=100, Resulting Numbers: [48, 100] Generated Node #0,2,1: 61:[48, 100] Operation: 31+69=100 Exploring Operation: 31+48=79, Resulting Numbers: [69, 79] Generated Node #0,2,2: 61:[69, 79] Operation: 31+48=79 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[69, 79], Operations: ['6*8=48', '31+48=79'] Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,61 unequal: No Solution Exploring Operation: 69*79=5451, Resulting Numbers: [5451] 5451,61 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[48, 38], Operations: ['6*8=48', '69-31=38'] Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,61 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[48, 100], Operations: ['6*8=48', '31+69=100'] Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,61 unequal: No Solution Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[31, 69, 14], Operations: ['6+8=14'] Exploring Operation: 31-14=17, Resulting Numbers: [69, 17] Generated Node #0,0,0: 61:[69, 17] Operation: 31-14=17 Exploring Operation: 69-14=55, Resulting Numbers: [31, 55] Generated Node #0,0,1: 61:[31, 55] Operation: 69-14=55 Exploring Operation: 31+14=45, Resulting Numbers: [69, 45] Generated Node #0,0,2: 61:[69, 45] Operation: 31+14=45 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[69, 45], Operations: ['6+8=14', '31+14=45'] Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,61 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[31, 55], Operations: ['6+8=14', '69-14=55'] Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,61 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[69, 17], Operations: ['6+8=14', '31-14=17'] Exploring Operation: 69*17=1173, Resulting Numbers: [1173] 1173,61 unequal: No Solution Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[8, 69, 37], Operations: ['6+31=37'] Exploring Operation: 8+37=45, Resulting Numbers: [69, 45] Generated Node #0,1,0: 61:[69, 45] Operation: 8+37=45 Exploring Operation: 8+69=77, Resulting Numbers: [37, 77] Generated Node #0,1,1: 61:[37, 77] Operation: 8+69=77 Exploring Operation: 69-8=61, Resulting Numbers: [37, 61] Generated Node #0,1,2: 61:[37, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[69, 45], Operations: ['6+31=37', '8+37=45'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[37, 61], Operations: ['6+31=37', '69-8=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,61 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[37, 77], Operations: ['6+31=37', '8+69=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,61 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,61 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
[ 97, 14, 13, 9 ]
100
[ "14+13=27", "27/9=3", "97+3=100" ]
Current State: 100:[97, 14, 13, 9], Operations: [] Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27] Generated Node #2: [97, 9, 27] from Operation: 14+13=27 Current State: 100:[97, 9, 27], Operations: ['14+13=27'] Exploring Operation: 27/9=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 27/9=3 Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[97, 14, 13, 9], Operations: [] Exploring Operation: 14+9=23, Resulting Numbers: [97, 13, 23] Generated Node #0,0: 100:[97, 13, 23] Operation: 14+9=23 Exploring Operation: 14-9=5, Resulting Numbers: [97, 13, 5] Generated Node #0,1: 100:[97, 13, 5] Operation: 14-9=5 Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27] Generated Node #0,2: 100:[97, 9, 27] Operation: 14+13=27 Exploring Operation: 13-9=4, Resulting Numbers: [97, 14, 4] Generated Node #0,3: 100:[97, 14, 4] Operation: 13-9=4 Exploring Operation: 14-13=1, Resulting Numbers: [97, 9, 1] Generated Node #0,4: 100:[97, 9, 1] Operation: 14-13=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[97, 9, 1], Operations: ['14-13=1'] Exploring Operation: 9*1=9, Resulting Numbers: [97, 9] Generated Node #0,4,0: 100:[97, 9] Operation: 9*1=9 Exploring Operation: 9+1=10, Resulting Numbers: [97, 10] Generated Node #0,4,1: 100:[97, 10] Operation: 9+1=10 Exploring Operation: 97*1=97, Resulting Numbers: [9, 97] Generated Node #0,4,2: 100:[9, 97] Operation: 97*1=97 Exploring Operation: 97/1=97, Resulting Numbers: [9, 97] Generated Node #0,4,3: 100:[9, 97] Operation: 97/1=97 Exploring Operation: 97+1=98, Resulting Numbers: [9, 98] Generated Node #0,4,4: 100:[9, 98] Operation: 97+1=98 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 100:[97, 10], Operations: ['14-13=1', '9+1=10'] Exploring Operation: 97*10=970, Resulting Numbers: [970] 970,100 unequal: No Solution Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 100:[9, 98], Operations: ['14-13=1', '97+1=98'] Exploring Operation: 9+98=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 9*98=882, Resulting Numbers: [882] 882,100 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[97, 9], Operations: ['14-13=1', '9*1=9'] Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,100 unequal: No Solution Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 100:[9, 97], Operations: ['14-13=1', '97*1=97'] Exploring Operation: 9+97=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 9*97=873, Resulting Numbers: [873] 873,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 100:[9, 97], Operations: ['14-13=1', '97/1=97'] Exploring Operation: 9*97=873, Resulting Numbers: [873] 873,100 unequal: No Solution Exploring Operation: 9+97=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[97, 13, 5], Operations: ['14-9=5'] Exploring Operation: 13-5=8, Resulting Numbers: [97, 8] Generated Node #0,1,0: 100:[97, 8] Operation: 13-5=8 Exploring Operation: 13+5=18, Resulting Numbers: [97, 18] Generated Node #0,1,1: 100:[97, 18] Operation: 13+5=18 Exploring Operation: 97+13=110, Resulting Numbers: [5, 110] Generated Node #0,1,2: 100:[5, 110] Operation: 97+13=110 Exploring Operation: 97+5=102, Resulting Numbers: [13, 102] Generated Node #0,1,3: 100:[13, 102] Operation: 97+5=102 Exploring Operation: 97-5=92, Resulting Numbers: [13, 92] Generated Node #0,1,4: 100:[13, 92] Operation: 97-5=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[97, 8], Operations: ['14-9=5', '13-5=8'] Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,100 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[97, 18], Operations: ['14-9=5', '13+5=18'] Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,100 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[13, 102], Operations: ['14-9=5', '97+5=102'] Exploring Operation: 13*102=1326, Resulting Numbers: [1326] 1326,100 unequal: No Solution Exploring Operation: 13+102=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 102-13=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[5, 110], Operations: ['14-9=5', '97+13=110'] Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 5*110=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 100:[13, 92], Operations: ['14-9=5', '97-5=92'] Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,100 unequal: No Solution Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[97, 9, 27], Operations: ['14+13=27'] Exploring Operation: 9+27=36, Resulting Numbers: [97, 36] Generated Node #0,2,0: 100:[97, 36] Operation: 9+27=36 Exploring Operation: 97-9=88, Resulting Numbers: [27, 88] Generated Node #0,2,1: 100:[27, 88] Operation: 97-9=88 Exploring Operation: 27/9=3, Resulting Numbers: [97, 3] Generated Node #0,2,2: 100:[97, 3] Operation: 27/9=3 Exploring Operation: 97+9=106, Resulting Numbers: [27, 106] Generated Node #0,2,3: 100:[27, 106] Operation: 97+9=106 Exploring Operation: 27-9=18, Resulting Numbers: [97, 18] Generated Node #0,2,4: 100:[97, 18] Operation: 27-9=18 Moving to Node #0,2,2 Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,100 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[97, 14, 13, 9], Operations: [] Exploring Operation: 14+13=27, Resulting Numbers: [97, 9, 27] Generated Node #0,2: 100:[97, 9, 27] Operation: 14+13=27 Moving to Node #0,2 Current State: 100:[97, 9, 27], Operations: ['14+13=27'] Exploring Operation: 27/9=3, Resulting Numbers: [97, 3] Generated Node #0,2,2: 100:[97, 3] Operation: 27/9=3 Moving to Node #0,2,2 Current State: 100:[97, 3], Operations: ['14+13=27', '27/9=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
sum_heuristic
[ 49, 38, 81, 4 ]
42
[ "49+38=87", "81+87=168", "168/4=42" ]
Current State: 42:[49, 38, 81, 4], Operations: [] Exploring Operation: 49+38=87, Resulting Numbers: [81, 4, 87] Generated Node #2: [81, 4, 87] from Operation: 49+38=87 Current State: 42:[81, 4, 87], Operations: ['49+38=87'] Exploring Operation: 81+87=168, Resulting Numbers: [4, 168] Generated Node #3: [4, 168] from Operation: 81+87=168 Current State: 42:[4, 168], Operations: ['49+38=87', '81+87=168'] Exploring Operation: 168/4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[49, 38, 81, 4], Operations: [] Exploring Operation: 81-38=43, Resulting Numbers: [49, 4, 43] Generated Node #0,0: 42:[49, 4, 43] Operation: 81-38=43 Moving to Node #0,0 Current State: 42:[49, 4, 43], Operations: ['81-38=43'] Exploring Operation: 49-43=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 42:[4, 6] Operation: 49-43=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[4, 6], Operations: ['81-38=43', '49-43=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,42 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
[ 47, 28, 25, 79 ]
82
[ "47+28=75", "75/25=3", "79+3=82" ]
Current State: 82:[47, 28, 25, 79], Operations: [] Exploring Operation: 47+28=75, Resulting Numbers: [25, 79, 75] Generated Node #2: [25, 79, 75] from Operation: 47+28=75 Current State: 82:[25, 79, 75], Operations: ['47+28=75'] Exploring Operation: 75/25=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 75/25=3 Current State: 82:[79, 3], Operations: ['47+28=75', '75/25=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[47, 28, 25, 79], Operations: [] Exploring Operation: 28+25=53, Resulting Numbers: [47, 79, 53] Generated Node #0,0: 82:[47, 79, 53] Operation: 28+25=53 Exploring Operation: 28-25=3, Resulting Numbers: [47, 79, 3] Generated Node #0,1: 82:[47, 79, 3] Operation: 28-25=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[47, 79, 3], Operations: ['28-25=3'] Exploring Operation: 47-3=44, Resulting Numbers: [79, 44] Generated Node #0,1,0: 82:[79, 44] Operation: 47-3=44 Exploring Operation: 79+3=82, Resulting Numbers: [47, 82] Generated Node #0,1,1: 82:[47, 82] Operation: 79+3=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[79, 44], Operations: ['28-25=3', '47-3=44'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,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,1,1 Current State: 82:[47, 82], Operations: ['28-25=3', '79+3=82'] Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,82 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,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,0 Current State: 82:[47, 79, 53], Operations: ['28+25=53'] Exploring Operation: 79-47=32, Resulting Numbers: [53, 32] Generated Node #0,0,0: 82:[53, 32] Operation: 79-47=32 Exploring Operation: 53-47=6, Resulting Numbers: [79, 6] Generated Node #0,0,1: 82:[79, 6] Operation: 53-47=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[79, 6], Operations: ['28+25=53', '53-47=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,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:[53, 32], Operations: ['28+25=53', '79-47=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,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 No solution found.
0
hs_2
mult_heuristic
[ 49, 13, 37, 52 ]
47
[ "49+13=62", "52-37=15", "62-15=47" ]
Current State: 47:[49, 13, 37, 52], Operations: [] Exploring Operation: 49+13=62, Resulting Numbers: [37, 52, 62] Generated Node #2: [37, 52, 62] from Operation: 49+13=62 Current State: 47:[37, 52, 62], Operations: ['49+13=62'] Exploring Operation: 52-37=15, Resulting Numbers: [62, 15] Generated Node #3: [62, 15] from Operation: 52-37=15 Current State: 47:[62, 15], Operations: ['49+13=62', '52-37=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[49, 13, 37, 52], Operations: [] Exploring Operation: 49+13=62, Resulting Numbers: [37, 52, 62] Generated Node #0,0: 47:[37, 52, 62] Operation: 49+13=62 Exploring Operation: 13+37=50, Resulting Numbers: [49, 52, 50] Generated Node #0,1: 47:[49, 52, 50] Operation: 13+37=50 Exploring Operation: 49-13=36, Resulting Numbers: [37, 52, 36] Generated Node #0,2: 47:[37, 52, 36] Operation: 49-13=36 Exploring Operation: 52-13=39, Resulting Numbers: [49, 37, 39] Generated Node #0,3: 47:[49, 37, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[49, 52, 50], Operations: ['13+37=50'] Exploring Operation: 52-50=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 47:[49, 2] Operation: 52-50=2 Exploring Operation: 52-49=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 47:[50, 3] Operation: 52-49=3 Exploring Operation: 50-49=1, Resulting Numbers: [52, 1] Generated Node #0,1,2: 47:[52, 1] Operation: 50-49=1 Exploring Operation: 49+52=101, Resulting Numbers: [50, 101] Generated Node #0,1,3: 47:[50, 101] Operation: 49+52=101 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[49, 2], Operations: ['13+37=50', '52-50=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[49, 13, 37, 52], Operations: [] Exploring Operation: 13+37=50, Resulting Numbers: [49, 52, 50] Generated Node #0,1: 47:[49, 52, 50] Operation: 13+37=50 Moving to Node #0,1 Current State: 47:[49, 52, 50], Operations: ['13+37=50'] Exploring Operation: 52-50=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 47:[49, 2] Operation: 52-50=2 Moving to Node #0,1,0 Current State: 47:[49, 2], Operations: ['13+37=50', '52-50=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 9, 21, 36, 21 ]
63
[ "21-9=12", "36*21=756", "756/12=63" ]
Current State: 63:[9, 21, 36, 21], Operations: [] Exploring Operation: 21-9=12, Resulting Numbers: [36, 12] Generated Node #2: [36, 12] from Operation: 21-9=12 Current State: 63:[36, 12], Operations: ['21-9=12'] Exploring Operation: 36*21=756, Resulting Numbers: [12, 756] Generated Node #3: [12, 756] from Operation: 36*21=756 Current State: 63:[12, 756], Operations: ['21-9=12', '36*21=756'] Exploring Operation: 756/12=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[9, 21, 36, 21], Operations: [] Exploring Operation: 21+36=57, Resulting Numbers: [9, 21, 57] Generated Node #0,0: 63:[9, 21, 57] Operation: 21+36=57 Exploring Operation: 36/9=4, Resulting Numbers: [21, 21, 4] Generated Node #0,1: 63:[21, 21, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [21, 21, 27] Generated Node #0,2: 63:[21, 21, 27] Operation: 36-9=27 Exploring Operation: 36-21=15, Resulting Numbers: [9, 21, 15] Generated Node #0,3: 63:[9, 21, 15] Operation: 36-21=15 Moving to Node #0,1 Current State: 63:[21, 21, 4], Operations: ['36/9=4'] Exploring Operation: 21/21=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 63:[4, 1] Operation: 21/21=1 Exploring Operation: 21-21=0, Resulting Numbers: [4, 0] Generated Node #0,1,1: 63:[4, 0] Operation: 21-21=0 Exploring Operation: 21+4=25, Resulting Numbers: [21, 25] Generated Node #0,1,2: 63:[21, 25] Operation: 21+4=25 Exploring Operation: 21-4=17, Resulting Numbers: [21, 17] Generated Node #0,1,3: 63:[21, 17] Operation: 21-4=17 Moving to Node #0,2 Current State: 63:[21, 21, 27], Operations: ['36-9=27'] Exploring Operation: 27-21=6, Resulting Numbers: [21, 6] Generated Node #0,2,0: 63:[21, 6] Operation: 27-21=6 Exploring Operation: 21/21=1, Resulting Numbers: [27, 1] Generated Node #0,2,1: 63:[27, 1] Operation: 21/21=1 Exploring Operation: 21-21=0, Resulting Numbers: [27, 0] Generated Node #0,2,2: 63:[27, 0] Operation: 21-21=0 Exploring Operation: 27-21=6, Resulting Numbers: [21, 6] Generated Node #0,2,3: 63:[21, 6] Operation: 27-21=6 Moving to Node #0,0 Current State: 63:[9, 21, 57], Operations: ['21+36=57'] Exploring Operation: 9+57=66, Resulting Numbers: [21, 66] Generated Node #0,0,0: 63:[21, 66] Operation: 9+57=66 Exploring Operation: 57-9=48, Resulting Numbers: [21, 48] Generated Node #0,0,1: 63:[21, 48] Operation: 57-9=48 Exploring Operation: 9+21=30, Resulting Numbers: [57, 30] Generated Node #0,0,2: 63:[57, 30] Operation: 9+21=30 Exploring Operation: 21-9=12, Resulting Numbers: [57, 12] Generated Node #0,0,3: 63:[57, 12] Operation: 21-9=12 Moving to Node #0,3 Current State: 63:[9, 21, 15], Operations: ['36-21=15'] Exploring Operation: 21-9=12, Resulting Numbers: [15, 12] Generated Node #0,3,0: 63:[15, 12] Operation: 21-9=12 Exploring Operation: 9+15=24, Resulting Numbers: [21, 24] Generated Node #0,3,1: 63:[21, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [21, 6] Generated Node #0,3,2: 63:[21, 6] Operation: 15-9=6 Exploring Operation: 21-15=6, Resulting Numbers: [9, 6] Generated Node #0,3,3: 63:[9, 6] Operation: 21-15=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[21, 6], Operations: ['36-21=15', '15-9=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,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,3,3 Current State: 63:[9, 6], Operations: ['36-21=15', '21-15=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,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,3,1 Current State: 63:[21, 24], Operations: ['36-21=15', '9+15=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,63 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[15, 12], Operations: ['36-21=15', '21-9=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,63 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 63:[21, 6], Operations: ['36-9=27', '27-21=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,63 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[21, 6], Operations: ['36-9=27', '27-21=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[4, 1], Operations: ['36/9=4', '21/21=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[21, 66], Operations: ['21+36=57', '9+57=66'] Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 21*66=1386, Resulting Numbers: [1386] 1386,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[21, 25], Operations: ['36/9=4', '21+4=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,63 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[4, 0], Operations: ['36/9=4', '21-21=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[21, 17], Operations: ['36/9=4', '21-4=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,63 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[27, 1], Operations: ['36-9=27', '21/21=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[57, 12], Operations: ['21+36=57', '21-9=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,63 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[27, 0], Operations: ['36-9=27', '21-21=0'] Exploring Operation: 27*0=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 27-0=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[21, 48], Operations: ['21+36=57', '57-9=48'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,63 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[57, 30], Operations: ['21+36=57', '9+21=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,63 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 6, 35, 77 ]
44
[ "26*6=156", "35+77=112", "156-112=44" ]
Current State: 44:[26, 6, 35, 77], Operations: [] Exploring Operation: 26*6=156, Resulting Numbers: [35, 77, 156] Generated Node #2: [35, 77, 156] from Operation: 26*6=156 Current State: 44:[35, 77, 156], Operations: ['26*6=156'] Exploring Operation: 35+77=112, Resulting Numbers: [156, 112] Generated Node #3: [156, 112] from Operation: 35+77=112 Current State: 44:[156, 112], Operations: ['26*6=156', '35+77=112'] Exploring Operation: 156-112=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[26, 6, 35, 77], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [26, 6, 42] Generated Node #0,0: 44:[26, 6, 42] Operation: 77-35=42 Moving to Node #0,0 Current State: 44:[26, 6, 42], Operations: ['77-35=42'] Exploring Operation: 26-6=20, Resulting Numbers: [42, 20] Generated Node #0,0,0: 44:[42, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[42, 20], Operations: ['77-35=42', '26-6=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,44 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
[ 28, 83, 62, 52 ]
59
[ "83-28=55", "62+52=114", "114-55=59" ]
Current State: 59:[28, 83, 62, 52], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55] Generated Node #2: [62, 52, 55] from Operation: 83-28=55 Current State: 59:[62, 52, 55], Operations: ['83-28=55'] Exploring Operation: 62+52=114, Resulting Numbers: [55, 114] Generated Node #3: [55, 114] from Operation: 62+52=114 Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[28, 83, 62, 52], Operations: [] Exploring Operation: 28+52=80, Resulting Numbers: [83, 62, 80] Generated Node #0,0: 59:[83, 62, 80] Operation: 28+52=80 Exploring Operation: 62-28=34, Resulting Numbers: [83, 52, 34] Generated Node #0,1: 59:[83, 52, 34] Operation: 62-28=34 Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55] Generated Node #0,2: 59:[62, 52, 55] Operation: 83-28=55 Moving to Node #0,2 Current State: 59:[62, 52, 55], Operations: ['83-28=55'] Exploring Operation: 62+52=114, Resulting Numbers: [55, 114] Generated Node #0,2,0: 59:[55, 114] Operation: 62+52=114 Exploring Operation: 52+55=107, Resulting Numbers: [62, 107] Generated Node #0,2,1: 59:[62, 107] Operation: 52+55=107 Exploring Operation: 62-52=10, Resulting Numbers: [55, 10] Generated Node #0,2,2: 59:[55, 10] Operation: 62-52=10 Moving to Node #0,0 Current State: 59:[83, 62, 80], Operations: ['28+52=80'] Exploring Operation: 83-80=3, Resulting Numbers: [62, 3] Generated Node #0,0,0: 59:[62, 3] Operation: 83-80=3 Exploring Operation: 80-62=18, Resulting Numbers: [83, 18] Generated Node #0,0,1: 59:[83, 18] Operation: 80-62=18 Exploring Operation: 83-62=21, Resulting Numbers: [80, 21] Generated Node #0,0,2: 59:[80, 21] Operation: 83-62=21 Moving to Node #0,1 Current State: 59:[83, 52, 34], Operations: ['62-28=34'] Exploring Operation: 83-52=31, Resulting Numbers: [34, 31] Generated Node #0,1,0: 59:[34, 31] Operation: 83-52=31 Exploring Operation: 52+34=86, Resulting Numbers: [83, 86] Generated Node #0,1,1: 59:[83, 86] Operation: 52+34=86 Exploring Operation: 83-34=49, Resulting Numbers: [52, 49] Generated Node #0,1,2: 59:[52, 49] Operation: 83-34=49 Moving to Node #0,1,2 Current State: 59:[52, 49], Operations: ['62-28=34', '83-34=49'] Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,59 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[62, 107], Operations: ['83-28=55', '52+55=107'] Exploring Operation: 62*107=6634, Resulting Numbers: [6634] 6634,59 unequal: No Solution Exploring Operation: 62+107=169, Resulting Numbers: [169] 169,59 unequal: No Solution Exploring Operation: 107-62=45, Resulting Numbers: [45] 45,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[83, 86], Operations: ['62-28=34', '52+34=86'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,59 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[34, 31], Operations: ['62-28=34', '83-52=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,59 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[55, 10], Operations: ['83-28=55', '62-52=10'] Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,59 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,59 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[28, 83, 62, 52], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [62, 52, 55] Generated Node #0,2: 59:[62, 52, 55] Operation: 83-28=55 Moving to Node #0,2 Current State: 59:[62, 52, 55], Operations: ['83-28=55'] Exploring Operation: 62+52=114, Resulting Numbers: [55, 114] Generated Node #0,2,0: 59:[55, 114] Operation: 62+52=114 Moving to Node #0,2,0 Current State: 59:[55, 114], Operations: ['83-28=55', '62+52=114'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.972222
hs_3
sum_heuristic
[ 44, 11, 72, 48 ]
79
[ "44+11=55", "72-48=24", "55+24=79" ]
Current State: 79:[44, 11, 72, 48], Operations: [] Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55] Generated Node #2: [72, 48, 55] from Operation: 44+11=55 Current State: 79:[72, 48, 55], Operations: ['44+11=55'] Exploring Operation: 72-48=24, Resulting Numbers: [55, 24] Generated Node #3: [55, 24] from Operation: 72-48=24 Current State: 79:[55, 24], Operations: ['44+11=55', '72-48=24'] Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[44, 11, 72, 48], Operations: [] Exploring Operation: 11+72=83, Resulting Numbers: [44, 48, 83] Generated Node #0,0: 79:[44, 48, 83] Operation: 11+72=83 Exploring Operation: 44-11=33, Resulting Numbers: [72, 48, 33] Generated Node #0,1: 79:[72, 48, 33] Operation: 44-11=33 Exploring Operation: 11+48=59, Resulting Numbers: [44, 72, 59] Generated Node #0,2: 79:[44, 72, 59] Operation: 11+48=59 Exploring Operation: 72-11=61, Resulting Numbers: [44, 48, 61] Generated Node #0,3: 79:[44, 48, 61] Operation: 72-11=61 Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55] Generated Node #0,4: 79:[72, 48, 55] Operation: 44+11=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[44, 72, 59], Operations: ['11+48=59'] Exploring Operation: 44+59=103, Resulting Numbers: [72, 103] Generated Node #0,2,0: 79:[72, 103] Operation: 44+59=103 Exploring Operation: 72-44=28, Resulting Numbers: [59, 28] Generated Node #0,2,1: 79:[59, 28] Operation: 72-44=28 Exploring Operation: 72+59=131, Resulting Numbers: [44, 131] Generated Node #0,2,2: 79:[44, 131] Operation: 72+59=131 Exploring Operation: 44+72=116, Resulting Numbers: [59, 116] Generated Node #0,2,3: 79:[59, 116] Operation: 44+72=116 Exploring Operation: 59-44=15, Resulting Numbers: [72, 15] Generated Node #0,2,4: 79:[72, 15] Operation: 59-44=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[72, 103], Operations: ['11+48=59', '44+59=103'] Exploring Operation: 72*103=7416, Resulting Numbers: [7416] 7416,79 unequal: No Solution Exploring Operation: 72+103=175, Resulting Numbers: [175] 175,79 unequal: No Solution Exploring Operation: 103-72=31, Resulting Numbers: [31] 31,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[59, 116], Operations: ['11+48=59', '44+72=116'] Exploring Operation: 116-59=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 59+116=175, Resulting Numbers: [175] 175,79 unequal: No Solution Exploring Operation: 59*116=6844, Resulting Numbers: [6844] 6844,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[59, 28], Operations: ['11+48=59', '72-44=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 79:[72, 15], Operations: ['11+48=59', '59-44=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,79 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[44, 131], Operations: ['11+48=59', '72+59=131'] Exploring Operation: 44*131=5764, Resulting Numbers: [5764] 5764,79 unequal: No Solution Exploring Operation: 44+131=175, Resulting Numbers: [175] 175,79 unequal: No Solution Exploring Operation: 131-44=87, Resulting Numbers: [87] 87,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[72, 48, 55], Operations: ['44+11=55'] Exploring Operation: 48+55=103, Resulting Numbers: [72, 103] Generated Node #0,4,0: 79:[72, 103] Operation: 48+55=103 Exploring Operation: 72+55=127, Resulting Numbers: [48, 127] Generated Node #0,4,1: 79:[48, 127] Operation: 72+55=127 Exploring Operation: 72+48=120, Resulting Numbers: [55, 120] Generated Node #0,4,2: 79:[55, 120] Operation: 72+48=120 Exploring Operation: 55-48=7, Resulting Numbers: [72, 7] Generated Node #0,4,3: 79:[72, 7] Operation: 55-48=7 Exploring Operation: 72-48=24, Resulting Numbers: [55, 24] Generated Node #0,4,4: 79:[55, 24] Operation: 72-48=24 Moving to Node #0,4,0 Current State: 79:[72, 103], Operations: ['44+11=55', '48+55=103'] Exploring Operation: 103-72=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 72*103=7416, Resulting Numbers: [7416] 7416,79 unequal: No Solution Exploring Operation: 72+103=175, Resulting Numbers: [175] 175,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[55, 120], Operations: ['44+11=55', '72+48=120'] Exploring Operation: 55*120=6600, Resulting Numbers: [6600] 6600,79 unequal: No Solution Exploring Operation: 120-55=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 55+120=175, Resulting Numbers: [175] 175,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[48, 127], Operations: ['44+11=55', '72+55=127'] Exploring Operation: 48*127=6096, Resulting Numbers: [6096] 6096,79 unequal: No Solution Exploring Operation: 48+127=175, Resulting Numbers: [175] 175,79 unequal: No Solution Exploring Operation: 127-48=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[44, 11, 72, 48], Operations: [] Exploring Operation: 44+11=55, Resulting Numbers: [72, 48, 55] Generated Node #0,4: 79:[72, 48, 55] Operation: 44+11=55 Moving to Node #0,4 Current State: 79:[72, 48, 55], Operations: ['44+11=55'] Exploring Operation: 72+55=127, Resulting Numbers: [48, 127] Generated Node #0,4,1: 79:[48, 127] Operation: 72+55=127 Moving to Node #0,4,1 Current State: 79:[48, 127], Operations: ['44+11=55', '72+55=127'] Exploring Operation: 127-48=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 53, 2, 5, 45 ]
86
[ "5*45=225", "225-53=172", "172/2=86" ]
Current State: 86:[53, 2, 5, 45], Operations: [] Exploring Operation: 5*45=225, Resulting Numbers: [53, 2, 225] Generated Node #2: [53, 2, 225] from Operation: 5*45=225 Current State: 86:[53, 2, 225], Operations: ['5*45=225'] Exploring Operation: 225-53=172, Resulting Numbers: [2, 172] Generated Node #3: [2, 172] from Operation: 225-53=172 Current State: 86:[2, 172], Operations: ['5*45=225', '225-53=172'] Exploring Operation: 172/2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[53, 2, 5, 45], Operations: [] Exploring Operation: 53-45=8, Resulting Numbers: [2, 5, 8] Generated Node #0,0: 86:[2, 5, 8] Operation: 53-45=8 Exploring Operation: 53-2=51, Resulting Numbers: [5, 45, 51] Generated Node #0,1: 86:[5, 45, 51] Operation: 53-2=51 Exploring Operation: 53-5=48, Resulting Numbers: [2, 45, 48] Generated Node #0,2: 86:[2, 45, 48] Operation: 53-5=48 Moving to Node #0,2 Current State: 86:[2, 45, 48], Operations: ['53-5=48'] Exploring Operation: 48-45=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 86:[2, 3] Operation: 48-45=3 Exploring Operation: 48-2=46, Resulting Numbers: [45, 46] Generated Node #0,2,1: 86:[45, 46] Operation: 48-2=46 Exploring Operation: 45-2=43, Resulting Numbers: [48, 43] Generated Node #0,2,2: 86:[48, 43] Operation: 45-2=43 Moving to Node #0,0 Current State: 86:[2, 5, 8], Operations: ['53-45=8'] Exploring Operation: 8/2=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 86:[5, 4] Operation: 8/2=4 Exploring Operation: 5*8=40, Resulting Numbers: [2, 40] Generated Node #0,0,1: 86:[2, 40] Operation: 5*8=40 Exploring Operation: 8-5=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 86:[2, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[2, 3], Operations: ['53-45=8', '8-5=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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:[2, 40], Operations: ['53-45=8', '5*8=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[5, 4], Operations: ['53-45=8', '8/2=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,86 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: 86:[5, 45, 51], Operations: ['53-2=51'] Exploring Operation: 51-45=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 86:[5, 6] Operation: 51-45=6 Exploring Operation: 45-5=40, Resulting Numbers: [51, 40] Generated Node #0,1,1: 86:[51, 40] Operation: 45-5=40 Exploring Operation: 51-5=46, Resulting Numbers: [45, 46] Generated Node #0,1,2: 86:[45, 46] Operation: 51-5=46 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[45, 46], Operations: ['53-2=51', '51-5=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[5, 6], Operations: ['53-2=51', '51-45=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[51, 40], Operations: ['53-2=51', '45-5=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,86 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 86:[2, 3], Operations: ['53-5=48', '48-45=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[45, 46], Operations: ['53-5=48', '48-2=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,86 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[48, 43], Operations: ['53-5=48', '45-2=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,86 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,86 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 87, 55, 97, 41 ]
87
[ "97-55=42", "42-41=1", "87*1=87" ]
Current State: 87:[87, 55, 97, 41], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [87, 41, 42] Generated Node #2: [87, 41, 42] from Operation: 97-55=42 Current State: 87:[87, 41, 42], Operations: ['97-55=42'] Exploring Operation: 42-41=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 42-41=1 Current State: 87:[87, 1], Operations: ['97-55=42', '42-41=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[87, 55, 97, 41], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [55, 41, 10] Generated Node #0,0: 87:[55, 41, 10] Operation: 97-87=10 Exploring Operation: 55-41=14, Resulting Numbers: [87, 97, 14] Generated Node #0,1: 87:[87, 97, 14] Operation: 55-41=14 Exploring Operation: 55+41=96, Resulting Numbers: [87, 97, 96] Generated Node #0,2: 87:[87, 97, 96] Operation: 55+41=96 Exploring Operation: 87-55=32, Resulting Numbers: [97, 41, 32] Generated Node #0,3: 87:[97, 41, 32] Operation: 87-55=32 Exploring Operation: 97-55=42, Resulting Numbers: [87, 41, 42] Generated Node #0,4: 87:[87, 41, 42] Operation: 97-55=42 Moving to Node #0,2 Current State: 87:[87, 97, 96], Operations: ['55+41=96'] Exploring Operation: 97-87=10, Resulting Numbers: [96, 10] Generated Node #0,2,0: 87:[96, 10] Operation: 97-87=10 Exploring Operation: 96-87=9, Resulting Numbers: [97, 9] Generated Node #0,2,1: 87:[97, 9] Operation: 96-87=9 Exploring Operation: 87+96=183, Resulting Numbers: [97, 183] Generated Node #0,2,2: 87:[97, 183] Operation: 87+96=183 Exploring Operation: 97-96=1, Resulting Numbers: [87, 1] Generated Node #0,2,3: 87:[87, 1] Operation: 97-96=1 Exploring Operation: 87+97=184, Resulting Numbers: [96, 184] Generated Node #0,2,4: 87:[96, 184] Operation: 87+97=184 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[87, 1], Operations: ['55+41=96', '97-96=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[87, 55, 97, 41], Operations: [] Exploring Operation: 55+41=96, Resulting Numbers: [87, 97, 96] Generated Node #0,2: 87:[87, 97, 96] Operation: 55+41=96 Moving to Node #0,2 Current State: 87:[87, 97, 96], Operations: ['55+41=96'] Exploring Operation: 97-96=1, Resulting Numbers: [87, 1] Generated Node #0,2,3: 87:[87, 1] Operation: 97-96=1 Moving to Node #0,2,3 Current State: 87:[87, 1], Operations: ['55+41=96', '97-96=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 2, 83, 88, 80 ]
94
[ "83-80=3", "2*3=6", "88+6=94" ]
Current State: 94:[2, 83, 88, 80], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [2, 88, 3] Generated Node #2: [2, 88, 3] from Operation: 83-80=3 Current State: 94:[2, 88, 3], Operations: ['83-80=3'] Exploring Operation: 2*3=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 2*3=6 Current State: 94:[88, 6], Operations: ['83-80=3', '2*3=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 83, 88, 80], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [2, 80, 5] Generated Node #0,0: 94:[2, 80, 5] Operation: 88-83=5 Exploring Operation: 83-80=3, Resulting Numbers: [2, 88, 3] Generated Node #0,1: 94:[2, 88, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[2, 88, 3], Operations: ['83-80=3'] Exploring Operation: 88/2=44, Resulting Numbers: [3, 44] Generated Node #0,1,0: 94:[3, 44] Operation: 88/2=44 Exploring Operation: 88+3=91, Resulting Numbers: [2, 91] Generated Node #0,1,1: 94:[2, 91] Operation: 88+3=91 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[2, 91], Operations: ['83-80=3', '88+3=91'] Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[3, 44], Operations: ['83-80=3', '88/2=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[2, 80, 5], Operations: ['88-83=5'] Exploring Operation: 80+5=85, Resulting Numbers: [2, 85] Generated Node #0,0,0: 94:[2, 85] Operation: 80+5=85 Exploring Operation: 80/2=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 94:[5, 40] Operation: 80/2=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[2, 85], Operations: ['88-83=5', '80+5=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[5, 40], Operations: ['88-83=5', '80/2=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 46, 10, 27 ]
10
[ "2*27=54", "46+54=100", "100/10=10" ]
Current State: 10:[2, 46, 10, 27], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [46, 10, 54] Generated Node #2: [46, 10, 54] from Operation: 2*27=54 Current State: 10:[46, 10, 54], Operations: ['2*27=54'] Exploring Operation: 46+54=100, Resulting Numbers: [10, 100] Generated Node #3: [10, 100] from Operation: 46+54=100 Current State: 10:[10, 100], Operations: ['2*27=54', '46+54=100'] Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[2, 46, 10, 27], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [2, 10, 19] Generated Node #0,0: 10:[2, 10, 19] Operation: 46-27=19 Exploring Operation: 46/2=23, Resulting Numbers: [10, 27, 23] Generated Node #0,1: 10:[10, 27, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[2, 10, 19], Operations: ['46-27=19'] Exploring Operation: 19-2=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 10:[10, 17] Operation: 19-2=17 Exploring Operation: 19-10=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 10:[2, 9] Operation: 19-10=9 Moving to Node #0,0,1 Current State: 10:[2, 9], Operations: ['46-27=19', '19-10=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[10, 17], Operations: ['46-27=19', '19-2=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[10, 27, 23], Operations: ['46/2=23'] Exploring Operation: 27-23=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 10:[10, 4] Operation: 27-23=4 Exploring Operation: 27-10=17, Resulting Numbers: [23, 17] Generated Node #0,1,1: 10:[23, 17] Operation: 27-10=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[10, 4], Operations: ['46/2=23', '27-23=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[23, 17], Operations: ['46/2=23', '27-10=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 54, 27, 5, 2 ]
65
[ "27-5=22", "22/2=11", "54+11=65" ]
Current State: 65:[54, 27, 5, 2], Operations: [] Exploring Operation: 27-5=22, Resulting Numbers: [54, 2, 22] Generated Node #2: [54, 2, 22] from Operation: 27-5=22 Current State: 65:[54, 2, 22], Operations: ['27-5=22'] Exploring Operation: 22/2=11, Resulting Numbers: [54, 11] Generated Node #3: [54, 11] from Operation: 22/2=11 Current State: 65:[54, 11], Operations: ['27-5=22', '22/2=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 27, 5, 2], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [5, 2, 27] Generated Node #0,0: 65:[5, 2, 27] Operation: 54-27=27 Exploring Operation: 54+27=81, Resulting Numbers: [5, 2, 81] Generated Node #0,1: 65:[5, 2, 81] Operation: 54+27=81 Exploring Operation: 54/27=2, Resulting Numbers: [5, 2, 2] Generated Node #0,2: 65:[5, 2, 2] Operation: 54/27=2 Moving to Node #0,2 Current State: 65:[5, 2, 2], Operations: ['54/27=2'] Exploring Operation: 2+2=4, Resulting Numbers: [5, 4] Generated Node #0,2,0: 65:[5, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [5, 4] Generated Node #0,2,1: 65:[5, 4] Operation: 2*2=4 Exploring Operation: 2/2=1, Resulting Numbers: [5, 1] Generated Node #0,2,2: 65:[5, 1] Operation: 2/2=1 Moving to Node #0,0 Current State: 65:[5, 2, 27], Operations: ['54-27=27'] Exploring Operation: 27-2=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 65:[5, 25] Operation: 27-2=25 Exploring Operation: 2*27=54, Resulting Numbers: [5, 54] Generated Node #0,0,1: 65:[5, 54] Operation: 2*27=54 Exploring Operation: 27-5=22, Resulting Numbers: [2, 22] Generated Node #0,0,2: 65:[2, 22] Operation: 27-5=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[5, 54], Operations: ['54-27=27', '2*27=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,65 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[5, 25], Operations: ['54-27=27', '27-2=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[2, 22], Operations: ['54-27=27', '27-5=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,65 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: 65:[5, 2, 81], Operations: ['54+27=81'] Exploring Operation: 81-5=76, Resulting Numbers: [2, 76] Generated Node #0,1,0: 65:[2, 76] Operation: 81-5=76 Exploring Operation: 5+2=7, Resulting Numbers: [81, 7] Generated Node #0,1,1: 65:[81, 7] Operation: 5+2=7 Exploring Operation: 81-2=79, Resulting Numbers: [5, 79] Generated Node #0,1,2: 65:[5, 79] Operation: 81-2=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[2, 76], Operations: ['54+27=81', '81-5=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,65 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[5, 79], Operations: ['54+27=81', '81-2=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,65 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[81, 7], Operations: ['54+27=81', '5+2=7'] Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,65 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,65 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 65:[5, 4], Operations: ['54/27=2', '2+2=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[5, 4], Operations: ['54/27=2', '2*2=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[5, 1], Operations: ['54/27=2', '2/2=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 46, 78, 39, 41 ]
23
[ "78-39=39", "41-39=2", "46/2=23" ]
Current State: 23:[46, 78, 39, 41], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [46, 41, 39] Generated Node #2: [46, 41, 39] from Operation: 78-39=39 Current State: 23:[46, 41, 39], Operations: ['78-39=39'] Exploring Operation: 41-39=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 41-39=2 Current State: 23:[46, 2], Operations: ['78-39=39', '41-39=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[46, 78, 39, 41], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [46, 39, 37] Generated Node #0,0: 23:[46, 39, 37] Operation: 78-41=37 Exploring Operation: 78-46=32, Resulting Numbers: [39, 41, 32] Generated Node #0,1: 23:[39, 41, 32] Operation: 78-46=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[39, 41, 32], Operations: ['78-46=32'] Exploring Operation: 41-32=9, Resulting Numbers: [39, 9] Generated Node #0,1,0: 23:[39, 9] Operation: 41-32=9 Exploring Operation: 41-39=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 23:[32, 2] Operation: 41-39=2 Moving to Node #0,1,0 Current State: 23:[39, 9], Operations: ['78-46=32', '41-32=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[32, 2], Operations: ['78-46=32', '41-39=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[46, 39, 37], Operations: ['78-41=37'] Exploring Operation: 46-39=7, Resulting Numbers: [37, 7] Generated Node #0,0,0: 23:[37, 7] Operation: 46-39=7 Exploring Operation: 46-37=9, Resulting Numbers: [39, 9] Generated Node #0,0,1: 23:[39, 9] Operation: 46-37=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[37, 7], Operations: ['78-41=37', '46-39=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,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,0,1 Current State: 23:[39, 9], Operations: ['78-41=37', '46-37=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 56, 98, 59, 32 ]
52
[ "59+32=91", "56*91=5096", "5096/98=52" ]
Current State: 52:[56, 98, 59, 32], Operations: [] Exploring Operation: 59+32=91, Resulting Numbers: [56, 98, 91] Generated Node #2: [56, 98, 91] from Operation: 59+32=91 Current State: 52:[56, 98, 91], Operations: ['59+32=91'] Exploring Operation: 56*91=5096, Resulting Numbers: [98, 5096] Generated Node #3: [98, 5096] from Operation: 56*91=5096 Current State: 52:[98, 5096], Operations: ['59+32=91', '56*91=5096'] Exploring Operation: 5096/98=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[56, 98, 59, 32], Operations: [] Exploring Operation: 98-56=42, Resulting Numbers: [59, 32, 42] Generated Node #0,0: 52:[59, 32, 42] Operation: 98-56=42 Moving to Node #0,0 Current State: 52:[59, 32, 42], Operations: ['98-56=42'] Exploring Operation: 59-42=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 52:[32, 17] Operation: 59-42=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[32, 17], Operations: ['98-56=42', '59-42=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 69, 71, 96 ]
50
[ "96/2=48", "71-69=2", "48+2=50" ]
Current State: 50:[2, 69, 71, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48] Generated Node #2: [69, 71, 48] from Operation: 96/2=48 Current State: 50:[69, 71, 48], Operations: ['96/2=48'] Exploring Operation: 71-69=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 71-69=2 Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[2, 69, 71, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48] Generated Node #0,0: 50:[69, 71, 48] Operation: 96/2=48 Exploring Operation: 71-69=2, Resulting Numbers: [2, 96, 2] Generated Node #0,1: 50:[2, 96, 2] Operation: 71-69=2 Exploring Operation: 96-71=25, Resulting Numbers: [2, 69, 25] Generated Node #0,2: 50:[2, 69, 25] Operation: 96-71=25 Exploring Operation: 96-69=27, Resulting Numbers: [2, 71, 27] Generated Node #0,3: 50:[2, 71, 27] Operation: 96-69=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[2, 69, 25], Operations: ['96-71=25'] Exploring Operation: 2+69=71, Resulting Numbers: [25, 71] Generated Node #0,2,0: 50:[25, 71] Operation: 2+69=71 Exploring Operation: 69-2=67, Resulting Numbers: [25, 67] Generated Node #0,2,1: 50:[25, 67] Operation: 69-2=67 Exploring Operation: 69-25=44, Resulting Numbers: [2, 44] Generated Node #0,2,2: 50:[2, 44] Operation: 69-25=44 Exploring Operation: 2*25=50, Resulting Numbers: [69, 50] Generated Node #0,2,3: 50:[69, 50] Operation: 2*25=50 Moving to Node #0,2,2 Current State: 50:[2, 44], Operations: ['96-71=25', '69-25=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[25, 67], Operations: ['96-71=25', '69-2=67'] Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,50 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[69, 50], Operations: ['96-71=25', '2*25=50'] Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 69*50=3450, Resulting Numbers: [3450] 3450,50 unequal: No Solution Exploring Operation: 69+50=119, Resulting Numbers: [119] 119,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[25, 71], Operations: ['96-71=25', '2+69=71'] Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,50 unequal: No Solution No 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: 50:[2, 71, 27], Operations: ['96-69=27'] Exploring Operation: 27-2=25, Resulting Numbers: [71, 25] Generated Node #0,3,0: 50:[71, 25] Operation: 27-2=25 Exploring Operation: 71-2=69, Resulting Numbers: [27, 69] Generated Node #0,3,1: 50:[27, 69] Operation: 71-2=69 Exploring Operation: 2+71=73, Resulting Numbers: [27, 73] Generated Node #0,3,2: 50:[27, 73] Operation: 2+71=73 Exploring Operation: 71-27=44, Resulting Numbers: [2, 44] Generated Node #0,3,3: 50:[2, 44] Operation: 71-27=44 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[2, 44], Operations: ['96-69=27', '71-27=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,50 unequal: No Solution No 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: 50:[71, 25], Operations: ['96-69=27', '27-2=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,50 unequal: No Solution No 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: 50:[27, 69], Operations: ['96-69=27', '71-2=69'] Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,50 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,50 unequal: No Solution No 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: 50:[27, 73], Operations: ['96-69=27', '2+71=73'] Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,50 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,50 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,50 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: 50:[69, 71, 48], Operations: ['96/2=48'] Exploring Operation: 71-69=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 50:[48, 2] Operation: 71-69=2 Exploring Operation: 71-48=23, Resulting Numbers: [69, 23] Generated Node #0,0,1: 50:[69, 23] Operation: 71-48=23 Exploring Operation: 69-48=21, Resulting Numbers: [71, 21] Generated Node #0,0,2: 50:[71, 21] Operation: 69-48=21 Exploring Operation: 69+48=117, Resulting Numbers: [71, 117] Generated Node #0,0,3: 50:[71, 117] Operation: 69+48=117 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[2, 69, 71, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [69, 71, 48] Generated Node #0,0: 50:[69, 71, 48] Operation: 96/2=48 Moving to Node #0,0 Current State: 50:[69, 71, 48], Operations: ['96/2=48'] Exploring Operation: 71-69=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 50:[48, 2] Operation: 71-69=2 Moving to Node #0,0,0 Current State: 50:[48, 2], Operations: ['96/2=48', '71-69=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 41, 12, 12, 51 ]
34
[ "41-12=29", "12+51=63", "63-29=34" ]
Current State: 34:[41, 12, 12, 51], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [51, 29] Generated Node #2: [51, 29] from Operation: 41-12=29 Current State: 34:[51, 29], Operations: ['41-12=29'] Exploring Operation: 12+51=63, Resulting Numbers: [29, 63] Generated Node #3: [29, 63] from Operation: 12+51=63 Current State: 34:[29, 63], Operations: ['41-12=29', '12+51=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[41, 12, 12, 51], Operations: [] Exploring Operation: 51-12=39, Resulting Numbers: [41, 12, 39] Generated Node #0,0: 34:[41, 12, 39] Operation: 51-12=39 Exploring Operation: 12/12=1, Resulting Numbers: [41, 51, 1] Generated Node #0,1: 34:[41, 51, 1] Operation: 12/12=1 Exploring Operation: 51-12=39, Resulting Numbers: [41, 12, 39] Generated Node #0,2: 34:[41, 12, 39] Operation: 51-12=39 Exploring Operation: 51-41=10, Resulting Numbers: [12, 12, 10] Generated Node #0,3: 34:[12, 12, 10] Operation: 51-41=10 Exploring Operation: 12-12=0, Resulting Numbers: [41, 51, 0] Generated Node #0,4: 34:[41, 51, 0] Operation: 12-12=0 Moving to Node #0,0 Current State: 34:[41, 12, 39], Operations: ['51-12=39'] Exploring Operation: 41-39=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 34:[12, 2] Operation: 41-39=2 Exploring Operation: 41-12=29, Resulting Numbers: [39, 29] Generated Node #0,0,1: 34:[39, 29] Operation: 41-12=29 Exploring Operation: 12+39=51, Resulting Numbers: [41, 51] Generated Node #0,0,2: 34:[41, 51] Operation: 12+39=51 Exploring Operation: 41+12=53, Resulting Numbers: [39, 53] Generated Node #0,0,3: 34:[39, 53] Operation: 41+12=53 Exploring Operation: 39-12=27, Resulting Numbers: [41, 27] Generated Node #0,0,4: 34:[41, 27] Operation: 39-12=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[12, 2], Operations: ['51-12=39', '41-39=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[39, 29], Operations: ['51-12=39', '41-12=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,34 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[41, 27], Operations: ['51-12=39', '39-12=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,34 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[41, 51], Operations: ['51-12=39', '12+39=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[39, 53], Operations: ['51-12=39', '41+12=53'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,34 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,34 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: 34:[12, 12, 10], Operations: ['51-41=10'] Exploring Operation: 12-12=0, Resulting Numbers: [10, 0] Generated Node #0,3,0: 34:[10, 0] Operation: 12-12=0 Exploring Operation: 12-10=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 34:[12, 2] Operation: 12-10=2 Exploring Operation: 12+10=22, Resulting Numbers: [12, 22] Generated Node #0,3,2: 34:[12, 22] Operation: 12+10=22 Exploring Operation: 12/12=1, Resulting Numbers: [10, 1] Generated Node #0,3,3: 34:[10, 1] Operation: 12/12=1 Exploring Operation: 12-10=2, Resulting Numbers: [12, 2] Generated Node #0,3,4: 34:[12, 2] Operation: 12-10=2 Moving to Node #0,2 Current State: 34:[41, 12, 39], Operations: ['51-12=39'] Exploring Operation: 41+12=53, Resulting Numbers: [39, 53] Generated Node #0,2,0: 34:[39, 53] Operation: 41+12=53 Exploring Operation: 41-12=29, Resulting Numbers: [39, 29] Generated Node #0,2,1: 34:[39, 29] Operation: 41-12=29 Exploring Operation: 39-12=27, Resulting Numbers: [41, 27] Generated Node #0,2,2: 34:[41, 27] Operation: 39-12=27 Exploring Operation: 12+39=51, Resulting Numbers: [41, 51] Generated Node #0,2,3: 34:[41, 51] Operation: 12+39=51 Exploring Operation: 41-39=2, Resulting Numbers: [12, 2] Generated Node #0,2,4: 34:[12, 2] Operation: 41-39=2 Moving to Node #0,1 Current State: 34:[41, 51, 1], Operations: ['12/12=1'] Exploring Operation: 41/1=41, Resulting Numbers: [51, 41] Generated Node #0,1,0: 34:[51, 41] Operation: 41/1=41 Exploring Operation: 41*1=41, Resulting Numbers: [51, 41] Generated Node #0,1,1: 34:[51, 41] Operation: 41*1=41 Exploring Operation: 41-1=40, Resulting Numbers: [51, 40] Generated Node #0,1,2: 34:[51, 40] Operation: 41-1=40 Exploring Operation: 51-1=50, Resulting Numbers: [41, 50] Generated Node #0,1,3: 34:[41, 50] Operation: 51-1=50 Exploring Operation: 51-41=10, Resulting Numbers: [1, 10] Generated Node #0,1,4: 34:[1, 10] Operation: 51-41=10 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 34:[1, 10], Operations: ['12/12=1', '51-41=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[51, 40], Operations: ['12/12=1', '41-1=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,34 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[41, 50], Operations: ['12/12=1', '51-1=50'] Exploring Operation: 41*50=2050, Resulting Numbers: [2050] 2050,34 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[51, 41], Operations: ['12/12=1', '41/1=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,34 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[51, 41], Operations: ['12/12=1', '41*1=41'] Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,34 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,34 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: 34:[41, 51, 0], Operations: ['12-12=0'] Exploring Operation: 41*0=0, Resulting Numbers: [51, 0] Generated Node #0,4,0: 34:[51, 0] Operation: 41*0=0 Exploring Operation: 51*0=0, Resulting Numbers: [41, 0] Generated Node #0,4,1: 34:[41, 0] Operation: 51*0=0 Exploring Operation: 41+0=41, Resulting Numbers: [51, 41] Generated Node #0,4,2: 34:[51, 41] Operation: 41+0=41 Exploring Operation: 51-41=10, Resulting Numbers: [0, 10] Generated Node #0,4,3: 34:[0, 10] Operation: 51-41=10 Exploring Operation: 41-0=41, Resulting Numbers: [51, 41] Generated Node #0,4,4: 34:[51, 41] Operation: 41-0=41 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[41, 0], Operations: ['12-12=0', '51*0=0'] Exploring Operation: 41*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 41-0=41, Resulting Numbers: [41] 41,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[0, 10], Operations: ['12-12=0', '51-41=10'] Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 0+10=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 0*10=0, Resulting Numbers: [0] 0,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[51, 0], Operations: ['12-12=0', '41*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 51-0=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 51*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[51, 41], Operations: ['12-12=0', '41+0=41'] Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,34 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[51, 41], Operations: ['12-12=0', '41-0=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,34 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 34:[12, 2], Operations: ['51-41=10', '12-10=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[12, 2], Operations: ['51-12=39', '41-39=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[12, 2], Operations: ['51-41=10', '12-10=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[10, 1], Operations: ['51-41=10', '12/12=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[10, 0], Operations: ['51-41=10', '12-12=0'] Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[39, 29], Operations: ['51-12=39', '41-12=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[12, 22], Operations: ['51-41=10', '12+10=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[41, 12, 12, 51], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [12, 12, 10] Generated Node #0,3: 34:[12, 12, 10] Operation: 51-41=10 Moving to Node #0,3 Current State: 34:[12, 12, 10], Operations: ['51-41=10'] Exploring Operation: 12+10=22, Resulting Numbers: [12, 22] Generated Node #0,3,2: 34:[12, 22] Operation: 12+10=22 Moving to Node #0,3,2 Current State: 34:[12, 22], Operations: ['51-41=10', '12+10=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.909722
hs_5
sum_heuristic
[ 5, 86, 36, 26 ]
88
[ "36-26=10", "10/5=2", "86+2=88" ]
Current State: 88:[5, 86, 36, 26], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10] Generated Node #2: [5, 86, 10] from Operation: 36-26=10 Current State: 88:[5, 86, 10], Operations: ['36-26=10'] Exploring Operation: 10/5=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 10/5=2 Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 86, 36, 26], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10] Generated Node #0,0: 88:[5, 86, 10] Operation: 36-26=10 Moving to Node #0,0 Current State: 88:[5, 86, 10], Operations: ['36-26=10'] Exploring Operation: 10/5=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 88:[86, 2] Operation: 10/5=2 Moving to Node #0,0,0 Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[5, 86, 36, 26], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [5, 86, 10] Generated Node #0,0: 88:[5, 86, 10] Operation: 36-26=10 Moving to Node #0,0 Current State: 88:[5, 86, 10], Operations: ['36-26=10'] Exploring Operation: 10/5=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 88:[86, 2] Operation: 10/5=2 Moving to Node #0,0,0 Current State: 88:[86, 2], Operations: ['36-26=10', '10/5=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 35, 76, 56, 33 ]
94
[ "35-33=2", "76/2=38", "56+38=94" ]
Current State: 94:[35, 76, 56, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2] Generated Node #2: [76, 56, 2] from Operation: 35-33=2 Current State: 94:[76, 56, 2], Operations: ['35-33=2'] Exploring Operation: 76/2=38, Resulting Numbers: [56, 38] Generated Node #3: [56, 38] from Operation: 76/2=38 Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38'] Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[35, 76, 56, 33], Operations: [] Exploring Operation: 76-35=41, Resulting Numbers: [56, 33, 41] Generated Node #0,0: 94:[56, 33, 41] Operation: 76-35=41 Exploring Operation: 35+56=91, Resulting Numbers: [76, 33, 91] Generated Node #0,1: 94:[76, 33, 91] Operation: 35+56=91 Exploring Operation: 56+33=89, Resulting Numbers: [35, 76, 89] Generated Node #0,2: 94:[35, 76, 89] Operation: 56+33=89 Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2] Generated Node #0,3: 94:[76, 56, 2] Operation: 35-33=2 Exploring Operation: 76-33=43, Resulting Numbers: [35, 56, 43] Generated Node #0,4: 94:[35, 56, 43] Operation: 76-33=43 Moving to Node #0,4 Current State: 94:[35, 56, 43], Operations: ['76-33=43'] Exploring Operation: 56-43=13, Resulting Numbers: [35, 13] Generated Node #0,4,0: 94:[35, 13] Operation: 56-43=13 Exploring Operation: 56+43=99, Resulting Numbers: [35, 99] Generated Node #0,4,1: 94:[35, 99] Operation: 56+43=99 Exploring Operation: 43-35=8, Resulting Numbers: [56, 8] Generated Node #0,4,2: 94:[56, 8] Operation: 43-35=8 Exploring Operation: 35+56=91, Resulting Numbers: [43, 91] Generated Node #0,4,3: 94:[43, 91] Operation: 35+56=91 Exploring Operation: 56-35=21, Resulting Numbers: [43, 21] Generated Node #0,4,4: 94:[43, 21] Operation: 56-35=21 Moving to Node #0,3 Current State: 94:[76, 56, 2], Operations: ['35-33=2'] Exploring Operation: 76-2=74, Resulting Numbers: [56, 74] Generated Node #0,3,0: 94:[56, 74] Operation: 76-2=74 Exploring Operation: 76-56=20, Resulting Numbers: [2, 20] Generated Node #0,3,1: 94:[2, 20] Operation: 76-56=20 Exploring Operation: 56-2=54, Resulting Numbers: [76, 54] Generated Node #0,3,2: 94:[76, 54] Operation: 56-2=54 Exploring Operation: 76/2=38, Resulting Numbers: [56, 38] Generated Node #0,3,3: 94:[56, 38] Operation: 76/2=38 Exploring Operation: 76+2=78, Resulting Numbers: [56, 78] Generated Node #0,3,4: 94:[56, 78] Operation: 76+2=78 Moving to Node #0,0 Current State: 94:[56, 33, 41], Operations: ['76-35=41'] Exploring Operation: 56-33=23, Resulting Numbers: [41, 23] Generated Node #0,0,0: 94:[41, 23] Operation: 56-33=23 Exploring Operation: 56-41=15, Resulting Numbers: [33, 15] Generated Node #0,0,1: 94:[33, 15] Operation: 56-41=15 Exploring Operation: 41-33=8, Resulting Numbers: [56, 8] Generated Node #0,0,2: 94:[56, 8] Operation: 41-33=8 Exploring Operation: 56+41=97, Resulting Numbers: [33, 97] Generated Node #0,0,3: 94:[33, 97] Operation: 56+41=97 Exploring Operation: 56+33=89, Resulting Numbers: [41, 89] Generated Node #0,0,4: 94:[41, 89] Operation: 56+33=89 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[41, 89], Operations: ['76-35=41', '56+33=89'] Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,94 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,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:[56, 8], Operations: ['76-35=41', '41-33=8'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,94 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,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,3 Current State: 94:[33, 97], Operations: ['76-35=41', '56+41=97'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 33+97=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 33*97=3201, Resulting Numbers: [3201] 3201,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:[41, 23], Operations: ['76-35=41', '56-33=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,94 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,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:[33, 15], Operations: ['76-35=41', '56-41=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,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:[76, 33, 91], Operations: ['35+56=91'] Exploring Operation: 76+33=109, Resulting Numbers: [91, 109] Generated Node #0,1,0: 94:[91, 109] Operation: 76+33=109 Exploring Operation: 91-33=58, Resulting Numbers: [76, 58] Generated Node #0,1,1: 94:[76, 58] Operation: 91-33=58 Exploring Operation: 91-76=15, Resulting Numbers: [33, 15] Generated Node #0,1,2: 94:[33, 15] Operation: 91-76=15 Exploring Operation: 33+91=124, Resulting Numbers: [76, 124] Generated Node #0,1,3: 94:[76, 124] Operation: 33+91=124 Exploring Operation: 76-33=43, Resulting Numbers: [91, 43] Generated Node #0,1,4: 94:[91, 43] Operation: 76-33=43 Moving to Node #0,2 Current State: 94:[35, 76, 89], Operations: ['56+33=89'] Exploring Operation: 35+89=124, Resulting Numbers: [76, 124] Generated Node #0,2,0: 94:[76, 124] Operation: 35+89=124 Exploring Operation: 76-35=41, Resulting Numbers: [89, 41] Generated Node #0,2,1: 94:[89, 41] Operation: 76-35=41 Exploring Operation: 89-76=13, Resulting Numbers: [35, 13] Generated Node #0,2,2: 94:[35, 13] Operation: 89-76=13 Exploring Operation: 89-35=54, Resulting Numbers: [76, 54] Generated Node #0,2,3: 94:[76, 54] Operation: 89-35=54 Exploring Operation: 35+76=111, Resulting Numbers: [89, 111] Generated Node #0,2,4: 94:[89, 111] Operation: 35+76=111 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[89, 41], Operations: ['56+33=89', '76-35=41'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,94 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,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,4 Current State: 94:[89, 111], Operations: ['56+33=89', '35+76=111'] Exploring Operation: 89+111=200, Resulting Numbers: [200] 200,94 unequal: No Solution Exploring Operation: 89*111=9879, Resulting Numbers: [9879] 9879,94 unequal: No Solution Exploring Operation: 111-89=22, Resulting Numbers: [22] 22,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:[35, 13], Operations: ['56+33=89', '89-76=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,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:[76, 54], Operations: ['56+33=89', '89-35=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,94 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,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:[76, 124], Operations: ['56+33=89', '35+89=124'] Exploring Operation: 76*124=9424, Resulting Numbers: [9424] 9424,94 unequal: No Solution Exploring Operation: 124-76=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 76+124=200, Resulting Numbers: [200] 200,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 94:[43, 91], Operations: ['76-33=43', '35+56=91'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 43*91=3913, Resulting Numbers: [3913] 3913,94 unequal: No Solution Exploring Operation: 43+91=134, Resulting Numbers: [134] 134,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[91, 43], Operations: ['35+56=91', '76-33=43'] Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[56, 8], Operations: ['76-33=43', '43-35=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[35, 99], Operations: ['76-33=43', '56+43=99'] Exploring Operation: 35+99=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 35*99=3465, Resulting Numbers: [3465] 3465,94 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38'] Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,94 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[35, 76, 56, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [76, 56, 2] Generated Node #0,3: 94:[76, 56, 2] Operation: 35-33=2 Moving to Node #0,3 Current State: 94:[76, 56, 2], Operations: ['35-33=2'] Exploring Operation: 76/2=38, Resulting Numbers: [56, 38] Generated Node #0,3,3: 94:[56, 38] Operation: 76/2=38 Moving to Node #0,3,3 Current State: 94:[56, 38], Operations: ['35-33=2', '76/2=38'] Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.930556
hs_5
sum_heuristic
[ 64, 32, 77, 81 ]
73
[ "64/32=2", "77*2=154", "154-81=73" ]
Current State: 73:[64, 32, 77, 81], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [77, 81, 2] Generated Node #2: [77, 81, 2] from Operation: 64/32=2 Current State: 73:[77, 81, 2], Operations: ['64/32=2'] Exploring Operation: 77*2=154, Resulting Numbers: [81, 154] Generated Node #3: [81, 154] from Operation: 77*2=154 Current State: 73:[81, 154], Operations: ['64/32=2', '77*2=154'] Exploring Operation: 154-81=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[64, 32, 77, 81], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [64, 77, 49] Generated Node #0,0: 73:[64, 77, 49] Operation: 81-32=49 Exploring Operation: 64+32=96, Resulting Numbers: [77, 81, 96] Generated Node #0,1: 73:[77, 81, 96] Operation: 64+32=96 Moving to Node #0,1 Current State: 73:[77, 81, 96], Operations: ['64+32=96'] Exploring Operation: 96-81=15, Resulting Numbers: [77, 15] Generated Node #0,1,0: 73:[77, 15] Operation: 96-81=15 Exploring Operation: 96-77=19, Resulting Numbers: [81, 19] Generated Node #0,1,1: 73:[81, 19] Operation: 96-77=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[77, 15], Operations: ['64+32=96', '96-81=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[81, 19], Operations: ['64+32=96', '96-77=19'] Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,73 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: 73:[64, 77, 49], Operations: ['81-32=49'] Exploring Operation: 77-49=28, Resulting Numbers: [64, 28] Generated Node #0,0,0: 73:[64, 28] Operation: 77-49=28 Exploring Operation: 64+49=113, Resulting Numbers: [77, 113] Generated Node #0,0,1: 73:[77, 113] Operation: 64+49=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[77, 113], Operations: ['81-32=49', '64+49=113'] Exploring Operation: 77+113=190, Resulting Numbers: [190] 190,73 unequal: No Solution Exploring Operation: 113-77=36, Resulting Numbers: [36] 36,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,0 Current State: 73:[64, 28], Operations: ['81-32=49', '77-49=28'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 64+28=92, Resulting Numbers: [92] 92,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 59, 52, 82, 60 ]
31
[ "59+52=111", "82+60=142", "142-111=31" ]
Current State: 31:[59, 52, 82, 60], Operations: [] Exploring Operation: 59+52=111, Resulting Numbers: [82, 60, 111] Generated Node #2: [82, 60, 111] from Operation: 59+52=111 Current State: 31:[82, 60, 111], Operations: ['59+52=111'] Exploring Operation: 82+60=142, Resulting Numbers: [111, 142] Generated Node #3: [111, 142] from Operation: 82+60=142 Current State: 31:[111, 142], Operations: ['59+52=111', '82+60=142'] Exploring Operation: 142-111=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[59, 52, 82, 60], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [59, 60, 30] Generated Node #0,0: 31:[59, 60, 30] Operation: 82-52=30 Exploring Operation: 82-59=23, Resulting Numbers: [52, 60, 23] Generated Node #0,1: 31:[52, 60, 23] Operation: 82-59=23 Exploring Operation: 82-60=22, Resulting Numbers: [59, 52, 22] Generated Node #0,2: 31:[59, 52, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[59, 60, 30], Operations: ['82-52=30'] Exploring Operation: 60-59=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 31:[30, 1] Operation: 60-59=1 Exploring Operation: 60-30=30, Resulting Numbers: [59, 30] Generated Node #0,0,1: 31:[59, 30] Operation: 60-30=30 Exploring Operation: 59-30=29, Resulting Numbers: [60, 29] Generated Node #0,0,2: 31:[60, 29] Operation: 59-30=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[59, 30], Operations: ['82-52=30', '60-30=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,31 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,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:[30, 1], Operations: ['82-52=30', '60-59=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[59, 52, 82, 60], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [59, 60, 30] Generated Node #0,0: 31:[59, 60, 30] Operation: 82-52=30 Moving to Node #0,0 Current State: 31:[59, 60, 30], Operations: ['82-52=30'] Exploring Operation: 60-59=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 31:[30, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 31:[30, 1], Operations: ['82-52=30', '60-59=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 17, 27, 78, 73 ]
50
[ "27-17=10", "78-73=5", "10*5=50" ]
Current State: 50:[17, 27, 78, 73], Operations: [] Exploring Operation: 27-17=10, Resulting Numbers: [78, 73, 10] Generated Node #2: [78, 73, 10] from Operation: 27-17=10 Current State: 50:[78, 73, 10], Operations: ['27-17=10'] Exploring Operation: 78-73=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 78-73=5 Current State: 50:[10, 5], Operations: ['27-17=10', '78-73=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[17, 27, 78, 73], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [27, 73, 61] Generated Node #0,0: 50:[27, 73, 61] Operation: 78-17=61 Exploring Operation: 78-27=51, Resulting Numbers: [17, 73, 51] Generated Node #0,1: 50:[17, 73, 51] Operation: 78-27=51 Exploring Operation: 78-73=5, Resulting Numbers: [17, 27, 5] Generated Node #0,2: 50:[17, 27, 5] Operation: 78-73=5 Moving to Node #0,2 Current State: 50:[17, 27, 5], Operations: ['78-73=5'] Exploring Operation: 17-5=12, Resulting Numbers: [27, 12] Generated Node #0,2,0: 50:[27, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [27, 22] Generated Node #0,2,1: 50:[27, 22] Operation: 17+5=22 Exploring Operation: 27-17=10, Resulting Numbers: [5, 10] Generated Node #0,2,2: 50:[5, 10] Operation: 27-17=10 Moving to Node #0,1 Current State: 50:[17, 73, 51], Operations: ['78-27=51'] Exploring Operation: 73-17=56, Resulting Numbers: [51, 56] Generated Node #0,1,0: 50:[51, 56] Operation: 73-17=56 Exploring Operation: 51/17=3, Resulting Numbers: [73, 3] Generated Node #0,1,1: 50:[73, 3] Operation: 51/17=3 Exploring Operation: 73-51=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 50:[17, 22] Operation: 73-51=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[51, 56], Operations: ['78-27=51', '73-17=56'] Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,50 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,50 unequal: No Solution No 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: 50:[17, 22], Operations: ['78-27=51', '73-51=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,50 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,50 unequal: No Solution No 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: 50:[73, 3], Operations: ['78-27=51', '51/17=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,50 unequal: No Solution Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,50 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,50 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: 50:[27, 73, 61], Operations: ['78-17=61'] Exploring Operation: 61-27=34, Resulting Numbers: [73, 34] Generated Node #0,0,0: 50:[73, 34] Operation: 61-27=34 Exploring Operation: 73-61=12, Resulting Numbers: [27, 12] Generated Node #0,0,1: 50:[27, 12] Operation: 73-61=12 Exploring Operation: 73-27=46, Resulting Numbers: [61, 46] Generated Node #0,0,2: 50:[61, 46] Operation: 73-27=46 Moving to Node #0,2,2 Current State: 50:[5, 10], Operations: ['78-73=5', '27-17=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[17, 27, 78, 73], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [17, 27, 5] Generated Node #0,2: 50:[17, 27, 5] Operation: 78-73=5 Moving to Node #0,2 Current State: 50:[17, 27, 5], Operations: ['78-73=5'] Exploring Operation: 27-17=10, Resulting Numbers: [5, 10] Generated Node #0,2,2: 50:[5, 10] Operation: 27-17=10 Moving to Node #0,2,2 Current State: 50:[5, 10], Operations: ['78-73=5', '27-17=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 87, 15, 6, 88 ]
91
[ "88-87=1", "15*6=90", "1+90=91" ]
Current State: 91:[87, 15, 6, 88], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [15, 6, 1] Generated Node #2: [15, 6, 1] from Operation: 88-87=1 Current State: 91:[15, 6, 1], Operations: ['88-87=1'] Exploring Operation: 15*6=90, Resulting Numbers: [1, 90] Generated Node #3: [1, 90] from Operation: 15*6=90 Current State: 91:[1, 90], Operations: ['88-87=1', '15*6=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 15, 6, 88], Operations: [] Exploring Operation: 87+6=93, Resulting Numbers: [15, 88, 93] Generated Node #0,0: 91:[15, 88, 93] Operation: 87+6=93 Moving to Node #0,0 Current State: 91:[15, 88, 93], Operations: ['87+6=93'] Exploring Operation: 93-88=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 91:[15, 5] Operation: 93-88=5 Moving to Node #0,0,0 Current State: 91:[15, 5], Operations: ['87+6=93', '93-88=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 96, 26, 24, 20 ]
24
[ "96/24=4", "26-20=6", "4*6=24" ]
Current State: 24:[96, 26, 24, 20], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [26, 20, 4] Generated Node #2: [26, 20, 4] from Operation: 96/24=4 Current State: 24:[26, 20, 4], Operations: ['96/24=4'] Exploring Operation: 26-20=6, Resulting Numbers: [4, 6] Generated Node #3: [4, 6] from Operation: 26-20=6 Current State: 24:[4, 6], Operations: ['96/24=4', '26-20=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[96, 26, 24, 20], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [26, 20, 4] Generated Node #0,0: 24:[26, 20, 4] Operation: 96/24=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[26, 20, 4], Operations: ['96/24=4'] Exploring Operation: 26-20=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 24:[4, 6] Operation: 26-20=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[4, 6], Operations: ['96/24=4', '26-20=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[96, 26, 24, 20], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [26, 20, 4] Generated Node #0,0: 24:[26, 20, 4] Operation: 96/24=4 Moving to Node #0,0 Current State: 24:[26, 20, 4], Operations: ['96/24=4'] Exploring Operation: 26-20=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 24:[4, 6] Operation: 26-20=6 Moving to Node #0,0,0 Current State: 24:[4, 6], Operations: ['96/24=4', '26-20=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 3, 8, 30, 60 ]
90
[ "8-3=5", "30*5=150", "150-60=90" ]
Current State: 90:[3, 8, 30, 60], Operations: [] Exploring Operation: 8-3=5, Resulting Numbers: [30, 60, 5] Generated Node #2: [30, 60, 5] from Operation: 8-3=5 Current State: 90:[30, 60, 5], Operations: ['8-3=5'] Exploring Operation: 30*5=150, Resulting Numbers: [60, 150] Generated Node #3: [60, 150] from Operation: 30*5=150 Current State: 90:[60, 150], Operations: ['8-3=5', '30*5=150'] Exploring Operation: 150-60=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[3, 8, 30, 60], Operations: [] Exploring Operation: 30+60=90, Resulting Numbers: [3, 8, 90] Generated Node #0,0: 90:[3, 8, 90] Operation: 30+60=90 Moving to Node #0,0 Current State: 90:[3, 8, 90], Operations: ['30+60=90'] Exploring Operation: 8-3=5, Resulting Numbers: [90, 5] Generated Node #0,0,0: 90:[90, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[90, 5], Operations: ['30+60=90', '8-3=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,90 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
[ 65, 95, 16, 95 ]
50
[ "65-16=49", "95/95=1", "49+1=50" ]
Current State: 50:[65, 95, 16, 95], Operations: [] Exploring Operation: 65-16=49, Resulting Numbers: [95, 95, 49] Generated Node #2: [95, 95, 49] from Operation: 65-16=49 Current State: 50:[95, 95, 49], Operations: ['65-16=49'] Exploring Operation: 95/95=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 95/95=1 Current State: 50:[49, 1], Operations: ['65-16=49', '95/95=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[65, 95, 16, 95], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [95, 16, 30] Generated Node #0,0: 50:[95, 16, 30] Operation: 95-65=30 Exploring Operation: 95/95=1, Resulting Numbers: [65, 16, 1] Generated Node #0,1: 50:[65, 16, 1] Operation: 95/95=1 Exploring Operation: 95-95=0, Resulting Numbers: [65, 16, 0] Generated Node #0,2: 50:[65, 16, 0] Operation: 95-95=0 Exploring Operation: 95-65=30, Resulting Numbers: [16, 95, 30] Generated Node #0,3: 50:[16, 95, 30] Operation: 95-65=30 Moving to Node #0,1 Current State: 50:[65, 16, 1], Operations: ['95/95=1'] Exploring Operation: 65*1=65, Resulting Numbers: [16, 65] Generated Node #0,1,0: 50:[16, 65] Operation: 65*1=65 Exploring Operation: 65-16=49, Resulting Numbers: [1, 49] Generated Node #0,1,1: 50:[1, 49] Operation: 65-16=49 Exploring Operation: 65-1=64, Resulting Numbers: [16, 64] Generated Node #0,1,2: 50:[16, 64] Operation: 65-1=64 Exploring Operation: 16-1=15, Resulting Numbers: [65, 15] Generated Node #0,1,3: 50:[65, 15] Operation: 16-1=15 Moving to Node #0,2 Current State: 50:[65, 16, 0], Operations: ['95-95=0'] Exploring Operation: 65*0=0, Resulting Numbers: [16, 0] Generated Node #0,2,0: 50:[16, 0] Operation: 65*0=0 Exploring Operation: 65-16=49, Resulting Numbers: [0, 49] Generated Node #0,2,1: 50:[0, 49] Operation: 65-16=49 Exploring Operation: 16*0=0, Resulting Numbers: [65, 0] Generated Node #0,2,2: 50:[65, 0] Operation: 16*0=0 Exploring Operation: 65+0=65, Resulting Numbers: [16, 65] Generated Node #0,2,3: 50:[16, 65] Operation: 65+0=65 Moving to Node #0,3 Current State: 50:[16, 95, 30], Operations: ['95-65=30'] Exploring Operation: 30-16=14, Resulting Numbers: [95, 14] Generated Node #0,3,0: 50:[95, 14] Operation: 30-16=14 Exploring Operation: 95-16=79, Resulting Numbers: [30, 79] Generated Node #0,3,1: 50:[30, 79] Operation: 95-16=79 Exploring Operation: 95-30=65, Resulting Numbers: [16, 65] Generated Node #0,3,2: 50:[16, 65] Operation: 95-30=65 Exploring Operation: 16+30=46, Resulting Numbers: [95, 46] Generated Node #0,3,3: 50:[95, 46] Operation: 16+30=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[16, 65], Operations: ['95-65=30', '95-30=65'] Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 16*65=1040, Resulting Numbers: [1040] 1040,50 unequal: No Solution Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,50 unequal: No Solution No 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: 50:[30, 79], Operations: ['95-65=30', '95-16=79'] Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,50 unequal: No Solution Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,50 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,50 unequal: No Solution No 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: 50:[95, 14], Operations: ['95-65=30', '30-16=14'] Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,50 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,50 unequal: No Solution No 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: 50:[95, 46], Operations: ['95-65=30', '16+30=46'] Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,50 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,50 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: 50:[95, 16, 30], Operations: ['95-65=30'] Exploring Operation: 95-16=79, Resulting Numbers: [30, 79] Generated Node #0,0,0: 50:[30, 79] Operation: 95-16=79 Exploring Operation: 95-30=65, Resulting Numbers: [16, 65] Generated Node #0,0,1: 50:[16, 65] Operation: 95-30=65 Exploring Operation: 16+30=46, Resulting Numbers: [95, 46] Generated Node #0,0,2: 50:[95, 46] Operation: 16+30=46 Exploring Operation: 30-16=14, Resulting Numbers: [95, 14] Generated Node #0,0,3: 50:[95, 14] Operation: 30-16=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[16, 65], Operations: ['95-65=30', '95-30=65'] Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 16*65=1040, Resulting Numbers: [1040] 1040,50 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,50 unequal: No Solution No 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: 50:[30, 79], Operations: ['95-65=30', '95-16=79'] Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,50 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,50 unequal: No Solution No 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: 50:[95, 46], Operations: ['95-65=30', '16+30=46'] Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,50 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,50 unequal: No Solution No 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: 50:[95, 14], Operations: ['95-65=30', '30-16=14'] Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,50 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,50 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: 50:[1, 49], Operations: ['95/95=1', '65-16=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[65, 95, 16, 95], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [65, 16, 1] Generated Node #0,1: 50:[65, 16, 1] Operation: 95/95=1 Moving to Node #0,1 Current State: 50:[65, 16, 1], Operations: ['95/95=1'] Exploring Operation: 65-16=49, Resulting Numbers: [1, 49] Generated Node #0,1,1: 50:[1, 49] Operation: 65-16=49 Moving to Node #0,1,1 Current State: 50:[1, 49], Operations: ['95/95=1', '65-16=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 11, 83, 56, 81 ]
97
[ "83-11=72", "81-56=25", "72+25=97" ]
Current State: 97:[11, 83, 56, 81], Operations: [] Exploring Operation: 83-11=72, Resulting Numbers: [56, 81, 72] Generated Node #2: [56, 81, 72] from Operation: 83-11=72 Current State: 97:[56, 81, 72], Operations: ['83-11=72'] Exploring Operation: 81-56=25, Resulting Numbers: [72, 25] Generated Node #3: [72, 25] from Operation: 81-56=25 Current State: 97:[72, 25], Operations: ['83-11=72', '81-56=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[11, 83, 56, 81], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [83, 81, 45] Generated Node #0,0: 97:[83, 81, 45] Operation: 56-11=45 Exploring Operation: 83-11=72, Resulting Numbers: [56, 81, 72] Generated Node #0,1: 97:[56, 81, 72] Operation: 83-11=72 Exploring Operation: 11+83=94, Resulting Numbers: [56, 81, 94] Generated Node #0,2: 97:[56, 81, 94] Operation: 11+83=94 Exploring Operation: 11+81=92, Resulting Numbers: [83, 56, 92] Generated Node #0,3: 97:[83, 56, 92] Operation: 11+81=92 Exploring Operation: 11+56=67, Resulting Numbers: [83, 81, 67] Generated Node #0,4: 97:[83, 81, 67] Operation: 11+56=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[56, 81, 94], Operations: ['11+83=94'] Exploring Operation: 81-56=25, Resulting Numbers: [94, 25] Generated Node #0,2,0: 97:[94, 25] Operation: 81-56=25 Exploring Operation: 94-56=38, Resulting Numbers: [81, 38] Generated Node #0,2,1: 97:[81, 38] Operation: 94-56=38 Exploring Operation: 56+94=150, Resulting Numbers: [81, 150] Generated Node #0,2,2: 97:[81, 150] Operation: 56+94=150 Exploring Operation: 81+94=175, Resulting Numbers: [56, 175] Generated Node #0,2,3: 97:[56, 175] Operation: 81+94=175 Exploring Operation: 56+81=137, Resulting Numbers: [94, 137] Generated Node #0,2,4: 97:[94, 137] Operation: 56+81=137 Moving to Node #0,2,4 Current State: 97:[94, 137], Operations: ['11+83=94', '56+81=137'] Exploring Operation: 137-94=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 94+137=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 94*137=12878, Resulting Numbers: [12878] 12878,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[81, 150], Operations: ['11+83=94', '56+94=150'] Exploring Operation: 150-81=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 81+150=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 81*150=12150, Resulting Numbers: [12150] 12150,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[94, 25], Operations: ['11+83=94', '81-56=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 94*25=2350, Resulting Numbers: [2350] 2350,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[81, 38], Operations: ['11+83=94', '94-56=38'] Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,97 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[56, 175], Operations: ['11+83=94', '81+94=175'] Exploring Operation: 56*175=9800, Resulting Numbers: [9800] 9800,97 unequal: No Solution Exploring Operation: 175-56=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 56+175=231, Resulting Numbers: [231] 231,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,3 Current State: 97:[83, 56, 92], Operations: ['11+81=92'] Exploring Operation: 83+92=175, Resulting Numbers: [56, 175] Generated Node #0,3,0: 97:[56, 175] Operation: 83+92=175 Exploring Operation: 83+56=139, Resulting Numbers: [92, 139] Generated Node #0,3,1: 97:[92, 139] Operation: 83+56=139 Exploring Operation: 56+92=148, Resulting Numbers: [83, 148] Generated Node #0,3,2: 97:[83, 148] Operation: 56+92=148 Exploring Operation: 92-56=36, Resulting Numbers: [83, 36] Generated Node #0,3,3: 97:[83, 36] Operation: 92-56=36 Exploring Operation: 83-56=27, Resulting Numbers: [92, 27] Generated Node #0,3,4: 97:[92, 27] Operation: 83-56=27 Moving to Node #0,3,1 Current State: 97:[92, 139], Operations: ['11+81=92', '83+56=139'] Exploring Operation: 92+139=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 92*139=12788, Resulting Numbers: [12788] 12788,97 unequal: No Solution Exploring Operation: 139-92=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[83, 148], Operations: ['11+81=92', '56+92=148'] Exploring Operation: 83*148=12284, Resulting Numbers: [12284] 12284,97 unequal: No Solution Exploring Operation: 83+148=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 148-83=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[83, 36], Operations: ['11+81=92', '92-56=36'] Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,97 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[92, 27], Operations: ['11+81=92', '83-56=27'] Exploring Operation: 92+27=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 92*27=2484, Resulting Numbers: [2484] 2484,97 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[56, 175], Operations: ['11+81=92', '83+92=175'] Exploring Operation: 56+175=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 175-56=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 56*175=9800, Resulting Numbers: [9800] 9800,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,4 Current State: 97:[83, 81, 67], Operations: ['11+56=67'] Exploring Operation: 83+81=164, Resulting Numbers: [67, 164] Generated Node #0,4,0: 97:[67, 164] Operation: 83+81=164 Exploring Operation: 81-67=14, Resulting Numbers: [83, 14] Generated Node #0,4,1: 97:[83, 14] Operation: 81-67=14 Exploring Operation: 81+67=148, Resulting Numbers: [83, 148] Generated Node #0,4,2: 97:[83, 148] Operation: 81+67=148 Exploring Operation: 83+67=150, Resulting Numbers: [81, 150] Generated Node #0,4,3: 97:[81, 150] Operation: 83+67=150 Exploring Operation: 83-67=16, Resulting Numbers: [81, 16] Generated Node #0,4,4: 97:[81, 16] Operation: 83-67=16 Moving to Node #0,4,2 Current State: 97:[83, 148], Operations: ['11+56=67', '81+67=148'] Exploring Operation: 83*148=12284, Resulting Numbers: [12284] 12284,97 unequal: No Solution Exploring Operation: 83+148=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 148-83=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[81, 150], Operations: ['11+56=67', '83+67=150'] Exploring Operation: 81*150=12150, Resulting Numbers: [12150] 12150,97 unequal: No Solution Exploring Operation: 81+150=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 150-81=69, Resulting Numbers: [69] 69,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[67, 164], Operations: ['11+56=67', '83+81=164'] Exploring Operation: 67*164=10988, Resulting Numbers: [10988] 10988,97 unequal: No Solution Exploring Operation: 67+164=231, Resulting Numbers: [231] 231,97 unequal: No Solution Exploring Operation: 164-67=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[11, 83, 56, 81], Operations: [] Exploring Operation: 11+56=67, Resulting Numbers: [83, 81, 67] Generated Node #0,4: 97:[83, 81, 67] Operation: 11+56=67 Moving to Node #0,4 Current State: 97:[83, 81, 67], Operations: ['11+56=67'] Exploring Operation: 83+81=164, Resulting Numbers: [67, 164] Generated Node #0,4,0: 97:[67, 164] Operation: 83+81=164 Moving to Node #0,4,0 Current State: 97:[67, 164], Operations: ['11+56=67', '83+81=164'] Exploring Operation: 164-67=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 44, 49, 80, 95 ]
10
[ "49-44=5", "95-80=15", "15-5=10" ]
Current State: 10:[44, 49, 80, 95], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [80, 95, 5] Generated Node #2: [80, 95, 5] from Operation: 49-44=5 Current State: 10:[80, 95, 5], Operations: ['49-44=5'] Exploring Operation: 95-80=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 95-80=15 Current State: 10:[5, 15], Operations: ['49-44=5', '95-80=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[44, 49, 80, 95], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [49, 80, 51] Generated Node #0,0: 10:[49, 80, 51] Operation: 95-44=51 Exploring Operation: 95-49=46, Resulting Numbers: [44, 80, 46] Generated Node #0,1: 10:[44, 80, 46] Operation: 95-49=46 Exploring Operation: 95-80=15, Resulting Numbers: [44, 49, 15] Generated Node #0,2: 10:[44, 49, 15] Operation: 95-80=15 Exploring Operation: 80-49=31, Resulting Numbers: [44, 95, 31] Generated Node #0,3: 10:[44, 95, 31] Operation: 80-49=31 Exploring Operation: 80-44=36, Resulting Numbers: [49, 95, 36] Generated Node #0,4: 10:[49, 95, 36] Operation: 80-44=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[44, 49, 15], Operations: ['95-80=15'] Exploring Operation: 49-15=34, Resulting Numbers: [44, 34] Generated Node #0,2,0: 10:[44, 34] Operation: 49-15=34 Exploring Operation: 49-44=5, Resulting Numbers: [15, 5] Generated Node #0,2,1: 10:[15, 5] Operation: 49-44=5 Exploring Operation: 44-15=29, Resulting Numbers: [49, 29] Generated Node #0,2,2: 10:[49, 29] Operation: 44-15=29 Exploring Operation: 44+49=93, Resulting Numbers: [15, 93] Generated Node #0,2,3: 10:[15, 93] Operation: 44+49=93 Exploring Operation: 44+15=59, Resulting Numbers: [49, 59] Generated Node #0,2,4: 10:[49, 59] Operation: 44+15=59 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[15, 5], Operations: ['95-80=15', '49-44=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[44, 49, 80, 95], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [44, 49, 15] Generated Node #0,2: 10:[44, 49, 15] Operation: 95-80=15 Moving to Node #0,2 Current State: 10:[44, 49, 15], Operations: ['95-80=15'] Exploring Operation: 49-44=5, Resulting Numbers: [15, 5] Generated Node #0,2,1: 10:[15, 5] Operation: 49-44=5 Moving to Node #0,2,1 Current State: 10:[15, 5], Operations: ['95-80=15', '49-44=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 74, 38, 52, 72 ]
12
[ "74+38=112", "52+72=124", "124-112=12" ]
Current State: 12:[74, 38, 52, 72], Operations: [] Exploring Operation: 74+38=112, Resulting Numbers: [52, 72, 112] Generated Node #2: [52, 72, 112] from Operation: 74+38=112 Current State: 12:[52, 72, 112], Operations: ['74+38=112'] Exploring Operation: 52+72=124, Resulting Numbers: [112, 124] Generated Node #3: [112, 124] from Operation: 52+72=124 Current State: 12:[112, 124], Operations: ['74+38=112', '52+72=124'] Exploring Operation: 124-112=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[74, 38, 52, 72], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [74, 38, 20] Generated Node #0,0: 12:[74, 38, 20] Operation: 72-52=20 Exploring Operation: 74-72=2, Resulting Numbers: [38, 52, 2] Generated Node #0,1: 12:[38, 52, 2] Operation: 74-72=2 Exploring Operation: 74-52=22, Resulting Numbers: [38, 72, 22] Generated Node #0,2: 12:[38, 72, 22] Operation: 74-52=22 Exploring Operation: 74-38=36, Resulting Numbers: [52, 72, 36] Generated Node #0,3: 12:[52, 72, 36] Operation: 74-38=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[38, 52, 2], Operations: ['74-72=2'] Exploring Operation: 38/2=19, Resulting Numbers: [52, 19] Generated Node #0,1,0: 12:[52, 19] Operation: 38/2=19 Exploring Operation: 52/2=26, Resulting Numbers: [38, 26] Generated Node #0,1,1: 12:[38, 26] Operation: 52/2=26 Exploring Operation: 38-2=36, Resulting Numbers: [52, 36] Generated Node #0,1,2: 12:[52, 36] Operation: 38-2=36 Exploring Operation: 52-38=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 12:[2, 14] Operation: 52-38=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[2, 14], Operations: ['74-72=2', '52-38=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[74, 38, 52, 72], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [38, 52, 2] Generated Node #0,1: 12:[38, 52, 2] Operation: 74-72=2 Moving to Node #0,1 Current State: 12:[38, 52, 2], Operations: ['74-72=2'] Exploring Operation: 52-38=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 12:[2, 14] Operation: 52-38=14 Moving to Node #0,1,3 Current State: 12:[2, 14], Operations: ['74-72=2', '52-38=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 72, 63, 68, 48 ]
51
[ "72-68=4", "48/4=12", "63-12=51" ]
Current State: 51:[72, 63, 68, 48], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [63, 48, 4] Generated Node #2: [63, 48, 4] from Operation: 72-68=4 Current State: 51:[63, 48, 4], Operations: ['72-68=4'] Exploring Operation: 48/4=12, Resulting Numbers: [63, 12] Generated Node #3: [63, 12] from Operation: 48/4=12 Current State: 51:[63, 12], Operations: ['72-68=4', '48/4=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[72, 63, 68, 48], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [72, 48, 5] Generated Node #0,0: 51:[72, 48, 5] Operation: 68-63=5 Exploring Operation: 72-63=9, Resulting Numbers: [68, 48, 9] Generated Node #0,1: 51:[68, 48, 9] Operation: 72-63=9 Exploring Operation: 72-68=4, Resulting Numbers: [63, 48, 4] Generated Node #0,2: 51:[63, 48, 4] Operation: 72-68=4 Exploring Operation: 72-48=24, Resulting Numbers: [63, 68, 24] Generated Node #0,3: 51:[63, 68, 24] Operation: 72-48=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[63, 48, 4], Operations: ['72-68=4'] Exploring Operation: 63-48=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 51:[4, 15] Operation: 63-48=15 Exploring Operation: 48/4=12, Resulting Numbers: [63, 12] Generated Node #0,2,1: 51:[63, 12] Operation: 48/4=12 Exploring Operation: 48+4=52, Resulting Numbers: [63, 52] Generated Node #0,2,2: 51:[63, 52] Operation: 48+4=52 Exploring Operation: 63-4=59, Resulting Numbers: [48, 59] Generated Node #0,2,3: 51:[48, 59] Operation: 63-4=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[4, 15], Operations: ['72-68=4', '63-48=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,51 unequal: No Solution No 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: 51:[48, 59], Operations: ['72-68=4', '63-4=59'] Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,51 unequal: No Solution Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,51 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,51 unequal: No Solution No 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: 51:[63, 52], Operations: ['72-68=4', '48+4=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,51 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,51 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,51 unequal: No Solution No 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: 51:[63, 12], Operations: ['72-68=4', '48/4=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[72, 63, 68, 48], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [63, 48, 4] Generated Node #0,2: 51:[63, 48, 4] Operation: 72-68=4 Moving to Node #0,2 Current State: 51:[63, 48, 4], Operations: ['72-68=4'] Exploring Operation: 48/4=12, Resulting Numbers: [63, 12] Generated Node #0,2,1: 51:[63, 12] Operation: 48/4=12 Moving to Node #0,2,1 Current State: 51:[63, 12], Operations: ['72-68=4', '48/4=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 33, 67, 64, 62 ]
17
[ "67-33=34", "64-62=2", "34/2=17" ]
Current State: 17:[33, 67, 64, 62], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [64, 62, 34] Generated Node #2: [64, 62, 34] from Operation: 67-33=34 Current State: 17:[64, 62, 34], Operations: ['67-33=34'] Exploring Operation: 64-62=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 64-62=2 Current State: 17:[34, 2], Operations: ['67-33=34', '64-62=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[33, 67, 64, 62], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [33, 64, 5] Generated Node #0,0: 17:[33, 64, 5] Operation: 67-62=5 Exploring Operation: 67-64=3, Resulting Numbers: [33, 62, 3] Generated Node #0,1: 17:[33, 62, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[33, 64, 5], Operations: ['67-62=5'] Exploring Operation: 33-5=28, Resulting Numbers: [64, 28] Generated Node #0,0,0: 17:[64, 28] Operation: 33-5=28 Exploring Operation: 64-33=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 17:[5, 31] Operation: 64-33=31 Moving to Node #0,0,1 Current State: 17:[5, 31], Operations: ['67-62=5', '64-33=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[64, 28], Operations: ['67-62=5', '33-5=28'] Exploring Operation: 64+28=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[33, 62, 3], Operations: ['67-64=3'] Exploring Operation: 33/3=11, Resulting Numbers: [62, 11] Generated Node #0,1,0: 17:[62, 11] Operation: 33/3=11 Exploring Operation: 62-33=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 17:[3, 29] Operation: 62-33=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[3, 29], Operations: ['67-64=3', '62-33=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,17 unequal: No Solution No 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: 17:[62, 11], Operations: ['67-64=3', '33/3=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,17 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
[ 68, 63, 72, 15 ]
74
[ "68+63=131", "72-15=57", "131-57=74" ]
Current State: 74:[68, 63, 72, 15], Operations: [] Exploring Operation: 68+63=131, Resulting Numbers: [72, 15, 131] Generated Node #2: [72, 15, 131] from Operation: 68+63=131 Current State: 74:[72, 15, 131], Operations: ['68+63=131'] Exploring Operation: 72-15=57, Resulting Numbers: [131, 57] Generated Node #3: [131, 57] from Operation: 72-15=57 Current State: 74:[131, 57], Operations: ['68+63=131', '72-15=57'] Exploring Operation: 131-57=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[68, 63, 72, 15], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [68, 72, 48] Generated Node #0,0: 74:[68, 72, 48] Operation: 63-15=48 Exploring Operation: 68-63=5, Resulting Numbers: [72, 15, 5] Generated Node #0,1: 74:[72, 15, 5] Operation: 68-63=5 Exploring Operation: 63+15=78, Resulting Numbers: [68, 72, 78] Generated Node #0,2: 74:[68, 72, 78] Operation: 63+15=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[68, 72, 78], Operations: ['63+15=78'] Exploring Operation: 72-68=4, Resulting Numbers: [78, 4] Generated Node #0,2,0: 74:[78, 4] Operation: 72-68=4 Exploring Operation: 78-68=10, Resulting Numbers: [72, 10] Generated Node #0,2,1: 74:[72, 10] Operation: 78-68=10 Exploring Operation: 78-72=6, Resulting Numbers: [68, 6] Generated Node #0,2,2: 74:[68, 6] Operation: 78-72=6 Moving to Node #0,2,0 Current State: 74:[78, 4], Operations: ['63+15=78', '72-68=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,74 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,74 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[68, 63, 72, 15], Operations: [] Exploring Operation: 63+15=78, Resulting Numbers: [68, 72, 78] Generated Node #0,2: 74:[68, 72, 78] Operation: 63+15=78 Moving to Node #0,2 Current State: 74:[68, 72, 78], Operations: ['63+15=78'] Exploring Operation: 72-68=4, Resulting Numbers: [78, 4] Generated Node #0,2,0: 74:[78, 4] Operation: 72-68=4 Moving to Node #0,2,0 Current State: 74:[78, 4], Operations: ['63+15=78', '72-68=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 24, 89, 66, 86 ]
86
[ "89-24=65", "66-65=1", "86*1=86" ]
Current State: 86:[24, 89, 66, 86], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [66, 86, 65] Generated Node #2: [66, 86, 65] from Operation: 89-24=65 Current State: 86:[66, 86, 65], Operations: ['89-24=65'] Exploring Operation: 66-65=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 66-65=1 Current State: 86:[86, 1], Operations: ['89-24=65', '66-65=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 89, 66, 86], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [24, 86, 23] Generated Node #0,0: 86:[24, 86, 23] Operation: 89-66=23 Exploring Operation: 24+66=90, Resulting Numbers: [89, 86, 90] Generated Node #0,1: 86:[89, 86, 90] Operation: 24+66=90 Exploring Operation: 66-24=42, Resulting Numbers: [89, 86, 42] Generated Node #0,2: 86:[89, 86, 42] Operation: 66-24=42 Moving to Node #0,2 Current State: 86:[89, 86, 42], Operations: ['66-24=42'] Exploring Operation: 89-86=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 86:[42, 3] Operation: 89-86=3 Exploring Operation: 89-42=47, Resulting Numbers: [86, 47] Generated Node #0,2,1: 86:[86, 47] Operation: 89-42=47 Exploring Operation: 86-42=44, Resulting Numbers: [89, 44] Generated Node #0,2,2: 86:[89, 44] Operation: 86-42=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[42, 3], Operations: ['66-24=42', '89-86=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[86, 47], Operations: ['66-24=42', '89-42=47'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[89, 44], Operations: ['66-24=42', '86-42=44'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,86 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,86 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: 86:[89, 86, 90], Operations: ['24+66=90'] Exploring Operation: 89-86=3, Resulting Numbers: [90, 3] Generated Node #0,1,0: 86:[90, 3] Operation: 89-86=3 Exploring Operation: 90-89=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 86:[86, 1] Operation: 90-89=1 Exploring Operation: 90-86=4, Resulting Numbers: [89, 4] Generated Node #0,1,2: 86:[89, 4] Operation: 90-86=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[86, 1], Operations: ['24+66=90', '90-89=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[24, 89, 66, 86], Operations: [] Exploring Operation: 24+66=90, Resulting Numbers: [89, 86, 90] Generated Node #0,1: 86:[89, 86, 90] Operation: 24+66=90 Moving to Node #0,1 Current State: 86:[89, 86, 90], Operations: ['24+66=90'] Exploring Operation: 90-89=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 86:[86, 1] Operation: 90-89=1 Moving to Node #0,1,1 Current State: 86:[86, 1], Operations: ['24+66=90', '90-89=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 60, 28, 25, 79 ]
34
[ "60+28=88", "79-25=54", "88-54=34" ]
Current State: 34:[60, 28, 25, 79], Operations: [] Exploring Operation: 60+28=88, Resulting Numbers: [25, 79, 88] Generated Node #2: [25, 79, 88] from Operation: 60+28=88 Current State: 34:[25, 79, 88], Operations: ['60+28=88'] Exploring Operation: 79-25=54, Resulting Numbers: [88, 54] Generated Node #3: [88, 54] from Operation: 79-25=54 Current State: 34:[88, 54], Operations: ['60+28=88', '79-25=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[60, 28, 25, 79], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [28, 25, 19] Generated Node #0,0: 34:[28, 25, 19] Operation: 79-60=19 Moving to Node #0,0 Current State: 34:[28, 25, 19], Operations: ['79-60=19'] Exploring Operation: 28-25=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 34:[19, 3] Operation: 28-25=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[19, 3], Operations: ['79-60=19', '28-25=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,34 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
[ 14, 21, 7, 3 ]
36
[ "14/7=2", "21-3=18", "2*18=36" ]
Current State: 36:[14, 21, 7, 3], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [21, 3, 2] Generated Node #2: [21, 3, 2] from Operation: 14/7=2 Current State: 36:[21, 3, 2], Operations: ['14/7=2'] Exploring Operation: 21-3=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 21-3=18 Current State: 36:[2, 18], Operations: ['14/7=2', '21-3=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 21, 7, 3], Operations: [] Exploring Operation: 14+21=35, Resulting Numbers: [7, 3, 35] Generated Node #0,0: 36:[7, 3, 35] Operation: 14+21=35 Exploring Operation: 21-14=7, Resulting Numbers: [7, 3, 7] Generated Node #0,1: 36:[7, 3, 7] Operation: 21-14=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[7, 3, 35], Operations: ['14+21=35'] Exploring Operation: 35/7=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 36:[3, 5] Operation: 35/7=5 Exploring Operation: 7-3=4, Resulting Numbers: [35, 4] Generated Node #0,0,1: 36:[35, 4] Operation: 7-3=4 Moving to Node #0,0,0 Current State: 36:[3, 5], Operations: ['14+21=35', '35/7=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[35, 4], Operations: ['14+21=35', '7-3=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[7, 3, 7], Operations: ['21-14=7'] Exploring Operation: 7/7=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 36:[3, 1] Operation: 7/7=1 Exploring Operation: 7-3=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 36:[7, 4] Operation: 7-3=4 Moving to Node #0,1,0 Current State: 36:[3, 1], Operations: ['21-14=7', '7/7=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[7, 4], Operations: ['21-14=7', '7-3=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,36 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
[ 8, 17, 67, 31 ]
100
[ "8*17=136", "67-31=36", "136-36=100" ]
Current State: 100:[8, 17, 67, 31], Operations: [] Exploring Operation: 8*17=136, Resulting Numbers: [67, 31, 136] Generated Node #2: [67, 31, 136] from Operation: 8*17=136 Current State: 100:[67, 31, 136], Operations: ['8*17=136'] Exploring Operation: 67-31=36, Resulting Numbers: [136, 36] Generated Node #3: [136, 36] from Operation: 67-31=36 Current State: 100:[136, 36], Operations: ['8*17=136', '67-31=36'] Exploring Operation: 136-36=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 17, 67, 31], Operations: [] Exploring Operation: 67+31=98, Resulting Numbers: [8, 17, 98] Generated Node #0,0: 100:[8, 17, 98] Operation: 67+31=98 Moving to Node #0,0 Current State: 100:[8, 17, 98], Operations: ['67+31=98'] Exploring Operation: 8+17=25, Resulting Numbers: [98, 25] Generated Node #0,0,0: 100:[98, 25] Operation: 8+17=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[98, 25], Operations: ['67+31=98', '8+17=25'] Exploring Operation: 98+25=123, Resulting Numbers: [123] 123,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 4, 18, 93 ]
48
[ "31-4=27", "93-18=75", "75-27=48" ]
Current State: 48:[31, 4, 18, 93], Operations: [] Exploring Operation: 31-4=27, Resulting Numbers: [18, 93, 27] Generated Node #2: [18, 93, 27] from Operation: 31-4=27 Current State: 48:[18, 93, 27], Operations: ['31-4=27'] Exploring Operation: 93-18=75, Resulting Numbers: [27, 75] Generated Node #3: [27, 75] from Operation: 93-18=75 Current State: 48:[27, 75], Operations: ['31-4=27', '93-18=75'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[31, 4, 18, 93], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [4, 18, 3] Generated Node #0,0: 48:[4, 18, 3] Operation: 93/31=3 Moving to Node #0,0 Current State: 48:[4, 18, 3], Operations: ['93/31=3'] Exploring Operation: 18/3=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 48:[4, 6] Operation: 18/3=6 Moving to Node #0,0,0 Current State: 48:[4, 6], Operations: ['93/31=3', '18/3=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 75, 14, 89 ]
10
[ "10+75=85", "89-14=75", "85-75=10" ]
Current State: 10:[10, 75, 14, 89], Operations: [] Exploring Operation: 10+75=85, Resulting Numbers: [14, 89, 85] Generated Node #2: [14, 89, 85] from Operation: 10+75=85 Current State: 10:[14, 89, 85], Operations: ['10+75=85'] Exploring Operation: 89-14=75, Resulting Numbers: [85, 75] Generated Node #3: [85, 75] from Operation: 89-14=75 Current State: 10:[85, 75], Operations: ['10+75=85', '89-14=75'] Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[10, 75, 14, 89], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [10, 89, 61] Generated Node #0,0: 10:[10, 89, 61] Operation: 75-14=61 Exploring Operation: 89-14=75, Resulting Numbers: [10, 75, 75] Generated Node #0,1: 10:[10, 75, 75] Operation: 89-14=75 Exploring Operation: 89-75=14, Resulting Numbers: [10, 14, 14] Generated Node #0,2: 10:[10, 14, 14] Operation: 89-75=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[10, 14, 14], Operations: ['89-75=14'] Exploring Operation: 14/14=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 10:[10, 1] Operation: 14/14=1 Exploring Operation: 14-10=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 10:[14, 4] Operation: 14-10=4 Exploring Operation: 14-14=0, Resulting Numbers: [10, 0] Generated Node #0,2,2: 10:[10, 0] Operation: 14-14=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[10, 1], Operations: ['89-75=14', '14/14=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[10, 75, 14, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [10, 14, 14] Generated Node #0,2: 10:[10, 14, 14] Operation: 89-75=14 Moving to Node #0,2 Current State: 10:[10, 14, 14], Operations: ['89-75=14'] Exploring Operation: 14/14=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 10:[10, 1] Operation: 14/14=1 Moving to Node #0,2,0 Current State: 10:[10, 1], Operations: ['89-75=14', '14/14=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 14, 21, 2, 38 ]
59
[ "21*38=798", "798/14=57", "2+57=59" ]
Current State: 59:[14, 21, 2, 38], Operations: [] Exploring Operation: 21*38=798, Resulting Numbers: [14, 2, 798] Generated Node #2: [14, 2, 798] from Operation: 21*38=798 Current State: 59:[14, 2, 798], Operations: ['21*38=798'] Exploring Operation: 798/14=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 798/14=57 Current State: 59:[2, 57], Operations: ['21*38=798', '798/14=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[14, 21, 2, 38], Operations: [] Exploring Operation: 21*2=42, Resulting Numbers: [14, 38, 42] Generated Node #0,0: 59:[14, 38, 42] Operation: 21*2=42 Moving to Node #0,0 Current State: 59:[14, 38, 42], Operations: ['21*2=42'] Exploring Operation: 14+38=52, Resulting Numbers: [42, 52] Generated Node #0,0,0: 59:[42, 52] Operation: 14+38=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[42, 52], Operations: ['21*2=42', '14+38=52'] Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,59 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
[ 13, 64, 10, 6 ]
81
[ "13+64=77", "10-6=4", "77+4=81" ]
Current State: 81:[13, 64, 10, 6], Operations: [] Exploring Operation: 13+64=77, Resulting Numbers: [10, 6, 77] Generated Node #2: [10, 6, 77] from Operation: 13+64=77 Current State: 81:[10, 6, 77], Operations: ['13+64=77'] Exploring Operation: 10-6=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 10-6=4 Current State: 81:[77, 4], Operations: ['13+64=77', '10-6=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[13, 64, 10, 6], Operations: [] Exploring Operation: 13+64=77, Resulting Numbers: [10, 6, 77] Generated Node #0,0: 81:[10, 6, 77] Operation: 13+64=77 Exploring Operation: 64+10=74, Resulting Numbers: [13, 6, 74] Generated Node #0,1: 81:[13, 6, 74] Operation: 64+10=74 Exploring Operation: 13-10=3, Resulting Numbers: [64, 6, 3] Generated Node #0,2: 81:[64, 6, 3] Operation: 13-10=3 Exploring Operation: 64+6=70, Resulting Numbers: [13, 10, 70] Generated Node #0,3: 81:[13, 10, 70] Operation: 64+6=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[10, 6, 77], Operations: ['13+64=77'] Exploring Operation: 6+77=83, Resulting Numbers: [10, 83] Generated Node #0,0,0: 81:[10, 83] Operation: 6+77=83 Exploring Operation: 10+6=16, Resulting Numbers: [77, 16] Generated Node #0,0,1: 81:[77, 16] Operation: 10+6=16 Exploring Operation: 10+77=87, Resulting Numbers: [6, 87] Generated Node #0,0,2: 81:[6, 87] Operation: 10+77=87 Exploring Operation: 10-6=4, Resulting Numbers: [77, 4] Generated Node #0,0,3: 81:[77, 4] Operation: 10-6=4 Moving to Node #0,0,0 Current State: 81:[10, 83], Operations: ['13+64=77', '6+77=83'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,81 unequal: No Solution Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[77, 4], Operations: ['13+64=77', '10-6=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,81 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[13, 64, 10, 6], Operations: [] Exploring Operation: 13+64=77, Resulting Numbers: [10, 6, 77] Generated Node #0,0: 81:[10, 6, 77] Operation: 13+64=77 Moving to Node #0,0 Current State: 81:[10, 6, 77], Operations: ['13+64=77'] Exploring Operation: 10-6=4, Resulting Numbers: [77, 4] Generated Node #0,0,3: 81:[77, 4] Operation: 10-6=4 Moving to Node #0,0,3 Current State: 81:[77, 4], Operations: ['13+64=77', '10-6=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 54, 35, 82, 88 ]
82
[ "54+35=89", "89-88=1", "82*1=82" ]
Current State: 82:[54, 35, 82, 88], Operations: [] Exploring Operation: 54+35=89, Resulting Numbers: [82, 88, 89] Generated Node #2: [82, 88, 89] from Operation: 54+35=89 Current State: 82:[82, 88, 89], Operations: ['54+35=89'] Exploring Operation: 89-88=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 89-88=1 Current State: 82:[82, 1], Operations: ['54+35=89', '89-88=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[54, 35, 82, 88], Operations: [] Exploring Operation: 54+35=89, Resulting Numbers: [82, 88, 89] Generated Node #0,0: 82:[82, 88, 89] Operation: 54+35=89 Exploring Operation: 54-35=19, Resulting Numbers: [82, 88, 19] Generated Node #0,1: 82:[82, 88, 19] Operation: 54-35=19 Exploring Operation: 88-54=34, Resulting Numbers: [35, 82, 34] Generated Node #0,2: 82:[35, 82, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[82, 88, 89], Operations: ['54+35=89'] Exploring Operation: 89-82=7, Resulting Numbers: [88, 7] Generated Node #0,0,0: 82:[88, 7] Operation: 89-82=7 Exploring Operation: 89-88=1, Resulting Numbers: [82, 1] Generated Node #0,0,1: 82:[82, 1] Operation: 89-88=1 Exploring Operation: 88-82=6, Resulting Numbers: [89, 6] Generated Node #0,0,2: 82:[89, 6] Operation: 88-82=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[82, 1], Operations: ['54+35=89', '89-88=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[54, 35, 82, 88], Operations: [] Exploring Operation: 54+35=89, Resulting Numbers: [82, 88, 89] Generated Node #0,0: 82:[82, 88, 89] Operation: 54+35=89 Moving to Node #0,0 Current State: 82:[82, 88, 89], Operations: ['54+35=89'] Exploring Operation: 89-88=1, Resulting Numbers: [82, 1] Generated Node #0,0,1: 82:[82, 1] Operation: 89-88=1 Moving to Node #0,0,1 Current State: 82:[82, 1], Operations: ['54+35=89', '89-88=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 55, 13, 60, 47 ]
81
[ "55+13=68", "60-47=13", "68+13=81" ]
Current State: 81:[55, 13, 60, 47], Operations: [] Exploring Operation: 55+13=68, Resulting Numbers: [60, 47, 68] Generated Node #2: [60, 47, 68] from Operation: 55+13=68 Current State: 81:[60, 47, 68], Operations: ['55+13=68'] Exploring Operation: 60-47=13, Resulting Numbers: [68, 13] Generated Node #3: [68, 13] from Operation: 60-47=13 Current State: 81:[68, 13], Operations: ['55+13=68', '60-47=13'] Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[55, 13, 60, 47], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [13, 60, 8] Generated Node #0,0: 81:[13, 60, 8] Operation: 55-47=8 Exploring Operation: 60-55=5, Resulting Numbers: [13, 47, 5] Generated Node #0,1: 81:[13, 47, 5] Operation: 60-55=5 Exploring Operation: 60-47=13, Resulting Numbers: [55, 13, 13] Generated Node #0,2: 81:[55, 13, 13] Operation: 60-47=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[13, 60, 8], Operations: ['55-47=8'] Exploring Operation: 60+8=68, Resulting Numbers: [13, 68] Generated Node #0,0,0: 81:[13, 68] Operation: 60+8=68 Exploring Operation: 60-13=47, Resulting Numbers: [8, 47] Generated Node #0,0,1: 81:[8, 47] Operation: 60-13=47 Exploring Operation: 13+60=73, Resulting Numbers: [8, 73] Generated Node #0,0,2: 81:[8, 73] Operation: 13+60=73 Moving to Node #0,0,2 Current State: 81:[8, 73], Operations: ['55-47=8', '13+60=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[55, 13, 60, 47], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [13, 60, 8] Generated Node #0,0: 81:[13, 60, 8] Operation: 55-47=8 Moving to Node #0,0 Current State: 81:[13, 60, 8], Operations: ['55-47=8'] Exploring Operation: 13+60=73, Resulting Numbers: [8, 73] Generated Node #0,0,2: 81:[8, 73] Operation: 13+60=73 Moving to Node #0,0,2 Current State: 81:[8, 73], Operations: ['55-47=8', '13+60=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 4, 88, 6, 58 ]
44
[ "88-4=84", "84/6=14", "58-14=44" ]
Current State: 44:[4, 88, 6, 58], Operations: [] Exploring Operation: 88-4=84, Resulting Numbers: [6, 58, 84] Generated Node #2: [6, 58, 84] from Operation: 88-4=84 Current State: 44:[6, 58, 84], Operations: ['88-4=84'] Exploring Operation: 84/6=14, Resulting Numbers: [58, 14] Generated Node #3: [58, 14] from Operation: 84/6=14 Current State: 44:[58, 14], Operations: ['88-4=84', '84/6=14'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[4, 88, 6, 58], Operations: [] Exploring Operation: 88-4=84, Resulting Numbers: [6, 58, 84] Generated Node #0,0: 44:[6, 58, 84] Operation: 88-4=84 Exploring Operation: 88-58=30, Resulting Numbers: [4, 6, 30] Generated Node #0,1: 44:[4, 6, 30] Operation: 88-58=30 Exploring Operation: 88-6=82, Resulting Numbers: [4, 58, 82] Generated Node #0,2: 44:[4, 58, 82] Operation: 88-6=82 Exploring Operation: 58-6=52, Resulting Numbers: [4, 88, 52] Generated Node #0,3: 44:[4, 88, 52] Operation: 58-6=52 Exploring Operation: 88/4=22, Resulting Numbers: [6, 58, 22] Generated Node #0,4: 44:[6, 58, 22] Operation: 88/4=22 Moving to Node #0,1 Current State: 44:[4, 6, 30], Operations: ['88-58=30'] Exploring Operation: 6+30=36, Resulting Numbers: [4, 36] Generated Node #0,1,0: 44:[4, 36] Operation: 6+30=36 Exploring Operation: 30-6=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 44:[4, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 44:[4, 5] Operation: 30/6=5 Exploring Operation: 6-4=2, Resulting Numbers: [30, 2] Generated Node #0,1,3: 44:[30, 2] Operation: 6-4=2 Exploring Operation: 30-4=26, Resulting Numbers: [6, 26] Generated Node #0,1,4: 44:[6, 26] Operation: 30-4=26 Moving to Node #0,4 Current State: 44:[6, 58, 22], Operations: ['88/4=22'] Exploring Operation: 6+58=64, Resulting Numbers: [22, 64] Generated Node #0,4,0: 44:[22, 64] Operation: 6+58=64 Exploring Operation: 6+22=28, Resulting Numbers: [58, 28] Generated Node #0,4,1: 44:[58, 28] Operation: 6+22=28 Exploring Operation: 22-6=16, Resulting Numbers: [58, 16] Generated Node #0,4,2: 44:[58, 16] Operation: 22-6=16 Exploring Operation: 58-6=52, Resulting Numbers: [22, 52] Generated Node #0,4,3: 44:[22, 52] Operation: 58-6=52 Exploring Operation: 58-22=36, Resulting Numbers: [6, 36] Generated Node #0,4,4: 44:[6, 36] Operation: 58-22=36 Moving to Node #0,2 Current State: 44:[4, 58, 82], Operations: ['88-6=82'] Exploring Operation: 82-4=78, Resulting Numbers: [58, 78] Generated Node #0,2,0: 44:[58, 78] Operation: 82-4=78 Exploring Operation: 82-58=24, Resulting Numbers: [4, 24] Generated Node #0,2,1: 44:[4, 24] Operation: 82-58=24 Exploring Operation: 58-4=54, Resulting Numbers: [82, 54] Generated Node #0,2,2: 44:[82, 54] Operation: 58-4=54 Exploring Operation: 4+58=62, Resulting Numbers: [82, 62] Generated Node #0,2,3: 44:[82, 62] Operation: 4+58=62 Exploring Operation: 4+82=86, Resulting Numbers: [58, 86] Generated Node #0,2,4: 44:[58, 86] Operation: 4+82=86 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[4, 24], Operations: ['88-6=82', '82-58=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[58, 78], Operations: ['88-6=82', '82-4=78'] Exploring Operation: 58+78=136, Resulting Numbers: [136] 136,44 unequal: No Solution Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 58*78=4524, Resulting Numbers: [4524] 4524,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[82, 54], Operations: ['88-6=82', '58-4=54'] Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,44 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[82, 62], Operations: ['88-6=82', '4+58=62'] Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,44 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[58, 86], Operations: ['88-6=82', '4+82=86'] Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,44 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,44 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: 44:[4, 88, 52], Operations: ['58-6=52'] Exploring Operation: 88-52=36, Resulting Numbers: [4, 36] Generated Node #0,3,0: 44:[4, 36] Operation: 88-52=36 Exploring Operation: 88/4=22, Resulting Numbers: [52, 22] Generated Node #0,3,1: 44:[52, 22] Operation: 88/4=22 Exploring Operation: 88-4=84, Resulting Numbers: [52, 84] Generated Node #0,3,2: 44:[52, 84] Operation: 88-4=84 Exploring Operation: 52-4=48, Resulting Numbers: [88, 48] Generated Node #0,3,3: 44:[88, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [88, 13] Generated Node #0,3,4: 44:[88, 13] Operation: 52/4=13 Moving to Node #0,0 Current State: 44:[6, 58, 84], Operations: ['88-4=84'] Exploring Operation: 84-58=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 44:[6, 26] Operation: 84-58=26 Exploring Operation: 58-6=52, Resulting Numbers: [84, 52] Generated Node #0,0,1: 44:[84, 52] Operation: 58-6=52 Exploring Operation: 84/6=14, Resulting Numbers: [58, 14] Generated Node #0,0,2: 44:[58, 14] Operation: 84/6=14 Exploring Operation: 6+58=64, Resulting Numbers: [84, 64] Generated Node #0,0,3: 44:[84, 64] Operation: 6+58=64 Exploring Operation: 84-6=78, Resulting Numbers: [58, 78] Generated Node #0,0,4: 44:[58, 78] Operation: 84-6=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[6, 26], Operations: ['88-4=84', '84-58=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[58, 14], Operations: ['88-4=84', '84/6=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,44 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[4, 88, 6, 58], Operations: [] Exploring Operation: 88-4=84, Resulting Numbers: [6, 58, 84] Generated Node #0,0: 44:[6, 58, 84] Operation: 88-4=84 Moving to Node #0,0 Current State: 44:[6, 58, 84], Operations: ['88-4=84'] Exploring Operation: 84/6=14, Resulting Numbers: [58, 14] Generated Node #0,0,2: 44:[58, 14] Operation: 84/6=14 Moving to Node #0,0,2 Current State: 44:[58, 14], Operations: ['88-4=84', '84/6=14'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 50, 45, 1, 91 ]
81
[ "91-1=90", "45*90=4050", "4050/50=81" ]
Current State: 81:[50, 45, 1, 91], Operations: [] Exploring Operation: 91-1=90, Resulting Numbers: [50, 45, 90] Generated Node #2: [50, 45, 90] from Operation: 91-1=90 Current State: 81:[50, 45, 90], Operations: ['91-1=90'] Exploring Operation: 45*90=4050, Resulting Numbers: [50, 4050] Generated Node #3: [50, 4050] from Operation: 45*90=4050 Current State: 81:[50, 4050], Operations: ['91-1=90', '45*90=4050'] Exploring Operation: 4050/50=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[50, 45, 1, 91], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [45, 1, 41] Generated Node #0,0: 81:[45, 1, 41] Operation: 91-50=41 Exploring Operation: 50-45=5, Resulting Numbers: [1, 91, 5] Generated Node #0,1: 81:[1, 91, 5] Operation: 50-45=5 Exploring Operation: 50+45=95, Resulting Numbers: [1, 91, 95] Generated Node #0,2: 81:[1, 91, 95] Operation: 50+45=95 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[1, 91, 5], Operations: ['50-45=5'] Exploring Operation: 91-1=90, Resulting Numbers: [5, 90] Generated Node #0,1,0: 81:[5, 90] Operation: 91-1=90 Exploring Operation: 5-1=4, Resulting Numbers: [91, 4] Generated Node #0,1,1: 81:[91, 4] Operation: 5-1=4 Exploring Operation: 91-5=86, Resulting Numbers: [1, 86] Generated Node #0,1,2: 81:[1, 86] Operation: 91-5=86 Moving to Node #0,1,2 Current State: 81:[1, 86], Operations: ['50-45=5', '91-5=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[5, 90], Operations: ['50-45=5', '91-1=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[91, 4], Operations: ['50-45=5', '5-1=4'] Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,81 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[1, 91, 95], Operations: ['50+45=95'] Exploring Operation: 95-1=94, Resulting Numbers: [91, 94] Generated Node #0,2,0: 81:[91, 94] Operation: 95-1=94 Exploring Operation: 91-1=90, Resulting Numbers: [95, 90] Generated Node #0,2,1: 81:[95, 90] Operation: 91-1=90 Exploring Operation: 95-91=4, Resulting Numbers: [1, 4] Generated Node #0,2,2: 81:[1, 4] Operation: 95-91=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[1, 4], Operations: ['50+45=95', '95-91=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,81 unequal: No Solution No 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: 81:[91, 94], Operations: ['50+45=95', '95-1=94'] Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,81 unequal: No Solution Exploring Operation: 91*94=8554, Resulting Numbers: [8554] 8554,81 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,81 unequal: No Solution No 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: 81:[95, 90], Operations: ['50+45=95', '91-1=90'] Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,81 unequal: No Solution Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,81 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,81 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: 81:[45, 1, 41], Operations: ['91-50=41'] Exploring Operation: 45-41=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 81:[1, 4] Operation: 45-41=4 Exploring Operation: 45-1=44, Resulting Numbers: [41, 44] Generated Node #0,0,1: 81:[41, 44] Operation: 45-1=44 Exploring Operation: 45+41=86, Resulting Numbers: [1, 86] Generated Node #0,0,2: 81:[1, 86] Operation: 45+41=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[1, 4], Operations: ['91-50=41', '45-41=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,81 unequal: No Solution No 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: 81:[1, 86], Operations: ['91-50=41', '45+41=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,81 unequal: No Solution No 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: 81:[41, 44], Operations: ['91-50=41', '45-1=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 34, 22, 32, 78 ]
28
[ "34-32=2", "78-22=56", "56/2=28" ]
Current State: 28:[34, 22, 32, 78], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [22, 78, 2] Generated Node #2: [22, 78, 2] from Operation: 34-32=2 Current State: 28:[22, 78, 2], Operations: ['34-32=2'] Exploring Operation: 78-22=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 78-22=56 Current State: 28:[2, 56], Operations: ['34-32=2', '78-22=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[34, 22, 32, 78], Operations: [] Exploring Operation: 78-32=46, Resulting Numbers: [34, 22, 46] Generated Node #0,0: 28:[34, 22, 46] Operation: 78-32=46 Exploring Operation: 78-34=44, Resulting Numbers: [22, 32, 44] Generated Node #0,1: 28:[22, 32, 44] Operation: 78-34=44 Moving to Node #0,1 Current State: 28:[22, 32, 44], Operations: ['78-34=44'] Exploring Operation: 44/22=2, Resulting Numbers: [32, 2] Generated Node #0,1,0: 28:[32, 2] Operation: 44/22=2 Exploring Operation: 44-32=12, Resulting Numbers: [22, 12] Generated Node #0,1,1: 28:[22, 12] Operation: 44-32=12 Moving to Node #0,0 Current State: 28:[34, 22, 46], Operations: ['78-32=46'] Exploring Operation: 46-22=24, Resulting Numbers: [34, 24] Generated Node #0,0,0: 28:[34, 24] Operation: 46-22=24 Exploring Operation: 46-34=12, Resulting Numbers: [22, 12] Generated Node #0,0,1: 28:[22, 12] Operation: 46-34=12 Moving to Node #0,1,0 Current State: 28:[32, 2], Operations: ['78-34=44', '44/22=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[22, 12], Operations: ['78-32=46', '46-34=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[22, 12], Operations: ['78-34=44', '44-32=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[34, 24], Operations: ['78-32=46', '46-22=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 48, 88, 4, 93 ]
83
[ "88-48=40", "40/4=10", "93-10=83" ]
Current State: 83:[48, 88, 4, 93], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [4, 93, 40] Generated Node #2: [4, 93, 40] from Operation: 88-48=40 Current State: 83:[4, 93, 40], Operations: ['88-48=40'] Exploring Operation: 40/4=10, Resulting Numbers: [93, 10] Generated Node #3: [93, 10] from Operation: 40/4=10 Current State: 83:[93, 10], Operations: ['88-48=40', '40/4=10'] Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[48, 88, 4, 93], Operations: [] Exploring Operation: 48+4=52, Resulting Numbers: [88, 93, 52] Generated Node #0,0: 83:[88, 93, 52] Operation: 48+4=52 Moving to Node #0,0 Current State: 83:[88, 93, 52], Operations: ['48+4=52'] Exploring Operation: 93-52=41, Resulting Numbers: [88, 41] Generated Node #0,0,0: 83:[88, 41] Operation: 93-52=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[88, 41], Operations: ['48+4=52', '93-52=41'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 6, 7, 20, 56 ]
37
[ "7-6=1", "56-20=36", "1+36=37" ]
Current State: 37:[6, 7, 20, 56], Operations: [] Exploring Operation: 7-6=1, Resulting Numbers: [20, 56, 1] Generated Node #2: [20, 56, 1] from Operation: 7-6=1 Current State: 37:[20, 56, 1], Operations: ['7-6=1'] Exploring Operation: 56-20=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 56-20=36 Current State: 37:[1, 36], Operations: ['7-6=1', '56-20=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[6, 7, 20, 56], Operations: [] Exploring Operation: 6*7=42, Resulting Numbers: [20, 56, 42] Generated Node #0,0: 37:[20, 56, 42] Operation: 6*7=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[20, 56, 42], Operations: ['6*7=42'] Exploring Operation: 56-20=36, Resulting Numbers: [42, 36] Generated Node #0,0,0: 37:[42, 36] Operation: 56-20=36 Moving to Node #0,0,0 Current State: 37:[42, 36], Operations: ['6*7=42', '56-20=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,37 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
[ 41, 26, 2, 35 ]
21
[ "41*2=82", "26+35=61", "82-61=21" ]
Current State: 21:[41, 26, 2, 35], Operations: [] Exploring Operation: 41*2=82, Resulting Numbers: [26, 35, 82] Generated Node #2: [26, 35, 82] from Operation: 41*2=82 Current State: 21:[26, 35, 82], Operations: ['41*2=82'] Exploring Operation: 26+35=61, Resulting Numbers: [82, 61] Generated Node #3: [82, 61] from Operation: 26+35=61 Current State: 21:[82, 61], Operations: ['41*2=82', '26+35=61'] Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[41, 26, 2, 35], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [26, 2, 6] Generated Node #0,0: 21:[26, 2, 6] Operation: 41-35=6 Exploring Operation: 41-26=15, Resulting Numbers: [2, 35, 15] Generated Node #0,1: 21:[2, 35, 15] Operation: 41-26=15 Moving to Node #0,0 Current State: 21:[26, 2, 6], Operations: ['41-35=6'] Exploring Operation: 26-6=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 21:[2, 20] Operation: 26-6=20 Exploring Operation: 26-2=24, Resulting Numbers: [6, 24] Generated Node #0,0,1: 21:[6, 24] Operation: 26-2=24 Moving to Node #0,1 Current State: 21:[2, 35, 15], Operations: ['41-26=15'] Exploring Operation: 35-2=33, Resulting Numbers: [15, 33] Generated Node #0,1,0: 21:[15, 33] Operation: 35-2=33 Exploring Operation: 35-15=20, Resulting Numbers: [2, 20] Generated Node #0,1,1: 21:[2, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[2, 20], Operations: ['41-26=15', '35-15=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,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,1,0 Current State: 21:[15, 33], Operations: ['41-26=15', '35-2=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,21 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: 21:[2, 20], Operations: ['41-35=6', '26-6=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[6, 24], Operations: ['41-35=6', '26-2=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 57, 71, 30, 57 ]
73
[ "71-57=14", "30+57=87", "87-14=73" ]
Current State: 73:[57, 71, 30, 57], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [30, 14] Generated Node #2: [30, 14] from Operation: 71-57=14 Current State: 73:[30, 14], Operations: ['71-57=14'] Exploring Operation: 30+57=87, Resulting Numbers: [14, 87] Generated Node #3: [14, 87] from Operation: 30+57=87 Current State: 73:[14, 87], Operations: ['71-57=14', '30+57=87'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[57, 71, 30, 57], Operations: [] Exploring Operation: 30+57=87, Resulting Numbers: [57, 71, 87] Generated Node #0,0: 73:[57, 71, 87] Operation: 30+57=87 Exploring Operation: 57+30=87, Resulting Numbers: [71, 57, 87] Generated Node #0,1: 73:[71, 57, 87] Operation: 57+30=87 Moving to Node #0,0 Current State: 73:[57, 71, 87], Operations: ['30+57=87'] Exploring Operation: 57+71=128, Resulting Numbers: [87, 128] Generated Node #0,0,0: 73:[87, 128] Operation: 57+71=128 Exploring Operation: 87-57=30, Resulting Numbers: [71, 30] Generated Node #0,0,1: 73:[71, 30] Operation: 87-57=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[71, 30], Operations: ['30+57=87', '87-57=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,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,0 Current State: 73:[87, 128], Operations: ['30+57=87', '57+71=128'] Exploring Operation: 128-87=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 87+128=215, Resulting Numbers: [215] 215,73 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: 73:[71, 57, 87], Operations: ['57+30=87'] Exploring Operation: 87-57=30, Resulting Numbers: [71, 30] Generated Node #0,1,0: 73:[71, 30] Operation: 87-57=30 Exploring Operation: 71+57=128, Resulting Numbers: [87, 128] Generated Node #0,1,1: 73:[87, 128] Operation: 71+57=128 Moving to Node #0,1,0 Current State: 73:[71, 30], Operations: ['57+30=87', '87-57=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[87, 128], Operations: ['57+30=87', '71+57=128'] Exploring Operation: 87+128=215, Resulting Numbers: [215] 215,73 unequal: No Solution Exploring Operation: 128-87=41, Resulting Numbers: [41] 41,73 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 3, 40, 55, 38 ]
55
[ "40-3=37", "38-37=1", "55*1=55" ]
Current State: 55:[3, 40, 55, 38], Operations: [] Exploring Operation: 40-3=37, Resulting Numbers: [55, 38, 37] Generated Node #2: [55, 38, 37] from Operation: 40-3=37 Current State: 55:[55, 38, 37], Operations: ['40-3=37'] Exploring Operation: 38-37=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 38-37=1 Current State: 55:[55, 1], Operations: ['40-3=37', '38-37=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[3, 40, 55, 38], Operations: [] Exploring Operation: 3+40=43, Resulting Numbers: [55, 38, 43] Generated Node #0,0: 55:[55, 38, 43] Operation: 3+40=43 Exploring Operation: 55-40=15, Resulting Numbers: [3, 38, 15] Generated Node #0,1: 55:[3, 38, 15] Operation: 55-40=15 Exploring Operation: 40-38=2, Resulting Numbers: [3, 55, 2] Generated Node #0,2: 55:[3, 55, 2] Operation: 40-38=2 Exploring Operation: 40+38=78, Resulting Numbers: [3, 55, 78] Generated Node #0,3: 55:[3, 55, 78] Operation: 40+38=78 Exploring Operation: 55-38=17, Resulting Numbers: [3, 40, 17] Generated Node #0,4: 55:[3, 40, 17] Operation: 55-38=17 Moving to Node #0,2 Current State: 55:[3, 55, 2], Operations: ['40-38=2'] Exploring Operation: 3+2=5, Resulting Numbers: [55, 5] Generated Node #0,2,0: 55:[55, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [55, 6] Generated Node #0,2,1: 55:[55, 6] Operation: 3*2=6 Exploring Operation: 3-2=1, Resulting Numbers: [55, 1] Generated Node #0,2,2: 55:[55, 1] Operation: 3-2=1 Exploring Operation: 55-2=53, Resulting Numbers: [3, 53] Generated Node #0,2,3: 55:[3, 53] Operation: 55-2=53 Exploring Operation: 55+2=57, Resulting Numbers: [3, 57] Generated Node #0,2,4: 55:[3, 57] Operation: 55+2=57 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[55, 5], Operations: ['40-38=2', '3+2=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,55 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[55, 6], Operations: ['40-38=2', '3*2=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,55 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[55, 1], Operations: ['40-38=2', '3-2=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[3, 40, 55, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [3, 55, 2] Generated Node #0,2: 55:[3, 55, 2] Operation: 40-38=2 Moving to Node #0,2 Current State: 55:[3, 55, 2], Operations: ['40-38=2'] Exploring Operation: 3-2=1, Resulting Numbers: [55, 1] Generated Node #0,2,2: 55:[55, 1] Operation: 3-2=1 Moving to Node #0,2,2 Current State: 55:[55, 1], Operations: ['40-38=2', '3-2=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 95, 54, 53, 93 ]
80
[ "95-93=2", "54/2=27", "53+27=80" ]
Current State: 80:[95, 54, 53, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [54, 53, 2] Generated Node #2: [54, 53, 2] from Operation: 95-93=2 Current State: 80:[54, 53, 2], Operations: ['95-93=2'] Exploring Operation: 54/2=27, Resulting Numbers: [53, 27] Generated Node #3: [53, 27] from Operation: 54/2=27 Current State: 80:[53, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[95, 54, 53, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [54, 53, 2] Generated Node #0,0: 80:[54, 53, 2] Operation: 95-93=2 Exploring Operation: 93-54=39, Resulting Numbers: [95, 53, 39] Generated Node #0,1: 80:[95, 53, 39] Operation: 93-54=39 Exploring Operation: 95-53=42, Resulting Numbers: [54, 93, 42] Generated Node #0,2: 80:[54, 93, 42] Operation: 95-53=42 Exploring Operation: 54-53=1, Resulting Numbers: [95, 93, 1] Generated Node #0,3: 80:[95, 93, 1] Operation: 54-53=1 Exploring Operation: 95-54=41, Resulting Numbers: [53, 93, 41] Generated Node #0,4: 80:[53, 93, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[54, 53, 2], Operations: ['95-93=2'] Exploring Operation: 54-2=52, Resulting Numbers: [53, 52] Generated Node #0,0,0: 80:[53, 52] Operation: 54-2=52 Exploring Operation: 53-2=51, Resulting Numbers: [54, 51] Generated Node #0,0,1: 80:[54, 51] Operation: 53-2=51 Exploring Operation: 54/2=27, Resulting Numbers: [53, 27] Generated Node #0,0,2: 80:[53, 27] Operation: 54/2=27 Exploring Operation: 54-53=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 80:[2, 1] Operation: 54-53=1 Exploring Operation: 54+53=107, Resulting Numbers: [2, 107] Generated Node #0,0,4: 80:[2, 107] Operation: 54+53=107 Moving to Node #0,0,3 Current State: 80:[2, 1], Operations: ['95-93=2', '54-53=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[53, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[95, 54, 53, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [54, 53, 2] Generated Node #0,0: 80:[54, 53, 2] Operation: 95-93=2 Moving to Node #0,0 Current State: 80:[54, 53, 2], Operations: ['95-93=2'] Exploring Operation: 54/2=27, Resulting Numbers: [53, 27] Generated Node #0,0,2: 80:[53, 27] Operation: 54/2=27 Moving to Node #0,0,2 Current State: 80:[53, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 45, 63, 27, 49 ]
51
[ "63+27=90", "90/45=2", "49+2=51" ]
Current State: 51:[45, 63, 27, 49], Operations: [] Exploring Operation: 63+27=90, Resulting Numbers: [45, 49, 90] Generated Node #2: [45, 49, 90] from Operation: 63+27=90 Current State: 51:[45, 49, 90], Operations: ['63+27=90'] Exploring Operation: 90/45=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 90/45=2 Current State: 51:[49, 2], Operations: ['63+27=90', '90/45=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 63, 27, 49], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [27, 49, 18] Generated Node #0,0: 51:[27, 49, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[27, 49, 18], Operations: ['63-45=18'] Exploring Operation: 49-27=22, Resulting Numbers: [18, 22] Generated Node #0,0,0: 51:[18, 22] Operation: 49-27=22 Moving to Node #0,0,0 Current State: 51:[18, 22], Operations: ['63-45=18', '49-27=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,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
sum_heuristic
[ 67, 81, 45, 7 ]
53
[ "81-67=14", "7*14=98", "98-45=53" ]
Current State: 53:[67, 81, 45, 7], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [45, 7, 14] Generated Node #2: [45, 7, 14] from Operation: 81-67=14 Current State: 53:[45, 7, 14], Operations: ['81-67=14'] Exploring Operation: 7*14=98, Resulting Numbers: [45, 98] Generated Node #3: [45, 98] from Operation: 7*14=98 Current State: 53:[45, 98], Operations: ['81-67=14', '7*14=98'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[67, 81, 45, 7], Operations: [] Exploring Operation: 67-7=60, Resulting Numbers: [81, 45, 60] Generated Node #0,0: 53:[81, 45, 60] Operation: 67-7=60 Exploring Operation: 81-7=74, Resulting Numbers: [67, 45, 74] Generated Node #0,1: 53:[67, 45, 74] Operation: 81-7=74 Exploring Operation: 45+7=52, Resulting Numbers: [67, 81, 52] Generated Node #0,2: 53:[67, 81, 52] Operation: 45+7=52 Exploring Operation: 67+7=74, Resulting Numbers: [81, 45, 74] Generated Node #0,3: 53:[81, 45, 74] Operation: 67+7=74 Moving to Node #0,0 Current State: 53:[81, 45, 60], Operations: ['67-7=60'] Exploring Operation: 81-45=36, Resulting Numbers: [60, 36] Generated Node #0,0,0: 53:[60, 36] Operation: 81-45=36 Exploring Operation: 60-45=15, Resulting Numbers: [81, 15] Generated Node #0,0,1: 53:[81, 15] Operation: 60-45=15 Exploring Operation: 81+45=126, Resulting Numbers: [60, 126] Generated Node #0,0,2: 53:[60, 126] Operation: 81+45=126 Exploring Operation: 81-60=21, Resulting Numbers: [45, 21] Generated Node #0,0,3: 53:[45, 21] Operation: 81-60=21 Moving to Node #0,2 Current State: 53:[67, 81, 52], Operations: ['45+7=52'] Exploring Operation: 81-52=29, Resulting Numbers: [67, 29] Generated Node #0,2,0: 53:[67, 29] Operation: 81-52=29 Exploring Operation: 67-52=15, Resulting Numbers: [81, 15] Generated Node #0,2,1: 53:[81, 15] Operation: 67-52=15 Exploring Operation: 81-67=14, Resulting Numbers: [52, 14] Generated Node #0,2,2: 53:[52, 14] Operation: 81-67=14 Exploring Operation: 67+52=119, Resulting Numbers: [81, 119] Generated Node #0,2,3: 53:[81, 119] Operation: 67+52=119 Moving to Node #0,1 Current State: 53:[67, 45, 74], Operations: ['81-7=74'] Exploring Operation: 67+45=112, Resulting Numbers: [74, 112] Generated Node #0,1,0: 53:[74, 112] Operation: 67+45=112 Exploring Operation: 74-67=7, Resulting Numbers: [45, 7] Generated Node #0,1,1: 53:[45, 7] Operation: 74-67=7 Exploring Operation: 67-45=22, Resulting Numbers: [74, 22] Generated Node #0,1,2: 53:[74, 22] Operation: 67-45=22 Exploring Operation: 74-45=29, Resulting Numbers: [67, 29] Generated Node #0,1,3: 53:[67, 29] Operation: 74-45=29 Moving to Node #0,3 Current State: 53:[81, 45, 74], Operations: ['67+7=74'] Exploring Operation: 81-45=36, Resulting Numbers: [74, 36] Generated Node #0,3,0: 53:[74, 36] Operation: 81-45=36 Exploring Operation: 74-45=29, Resulting Numbers: [81, 29] Generated Node #0,3,1: 53:[81, 29] Operation: 74-45=29 Exploring Operation: 81-74=7, Resulting Numbers: [45, 7] Generated Node #0,3,2: 53:[45, 7] Operation: 81-74=7 Exploring Operation: 81+45=126, Resulting Numbers: [74, 126] Generated Node #0,3,3: 53:[74, 126] Operation: 81+45=126 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[74, 36], Operations: ['67+7=74', '81-45=36'] Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,53 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,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,1 Current State: 53:[81, 29], Operations: ['67+7=74', '74-45=29'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,53 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,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,2 Current State: 53:[45, 7], Operations: ['67+7=74', '81-74=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,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,3 Current State: 53:[74, 126], Operations: ['67+7=74', '81+45=126'] Exploring Operation: 74*126=9324, Resulting Numbers: [9324] 9324,53 unequal: No Solution Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 74+126=200, Resulting Numbers: [200] 200,53 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: 53:[60, 36], Operations: ['67-7=60', '81-45=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[67, 29], Operations: ['45+7=52', '81-52=29'] Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,53 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[67, 29], Operations: ['81-7=74', '74-45=29'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,53 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[52, 14], Operations: ['45+7=52', '81-67=14'] Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,53 unequal: No Solution Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[45, 21], Operations: ['67-7=60', '81-60=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,53 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[74, 22], Operations: ['81-7=74', '67-45=22'] Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[45, 7], Operations: ['81-7=74', '74-67=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,53 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[81, 15], Operations: ['67-7=60', '60-45=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,53 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[81, 15], Operations: ['45+7=52', '67-52=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,53 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[74, 112], Operations: ['81-7=74', '67+45=112'] Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,53 unequal: No Solution Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[60, 126], Operations: ['67-7=60', '81+45=126'] Exploring Operation: 126-60=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 60+126=186, Resulting Numbers: [186] 186,53 unequal: No Solution Exploring Operation: 60*126=7560, Resulting Numbers: [7560] 7560,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[81, 119], Operations: ['45+7=52', '67+52=119'] Exploring Operation: 119-81=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 81*119=9639, Resulting Numbers: [9639] 9639,53 unequal: No Solution Exploring Operation: 81+119=200, Resulting Numbers: [200] 200,53 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 82, 52, 47, 78 ]
76
[ "82*78=6396", "6396/52=123", "123-47=76" ]
Current State: 76:[82, 52, 47, 78], Operations: [] Exploring Operation: 82*78=6396, Resulting Numbers: [52, 47, 6396] Generated Node #2: [52, 47, 6396] from Operation: 82*78=6396 Current State: 76:[52, 47, 6396], Operations: ['82*78=6396'] Exploring Operation: 6396/52=123, Resulting Numbers: [47, 123] Generated Node #3: [47, 123] from Operation: 6396/52=123 Current State: 76:[47, 123], Operations: ['82*78=6396', '6396/52=123'] Exploring Operation: 123-47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[82, 52, 47, 78], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [82, 78, 5] Generated Node #0,0: 76:[82, 78, 5] Operation: 52-47=5 Moving to Node #0,0 Current State: 76:[82, 78, 5], Operations: ['52-47=5'] Exploring Operation: 82-78=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 76:[5, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[5, 4], Operations: ['52-47=5', '82-78=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 32, 98, 5, 29 ]
42
[ "98-32=66", "29-5=24", "66-24=42" ]
Current State: 42:[32, 98, 5, 29], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [5, 29, 66] Generated Node #2: [5, 29, 66] from Operation: 98-32=66 Current State: 42:[5, 29, 66], Operations: ['98-32=66'] Exploring Operation: 29-5=24, Resulting Numbers: [66, 24] Generated Node #3: [66, 24] from Operation: 29-5=24 Current State: 42:[66, 24], Operations: ['98-32=66', '29-5=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[32, 98, 5, 29], Operations: [] Exploring Operation: 98-29=69, Resulting Numbers: [32, 5, 69] Generated Node #0,0: 42:[32, 5, 69] Operation: 98-29=69 Exploring Operation: 98-32=66, Resulting Numbers: [5, 29, 66] Generated Node #0,1: 42:[5, 29, 66] Operation: 98-32=66 Moving to Node #0,1 Current State: 42:[5, 29, 66], Operations: ['98-32=66'] Exploring Operation: 66-29=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 42:[5, 37] Operation: 66-29=37 Exploring Operation: 29-5=24, Resulting Numbers: [66, 24] Generated Node #0,1,1: 42:[66, 24] Operation: 29-5=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[5, 37], Operations: ['98-32=66', '66-29=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[32, 98, 5, 29], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [5, 29, 66] Generated Node #0,1: 42:[5, 29, 66] Operation: 98-32=66 Moving to Node #0,1 Current State: 42:[5, 29, 66], Operations: ['98-32=66'] Exploring Operation: 66-29=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 42:[5, 37] Operation: 66-29=37 Moving to Node #0,1,0 Current State: 42:[5, 37], Operations: ['98-32=66', '66-29=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 60, 53, 18, 71 ]
59
[ "53+18=71", "71/71=1", "60-1=59" ]
Current State: 59:[60, 53, 18, 71], Operations: [] Exploring Operation: 53+18=71, Resulting Numbers: [60, 71, 71] Generated Node #2: [60, 71, 71] from Operation: 53+18=71 Current State: 59:[60, 71, 71], Operations: ['53+18=71'] Exploring Operation: 71/71=1, Resulting Numbers: [60, 1] Generated Node #3: [60, 1] from Operation: 71/71=1 Current State: 59:[60, 1], Operations: ['53+18=71', '71/71=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[60, 53, 18, 71], Operations: [] Exploring Operation: 71-18=53, Resulting Numbers: [60, 53, 53] Generated Node #0,0: 59:[60, 53, 53] Operation: 71-18=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[60, 53, 53], Operations: ['71-18=53'] Exploring Operation: 53+53=106, Resulting Numbers: [60, 106] Generated Node #0,0,0: 59:[60, 106] Operation: 53+53=106 Moving to Node #0,0,0 Current State: 59:[60, 106], Operations: ['71-18=53', '53+53=106'] Exploring Operation: 106-60=46, Resulting Numbers: [46] 46,59 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
[ 7, 96, 25, 87 ]
30
[ "87-7=80", "96*25=2400", "2400/80=30" ]
Current State: 30:[7, 96, 25, 87], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [96, 25, 80] Generated Node #2: [96, 25, 80] from Operation: 87-7=80 Current State: 30:[96, 25, 80], Operations: ['87-7=80'] Exploring Operation: 96*25=2400, Resulting Numbers: [80, 2400] Generated Node #3: [80, 2400] from Operation: 96*25=2400 Current State: 30:[80, 2400], Operations: ['87-7=80', '96*25=2400'] Exploring Operation: 2400/80=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[7, 96, 25, 87], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [7, 87, 71] Generated Node #0,0: 30:[7, 87, 71] Operation: 96-25=71 Exploring Operation: 87-25=62, Resulting Numbers: [7, 96, 62] Generated Node #0,1: 30:[7, 96, 62] Operation: 87-25=62 Exploring Operation: 96-87=9, Resulting Numbers: [7, 25, 9] Generated Node #0,2: 30:[7, 25, 9] Operation: 96-87=9 Moving to Node #0,2 Current State: 30:[7, 25, 9], Operations: ['96-87=9'] Exploring Operation: 25-7=18, Resulting Numbers: [9, 18] Generated Node #0,2,0: 30:[9, 18] Operation: 25-7=18 Exploring Operation: 25-9=16, Resulting Numbers: [7, 16] Generated Node #0,2,1: 30:[7, 16] Operation: 25-9=16 Exploring Operation: 7+25=32, Resulting Numbers: [9, 32] Generated Node #0,2,2: 30:[9, 32] Operation: 7+25=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[7, 16], Operations: ['96-87=9', '25-9=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[9, 32], Operations: ['96-87=9', '7+25=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[9, 18], Operations: ['96-87=9', '25-7=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,30 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: 30:[7, 87, 71], Operations: ['96-25=71'] Exploring Operation: 87-7=80, Resulting Numbers: [71, 80] Generated Node #0,0,0: 30:[71, 80] Operation: 87-7=80 Exploring Operation: 71-7=64, Resulting Numbers: [87, 64] Generated Node #0,0,1: 30:[87, 64] Operation: 71-7=64 Exploring Operation: 87-71=16, Resulting Numbers: [7, 16] Generated Node #0,0,2: 30:[7, 16] Operation: 87-71=16 Moving to Node #0,1 Current State: 30:[7, 96, 62], Operations: ['87-25=62'] Exploring Operation: 96-7=89, Resulting Numbers: [62, 89] Generated Node #0,1,0: 30:[62, 89] Operation: 96-7=89 Exploring Operation: 62-7=55, Resulting Numbers: [96, 55] Generated Node #0,1,1: 30:[96, 55] Operation: 62-7=55 Exploring Operation: 96-62=34, Resulting Numbers: [7, 34] Generated Node #0,1,2: 30:[7, 34] Operation: 96-62=34 Moving to Node #0,0,2 Current State: 30:[7, 16], Operations: ['96-25=71', '87-71=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,30 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[7, 34], Operations: ['87-25=62', '96-62=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[87, 64], Operations: ['96-25=71', '71-7=64'] Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,30 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[96, 55], Operations: ['87-25=62', '62-7=55'] Exploring Operation: 96+55=151, Resulting Numbers: [151] 151,30 unequal: No Solution Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 96*55=5280, Resulting Numbers: [5280] 5280,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[62, 89], Operations: ['87-25=62', '96-7=89'] Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,30 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[71, 80], Operations: ['96-25=71', '87-7=80'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 71*80=5680, Resulting Numbers: [5680] 5680,30 unequal: No Solution Exploring Operation: 71+80=151, Resulting Numbers: [151] 151,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 87, 2, 82, 17 ]
77
[ "87-2=85", "85/17=5", "82-5=77" ]
Current State: 77:[87, 2, 82, 17], Operations: [] Exploring Operation: 87-2=85, Resulting Numbers: [82, 17, 85] Generated Node #2: [82, 17, 85] from Operation: 87-2=85 Current State: 77:[82, 17, 85], Operations: ['87-2=85'] Exploring Operation: 85/17=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 85/17=5 Current State: 77:[82, 5], Operations: ['87-2=85', '85/17=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[87, 2, 82, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [2, 82, 70] Generated Node #0,0: 77:[2, 82, 70] Operation: 87-17=70 Exploring Operation: 87-2=85, Resulting Numbers: [82, 17, 85] Generated Node #0,1: 77:[82, 17, 85] Operation: 87-2=85 Exploring Operation: 87-82=5, Resulting Numbers: [2, 17, 5] Generated Node #0,2: 77:[2, 17, 5] Operation: 87-82=5 Exploring Operation: 82-2=80, Resulting Numbers: [87, 17, 80] Generated Node #0,3: 77:[87, 17, 80] Operation: 82-2=80 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[2, 17, 5], Operations: ['87-82=5'] Exploring Operation: 2*5=10, Resulting Numbers: [17, 10] Generated Node #0,2,0: 77:[17, 10] Operation: 2*5=10 Exploring Operation: 17-5=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 77:[2, 12] Operation: 17-5=12 Exploring Operation: 2+5=7, Resulting Numbers: [17, 7] Generated Node #0,2,2: 77:[17, 7] Operation: 2+5=7 Exploring Operation: 17-2=15, Resulting Numbers: [5, 15] Generated Node #0,2,3: 77:[5, 15] Operation: 17-2=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[2, 12], Operations: ['87-82=5', '17-5=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,77 unequal: No Solution No 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: 77:[17, 7], Operations: ['87-82=5', '2+5=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,77 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,77 unequal: No Solution No 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: 77:[5, 15], Operations: ['87-82=5', '17-2=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,77 unequal: No Solution No 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: 77:[17, 10], Operations: ['87-82=5', '2*5=10'] Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,77 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,77 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: 77:[2, 82, 70], Operations: ['87-17=70'] Exploring Operation: 82-70=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 77:[2, 12] Operation: 82-70=12 Exploring Operation: 2+82=84, Resulting Numbers: [70, 84] Generated Node #0,0,1: 77:[70, 84] Operation: 2+82=84 Exploring Operation: 82-2=80, Resulting Numbers: [70, 80] Generated Node #0,0,2: 77:[70, 80] Operation: 82-2=80 Exploring Operation: 2+70=72, Resulting Numbers: [82, 72] Generated Node #0,0,3: 77:[82, 72] Operation: 2+70=72 Moving to Node #0,0,0 Current State: 77:[2, 12], Operations: ['87-17=70', '82-70=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[82, 72], Operations: ['87-17=70', '2+70=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,77 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[70, 80], Operations: ['87-17=70', '82-2=80'] Exploring Operation: 70*80=5600, Resulting Numbers: [5600] 5600,77 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 70+80=150, Resulting Numbers: [150] 150,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[70, 84], Operations: ['87-17=70', '2+82=84'] Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,77 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[82, 17, 85], Operations: ['87-2=85'] Exploring Operation: 82-17=65, Resulting Numbers: [85, 65] Generated Node #0,1,0: 77:[85, 65] Operation: 82-17=65 Exploring Operation: 85-82=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 77:[17, 3] Operation: 85-82=3 Exploring Operation: 85/17=5, Resulting Numbers: [82, 5] Generated Node #0,1,2: 77:[82, 5] Operation: 85/17=5 Exploring Operation: 85-17=68, Resulting Numbers: [82, 68] Generated Node #0,1,3: 77:[82, 68] Operation: 85-17=68 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[82, 5], Operations: ['87-2=85', '85/17=5'] Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,77 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[87, 2, 82, 17], Operations: [] Exploring Operation: 87-2=85, Resulting Numbers: [82, 17, 85] Generated Node #0,1: 77:[82, 17, 85] Operation: 87-2=85 Moving to Node #0,1 Current State: 77:[82, 17, 85], Operations: ['87-2=85'] Exploring Operation: 85/17=5, Resulting Numbers: [82, 5] Generated Node #0,1,2: 77:[82, 5] Operation: 85/17=5 Moving to Node #0,1,2 Current State: 77:[82, 5], Operations: ['87-2=85', '85/17=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 87, 64, 78, 61 ]
40
[ "87-64=23", "78-61=17", "23+17=40" ]
Current State: 40:[87, 64, 78, 61], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [78, 61, 23] Generated Node #2: [78, 61, 23] from Operation: 87-64=23 Current State: 40:[78, 61, 23], Operations: ['87-64=23'] Exploring Operation: 78-61=17, Resulting Numbers: [23, 17] Generated Node #3: [23, 17] from Operation: 78-61=17 Current State: 40:[23, 17], Operations: ['87-64=23', '78-61=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[87, 64, 78, 61], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [78, 61, 23] Generated Node #0,0: 40:[78, 61, 23] Operation: 87-64=23 Exploring Operation: 87-78=9, Resulting Numbers: [64, 61, 9] Generated Node #0,1: 40:[64, 61, 9] Operation: 87-78=9 Exploring Operation: 87-61=26, Resulting Numbers: [64, 78, 26] Generated Node #0,2: 40:[64, 78, 26] Operation: 87-61=26 Moving to Node #0,1 Current State: 40:[64, 61, 9], Operations: ['87-78=9'] Exploring Operation: 61-9=52, Resulting Numbers: [64, 52] Generated Node #0,1,0: 40:[64, 52] Operation: 61-9=52 Exploring Operation: 64-9=55, Resulting Numbers: [61, 55] Generated Node #0,1,1: 40:[61, 55] Operation: 64-9=55 Exploring Operation: 64-61=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 40:[9, 3] Operation: 64-61=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[9, 3], Operations: ['87-78=9', '64-61=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[64, 52], Operations: ['87-78=9', '61-9=52'] Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,40 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,40 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[61, 55], Operations: ['87-78=9', '64-9=55'] Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 61*55=3355, Resulting Numbers: [3355] 3355,40 unequal: No Solution Exploring Operation: 61+55=116, Resulting Numbers: [116] 116,40 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: 40:[78, 61, 23], Operations: ['87-64=23'] Exploring Operation: 78-23=55, Resulting Numbers: [61, 55] Generated Node #0,0,0: 40:[61, 55] Operation: 78-23=55 Exploring Operation: 61-23=38, Resulting Numbers: [78, 38] Generated Node #0,0,1: 40:[78, 38] Operation: 61-23=38 Exploring Operation: 78-61=17, Resulting Numbers: [23, 17] Generated Node #0,0,2: 40:[23, 17] Operation: 78-61=17 Moving to Node #0,2 Current State: 40:[64, 78, 26], Operations: ['87-61=26'] Exploring Operation: 78-26=52, Resulting Numbers: [64, 52] Generated Node #0,2,0: 40:[64, 52] Operation: 78-26=52 Exploring Operation: 78-64=14, Resulting Numbers: [26, 14] Generated Node #0,2,1: 40:[26, 14] Operation: 78-64=14 Exploring Operation: 78/26=3, Resulting Numbers: [64, 3] Generated Node #0,2,2: 40:[64, 3] Operation: 78/26=3 Moving to Node #0,0,2 Current State: 40:[23, 17], Operations: ['87-64=23', '78-61=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[87, 64, 78, 61], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [78, 61, 23] Generated Node #0,0: 40:[78, 61, 23] Operation: 87-64=23 Moving to Node #0,0 Current State: 40:[78, 61, 23], Operations: ['87-64=23'] Exploring Operation: 78-61=17, Resulting Numbers: [23, 17] Generated Node #0,0,2: 40:[23, 17] Operation: 78-61=17 Moving to Node #0,0,2 Current State: 40:[23, 17], Operations: ['87-64=23', '78-61=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 12, 8, 99, 46 ]
26
[ "12*99=1188", "8+1188=1196", "1196/46=26" ]
Current State: 26:[12, 8, 99, 46], Operations: [] Exploring Operation: 12*99=1188, Resulting Numbers: [8, 46, 1188] Generated Node #2: [8, 46, 1188] from Operation: 12*99=1188 Current State: 26:[8, 46, 1188], Operations: ['12*99=1188'] Exploring Operation: 8+1188=1196, Resulting Numbers: [46, 1196] Generated Node #3: [46, 1196] from Operation: 8+1188=1196 Current State: 26:[46, 1196], Operations: ['12*99=1188', '8+1188=1196'] Exploring Operation: 1196/46=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[12, 8, 99, 46], Operations: [] Exploring Operation: 46-12=34, Resulting Numbers: [8, 99, 34] Generated Node #0,0: 26:[8, 99, 34] Operation: 46-12=34 Exploring Operation: 99-46=53, Resulting Numbers: [12, 8, 53] Generated Node #0,1: 26:[12, 8, 53] Operation: 99-46=53 Exploring Operation: 99-12=87, Resulting Numbers: [8, 46, 87] Generated Node #0,2: 26:[8, 46, 87] Operation: 99-12=87 Moving to Node #0,1 Current State: 26:[12, 8, 53], Operations: ['99-46=53'] Exploring Operation: 53-12=41, Resulting Numbers: [8, 41] Generated Node #0,1,0: 26:[8, 41] Operation: 53-12=41 Exploring Operation: 12-8=4, Resulting Numbers: [53, 4] Generated Node #0,1,1: 26:[53, 4] Operation: 12-8=4 Exploring Operation: 53-8=45, Resulting Numbers: [12, 45] Generated Node #0,1,2: 26:[12, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[8, 41], Operations: ['99-46=53', '53-12=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,26 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[12, 45], Operations: ['99-46=53', '53-8=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,26 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[53, 4], Operations: ['99-46=53', '12-8=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,26 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 26:[8, 99, 34], Operations: ['46-12=34'] Exploring Operation: 34-8=26, Resulting Numbers: [99, 26] Generated Node #0,0,0: 26:[99, 26] Operation: 34-8=26 Exploring Operation: 99-34=65, Resulting Numbers: [8, 65] Generated Node #0,0,1: 26:[8, 65] Operation: 99-34=65 Exploring Operation: 99-8=91, Resulting Numbers: [34, 91] Generated Node #0,0,2: 26:[34, 91] Operation: 99-8=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[8, 65], Operations: ['46-12=34', '99-34=65'] Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 8*65=520, Resulting Numbers: [520] 520,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[99, 26], Operations: ['46-12=34', '34-8=26'] Exploring Operation: 99+26=125, Resulting Numbers: [125] 125,26 unequal: No Solution Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 99*26=2574, Resulting Numbers: [2574] 2574,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[34, 91], Operations: ['46-12=34', '99-8=91'] Exploring Operation: 34+91=125, Resulting Numbers: [125] 125,26 unequal: No Solution Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 34*91=3094, Resulting Numbers: [3094] 3094,26 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: 26:[8, 46, 87], Operations: ['99-12=87'] Exploring Operation: 87-8=79, Resulting Numbers: [46, 79] Generated Node #0,2,0: 26:[46, 79] Operation: 87-8=79 Exploring Operation: 46-8=38, Resulting Numbers: [87, 38] Generated Node #0,2,1: 26:[87, 38] Operation: 46-8=38 Exploring Operation: 87-46=41, Resulting Numbers: [8, 41] Generated Node #0,2,2: 26:[8, 41] Operation: 87-46=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[8, 41], Operations: ['99-12=87', '87-46=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[46, 79], Operations: ['99-12=87', '87-8=79'] Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,26 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[87, 38], Operations: ['99-12=87', '46-8=38'] Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,26 unequal: No Solution Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,26 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
[ 6, 42, 12, 36 ]
51
[ "6+42=48", "36/12=3", "48+3=51" ]
Current State: 51:[6, 42, 12, 36], Operations: [] Exploring Operation: 6+42=48, Resulting Numbers: [12, 36, 48] Generated Node #2: [12, 36, 48] from Operation: 6+42=48 Current State: 51:[12, 36, 48], Operations: ['6+42=48'] Exploring Operation: 36/12=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 36/12=3 Current State: 51:[48, 3], Operations: ['6+42=48', '36/12=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[6, 42, 12, 36], Operations: [] Exploring Operation: 12+36=48, Resulting Numbers: [6, 42, 48] Generated Node #0,0: 51:[6, 42, 48] Operation: 12+36=48 Exploring Operation: 42-36=6, Resulting Numbers: [6, 12, 6] Generated Node #0,1: 51:[6, 12, 6] Operation: 42-36=6 Exploring Operation: 36/12=3, Resulting Numbers: [6, 42, 3] Generated Node #0,2: 51:[6, 42, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[6, 12, 6], Operations: ['42-36=6'] Exploring Operation: 12/6=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 51:[6, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [6, 18] Generated Node #0,1,1: 51:[6, 18] Operation: 12+6=18 Exploring Operation: 6+12=18, Resulting Numbers: [6, 18] Generated Node #0,1,2: 51:[6, 18] Operation: 6+12=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[6, 2], Operations: ['42-36=6', '12/6=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,51 unequal: No Solution No 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: 51:[6, 18], Operations: ['42-36=6', '12+6=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,51 unequal: No Solution No 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: 51:[6, 18], Operations: ['42-36=6', '6+12=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,51 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: 51:[6, 42, 3], Operations: ['36/12=3'] Exploring Operation: 42/3=14, Resulting Numbers: [6, 14] Generated Node #0,2,0: 51:[6, 14] Operation: 42/3=14 Exploring Operation: 6+42=48, Resulting Numbers: [3, 48] Generated Node #0,2,1: 51:[3, 48] Operation: 6+42=48 Exploring Operation: 42/6=7, Resulting Numbers: [3, 7] Generated Node #0,2,2: 51:[3, 7] Operation: 42/6=7 Moving to Node #0,2,1 Current State: 51:[3, 48], Operations: ['36/12=3', '6+42=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[6, 42, 12, 36], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [6, 42, 3] Generated Node #0,2: 51:[6, 42, 3] Operation: 36/12=3 Moving to Node #0,2 Current State: 51:[6, 42, 3], Operations: ['36/12=3'] Exploring Operation: 6+42=48, Resulting Numbers: [3, 48] Generated Node #0,2,1: 51:[3, 48] Operation: 6+42=48 Moving to Node #0,2,1 Current State: 51:[3, 48], Operations: ['36/12=3', '6+42=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 53, 51, 46, 7 ]
85
[ "53-51=2", "46*2=92", "92-7=85" ]
Current State: 85:[53, 51, 46, 7], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [46, 7, 2] Generated Node #2: [46, 7, 2] from Operation: 53-51=2 Current State: 85:[46, 7, 2], Operations: ['53-51=2'] Exploring Operation: 46*2=92, Resulting Numbers: [7, 92] Generated Node #3: [7, 92] from Operation: 46*2=92 Current State: 85:[7, 92], Operations: ['53-51=2', '46*2=92'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[53, 51, 46, 7], Operations: [] Exploring Operation: 53+51=104, Resulting Numbers: [46, 7, 104] Generated Node #0,0: 85:[46, 7, 104] Operation: 53+51=104 Exploring Operation: 51+46=97, Resulting Numbers: [53, 7, 97] Generated Node #0,1: 85:[53, 7, 97] Operation: 51+46=97 Exploring Operation: 51-46=5, Resulting Numbers: [53, 7, 5] Generated Node #0,2: 85:[53, 7, 5] Operation: 51-46=5 Exploring Operation: 53-51=2, Resulting Numbers: [46, 7, 2] Generated Node #0,3: 85:[46, 7, 2] Operation: 53-51=2 Exploring Operation: 53-46=7, Resulting Numbers: [51, 7, 7] Generated Node #0,4: 85:[51, 7, 7] Operation: 53-46=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[53, 7, 5], Operations: ['51-46=5'] Exploring Operation: 7-5=2, Resulting Numbers: [53, 2] Generated Node #0,2,0: 85:[53, 2] Operation: 7-5=2 Exploring Operation: 53-5=48, Resulting Numbers: [7, 48] Generated Node #0,2,1: 85:[7, 48] Operation: 53-5=48 Exploring Operation: 53-7=46, Resulting Numbers: [5, 46] Generated Node #0,2,2: 85:[5, 46] Operation: 53-7=46 Exploring Operation: 53+7=60, Resulting Numbers: [5, 60] Generated Node #0,2,3: 85:[5, 60] Operation: 53+7=60 Exploring Operation: 53+5=58, Resulting Numbers: [7, 58] Generated Node #0,2,4: 85:[7, 58] Operation: 53+5=58 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[5, 60], Operations: ['51-46=5', '53+7=60'] Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,85 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[5, 46], Operations: ['51-46=5', '53-7=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,85 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[7, 58], Operations: ['51-46=5', '53+5=58'] Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,85 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[7, 48], Operations: ['51-46=5', '53-5=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,85 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[53, 2], Operations: ['51-46=5', '7-5=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[46, 7, 2], Operations: ['53-51=2'] Exploring Operation: 46*2=92, Resulting Numbers: [7, 92] Generated Node #0,3,0: 85:[7, 92] Operation: 46*2=92 Exploring Operation: 46-2=44, Resulting Numbers: [7, 44] Generated Node #0,3,1: 85:[7, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [7, 23] Generated Node #0,3,2: 85:[7, 23] Operation: 46/2=23 Exploring Operation: 7-2=5, Resulting Numbers: [46, 5] Generated Node #0,3,3: 85:[46, 5] Operation: 7-2=5 Exploring Operation: 46-7=39, Resulting Numbers: [2, 39] Generated Node #0,3,4: 85:[2, 39] Operation: 46-7=39 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[7, 23], Operations: ['53-51=2', '46/2=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,85 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,85 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 85:[7, 92], Operations: ['53-51=2', '46*2=92'] Exploring Operation: 7*92=644, Resulting Numbers: [644] 644,85 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[53, 51, 46, 7], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [46, 7, 2] Generated Node #0,3: 85:[46, 7, 2] Operation: 53-51=2 Moving to Node #0,3 Current State: 85:[46, 7, 2], Operations: ['53-51=2'] Exploring Operation: 46*2=92, Resulting Numbers: [7, 92] Generated Node #0,3,0: 85:[7, 92] Operation: 46*2=92 Moving to Node #0,3,0 Current State: 85:[7, 92], Operations: ['53-51=2', '46*2=92'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 92, 35, 17, 61 ]
21
[ "92-35=57", "17+61=78", "78-57=21" ]
Current State: 21:[92, 35, 17, 61], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [17, 61, 57] Generated Node #2: [17, 61, 57] from Operation: 92-35=57 Current State: 21:[17, 61, 57], Operations: ['92-35=57'] Exploring Operation: 17+61=78, Resulting Numbers: [57, 78] Generated Node #3: [57, 78] from Operation: 17+61=78 Current State: 21:[57, 78], Operations: ['92-35=57', '17+61=78'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[92, 35, 17, 61], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [35, 17, 31] Generated Node #0,0: 21:[35, 17, 31] Operation: 92-61=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[35, 17, 31], Operations: ['92-61=31'] Exploring Operation: 35-31=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 21:[17, 4] Operation: 35-31=4 Moving to Node #0,0,0 Current State: 21:[17, 4], Operations: ['92-61=31', '35-31=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[92, 35, 17, 61], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [35, 17, 31] Generated Node #0,0: 21:[35, 17, 31] Operation: 92-61=31 Moving to Node #0,0 Current State: 21:[35, 17, 31], Operations: ['92-61=31'] Exploring Operation: 35-31=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 21:[17, 4] Operation: 35-31=4 Moving to Node #0,0,0 Current State: 21:[17, 4], Operations: ['92-61=31', '35-31=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 88, 26, 82, 53 ]
85
[ "88+26=114", "82-53=29", "114-29=85" ]
Current State: 85:[88, 26, 82, 53], Operations: [] Exploring Operation: 88+26=114, Resulting Numbers: [82, 53, 114] Generated Node #2: [82, 53, 114] from Operation: 88+26=114 Current State: 85:[82, 53, 114], Operations: ['88+26=114'] Exploring Operation: 82-53=29, Resulting Numbers: [114, 29] Generated Node #3: [114, 29] from Operation: 82-53=29 Current State: 85:[114, 29], Operations: ['88+26=114', '82-53=29'] Exploring Operation: 114-29=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[88, 26, 82, 53], Operations: [] Exploring Operation: 88-53=35, Resulting Numbers: [26, 82, 35] Generated Node #0,0: 85:[26, 82, 35] Operation: 88-53=35 Exploring Operation: 82-53=29, Resulting Numbers: [88, 26, 29] Generated Node #0,1: 85:[88, 26, 29] Operation: 82-53=29 Exploring Operation: 53-26=27, Resulting Numbers: [88, 82, 27] Generated Node #0,2: 85:[88, 82, 27] Operation: 53-26=27 Exploring Operation: 26+53=79, Resulting Numbers: [88, 82, 79] Generated Node #0,3: 85:[88, 82, 79] Operation: 26+53=79 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[88, 82, 79], Operations: ['26+53=79'] Exploring Operation: 88-79=9, Resulting Numbers: [82, 9] Generated Node #0,3,0: 85:[82, 9] Operation: 88-79=9 Exploring Operation: 82-79=3, Resulting Numbers: [88, 3] Generated Node #0,3,1: 85:[88, 3] Operation: 82-79=3 Exploring Operation: 88-82=6, Resulting Numbers: [79, 6] Generated Node #0,3,2: 85:[79, 6] Operation: 88-82=6 Exploring Operation: 82+79=161, Resulting Numbers: [88, 161] Generated Node #0,3,3: 85:[88, 161] Operation: 82+79=161 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[88, 3], Operations: ['26+53=79', '82-79=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[88, 26, 82, 53], Operations: [] Exploring Operation: 26+53=79, Resulting Numbers: [88, 82, 79] Generated Node #0,3: 85:[88, 82, 79] Operation: 26+53=79 Moving to Node #0,3 Current State: 85:[88, 82, 79], Operations: ['26+53=79'] Exploring Operation: 82-79=3, Resulting Numbers: [88, 3] Generated Node #0,3,1: 85:[88, 3] Operation: 82-79=3 Moving to Node #0,3,1 Current State: 85:[88, 3], Operations: ['26+53=79', '82-79=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 52, 53, 53, 70 ]
70
[ "53-53=0", "52*0=0", "70+0=70" ]
Current State: 70:[52, 53, 53, 70], Operations: [] Exploring Operation: 53-53=0, Resulting Numbers: [52, 70, 0] Generated Node #2: [52, 70, 0] from Operation: 53-53=0 Current State: 70:[52, 70, 0], Operations: ['53-53=0'] Exploring Operation: 52*0=0, Resulting Numbers: [70, 0] Generated Node #3: [70, 0] from Operation: 52*0=0 Current State: 70:[70, 0], Operations: ['53-53=0', '52*0=0'] Exploring Operation: 70+0=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[52, 53, 53, 70], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [53, 70, 1] Generated Node #0,0: 70:[53, 70, 1] Operation: 53-52=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[53, 70, 1], Operations: ['53-52=1'] Exploring Operation: 70-53=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 70:[1, 17] Operation: 70-53=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[1, 17], Operations: ['53-52=1', '70-53=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,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_1
sum_heuristic
[ 45, 88, 6, 86 ]
16
[ "88+86=174", "174/6=29", "45-29=16" ]
Current State: 16:[45, 88, 6, 86], Operations: [] Exploring Operation: 88+86=174, Resulting Numbers: [45, 6, 174] Generated Node #2: [45, 6, 174] from Operation: 88+86=174 Current State: 16:[45, 6, 174], Operations: ['88+86=174'] Exploring Operation: 174/6=29, Resulting Numbers: [45, 29] Generated Node #3: [45, 29] from Operation: 174/6=29 Current State: 16:[45, 29], Operations: ['88+86=174', '174/6=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[45, 88, 6, 86], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [6, 86, 43] Generated Node #0,0: 16:[6, 86, 43] Operation: 88-45=43 Exploring Operation: 88-86=2, Resulting Numbers: [45, 6, 2] Generated Node #0,1: 16:[45, 6, 2] Operation: 88-86=2 Exploring Operation: 86-45=41, Resulting Numbers: [88, 6, 41] Generated Node #0,2: 16:[88, 6, 41] Operation: 86-45=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[45, 6, 2], Operations: ['88-86=2'] Exploring Operation: 45-2=43, Resulting Numbers: [6, 43] Generated Node #0,1,0: 16:[6, 43] Operation: 45-2=43 Exploring Operation: 6+2=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 16:[45, 8] Operation: 6+2=8 Exploring Operation: 45-6=39, Resulting Numbers: [2, 39] Generated Node #0,1,2: 16:[2, 39] Operation: 45-6=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[2, 39], Operations: ['88-86=2', '45-6=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[6, 43], Operations: ['88-86=2', '45-2=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[45, 8], Operations: ['88-86=2', '6+2=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[6, 86, 43], Operations: ['88-45=43'] Exploring Operation: 86-6=80, Resulting Numbers: [43, 80] Generated Node #0,0,0: 16:[43, 80] Operation: 86-6=80 Exploring Operation: 86-43=43, Resulting Numbers: [6, 43] Generated Node #0,0,1: 16:[6, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [6, 2] Generated Node #0,0,2: 16:[6, 2] Operation: 86/43=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[6, 2], Operations: ['88-45=43', '86/43=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[6, 43], Operations: ['88-45=43', '86-43=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[43, 80], Operations: ['88-45=43', '86-6=80'] Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 43*80=3440, Resulting Numbers: [3440] 3440,16 unequal: No Solution Exploring Operation: 43+80=123, Resulting Numbers: [123] 123,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[88, 6, 41], Operations: ['86-45=41'] Exploring Operation: 41-6=35, Resulting Numbers: [88, 35] Generated Node #0,2,0: 16:[88, 35] Operation: 41-6=35 Exploring Operation: 88-6=82, Resulting Numbers: [41, 82] Generated Node #0,2,1: 16:[41, 82] Operation: 88-6=82 Exploring Operation: 88-41=47, Resulting Numbers: [6, 47] Generated Node #0,2,2: 16:[6, 47] Operation: 88-41=47 Moving to Node #0,2,2 Current State: 16:[6, 47], Operations: ['86-45=41', '88-41=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[88, 35], Operations: ['86-45=41', '41-6=35'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[41, 82], Operations: ['86-45=41', '88-6=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 25, 83, 56, 27 ]
24
[ "83-56=27", "27/27=1", "25-1=24" ]
Current State: 24:[25, 83, 56, 27], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [25, 27, 27] Generated Node #2: [25, 27, 27] from Operation: 83-56=27 Current State: 24:[25, 27, 27], Operations: ['83-56=27'] Exploring Operation: 27/27=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 27/27=1 Current State: 24:[25, 1], Operations: ['83-56=27', '27/27=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 83, 56, 27], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [25, 27, 27] Generated Node #0,0: 24:[25, 27, 27] Operation: 83-56=27 Exploring Operation: 56-27=29, Resulting Numbers: [25, 83, 29] Generated Node #0,1: 24:[25, 83, 29] Operation: 56-27=29 Exploring Operation: 83-27=56, Resulting Numbers: [25, 56, 56] Generated Node #0,2: 24:[25, 56, 56] Operation: 83-27=56 Moving to Node #0,0 Current State: 24:[25, 27, 27], Operations: ['83-56=27'] Exploring Operation: 27/27=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 27/27=1 Exploring Operation: 27-25=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 24:[27, 2] Operation: 27-25=2 Exploring Operation: 27-25=2, Resulting Numbers: [27, 2] Generated Node #0,0,2: 24:[27, 2] Operation: 27-25=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['83-56=27', '27/27=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[25, 83, 56, 27], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [25, 27, 27] Generated Node #0,0: 24:[25, 27, 27] Operation: 83-56=27 Moving to Node #0,0 Current State: 24:[25, 27, 27], Operations: ['83-56=27'] Exploring Operation: 27/27=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 27/27=1 Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['83-56=27', '27/27=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 93, 22, 65, 81 ]
55
[ "93-22=71", "81-65=16", "71-16=55" ]
Current State: 55:[93, 22, 65, 81], Operations: [] Exploring Operation: 93-22=71, Resulting Numbers: [65, 81, 71] Generated Node #2: [65, 81, 71] from Operation: 93-22=71 Current State: 55:[65, 81, 71], Operations: ['93-22=71'] Exploring Operation: 81-65=16, Resulting Numbers: [71, 16] Generated Node #3: [71, 16] from Operation: 81-65=16 Current State: 55:[71, 16], Operations: ['93-22=71', '81-65=16'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[93, 22, 65, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [22, 65, 12] Generated Node #0,0: 55:[22, 65, 12] Operation: 93-81=12 Exploring Operation: 93-65=28, Resulting Numbers: [22, 81, 28] Generated Node #0,1: 55:[22, 81, 28] Operation: 93-65=28 Exploring Operation: 81-22=59, Resulting Numbers: [93, 65, 59] Generated Node #0,2: 55:[93, 65, 59] Operation: 81-22=59 Exploring Operation: 93-22=71, Resulting Numbers: [65, 81, 71] Generated Node #0,3: 55:[65, 81, 71] Operation: 93-22=71 Moving to Node #0,0 Current State: 55:[22, 65, 12], Operations: ['93-81=12'] Exploring Operation: 65-22=43, Resulting Numbers: [12, 43] Generated Node #0,0,0: 55:[12, 43] Operation: 65-22=43 Exploring Operation: 65-12=53, Resulting Numbers: [22, 53] Generated Node #0,0,1: 55:[22, 53] Operation: 65-12=53 Exploring Operation: 22+12=34, Resulting Numbers: [65, 34] Generated Node #0,0,2: 55:[65, 34] Operation: 22+12=34 Exploring Operation: 22-12=10, Resulting Numbers: [65, 10] Generated Node #0,0,3: 55:[65, 10] Operation: 22-12=10 Moving to Node #0,3 Current State: 55:[65, 81, 71], Operations: ['93-22=71'] Exploring Operation: 81-65=16, Resulting Numbers: [71, 16] Generated Node #0,3,0: 55:[71, 16] Operation: 81-65=16 Exploring Operation: 71-65=6, Resulting Numbers: [81, 6] Generated Node #0,3,1: 55:[81, 6] Operation: 71-65=6 Exploring Operation: 65+81=146, Resulting Numbers: [71, 146] Generated Node #0,3,2: 55:[71, 146] Operation: 65+81=146 Exploring Operation: 81-71=10, Resulting Numbers: [65, 10] Generated Node #0,3,3: 55:[65, 10] Operation: 81-71=10 Moving to Node #0,2 Current State: 55:[93, 65, 59], Operations: ['81-22=59'] Exploring Operation: 65-59=6, Resulting Numbers: [93, 6] Generated Node #0,2,0: 55:[93, 6] Operation: 65-59=6 Exploring Operation: 93+65=158, Resulting Numbers: [59, 158] Generated Node #0,2,1: 55:[59, 158] Operation: 93+65=158 Exploring Operation: 93-59=34, Resulting Numbers: [65, 34] Generated Node #0,2,2: 55:[65, 34] Operation: 93-59=34 Exploring Operation: 93-65=28, Resulting Numbers: [59, 28] Generated Node #0,2,3: 55:[59, 28] Operation: 93-65=28 Moving to Node #0,1 Current State: 55:[22, 81, 28], Operations: ['93-65=28'] Exploring Operation: 22+28=50, Resulting Numbers: [81, 50] Generated Node #0,1,0: 55:[81, 50] Operation: 22+28=50 Exploring Operation: 28-22=6, Resulting Numbers: [81, 6] Generated Node #0,1,1: 55:[81, 6] Operation: 28-22=6 Exploring Operation: 81-28=53, Resulting Numbers: [22, 53] Generated Node #0,1,2: 55:[22, 53] Operation: 81-28=53 Exploring Operation: 81-22=59, Resulting Numbers: [28, 59] Generated Node #0,1,3: 55:[28, 59] Operation: 81-22=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[22, 53], Operations: ['93-65=28', '81-28=53'] Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,55 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[28, 59], Operations: ['93-65=28', '81-22=59'] Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,55 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[81, 6], Operations: ['93-65=28', '28-22=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[81, 50], Operations: ['93-65=28', '22+28=50'] Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,55 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 55:[65, 10], Operations: ['93-81=12', '22-12=10'] Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[93, 22, 65, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [22, 65, 12] Generated Node #0,0: 55:[22, 65, 12] Operation: 93-81=12 Moving to Node #0,0 Current State: 55:[22, 65, 12], Operations: ['93-81=12'] Exploring Operation: 22-12=10, Resulting Numbers: [65, 10] Generated Node #0,0,3: 55:[65, 10] Operation: 22-12=10 Moving to Node #0,0,3 Current State: 55:[65, 10], Operations: ['93-81=12', '22-12=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 44, 5, 59, 79 ]
89
[ "44+5=49", "59+79=138", "138-49=89" ]
Current State: 89:[44, 5, 59, 79], Operations: [] Exploring Operation: 44+5=49, Resulting Numbers: [59, 79, 49] Generated Node #2: [59, 79, 49] from Operation: 44+5=49 Current State: 89:[59, 79, 49], Operations: ['44+5=49'] Exploring Operation: 59+79=138, Resulting Numbers: [49, 138] Generated Node #3: [49, 138] from Operation: 59+79=138 Current State: 89:[49, 138], Operations: ['44+5=49', '59+79=138'] Exploring Operation: 138-49=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[44, 5, 59, 79], Operations: [] Exploring Operation: 5+59=64, Resulting Numbers: [44, 79, 64] Generated Node #0,0: 89:[44, 79, 64] Operation: 5+59=64 Exploring Operation: 44+5=49, Resulting Numbers: [59, 79, 49] Generated Node #0,1: 89:[59, 79, 49] Operation: 44+5=49 Exploring Operation: 5+79=84, Resulting Numbers: [44, 59, 84] Generated Node #0,2: 89:[44, 59, 84] Operation: 5+79=84 Moving to Node #0,0 Current State: 89:[44, 79, 64], Operations: ['5+59=64'] Exploring Operation: 79-44=35, Resulting Numbers: [64, 35] Generated Node #0,0,0: 89:[64, 35] Operation: 79-44=35 Exploring Operation: 44+79=123, Resulting Numbers: [64, 123] Generated Node #0,0,1: 89:[64, 123] Operation: 44+79=123 Exploring Operation: 44+64=108, Resulting Numbers: [79, 108] Generated Node #0,0,2: 89:[79, 108] Operation: 44+64=108 Moving to Node #0,1 Current State: 89:[59, 79, 49], Operations: ['44+5=49'] Exploring Operation: 59+79=138, Resulting Numbers: [49, 138] Generated Node #0,1,0: 89:[49, 138] Operation: 59+79=138 Exploring Operation: 79+49=128, Resulting Numbers: [59, 128] Generated Node #0,1,1: 89:[59, 128] Operation: 79+49=128 Exploring Operation: 59+49=108, Resulting Numbers: [79, 108] Generated Node #0,1,2: 89:[79, 108] Operation: 59+49=108 Moving to Node #0,2 Current State: 89:[44, 59, 84], Operations: ['5+79=84'] Exploring Operation: 59-44=15, Resulting Numbers: [84, 15] Generated Node #0,2,0: 89:[84, 15] Operation: 59-44=15 Exploring Operation: 44+59=103, Resulting Numbers: [84, 103] Generated Node #0,2,1: 89:[84, 103] Operation: 44+59=103 Exploring Operation: 44+84=128, Resulting Numbers: [59, 128] Generated Node #0,2,2: 89:[59, 128] Operation: 44+84=128 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[84, 103], Operations: ['5+79=84', '44+59=103'] Exploring Operation: 84+103=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 84*103=8652, Resulting Numbers: [8652] 8652,89 unequal: No Solution Exploring Operation: 103-84=19, Resulting Numbers: [19] 19,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[59, 128], Operations: ['5+79=84', '44+84=128'] Exploring Operation: 59+128=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 59*128=7552, Resulting Numbers: [7552] 7552,89 unequal: No Solution Exploring Operation: 128-59=69, Resulting Numbers: [69] 69,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[84, 15], Operations: ['5+79=84', '59-44=15'] Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,89 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 89:[79, 108], Operations: ['5+59=64', '44+64=108'] Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,89 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[79, 108], Operations: ['44+5=49', '59+49=108'] Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,89 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[64, 123], Operations: ['5+59=64', '44+79=123'] Exploring Operation: 64+123=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 123-64=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 64*123=7872, Resulting Numbers: [7872] 7872,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[59, 128], Operations: ['44+5=49', '79+49=128'] Exploring Operation: 59+128=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 128-59=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 59*128=7552, Resulting Numbers: [7552] 7552,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[64, 35], Operations: ['5+59=64', '79-44=35'] Exploring Operation: 64*35=2240, Resulting Numbers: [2240] 2240,89 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 64+35=99, Resulting Numbers: [99] 99,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[49, 138], Operations: ['44+5=49', '59+79=138'] Exploring Operation: 138-49=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[44, 5, 59, 79], Operations: [] Exploring Operation: 44+5=49, Resulting Numbers: [59, 79, 49] Generated Node #0,1: 89:[59, 79, 49] Operation: 44+5=49 Moving to Node #0,1 Current State: 89:[59, 79, 49], Operations: ['44+5=49'] Exploring Operation: 59+79=138, Resulting Numbers: [49, 138] Generated Node #0,1,0: 89:[49, 138] Operation: 59+79=138 Moving to Node #0,1,0 Current State: 89:[49, 138], Operations: ['44+5=49', '59+79=138'] Exploring Operation: 138-49=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 1, 46, 71, 52 ]
28
[ "1+46=47", "71-52=19", "47-19=28" ]
Current State: 28:[1, 46, 71, 52], Operations: [] Exploring Operation: 1+46=47, Resulting Numbers: [71, 52, 47] Generated Node #2: [71, 52, 47] from Operation: 1+46=47 Current State: 28:[71, 52, 47], Operations: ['1+46=47'] Exploring Operation: 71-52=19, Resulting Numbers: [47, 19] Generated Node #3: [47, 19] from Operation: 71-52=19 Current State: 28:[47, 19], Operations: ['1+46=47', '71-52=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[1, 46, 71, 52], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [1, 46, 19] Generated Node #0,0: 28:[1, 46, 19] Operation: 71-52=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[1, 46, 19], Operations: ['71-52=19'] Exploring Operation: 46-19=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 28:[1, 27] Operation: 46-19=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[1, 27], Operations: ['71-52=19', '46-19=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[1, 46, 71, 52], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [1, 46, 19] Generated Node #0,0: 28:[1, 46, 19] Operation: 71-52=19 Moving to Node #0,0 Current State: 28:[1, 46, 19], Operations: ['71-52=19'] Exploring Operation: 46-19=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 28:[1, 27] Operation: 46-19=27 Moving to Node #0,0,0 Current State: 28:[1, 27], Operations: ['71-52=19', '46-19=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 61, 86, 4, 45 ]
74
[ "86-61=25", "4+45=49", "25+49=74" ]
Current State: 74:[61, 86, 4, 45], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [4, 45, 25] Generated Node #2: [4, 45, 25] from Operation: 86-61=25 Current State: 74:[4, 45, 25], Operations: ['86-61=25'] Exploring Operation: 4+45=49, Resulting Numbers: [25, 49] Generated Node #3: [25, 49] from Operation: 4+45=49 Current State: 74:[25, 49], Operations: ['86-61=25', '4+45=49'] Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[61, 86, 4, 45], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [61, 4, 41] Generated Node #0,0: 74:[61, 4, 41] Operation: 86-45=41 Moving to Node #0,0 Current State: 74:[61, 4, 41], Operations: ['86-45=41'] Exploring Operation: 61+4=65, Resulting Numbers: [41, 65] Generated Node #0,0,0: 74:[41, 65] Operation: 61+4=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[41, 65], Operations: ['86-45=41', '61+4=65'] Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,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
[ 47, 72, 57, 22 ]
40
[ "47+72=119", "57+22=79", "119-79=40" ]
Current State: 40:[47, 72, 57, 22], Operations: [] Exploring Operation: 47+72=119, Resulting Numbers: [57, 22, 119] Generated Node #2: [57, 22, 119] from Operation: 47+72=119 Current State: 40:[57, 22, 119], Operations: ['47+72=119'] Exploring Operation: 57+22=79, Resulting Numbers: [119, 79] Generated Node #3: [119, 79] from Operation: 57+22=79 Current State: 40:[119, 79], Operations: ['47+72=119', '57+22=79'] Exploring Operation: 119-79=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[47, 72, 57, 22], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [57, 22, 25] Generated Node #0,0: 40:[57, 22, 25] Operation: 72-47=25 Exploring Operation: 72-57=15, Resulting Numbers: [47, 22, 15] Generated Node #0,1: 40:[47, 22, 15] Operation: 72-57=15 Moving to Node #0,1 Current State: 40:[47, 22, 15], Operations: ['72-57=15'] Exploring Operation: 47-22=25, Resulting Numbers: [15, 25] Generated Node #0,1,0: 40:[15, 25] Operation: 47-22=25 Exploring Operation: 22-15=7, Resulting Numbers: [47, 7] Generated Node #0,1,1: 40:[47, 7] Operation: 22-15=7 Moving to Node #0,0 Current State: 40:[57, 22, 25], Operations: ['72-47=25'] Exploring Operation: 57-25=32, Resulting Numbers: [22, 32] Generated Node #0,0,0: 40:[22, 32] Operation: 57-25=32 Exploring Operation: 57-22=35, Resulting Numbers: [25, 35] Generated Node #0,0,1: 40:[25, 35] Operation: 57-22=35 Moving to Node #0,1,1 Current State: 40:[47, 7], Operations: ['72-57=15', '22-15=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[47, 72, 57, 22], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [47, 22, 15] Generated Node #0,1: 40:[47, 22, 15] Operation: 72-57=15 Moving to Node #0,1 Current State: 40:[47, 22, 15], Operations: ['72-57=15'] Exploring Operation: 22-15=7, Resulting Numbers: [47, 7] Generated Node #0,1,1: 40:[47, 7] Operation: 22-15=7 Moving to Node #0,1,1 Current State: 40:[47, 7], Operations: ['72-57=15', '22-15=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 45, 40, 37, 39 ]
58
[ "40-37=3", "39/3=13", "45+13=58" ]
Current State: 58:[45, 40, 37, 39], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [45, 39, 3] Generated Node #2: [45, 39, 3] from Operation: 40-37=3 Current State: 58:[45, 39, 3], Operations: ['40-37=3'] Exploring Operation: 39/3=13, Resulting Numbers: [45, 13] Generated Node #3: [45, 13] from Operation: 39/3=13 Current State: 58:[45, 13], Operations: ['40-37=3', '39/3=13'] Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[45, 40, 37, 39], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [37, 39, 5] Generated Node #0,0: 58:[37, 39, 5] Operation: 45-40=5 Exploring Operation: 40-39=1, Resulting Numbers: [45, 37, 1] Generated Node #0,1: 58:[45, 37, 1] Operation: 40-39=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[37, 39, 5], Operations: ['45-40=5'] Exploring Operation: 37-5=32, Resulting Numbers: [39, 32] Generated Node #0,0,0: 58:[39, 32] Operation: 37-5=32 Exploring Operation: 39-37=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 58:[5, 2] Operation: 39-37=2 Moving to Node #0,0,1 Current State: 58:[5, 2], Operations: ['45-40=5', '39-37=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[39, 32], Operations: ['45-40=5', '37-5=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[45, 37, 1], Operations: ['40-39=1'] Exploring Operation: 45-37=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 58:[1, 8] Operation: 45-37=8 Exploring Operation: 45+1=46, Resulting Numbers: [37, 46] Generated Node #0,1,1: 58:[37, 46] Operation: 45+1=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[1, 8], Operations: ['40-39=1', '45-37=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[37, 46], Operations: ['40-39=1', '45+1=46'] Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 65, 72, 97, 89 ]
94
[ "89-65=24", "72/24=3", "97-3=94" ]
Current State: 94:[65, 72, 97, 89], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [72, 97, 24] Generated Node #2: [72, 97, 24] from Operation: 89-65=24 Current State: 94:[72, 97, 24], Operations: ['89-65=24'] Exploring Operation: 72/24=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 72/24=3 Current State: 94:[97, 3], Operations: ['89-65=24', '72/24=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[65, 72, 97, 89], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [97, 89, 7] Generated Node #0,0: 94:[97, 89, 7] Operation: 72-65=7 Exploring Operation: 89-72=17, Resulting Numbers: [65, 97, 17] Generated Node #0,1: 94:[65, 97, 17] Operation: 89-72=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[97, 89, 7], Operations: ['72-65=7'] Exploring Operation: 97-7=90, Resulting Numbers: [89, 90] Generated Node #0,0,0: 94:[89, 90] Operation: 97-7=90 Exploring Operation: 89+7=96, Resulting Numbers: [97, 96] Generated Node #0,0,1: 94:[97, 96] Operation: 89+7=96 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[97, 96], Operations: ['72-65=7', '89+7=96'] Exploring Operation: 97+96=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 97-96=1, Resulting Numbers: [1] 1,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[89, 90], Operations: ['72-65=7', '97-7=90'] Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,94 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[65, 97, 17], Operations: ['89-72=17'] Exploring Operation: 65-17=48, Resulting Numbers: [97, 48] Generated Node #0,1,0: 94:[97, 48] Operation: 65-17=48 Exploring Operation: 65+17=82, Resulting Numbers: [97, 82] Generated Node #0,1,1: 94:[97, 82] Operation: 65+17=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[97, 48], Operations: ['89-72=17', '65-17=48'] Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[97, 82], Operations: ['89-72=17', '65+17=82'] Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 97+82=179, Resulting Numbers: [179] 179,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 66, 55, 68, 20 ]
15
[ "68-66=2", "20*2=40", "55-40=15" ]
Current State: 15:[66, 55, 68, 20], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [55, 20, 2] Generated Node #2: [55, 20, 2] from Operation: 68-66=2 Current State: 15:[55, 20, 2], Operations: ['68-66=2'] Exploring Operation: 20*2=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 20*2=40 Current State: 15:[55, 40], Operations: ['68-66=2', '20*2=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[66, 55, 68, 20], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [55, 20, 2] Generated Node #0,0: 15:[55, 20, 2] Operation: 68-66=2 Exploring Operation: 68-55=13, Resulting Numbers: [66, 20, 13] Generated Node #0,1: 15:[66, 20, 13] Operation: 68-55=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[55, 20, 2], Operations: ['68-66=2'] Exploring Operation: 55-20=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 15:[2, 35] Operation: 55-20=35 Exploring Operation: 55-2=53, Resulting Numbers: [20, 53] Generated Node #0,0,1: 15:[20, 53] Operation: 55-2=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[2, 35], Operations: ['68-66=2', '55-20=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,15 unequal: No Solution No 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: 15:[20, 53], Operations: ['68-66=2', '55-2=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,15 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: 15:[66, 20, 13], Operations: ['68-55=13'] Exploring Operation: 66-20=46, Resulting Numbers: [13, 46] Generated Node #0,1,0: 15:[13, 46] Operation: 66-20=46 Exploring Operation: 66-13=53, Resulting Numbers: [20, 53] Generated Node #0,1,1: 15:[20, 53] Operation: 66-13=53 Moving to Node #0,1,0 Current State: 15:[13, 46], Operations: ['68-55=13', '66-20=46'] Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[20, 53], Operations: ['68-55=13', '66-13=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 2, 23, 78 ]
28
[ "23-12=11", "78/2=39", "39-11=28" ]
Current State: 28:[12, 2, 23, 78], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [2, 78, 11] Generated Node #2: [2, 78, 11] from Operation: 23-12=11 Current State: 28:[2, 78, 11], Operations: ['23-12=11'] Exploring Operation: 78/2=39, Resulting Numbers: [11, 39] Generated Node #3: [11, 39] from Operation: 78/2=39 Current State: 28:[11, 39], Operations: ['23-12=11', '78/2=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[12, 2, 23, 78], Operations: [] Exploring Operation: 12+2=14, Resulting Numbers: [23, 78, 14] Generated Node #0,0: 28:[23, 78, 14] Operation: 12+2=14 Exploring Operation: 78/2=39, Resulting Numbers: [12, 23, 39] Generated Node #0,1: 28:[12, 23, 39] Operation: 78/2=39 Exploring Operation: 78-12=66, Resulting Numbers: [2, 23, 66] Generated Node #0,2: 28:[2, 23, 66] Operation: 78-12=66 Exploring Operation: 78-23=55, Resulting Numbers: [12, 2, 55] Generated Node #0,3: 28:[12, 2, 55] Operation: 78-23=55 Exploring Operation: 23-12=11, Resulting Numbers: [2, 78, 11] Generated Node #0,4: 28:[2, 78, 11] Operation: 23-12=11 Moving to Node #0,1 Current State: 28:[12, 23, 39], Operations: ['78/2=39'] Exploring Operation: 23-12=11, Resulting Numbers: [39, 11] Generated Node #0,1,0: 28:[39, 11] Operation: 23-12=11 Exploring Operation: 39-12=27, Resulting Numbers: [23, 27] Generated Node #0,1,1: 28:[23, 27] Operation: 39-12=27 Exploring Operation: 12+23=35, Resulting Numbers: [39, 35] Generated Node #0,1,2: 28:[39, 35] Operation: 12+23=35 Exploring Operation: 39-23=16, Resulting Numbers: [12, 16] Generated Node #0,1,3: 28:[12, 16] Operation: 39-23=16 Exploring Operation: 12+39=51, Resulting Numbers: [23, 51] Generated Node #0,1,4: 28:[23, 51] Operation: 12+39=51 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[12, 16], Operations: ['78/2=39', '39-23=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[12, 2, 23, 78], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [12, 23, 39] Generated Node #0,1: 28:[12, 23, 39] Operation: 78/2=39 Moving to Node #0,1 Current State: 28:[12, 23, 39], Operations: ['78/2=39'] Exploring Operation: 39-23=16, Resulting Numbers: [12, 16] Generated Node #0,1,3: 28:[12, 16] Operation: 39-23=16 Moving to Node #0,1,3 Current State: 28:[12, 16], Operations: ['78/2=39', '39-23=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 75, 54, 15, 27 ]
76
[ "75/15=5", "54+27=81", "81-5=76" ]
Current State: 76:[75, 54, 15, 27], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [54, 27, 5] Generated Node #2: [54, 27, 5] from Operation: 75/15=5 Current State: 76:[54, 27, 5], Operations: ['75/15=5'] Exploring Operation: 54+27=81, Resulting Numbers: [5, 81] Generated Node #3: [5, 81] from Operation: 54+27=81 Current State: 76:[5, 81], Operations: ['75/15=5', '54+27=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[75, 54, 15, 27], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [75, 15, 2] Generated Node #0,0: 76:[75, 15, 2] Operation: 54/27=2 Moving to Node #0,0 Current State: 76:[75, 15, 2], Operations: ['54/27=2'] Exploring Operation: 75/15=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 76:[2, 5] Operation: 75/15=5 Moving to Node #0,0,0 Current State: 76:[2, 5], Operations: ['54/27=2', '75/15=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 20, 16, 39 ]
12
[ "20+16=36", "39-36=3", "4*3=12" ]
Current State: 12:[4, 20, 16, 39], Operations: [] Exploring Operation: 20+16=36, Resulting Numbers: [4, 39, 36] Generated Node #2: [4, 39, 36] from Operation: 20+16=36 Current State: 12:[4, 39, 36], Operations: ['20+16=36'] Exploring Operation: 39-36=3, Resulting Numbers: [4, 3] Generated Node #3: [4, 3] from Operation: 39-36=3 Current State: 12:[4, 3], Operations: ['20+16=36', '39-36=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[4, 20, 16, 39], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [4, 16, 19] Generated Node #0,0: 12:[4, 16, 19] Operation: 39-20=19 Exploring Operation: 20-4=16, Resulting Numbers: [16, 39, 16] Generated Node #0,1: 12:[16, 39, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [16, 39, 5] Generated Node #0,2: 12:[16, 39, 5] Operation: 20/4=5 Exploring Operation: 39-16=23, Resulting Numbers: [4, 20, 23] Generated Node #0,3: 12:[4, 20, 23] Operation: 39-16=23 Exploring Operation: 20-16=4, Resulting Numbers: [4, 39, 4] Generated Node #0,4: 12:[4, 39, 4] Operation: 20-16=4 Moving to Node #0,0 Current State: 12:[4, 16, 19], Operations: ['39-20=19'] Exploring Operation: 16-4=12, Resulting Numbers: [19, 12] Generated Node #0,0,0: 12:[19, 12] Operation: 16-4=12 Exploring Operation: 19-4=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 12:[16, 15] Operation: 19-4=15 Exploring Operation: 16/4=4, Resulting Numbers: [19, 4] Generated Node #0,0,2: 12:[19, 4] Operation: 16/4=4 Exploring Operation: 19-16=3, Resulting Numbers: [4, 3] Generated Node #0,0,3: 12:[4, 3] Operation: 19-16=3 Exploring Operation: 4+16=20, Resulting Numbers: [19, 20] Generated Node #0,0,4: 12:[19, 20] Operation: 4+16=20 Moving to Node #0,3 Current State: 12:[4, 20, 23], Operations: ['39-16=23'] Exploring Operation: 20/4=5, Resulting Numbers: [23, 5] Generated Node #0,3,0: 12:[23, 5] Operation: 20/4=5 Exploring Operation: 23-4=19, Resulting Numbers: [20, 19] Generated Node #0,3,1: 12:[20, 19] Operation: 23-4=19 Exploring Operation: 20-4=16, Resulting Numbers: [23, 16] Generated Node #0,3,2: 12:[23, 16] Operation: 20-4=16 Exploring Operation: 23-20=3, Resulting Numbers: [4, 3] Generated Node #0,3,3: 12:[4, 3] Operation: 23-20=3 Exploring Operation: 4+20=24, Resulting Numbers: [23, 24] Generated Node #0,3,4: 12:[23, 24] Operation: 4+20=24 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[4, 3], Operations: ['39-16=23', '23-20=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[4, 20, 16, 39], Operations: [] Exploring Operation: 39-16=23, Resulting Numbers: [4, 20, 23] Generated Node #0,3: 12:[4, 20, 23] Operation: 39-16=23 Moving to Node #0,3 Current State: 12:[4, 20, 23], Operations: ['39-16=23'] Exploring Operation: 23-20=3, Resulting Numbers: [4, 3] Generated Node #0,3,3: 12:[4, 3] Operation: 23-20=3 Moving to Node #0,3,3 Current State: 12:[4, 3], Operations: ['39-16=23', '23-20=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 83, 69, 8, 3 ]
100
[ "69-8=61", "3*61=183", "183-83=100" ]
Current State: 100:[83, 69, 8, 3], Operations: [] Exploring Operation: 69-8=61, Resulting Numbers: [83, 3, 61] Generated Node #2: [83, 3, 61] from Operation: 69-8=61 Current State: 100:[83, 3, 61], Operations: ['69-8=61'] Exploring Operation: 3*61=183, Resulting Numbers: [83, 183] Generated Node #3: [83, 183] from Operation: 3*61=183 Current State: 100:[83, 183], Operations: ['69-8=61', '3*61=183'] Exploring Operation: 183-83=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[83, 69, 8, 3], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [8, 3, 14] Generated Node #0,0: 100:[8, 3, 14] Operation: 83-69=14 Moving to Node #0,0 Current State: 100:[8, 3, 14], Operations: ['83-69=14'] Exploring Operation: 14-8=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 100:[3, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[3, 6], Operations: ['83-69=14', '14-8=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,100 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
[ 89, 19, 21, 28 ]
33
[ "21-19=2", "28*2=56", "89-56=33" ]
Current State: 33:[89, 19, 21, 28], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [89, 28, 2] Generated Node #2: [89, 28, 2] from Operation: 21-19=2 Current State: 33:[89, 28, 2], Operations: ['21-19=2'] Exploring Operation: 28*2=56, Resulting Numbers: [89, 56] Generated Node #3: [89, 56] from Operation: 28*2=56 Current State: 33:[89, 56], Operations: ['21-19=2', '28*2=56'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[89, 19, 21, 28], Operations: [] Exploring Operation: 89-19=70, Resulting Numbers: [21, 28, 70] Generated Node #0,0: 33:[21, 28, 70] Operation: 89-19=70 Exploring Operation: 19+21=40, Resulting Numbers: [89, 28, 40] Generated Node #0,1: 33:[89, 28, 40] Operation: 19+21=40 Exploring Operation: 89-28=61, Resulting Numbers: [19, 21, 61] Generated Node #0,2: 33:[19, 21, 61] Operation: 89-28=61 Exploring Operation: 89-21=68, Resulting Numbers: [19, 28, 68] Generated Node #0,3: 33:[19, 28, 68] Operation: 89-21=68 Exploring Operation: 21-19=2, Resulting Numbers: [89, 28, 2] Generated Node #0,4: 33:[89, 28, 2] Operation: 21-19=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[19, 21, 61], Operations: ['89-28=61'] Exploring Operation: 19+21=40, Resulting Numbers: [61, 40] Generated Node #0,2,0: 33:[61, 40] Operation: 19+21=40 Exploring Operation: 21-19=2, Resulting Numbers: [61, 2] Generated Node #0,2,1: 33:[61, 2] Operation: 21-19=2 Exploring Operation: 19+61=80, Resulting Numbers: [21, 80] Generated Node #0,2,2: 33:[21, 80] Operation: 19+61=80 Exploring Operation: 61-21=40, Resulting Numbers: [19, 40] Generated Node #0,2,3: 33:[19, 40] Operation: 61-21=40 Exploring Operation: 61-19=42, Resulting Numbers: [21, 42] Generated Node #0,2,4: 33:[21, 42] Operation: 61-19=42 Moving to Node #0,2,3 Current State: 33:[19, 40], Operations: ['89-28=61', '61-21=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,33 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[21, 42], Operations: ['89-28=61', '61-19=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[61, 2], Operations: ['89-28=61', '21-19=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[61, 40], Operations: ['89-28=61', '19+21=40'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,33 unequal: No Solution Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[21, 80], Operations: ['89-28=61', '19+61=80'] Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,33 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[19, 28, 68], Operations: ['89-21=68'] Exploring Operation: 28-19=9, Resulting Numbers: [68, 9] Generated Node #0,3,0: 33:[68, 9] Operation: 28-19=9 Exploring Operation: 68-19=49, Resulting Numbers: [28, 49] Generated Node #0,3,1: 33:[28, 49] Operation: 68-19=49 Exploring Operation: 68-28=40, Resulting Numbers: [19, 40] Generated Node #0,3,2: 33:[19, 40] Operation: 68-28=40 Exploring Operation: 19+68=87, Resulting Numbers: [28, 87] Generated Node #0,3,3: 33:[28, 87] Operation: 19+68=87 Exploring Operation: 19+28=47, Resulting Numbers: [68, 47] Generated Node #0,3,4: 33:[68, 47] Operation: 19+28=47 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[19, 40], Operations: ['89-21=68', '68-28=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,33 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[28, 49], Operations: ['89-21=68', '68-19=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,33 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[68, 9], Operations: ['89-21=68', '28-19=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,33 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,33 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 33:[68, 47], Operations: ['89-21=68', '19+28=47'] Exploring Operation: 68*47=3196, Resulting Numbers: [3196] 3196,33 unequal: No Solution Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,33 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[28, 87], Operations: ['89-21=68', '19+68=87'] Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,33 unequal: No Solution Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,33 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[21, 28, 70], Operations: ['89-19=70'] Exploring Operation: 21+70=91, Resulting Numbers: [28, 91] Generated Node #0,0,0: 33:[28, 91] Operation: 21+70=91 Exploring Operation: 70-21=49, Resulting Numbers: [28, 49] Generated Node #0,0,1: 33:[28, 49] Operation: 70-21=49 Exploring Operation: 21+28=49, Resulting Numbers: [70, 49] Generated Node #0,0,2: 33:[70, 49] Operation: 21+28=49 Exploring Operation: 70-28=42, Resulting Numbers: [21, 42] Generated Node #0,0,3: 33:[21, 42] Operation: 70-28=42 Exploring Operation: 28-21=7, Resulting Numbers: [70, 7] Generated Node #0,0,4: 33:[70, 7] Operation: 28-21=7 Moving to Node #0,0,3 Current State: 33:[21, 42], Operations: ['89-19=70', '70-28=42'] Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,33 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[28, 49], Operations: ['89-19=70', '70-21=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,33 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[70, 7], Operations: ['89-19=70', '28-21=7'] Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,33 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[70, 49], Operations: ['89-19=70', '21+28=49'] Exploring Operation: 70+49=119, Resulting Numbers: [119] 119,33 unequal: No Solution Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 70*49=3430, Resulting Numbers: [3430] 3430,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[28, 91], Operations: ['89-19=70', '21+70=91'] Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 28+91=119, Resulting Numbers: [119] 119,33 unequal: No Solution Exploring Operation: 28*91=2548, Resulting Numbers: [2548] 2548,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[89, 28, 2], Operations: ['21-19=2'] Exploring Operation: 89+2=91, Resulting Numbers: [28, 91] Generated Node #0,4,0: 33:[28, 91] Operation: 89+2=91 Exploring Operation: 89-2=87, Resulting Numbers: [28, 87] Generated Node #0,4,1: 33:[28, 87] Operation: 89-2=87 Exploring Operation: 89-28=61, Resulting Numbers: [2, 61] Generated Node #0,4,2: 33:[2, 61] Operation: 89-28=61 Exploring Operation: 28/2=14, Resulting Numbers: [89, 14] Generated Node #0,4,3: 33:[89, 14] Operation: 28/2=14 Exploring Operation: 28+2=30, Resulting Numbers: [89, 30] Generated Node #0,4,4: 33:[89, 30] Operation: 28+2=30 Moving to Node #0,4,2 Current State: 33:[2, 61], Operations: ['21-19=2', '89-28=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[89, 14], Operations: ['21-19=2', '28/2=14'] Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,33 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[28, 87], Operations: ['21-19=2', '89-2=87'] Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,33 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[89, 30], Operations: ['21-19=2', '28+2=30'] Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,33 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,33 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,33 unequal: No Solution Moving to Node #0,4,0 Current State: 33:[28, 91], Operations: ['21-19=2', '89+2=91'] Exploring Operation: 28+91=119, Resulting Numbers: [119] 119,33 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 28*91=2548, Resulting Numbers: [2548] 2548,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[89, 28, 40], Operations: ['19+21=40'] Exploring Operation: 89-28=61, Resulting Numbers: [40, 61] Generated Node #0,1,0: 33:[40, 61] Operation: 89-28=61 Exploring Operation: 89-40=49, Resulting Numbers: [28, 49] Generated Node #0,1,1: 33:[28, 49] Operation: 89-40=49 Exploring Operation: 40-28=12, Resulting Numbers: [89, 12] Generated Node #0,1,2: 33:[89, 12] Operation: 40-28=12 Exploring Operation: 28+40=68, Resulting Numbers: [89, 68] Generated Node #0,1,3: 33:[89, 68] Operation: 28+40=68 Exploring Operation: 89+28=117, Resulting Numbers: [40, 117] Generated Node #0,1,4: 33:[40, 117] Operation: 89+28=117 Moving to Node #0,1,1 Current State: 33:[28, 49], Operations: ['19+21=40', '89-40=49'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,33 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[40, 61], Operations: ['19+21=40', '89-28=61'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,33 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[89, 12], Operations: ['19+21=40', '40-28=12'] Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,33 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,33 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[89, 68], Operations: ['19+21=40', '28+40=68'] Exploring Operation: 89*68=6052, Resulting Numbers: [6052] 6052,33 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 89+68=157, Resulting Numbers: [157] 157,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[40, 117], Operations: ['19+21=40', '89+28=117'] Exploring Operation: 40+117=157, Resulting Numbers: [157] 157,33 unequal: No Solution Exploring Operation: 40*117=4680, Resulting Numbers: [4680] 4680,33 unequal: No Solution Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,33 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